/AWS1/IF_CWO=>UPDATETELEMETRYPIPELINE()¶
About UpdateTelemetryPipeline¶
Updates the configuration of an existing telemetry pipeline.
The following attributes cannot be updated after pipeline creation:
-
Pipeline name - The pipeline name is immutable
-
Pipeline ARN - The ARN is automatically generated and cannot be changed
-
Source type - Once a pipeline is created with a specific source type (such as S3, CloudWatch Logs, GitHub, or third-party sources), it cannot be changed to a different source type
Processors can be added, removed, or modified. However, some processors are not supported for third-party pipelines and cannot be added through updates.
Source-Specific Update Rules
- CloudWatch Logs Sources (Vended and Custom)
-
Updatable:
sts_role_arnFixed:
data_source_name,data_source_type, sink (must remain@original) - S3 Sources (Crowdstrike, Zscaler, SentinelOne, Custom)
-
Updatable: All SQS configuration parameters,
sts_role_arn, codec settings, compression type, bucket ownership settings, sink log groupFixed:
notification_type,aws.region - GitHub Audit Logs
-
Updatable: All Amazon Web Services Secrets Manager attributes,
scope(can switch between ORGANIZATION/ENTERPRISE),organizationorenterprisename,range, authentication credentials (PAT or GitHub App) - Microsoft Sources (Entra ID, Office365, Windows)
-
Updatable: All Amazon Web Services Secrets Manager attributes,
tenant_id,workspace_id(Windows only), OAuth2 credentials (client_id,client_secret) - Okta Sources (SSO, Auth0)
-
Updatable: All Amazon Web Services Secrets Manager attributes,
domain,range(SSO only), OAuth2 credentials (client_id,client_secret) - Palo Alto Networks
-
Updatable: All Amazon Web Services Secrets Manager attributes,
hostname, basic authentication credentials (username,password) - ServiceNow CMDB
-
Updatable: All Amazon Web Services Secrets Manager attributes,
instance_url,range, OAuth2 credentials (client_id,client_secret) - Wiz CNAPP
-
Updatable: All Amazon Web Services Secrets Manager attributes,
region,range, OAuth2 credentials (client_id,client_secret)
Method Signature¶
METHODS /AWS1/IF_CWO~UPDATETELEMETRYPIPELINE
IMPORTING
!IV_PIPELINEIDENTIFIER TYPE /AWS1/CWOTELEMETRYPIPELINEID OPTIONAL
!IO_CONFIGURATION TYPE REF TO /AWS1/CL_CWOTELPIPELINECONF OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_cwoupdatetelplinout
RAISING
/AWS1/CX_CWOACCESSDENIEDEX
/AWS1/CX_CWOINTERNALSERVEREX
/AWS1/CX_CWORESOURCENOTFOUNDEX
/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:¶
iv_pipelineidentifier TYPE /AWS1/CWOTELEMETRYPIPELINEID /AWS1/CWOTELEMETRYPIPELINEID¶
The ARN of the telemetry pipeline to update.
io_configuration TYPE REF TO /AWS1/CL_CWOTELPIPELINECONF /AWS1/CL_CWOTELPIPELINECONF¶
The new configuration for the telemetry pipeline, including updated sources, processors, and destinations.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_cwoupdatetelplinout /AWS1/CL_CWOUPDATETELPLINOUT¶
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->updatetelemetrypipeline(
io_configuration = new /aws1/cl_cwotelpipelineconf( |string| )
iv_pipelineidentifier = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
ENDIF.