Updates the configuration of an existing RCS agent¶
Description¶
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.
Usage¶
pinpointsmsvoicev2_update_rcs_agent(RcsAgentId,
DeletionProtectionEnabled, OptOutListName, SelfManagedOptOutsEnabled,
TwoWayChannelArn, TwoWayChannelRole, TwoWayEnabled,
TwoWayMediaS3BucketName, TwoWayMediaS3KeyPrefix, TwoWayMediaS3Role,
TwoWayRcsEventsEnabled)
Arguments¶
-
RcsAgentId[required] The unique identifier of the RCS agent to update. You can use either the RcsAgentId or RcsAgentArn.
-
DeletionProtectionEnabledBy default this is set to false. When set to true the RCS agent can't be deleted.
-
OptOutListNameThe OptOutList to associate with the RCS agent. Valid values are either OptOutListName or OptOutListArn.
-
SelfManagedOptOutsEnabledBy 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.
-
TwoWayChannelArnThe Amazon Resource Name (ARN) of the two way channel.
-
TwoWayChannelRoleAn optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.
-
TwoWayEnabledBy default this is set to false. When set to true you can receive incoming text messages from your end recipients.
-
TwoWayMediaS3BucketNameThe 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
UNSET_RCS_MEDIA_CONFIGURATIONfor both this field and TwoWayMediaS3Role. -
TwoWayMediaS3KeyPrefixThe key prefix used for inbound RCS media objects in the S3 bucket.
-
TwoWayMediaS3RoleThe ARN of the IAM role used to write inbound RCS media files to the S3 bucket. The role must have
s3:PutObjectpermission on the bucket and a trust policy allowingsms-voice.amazonaws.comto assume it. To remove the media configuration, pass the sentinel valueUNSET_RCS_MEDIA_CONFIGURATIONfor both this field and TwoWayMediaS3BucketName. -
TwoWayRcsEventsEnabledThe list of RCS event types to enable for two-way messaging. Pass an empty list to disable all event types. The special value
ALLenables all current and future event types and must be the sole element if used.
Value¶
A list with the following syntax:
list(
RcsAgentArn = "string",
RcsAgentId = "string",
Status = "CREATED"|"PENDING"|"TESTING"|"PARTIAL"|"ACTIVE"|"DELETED",
CreatedTimestamp = as.POSIXct(
"2015-01-01"
),
DeletionProtectionEnabled = TRUE|FALSE,
OptOutListName = "string",
SelfManagedOptOutsEnabled = TRUE|FALSE,
TwoWayChannelArn = "string",
TwoWayChannelRole = "string",
TwoWayEnabled = TRUE|FALSE,
TwoWayMediaS3BucketName = "string",
TwoWayMediaS3KeyPrefix = "string",
TwoWayMediaS3Role = "string",
TwoWayRcsEventsEnabled = list(
"string"
)
)
Request syntax¶
svc$update_rcs_agent(
RcsAgentId = "string",
DeletionProtectionEnabled = TRUE|FALSE,
OptOutListName = "string",
SelfManagedOptOutsEnabled = TRUE|FALSE,
TwoWayChannelArn = "string",
TwoWayChannelRole = "string",
TwoWayEnabled = TRUE|FALSE,
TwoWayMediaS3BucketName = "string",
TwoWayMediaS3KeyPrefix = "string",
TwoWayMediaS3Role = "string",
TwoWayRcsEventsEnabled = list(
"string"
)
)