/AWS1/IF_KNS=>DELETECHANNEL()¶
About DeleteChannel¶
Deletes the specified channel. Deleting a channel stops delivery from the source stream to the destination. Data already delivered to the destination is not deleted.
A stream cannot be deleted while it has active channels. Use ListChannels with a stream filter to find the channels attached to a stream before deleting it.
This operation has a call limit of 5 transactions per second (TPS) for each Amazon Web Services account. Exceeding 5 TPS results in a LimitExceededException.
Method Signature¶
METHODS /AWS1/IF_KNS~DELETECHANNEL
IMPORTING
!IV_CHANNELARN TYPE /AWS1/KNSCHANNELARN OPTIONAL
RAISING
/AWS1/CX_KNSACCESSDENIEDEX
/AWS1/CX_KNSINVALIDARGUMENTEX
/AWS1/CX_KNSLIMITEXCEEDEDEX
/AWS1/CX_KNSRESOURCENOTFOUNDEX
/AWS1/CX_KNSVALIDATIONEX
/AWS1/CX_KNSCLIENTEXC
/AWS1/CX_KNSSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_channelarn TYPE /AWS1/KNSCHANNELARN /AWS1/KNSCHANNELARN¶
The Amazon Resource Name (ARN) of the channel to delete.
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.
lo_client->deletechannel( |string| ).
To delete a channel¶
To delete a channel
lo_client->deletechannel( |arn:aws:kinesis:us-east-1:123456789012:channel/my-channel-id| ).