Skip to content

/AWS1/CL_FNT=>LSTDISTRIBUTIONSBYREALTIME00()

About ListDistributionsByRealtimeLogConfig

Gets a list of distributions that have a cache behavior that's associated with the specified real-time log configuration.

You can specify the real-time log configuration by its name or its Amazon Resource Name (ARN). You must provide at least one. If you provide both, CloudFront uses the name to identify the real-time log configuration to list distributions for.

You can optionally specify the maximum number of items to receive in the response. If the total number of items in the list exceeds the maximum that you specify, or the default maximum, the response is paginated. To get the next page of items, send a subsequent request that specifies the NextMarker value from the current response as the Marker value in the subsequent request.

Method Signature

IMPORTING

Optional arguments:

iv_marker TYPE /AWS1/FNTSTRING /AWS1/FNTSTRING

Use this field when paginating results to indicate where to begin in your list of distributions. The response includes distributions in the list that occur after the marker. To get the next page of the list, set this field's value to the value of NextMarker from the current page's response.

iv_maxitems TYPE /AWS1/FNTINTEGER /AWS1/FNTINTEGER

The maximum number of distributions that you want in the response.

iv_realtimelogconfigname TYPE /AWS1/FNTSTRING /AWS1/FNTSTRING

The name of the real-time log configuration whose associated distributions you want to list.

iv_realtimelogconfigarn TYPE /AWS1/FNTSTRING /AWS1/FNTSTRING

The Amazon Resource Name (ARN) of the real-time log configuration whose associated distributions you want to list.

RETURNING

oo_output TYPE REF TO /aws1/cl_fntlstdistributions08 /AWS1/CL_FNTLSTDISTRIBUTIONS08

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_fnt~lstdistributionsbyrealtime00(
  iv_marker = |string|
  iv_maxitems = 123
  iv_realtimelogconfigarn = |string|
  iv_realtimelogconfigname = |string|
).

This is an example of reading all possible response values

