Updates the permissions of a topic¶
Description¶
Updates the permissions of a topic.
Usage¶
Arguments¶
-
AwsAccountId[required] The ID of the Amazon Web Services account that contains the topic that you want to update the permissions for.
-
TopicId[required] The ID of the topic that you want to modify. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
-
GrantPermissionsThe resource permissions that you want to grant to the topic.
-
RevokePermissionsThe resource permissions that you want to revoke from the topic.
Value¶
A list with the following syntax:
list(
TopicId = "string",
TopicArn = "string",
Permissions = list(
list(
Principal = "string",
Actions = list(
"string"
)
)
),
Status = 123,
RequestId = "string"
)