We are excited to announce our new API Documentation.
Protected
Returns all of the properties of a subscription.
Use a bare-bones client and the command you need to make an API call.
import { SNSClient, GetSubscriptionAttributesCommand } from "@aws-sdk/client-sns"; // ES Modules import// const { SNSClient, GetSubscriptionAttributesCommand } = require("@aws-sdk/client-sns"); // CommonJS importconst client = new SNSClient(config);const input = { // GetSubscriptionAttributesInput SubscriptionArn: "STRING_VALUE", // required};const command = new GetSubscriptionAttributesCommand(input);const response = await client.send(command);// { // GetSubscriptionAttributesResponse// Attributes: { // SubscriptionAttributesMap// "<keys>": "STRING_VALUE",// },// };
GetSubscriptionAttributesCommandInput
GetSubscriptionAttributesCommandOutput
input
response
config
AuthorizationErrorException (client fault)
Indicates that the user has been denied access to the requested resource.
InternalErrorException (server fault)
Indicates an internal service error.
InvalidParameterException (client fault)
Indicates that a request parameter does not comply with the associated constraints.
NotFoundException (client fault)
Indicates that the requested resource does not exist.
SNSServiceException
Base exception class for all service exceptions from SNS service.
Readonly
Static
Returns all of the properties of a subscription.
Example
Use a bare-bones client and the command you need to make an API call.
Param
GetSubscriptionAttributesCommandInput
Returns
GetSubscriptionAttributesCommandOutput
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
NotFoundException (client fault)
Indicates that the requested resource does not exist.
Throws
SNSServiceException
Base exception class for all service exceptions from SNS service.