Skip to content

/AWS1/IF_GST=>CREATEDATAFLOWENDPTGROUPV2()

About CreateDataflowEndpointGroupV2

Creates a DataflowEndpointGroupV2 containing the specified list of DataflowEndpoint objects.

The name field in each endpoint is used in your mission profile DataflowEndpointConfig to specify which endpoints to use during a contact.

When a contact uses multiple DataflowEndpointConfig objects, each Config must match a DataflowEndpoint in the same group.

Method Signature

METHODS /AWS1/IF_GST~CREATEDATAFLOWENDPTGROUPV2
  IMPORTING
    !IT_ENDPOINTS TYPE /AWS1/CL_GSTCREATEENDPTDETAILS=>TT_CREATEENDPOINTDETAILSLIST OPTIONAL
    !IV_CONTACTPREPASSDURSECONDS TYPE /AWS1/GSTDATAFLOWENDPTGRDURI00 OPTIONAL
    !IV_CONTACTPOSTPASSDURSECONDS TYPE /AWS1/GSTDATAFLOWENDPTGRDURI00 OPTIONAL
    !IT_TAGS TYPE /AWS1/CL_GSTTAGSMAP_W=>TT_TAGSMAP OPTIONAL
  RETURNING
    VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_gstcredataflowendpt02
  RAISING
    /AWS1/CX_GSTDEPENDENCYEX
    /AWS1/CX_GSTINVALIDPARAMETEREX
    /AWS1/CX_GSTRESOURCENOTFOUNDEX
    /AWS1/CX_GSTSERVICEQUOTAEXCDEX
    /AWS1/CX_GSTCLIENTEXC
    /AWS1/CX_GSTSERVEREXC
    /AWS1/CX_RT_TECHNICAL_GENERIC
    /AWS1/CX_RT_SERVICE_GENERIC.

IMPORTING

Required arguments:

it_endpoints TYPE /AWS1/CL_GSTCREATEENDPTDETAILS=>TT_CREATEENDPOINTDETAILSLIST TT_CREATEENDPOINTDETAILSLIST

Dataflow endpoint group's endpoint definitions

Optional arguments:

iv_contactprepassdurseconds TYPE /AWS1/GSTDATAFLOWENDPTGRDURI00 /AWS1/GSTDATAFLOWENDPTGRDURI00

Amount of time, in seconds, before a contact starts that the Ground Station Dataflow Endpoint Group will be in a PREPASS state. A Ground Station Dataflow Endpoint Group State Change event will be emitted when the Dataflow Endpoint Group enters and exits the PREPASS state.

iv_contactpostpassdurseconds TYPE /AWS1/GSTDATAFLOWENDPTGRDURI00 /AWS1/GSTDATAFLOWENDPTGRDURI00

Amount of time, in seconds, after a contact ends that the Ground Station Dataflow Endpoint Group will be in a POSTPASS state. A Ground Station Dataflow Endpoint Group State Change event will be emitted when the Dataflow Endpoint Group enters and exits the POSTPASS state.

it_tags TYPE /AWS1/CL_GSTTAGSMAP_W=>TT_TAGSMAP TT_TAGSMAP

Tags of a V2 dataflow endpoint group.

RETURNING

oo_output TYPE REF TO /aws1/cl_gstcredataflowendpt02 /AWS1/CL_GSTCREDATAFLOWENDPT02

Domain /AWS1/RT_ACCOUNT_ID
Primitive Type NUMC

Examples

Syntax Example

This is an example of the syntax for calling the method. It includes every possible argument and initializes every possible value. The data provided is not necessarily semantically accurate (for example the value "string" may be provided for something that is intended to be an instance ID, or in some cases two arguments may be mutually exclusive). The syntax shows the ABAP syntax for creating the various data structures.

DATA(lo_result) = lo_client->createdataflowendptgroupv2(
  it_endpoints = VALUE /aws1/cl_gstcreateendptdetails=>tt_createendpointdetailslist(
    (
      new /aws1/cl_gstcreateendptdetails(
        io_downlnkawsgroundstation00 = new /aws1/cl_gstdownlnkawsground01(
          io_dataflowdetails = new /aws1/cl_gstdownlnkdataflowd00(
            io_agentconnectiondetails = new /aws1/cl_gstdownlinkconndets(
              io_agentipandportaddress = new /aws1/cl_gstrangedconndetails(
                io_socketaddress = new /aws1/cl_gstrangedsocketaddr00(
                  io_portrange = new /aws1/cl_gstintegerrange(
                    iv_maximum = 123
                    iv_minimum = 123
                  )
                  iv_name = |string|
                )
                iv_mtu = 123
              )
              io_egressaddressandport = new /aws1/cl_gstconnectiondetails(
                io_socketaddress = new /aws1/cl_gstsocketaddress(
                  iv_name = |string|
                  iv_port = 123
                )
                iv_mtu = 123
              )
            )
          )
          iv_name = |string|
        )
        io_uplnkawsgroundstationag00 = new /aws1/cl_gstuplnkawsgroundst01(
          io_dataflowdetails = new /aws1/cl_gstuplinkdataflowdets(
            io_agentconnectiondetails = new /aws1/cl_gstuplinkconndetails(
              io_agentipandportaddress = new /aws1/cl_gstrangedconndetails(
                io_socketaddress = new /aws1/cl_gstrangedsocketaddr00(
                  io_portrange = new /aws1/cl_gstintegerrange(
                    iv_maximum = 123
                    iv_minimum = 123
                  )
                  iv_name = |string|
                )
                iv_mtu = 123
              )
              io_ingressaddressandport = new /aws1/cl_gstconnectiondetails(
                io_socketaddress = new /aws1/cl_gstsocketaddress(
                  iv_name = |string|
                  iv_port = 123
                )
                iv_mtu = 123
              )
            )
          )
          iv_name = |string|
        )
      )
    )
  )
  it_tags = VALUE /aws1/cl_gsttagsmap_w=>tt_tagsmap(
    (
      VALUE /aws1/cl_gsttagsmap_w=>ts_tagsmap_maprow(
        value = new /aws1/cl_gsttagsmap_w( |string| )
        key = |string|
      )
    )
  )
  iv_contactpostpassdurseconds = 123
  iv_contactprepassdurseconds = 123
).

This is an example of reading all possible response values

lo_result = lo_result.
IF lo_result IS NOT INITIAL.
  lv_uuid = lo_result->get_dataflowendpointgroupid( ).
ENDIF.