{ "smithy": "1.0", "metadata": { "suppressions": [ { "id": "HttpMethodSemantics", "namespace": "*" }, { "id": "HttpResponseCodeSemantics", "namespace": "*" }, { "id": "PaginatedTrait", "namespace": "*" }, { "id": "HttpHeaderTrait", "namespace": "*" }, { "id": "HttpUriConflict", "namespace": "*" }, { "id": "Service", "namespace": "*" } ] }, "shapes": { "com.amazonaws.sns#ActionsList": { "type": "list", "member": { "target": "com.amazonaws.sns#action" } }, "com.amazonaws.sns#AddPermission": { "type": "operation", "input": { "target": "com.amazonaws.sns#AddPermissionInput" }, "errors": [ { "target": "com.amazonaws.sns#AuthorizationErrorException" }, { "target": "com.amazonaws.sns#InternalErrorException" }, { "target": "com.amazonaws.sns#InvalidParameterException" }, { "target": "com.amazonaws.sns#NotFoundException" } ], "traits": { "smithy.api#documentation": "

Adds a statement to a topic's access control policy, granting access for the specified\n AWS accounts to the specified actions.

" } }, "com.amazonaws.sns#AddPermissionInput": { "type": "structure", "members": { "TopicArn": { "target": "com.amazonaws.sns#topicARN", "traits": { "smithy.api#documentation": "

The ARN of the topic whose access control policy you wish to modify.

", "smithy.api#required": {} } }, "Label": { "target": "com.amazonaws.sns#label", "traits": { "smithy.api#documentation": "

A unique identifier for the new policy statement.

", "smithy.api#required": {} } }, "AWSAccountId": { "target": "com.amazonaws.sns#DelegatesList", "traits": { "smithy.api#documentation": "

The AWS account IDs of the users (principals) who will be given access to the\n specified actions. The users must have AWS accounts, but do not need to be signed up for\n this service.

", "smithy.api#required": {} } }, "ActionName": { "target": "com.amazonaws.sns#ActionsList", "traits": { "smithy.api#documentation": "

The action you want to allow for the specified principal(s).

\n

Valid values: Any Amazon SNS action name, for example Publish.

", "smithy.api#required": {} } } } }, "com.amazonaws.sns#AmazonResourceName": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 1011 } } }, "com.amazonaws.sns#AmazonSimpleNotificationService": { "type": "service", "version": "2010-03-31", "operations": [ { "target": "com.amazonaws.sns#AddPermission" }, { "target": "com.amazonaws.sns#CheckIfPhoneNumberIsOptedOut" }, { "target": "com.amazonaws.sns#ConfirmSubscription" }, { "target": "com.amazonaws.sns#CreatePlatformApplication" }, { "target": "com.amazonaws.sns#CreatePlatformEndpoint" }, { "target": "com.amazonaws.sns#CreateTopic" }, { "target": "com.amazonaws.sns#DeleteEndpoint" }, { "target": "com.amazonaws.sns#DeletePlatformApplication" }, { "target": "com.amazonaws.sns#DeleteTopic" }, { "target": "com.amazonaws.sns#GetEndpointAttributes" }, { "target": "com.amazonaws.sns#GetPlatformApplicationAttributes" }, { "target": "com.amazonaws.sns#GetSMSAttributes" }, { "target": "com.amazonaws.sns#GetSubscriptionAttributes" }, { "target": "com.amazonaws.sns#GetTopicAttributes" }, { "target": "com.amazonaws.sns#ListEndpointsByPlatformApplication" }, { "target": "com.amazonaws.sns#ListPhoneNumbersOptedOut" }, { "target": "com.amazonaws.sns#ListPlatformApplications" }, { "target": "com.amazonaws.sns#ListSubscriptions" }, { "target": "com.amazonaws.sns#ListSubscriptionsByTopic" }, { "target": "com.amazonaws.sns#ListTagsForResource" }, { "target": "com.amazonaws.sns#ListTopics" }, { "target": "com.amazonaws.sns#OptInPhoneNumber" }, { "target": "com.amazonaws.sns#Publish" }, { "target": "com.amazonaws.sns#RemovePermission" }, { "target": "com.amazonaws.sns#SetEndpointAttributes" }, { "target": "com.amazonaws.sns#SetPlatformApplicationAttributes" }, { "target": "com.amazonaws.sns#SetSMSAttributes" }, { "target": "com.amazonaws.sns#SetSubscriptionAttributes" }, { "target": "com.amazonaws.sns#SetTopicAttributes" }, { "target": "com.amazonaws.sns#Subscribe" }, { "target": "com.amazonaws.sns#TagResource" }, { "target": "com.amazonaws.sns#Unsubscribe" }, { "target": "com.amazonaws.sns#UntagResource" } ], "traits": { "aws.api#service": { "sdkId": "SNS", "arnNamespace": "sns", "cloudFormationName": "SNS", "cloudTrailEventSource": "sns.amazonaws.com", "endpointPrefix": "sns" }, "aws.auth#sigv4": { "name": "sns" }, "aws.protocols#awsQuery": {}, "smithy.api#documentation": "Amazon Simple Notification Service\n

Amazon Simple Notification Service (Amazon SNS) is a web service that enables you to build\n distributed web-enabled applications. Applications can use Amazon SNS to easily push\n real-time notification messages to interested subscribers over multiple delivery\n protocols. For more information about this product see the Amazon SNS product page. For detailed information about Amazon SNS\n features and their associated API calls, see the Amazon SNS Developer Guide.

\n

For information on the permissions you need to use this API, see\n Identity and\n access management in Amazon SNS in the Amazon SNS Developer Guide.\n

\n

We also provide SDKs that enable you to access Amazon SNS from your preferred programming\n language. The SDKs contain functionality that automatically takes care of tasks such as:\n cryptographically signing your service requests, retrying requests, and handling error\n responses. For a list of available SDKs, go to Tools for Amazon Web Services.

", "smithy.api#title": "Amazon Simple Notification Service", "smithy.api#xmlNamespace": { "uri": "http://sns.amazonaws.com/doc/2010-03-31/" } } }, "com.amazonaws.sns#AuthorizationErrorException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.sns#String" } }, "traits": { "smithy.api#documentation": "

Indicates that the user has been denied access to the requested resource.

", "smithy.api#error": "client", "smithy.api#httpError": 403 } }, "com.amazonaws.sns#Binary": { "type": "blob" }, "com.amazonaws.sns#CheckIfPhoneNumberIsOptedOut": { "type": "operation", "input": { "target": "com.amazonaws.sns#CheckIfPhoneNumberIsOptedOutInput" }, "output": { "target": "com.amazonaws.sns#CheckIfPhoneNumberIsOptedOutResponse" }, "errors": [ { "target": "com.amazonaws.sns#AuthorizationErrorException" }, { "target": "com.amazonaws.sns#InternalErrorException" }, { "target": "com.amazonaws.sns#InvalidParameterException" }, { "target": "com.amazonaws.sns#ThrottledException" } ], "traits": { "smithy.api#documentation": "

Accepts a phone number and indicates whether the phone holder has opted out of\n receiving SMS messages from your account. You cannot send SMS messages to a number that\n is opted out.

\n

To resume sending messages, you can opt in the number by using the\n OptInPhoneNumber action.

" } }, "com.amazonaws.sns#CheckIfPhoneNumberIsOptedOutInput": { "type": "structure", "members": { "phoneNumber": { "target": "com.amazonaws.sns#PhoneNumber", "traits": { "smithy.api#documentation": "

The phone number for which you want to check the opt out status.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

The input for the CheckIfPhoneNumberIsOptedOut action.

" } }, "com.amazonaws.sns#CheckIfPhoneNumberIsOptedOutResponse": { "type": "structure", "members": { "isOptedOut": { "target": "com.amazonaws.sns#boolean", "traits": { "smithy.api#documentation": "

Indicates whether the phone number is opted out:

\n " } } }, "traits": { "smithy.api#documentation": "

The response from the CheckIfPhoneNumberIsOptedOut action.

" } }, "com.amazonaws.sns#ConcurrentAccessException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.sns#String" } }, "traits": { "smithy.api#documentation": "

Can't perform multiple operations on a tag simultaneously. Perform the operations\n sequentially.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.sns#ConfirmSubscription": { "type": "operation", "input": { "target": "com.amazonaws.sns#ConfirmSubscriptionInput" }, "output": { "target": "com.amazonaws.sns#ConfirmSubscriptionResponse" }, "errors": [ { "target": "com.amazonaws.sns#AuthorizationErrorException" }, { "target": "com.amazonaws.sns#FilterPolicyLimitExceededException" }, { "target": "com.amazonaws.sns#InternalErrorException" }, { "target": "com.amazonaws.sns#InvalidParameterException" }, { "target": "com.amazonaws.sns#NotFoundException" }, { "target": "com.amazonaws.sns#SubscriptionLimitExceededException" } ], "traits": { "smithy.api#documentation": "

Verifies an endpoint owner's intent to receive messages by validating the token sent\n to the endpoint by an earlier Subscribe action. If the token is valid, the\n action creates a new subscription and returns its Amazon Resource Name (ARN). This call\n requires an AWS signature only when the AuthenticateOnUnsubscribe flag is\n set to \"true\".

" } }, "com.amazonaws.sns#ConfirmSubscriptionInput": { "type": "structure", "members": { "TopicArn": { "target": "com.amazonaws.sns#topicARN", "traits": { "smithy.api#documentation": "

The ARN of the topic for which you wish to confirm a subscription.

", "smithy.api#required": {} } }, "Token": { "target": "com.amazonaws.sns#token", "traits": { "smithy.api#documentation": "

Short-lived token sent to an endpoint during the Subscribe action.

", "smithy.api#required": {} } }, "AuthenticateOnUnsubscribe": { "target": "com.amazonaws.sns#authenticateOnUnsubscribe", "traits": { "smithy.api#documentation": "

Disallows unauthenticated unsubscribes of the subscription. If the value of this\n parameter is true and the request has an AWS signature, then only the topic\n owner and the subscription owner can unsubscribe the endpoint. The unsubscribe action\n requires AWS authentication.

" } } }, "traits": { "smithy.api#documentation": "

Input for ConfirmSubscription action.

" } }, "com.amazonaws.sns#ConfirmSubscriptionResponse": { "type": "structure", "members": { "SubscriptionArn": { "target": "com.amazonaws.sns#subscriptionARN", "traits": { "smithy.api#documentation": "

The ARN of the created subscription.

" } } }, "traits": { "smithy.api#documentation": "

Response for ConfirmSubscriptions action.

" } }, "com.amazonaws.sns#CreateEndpointResponse": { "type": "structure", "members": { "EndpointArn": { "target": "com.amazonaws.sns#String", "traits": { "smithy.api#documentation": "

EndpointArn returned from CreateEndpoint action.

" } } }, "traits": { "smithy.api#documentation": "

Response from CreateEndpoint action.

" } }, "com.amazonaws.sns#CreatePlatformApplication": { "type": "operation", "input": { "target": "com.amazonaws.sns#CreatePlatformApplicationInput" }, "output": { "target": "com.amazonaws.sns#CreatePlatformApplicationResponse" }, "errors": [ { "target": "com.amazonaws.sns#AuthorizationErrorException" }, { "target": "com.amazonaws.sns#InternalErrorException" }, { "target": "com.amazonaws.sns#InvalidParameterException" } ], "traits": { "smithy.api#documentation": "

Creates a platform application object for one of the supported push notification services,\n such as APNS and GCM (Firebase Cloud Messaging), to which devices and mobile apps may register. \n You must specify PlatformPrincipal and PlatformCredential attributes \n when using the CreatePlatformApplication action.

\n

\n PlatformPrincipal and PlatformCredential are received from\n the notification service.

\n \n

You can use the returned PlatformApplicationArn as an attribute for the\n CreatePlatformEndpoint action.

" } }, "com.amazonaws.sns#CreatePlatformApplicationInput": { "type": "structure", "members": { "Name": { "target": "com.amazonaws.sns#String", "traits": { "smithy.api#documentation": "

Application names must be made up of only uppercase and lowercase ASCII letters,\n numbers, underscores, hyphens, and periods, and must be between 1 and 256 characters\n long.

", "smithy.api#required": {} } }, "Platform": { "target": "com.amazonaws.sns#String", "traits": { "smithy.api#documentation": "

The following platforms are supported: ADM (Amazon Device Messaging), APNS (Apple Push\n Notification Service), APNS_SANDBOX, and GCM (Firebase Cloud Messaging).

", "smithy.api#required": {} } }, "Attributes": { "target": "com.amazonaws.sns#MapStringToString", "traits": { "smithy.api#documentation": "

For a list of attributes, see SetPlatformApplicationAttributes\n

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Input for CreatePlatformApplication action.

" } }, "com.amazonaws.sns#CreatePlatformApplicationResponse": { "type": "structure", "members": { "PlatformApplicationArn": { "target": "com.amazonaws.sns#String", "traits": { "smithy.api#documentation": "

PlatformApplicationArn is returned.

" } } }, "traits": { "smithy.api#documentation": "

Response from CreatePlatformApplication action.

" } }, "com.amazonaws.sns#CreatePlatformEndpoint": { "type": "operation", "input": { "target": "com.amazonaws.sns#CreatePlatformEndpointInput" }, "output": { "target": "com.amazonaws.sns#CreateEndpointResponse" }, "errors": [ { "target": "com.amazonaws.sns#AuthorizationErrorException" }, { "target": "com.amazonaws.sns#InternalErrorException" }, { "target": "com.amazonaws.sns#InvalidParameterException" }, { "target": "com.amazonaws.sns#NotFoundException" } ], "traits": { "smithy.api#documentation": "

Creates an endpoint for a device and mobile app on one of the supported push\n notification services, such as GCM (Firebase Cloud Messaging) and APNS.\n CreatePlatformEndpoint requires the PlatformApplicationArn\n that is returned from CreatePlatformApplication. You can use the returned\n EndpointArn to send a message to a mobile app or by the\n Subscribe action for subscription to a topic. The\n CreatePlatformEndpoint action is idempotent, so if the requester\n already owns an endpoint with the same device token and attributes, that endpoint's ARN\n is returned without creating a new endpoint. For more information, see Using Amazon SNS Mobile Push\n Notifications.

\n

When using CreatePlatformEndpoint with Baidu, two attributes must be\n provided: ChannelId and UserId. The token field must also contain the ChannelId. For\n more information, see Creating an Amazon SNS Endpoint\n for Baidu.

" } }, "com.amazonaws.sns#CreatePlatformEndpointInput": { "type": "structure", "members": { "PlatformApplicationArn": { "target": "com.amazonaws.sns#String", "traits": { "smithy.api#documentation": "

PlatformApplicationArn returned from CreatePlatformApplication is used to create a an\n endpoint.

", "smithy.api#required": {} } }, "Token": { "target": "com.amazonaws.sns#String", "traits": { "smithy.api#documentation": "

Unique identifier created by the notification service for an app on a device. The\n specific name for Token will vary, depending on which notification service is being\n used. For example, when using APNS as the notification service, you need the device\n token. Alternatively, when using GCM (Firebase Cloud Messaging) or ADM, the device token\n equivalent is called the registration ID.

", "smithy.api#required": {} } }, "CustomUserData": { "target": "com.amazonaws.sns#String", "traits": { "smithy.api#documentation": "

Arbitrary user data to associate with the endpoint. Amazon SNS does not use this data. The\n data must be in UTF-8 format and less than 2KB.

" } }, "Attributes": { "target": "com.amazonaws.sns#MapStringToString", "traits": { "smithy.api#documentation": "

For a list of attributes, see SetEndpointAttributes.

" } } }, "traits": { "smithy.api#documentation": "

Input for CreatePlatformEndpoint action.

" } }, "com.amazonaws.sns#CreateTopic": { "type": "operation", "input": { "target": "com.amazonaws.sns#CreateTopicInput" }, "output": { "target": "com.amazonaws.sns#CreateTopicResponse" }, "errors": [ { "target": "com.amazonaws.sns#AuthorizationErrorException" }, { "target": "com.amazonaws.sns#ConcurrentAccessException" }, { "target": "com.amazonaws.sns#InternalErrorException" }, { "target": "com.amazonaws.sns#InvalidParameterException" }, { "target": "com.amazonaws.sns#InvalidSecurityException" }, { "target": "com.amazonaws.sns#StaleTagException" }, { "target": "com.amazonaws.sns#TagLimitExceededException" }, { "target": "com.amazonaws.sns#TagPolicyException" }, { "target": "com.amazonaws.sns#TopicLimitExceededException" } ], "traits": { "smithy.api#documentation": "

Creates a topic to which notifications can be published. Users can create at most\n 100,000 standard topics (at most 1,000 FIFO topics). For more information, see https://aws.amazon.com/sns. This action is idempotent, so if the requester\n already owns a topic with the specified name, that topic's ARN is returned without\n creating a new topic.

" } }, "com.amazonaws.sns#CreateTopicInput": { "type": "structure", "members": { "Name": { "target": "com.amazonaws.sns#topicName", "traits": { "smithy.api#documentation": "

The name of the topic you want to create.

\n

Constraints: Topic names must be made up of only uppercase and lowercase ASCII\n letters, numbers, underscores, and hyphens, and must be between 1 and 256 characters\n long.

\n

For a FIFO (first-in-first-out) topic, the name must end with the .fifo suffix.

", "smithy.api#required": {} } }, "Attributes": { "target": "com.amazonaws.sns#TopicAttributesMap", "traits": { "smithy.api#documentation": "

A map of attributes with their corresponding values.

\n

The following lists the names, descriptions, and values of the special request\n parameters that the CreateTopic action uses:

\n \n \n

The following attribute applies only to server-side-encryption:

\n \n \n \n

The following attributes apply only to FIFO topics:

\n " } }, "Tags": { "target": "com.amazonaws.sns#TagList", "traits": { "smithy.api#documentation": "

The list of tags to add to a new topic.

\n \n

To be able to tag a topic on creation, you must have the sns:CreateTopic and sns:TagResource permissions.

\n
" } } }, "traits": { "smithy.api#documentation": "

Input for CreateTopic action.

" } }, "com.amazonaws.sns#CreateTopicResponse": { "type": "structure", "members": { "TopicArn": { "target": "com.amazonaws.sns#topicARN", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) assigned to the created topic.

" } } }, "traits": { "smithy.api#documentation": "

Response from CreateTopic action.

" } }, "com.amazonaws.sns#DelegatesList": { "type": "list", "member": { "target": "com.amazonaws.sns#delegate" } }, "com.amazonaws.sns#DeleteEndpoint": { "type": "operation", "input": { "target": "com.amazonaws.sns#DeleteEndpointInput" }, "errors": [ { "target": "com.amazonaws.sns#AuthorizationErrorException" }, { "target": "com.amazonaws.sns#InternalErrorException" }, { "target": "com.amazonaws.sns#InvalidParameterException" } ], "traits": { "smithy.api#documentation": "

Deletes the endpoint for a device and mobile app from Amazon SNS. This action is\n idempotent. For more information, see Using Amazon SNS Mobile Push\n Notifications.

\n

When you delete an endpoint that is also subscribed to a topic, then you must also\n unsubscribe the endpoint from the topic.

" } }, "com.amazonaws.sns#DeleteEndpointInput": { "type": "structure", "members": { "EndpointArn": { "target": "com.amazonaws.sns#String", "traits": { "smithy.api#documentation": "

EndpointArn of endpoint to delete.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Input for DeleteEndpoint action.

" } }, "com.amazonaws.sns#DeletePlatformApplication": { "type": "operation", "input": { "target": "com.amazonaws.sns#DeletePlatformApplicationInput" }, "errors": [ { "target": "com.amazonaws.sns#AuthorizationErrorException" }, { "target": "com.amazonaws.sns#InternalErrorException" }, { "target": "com.amazonaws.sns#InvalidParameterException" } ], "traits": { "smithy.api#documentation": "

Deletes a platform application object for one of the supported push notification\n services, such as APNS and GCM (Firebase Cloud Messaging). For more information, see\n Using Amazon SNS\n Mobile Push Notifications.

" } }, "com.amazonaws.sns#DeletePlatformApplicationInput": { "type": "structure", "members": { "PlatformApplicationArn": { "target": "com.amazonaws.sns#String", "traits": { "smithy.api#documentation": "

PlatformApplicationArn of platform application object to delete.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Input for DeletePlatformApplication action.

" } }, "com.amazonaws.sns#DeleteTopic": { "type": "operation", "input": { "target": "com.amazonaws.sns#DeleteTopicInput" }, "errors": [ { "target": "com.amazonaws.sns#AuthorizationErrorException" }, { "target": "com.amazonaws.sns#ConcurrentAccessException" }, { "target": "com.amazonaws.sns#InternalErrorException" }, { "target": "com.amazonaws.sns#InvalidParameterException" }, { "target": "com.amazonaws.sns#NotFoundException" }, { "target": "com.amazonaws.sns#StaleTagException" }, { "target": "com.amazonaws.sns#TagPolicyException" } ], "traits": { "smithy.api#documentation": "

Deletes a topic and all its subscriptions. Deleting a topic might prevent some\n messages previously sent to the topic from being delivered to subscribers. This action\n is idempotent, so deleting a topic that does not exist does not result in an\n error.

" } }, "com.amazonaws.sns#DeleteTopicInput": { "type": "structure", "members": { "TopicArn": { "target": "com.amazonaws.sns#topicARN", "traits": { "smithy.api#documentation": "

The ARN of the topic you want to delete.

", "smithy.api#required": {} } } } }, "com.amazonaws.sns#Endpoint": { "type": "structure", "members": { "EndpointArn": { "target": "com.amazonaws.sns#String", "traits": { "smithy.api#documentation": "

EndpointArn for mobile app and device.

" } }, "Attributes": { "target": "com.amazonaws.sns#MapStringToString", "traits": { "smithy.api#documentation": "

Attributes for endpoint.

" } } }, "traits": { "smithy.api#documentation": "

Endpoint for mobile app and device.

" } }, "com.amazonaws.sns#Endpoint2": { "type": "string" }, "com.amazonaws.sns#EndpointDisabledException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.sns#String", "traits": { "smithy.api#documentation": "

Message for endpoint disabled.

" } } }, "traits": { "smithy.api#documentation": "

Exception error indicating endpoint disabled.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.sns#FilterPolicyLimitExceededException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.sns#String" } }, "traits": { "smithy.api#documentation": "

Indicates that the number of filter polices in your AWS account exceeds the limit. To\n add more filter polices, submit an SNS Limit Increase case in the AWS Support\n Center.

", "smithy.api#error": "client", "smithy.api#httpError": 403 } }, "com.amazonaws.sns#GetEndpointAttributes": { "type": "operation", "input": { "target": "com.amazonaws.sns#GetEndpointAttributesInput" }, "output": { "target": "com.amazonaws.sns#GetEndpointAttributesResponse" }, "errors": [ { "target": "com.amazonaws.sns#AuthorizationErrorException" }, { "target": "com.amazonaws.sns#InternalErrorException" }, { "target": "com.amazonaws.sns#InvalidParameterException" }, { "target": "com.amazonaws.sns#NotFoundException" } ], "traits": { "smithy.api#documentation": "

Retrieves the endpoint attributes for a device on one of the supported push\n notification services, such as GCM (Firebase Cloud Messaging) and APNS. For more\n information, see Using Amazon SNS Mobile Push Notifications.

" } }, "com.amazonaws.sns#GetEndpointAttributesInput": { "type": "structure", "members": { "EndpointArn": { "target": "com.amazonaws.sns#String", "traits": { "smithy.api#documentation": "

EndpointArn for GetEndpointAttributes input.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Input for GetEndpointAttributes action.

" } }, "com.amazonaws.sns#GetEndpointAttributesResponse": { "type": "structure", "members": { "Attributes": { "target": "com.amazonaws.sns#MapStringToString", "traits": { "smithy.api#documentation": "

Attributes include the following:

\n " } } }, "traits": { "smithy.api#documentation": "

Response from GetEndpointAttributes of the EndpointArn.

" } }, "com.amazonaws.sns#GetPlatformApplicationAttributes": { "type": "operation", "input": { "target": "com.amazonaws.sns#GetPlatformApplicationAttributesInput" }, "output": { "target": "com.amazonaws.sns#GetPlatformApplicationAttributesResponse" }, "errors": [ { "target": "com.amazonaws.sns#AuthorizationErrorException" }, { "target": "com.amazonaws.sns#InternalErrorException" }, { "target": "com.amazonaws.sns#InvalidParameterException" }, { "target": "com.amazonaws.sns#NotFoundException" } ], "traits": { "smithy.api#documentation": "

Retrieves the attributes of the platform application object for the supported push\n notification services, such as APNS and GCM (Firebase Cloud Messaging). For more\n information, see Using Amazon SNS Mobile Push Notifications.

" } }, "com.amazonaws.sns#GetPlatformApplicationAttributesInput": { "type": "structure", "members": { "PlatformApplicationArn": { "target": "com.amazonaws.sns#String", "traits": { "smithy.api#documentation": "

PlatformApplicationArn for GetPlatformApplicationAttributesInput.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Input for GetPlatformApplicationAttributes action.

" } }, "com.amazonaws.sns#GetPlatformApplicationAttributesResponse": { "type": "structure", "members": { "Attributes": { "target": "com.amazonaws.sns#MapStringToString", "traits": { "smithy.api#documentation": "

Attributes include the following:

\n " } } }, "traits": { "smithy.api#documentation": "

Response for GetPlatformApplicationAttributes action.

" } }, "com.amazonaws.sns#GetSMSAttributes": { "type": "operation", "input": { "target": "com.amazonaws.sns#GetSMSAttributesInput" }, "output": { "target": "com.amazonaws.sns#GetSMSAttributesResponse" }, "errors": [ { "target": "com.amazonaws.sns#AuthorizationErrorException" }, { "target": "com.amazonaws.sns#InternalErrorException" }, { "target": "com.amazonaws.sns#InvalidParameterException" }, { "target": "com.amazonaws.sns#ThrottledException" } ], "traits": { "smithy.api#documentation": "

Returns the settings for sending SMS messages from your account.

\n

These settings are set with the SetSMSAttributes action.

" } }, "com.amazonaws.sns#GetSMSAttributesInput": { "type": "structure", "members": { "attributes": { "target": "com.amazonaws.sns#ListString", "traits": { "smithy.api#documentation": "

A list of the individual attribute names, such as MonthlySpendLimit, for\n which you want values.

\n

For all attribute names, see SetSMSAttributes.

\n

If you don't use this parameter, Amazon SNS returns all SMS attributes.

" } } }, "traits": { "smithy.api#documentation": "

The input for the GetSMSAttributes request.

" } }, "com.amazonaws.sns#GetSMSAttributesResponse": { "type": "structure", "members": { "attributes": { "target": "com.amazonaws.sns#MapStringToString", "traits": { "smithy.api#documentation": "

The SMS attribute names and their values.

" } } }, "traits": { "smithy.api#documentation": "

The response from the GetSMSAttributes request.

" } }, "com.amazonaws.sns#GetSubscriptionAttributes": { "type": "operation", "input": { "target": "com.amazonaws.sns#GetSubscriptionAttributesInput" }, "output": { "target": "com.amazonaws.sns#GetSubscriptionAttributesResponse" }, "errors": [ { "target": "com.amazonaws.sns#AuthorizationErrorException" }, { "target": "com.amazonaws.sns#InternalErrorException" }, { "target": "com.amazonaws.sns#InvalidParameterException" }, { "target": "com.amazonaws.sns#NotFoundException" } ], "traits": { "smithy.api#documentation": "

Returns all of the properties of a subscription.

" } }, "com.amazonaws.sns#GetSubscriptionAttributesInput": { "type": "structure", "members": { "SubscriptionArn": { "target": "com.amazonaws.sns#subscriptionARN", "traits": { "smithy.api#documentation": "

The ARN of the subscription whose properties you want to get.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Input for GetSubscriptionAttributes.

" } }, "com.amazonaws.sns#GetSubscriptionAttributesResponse": { "type": "structure", "members": { "Attributes": { "target": "com.amazonaws.sns#SubscriptionAttributesMap", "traits": { "smithy.api#documentation": "

A map of the subscription's attributes. Attributes in this map include the following:

\n \n \n

The following attribute applies only to Amazon Kinesis Data Firehose delivery stream subscriptions:

\n " } } }, "traits": { "smithy.api#documentation": "

Response for GetSubscriptionAttributes action.

" } }, "com.amazonaws.sns#GetTopicAttributes": { "type": "operation", "input": { "target": "com.amazonaws.sns#GetTopicAttributesInput" }, "output": { "target": "com.amazonaws.sns#GetTopicAttributesResponse" }, "errors": [ { "target": "com.amazonaws.sns#AuthorizationErrorException" }, { "target": "com.amazonaws.sns#InternalErrorException" }, { "target": "com.amazonaws.sns#InvalidParameterException" }, { "target": "com.amazonaws.sns#InvalidSecurityException" }, { "target": "com.amazonaws.sns#NotFoundException" } ], "traits": { "smithy.api#documentation": "

Returns all of the properties of a topic. Topic properties returned might differ based\n on the authorization of the user.

" } }, "com.amazonaws.sns#GetTopicAttributesInput": { "type": "structure", "members": { "TopicArn": { "target": "com.amazonaws.sns#topicARN", "traits": { "smithy.api#documentation": "

The ARN of the topic whose properties you want to get.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Input for GetTopicAttributes action.

" } }, "com.amazonaws.sns#GetTopicAttributesResponse": { "type": "structure", "members": { "Attributes": { "target": "com.amazonaws.sns#TopicAttributesMap", "traits": { "smithy.api#documentation": "

A map of the topic's attributes. Attributes in this map include the following:

\n \n \n

The following attribute applies only to server-side-encryption:

\n \n \n \n

The following attributes apply only to FIFO topics:

\n " } } }, "traits": { "smithy.api#documentation": "

Response for GetTopicAttributes action.

" } }, "com.amazonaws.sns#InternalErrorException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.sns#String" } }, "traits": { "smithy.api#documentation": "

Indicates an internal service error.

", "smithy.api#error": "server", "smithy.api#httpError": 500 } }, "com.amazonaws.sns#InvalidParameterException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.sns#String" } }, "traits": { "smithy.api#documentation": "

Indicates that a request parameter does not comply with the associated\n constraints.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.sns#InvalidParameterValueException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.sns#String", "traits": { "smithy.api#documentation": "

The parameter value is invalid.

" } } }, "traits": { "smithy.api#documentation": "

Indicates that a request parameter does not comply with the associated\n constraints.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.sns#InvalidSecurityException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.sns#String" } }, "traits": { "smithy.api#documentation": "

The credential signature isn't valid. You must use an HTTPS endpoint and sign your\n request using Signature Version 4.

", "smithy.api#error": "client", "smithy.api#httpError": 403 } }, "com.amazonaws.sns#KMSAccessDeniedException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.sns#String" } }, "traits": { "smithy.api#documentation": "

The ciphertext references a key that doesn't exist or that you don't have access\n to.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.sns#KMSDisabledException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.sns#String" } }, "traits": { "smithy.api#documentation": "

The request was rejected because the specified customer master key (CMK) isn't\n enabled.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.sns#KMSInvalidStateException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.sns#String" } }, "traits": { "smithy.api#documentation": "

The request was rejected because the state of the specified resource isn't valid for\n this request. For more information, see How Key State Affects Use of a\n Customer Master Key in the AWS Key Management Service Developer\n Guide.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.sns#KMSNotFoundException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.sns#String" } }, "traits": { "smithy.api#documentation": "

The request was rejected because the specified entity or resource can't be\n found.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.sns#KMSOptInRequired": { "type": "structure", "members": { "message": { "target": "com.amazonaws.sns#String" } }, "traits": { "smithy.api#documentation": "

The AWS access key ID needs a subscription for the service.

", "smithy.api#error": "client", "smithy.api#httpError": 403 } }, "com.amazonaws.sns#KMSThrottlingException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.sns#String" } }, "traits": { "smithy.api#documentation": "

The request was denied due to request throttling. For more information about\n throttling, see Limits in\n the AWS Key Management Service Developer Guide.\n

", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.sns#ListEndpointsByPlatformApplication": { "type": "operation", "input": { "target": "com.amazonaws.sns#ListEndpointsByPlatformApplicationInput" }, "output": { "target": "com.amazonaws.sns#ListEndpointsByPlatformApplicationResponse" }, "errors": [ { "target": "com.amazonaws.sns#AuthorizationErrorException" }, { "target": "com.amazonaws.sns#InternalErrorException" }, { "target": "com.amazonaws.sns#InvalidParameterException" }, { "target": "com.amazonaws.sns#NotFoundException" } ], "traits": { "smithy.api#documentation": "

Lists the endpoints and endpoint attributes for devices in a supported push\n notification service, such as GCM (Firebase Cloud Messaging) and APNS. The results for\n ListEndpointsByPlatformApplication are paginated and return a limited\n list of endpoints, up to 100. If additional records are available after the first page\n results, then a NextToken string will be returned. To receive the next page, you call\n ListEndpointsByPlatformApplication again using the NextToken string\n received from the previous call. When there are no more records to return, NextToken\n will be null. For more information, see Using Amazon SNS Mobile Push\n Notifications.

\n

This action is throttled at 30 transactions per second (TPS).

", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", "items": "Endpoints" } } }, "com.amazonaws.sns#ListEndpointsByPlatformApplicationInput": { "type": "structure", "members": { "PlatformApplicationArn": { "target": "com.amazonaws.sns#String", "traits": { "smithy.api#documentation": "

PlatformApplicationArn for ListEndpointsByPlatformApplicationInput action.

", "smithy.api#required": {} } }, "NextToken": { "target": "com.amazonaws.sns#String", "traits": { "smithy.api#documentation": "

NextToken string is used when calling ListEndpointsByPlatformApplication action to\n retrieve additional records that are available after the first page results.

" } } }, "traits": { "smithy.api#documentation": "

Input for ListEndpointsByPlatformApplication action.

" } }, "com.amazonaws.sns#ListEndpointsByPlatformApplicationResponse": { "type": "structure", "members": { "Endpoints": { "target": "com.amazonaws.sns#ListOfEndpoints", "traits": { "smithy.api#documentation": "

Endpoints returned for ListEndpointsByPlatformApplication action.

" } }, "NextToken": { "target": "com.amazonaws.sns#String", "traits": { "smithy.api#documentation": "

NextToken string is returned when calling ListEndpointsByPlatformApplication action if\n additional records are available after the first page results.

" } } }, "traits": { "smithy.api#documentation": "

Response for ListEndpointsByPlatformApplication action.

" } }, "com.amazonaws.sns#ListOfEndpoints": { "type": "list", "member": { "target": "com.amazonaws.sns#Endpoint" } }, "com.amazonaws.sns#ListOfPlatformApplications": { "type": "list", "member": { "target": "com.amazonaws.sns#PlatformApplication" } }, "com.amazonaws.sns#ListPhoneNumbersOptedOut": { "type": "operation", "input": { "target": "com.amazonaws.sns#ListPhoneNumbersOptedOutInput" }, "output": { "target": "com.amazonaws.sns#ListPhoneNumbersOptedOutResponse" }, "errors": [ { "target": "com.amazonaws.sns#AuthorizationErrorException" }, { "target": "com.amazonaws.sns#InternalErrorException" }, { "target": "com.amazonaws.sns#InvalidParameterException" }, { "target": "com.amazonaws.sns#ThrottledException" } ], "traits": { "smithy.api#documentation": "

Returns a list of phone numbers that are opted out, meaning you cannot send SMS\n messages to them.

\n

The results for ListPhoneNumbersOptedOut are paginated, and each page\n returns up to 100 phone numbers. If additional phone numbers are available after the\n first page of results, then a NextToken string will be returned. To receive\n the next page, you call ListPhoneNumbersOptedOut again using the\n NextToken string received from the previous call. When there are no\n more records to return, NextToken will be null.

" } }, "com.amazonaws.sns#ListPhoneNumbersOptedOutInput": { "type": "structure", "members": { "nextToken": { "target": "com.amazonaws.sns#String", "traits": { "smithy.api#documentation": "

A NextToken string is used when you call the\n ListPhoneNumbersOptedOut action to retrieve additional records that are\n available after the first page of results.

" } } }, "traits": { "smithy.api#documentation": "

The input for the ListPhoneNumbersOptedOut action.

" } }, "com.amazonaws.sns#ListPhoneNumbersOptedOutResponse": { "type": "structure", "members": { "phoneNumbers": { "target": "com.amazonaws.sns#PhoneNumberList", "traits": { "smithy.api#documentation": "

A list of phone numbers that are opted out of receiving SMS messages. The list is\n paginated, and each page can contain up to 100 phone numbers.

" } }, "nextToken": { "target": "com.amazonaws.sns#String", "traits": { "smithy.api#documentation": "

A NextToken string is returned when you call the\n ListPhoneNumbersOptedOut action if additional records are available\n after the first page of results.

" } } }, "traits": { "smithy.api#documentation": "

The response from the ListPhoneNumbersOptedOut action.

" } }, "com.amazonaws.sns#ListPlatformApplications": { "type": "operation", "input": { "target": "com.amazonaws.sns#ListPlatformApplicationsInput" }, "output": { "target": "com.amazonaws.sns#ListPlatformApplicationsResponse" }, "errors": [ { "target": "com.amazonaws.sns#AuthorizationErrorException" }, { "target": "com.amazonaws.sns#InternalErrorException" }, { "target": "com.amazonaws.sns#InvalidParameterException" } ], "traits": { "smithy.api#documentation": "

Lists the platform application objects for the supported push notification services,\n such as APNS and GCM (Firebase Cloud Messaging). The results for\n ListPlatformApplications are paginated and return a limited list of\n applications, up to 100. If additional records are available after the first page\n results, then a NextToken string will be returned. To receive the next page, you call\n ListPlatformApplications using the NextToken string received from the\n previous call. When there are no more records to return, NextToken will be\n null. For more information, see Using Amazon SNS Mobile Push\n Notifications.

\n

This action is throttled at 15 transactions per second (TPS).

", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", "items": "PlatformApplications" } } }, "com.amazonaws.sns#ListPlatformApplicationsInput": { "type": "structure", "members": { "NextToken": { "target": "com.amazonaws.sns#String", "traits": { "smithy.api#documentation": "

NextToken string is used when calling ListPlatformApplications action to retrieve\n additional records that are available after the first page results.

" } } }, "traits": { "smithy.api#documentation": "

Input for ListPlatformApplications action.

" } }, "com.amazonaws.sns#ListPlatformApplicationsResponse": { "type": "structure", "members": { "PlatformApplications": { "target": "com.amazonaws.sns#ListOfPlatformApplications", "traits": { "smithy.api#documentation": "

Platform applications returned when calling ListPlatformApplications action.

" } }, "NextToken": { "target": "com.amazonaws.sns#String", "traits": { "smithy.api#documentation": "

NextToken string is returned when calling ListPlatformApplications action if\n additional records are available after the first page results.

" } } }, "traits": { "smithy.api#documentation": "

Response for ListPlatformApplications action.

" } }, "com.amazonaws.sns#ListString": { "type": "list", "member": { "target": "com.amazonaws.sns#String" } }, "com.amazonaws.sns#ListSubscriptions": { "type": "operation", "input": { "target": "com.amazonaws.sns#ListSubscriptionsInput" }, "output": { "target": "com.amazonaws.sns#ListSubscriptionsResponse" }, "errors": [ { "target": "com.amazonaws.sns#AuthorizationErrorException" }, { "target": "com.amazonaws.sns#InternalErrorException" }, { "target": "com.amazonaws.sns#InvalidParameterException" } ], "traits": { "smithy.api#documentation": "

Returns a list of the requester's subscriptions. Each call returns a limited list of\n subscriptions, up to 100. If there are more subscriptions, a NextToken is\n also returned. Use the NextToken parameter in a new\n ListSubscriptions call to get further results.

\n

This action is throttled at 30 transactions per second (TPS).

", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", "items": "Subscriptions" } } }, "com.amazonaws.sns#ListSubscriptionsByTopic": { "type": "operation", "input": { "target": "com.amazonaws.sns#ListSubscriptionsByTopicInput" }, "output": { "target": "com.amazonaws.sns#ListSubscriptionsByTopicResponse" }, "errors": [ { "target": "com.amazonaws.sns#AuthorizationErrorException" }, { "target": "com.amazonaws.sns#InternalErrorException" }, { "target": "com.amazonaws.sns#InvalidParameterException" }, { "target": "com.amazonaws.sns#NotFoundException" } ], "traits": { "smithy.api#documentation": "

Returns a list of the subscriptions to a specific topic. Each call returns a limited\n list of subscriptions, up to 100. If there are more subscriptions, a\n NextToken is also returned. Use the NextToken parameter in\n a new ListSubscriptionsByTopic call to get further results.

\n

This action is throttled at 30 transactions per second (TPS).

", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", "items": "Subscriptions" } } }, "com.amazonaws.sns#ListSubscriptionsByTopicInput": { "type": "structure", "members": { "TopicArn": { "target": "com.amazonaws.sns#topicARN", "traits": { "smithy.api#documentation": "

The ARN of the topic for which you wish to find subscriptions.

", "smithy.api#required": {} } }, "NextToken": { "target": "com.amazonaws.sns#nextToken", "traits": { "smithy.api#documentation": "

Token returned by the previous ListSubscriptionsByTopic request.

" } } }, "traits": { "smithy.api#documentation": "

Input for ListSubscriptionsByTopic action.

" } }, "com.amazonaws.sns#ListSubscriptionsByTopicResponse": { "type": "structure", "members": { "Subscriptions": { "target": "com.amazonaws.sns#SubscriptionsList", "traits": { "smithy.api#documentation": "

A list of subscriptions.

" } }, "NextToken": { "target": "com.amazonaws.sns#nextToken", "traits": { "smithy.api#documentation": "

Token to pass along to the next ListSubscriptionsByTopic request. This\n element is returned if there are more subscriptions to retrieve.

" } } }, "traits": { "smithy.api#documentation": "

Response for ListSubscriptionsByTopic action.

" } }, "com.amazonaws.sns#ListSubscriptionsInput": { "type": "structure", "members": { "NextToken": { "target": "com.amazonaws.sns#nextToken", "traits": { "smithy.api#documentation": "

Token returned by the previous ListSubscriptions request.

" } } }, "traits": { "smithy.api#documentation": "

Input for ListSubscriptions action.

" } }, "com.amazonaws.sns#ListSubscriptionsResponse": { "type": "structure", "members": { "Subscriptions": { "target": "com.amazonaws.sns#SubscriptionsList", "traits": { "smithy.api#documentation": "

A list of subscriptions.

" } }, "NextToken": { "target": "com.amazonaws.sns#nextToken", "traits": { "smithy.api#documentation": "

Token to pass along to the next ListSubscriptions request. This element\n is returned if there are more subscriptions to retrieve.

" } } }, "traits": { "smithy.api#documentation": "

Response for ListSubscriptions action

" } }, "com.amazonaws.sns#ListTagsForResource": { "type": "operation", "input": { "target": "com.amazonaws.sns#ListTagsForResourceRequest" }, "output": { "target": "com.amazonaws.sns#ListTagsForResourceResponse" }, "errors": [ { "target": "com.amazonaws.sns#AuthorizationErrorException" }, { "target": "com.amazonaws.sns#ConcurrentAccessException" }, { "target": "com.amazonaws.sns#InvalidParameterException" }, { "target": "com.amazonaws.sns#ResourceNotFoundException" }, { "target": "com.amazonaws.sns#TagPolicyException" } ], "traits": { "smithy.api#documentation": "

List all tags added to the specified Amazon SNS topic. For an overview, see\n Amazon SNS Tags in the\n Amazon Simple Notification Service Developer Guide.

" } }, "com.amazonaws.sns#ListTagsForResourceRequest": { "type": "structure", "members": { "ResourceArn": { "target": "com.amazonaws.sns#AmazonResourceName", "traits": { "smithy.api#documentation": "

The ARN of the topic for which to list tags.

", "smithy.api#required": {} } } } }, "com.amazonaws.sns#ListTagsForResourceResponse": { "type": "structure", "members": { "Tags": { "target": "com.amazonaws.sns#TagList", "traits": { "smithy.api#documentation": "

The tags associated with the specified topic.

" } } } }, "com.amazonaws.sns#ListTopics": { "type": "operation", "input": { "target": "com.amazonaws.sns#ListTopicsInput" }, "output": { "target": "com.amazonaws.sns#ListTopicsResponse" }, "errors": [ { "target": "com.amazonaws.sns#AuthorizationErrorException" }, { "target": "com.amazonaws.sns#InternalErrorException" }, { "target": "com.amazonaws.sns#InvalidParameterException" } ], "traits": { "smithy.api#documentation": "

Returns a list of the requester's topics. Each call returns a limited list of topics,\n up to 100. If there are more topics, a NextToken is also returned. Use the\n NextToken parameter in a new ListTopics call to get\n further results.

\n

This action is throttled at 30 transactions per second (TPS).

", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", "items": "Topics" } } }, "com.amazonaws.sns#ListTopicsInput": { "type": "structure", "members": { "NextToken": { "target": "com.amazonaws.sns#nextToken", "traits": { "smithy.api#documentation": "

Token returned by the previous ListTopics request.

" } } } }, "com.amazonaws.sns#ListTopicsResponse": { "type": "structure", "members": { "Topics": { "target": "com.amazonaws.sns#TopicsList", "traits": { "smithy.api#documentation": "

A list of topic ARNs.

" } }, "NextToken": { "target": "com.amazonaws.sns#nextToken", "traits": { "smithy.api#documentation": "

Token to pass along to the next ListTopics request. This element is\n returned if there are additional topics to retrieve.

" } } }, "traits": { "smithy.api#documentation": "

Response for ListTopics action.

" } }, "com.amazonaws.sns#MapStringToString": { "type": "map", "key": { "target": "com.amazonaws.sns#String" }, "value": { "target": "com.amazonaws.sns#String" } }, "com.amazonaws.sns#MessageAttributeMap": { "type": "map", "key": { "target": "com.amazonaws.sns#String", "traits": { "smithy.api#xmlName": "Name" } }, "value": { "target": "com.amazonaws.sns#MessageAttributeValue", "traits": { "smithy.api#xmlName": "Value" } } }, "com.amazonaws.sns#MessageAttributeValue": { "type": "structure", "members": { "DataType": { "target": "com.amazonaws.sns#String", "traits": { "smithy.api#documentation": "

Amazon SNS supports the following logical data types: String, String.Array, Number, and\n Binary. For more information, see Message\n Attribute Data Types.

", "smithy.api#required": {} } }, "StringValue": { "target": "com.amazonaws.sns#String", "traits": { "smithy.api#documentation": "

Strings are Unicode with UTF8 binary encoding. For a list of code values, see ASCII Printable\n Characters.

" } }, "BinaryValue": { "target": "com.amazonaws.sns#Binary", "traits": { "smithy.api#documentation": "

Binary type attributes can store any binary data, for example, compressed data,\n encrypted data, or images.

" } } }, "traits": { "smithy.api#documentation": "

The user-specified message attribute value. For string data types, the value attribute\n has the same restrictions on the content as the message body. For more information, see\n Publish.

\n

Name, type, and value must not be empty or null. In addition, the message body should\n not be empty or null. All parts of the message attribute, including name, type, and\n value, are included in the message size restriction, which is currently 256 KB (262,144\n bytes). For more information, see Amazon SNS message\n attributes and Publishing to a mobile phone\n in the Amazon SNS Developer Guide.\n

" } }, "com.amazonaws.sns#NotFoundException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.sns#String" } }, "traits": { "smithy.api#documentation": "

Indicates that the requested resource does not exist.

", "smithy.api#error": "client", "smithy.api#httpError": 404 } }, "com.amazonaws.sns#OptInPhoneNumber": { "type": "operation", "input": { "target": "com.amazonaws.sns#OptInPhoneNumberInput" }, "output": { "target": "com.amazonaws.sns#OptInPhoneNumberResponse" }, "errors": [ { "target": "com.amazonaws.sns#AuthorizationErrorException" }, { "target": "com.amazonaws.sns#InternalErrorException" }, { "target": "com.amazonaws.sns#InvalidParameterException" }, { "target": "com.amazonaws.sns#ThrottledException" } ], "traits": { "smithy.api#documentation": "

Use this request to opt in a phone number that is opted out, which enables you to\n resume sending SMS messages to the number.

\n

You can opt in a phone number only once every 30 days.

" } }, "com.amazonaws.sns#OptInPhoneNumberInput": { "type": "structure", "members": { "phoneNumber": { "target": "com.amazonaws.sns#PhoneNumber", "traits": { "smithy.api#documentation": "

The phone number to opt in. Use E.164 format.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Input for the OptInPhoneNumber action.

" } }, "com.amazonaws.sns#OptInPhoneNumberResponse": { "type": "structure", "members": {}, "traits": { "smithy.api#documentation": "

The response for the OptInPhoneNumber action.

" } }, "com.amazonaws.sns#PhoneNumber": { "type": "string" }, "com.amazonaws.sns#PhoneNumberList": { "type": "list", "member": { "target": "com.amazonaws.sns#PhoneNumber" } }, "com.amazonaws.sns#PlatformApplication": { "type": "structure", "members": { "PlatformApplicationArn": { "target": "com.amazonaws.sns#String", "traits": { "smithy.api#documentation": "

PlatformApplicationArn for platform application object.

" } }, "Attributes": { "target": "com.amazonaws.sns#MapStringToString", "traits": { "smithy.api#documentation": "

Attributes for platform application object.

" } } }, "traits": { "smithy.api#documentation": "

Platform application object.

" } }, "com.amazonaws.sns#PlatformApplicationDisabledException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.sns#String", "traits": { "smithy.api#documentation": "

Message for platform application disabled.

" } } }, "traits": { "smithy.api#documentation": "

Exception error indicating platform application disabled.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.sns#Publish": { "type": "operation", "input": { "target": "com.amazonaws.sns#PublishInput" }, "output": { "target": "com.amazonaws.sns#PublishResponse" }, "errors": [ { "target": "com.amazonaws.sns#AuthorizationErrorException" }, { "target": "com.amazonaws.sns#EndpointDisabledException" }, { "target": "com.amazonaws.sns#InternalErrorException" }, { "target": "com.amazonaws.sns#InvalidParameterException" }, { "target": "com.amazonaws.sns#InvalidParameterValueException" }, { "target": "com.amazonaws.sns#InvalidSecurityException" }, { "target": "com.amazonaws.sns#KMSAccessDeniedException" }, { "target": "com.amazonaws.sns#KMSDisabledException" }, { "target": "com.amazonaws.sns#KMSInvalidStateException" }, { "target": "com.amazonaws.sns#KMSNotFoundException" }, { "target": "com.amazonaws.sns#KMSOptInRequired" }, { "target": "com.amazonaws.sns#KMSThrottlingException" }, { "target": "com.amazonaws.sns#NotFoundException" }, { "target": "com.amazonaws.sns#PlatformApplicationDisabledException" } ], "traits": { "smithy.api#documentation": "

Sends a message to an Amazon SNS topic, a text message (SMS message) directly to a phone\n number, or a message to a mobile platform endpoint (when you specify the\n TargetArn).

\n

If you send a message to a topic, Amazon SNS delivers the message to each endpoint that is\n subscribed to the topic. The format of the message depends on the notification protocol\n for each subscribed endpoint.

\n

When a messageId is returned, the message has been saved and Amazon SNS\n will attempt to deliver it shortly.

\n

To use the Publish action for sending a message to a mobile endpoint,\n such as an app on a Kindle device or mobile phone, you must specify the EndpointArn for\n the TargetArn parameter. The EndpointArn is returned when making a call with the\n CreatePlatformEndpoint action. \n

\n

For more information about formatting messages, see Send Custom\n Platform-Specific Payloads in Messages to Mobile Devices.

\n \n

You can publish messages only to topics and endpoints in the same AWS Region.

\n
" } }, "com.amazonaws.sns#PublishInput": { "type": "structure", "members": { "TopicArn": { "target": "com.amazonaws.sns#topicARN", "traits": { "smithy.api#documentation": "

The topic you want to publish to.

\n

If you don't specify a value for the TopicArn parameter, you must specify\n a value for the PhoneNumber or TargetArn parameters.

" } }, "TargetArn": { "target": "com.amazonaws.sns#String", "traits": { "smithy.api#documentation": "

If you don't specify a value for the TargetArn parameter, you must\n specify a value for the PhoneNumber or TopicArn\n parameters.

" } }, "PhoneNumber": { "target": "com.amazonaws.sns#String", "traits": { "smithy.api#documentation": "

The phone number to which you want to deliver an SMS message. Use E.164 format.

\n

If you don't specify a value for the PhoneNumber parameter, you must\n specify a value for the TargetArn or TopicArn\n parameters.

" } }, "Message": { "target": "com.amazonaws.sns#message", "traits": { "smithy.api#documentation": "

The message you want to send.

\n

If you are publishing to a topic and you want to send the same message to all\n transport protocols, include the text of the message as a String value. If you want to\n send different messages for each transport protocol, set the value of the\n MessageStructure parameter to json and use a JSON object\n for the Message parameter. \n

\n

\n

Constraints:

\n \n

JSON-specific constraints:

\n ", "smithy.api#required": {} } }, "Subject": { "target": "com.amazonaws.sns#subject", "traits": { "smithy.api#documentation": "

Optional parameter to be used as the \"Subject\" line when the message is delivered to\n email endpoints. This field will also be included, if present, in the standard JSON\n messages delivered to other endpoints.

\n

Constraints: Subjects must be ASCII text that begins with a letter, number, or\n punctuation mark; must not include line breaks or control characters; and must be less\n than 100 characters long.

" } }, "MessageStructure": { "target": "com.amazonaws.sns#messageStructure", "traits": { "smithy.api#documentation": "

Set MessageStructure to json if you want to send a different\n message for each protocol. For example, using one publish action, you can send a short\n message to your SMS subscribers and a longer message to your email subscribers. If you\n set MessageStructure to json, the value of the\n Message parameter must:

\n \n

You can define other top-level keys that define the message you want to send to a\n specific transport protocol (e.g., \"http\").

\n

Valid value: json\n

" } }, "MessageAttributes": { "target": "com.amazonaws.sns#MessageAttributeMap", "traits": { "smithy.api#documentation": "

Message attributes for Publish action.

" } }, "MessageDeduplicationId": { "target": "com.amazonaws.sns#String", "traits": { "smithy.api#documentation": "

This parameter applies only to FIFO (first-in-first-out) topics. \n The MessageDeduplicationId can contain up to 128 alphanumeric characters (a-z, A-Z, 0-9) \n and punctuation (!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~).

\n

Every message must have a unique MessageDeduplicationId, which is a token used for deduplication of sent messages. \n If a message with a particular MessageDeduplicationId is sent successfully, any message sent with the same MessageDeduplicationId \n during the 5-minute deduplication interval is treated as a duplicate.

\n

If the topic has ContentBasedDeduplication set, the system generates a MessageDeduplicationId based on the contents of the \n message. Your MessageDeduplicationId overrides the generated one.

" } }, "MessageGroupId": { "target": "com.amazonaws.sns#String", "traits": { "smithy.api#documentation": "

This parameter applies only to FIFO (first-in-first-out) topics. The MessageGroupId can contain up to \n 128 alphanumeric characters (a-z, A-Z, 0-9) and punctuation (!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~).

\n

The MessageGroupId is a tag that specifies that a message belongs to a specific message group. Messages that belong to the \n same message group are processed in a FIFO manner (however, messages in different message groups might be processed out of order).\n Every message must include a MessageGroupId.

" } } }, "traits": { "smithy.api#documentation": "

Input for Publish action.

" } }, "com.amazonaws.sns#PublishResponse": { "type": "structure", "members": { "MessageId": { "target": "com.amazonaws.sns#messageId", "traits": { "smithy.api#documentation": "

Unique identifier assigned to the published message.

\n

Length Constraint: Maximum 100 characters

" } }, "SequenceNumber": { "target": "com.amazonaws.sns#String", "traits": { "smithy.api#documentation": "

This response element applies only to FIFO (first-in-first-out) topics.

\n

The sequence number is a large, non-consecutive number that Amazon SNS assigns to each message. \n The length of SequenceNumber is 128 bits. SequenceNumber continues to increase for each MessageGroupId.

" } } }, "traits": { "smithy.api#documentation": "

Response for Publish action.

" } }, "com.amazonaws.sns#RemovePermission": { "type": "operation", "input": { "target": "com.amazonaws.sns#RemovePermissionInput" }, "errors": [ { "target": "com.amazonaws.sns#AuthorizationErrorException" }, { "target": "com.amazonaws.sns#InternalErrorException" }, { "target": "com.amazonaws.sns#InvalidParameterException" }, { "target": "com.amazonaws.sns#NotFoundException" } ], "traits": { "smithy.api#documentation": "

Removes a statement from a topic's access control policy.

" } }, "com.amazonaws.sns#RemovePermissionInput": { "type": "structure", "members": { "TopicArn": { "target": "com.amazonaws.sns#topicARN", "traits": { "smithy.api#documentation": "

The ARN of the topic whose access control policy you wish to modify.

", "smithy.api#required": {} } }, "Label": { "target": "com.amazonaws.sns#label", "traits": { "smithy.api#documentation": "

The unique label of the statement you want to remove.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Input for RemovePermission action.

" } }, "com.amazonaws.sns#ResourceNotFoundException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.sns#String" } }, "traits": { "smithy.api#documentation": "

Can't tag resource. Verify that the topic exists.

", "smithy.api#error": "client", "smithy.api#httpError": 404 } }, "com.amazonaws.sns#SetEndpointAttributes": { "type": "operation", "input": { "target": "com.amazonaws.sns#SetEndpointAttributesInput" }, "errors": [ { "target": "com.amazonaws.sns#AuthorizationErrorException" }, { "target": "com.amazonaws.sns#InternalErrorException" }, { "target": "com.amazonaws.sns#InvalidParameterException" }, { "target": "com.amazonaws.sns#NotFoundException" } ], "traits": { "smithy.api#documentation": "

Sets the attributes for an endpoint for a device on one of the supported push\n notification services, such as GCM (Firebase Cloud Messaging) and APNS. For more\n information, see Using Amazon SNS Mobile Push Notifications.

" } }, "com.amazonaws.sns#SetEndpointAttributesInput": { "type": "structure", "members": { "EndpointArn": { "target": "com.amazonaws.sns#String", "traits": { "smithy.api#documentation": "

EndpointArn used for SetEndpointAttributes action.

", "smithy.api#required": {} } }, "Attributes": { "target": "com.amazonaws.sns#MapStringToString", "traits": { "smithy.api#documentation": "

A map of the endpoint attributes. Attributes in this map include the following:

\n ", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Input for SetEndpointAttributes action.

" } }, "com.amazonaws.sns#SetPlatformApplicationAttributes": { "type": "operation", "input": { "target": "com.amazonaws.sns#SetPlatformApplicationAttributesInput" }, "errors": [ { "target": "com.amazonaws.sns#AuthorizationErrorException" }, { "target": "com.amazonaws.sns#InternalErrorException" }, { "target": "com.amazonaws.sns#InvalidParameterException" }, { "target": "com.amazonaws.sns#NotFoundException" } ], "traits": { "smithy.api#documentation": "

Sets the attributes of the platform application object for the supported push\n notification services, such as APNS and GCM (Firebase Cloud Messaging). For more\n information, see Using Amazon SNS Mobile Push Notifications. For information on configuring\n attributes for message delivery status, see Using Amazon SNS Application Attributes for\n Message Delivery Status.

" } }, "com.amazonaws.sns#SetPlatformApplicationAttributesInput": { "type": "structure", "members": { "PlatformApplicationArn": { "target": "com.amazonaws.sns#String", "traits": { "smithy.api#documentation": "

PlatformApplicationArn for SetPlatformApplicationAttributes action.

", "smithy.api#required": {} } }, "Attributes": { "target": "com.amazonaws.sns#MapStringToString", "traits": { "smithy.api#documentation": "

A map of the platform application attributes. Attributes in this map include the\n following:

\n ", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Input for SetPlatformApplicationAttributes action.

" } }, "com.amazonaws.sns#SetSMSAttributes": { "type": "operation", "input": { "target": "com.amazonaws.sns#SetSMSAttributesInput" }, "output": { "target": "com.amazonaws.sns#SetSMSAttributesResponse" }, "errors": [ { "target": "com.amazonaws.sns#AuthorizationErrorException" }, { "target": "com.amazonaws.sns#InternalErrorException" }, { "target": "com.amazonaws.sns#InvalidParameterException" }, { "target": "com.amazonaws.sns#ThrottledException" } ], "traits": { "smithy.api#documentation": "

Use this request to set the default settings for sending SMS messages and receiving\n daily SMS usage reports.

\n

You can override some of these settings for a single message when you use the\n Publish action with the MessageAttributes.entry.N\n parameter. For more information, see Publishing to a mobile phone in the\n Amazon SNS Developer Guide.

\n \n

To use this operation, you must grant the Amazon SNS service principal (sns.amazonaws.com)\n permission to perform the s3:ListBucket action.

\n
" } }, "com.amazonaws.sns#SetSMSAttributesInput": { "type": "structure", "members": { "attributes": { "target": "com.amazonaws.sns#MapStringToString", "traits": { "smithy.api#documentation": "

The default settings for sending SMS messages from your account. You can set values\n for the following attribute names:

\n

\n MonthlySpendLimit – The maximum amount in USD that you are willing to spend\n each month to send SMS messages. When Amazon SNS determines that sending an SMS message would\n incur a cost that exceeds this limit, it stops sending SMS messages within\n minutes.

\n \n

Amazon SNS stops sending SMS messages within minutes of the limit being crossed. During\n that interval, if you continue to send SMS messages, you will incur costs that\n exceed your limit.

\n
\n

By default, the spend limit is set to the maximum allowed by Amazon SNS. If you want to\n raise the limit, submit an SNS Limit Increase case. For New limit\n value, enter your desired monthly spend limit. In the Use Case Description field, explain that you are requesting\n an SMS monthly spend limit increase.

\n

\n DeliveryStatusIAMRole – The ARN of the IAM role that allows Amazon SNS to write\n logs about SMS deliveries in CloudWatch Logs. For each SMS message that you send, Amazon SNS\n writes a log that includes the message price, the success or failure status, the reason\n for failure (if the message failed), the message dwell time, and other\n information.

\n

\n DeliveryStatusSuccessSamplingRate – The percentage of successful SMS\n deliveries for which Amazon SNS will write logs in CloudWatch Logs. The value can be an\n integer from 0 - 100. For example, to write logs only for failed deliveries, set this\n value to 0. To write logs for 10% of your successful deliveries, set it to\n 10.

\n

\n DefaultSenderID – A string, such as your business brand, that is displayed\n as the sender on the receiving device. Support for sender IDs varies by country. The\n sender ID can be 1 - 11 alphanumeric characters, and it must contain at least one\n letter.

\n

\n DefaultSMSType – The type of SMS message that you will send by default. You\n can assign the following values:

\n \n

\n UsageReportS3Bucket – The name of the Amazon S3 bucket to receive daily SMS\n usage reports from Amazon SNS. Each day, Amazon SNS will deliver a usage report as a CSV file to\n the bucket. The report includes the following information for each SMS message that was\n successfully delivered by your account:

\n \n

To receive the report, the bucket must have a policy that allows the Amazon SNS service\n principle to perform the s3:PutObject and s3:GetBucketLocation\n actions.

\n

For an example bucket policy and usage report, see Monitoring SMS Activity in the\n Amazon SNS Developer Guide.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

The input for the SetSMSAttributes action.

" } }, "com.amazonaws.sns#SetSMSAttributesResponse": { "type": "structure", "members": {}, "traits": { "smithy.api#documentation": "

The response for the SetSMSAttributes action.

" } }, "com.amazonaws.sns#SetSubscriptionAttributes": { "type": "operation", "input": { "target": "com.amazonaws.sns#SetSubscriptionAttributesInput" }, "errors": [ { "target": "com.amazonaws.sns#AuthorizationErrorException" }, { "target": "com.amazonaws.sns#FilterPolicyLimitExceededException" }, { "target": "com.amazonaws.sns#InternalErrorException" }, { "target": "com.amazonaws.sns#InvalidParameterException" }, { "target": "com.amazonaws.sns#NotFoundException" } ], "traits": { "smithy.api#documentation": "

Allows a subscription owner to set an attribute of the subscription to a new\n value.

" } }, "com.amazonaws.sns#SetSubscriptionAttributesInput": { "type": "structure", "members": { "SubscriptionArn": { "target": "com.amazonaws.sns#subscriptionARN", "traits": { "smithy.api#documentation": "

The ARN of the subscription to modify.

", "smithy.api#required": {} } }, "AttributeName": { "target": "com.amazonaws.sns#attributeName", "traits": { "smithy.api#documentation": "

A map of attributes with their corresponding values.

\n

The following lists the names, descriptions, and values of the special request parameters that this action\n uses:

\n \n \n \n

The following attribute applies only to Amazon Kinesis Data Firehose delivery stream subscriptions:

\n ", "smithy.api#required": {} } }, "AttributeValue": { "target": "com.amazonaws.sns#attributeValue", "traits": { "smithy.api#documentation": "

The new value for the attribute in JSON format.

" } } }, "traits": { "smithy.api#documentation": "

Input for SetSubscriptionAttributes action.

" } }, "com.amazonaws.sns#SetTopicAttributes": { "type": "operation", "input": { "target": "com.amazonaws.sns#SetTopicAttributesInput" }, "errors": [ { "target": "com.amazonaws.sns#AuthorizationErrorException" }, { "target": "com.amazonaws.sns#InternalErrorException" }, { "target": "com.amazonaws.sns#InvalidParameterException" }, { "target": "com.amazonaws.sns#InvalidSecurityException" }, { "target": "com.amazonaws.sns#NotFoundException" } ], "traits": { "smithy.api#documentation": "

Allows a topic owner to set an attribute of the topic to a new value.

" } }, "com.amazonaws.sns#SetTopicAttributesInput": { "type": "structure", "members": { "TopicArn": { "target": "com.amazonaws.sns#topicARN", "traits": { "smithy.api#documentation": "

The ARN of the topic to modify.

", "smithy.api#required": {} } }, "AttributeName": { "target": "com.amazonaws.sns#attributeName", "traits": { "smithy.api#documentation": "

A map of attributes with their corresponding values.

\n

The following lists the names, descriptions, and values of the special request\n parameters that the SetTopicAttributes action uses:

\n \n \n

The following attribute applies only to server-side-encryption:

\n \n \n \n

The following attribute applies only to FIFO topics:

\n ", "smithy.api#required": {} } }, "AttributeValue": { "target": "com.amazonaws.sns#attributeValue", "traits": { "smithy.api#documentation": "

The new value for the attribute.

" } } }, "traits": { "smithy.api#documentation": "

Input for SetTopicAttributes action.

" } }, "com.amazonaws.sns#StaleTagException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.sns#String" } }, "traits": { "smithy.api#documentation": "

A tag has been added to a resource with the same ARN as a deleted resource.\n Wait a short while and then retry the operation.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.sns#String": { "type": "string" }, "com.amazonaws.sns#Subscribe": { "type": "operation", "input": { "target": "com.amazonaws.sns#SubscribeInput" }, "output": { "target": "com.amazonaws.sns#SubscribeResponse" }, "errors": [ { "target": "com.amazonaws.sns#AuthorizationErrorException" }, { "target": "com.amazonaws.sns#FilterPolicyLimitExceededException" }, { "target": "com.amazonaws.sns#InternalErrorException" }, { "target": "com.amazonaws.sns#InvalidParameterException" }, { "target": "com.amazonaws.sns#InvalidSecurityException" }, { "target": "com.amazonaws.sns#NotFoundException" }, { "target": "com.amazonaws.sns#SubscriptionLimitExceededException" } ], "traits": { "smithy.api#documentation": "

Subscribes an endpoint to an Amazon SNS topic. If the endpoint type is HTTP/S or email, or\n if the endpoint and the topic are not in the same AWS account, the endpoint owner must\n run the ConfirmSubscription action to confirm the subscription.

\n

You call the ConfirmSubscription action with the token from the subscription response.\n Confirmation tokens are valid for three days.

\n

This action is throttled at 100 transactions per second (TPS).

" } }, "com.amazonaws.sns#SubscribeInput": { "type": "structure", "members": { "TopicArn": { "target": "com.amazonaws.sns#topicARN", "traits": { "smithy.api#documentation": "

The ARN of the topic you want to subscribe to.

", "smithy.api#required": {} } }, "Protocol": { "target": "com.amazonaws.sns#protocol", "traits": { "smithy.api#documentation": "

The protocol that you want to use. Supported protocols include:

\n ", "smithy.api#required": {} } }, "Endpoint": { "target": "com.amazonaws.sns#Endpoint2", "traits": { "smithy.api#documentation": "

The endpoint that you want to receive notifications. Endpoints vary by\n protocol:

\n " } }, "Attributes": { "target": "com.amazonaws.sns#SubscriptionAttributesMap", "traits": { "smithy.api#documentation": "

A map of attributes with their corresponding values.

\n

The following lists the names, descriptions, and values of the special request parameters that the\n SetTopicAttributes action uses:

\n \n \n \n

The following attribute applies only to Amazon Kinesis Data Firehose delivery stream subscriptions:

\n " } }, "ReturnSubscriptionArn": { "target": "com.amazonaws.sns#boolean", "traits": { "smithy.api#documentation": "

Sets whether the response from the Subscribe request includes the\n subscription ARN, even if the subscription is not yet confirmed.

\n

If you set this parameter to true, the response includes the ARN in all cases, even\n if the subscription is not yet confirmed. In addition to the ARN for confirmed subscriptions, the response\n also includes the pending subscription ARN value for subscriptions that aren't yet confirmed. A\n subscription becomes confirmed when the subscriber calls the ConfirmSubscription action with a\n confirmation token.

\n

\n

The default value is false.

" } } }, "traits": { "smithy.api#documentation": "

Input for Subscribe action.

" } }, "com.amazonaws.sns#SubscribeResponse": { "type": "structure", "members": { "SubscriptionArn": { "target": "com.amazonaws.sns#subscriptionARN", "traits": { "smithy.api#documentation": "

The ARN of the subscription if it is confirmed, or the string \"pending confirmation\"\n if the subscription requires confirmation. However, if the API request parameter\n ReturnSubscriptionArn is true, then the value is always the\n subscription ARN, even if the subscription requires confirmation.

" } } }, "traits": { "smithy.api#documentation": "

Response for Subscribe action.

" } }, "com.amazonaws.sns#Subscription": { "type": "structure", "members": { "SubscriptionArn": { "target": "com.amazonaws.sns#subscriptionARN", "traits": { "smithy.api#documentation": "

The subscription's ARN.

" } }, "Owner": { "target": "com.amazonaws.sns#account", "traits": { "smithy.api#documentation": "

The subscription's owner.

" } }, "Protocol": { "target": "com.amazonaws.sns#protocol", "traits": { "smithy.api#documentation": "

The subscription's protocol.

" } }, "Endpoint": { "target": "com.amazonaws.sns#Endpoint2", "traits": { "smithy.api#documentation": "

The subscription's endpoint (format depends on the protocol).

" } }, "TopicArn": { "target": "com.amazonaws.sns#topicARN", "traits": { "smithy.api#documentation": "

The ARN of the subscription's topic.

" } } }, "traits": { "smithy.api#documentation": "

A wrapper type for the attributes of an Amazon SNS subscription.

" } }, "com.amazonaws.sns#SubscriptionAttributesMap": { "type": "map", "key": { "target": "com.amazonaws.sns#attributeName" }, "value": { "target": "com.amazonaws.sns#attributeValue" } }, "com.amazonaws.sns#SubscriptionLimitExceededException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.sns#String" } }, "traits": { "smithy.api#documentation": "

Indicates that the customer already owns the maximum allowed number of\n subscriptions.

", "smithy.api#error": "client", "smithy.api#httpError": 403 } }, "com.amazonaws.sns#SubscriptionsList": { "type": "list", "member": { "target": "com.amazonaws.sns#Subscription" } }, "com.amazonaws.sns#Tag": { "type": "structure", "members": { "Key": { "target": "com.amazonaws.sns#TagKey", "traits": { "smithy.api#documentation": "

The required key portion of the tag.

", "smithy.api#required": {} } }, "Value": { "target": "com.amazonaws.sns#TagValue", "traits": { "smithy.api#documentation": "

The optional value portion of the tag.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

The list of tags to be added to the specified topic.

" } }, "com.amazonaws.sns#TagKey": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 128 } } }, "com.amazonaws.sns#TagKeyList": { "type": "list", "member": { "target": "com.amazonaws.sns#TagKey" } }, "com.amazonaws.sns#TagLimitExceededException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.sns#String" } }, "traits": { "smithy.api#documentation": "

Can't add more than 50 tags to a topic.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.sns#TagList": { "type": "list", "member": { "target": "com.amazonaws.sns#Tag" } }, "com.amazonaws.sns#TagPolicyException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.sns#String" } }, "traits": { "smithy.api#documentation": "

The request doesn't comply with the IAM tag policy. Correct your request and then\n retry it.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.sns#TagResource": { "type": "operation", "input": { "target": "com.amazonaws.sns#TagResourceRequest" }, "output": { "target": "com.amazonaws.sns#TagResourceResponse" }, "errors": [ { "target": "com.amazonaws.sns#AuthorizationErrorException" }, { "target": "com.amazonaws.sns#ConcurrentAccessException" }, { "target": "com.amazonaws.sns#InvalidParameterException" }, { "target": "com.amazonaws.sns#ResourceNotFoundException" }, { "target": "com.amazonaws.sns#StaleTagException" }, { "target": "com.amazonaws.sns#TagLimitExceededException" }, { "target": "com.amazonaws.sns#TagPolicyException" } ], "traits": { "smithy.api#documentation": "

Add tags to the specified Amazon SNS topic. For an overview, see \n Amazon SNS Tags in the\n Amazon SNS Developer Guide.

\n

When you use topic tags, keep the following guidelines in mind:

\n " } }, "com.amazonaws.sns#TagResourceRequest": { "type": "structure", "members": { "ResourceArn": { "target": "com.amazonaws.sns#AmazonResourceName", "traits": { "smithy.api#documentation": "

The ARN of the topic to which to add tags.

", "smithy.api#required": {} } }, "Tags": { "target": "com.amazonaws.sns#TagList", "traits": { "smithy.api#documentation": "

The tags to be added to the specified topic. A tag consists of a required key\n and an optional value.

", "smithy.api#required": {} } } } }, "com.amazonaws.sns#TagResourceResponse": { "type": "structure", "members": {} }, "com.amazonaws.sns#TagValue": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 256 } } }, "com.amazonaws.sns#ThrottledException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.sns#String", "traits": { "smithy.api#documentation": "

Throttled request.

" } } }, "traits": { "smithy.api#documentation": "

Indicates that the rate at which requests have been submitted for this action exceeds\n the limit for your account.

", "smithy.api#error": "client", "smithy.api#httpError": 429 } }, "com.amazonaws.sns#Topic": { "type": "structure", "members": { "TopicArn": { "target": "com.amazonaws.sns#topicARN", "traits": { "smithy.api#documentation": "

The topic's ARN.

" } } }, "traits": { "smithy.api#documentation": "

A wrapper type for the topic's Amazon Resource Name (ARN). To retrieve a topic's\n attributes, use GetTopicAttributes.

" } }, "com.amazonaws.sns#TopicAttributesMap": { "type": "map", "key": { "target": "com.amazonaws.sns#attributeName" }, "value": { "target": "com.amazonaws.sns#attributeValue" } }, "com.amazonaws.sns#TopicLimitExceededException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.sns#String" } }, "traits": { "smithy.api#documentation": "

Indicates that the customer already owns the maximum allowed number of topics.

", "smithy.api#error": "client", "smithy.api#httpError": 403 } }, "com.amazonaws.sns#TopicsList": { "type": "list", "member": { "target": "com.amazonaws.sns#Topic" } }, "com.amazonaws.sns#Unsubscribe": { "type": "operation", "input": { "target": "com.amazonaws.sns#UnsubscribeInput" }, "errors": [ { "target": "com.amazonaws.sns#AuthorizationErrorException" }, { "target": "com.amazonaws.sns#InternalErrorException" }, { "target": "com.amazonaws.sns#InvalidParameterException" }, { "target": "com.amazonaws.sns#InvalidSecurityException" }, { "target": "com.amazonaws.sns#NotFoundException" } ], "traits": { "smithy.api#documentation": "

Deletes a subscription. If the subscription requires authentication for deletion, only\n the owner of the subscription or the topic's owner can unsubscribe, and an AWS signature\n is required. If the Unsubscribe call does not require authentication and\n the requester is not the subscription owner, a final cancellation message is delivered\n to the endpoint, so that the endpoint owner can easily resubscribe to the topic if the\n Unsubscribe request was unintended.

\n

This action is throttled at 100 transactions per second (TPS).

" } }, "com.amazonaws.sns#UnsubscribeInput": { "type": "structure", "members": { "SubscriptionArn": { "target": "com.amazonaws.sns#subscriptionARN", "traits": { "smithy.api#documentation": "

The ARN of the subscription to be deleted.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Input for Unsubscribe action.

" } }, "com.amazonaws.sns#UntagResource": { "type": "operation", "input": { "target": "com.amazonaws.sns#UntagResourceRequest" }, "output": { "target": "com.amazonaws.sns#UntagResourceResponse" }, "errors": [ { "target": "com.amazonaws.sns#AuthorizationErrorException" }, { "target": "com.amazonaws.sns#ConcurrentAccessException" }, { "target": "com.amazonaws.sns#InvalidParameterException" }, { "target": "com.amazonaws.sns#ResourceNotFoundException" }, { "target": "com.amazonaws.sns#StaleTagException" }, { "target": "com.amazonaws.sns#TagLimitExceededException" }, { "target": "com.amazonaws.sns#TagPolicyException" } ], "traits": { "smithy.api#documentation": "

Remove tags from the specified Amazon SNS topic. For an overview, see\n Amazon SNS Tags in the\n Amazon SNS Developer Guide.

" } }, "com.amazonaws.sns#UntagResourceRequest": { "type": "structure", "members": { "ResourceArn": { "target": "com.amazonaws.sns#AmazonResourceName", "traits": { "smithy.api#documentation": "

The ARN of the topic from which to remove tags.

", "smithy.api#required": {} } }, "TagKeys": { "target": "com.amazonaws.sns#TagKeyList", "traits": { "smithy.api#documentation": "

The list of tag keys to remove from the specified topic.

", "smithy.api#required": {} } } } }, "com.amazonaws.sns#UntagResourceResponse": { "type": "structure", "members": {} }, "com.amazonaws.sns#account": { "type": "string" }, "com.amazonaws.sns#action": { "type": "string" }, "com.amazonaws.sns#attributeName": { "type": "string" }, "com.amazonaws.sns#attributeValue": { "type": "string" }, "com.amazonaws.sns#authenticateOnUnsubscribe": { "type": "string" }, "com.amazonaws.sns#boolean": { "type": "boolean" }, "com.amazonaws.sns#delegate": { "type": "string" }, "com.amazonaws.sns#label": { "type": "string" }, "com.amazonaws.sns#message": { "type": "string" }, "com.amazonaws.sns#messageId": { "type": "string" }, "com.amazonaws.sns#messageStructure": { "type": "string" }, "com.amazonaws.sns#nextToken": { "type": "string" }, "com.amazonaws.sns#protocol": { "type": "string" }, "com.amazonaws.sns#subject": { "type": "string" }, "com.amazonaws.sns#subscriptionARN": { "type": "string" }, "com.amazonaws.sns#token": { "type": "string" }, "com.amazonaws.sns#topicARN": { "type": "string" }, "com.amazonaws.sns#topicName": { "type": "string" } } }