Updates the configuration of an existing RCS agent. You can update the opt-out list, deletion protection, two-way messaging settings, and self-managed opt-outs configuration.
Headers
Request body
The unique identifier of the RCS agent to update. You can use either the RcsAgentId or RcsAgentArn.
By default this is set to false. When set to true the RCS agent can't be deleted.
The OptOutList to associate with the RCS agent. Valid values are either OptOutListName or OptOutListArn.
By default this is set to false. When set to true you're responsible for responding to HELP and STOP requests. You're also responsible for tracking and honoring opt-out requests.
The Amazon Resource Name (ARN) of the two way channel.
An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.
By default this is set to false. When set to true you can receive incoming text messages from your end recipients.
The name of the S3 bucket where inbound RCS media files are stored. Two-way messaging must be enabled on the agent. To remove the media configuration, pass the sentinel value <code>UNSET_RCS_MEDIA_CONFIGURATION</code> for both this field and TwoWayMediaS3Role.
The key prefix used for inbound RCS media objects in the S3 bucket.
The ARN of the IAM role used to write inbound RCS media files to the S3 bucket. The role must have <code>s3:PutObject</code> permission on the bucket and a trust policy allowing <code>sms-voice.amazonaws.com</code> to assume it. To remove the media configuration, pass the sentinel value <code>UNSET_RCS_MEDIA_CONFIGURATION</code> for both this field and TwoWayMediaS3BucketName.
The list of RCS event types to enable for two-way messaging. Pass an empty list to disable all event types. The special value <code>ALL</code> enables all current and future event types and must be the sole element if used.
Response
Success
The Amazon Resource Name (ARN) of the updated RCS agent.
The unique identifier for the RCS agent.
The current status of the RCS agent.
The time when the RCS agent was created, in <a href="https://www.epochconverter.com/">UNIX epoch time</a> format.
When set to true deletion protection is enabled. By default this is set to false.
The name of the OptOutList associated with the RCS agent.
By default this is set to false. When set to true you're responsible for responding to HELP and STOP requests. You're also responsible for tracking and honoring opt-out requests.
The Amazon Resource Name (ARN) of the two way channel.
An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.
By default this is set to false. When set to true you can receive incoming text messages from your end recipients.
The name of the S3 bucket where inbound RCS media files are stored.
The key prefix used for inbound RCS media objects in the S3 bucket.
The ARN of the IAM role used to write inbound RCS media files to the S3 bucket.
The list of RCS event types enabled for two-way messaging on the agent.