Retrieves the specified RCS agents or all RCS agents associated with your Amazon Web Services account¶
Description¶
Retrieves the specified RCS agents or all RCS agents associated with your Amazon Web Services account.
If you specify RCS agent IDs, the output includes information for only the specified RCS agents. If you specify filters, the output includes information for only those RCS agents that meet the filter criteria. If you don't specify RCS agent IDs or filters, the output includes information for all RCS agents.
Usage¶
Arguments¶
-
RcsAgentIdsAn array of unique identifiers for the RCS agents. This is an array of strings that can be either the RcsAgentId or RcsAgentArn.
-
OwnerUse
SELFto filter the list of RCS agents to ones your account owns or useSHAREDto filter on RCS agents shared with your account. TheOwnerandRcsAgentIdsparameters can't be used at the same time. -
FiltersAn array of RcsAgentFilter objects to filter the results.
-
NextTokenThe token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.
-
MaxResultsThe maximum number of results to return per each request.
Value¶
A list with the following syntax:
list(
RcsAgents = list(
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,
PoolId = "string",
TwoWayMediaS3BucketName = "string",
TwoWayMediaS3KeyPrefix = "string",
TwoWayMediaS3Role = "string",
TwoWayRcsEventsEnabled = list(
"string"
),
TestingAgent = list(
Status = "CREATED"|"PENDING"|"ACTIVE",
TestingAgentId = "string",
RegistrationId = "string"
),
MessagingLimits = list(
RateLimits = list(
123
),
DailyMessageCaps = list(
123
)
)
)
),
NextToken = "string"
)
Request syntax¶
svc$describe_rcs_agents(
RcsAgentIds = list(
"string"
),
Owner = "SELF"|"SHARED",
Filters = list(
list(
Name = "status"|"two-way-enabled"|"self-managed-opt-outs-enabled"|"opt-out-list-name"|"deletion-protection-enabled"|"two-way-channel-arn",
Values = list(
"string"
)
)
),
NextToken = "string",
MaxResults = 123
)