Skip to content

/AWS1/CL_GST=>CREATEDATAFLOWENDPOINTGROUP()

About CreateDataflowEndpointGroup

Creates a DataflowEndpoint group 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

IMPORTING

Required arguments:

it_endpointdetails TYPE /AWS1/CL_GSTENDPOINTDETAILS=>TT_ENDPOINTDETAILSLIST TT_ENDPOINTDETAILSLIST

Endpoint details of each endpoint in the dataflow endpoint group.

All dataflow endpoints within a single dataflow endpoint group must be of the same type. You cannot mix AWS Ground Station Agent endpoints with Dataflow endpoints in the same group. If your use case requires both types of endpoints, you must create separate dataflow endpoint groups for each type.

Optional arguments:

it_tags TYPE /AWS1/CL_GSTTAGSMAP_W=>TT_TAGSMAP TT_TAGSMAP

Tags of a dataflow endpoint group.

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.

RETURNING

oo_output TYPE REF TO /aws1/cl_gstdataflowendptgri00 /AWS1/CL_GSTDATAFLOWENDPTGRI00

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->/aws1/if_gst~createdataflowendpointgroup(
  it_endpointdetails = VALUE /aws1/cl_gstendpointdetails=>tt_endpointdetailslist(
    (
      new /aws1/cl_gstendpointdetails(
        io_awsgroundstationagenten00 = new /aws1/cl_gstawsgroundstation00(
          io_egressaddress = new /aws1/cl_gstconnectiondetails(
            io_socketaddress = new /aws1/cl_gstsocketaddress(
              iv_name = |string|
              iv_port = 123
            )
            iv_mtu = 123
          )
          io_ingressaddress = 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
          )
          iv_agentstatus = |string|
          iv_auditresults = |string|
          iv_name = |string|
        )
        io_endpoint = new /aws1/cl_gstdataflowendpoint(
          io_address = new /aws1/cl_gstsocketaddress(
            iv_name = |string|
            iv_port = 123
          )
          iv_mtu = 123
          iv_name = |string|
          iv_status = |string|
        )
        io_securitydetails = new /aws1/cl_gstsecuritydetails(
          it_securitygroupids = VALUE /aws1/cl_gstsecgroupidlist_w=>tt_securitygroupidlist(
            ( new /aws1/cl_gstsecgroupidlist_w( |string| ) )
          )
          it_subnetids = VALUE /aws1/cl_gstsubnetlist_w=>tt_subnetlist(
            ( new /aws1/cl_gstsubnetlist_w( |string| ) )
          )
          iv_rolearn = |string|
        )
        it_healthreasons = VALUE /aws1/cl_gstcapabilityhealth00=>tt_capabilityhealthreasonlist(
          ( new /aws1/cl_gstcapabilityhealth00( |string| ) )
        )
        iv_healthstatus = |string|
      )
    )
  )
  it_tags = VALUE /aws1/cl_gsttagsmap_w=>tt_tagsmap(
    (
      VALUE /aws1/cl_gsttagsmap_w=>ts_tagsmap_maprow(
        key = |string|
        value = new /aws1/cl_gsttagsmap_w( |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.