/AWS1/CL_FNT=>GETDISTRIBUTIONCONFIG()
¶
About GetDistributionConfig¶
Get the configuration information about a distribution.
Method Signature¶
IMPORTING¶
Required arguments:¶
iv_id
TYPE /AWS1/FNTSTRING
/AWS1/FNTSTRING
¶
The distribution's ID. If the ID is empty, an empty distribution configuration is returned.
RETURNING¶
oo_output
TYPE REF TO /aws1/cl_fntgetdistributionc01
/AWS1/CL_FNTGETDISTRIBUTIONC01
¶
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~getdistributionconfig( |string| ).
This is an example of reading all possible response values
lv_string = lo_distributionconfig->get_callerreference( ).
lv_integer = lo_aliases->get_quantity( ).
LOOP AT lo_aliases->get_items( ) into lo_row.
lv_string = lo_row_1->get_value( ).
ENDLOOP.
lv_string = lo_distributionconfig->get_defaultrootobject( ).
lv_integer = lo_origins->get_quantity( ).
LOOP AT lo_origins->get_items( ) into lo_row_2.
lv_string = lo_row_3->get_id( ).
lv_string = lo_row_3->get_domainname( ).
lv_string = lo_row_3->get_originpath( ).
lv_integer = lo_customheaders->get_quantity( ).
LOOP AT lo_customheaders->get_items( ) into lo_row_4.
lv_string = lo_row_5->get_headername( ).
lv_sensitivestringtype = lo_row_5->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_6.
lv_sslprotocol = lo_row_7->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_3->get_connectionattempts( ).
lv_integer = lo_row_3->get_connectiontimeout( ).
lv_boolean = lo_originshield->get_enabled( ).
lv_originshieldregion = lo_originshield->get_originshieldregion( ).
lv_string = lo_row_3->get_originaccesscontrolid( ).
ENDLOOP.
lv_integer = lo_origingroups->get_quantity( ).
LOOP AT lo_origingroups->get_items( ) into lo_row_8.
lv_string = lo_row_9->get_id( ).
lv_integer = lo_statuscodes->get_quantity( ).
LOOP AT lo_statuscodes->get_items( ) into lo_row_10.
lv_integer = lo_row_11->get_value( ).
ENDLOOP.
lv_integer = lo_origingroupmembers->get_quantity( ).
LOOP AT lo_origingroupmembers->get_items( ) into lo_row_12.
lv_string = lo_row_13->get_originid( ).
ENDLOOP.
lv_origingroupselectioncri = lo_row_9->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_14.
lv_string = lo_row_15->get_value( ).
ENDLOOP.
lv_boolean = lo_trustedkeygroups->get_enabled( ).
lv_integer = lo_trustedkeygroups->get_quantity( ).
LOOP AT lo_trustedkeygroups->get_items( ) into lo_row_16.
lv_string = lo_row_17->get_value( ).
ENDLOOP.
lv_viewerprotocolpolicy = lo_defaultcachebehavior->get_viewerprotocolpolicy( ).
lv_integer = lo_allowedmethods->get_quantity( ).
LOOP AT lo_allowedmethods->get_items( ) into lo_row_18.
lv_method = lo_row_19->get_value( ).
ENDLOOP.
lv_integer = lo_cachedmethods->get_quantity( ).
LOOP AT lo_cachedmethods->get_items( ) into lo_row_18.
lv_method = lo_row_19->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_20.
lv_lambdafunctionarn = lo_row_21->get_lambdafunctionarn( ).
lv_eventtype = lo_row_21->get_eventtype( ).
lv_boolean = lo_row_21->get_includebody( ).
ENDLOOP.
lv_integer = lo_functionassociations->get_quantity( ).
LOOP AT lo_functionassociations->get_items( ) into lo_row_22.
lv_functionarn = lo_row_23->get_functionarn( ).
lv_eventtype = lo_row_23->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_24.
lv_string = lo_row_25->get_value( ).
ENDLOOP.
lv_integer = lo_headers->get_quantity( ).
LOOP AT lo_headers->get_items( ) into lo_row_26.
lv_string = lo_row_27->get_value( ).
ENDLOOP.
lv_integer = lo_querystringcachekeys->get_quantity( ).
LOOP AT lo_querystringcachekeys->get_items( ) into lo_row_28.
lv_string = lo_row_29->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_30.
lv_string = lo_row_31->get_pathpattern( ).
lv_string = lo_row_31->get_targetoriginid( ).
lv_boolean = lo_trustedsigners->get_enabled( ).
lv_integer = lo_trustedsigners->get_quantity( ).
LOOP AT lo_trustedsigners->get_items( ) into lo_row_14.
lv_string = lo_row_15->get_value( ).
ENDLOOP.
lv_boolean = lo_trustedkeygroups->get_enabled( ).
lv_integer = lo_trustedkeygroups->get_quantity( ).
LOOP AT lo_trustedkeygroups->get_items( ) into lo_row_16.
lv_string = lo_row_17->get_value( ).
ENDLOOP.
lv_viewerprotocolpolicy = lo_row_31->get_viewerprotocolpolicy( ).
lv_integer = lo_allowedmethods->get_quantity( ).
LOOP AT lo_allowedmethods->get_items( ) into lo_row_18.
lv_method = lo_row_19->get_value( ).
ENDLOOP.
lv_integer = lo_cachedmethods->get_quantity( ).
LOOP AT lo_cachedmethods->get_items( ) into lo_row_18.
lv_method = lo_row_19->get_value( ).
ENDLOOP.
lv_boolean = lo_row_31->get_smoothstreaming( ).
lv_boolean = lo_row_31->get_compress( ).
lv_integer = lo_lambdafunctionassociati->get_quantity( ).
LOOP AT lo_lambdafunctionassociati->get_items( ) into lo_row_20.
lv_lambdafunctionarn = lo_row_21->get_lambdafunctionarn( ).
lv_eventtype = lo_row_21->get_eventtype( ).
lv_boolean = lo_row_21->get_includebody( ).
ENDLOOP.
lv_integer = lo_functionassociations->get_quantity( ).
LOOP AT lo_functionassociations->get_items( ) into lo_row_22.
lv_functionarn = lo_row_23->get_functionarn( ).
lv_eventtype = lo_row_23->get_eventtype( ).
ENDLOOP.
lv_string = lo_row_31->get_fieldlevelencryptionid( ).
lv_string = lo_row_31->get_realtimelogconfigarn( ).
lv_string = lo_row_31->get_cachepolicyid( ).
lv_string = lo_row_31->get_originrequestpolicyid( ).
lv_string = lo_row_31->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_24.
lv_string = lo_row_25->get_value( ).
ENDLOOP.
lv_integer = lo_headers->get_quantity( ).
LOOP AT lo_headers->get_items( ) into lo_row_26.
lv_string = lo_row_27->get_value( ).
ENDLOOP.
lv_integer = lo_querystringcachekeys->get_quantity( ).
LOOP AT lo_querystringcachekeys->get_items( ) into lo_row_28.
lv_string = lo_row_29->get_value( ).
ENDLOOP.
lv_long = lo_row_31->get_minttl( ).
lv_long = lo_row_31->get_defaultttl( ).
lv_long = lo_row_31->get_maxttl( ).
ENDLOOP.
lv_integer = lo_customerrorresponses->get_quantity( ).
LOOP AT lo_customerrorresponses->get_items( ) into lo_row_32.
lv_integer = lo_row_33->get_errorcode( ).
lv_string = lo_row_33->get_responsepagepath( ).
lv_string = lo_row_33->get_responsecode( ).
lv_long = lo_row_33->get_errorcachingminttl( ).
ENDLOOP.
lv_commenttype = lo_distributionconfig->get_comment( ).
lv_boolean = lo_loggingconfig->get_enabled( ).
lv_boolean = lo_loggingconfig->get_includecookies( ).
lv_string = lo_loggingconfig->get_bucket( ).
lv_string = lo_loggingconfig->get_prefix( ).
lv_priceclass = lo_distributionconfig->get_priceclass( ).
lv_boolean = lo_distributionconfig->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_34.
lv_string = lo_row_35->get_value( ).
ENDLOOP.
lv_string = lo_distributionconfig->get_webaclid( ).
lv_httpversion = lo_distributionconfig->get_httpversion( ).
lv_boolean = lo_distributionconfig->get_isipv6enabled( ).
lv_string = lo_distributionconfig->get_contdeploymentpolicyid( ).
lv_boolean = lo_distributionconfig->get_staging( ).
lv_string = lo_distributionconfig->get_anycastiplistid( ).
lv_string = lo_result->get_etag( ).