/AWS1/IF_IN2=>UPDATECONNECTORSCANCONF()¶
About UpdateConnectorScanConfiguration¶
Updates scan configuration settings for resources associated with an Amazon Web Services Config connector.
Method Signature¶
METHODS /AWS1/IF_IN2~UPDATECONNECTORSCANCONF
IMPORTING
!IV_AWSCONFIGCONNECTORARN TYPE /AWS1/IN2AWSCONFIGCONNECTORARN OPTIONAL
!IO_SCANCONFIGURATION TYPE REF TO /AWS1/CL_IN2CONNECTORSCANCONF OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_in2updcnctcanconfrsp
RAISING
/AWS1/CX_IN2ACCESSDENIEDEX
/AWS1/CX_IN2CONFLICTEXCEPTION
/AWS1/CX_IN2INTERNALSERVEREX
/AWS1/CX_IN2RESOURCENOTFOUNDEX
/AWS1/CX_IN2THROTTLINGEX
/AWS1/CX_IN2VALIDATIONEX
/AWS1/CX_IN2CLIENTEXC
/AWS1/CX_IN2SERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_awsconfigconnectorarn TYPE /AWS1/IN2AWSCONFIGCONNECTORARN /AWS1/IN2AWSCONFIGCONNECTORARN¶
The ARN of the Amazon Web Services Config connector.
io_scanconfiguration TYPE REF TO /AWS1/CL_IN2CONNECTORSCANCONF /AWS1/CL_IN2CONNECTORSCANCONF¶
The scan configuration settings to apply.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_in2updcnctcanconfrsp /AWS1/CL_IN2UPDCNCTCANCONFRSP¶
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->updateconnectorscanconf(
io_scanconfiguration = new /aws1/cl_in2connectorscanconf(
io_containerimagescanning = new /aws1/cl_in2conncontimgcanconf(
iv_pullduration = |string|
iv_pushduration = |string|
)
)
iv_awsconfigconnectorarn = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
ENDIF.
Set 30-day push and 14-day pull rescan durations for an Azure container registry connector¶
Set 30-day push and 14-day pull rescan durations for an Azure container registry connector
DATA(lo_result) = lo_client->updateconnectorscanconf(
io_scanconfiguration = new /aws1/cl_in2connectorscanconf(
io_containerimagescanning = new /aws1/cl_in2conncontimgcanconf(
iv_pullduration = |DAYS_14|
iv_pushduration = |DAYS_30|
)
)
iv_awsconfigconnectorarn = |arn:aws:config:us-east-1:123456789012:connector/azure/a7bc5463-04ce-4b52-901e-f26f7292a4a7/2fbed4bd-5b95-4947-a751-8defc76ecdae|
).