Allows a topic owner to set an attribute of the topic to a new value.
To remove the ability to change topic permissions, you must deny permissions to
the AddPermission, RemovePermission, and
SetTopicAttributes actions in your IAM policy.
Example
Use a bare-bones client and the command you need to make an API call.
Allows a topic owner to set an attribute of the topic to a new value.
To remove the ability to change topic permissions, you must deny permissions to the
AddPermission
,RemovePermission
, andSetTopicAttributes
actions in your IAM policy.Example
Use a bare-bones client and the command you need to make an API call.
Param
SetTopicAttributesCommandInput
Returns
SetTopicAttributesCommandOutput
See
input
shape.response
shape.config
shape.Throws
AuthorizationErrorException (client fault)
Indicates that the user has been denied access to the requested resource.
Throws
InternalErrorException (server fault)
Indicates an internal service error.
Throws
InvalidParameterException (client fault)
Indicates that a request parameter does not comply with the associated constraints.
Throws
InvalidSecurityException (client fault)
The credential signature isn't valid. You must use an HTTPS endpoint and sign your request using Signature Version 4.
Throws
NotFoundException (client fault)
Indicates that the requested resource does not exist.
Throws
SNSServiceException
Base exception class for all service exceptions from SNS service.