Skip to content

/AWS1/CL_MD2=>PUTCHANNELPOLICY()

About PutChannelPolicy

Attaches an IAM policy to the specified channel. With policies, you can specify who has access to AWS resources and what actions they can perform on those resources. You can attach only one policy with each request.

Method Signature

IMPORTING

Required arguments:

IV_CHANNELGROUPNAME TYPE /AWS1/MD2RESOURCENAME /AWS1/MD2RESOURCENAME

The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.

IV_CHANNELNAME TYPE /AWS1/MD2RESOURCENAME /AWS1/MD2RESOURCENAME

The name that describes the channel. The name is the primary identifier for the channel, and must be unique for your account in the AWS Region and channel group.

IV_POLICY TYPE /AWS1/MD2POLICYTEXT /AWS1/MD2POLICYTEXT

The policy to attach to the specified channel.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_MD2PUTCHANNELPLYRSP /AWS1/CL_MD2PUTCHANNELPLYRSP