Skip to content

/AWS1/CL_CHE=>CREATECHANNELMODERATOR()

About CreateChannelModerator

Creates a new ChannelModerator. A channel moderator can:

  • Add and remove other members of the channel.

  • Add and remove other moderators of the channel.

  • Add and remove user bans for the channel.

  • Redact messages in the channel.

  • List messages in the channel.

The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn of the user that makes the API call as the value in the header.

This API is is no longer supported and will not be updated. We recommend using the latest version, CreateChannelModerator, in the Amazon Chime SDK.

Using the latest version requires migrating to a dedicated namespace. For more information, refer to Migrating from the Amazon Chime namespace in the Amazon Chime SDK Developer Guide.

Method Signature

IMPORTING

Required arguments:

IV_CHANNELARN TYPE /AWS1/CHECHIMEARN /AWS1/CHECHIMEARN

The ARN of the channel.

IV_CHANNELMODERATORARN TYPE /AWS1/CHECHIMEARN /AWS1/CHECHIMEARN

The ARN of the moderator.

Optional arguments:

IV_CHIMEBEARER TYPE /AWS1/CHECHIMEARN /AWS1/CHECHIMEARN

The AppInstanceUserArn of the user that makes the API call.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_CHECRECHANNELMDERAT01 /AWS1/CL_CHECRECHANNELMDERAT01