lv_string = lo_distributionlist->get_marker( ).
lv_string = lo_distributionlist->get_nextmarker( ).
lv_integer = lo_distributionlist->get_maxitems( ).
lv_boolean = lo_distributionlist->get_istruncated( ).
lv_integer = lo_distributionlist->get_quantity( ).
LOOP AT lo_distributionlist->get_items( ) into lo_row.
  lv_string = lo_row_1->get_id( ).
  lv_string = lo_row_1->get_arn( ).
  lv_string = lo_row_1->get_status( ).
  lv_timestamp = lo_row_1->get_lastmodifiedtime( ).
  lv_string = lo_row_1->get_domainname( ).
  lv_integer = lo_aliases->get_quantity( ).
  LOOP AT lo_aliases->get_items( ) into lo_row_2.
    lv_string = lo_row_3->get_value( ).
  ENDLOOP.
  lv_integer = lo_origins->get_quantity( ).
  LOOP AT lo_origins->get_items( ) into lo_row_4.
    lv_string = lo_row_5->get_id( ).
    lv_string = lo_row_5->get_domainname( ).
    lv_string = lo_row_5->get_originpath( ).
    lv_integer = lo_customheaders->get_quantity( ).
    LOOP AT lo_customheaders->get_items( ) into lo_row_6.
      lv_string = lo_row_7->get_headername( ).
      lv_sensitivestringtype = lo_row_7->get_headervalue( ).
    ENDLOOP.
    lv_string = lo_s3originconfig->get_originaccessidentity( ).
    lv_integer = lo_customoriginconfig->get_httpport( ).
    lv_integer = lo_customoriginconfig->get_httpsport( ).
    lv_originprotocolpolicy = lo_customoriginconfig->get_originprotocolpolicy( ).
    lv_integer = lo_originsslprotocols->get_quantity( ).
    LOOP AT lo_originsslprotocols->get_items( ) into lo_row_8.
      lv_sslprotocol = lo_row_9->get_value( ).
    ENDLOOP.
    lv_integer = lo_customoriginconfig->get_originreadtimeout( ).
    lv_integer = lo_customoriginconfig->get_originkeepalivetimeout( ).
    lv_string = lo_vpcoriginconfig->get_vpcoriginid( ).
    lv_integer = lo_vpcoriginconfig->get_originreadtimeout( ).
    lv_integer = lo_vpcoriginconfig->get_originkeepalivetimeout( ).
    lv_integer = lo_row_5->get_connectionattempts( ).
    lv_integer = lo_row_5->get_connectiontimeout( ).
    lv_boolean = lo_originshield->get_enabled( ).
    lv_originshieldregion = lo_originshield->get_originshieldregion( ).
    lv_string = lo_row_5->get_originaccesscontrolid( ).
  ENDLOOP.
  lv_integer = lo_origingroups->get_quantity( ).
  LOOP AT lo_origingroups->get_items( ) into lo_row_10.
    lv_string = lo_row_11->get_id( ).
    lv_integer = lo_statuscodes->get_quantity( ).
    LOOP AT lo_statuscodes->get_items( ) into lo_row_12.
      lv_integer = lo_row_13->get_value( ).
    ENDLOOP.
    lv_integer = lo_origingroupmembers->get_quantity( ).
    LOOP AT lo_origingroupmembers->get_items( ) into lo_row_14.
      lv_string = lo_row_15->get_originid( ).
    ENDLOOP.
    lv_origingroupselectioncri = lo_row_11->get_selectioncriteria( ).
  ENDLOOP.
  lv_string = lo_defaultcachebehavior->get_targetoriginid( ).
  lv_boolean = lo_trustedsigners->get_enabled( ).
  lv_integer = lo_trustedsigners->get_quantity( ).
  LOOP AT lo_trustedsigners->get_items( ) into lo_row_16.
    lv_string = lo_row_17->get_value( ).
  ENDLOOP.
  lv_boolean = lo_trustedkeygroups->get_enabled( ).
  lv_integer = lo_trustedkeygroups->get_quantity( ).
  LOOP AT lo_trustedkeygroups->get_items( ) into lo_row_18.
    lv_string = lo_row_19->get_value( ).
  ENDLOOP.
  lv_viewerprotocolpolicy = lo_defaultcachebehavior->get_viewerprotocolpolicy( ).
  lv_integer = lo_allowedmethods->get_quantity( ).
  LOOP AT lo_allowedmethods->get_items( ) into lo_row_20.
    lv_method = lo_row_21->get_value( ).
  ENDLOOP.
  lv_integer = lo_cachedmethods->get_quantity( ).
  LOOP AT lo_cachedmethods->get_items( ) into lo_row_20.
    lv_method = lo_row_21->get_value( ).
  ENDLOOP.
  lv_boolean = lo_defaultcachebehavior->get_smoothstreaming( ).
  lv_boolean = lo_defaultcachebehavior->get_compress( ).
  lv_integer = lo_lambdafunctionassociati->get_quantity( ).
  LOOP AT lo_lambdafunctionassociati->get_items( ) into lo_row_22.
    lv_lambdafunctionarn = lo_row_23->get_lambdafunctionarn( ).
    lv_eventtype = lo_row_23->get_eventtype( ).
    lv_boolean = lo_row_23->get_includebody( ).
  ENDLOOP.
  lv_integer = lo_functionassociations->get_quantity( ).
  LOOP AT lo_functionassociations->get_items( ) into lo_row_24.
    lv_functionarn = lo_row_25->get_functionarn( ).
    lv_eventtype = lo_row_25->get_eventtype( ).
  ENDLOOP.
  lv_string = lo_defaultcachebehavior->get_fieldlevelencryptionid( ).
  lv_string = lo_defaultcachebehavior->get_realtimelogconfigarn( ).
  lv_string = lo_defaultcachebehavior->get_cachepolicyid( ).
  lv_string = lo_defaultcachebehavior->get_originrequestpolicyid( ).
  lv_string = lo_defaultcachebehavior->get_responseheaderspolicyid( ).
  lv_boolean = lo_grpcconfig->get_enabled( ).
  lv_boolean = lo_forwardedvalues->get_querystring( ).
  lv_itemselection = lo_cookiepreference->get_forward( ).
  lv_integer = lo_cookienames->get_quantity( ).
  LOOP AT lo_cookienames->get_items( ) into lo_row_26.
    lv_string = lo_row_27->get_value( ).
  ENDLOOP.
  lv_integer = lo_headers->get_quantity( ).
  LOOP AT lo_headers->get_items( ) into lo_row_28.
    lv_string = lo_row_29->get_value( ).
  ENDLOOP.
  lv_integer = lo_querystringcachekeys->get_quantity( ).
  LOOP AT lo_querystringcachekeys->get_items( ) into lo_row_30.
    lv_string = lo_row_31->get_value( ).
  ENDLOOP.
  lv_long = lo_defaultcachebehavior->get_minttl( ).
  lv_long = lo_defaultcachebehavior->get_defaultttl( ).
  lv_long = lo_defaultcachebehavior->get_maxttl( ).
  lv_integer = lo_cachebehaviors->get_quantity( ).
  LOOP AT lo_cachebehaviors->get_items( ) into lo_row_32.
    lv_string = lo_row_33->get_pathpattern( ).
    lv_string = lo_row_33->get_targetoriginid( ).
    lv_boolean = lo_trustedsigners->get_enabled( ).
    lv_integer = lo_trustedsigners->get_quantity( ).
    LOOP AT lo_trustedsigners->get_items( ) into lo_row_16.
      lv_string = lo_row_17->get_value( ).
    ENDLOOP.
    lv_boolean = lo_trustedkeygroups->get_enabled( ).
    lv_integer = lo_trustedkeygroups->get_quantity( ).
    LOOP AT lo_trustedkeygroups->get_items( ) into lo_row_18.
      lv_string = lo_row_19->get_value( ).
    ENDLOOP.
    lv_viewerprotocolpolicy = lo_row_33->get_viewerprotocolpolicy( ).
    lv_integer = lo_allowedmethods->get_quantity( ).
    LOOP AT lo_allowedmethods->get_items( ) into lo_row_20.
      lv_method = lo_row_21->get_value( ).
    ENDLOOP.
    lv_integer = lo_cachedmethods->get_quantity( ).
    LOOP AT lo_cachedmethods->get_items( ) into lo_row_20.
      lv_method = lo_row_21->get_value( ).
    ENDLOOP.
    lv_boolean = lo_row_33->get_smoothstreaming( ).
    lv_boolean = lo_row_33->get_compress( ).
    lv_integer = lo_lambdafunctionassociati->get_quantity( ).
    LOOP AT lo_lambdafunctionassociati->get_items( ) into lo_row_22.
      lv_lambdafunctionarn = lo_row_23->get_lambdafunctionarn( ).
      lv_eventtype = lo_row_23->get_eventtype( ).
      lv_boolean = lo_row_23->get_includebody( ).
    ENDLOOP.
    lv_integer = lo_functionassociations->get_quantity( ).
    LOOP AT lo_functionassociations->get_items( ) into lo_row_24.
      lv_functionarn = lo_row_25->get_functionarn( ).
      lv_eventtype = lo_row_25->get_eventtype( ).
    ENDLOOP.
    lv_string = lo_row_33->get_fieldlevelencryptionid( ).
    lv_string = lo_row_33->get_realtimelogconfigarn( ).
    lv_string = lo_row_33->get_cachepolicyid( ).
    lv_string = lo_row_33->get_originrequestpolicyid( ).
    lv_string = lo_row_33->get_responseheaderspolicyid( ).
    lv_boolean = lo_grpcconfig->get_enabled( ).
    lv_boolean = lo_forwardedvalues->get_querystring( ).
    lv_itemselection = lo_cookiepreference->get_forward( ).
    lv_integer = lo_cookienames->get_quantity( ).
    LOOP AT lo_cookienames->get_items( ) into lo_row_26.
      lv_string = lo_row_27->get_value( ).
    ENDLOOP.
    lv_integer = lo_headers->get_quantity( ).
    LOOP AT lo_headers->get_items( ) into lo_row_28.
      lv_string = lo_row_29->get_value( ).
    ENDLOOP.
    lv_integer = lo_querystringcachekeys->get_quantity( ).
    LOOP AT lo_querystringcachekeys->get_items( ) into lo_row_30.
      lv_string = lo_row_31->get_value( ).
    ENDLOOP.
    lv_long = lo_row_33->get_minttl( ).
    lv_long = lo_row_33->get_defaultttl( ).
    lv_long = lo_row_33->get_maxttl( ).
  ENDLOOP.
  lv_integer = lo_customerrorresponses->get_quantity( ).
  LOOP AT lo_customerrorresponses->get_items( ) into lo_row_34.
    lv_integer = lo_row_35->get_errorcode( ).
    lv_string = lo_row_35->get_responsepagepath( ).
    lv_string = lo_row_35->get_responsecode( ).
    lv_long = lo_row_35->get_errorcachingminttl( ).
  ENDLOOP.
  lv_string = lo_row_1->get_comment( ).
  lv_priceclass = lo_row_1->get_priceclass( ).
  lv_boolean = lo_row_1->get_enabled( ).
  lv_boolean = lo_viewercertificate->get_cloudfrontdefaultcert( ).
  lv_string = lo_viewercertificate->get_iamcertificateid( ).
  lv_string = lo_viewercertificate->get_acmcertificatearn( ).
  lv_sslsupportmethod = lo_viewercertificate->get_sslsupportmethod( ).
  lv_minimumprotocolversion = lo_viewercertificate->get_minimumprotocolversion( ).
  lv_string = lo_viewercertificate->get_certificate( ).
  lv_certificatesource = lo_viewercertificate->get_certificatesource( ).
  lv_georestrictiontype = lo_georestriction->get_restrictiontype( ).
  lv_integer = lo_georestriction->get_quantity( ).
  LOOP AT lo_georestriction->get_items( ) into lo_row_36.
    lv_string = lo_row_37->get_value( ).
  ENDLOOP.
  lv_string = lo_row_1->get_webaclid( ).
  lv_httpversion = lo_row_1->get_httpversion( ).
  lv_boolean = lo_row_1->get_isipv6enabled( ).
  LOOP AT lo_row_1->get_aliasicprecordals( ) into lo_row_38.
    lv_string = lo_row_39->get_cname( ).
    lv_icprecordalstatus = lo_row_39->get_icprecordalstatus( ).
  ENDLOOP.
  lv_boolean = lo_row_1->get_staging( ).
  lv_string = lo_row_1->get_anycastiplistid( ).
ENDLOOP.