/AWS1/IF_CWO=>CREATES3TABLEINTEGRATION()¶
About CreateS3TableIntegration¶
Creates an integration between CloudWatch and S3 Tables for analytics. This integration enables querying CloudWatch telemetry data using analytics engines like Amazon Athena, Amazon Redshift, and Apache Spark.
Method Signature¶
METHODS /AWS1/IF_CWO~CREATES3TABLEINTEGRATION
IMPORTING
!IO_ENCRYPTION TYPE REF TO /AWS1/CL_CWOENCRYPTION OPTIONAL
!IV_ROLEARN TYPE /AWS1/CWORESOURCEARN OPTIONAL
!IT_TAGS TYPE /AWS1/CL_CWOTAGMAPINPUT_W=>TT_TAGMAPINPUT OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_cwocres3tableintgout
RAISING
/AWS1/CX_CWOACCESSDENIEDEX
/AWS1/CX_CWOCONFLICTEXCEPTION
/AWS1/CX_CWOINTERNALSERVEREX
/AWS1/CX_CWOSERVICEQUOTAEXCDEX
/AWS1/CX_CWOTOOMANYREQUESTSEX
/AWS1/CX_CWOVALIDATIONEX
/AWS1/CX_CWOCLIENTEXC
/AWS1/CX_CWOSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
io_encryption TYPE REF TO /AWS1/CL_CWOENCRYPTION /AWS1/CL_CWOENCRYPTION¶
The encryption configuration for the S3 Table integration, including the encryption algorithm and KMS key settings.
iv_rolearn TYPE /AWS1/CWORESOURCEARN /AWS1/CWORESOURCEARN¶
The Amazon Resource Name (ARN) of the IAM role that grants permissions for the S3 Table integration to access necessary resources.
Optional arguments:¶
it_tags TYPE /AWS1/CL_CWOTAGMAPINPUT_W=>TT_TAGMAPINPUT TT_TAGMAPINPUT¶
The key-value pairs to associate with the S3 Table integration resource for categorization and management purposes.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_cwocres3tableintgout /AWS1/CL_CWOCRES3TABLEINTGOUT¶
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->creates3tableintegration(
io_encryption = new /aws1/cl_cwoencryption(
iv_kmskeyarn = |string|
iv_ssealgorithm = |string|
)
it_tags = VALUE /aws1/cl_cwotagmapinput_w=>tt_tagmapinput(
(
VALUE /aws1/cl_cwotagmapinput_w=>ts_tagmapinput_maprow(
key = |string|
value = new /aws1/cl_cwotagmapinput_w( |string| )
)
)
)
iv_rolearn = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_resourcearn = lo_result->get_arn( ).
ENDIF.