1{
2    "smithy": "1.0",
3    "metadata": {
4        "suppressions": [
5            {
6                "id": "HttpMethodSemantics",
7                "namespace": "*"
8            },
9            {
10                "id": "HttpResponseCodeSemantics",
11                "namespace": "*"
12            },
13            {
14                "id": "PaginatedTrait",
15                "namespace": "*"
16            },
17            {
18                "id": "HttpHeaderTrait",
19                "namespace": "*"
20            },
21            {
22                "id": "HttpUriConflict",
23                "namespace": "*"
24            },
25            {
26                "id": "Service",
27                "namespace": "*"
28            }
29        ]
30    },
31    "shapes": {
32        "com.amazonaws.sns#ActionsList": {
33            "type": "list",
34            "member": {
35                "target": "com.amazonaws.sns#action"
36            }
37        },
38        "com.amazonaws.sns#AddPermission": {
39            "type": "operation",
40            "input": {
41                "target": "com.amazonaws.sns#AddPermissionInput"
42            },
43            "errors": [
44                {
45                    "target": "com.amazonaws.sns#AuthorizationErrorException"
46                },
47                {
48                    "target": "com.amazonaws.sns#InternalErrorException"
49                },
50                {
51                    "target": "com.amazonaws.sns#InvalidParameterException"
52                },
53                {
54                    "target": "com.amazonaws.sns#NotFoundException"
55                }
56            ],
57            "traits": {
58                "smithy.api#documentation": "<p>Adds a statement to a topic's access control policy, granting access for the specified\n            AWS accounts to the specified actions.</p>"
59            }
60        },
61        "com.amazonaws.sns#AddPermissionInput": {
62            "type": "structure",
63            "members": {
64                "TopicArn": {
65                    "target": "com.amazonaws.sns#topicARN",
66                    "traits": {
67                        "smithy.api#documentation": "<p>The ARN of the topic whose access control policy you wish to modify.</p>",
68                        "smithy.api#required": {}
69                    }
70                },
71                "Label": {
72                    "target": "com.amazonaws.sns#label",
73                    "traits": {
74                        "smithy.api#documentation": "<p>A unique identifier for the new policy statement.</p>",
75                        "smithy.api#required": {}
76                    }
77                },
78                "AWSAccountId": {
79                    "target": "com.amazonaws.sns#DelegatesList",
80                    "traits": {
81                        "smithy.api#documentation": "<p>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.</p>",
82                        "smithy.api#required": {}
83                    }
84                },
85                "ActionName": {
86                    "target": "com.amazonaws.sns#ActionsList",
87                    "traits": {
88                        "smithy.api#documentation": "<p>The action you want to allow for the specified principal(s).</p>\n        <p>Valid values: Any Amazon SNS action name, for example <code>Publish</code>.</p>",
89                        "smithy.api#required": {}
90                    }
91                }
92            }
93        },
94        "com.amazonaws.sns#AmazonResourceName": {
95            "type": "string",
96            "traits": {
97                "smithy.api#length": {
98                    "min": 1,
99                    "max": 1011
100                }
101            }
102        },
103        "com.amazonaws.sns#AmazonSimpleNotificationService": {
104            "type": "service",
105            "version": "2010-03-31",
106            "operations": [
107                {
108                    "target": "com.amazonaws.sns#AddPermission"
109                },
110                {
111                    "target": "com.amazonaws.sns#CheckIfPhoneNumberIsOptedOut"
112                },
113                {
114                    "target": "com.amazonaws.sns#ConfirmSubscription"
115                },
116                {
117                    "target": "com.amazonaws.sns#CreatePlatformApplication"
118                },
119                {
120                    "target": "com.amazonaws.sns#CreatePlatformEndpoint"
121                },
122                {
123                    "target": "com.amazonaws.sns#CreateTopic"
124                },
125                {
126                    "target": "com.amazonaws.sns#DeleteEndpoint"
127                },
128                {
129                    "target": "com.amazonaws.sns#DeletePlatformApplication"
130                },
131                {
132                    "target": "com.amazonaws.sns#DeleteTopic"
133                },
134                {
135                    "target": "com.amazonaws.sns#GetEndpointAttributes"
136                },
137                {
138                    "target": "com.amazonaws.sns#GetPlatformApplicationAttributes"
139                },
140                {
141                    "target": "com.amazonaws.sns#GetSMSAttributes"
142                },
143                {
144                    "target": "com.amazonaws.sns#GetSubscriptionAttributes"
145                },
146                {
147                    "target": "com.amazonaws.sns#GetTopicAttributes"
148                },
149                {
150                    "target": "com.amazonaws.sns#ListEndpointsByPlatformApplication"
151                },
152                {
153                    "target": "com.amazonaws.sns#ListPhoneNumbersOptedOut"
154                },
155                {
156                    "target": "com.amazonaws.sns#ListPlatformApplications"
157                },
158                {
159                    "target": "com.amazonaws.sns#ListSubscriptions"
160                },
161                {
162                    "target": "com.amazonaws.sns#ListSubscriptionsByTopic"
163                },
164                {
165                    "target": "com.amazonaws.sns#ListTagsForResource"
166                },
167                {
168                    "target": "com.amazonaws.sns#ListTopics"
169                },
170                {
171                    "target": "com.amazonaws.sns#OptInPhoneNumber"
172                },
173                {
174                    "target": "com.amazonaws.sns#Publish"
175                },
176                {
177                    "target": "com.amazonaws.sns#RemovePermission"
178                },
179                {
180                    "target": "com.amazonaws.sns#SetEndpointAttributes"
181                },
182                {
183                    "target": "com.amazonaws.sns#SetPlatformApplicationAttributes"
184                },
185                {
186                    "target": "com.amazonaws.sns#SetSMSAttributes"
187                },
188                {
189                    "target": "com.amazonaws.sns#SetSubscriptionAttributes"
190                },
191                {
192                    "target": "com.amazonaws.sns#SetTopicAttributes"
193                },
194                {
195                    "target": "com.amazonaws.sns#Subscribe"
196                },
197                {
198                    "target": "com.amazonaws.sns#TagResource"
199                },
200                {
201                    "target": "com.amazonaws.sns#Unsubscribe"
202                },
203                {
204                    "target": "com.amazonaws.sns#UntagResource"
205                }
206            ],
207            "traits": {
208                "aws.api#service": {
209                    "sdkId": "SNS",
210                    "arnNamespace": "sns",
211                    "cloudFormationName": "SNS",
212                    "cloudTrailEventSource": "sns.amazonaws.com",
213                    "endpointPrefix": "sns"
214                },
215                "aws.auth#sigv4": {
216                    "name": "sns"
217                },
218                "aws.protocols#awsQuery": {},
219                "smithy.api#documentation": "<fullname>Amazon Simple Notification Service</fullname>\n        <p>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 <a href=\"http://aws.amazon.com/sns/\">Amazon SNS product page</a>. For detailed information about Amazon SNS\n            features and their associated API calls, see the <a href=\"https://docs.aws.amazon.com/sns/latest/dg/\">Amazon SNS Developer Guide</a>. </p>\n        <p>For information on the permissions you need to use this API, see\n            <a href=\"https://docs.aws.amazon.com/sns/latest/dg/sns-authentication-and-access-control.html\">Identity and\n                access management in Amazon SNS</a> in the <i>Amazon SNS Developer Guide.</i>\n         </p> \n        <p>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 <a href=\"http://aws.amazon.com/tools/\">Tools for Amazon Web Services</a>. </p>",
220                "smithy.api#title": "Amazon Simple Notification Service",
221                "smithy.api#xmlNamespace": {
222                    "uri": "http://sns.amazonaws.com/doc/2010-03-31/"
223                }
224            }
225        },
226        "com.amazonaws.sns#AuthorizationErrorException": {
227            "type": "structure",
228            "members": {
229                "message": {
230                    "target": "com.amazonaws.sns#String"
231                }
232            },
233            "traits": {
234                "smithy.api#documentation": "<p>Indicates that the user has been denied access to the requested resource.</p>",
235                "smithy.api#error": "client",
236                "smithy.api#httpError": 403
237            }
238        },
239        "com.amazonaws.sns#Binary": {
240            "type": "blob"
241        },
242        "com.amazonaws.sns#CheckIfPhoneNumberIsOptedOut": {
243            "type": "operation",
244            "input": {
245                "target": "com.amazonaws.sns#CheckIfPhoneNumberIsOptedOutInput"
246            },
247            "output": {
248                "target": "com.amazonaws.sns#CheckIfPhoneNumberIsOptedOutResponse"
249            },
250            "errors": [
251                {
252                    "target": "com.amazonaws.sns#AuthorizationErrorException"
253                },
254                {
255                    "target": "com.amazonaws.sns#InternalErrorException"
256                },
257                {
258                    "target": "com.amazonaws.sns#InvalidParameterException"
259                },
260                {
261                    "target": "com.amazonaws.sns#ThrottledException"
262                }
263            ],
264            "traits": {
265                "smithy.api#documentation": "<p>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.</p>\n        <p>To resume sending messages, you can opt in the number by using the\n                <code>OptInPhoneNumber</code> action.</p>"
266            }
267        },
268        "com.amazonaws.sns#CheckIfPhoneNumberIsOptedOutInput": {
269            "type": "structure",
270            "members": {
271                "phoneNumber": {
272                    "target": "com.amazonaws.sns#PhoneNumber",
273                    "traits": {
274                        "smithy.api#documentation": "<p>The phone number for which you want to check the opt out status.</p>",
275                        "smithy.api#required": {}
276                    }
277                }
278            },
279            "traits": {
280                "smithy.api#documentation": "<p>The input for the <code>CheckIfPhoneNumberIsOptedOut</code> action.</p>"
281            }
282        },
283        "com.amazonaws.sns#CheckIfPhoneNumberIsOptedOutResponse": {
284            "type": "structure",
285            "members": {
286                "isOptedOut": {
287                    "target": "com.amazonaws.sns#boolean",
288                    "traits": {
289                        "smithy.api#documentation": "<p>Indicates whether the phone number is opted out:</p>\n        <ul>\n            <li>\n                <p>\n                    <code>true</code> – The phone number is opted out, meaning you cannot publish\n                    SMS messages to it.</p>\n            </li>\n            <li>\n                <p>\n                    <code>false</code> – The phone number is opted in, meaning you can publish SMS\n                    messages to it.</p>\n            </li>\n         </ul>"
290                    }
291                }
292            },
293            "traits": {
294                "smithy.api#documentation": "<p>The response from the <code>CheckIfPhoneNumberIsOptedOut</code> action.</p>"
295            }
296        },
297        "com.amazonaws.sns#ConcurrentAccessException": {
298            "type": "structure",
299            "members": {
300                "message": {
301                    "target": "com.amazonaws.sns#String"
302                }
303            },
304            "traits": {
305                "smithy.api#documentation": "<p>Can't perform multiple operations on a tag simultaneously. Perform the operations\n            sequentially.</p>",
306                "smithy.api#error": "client",
307                "smithy.api#httpError": 400
308            }
309        },
310        "com.amazonaws.sns#ConfirmSubscription": {
311            "type": "operation",
312            "input": {
313                "target": "com.amazonaws.sns#ConfirmSubscriptionInput"
314            },
315            "output": {
316                "target": "com.amazonaws.sns#ConfirmSubscriptionResponse"
317            },
318            "errors": [
319                {
320                    "target": "com.amazonaws.sns#AuthorizationErrorException"
321                },
322                {
323                    "target": "com.amazonaws.sns#FilterPolicyLimitExceededException"
324                },
325                {
326                    "target": "com.amazonaws.sns#InternalErrorException"
327                },
328                {
329                    "target": "com.amazonaws.sns#InvalidParameterException"
330                },
331                {
332                    "target": "com.amazonaws.sns#NotFoundException"
333                },
334                {
335                    "target": "com.amazonaws.sns#SubscriptionLimitExceededException"
336                }
337            ],
338            "traits": {
339                "smithy.api#documentation": "<p>Verifies an endpoint owner's intent to receive messages by validating the token sent\n            to the endpoint by an earlier <code>Subscribe</code> 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 <code>AuthenticateOnUnsubscribe</code> flag is\n            set to \"true\".</p>"
340            }
341        },
342        "com.amazonaws.sns#ConfirmSubscriptionInput": {
343            "type": "structure",
344            "members": {
345                "TopicArn": {
346                    "target": "com.amazonaws.sns#topicARN",
347                    "traits": {
348                        "smithy.api#documentation": "<p>The ARN of the topic for which you wish to confirm a subscription.</p>",
349                        "smithy.api#required": {}
350                    }
351                },
352                "Token": {
353                    "target": "com.amazonaws.sns#token",
354                    "traits": {
355                        "smithy.api#documentation": "<p>Short-lived token sent to an endpoint during the <code>Subscribe</code> action.</p>",
356                        "smithy.api#required": {}
357                    }
358                },
359                "AuthenticateOnUnsubscribe": {
360                    "target": "com.amazonaws.sns#authenticateOnUnsubscribe",
361                    "traits": {
362                        "smithy.api#documentation": "<p>Disallows unauthenticated unsubscribes of the subscription. If the value of this\n            parameter is <code>true</code> 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. </p>"
363                    }
364                }
365            },
366            "traits": {
367                "smithy.api#documentation": "<p>Input for ConfirmSubscription action.</p>"
368            }
369        },
370        "com.amazonaws.sns#ConfirmSubscriptionResponse": {
371            "type": "structure",
372            "members": {
373                "SubscriptionArn": {
374                    "target": "com.amazonaws.sns#subscriptionARN",
375                    "traits": {
376                        "smithy.api#documentation": "<p>The ARN of the created subscription.</p>"
377                    }
378                }
379            },
380            "traits": {
381                "smithy.api#documentation": "<p>Response for ConfirmSubscriptions action.</p>"
382            }
383        },
384        "com.amazonaws.sns#CreateEndpointResponse": {
385            "type": "structure",
386            "members": {
387                "EndpointArn": {
388                    "target": "com.amazonaws.sns#String",
389                    "traits": {
390                        "smithy.api#documentation": "<p>EndpointArn returned from CreateEndpoint action.</p>"
391                    }
392                }
393            },
394            "traits": {
395                "smithy.api#documentation": "<p>Response from CreateEndpoint action.</p>"
396            }
397        },
398        "com.amazonaws.sns#CreatePlatformApplication": {
399            "type": "operation",
400            "input": {
401                "target": "com.amazonaws.sns#CreatePlatformApplicationInput"
402            },
403            "output": {
404                "target": "com.amazonaws.sns#CreatePlatformApplicationResponse"
405            },
406            "errors": [
407                {
408                    "target": "com.amazonaws.sns#AuthorizationErrorException"
409                },
410                {
411                    "target": "com.amazonaws.sns#InternalErrorException"
412                },
413                {
414                    "target": "com.amazonaws.sns#InvalidParameterException"
415                }
416            ],
417            "traits": {
418                "smithy.api#documentation": "<p>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 <code>PlatformPrincipal</code> and <code>PlatformCredential</code> attributes \n            when using the <code>CreatePlatformApplication</code> action.</p>\n        <p>\n            <code>PlatformPrincipal</code> and <code>PlatformCredential</code> are received from\n            the notification service.</p>\n        <ul>\n            <li>\n                <p>For <code>ADM</code>, <code>PlatformPrincipal</code> is <code>client id</code>\n                    and <code>PlatformCredential</code> is <code>client secret</code>.</p>\n            </li>\n            <li>\n                <p>For <code>Baidu</code>, <code>PlatformPrincipal</code> is <code>API key</code>\n                    and <code>PlatformCredential</code> is <code>secret key</code>.</p>\n            </li>\n            <li>\n                <p>For <code>APNS</code> and <code>APNS_SANDBOX</code>,\n                        <code>PlatformPrincipal</code> is <code>SSL certificate</code> and\n                        <code>PlatformCredential</code> is <code>private key</code>.</p>\n            </li>\n            <li>\n                <p>For <code>GCM</code> (Firebase Cloud Messaging), there is no\n                        <code>PlatformPrincipal</code> and the <code>PlatformCredential</code> is\n                        <code>API key</code>.</p>\n            </li>\n            <li>\n                <p>For <code>MPNS</code>, <code>PlatformPrincipal</code> is <code>TLS\n                        certificate</code> and <code>PlatformCredential</code> is <code>private\n                        key</code>.</p>\n            </li>\n            <li>\n                <p>For <code>WNS</code>, <code>PlatformPrincipal</code> is <code>Package Security\n                        Identifier</code> and <code>PlatformCredential</code> is <code>secret\n                        key</code>.</p>\n            </li>\n         </ul>\n        <p>You can use the returned <code>PlatformApplicationArn</code> as an attribute for the\n                <code>CreatePlatformEndpoint</code> action.</p>"
419            }
420        },
421        "com.amazonaws.sns#CreatePlatformApplicationInput": {
422            "type": "structure",
423            "members": {
424                "Name": {
425                    "target": "com.amazonaws.sns#String",
426                    "traits": {
427                        "smithy.api#documentation": "<p>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.</p>",
428                        "smithy.api#required": {}
429                    }
430                },
431                "Platform": {
432                    "target": "com.amazonaws.sns#String",
433                    "traits": {
434                        "smithy.api#documentation": "<p>The following platforms are supported: ADM (Amazon Device Messaging), APNS (Apple Push\n            Notification Service), APNS_SANDBOX, and GCM (Firebase Cloud Messaging).</p>",
435                        "smithy.api#required": {}
436                    }
437                },
438                "Attributes": {
439                    "target": "com.amazonaws.sns#MapStringToString",
440                    "traits": {
441                        "smithy.api#documentation": "<p>For a list of attributes, see <a href=\"https://docs.aws.amazon.com/sns/latest/api/API_SetPlatformApplicationAttributes.html\">SetPlatformApplicationAttributes</a>\n        </p>",
442                        "smithy.api#required": {}
443                    }
444                }
445            },
446            "traits": {
447                "smithy.api#documentation": "<p>Input for CreatePlatformApplication action.</p>"
448            }
449        },
450        "com.amazonaws.sns#CreatePlatformApplicationResponse": {
451            "type": "structure",
452            "members": {
453                "PlatformApplicationArn": {
454                    "target": "com.amazonaws.sns#String",
455                    "traits": {
456                        "smithy.api#documentation": "<p>PlatformApplicationArn is returned.</p>"
457                    }
458                }
459            },
460            "traits": {
461                "smithy.api#documentation": "<p>Response from CreatePlatformApplication action.</p>"
462            }
463        },
464        "com.amazonaws.sns#CreatePlatformEndpoint": {
465            "type": "operation",
466            "input": {
467                "target": "com.amazonaws.sns#CreatePlatformEndpointInput"
468            },
469            "output": {
470                "target": "com.amazonaws.sns#CreateEndpointResponse"
471            },
472            "errors": [
473                {
474                    "target": "com.amazonaws.sns#AuthorizationErrorException"
475                },
476                {
477                    "target": "com.amazonaws.sns#InternalErrorException"
478                },
479                {
480                    "target": "com.amazonaws.sns#InvalidParameterException"
481                },
482                {
483                    "target": "com.amazonaws.sns#NotFoundException"
484                }
485            ],
486            "traits": {
487                "smithy.api#documentation": "<p>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                <code>CreatePlatformEndpoint</code> requires the <code>PlatformApplicationArn</code>\n            that is returned from <code>CreatePlatformApplication</code>. You can use the returned\n                <code>EndpointArn</code> to send a message to a mobile app or by the\n                <code>Subscribe</code> action for subscription to a topic. The\n                <code>CreatePlatformEndpoint</code> 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 <a href=\"https://docs.aws.amazon.com/sns/latest/dg/SNSMobilePush.html\">Using Amazon SNS Mobile Push\n                Notifications</a>. </p>\n        <p>When using <code>CreatePlatformEndpoint</code> with Baidu, two attributes must be\n            provided: ChannelId and UserId. The token field must also contain the ChannelId. For\n            more information, see <a href=\"https://docs.aws.amazon.com/sns/latest/dg/SNSMobilePushBaiduEndpoint.html\">Creating an Amazon SNS Endpoint\n                for Baidu</a>. </p>"
488            }
489        },
490        "com.amazonaws.sns#CreatePlatformEndpointInput": {
491            "type": "structure",
492            "members": {
493                "PlatformApplicationArn": {
494                    "target": "com.amazonaws.sns#String",
495                    "traits": {
496                        "smithy.api#documentation": "<p>PlatformApplicationArn returned from CreatePlatformApplication is used to create a an\n            endpoint.</p>",
497                        "smithy.api#required": {}
498                    }
499                },
500                "Token": {
501                    "target": "com.amazonaws.sns#String",
502                    "traits": {
503                        "smithy.api#documentation": "<p>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.</p>",
504                        "smithy.api#required": {}
505                    }
506                },
507                "CustomUserData": {
508                    "target": "com.amazonaws.sns#String",
509                    "traits": {
510                        "smithy.api#documentation": "<p>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.</p>"
511                    }
512                },
513                "Attributes": {
514                    "target": "com.amazonaws.sns#MapStringToString",
515                    "traits": {
516                        "smithy.api#documentation": "<p>For a list of attributes, see <a href=\"https://docs.aws.amazon.com/sns/latest/api/API_SetEndpointAttributes.html\">SetEndpointAttributes</a>.</p>"
517                    }
518                }
519            },
520            "traits": {
521                "smithy.api#documentation": "<p>Input for CreatePlatformEndpoint action.</p>"
522            }
523        },
524        "com.amazonaws.sns#CreateTopic": {
525            "type": "operation",
526            "input": {
527                "target": "com.amazonaws.sns#CreateTopicInput"
528            },
529            "output": {
530                "target": "com.amazonaws.sns#CreateTopicResponse"
531            },
532            "errors": [
533                {
534                    "target": "com.amazonaws.sns#AuthorizationErrorException"
535                },
536                {
537                    "target": "com.amazonaws.sns#ConcurrentAccessException"
538                },
539                {
540                    "target": "com.amazonaws.sns#InternalErrorException"
541                },
542                {
543                    "target": "com.amazonaws.sns#InvalidParameterException"
544                },
545                {
546                    "target": "com.amazonaws.sns#InvalidSecurityException"
547                },
548                {
549                    "target": "com.amazonaws.sns#StaleTagException"
550                },
551                {
552                    "target": "com.amazonaws.sns#TagLimitExceededException"
553                },
554                {
555                    "target": "com.amazonaws.sns#TagPolicyException"
556                },
557                {
558                    "target": "com.amazonaws.sns#TopicLimitExceededException"
559                }
560            ],
561            "traits": {
562                "smithy.api#documentation": "<p>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 <a href=\"http://aws.amazon.com/sns/\">https://aws.amazon.com/sns</a>. 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.</p>"
563            }
564        },
565        "com.amazonaws.sns#CreateTopicInput": {
566            "type": "structure",
567            "members": {
568                "Name": {
569                    "target": "com.amazonaws.sns#topicName",
570                    "traits": {
571                        "smithy.api#documentation": "<p>The name of the topic you want to create.</p>\n        <p>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.</p>\n        <p>For a FIFO (first-in-first-out) topic, the name must end with the <code>.fifo</code> suffix. </p>",
572                        "smithy.api#required": {}
573                    }
574                },
575                "Attributes": {
576                    "target": "com.amazonaws.sns#TopicAttributesMap",
577                    "traits": {
578                        "smithy.api#documentation": "<p>A map of attributes with their corresponding values.</p>\n        <p>The following lists the names, descriptions, and values of the special request\n            parameters that the <code>CreateTopic</code> action uses:</p>\n        <ul>\n            <li>\n                <p>\n                  <code>DeliveryPolicy</code> – The policy that defines how Amazon SNS retries\n                    failed deliveries to HTTP/S endpoints.</p>\n            </li>\n            <li>\n                <p>\n                  <code>DisplayName</code> – The display name to use for a topic with SMS\n                    subscriptions.</p>\n            </li>\n            <li>\n                <p>\n                  <code>FifoTopic</code> – Set to true to create a FIFO topic.</p>\n            </li>\n            <li>\n                <p>\n                  <code>Policy</code> – The policy that defines who can access your\n                    topic. By default, only the topic owner can publish or subscribe to the\n                    topic.</p>\n            </li>\n         </ul>\n        \n        <p>The following attribute applies only to <a href=\"https://docs.aws.amazon.com/sns/latest/dg/sns-server-side-encryption.html\">server-side-encryption</a>:</p>\n        <ul>\n            <li>\n                <p>\n                    <code>KmsMasterKeyId</code> – The ID of an AWS-managed customer master key (CMK)\n                    for Amazon SNS or a custom CMK. For more information, see <a href=\"https://docs.aws.amazon.com/sns/latest/dg/sns-server-side-encryption.html#sse-key-terms\">Key\n                        Terms</a>. For more examples, see <a href=\"https://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestParameters\">KeyId</a> in the <i>AWS Key Management Service API\n                        Reference</i>. </p>\n            </li>\n         </ul>\n        \n        \n        <p>The following attributes apply only to <a href=\"https://docs.aws.amazon.com/sns/latest/dg/sns-fifo-topics.html\">FIFO topics</a>:</p>\n        <ul>\n            <li>\n                <p>\n                  <code>FifoTopic</code> – When this is set to <code>true</code>, a FIFO\n                topic is created.</p>  \n            </li>\n            <li>\n               <p>\n                    <code>ContentBasedDeduplication</code> –  Enables content-based deduplication for\n                    FIFO topics. </p>\n               \n                <ul>\n                  <li>\n                        <p>By default, <code>ContentBasedDeduplication</code> is set to <code>false</code>.\n                            If you create a FIFO topic and this attribute is <code>false</code>, you must\n                            specify a value for the <code>MessageDeduplicationId</code> parameter for the\n                            <a href=\"https://docs.aws.amazon.com/sns/latest/api/API_Publish.html\">Publish</a> action. </p>\n                    </li>\n                  <li>\n                        <p>When you set <code>ContentBasedDeduplication</code> to <code>true</code>, \n                            Amazon SNS uses a SHA-256 hash to generate the <code>MessageDeduplicationId</code> using \n                            the body of the message (but not the attributes of the message).</p>\n                        <p>(Optional) To override the generated value, you can specify a value\n                            for the the <code>MessageDeduplicationId</code> parameter for the <code>Publish</code>\n                            action.</p>\n                     </li>\n               </ul>\n            </li>\n         </ul>"
579                    }
580                },
581                "Tags": {
582                    "target": "com.amazonaws.sns#TagList",
583                    "traits": {
584                        "smithy.api#documentation": "<p>The list of tags to add to a new topic.</p>\n        <note>\n            <p>To be able to tag a topic on creation, you must have the <code>sns:CreateTopic</code> and <code>sns:TagResource</code> permissions.</p>\n        </note>"
585                    }
586                }
587            },
588            "traits": {
589                "smithy.api#documentation": "<p>Input for CreateTopic action.</p>"
590            }
591        },
592        "com.amazonaws.sns#CreateTopicResponse": {
593            "type": "structure",
594            "members": {
595                "TopicArn": {
596                    "target": "com.amazonaws.sns#topicARN",
597                    "traits": {
598                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) assigned to the created topic.</p>"
599                    }
600                }
601            },
602            "traits": {
603                "smithy.api#documentation": "<p>Response from CreateTopic action.</p>"
604            }
605        },
606        "com.amazonaws.sns#DelegatesList": {
607            "type": "list",
608            "member": {
609                "target": "com.amazonaws.sns#delegate"
610            }
611        },
612        "com.amazonaws.sns#DeleteEndpoint": {
613            "type": "operation",
614            "input": {
615                "target": "com.amazonaws.sns#DeleteEndpointInput"
616            },
617            "errors": [
618                {
619                    "target": "com.amazonaws.sns#AuthorizationErrorException"
620                },
621                {
622                    "target": "com.amazonaws.sns#InternalErrorException"
623                },
624                {
625                    "target": "com.amazonaws.sns#InvalidParameterException"
626                }
627            ],
628            "traits": {
629                "smithy.api#documentation": "<p>Deletes the endpoint for a device and mobile app from Amazon SNS. This action is\n            idempotent. For more information, see <a href=\"https://docs.aws.amazon.com/sns/latest/dg/SNSMobilePush.html\">Using Amazon SNS Mobile Push\n            Notifications</a>. </p>\n        <p>When you delete an endpoint that is also subscribed to a topic, then you must also\n            unsubscribe the endpoint from the topic.</p>"
630            }
631        },
632        "com.amazonaws.sns#DeleteEndpointInput": {
633            "type": "structure",
634            "members": {
635                "EndpointArn": {
636                    "target": "com.amazonaws.sns#String",
637                    "traits": {
638                        "smithy.api#documentation": "<p>EndpointArn of endpoint to delete.</p>",
639                        "smithy.api#required": {}
640                    }
641                }
642            },
643            "traits": {
644                "smithy.api#documentation": "<p>Input for DeleteEndpoint action.</p>"
645            }
646        },
647        "com.amazonaws.sns#DeletePlatformApplication": {
648            "type": "operation",
649            "input": {
650                "target": "com.amazonaws.sns#DeletePlatformApplicationInput"
651            },
652            "errors": [
653                {
654                    "target": "com.amazonaws.sns#AuthorizationErrorException"
655                },
656                {
657                    "target": "com.amazonaws.sns#InternalErrorException"
658                },
659                {
660                    "target": "com.amazonaws.sns#InvalidParameterException"
661                }
662            ],
663            "traits": {
664                "smithy.api#documentation": "<p>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                <a href=\"https://docs.aws.amazon.com/sns/latest/dg/SNSMobilePush.html\">Using Amazon SNS\n                Mobile Push Notifications</a>. </p>"
665            }
666        },
667        "com.amazonaws.sns#DeletePlatformApplicationInput": {
668            "type": "structure",
669            "members": {
670                "PlatformApplicationArn": {
671                    "target": "com.amazonaws.sns#String",
672                    "traits": {
673                        "smithy.api#documentation": "<p>PlatformApplicationArn of platform application object to delete.</p>",
674                        "smithy.api#required": {}
675                    }
676                }
677            },
678            "traits": {
679                "smithy.api#documentation": "<p>Input for DeletePlatformApplication action.</p>"
680            }
681        },
682        "com.amazonaws.sns#DeleteTopic": {
683            "type": "operation",
684            "input": {
685                "target": "com.amazonaws.sns#DeleteTopicInput"
686            },
687            "errors": [
688                {
689                    "target": "com.amazonaws.sns#AuthorizationErrorException"
690                },
691                {
692                    "target": "com.amazonaws.sns#ConcurrentAccessException"
693                },
694                {
695                    "target": "com.amazonaws.sns#InternalErrorException"
696                },
697                {
698                    "target": "com.amazonaws.sns#InvalidParameterException"
699                },
700                {
701                    "target": "com.amazonaws.sns#NotFoundException"
702                },
703                {
704                    "target": "com.amazonaws.sns#StaleTagException"
705                },
706                {
707                    "target": "com.amazonaws.sns#TagPolicyException"
708                }
709            ],
710            "traits": {
711                "smithy.api#documentation": "<p>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.</p>"
712            }
713        },
714        "com.amazonaws.sns#DeleteTopicInput": {
715            "type": "structure",
716            "members": {
717                "TopicArn": {
718                    "target": "com.amazonaws.sns#topicARN",
719                    "traits": {
720                        "smithy.api#documentation": "<p>The ARN of the topic you want to delete.</p>",
721                        "smithy.api#required": {}
722                    }
723                }
724            }
725        },
726        "com.amazonaws.sns#Endpoint": {
727            "type": "structure",
728            "members": {
729                "EndpointArn": {
730                    "target": "com.amazonaws.sns#String",
731                    "traits": {
732                        "smithy.api#documentation": "<p>EndpointArn for mobile app and device.</p>"
733                    }
734                },
735                "Attributes": {
736                    "target": "com.amazonaws.sns#MapStringToString",
737                    "traits": {
738                        "smithy.api#documentation": "<p>Attributes for endpoint.</p>"
739                    }
740                }
741            },
742            "traits": {
743                "smithy.api#documentation": "<p>Endpoint for mobile app and device.</p>"
744            }
745        },
746        "com.amazonaws.sns#Endpoint2": {
747            "type": "string"
748        },
749        "com.amazonaws.sns#EndpointDisabledException": {
750            "type": "structure",
751            "members": {
752                "message": {
753                    "target": "com.amazonaws.sns#String",
754                    "traits": {
755                        "smithy.api#documentation": "<p>Message for endpoint disabled.</p>"
756                    }
757                }
758            },
759            "traits": {
760                "smithy.api#documentation": "<p>Exception error indicating endpoint disabled.</p>",
761                "smithy.api#error": "client",
762                "smithy.api#httpError": 400
763            }
764        },
765        "com.amazonaws.sns#FilterPolicyLimitExceededException": {
766            "type": "structure",
767            "members": {
768                "message": {
769                    "target": "com.amazonaws.sns#String"
770                }
771            },
772            "traits": {
773                "smithy.api#documentation": "<p>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.</p>",
774                "smithy.api#error": "client",
775                "smithy.api#httpError": 403
776            }
777        },
778        "com.amazonaws.sns#GetEndpointAttributes": {
779            "type": "operation",
780            "input": {
781                "target": "com.amazonaws.sns#GetEndpointAttributesInput"
782            },
783            "output": {
784                "target": "com.amazonaws.sns#GetEndpointAttributesResponse"
785            },
786            "errors": [
787                {
788                    "target": "com.amazonaws.sns#AuthorizationErrorException"
789                },
790                {
791                    "target": "com.amazonaws.sns#InternalErrorException"
792                },
793                {
794                    "target": "com.amazonaws.sns#InvalidParameterException"
795                },
796                {
797                    "target": "com.amazonaws.sns#NotFoundException"
798                }
799            ],
800            "traits": {
801                "smithy.api#documentation": "<p>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 <a href=\"https://docs.aws.amazon.com/sns/latest/dg/SNSMobilePush.html\">Using Amazon SNS Mobile Push Notifications</a>. </p>"
802            }
803        },
804        "com.amazonaws.sns#GetEndpointAttributesInput": {
805            "type": "structure",
806            "members": {
807                "EndpointArn": {
808                    "target": "com.amazonaws.sns#String",
809                    "traits": {
810                        "smithy.api#documentation": "<p>EndpointArn for GetEndpointAttributes input.</p>",
811                        "smithy.api#required": {}
812                    }
813                }
814            },
815            "traits": {
816                "smithy.api#documentation": "<p>Input for GetEndpointAttributes action.</p>"
817            }
818        },
819        "com.amazonaws.sns#GetEndpointAttributesResponse": {
820            "type": "structure",
821            "members": {
822                "Attributes": {
823                    "target": "com.amazonaws.sns#MapStringToString",
824                    "traits": {
825                        "smithy.api#documentation": "<p>Attributes include the following:</p>\n        <ul>\n            <li>\n                <p>\n                    <code>CustomUserData</code> – arbitrary user data to associate with the\n                    endpoint. Amazon SNS does not use this data. The data must be in UTF-8 format and\n                    less than 2KB.</p>\n            </li>\n            <li>\n                <p>\n                    <code>Enabled</code> – flag that enables/disables delivery to the\n                    endpoint. Amazon SNS will set this to false when a notification service indicates to\n                    Amazon SNS that the endpoint is invalid. Users can set it back to true, typically\n                    after updating Token.</p>\n            </li>\n            <li>\n                <p>\n                    <code>Token</code> – device token, also referred to as a registration id,\n                    for an app and mobile device. This is returned from the notification service\n                    when an app and mobile device are registered with the notification\n                    service.</p>\n                    <note>\n                        <p>The device token for the iOS platform is returned in lowercase.</p>\n                    </note>\n            </li>\n         </ul>"
826                    }
827                }
828            },
829            "traits": {
830                "smithy.api#documentation": "<p>Response from GetEndpointAttributes of the EndpointArn.</p>"
831            }
832        },
833        "com.amazonaws.sns#GetPlatformApplicationAttributes": {
834            "type": "operation",
835            "input": {
836                "target": "com.amazonaws.sns#GetPlatformApplicationAttributesInput"
837            },
838            "output": {
839                "target": "com.amazonaws.sns#GetPlatformApplicationAttributesResponse"
840            },
841            "errors": [
842                {
843                    "target": "com.amazonaws.sns#AuthorizationErrorException"
844                },
845                {
846                    "target": "com.amazonaws.sns#InternalErrorException"
847                },
848                {
849                    "target": "com.amazonaws.sns#InvalidParameterException"
850                },
851                {
852                    "target": "com.amazonaws.sns#NotFoundException"
853                }
854            ],
855            "traits": {
856                "smithy.api#documentation": "<p>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 <a href=\"https://docs.aws.amazon.com/sns/latest/dg/SNSMobilePush.html\">Using Amazon SNS Mobile Push Notifications</a>. </p>"
857            }
858        },
859        "com.amazonaws.sns#GetPlatformApplicationAttributesInput": {
860            "type": "structure",
861            "members": {
862                "PlatformApplicationArn": {
863                    "target": "com.amazonaws.sns#String",
864                    "traits": {
865                        "smithy.api#documentation": "<p>PlatformApplicationArn for GetPlatformApplicationAttributesInput.</p>",
866                        "smithy.api#required": {}
867                    }
868                }
869            },
870            "traits": {
871                "smithy.api#documentation": "<p>Input for GetPlatformApplicationAttributes action.</p>"
872            }
873        },
874        "com.amazonaws.sns#GetPlatformApplicationAttributesResponse": {
875            "type": "structure",
876            "members": {
877                "Attributes": {
878                    "target": "com.amazonaws.sns#MapStringToString",
879                    "traits": {
880                        "smithy.api#documentation": "<p>Attributes include the following:</p>\n        <ul>\n            <li>\n                <p>\n                    <code>EventEndpointCreated</code> – Topic ARN to which EndpointCreated\n                    event notifications should be sent.</p>\n            </li>\n            <li>\n                <p>\n                    <code>EventEndpointDeleted</code> – Topic ARN to which EndpointDeleted\n                    event notifications should be sent.</p>\n            </li>\n            <li>\n                <p>\n                    <code>EventEndpointUpdated</code> – Topic ARN to which EndpointUpdate\n                    event notifications should be sent.</p>\n            </li>\n            <li>\n                <p>\n                    <code>EventDeliveryFailure</code> – Topic ARN to which DeliveryFailure\n                    event notifications should be sent upon Direct Publish delivery failure\n                    (permanent) to one of the application's endpoints.</p>\n            </li>\n         </ul>"
881                    }
882                }
883            },
884            "traits": {
885                "smithy.api#documentation": "<p>Response for GetPlatformApplicationAttributes action.</p>"
886            }
887        },
888        "com.amazonaws.sns#GetSMSAttributes": {
889            "type": "operation",
890            "input": {
891                "target": "com.amazonaws.sns#GetSMSAttributesInput"
892            },
893            "output": {
894                "target": "com.amazonaws.sns#GetSMSAttributesResponse"
895            },
896            "errors": [
897                {
898                    "target": "com.amazonaws.sns#AuthorizationErrorException"
899                },
900                {
901                    "target": "com.amazonaws.sns#InternalErrorException"
902                },
903                {
904                    "target": "com.amazonaws.sns#InvalidParameterException"
905                },
906                {
907                    "target": "com.amazonaws.sns#ThrottledException"
908                }
909            ],
910            "traits": {
911                "smithy.api#documentation": "<p>Returns the settings for sending SMS messages from your account.</p>\n        <p>These settings are set with the <code>SetSMSAttributes</code> action.</p>"
912            }
913        },
914        "com.amazonaws.sns#GetSMSAttributesInput": {
915            "type": "structure",
916            "members": {
917                "attributes": {
918                    "target": "com.amazonaws.sns#ListString",
919                    "traits": {
920                        "smithy.api#documentation": "<p>A list of the individual attribute names, such as <code>MonthlySpendLimit</code>, for\n            which you want values.</p>\n        <p>For all attribute names, see <a href=\"https://docs.aws.amazon.com/sns/latest/api/API_SetSMSAttributes.html\">SetSMSAttributes</a>.</p>\n        <p>If you don't use this parameter, Amazon SNS returns all SMS attributes.</p>"
921                    }
922                }
923            },
924            "traits": {
925                "smithy.api#documentation": "<p>The input for the <code>GetSMSAttributes</code> request.</p>"
926            }
927        },
928        "com.amazonaws.sns#GetSMSAttributesResponse": {
929            "type": "structure",
930            "members": {
931                "attributes": {
932                    "target": "com.amazonaws.sns#MapStringToString",
933                    "traits": {
934                        "smithy.api#documentation": "<p>The SMS attribute names and their values.</p>"
935                    }
936                }
937            },
938            "traits": {
939                "smithy.api#documentation": "<p>The response from the <code>GetSMSAttributes</code> request.</p>"
940            }
941        },
942        "com.amazonaws.sns#GetSubscriptionAttributes": {
943            "type": "operation",
944            "input": {
945                "target": "com.amazonaws.sns#GetSubscriptionAttributesInput"
946            },
947            "output": {
948                "target": "com.amazonaws.sns#GetSubscriptionAttributesResponse"
949            },
950            "errors": [
951                {
952                    "target": "com.amazonaws.sns#AuthorizationErrorException"
953                },
954                {
955                    "target": "com.amazonaws.sns#InternalErrorException"
956                },
957                {
958                    "target": "com.amazonaws.sns#InvalidParameterException"
959                },
960                {
961                    "target": "com.amazonaws.sns#NotFoundException"
962                }
963            ],
964            "traits": {
965                "smithy.api#documentation": "<p>Returns all of the properties of a subscription.</p>"
966            }
967        },
968        "com.amazonaws.sns#GetSubscriptionAttributesInput": {
969            "type": "structure",
970            "members": {
971                "SubscriptionArn": {
972                    "target": "com.amazonaws.sns#subscriptionARN",
973                    "traits": {
974                        "smithy.api#documentation": "<p>The ARN of the subscription whose properties you want to get.</p>",
975                        "smithy.api#required": {}
976                    }
977                }
978            },
979            "traits": {
980                "smithy.api#documentation": "<p>Input for GetSubscriptionAttributes.</p>"
981            }
982        },
983        "com.amazonaws.sns#GetSubscriptionAttributesResponse": {
984            "type": "structure",
985            "members": {
986                "Attributes": {
987                    "target": "com.amazonaws.sns#SubscriptionAttributesMap",
988                    "traits": {
989                        "smithy.api#documentation": "<p>A map of the subscription's attributes. Attributes in this map include the following:</p>\n         <ul>\n            <li>\n               <p>\n                  <code>ConfirmationWasAuthenticated</code> – <code>true</code> if the subscription confirmation request\n          was authenticated.</p>\n            </li>\n            <li>\n               <p>\n                  <code>DeliveryPolicy</code> – The JSON serialization of the subscription's delivery policy.</p>\n            </li>\n            <li>\n               <p>\n                  <code>EffectiveDeliveryPolicy</code> – The JSON serialization of the effective delivery policy that\n          takes into account the topic delivery policy and account system defaults.</p>\n            </li>\n            <li>\n               <p>\n                  <code>FilterPolicy</code> – The filter policy JSON that is assigned to the subscription. For more\n          information, see <a href=\"https://docs.aws.amazon.com/sns/latest/dg/sns-message-filtering.html\">Amazon SNS Message\n            Filtering</a> in the <i>Amazon SNS Developer Guide</i>.</p>\n            </li>\n            <li>\n               <p>\n                  <code>Owner</code> – The AWS account ID of the subscription's owner.</p>\n            </li>\n            <li>\n               <p>\n                  <code>PendingConfirmation</code> – <code>true</code> if the subscription hasn't been confirmed. To\n          confirm a pending subscription, call the <code>ConfirmSubscription</code> action with a confirmation\n          token.</p>\n            </li>\n            <li>\n               <p>\n                  <code>RawMessageDelivery</code> – <code>true</code> if raw message delivery is enabled for the\n          subscription. Raw messages are free of JSON formatting and can be sent to HTTP/S and Amazon SQS\n          endpoints.</p>\n            </li>\n            <li>\n               <p>\n                  <code>RedrivePolicy</code> – When specified, sends undeliverable messages to the specified Amazon SQS dead-letter queue. \n    Messages that can't be delivered due to client errors (for example, when the subscribed endpoint is unreachable)\n    or server errors (for example, when the service that powers the subscribed endpoint becomes unavailable) are held \n    in the dead-letter queue for further analysis or reprocessing.</p>\n            </li>\n            <li>\n               <p>\n                  <code>SubscriptionArn</code> – The subscription's ARN.</p>\n            </li>\n            <li>\n               <p>\n                  <code>TopicArn</code> – The topic ARN that the subscription is associated with.</p>\n            </li>\n         </ul>\n      \n         <p>The following attribute applies only to Amazon Kinesis Data Firehose delivery stream subscriptions:</p>\n         <ul>\n            <li>\n               <p>\n                  <code>SubscriptionRoleArn</code> – The ARN of the IAM role that has the following:</p>\n                <ul>\n                  <li>\n                        <p>Permission to write to the Kinesis Data Firehose delivery stream</p>\n                    </li>\n                  <li>\n                        <p>Amazon SNS listed as a trusted entity</p>\n                    </li>\n               </ul>\n                <p>Specifying a valid ARN for this attribute is required for Kinesis Data Firehose delivery stream subscriptions. \n                For more information, see <a href=\"https://docs.aws.amazon.com/sns/latest/dg/sns-kinesis-subscriber.html\">Fanout \n                    to Kinesis Data Firehose delivery streams</a> in the <i>Amazon SNS Developer Guide</i>.</p>\n                    </li>\n         </ul>"
990                    }
991                }
992            },
993            "traits": {
994                "smithy.api#documentation": "<p>Response for GetSubscriptionAttributes action.</p>"
995            }
996        },
997        "com.amazonaws.sns#GetTopicAttributes": {
998            "type": "operation",
999            "input": {
1000                "target": "com.amazonaws.sns#GetTopicAttributesInput"
1001            },
1002            "output": {
1003                "target": "com.amazonaws.sns#GetTopicAttributesResponse"
1004            },
1005            "errors": [
1006                {
1007                    "target": "com.amazonaws.sns#AuthorizationErrorException"
1008                },
1009                {
1010                    "target": "com.amazonaws.sns#InternalErrorException"
1011                },
1012                {
1013                    "target": "com.amazonaws.sns#InvalidParameterException"
1014                },
1015                {
1016                    "target": "com.amazonaws.sns#InvalidSecurityException"
1017                },
1018                {
1019                    "target": "com.amazonaws.sns#NotFoundException"
1020                }
1021            ],
1022            "traits": {
1023                "smithy.api#documentation": "<p>Returns all of the properties of a topic. Topic properties returned might differ based\n            on the authorization of the user.</p>"
1024            }
1025        },
1026        "com.amazonaws.sns#GetTopicAttributesInput": {
1027            "type": "structure",
1028            "members": {
1029                "TopicArn": {
1030                    "target": "com.amazonaws.sns#topicARN",
1031                    "traits": {
1032                        "smithy.api#documentation": "<p>The ARN of the topic whose properties you want to get.</p>",
1033                        "smithy.api#required": {}
1034                    }
1035                }
1036            },
1037            "traits": {
1038                "smithy.api#documentation": "<p>Input for GetTopicAttributes action.</p>"
1039            }
1040        },
1041        "com.amazonaws.sns#GetTopicAttributesResponse": {
1042            "type": "structure",
1043            "members": {
1044                "Attributes": {
1045                    "target": "com.amazonaws.sns#TopicAttributesMap",
1046                    "traits": {
1047                        "smithy.api#documentation": "<p>A map of the topic's attributes. Attributes in this map include the following:</p>\n        <ul>\n            <li>\n                <p>\n                  <code>DeliveryPolicy</code> – The JSON serialization of the topic's\n                    delivery policy.</p>\n            </li>\n            <li>\n                <p>\n                  <code>DisplayName</code> – The human-readable name used in the\n                        <code>From</code> field for notifications to <code>email</code> and\n                        <code>email-json</code> endpoints.</p>\n            </li>\n            <li>\n                <p>\n                  <code>Owner</code> – The AWS account ID of the topic's owner.</p>\n            </li>\n            <li>\n                <p>\n                  <code>Policy</code> – The JSON serialization of the topic's access\n                    control policy.</p>\n            </li>\n            <li>\n                <p>\n                  <code>SubscriptionsConfirmed</code> – The number of confirmed\n                    subscriptions for the topic.</p>\n            </li>\n            <li>\n                <p>\n                  <code>SubscriptionsDeleted</code> – The number of deleted subscriptions\n                    for the topic.</p>\n            </li>\n            <li>\n                <p>\n                  <code>SubscriptionsPending</code> – The number of subscriptions pending\n                    confirmation for the topic.</p>\n            </li>\n            <li>\n                <p>\n                  <code>TopicArn</code> – The topic's ARN.</p>\n            </li>\n            <li>\n                <p>\n                  <code>EffectiveDeliveryPolicy</code> – The JSON serialization of the\n                    effective delivery policy, taking system defaults into account.</p>\n            </li>\n         </ul>\n        \n        <p>The following attribute applies only to <a href=\"https://docs.aws.amazon.com/sns/latest/dg/sns-server-side-encryption.html\">server-side-encryption</a>:</p>\n        <ul>\n            <li>\n                <p>\n                  <code>KmsMasterKeyId</code> - The ID of an AWS-managed customer master key (CMK)\n                    for Amazon SNS or a custom CMK. For more information, see <a href=\"https://docs.aws.amazon.com/sns/latest/dg/sns-server-side-encryption.html#sse-key-terms\">Key Terms</a>. \n                    For more examples, see <a href=\"https://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestParameters\">KeyId</a> in the <i>AWS Key Management Service API Reference</i>.</p>\n            </li>\n         </ul>\n        \n        \n        <p>The following attributes apply only to <a href=\"https://docs.aws.amazon.com/sns/latest/dg/sns-fifo-topics.html\">FIFO topics</a>:</p>\n        <ul>\n            <li>\n                <p>\n                  <code>FifoTopic</code> – When this is set to <code>true</code>, a FIFO\n                topic is created.</p>\n            </li>\n            <li>\n                <p>\n                    <code>ContentBasedDeduplication</code> –  Enables content-based deduplication for\n                    FIFO topics. </p>\n               \n                <ul>\n                  <li>\n                        <p>By default, <code>ContentBasedDeduplication</code> is set to <code>false</code>.\n                            If you create a FIFO topic and this attribute is <code>false</code>, you must\n                            specify a value for the <code>MessageDeduplicationId</code> parameter for the\n                            <a href=\"https://docs.aws.amazon.com/sns/latest/api/API_Publish.html\">Publish</a> action. </p>\n                    </li>\n                  <li>\n                        <p>When you set <code>ContentBasedDeduplication</code> to <code>true</code>, \n                            Amazon SNS uses a SHA-256 hash to generate the <code>MessageDeduplicationId</code> using \n                            the body of the message (but not the attributes of the message).</p>\n                        <p>(Optional) To override the generated value, you can specify a value\n                            for the the <code>MessageDeduplicationId</code> parameter for the <code>Publish</code>\n                            action.</p>\n                     </li>\n               </ul>\n            </li>\n         </ul>"
1048                    }
1049                }
1050            },
1051            "traits": {
1052                "smithy.api#documentation": "<p>Response for GetTopicAttributes action.</p>"
1053            }
1054        },
1055        "com.amazonaws.sns#InternalErrorException": {
1056            "type": "structure",
1057            "members": {
1058                "message": {
1059                    "target": "com.amazonaws.sns#String"
1060                }
1061            },
1062            "traits": {
1063                "smithy.api#documentation": "<p>Indicates an internal service error.</p>",
1064                "smithy.api#error": "server",
1065                "smithy.api#httpError": 500
1066            }
1067        },
1068        "com.amazonaws.sns#InvalidParameterException": {
1069            "type": "structure",
1070            "members": {
1071                "message": {
1072                    "target": "com.amazonaws.sns#String"
1073                }
1074            },
1075            "traits": {
1076                "smithy.api#documentation": "<p>Indicates that a request parameter does not comply with the associated\n            constraints.</p>",
1077                "smithy.api#error": "client",
1078                "smithy.api#httpError": 400
1079            }
1080        },
1081        "com.amazonaws.sns#InvalidParameterValueException": {
1082            "type": "structure",
1083            "members": {
1084                "message": {
1085                    "target": "com.amazonaws.sns#String",
1086                    "traits": {
1087                        "smithy.api#documentation": "<p>The parameter value is invalid.</p>"
1088                    }
1089                }
1090            },
1091            "traits": {
1092                "smithy.api#documentation": "<p>Indicates that a request parameter does not comply with the associated\n            constraints.</p>",
1093                "smithy.api#error": "client",
1094                "smithy.api#httpError": 400
1095            }
1096        },
1097        "com.amazonaws.sns#InvalidSecurityException": {
1098            "type": "structure",
1099            "members": {
1100                "message": {
1101                    "target": "com.amazonaws.sns#String"
1102                }
1103            },
1104            "traits": {
1105                "smithy.api#documentation": "<p>The credential signature isn't valid. You must use an HTTPS endpoint and sign your\n            request using Signature Version 4.</p>",
1106                "smithy.api#error": "client",
1107                "smithy.api#httpError": 403
1108            }
1109        },
1110        "com.amazonaws.sns#KMSAccessDeniedException": {
1111            "type": "structure",
1112            "members": {
1113                "message": {
1114                    "target": "com.amazonaws.sns#String"
1115                }
1116            },
1117            "traits": {
1118                "smithy.api#documentation": "<p>The ciphertext references a key that doesn't exist or that you don't have access\n            to.</p>",
1119                "smithy.api#error": "client",
1120                "smithy.api#httpError": 400
1121            }
1122        },
1123        "com.amazonaws.sns#KMSDisabledException": {
1124            "type": "structure",
1125            "members": {
1126                "message": {
1127                    "target": "com.amazonaws.sns#String"
1128                }
1129            },
1130            "traits": {
1131                "smithy.api#documentation": "<p>The request was rejected because the specified customer master key (CMK) isn't\n            enabled.</p>",
1132                "smithy.api#error": "client",
1133                "smithy.api#httpError": 400
1134            }
1135        },
1136        "com.amazonaws.sns#KMSInvalidStateException": {
1137            "type": "structure",
1138            "members": {
1139                "message": {
1140                    "target": "com.amazonaws.sns#String"
1141                }
1142            },
1143            "traits": {
1144                "smithy.api#documentation": "<p>The request was rejected because the state of the specified resource isn't valid for\n            this request. For more information, see <a href=\"https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html\">How Key State Affects Use of a\n                Customer Master Key</a> in the <i>AWS Key Management Service Developer\n                Guide</i>.</p>",
1145                "smithy.api#error": "client",
1146                "smithy.api#httpError": 400
1147            }
1148        },
1149        "com.amazonaws.sns#KMSNotFoundException": {
1150            "type": "structure",
1151            "members": {
1152                "message": {
1153                    "target": "com.amazonaws.sns#String"
1154                }
1155            },
1156            "traits": {
1157                "smithy.api#documentation": "<p>The request was rejected because the specified entity or resource can't be\n            found.</p>",
1158                "smithy.api#error": "client",
1159                "smithy.api#httpError": 400
1160            }
1161        },
1162        "com.amazonaws.sns#KMSOptInRequired": {
1163            "type": "structure",
1164            "members": {
1165                "message": {
1166                    "target": "com.amazonaws.sns#String"
1167                }
1168            },
1169            "traits": {
1170                "smithy.api#documentation": "<p>The AWS access key ID needs a subscription for the service.</p>",
1171                "smithy.api#error": "client",
1172                "smithy.api#httpError": 403
1173            }
1174        },
1175        "com.amazonaws.sns#KMSThrottlingException": {
1176            "type": "structure",
1177            "members": {
1178                "message": {
1179                    "target": "com.amazonaws.sns#String"
1180                }
1181            },
1182            "traits": {
1183                "smithy.api#documentation": "<p>The request was denied due to request throttling. For more information about\n            throttling, see <a href=\"https://docs.aws.amazon.com/kms/latest/developerguide/limits.html#requests-per-second\">Limits</a> in\n            the <i>AWS Key Management Service Developer Guide.</i>\n         </p>",
1184                "smithy.api#error": "client",
1185                "smithy.api#httpError": 400
1186            }
1187        },
1188        "com.amazonaws.sns#ListEndpointsByPlatformApplication": {
1189            "type": "operation",
1190            "input": {
1191                "target": "com.amazonaws.sns#ListEndpointsByPlatformApplicationInput"
1192            },
1193            "output": {
1194                "target": "com.amazonaws.sns#ListEndpointsByPlatformApplicationResponse"
1195            },
1196            "errors": [
1197                {
1198                    "target": "com.amazonaws.sns#AuthorizationErrorException"
1199                },
1200                {
1201                    "target": "com.amazonaws.sns#InternalErrorException"
1202                },
1203                {
1204                    "target": "com.amazonaws.sns#InvalidParameterException"
1205                },
1206                {
1207                    "target": "com.amazonaws.sns#NotFoundException"
1208                }
1209            ],
1210            "traits": {
1211                "smithy.api#documentation": "<p>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                <code>ListEndpointsByPlatformApplication</code> 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                <code>ListEndpointsByPlatformApplication</code> 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 <a href=\"https://docs.aws.amazon.com/sns/latest/dg/SNSMobilePush.html\">Using Amazon SNS Mobile Push\n            Notifications</a>. </p>\n        <p>This action is throttled at 30 transactions per second (TPS).</p>",
1212                "smithy.api#paginated": {
1213                    "inputToken": "NextToken",
1214                    "outputToken": "NextToken",
1215                    "items": "Endpoints"
1216                }
1217            }
1218        },
1219        "com.amazonaws.sns#ListEndpointsByPlatformApplicationInput": {
1220            "type": "structure",
1221            "members": {
1222                "PlatformApplicationArn": {
1223                    "target": "com.amazonaws.sns#String",
1224                    "traits": {
1225                        "smithy.api#documentation": "<p>PlatformApplicationArn for ListEndpointsByPlatformApplicationInput action.</p>",
1226                        "smithy.api#required": {}
1227                    }
1228                },
1229                "NextToken": {
1230                    "target": "com.amazonaws.sns#String",
1231                    "traits": {
1232                        "smithy.api#documentation": "<p>NextToken string is used when calling ListEndpointsByPlatformApplication action to\n            retrieve additional records that are available after the first page results.</p>"
1233                    }
1234                }
1235            },
1236            "traits": {
1237                "smithy.api#documentation": "<p>Input for ListEndpointsByPlatformApplication action.</p>"
1238            }
1239        },
1240        "com.amazonaws.sns#ListEndpointsByPlatformApplicationResponse": {
1241            "type": "structure",
1242            "members": {
1243                "Endpoints": {
1244                    "target": "com.amazonaws.sns#ListOfEndpoints",
1245                    "traits": {
1246                        "smithy.api#documentation": "<p>Endpoints returned for ListEndpointsByPlatformApplication action.</p>"
1247                    }
1248                },
1249                "NextToken": {
1250                    "target": "com.amazonaws.sns#String",
1251                    "traits": {
1252                        "smithy.api#documentation": "<p>NextToken string is returned when calling ListEndpointsByPlatformApplication action if\n            additional records are available after the first page results.</p>"
1253                    }
1254                }
1255            },
1256            "traits": {
1257                "smithy.api#documentation": "<p>Response for ListEndpointsByPlatformApplication action.</p>"
1258            }
1259        },
1260        "com.amazonaws.sns#ListOfEndpoints": {
1261            "type": "list",
1262            "member": {
1263                "target": "com.amazonaws.sns#Endpoint"
1264            }
1265        },
1266        "com.amazonaws.sns#ListOfPlatformApplications": {
1267            "type": "list",
1268            "member": {
1269                "target": "com.amazonaws.sns#PlatformApplication"
1270            }
1271        },
1272        "com.amazonaws.sns#ListPhoneNumbersOptedOut": {
1273            "type": "operation",
1274            "input": {
1275                "target": "com.amazonaws.sns#ListPhoneNumbersOptedOutInput"
1276            },
1277            "output": {
1278                "target": "com.amazonaws.sns#ListPhoneNumbersOptedOutResponse"
1279            },
1280            "errors": [
1281                {
1282                    "target": "com.amazonaws.sns#AuthorizationErrorException"
1283                },
1284                {
1285                    "target": "com.amazonaws.sns#InternalErrorException"
1286                },
1287                {
1288                    "target": "com.amazonaws.sns#InvalidParameterException"
1289                },
1290                {
1291                    "target": "com.amazonaws.sns#ThrottledException"
1292                }
1293            ],
1294            "traits": {
1295                "smithy.api#documentation": "<p>Returns a list of phone numbers that are opted out, meaning you cannot send SMS\n            messages to them.</p>\n        <p>The results for <code>ListPhoneNumbersOptedOut</code> 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 <code>NextToken</code> string will be returned. To receive\n            the next page, you call <code>ListPhoneNumbersOptedOut</code> again using the\n                <code>NextToken</code> string received from the previous call. When there are no\n            more records to return, <code>NextToken</code> will be null.</p>"
1296            }
1297        },
1298        "com.amazonaws.sns#ListPhoneNumbersOptedOutInput": {
1299            "type": "structure",
1300            "members": {
1301                "nextToken": {
1302                    "target": "com.amazonaws.sns#String",
1303                    "traits": {
1304                        "smithy.api#documentation": "<p>A <code>NextToken</code> string is used when you call the\n                <code>ListPhoneNumbersOptedOut</code> action to retrieve additional records that are\n            available after the first page of results.</p>"
1305                    }
1306                }
1307            },
1308            "traits": {
1309                "smithy.api#documentation": "<p>The input for the <code>ListPhoneNumbersOptedOut</code> action.</p>"
1310            }
1311        },
1312        "com.amazonaws.sns#ListPhoneNumbersOptedOutResponse": {
1313            "type": "structure",
1314            "members": {
1315                "phoneNumbers": {
1316                    "target": "com.amazonaws.sns#PhoneNumberList",
1317                    "traits": {
1318                        "smithy.api#documentation": "<p>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.</p>"
1319                    }
1320                },
1321                "nextToken": {
1322                    "target": "com.amazonaws.sns#String",
1323                    "traits": {
1324                        "smithy.api#documentation": "<p>A <code>NextToken</code> string is returned when you call the\n                <code>ListPhoneNumbersOptedOut</code> action if additional records are available\n            after the first page of results.</p>"
1325                    }
1326                }
1327            },
1328            "traits": {
1329                "smithy.api#documentation": "<p>The response from the <code>ListPhoneNumbersOptedOut</code> action.</p>"
1330            }
1331        },
1332        "com.amazonaws.sns#ListPlatformApplications": {
1333            "type": "operation",
1334            "input": {
1335                "target": "com.amazonaws.sns#ListPlatformApplicationsInput"
1336            },
1337            "output": {
1338                "target": "com.amazonaws.sns#ListPlatformApplicationsResponse"
1339            },
1340            "errors": [
1341                {
1342                    "target": "com.amazonaws.sns#AuthorizationErrorException"
1343                },
1344                {
1345                    "target": "com.amazonaws.sns#InternalErrorException"
1346                },
1347                {
1348                    "target": "com.amazonaws.sns#InvalidParameterException"
1349                }
1350            ],
1351            "traits": {
1352                "smithy.api#documentation": "<p>Lists the platform application objects for the supported push notification services,\n            such as APNS and GCM (Firebase Cloud Messaging). The results for\n                <code>ListPlatformApplications</code> 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                <code>ListPlatformApplications</code> using the NextToken string received from the\n            previous call. When there are no more records to return, <code>NextToken</code> will be\n            null. For more information, see <a href=\"https://docs.aws.amazon.com/sns/latest/dg/SNSMobilePush.html\">Using Amazon SNS Mobile Push\n            Notifications</a>. </p>\n        <p>This action is throttled at 15 transactions per second (TPS).</p>",
1353                "smithy.api#paginated": {
1354                    "inputToken": "NextToken",
1355                    "outputToken": "NextToken",
1356                    "items": "PlatformApplications"
1357                }
1358            }
1359        },
1360        "com.amazonaws.sns#ListPlatformApplicationsInput": {
1361            "type": "structure",
1362            "members": {
1363                "NextToken": {
1364                    "target": "com.amazonaws.sns#String",
1365                    "traits": {
1366                        "smithy.api#documentation": "<p>NextToken string is used when calling ListPlatformApplications action to retrieve\n            additional records that are available after the first page results.</p>"
1367                    }
1368                }
1369            },
1370            "traits": {
1371                "smithy.api#documentation": "<p>Input for ListPlatformApplications action.</p>"
1372            }
1373        },
1374        "com.amazonaws.sns#ListPlatformApplicationsResponse": {
1375            "type": "structure",
1376            "members": {
1377                "PlatformApplications": {
1378                    "target": "com.amazonaws.sns#ListOfPlatformApplications",
1379                    "traits": {
1380                        "smithy.api#documentation": "<p>Platform applications returned when calling ListPlatformApplications action.</p>"
1381                    }
1382                },
1383                "NextToken": {
1384                    "target": "com.amazonaws.sns#String",
1385                    "traits": {
1386                        "smithy.api#documentation": "<p>NextToken string is returned when calling ListPlatformApplications action if\n            additional records are available after the first page results.</p>"
1387                    }
1388                }
1389            },
1390            "traits": {
1391                "smithy.api#documentation": "<p>Response for ListPlatformApplications action.</p>"
1392            }
1393        },
1394        "com.amazonaws.sns#ListString": {
1395            "type": "list",
1396            "member": {
1397                "target": "com.amazonaws.sns#String"
1398            }
1399        },
1400        "com.amazonaws.sns#ListSubscriptions": {
1401            "type": "operation",
1402            "input": {
1403                "target": "com.amazonaws.sns#ListSubscriptionsInput"
1404            },
1405            "output": {
1406                "target": "com.amazonaws.sns#ListSubscriptionsResponse"
1407            },
1408            "errors": [
1409                {
1410                    "target": "com.amazonaws.sns#AuthorizationErrorException"
1411                },
1412                {
1413                    "target": "com.amazonaws.sns#InternalErrorException"
1414                },
1415                {
1416                    "target": "com.amazonaws.sns#InvalidParameterException"
1417                }
1418            ],
1419            "traits": {
1420                "smithy.api#documentation": "<p>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 <code>NextToken</code> is\n            also returned. Use the <code>NextToken</code> parameter in a new\n                <code>ListSubscriptions</code> call to get further results.</p>\n        <p>This action is throttled at 30 transactions per second (TPS).</p>",
1421                "smithy.api#paginated": {
1422                    "inputToken": "NextToken",
1423                    "outputToken": "NextToken",
1424                    "items": "Subscriptions"
1425                }
1426            }
1427        },
1428        "com.amazonaws.sns#ListSubscriptionsByTopic": {
1429            "type": "operation",
1430            "input": {
1431                "target": "com.amazonaws.sns#ListSubscriptionsByTopicInput"
1432            },
1433            "output": {
1434                "target": "com.amazonaws.sns#ListSubscriptionsByTopicResponse"
1435            },
1436            "errors": [
1437                {
1438                    "target": "com.amazonaws.sns#AuthorizationErrorException"
1439                },
1440                {
1441                    "target": "com.amazonaws.sns#InternalErrorException"
1442                },
1443                {
1444                    "target": "com.amazonaws.sns#InvalidParameterException"
1445                },
1446                {
1447                    "target": "com.amazonaws.sns#NotFoundException"
1448                }
1449            ],
1450            "traits": {
1451                "smithy.api#documentation": "<p>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                <code>NextToken</code> is also returned. Use the <code>NextToken</code> parameter in\n            a new <code>ListSubscriptionsByTopic</code> call to get further results.</p>\n        <p>This action is throttled at 30 transactions per second (TPS).</p>",
1452                "smithy.api#paginated": {
1453                    "inputToken": "NextToken",
1454                    "outputToken": "NextToken",
1455                    "items": "Subscriptions"
1456                }
1457            }
1458        },
1459        "com.amazonaws.sns#ListSubscriptionsByTopicInput": {
1460            "type": "structure",
1461            "members": {
1462                "TopicArn": {
1463                    "target": "com.amazonaws.sns#topicARN",
1464                    "traits": {
1465                        "smithy.api#documentation": "<p>The ARN of the topic for which you wish to find subscriptions.</p>",
1466                        "smithy.api#required": {}
1467                    }
1468                },
1469                "NextToken": {
1470                    "target": "com.amazonaws.sns#nextToken",
1471                    "traits": {
1472                        "smithy.api#documentation": "<p>Token returned by the previous <code>ListSubscriptionsByTopic</code> request.</p>"
1473                    }
1474                }
1475            },
1476            "traits": {
1477                "smithy.api#documentation": "<p>Input for ListSubscriptionsByTopic action.</p>"
1478            }
1479        },
1480        "com.amazonaws.sns#ListSubscriptionsByTopicResponse": {
1481            "type": "structure",
1482            "members": {
1483                "Subscriptions": {
1484                    "target": "com.amazonaws.sns#SubscriptionsList",
1485                    "traits": {
1486                        "smithy.api#documentation": "<p>A list of subscriptions.</p>"
1487                    }
1488                },
1489                "NextToken": {
1490                    "target": "com.amazonaws.sns#nextToken",
1491                    "traits": {
1492                        "smithy.api#documentation": "<p>Token to pass along to the next <code>ListSubscriptionsByTopic</code> request. This\n            element is returned if there are more subscriptions to retrieve.</p>"
1493                    }
1494                }
1495            },
1496            "traits": {
1497                "smithy.api#documentation": "<p>Response for ListSubscriptionsByTopic action.</p>"
1498            }
1499        },
1500        "com.amazonaws.sns#ListSubscriptionsInput": {
1501            "type": "structure",
1502            "members": {
1503                "NextToken": {
1504                    "target": "com.amazonaws.sns#nextToken",
1505                    "traits": {
1506                        "smithy.api#documentation": "<p>Token returned by the previous <code>ListSubscriptions</code> request.</p>"
1507                    }
1508                }
1509            },
1510            "traits": {
1511                "smithy.api#documentation": "<p>Input for ListSubscriptions action.</p>"
1512            }
1513        },
1514        "com.amazonaws.sns#ListSubscriptionsResponse": {
1515            "type": "structure",
1516            "members": {
1517                "Subscriptions": {
1518                    "target": "com.amazonaws.sns#SubscriptionsList",
1519                    "traits": {
1520                        "smithy.api#documentation": "<p>A list of subscriptions.</p>"
1521                    }
1522                },
1523                "NextToken": {
1524                    "target": "com.amazonaws.sns#nextToken",
1525                    "traits": {
1526                        "smithy.api#documentation": "<p>Token to pass along to the next <code>ListSubscriptions</code> request. This element\n            is returned if there are more subscriptions to retrieve.</p>"
1527                    }
1528                }
1529            },
1530            "traits": {
1531                "smithy.api#documentation": "<p>Response for ListSubscriptions action</p>"
1532            }
1533        },
1534        "com.amazonaws.sns#ListTagsForResource": {
1535            "type": "operation",
1536            "input": {
1537                "target": "com.amazonaws.sns#ListTagsForResourceRequest"
1538            },
1539            "output": {
1540                "target": "com.amazonaws.sns#ListTagsForResourceResponse"
1541            },
1542            "errors": [
1543                {
1544                    "target": "com.amazonaws.sns#AuthorizationErrorException"
1545                },
1546                {
1547                    "target": "com.amazonaws.sns#ConcurrentAccessException"
1548                },
1549                {
1550                    "target": "com.amazonaws.sns#InvalidParameterException"
1551                },
1552                {
1553                    "target": "com.amazonaws.sns#ResourceNotFoundException"
1554                },
1555                {
1556                    "target": "com.amazonaws.sns#TagPolicyException"
1557                }
1558            ],
1559            "traits": {
1560                "smithy.api#documentation": "<p>List all tags added to the specified Amazon SNS topic. For an overview, see\n            <a href=\"https://docs.aws.amazon.com/sns/latest/dg/sns-tags.html\">Amazon SNS Tags</a> in the\n            <i>Amazon Simple Notification Service Developer Guide</i>.</p>"
1561            }
1562        },
1563        "com.amazonaws.sns#ListTagsForResourceRequest": {
1564            "type": "structure",
1565            "members": {
1566                "ResourceArn": {
1567                    "target": "com.amazonaws.sns#AmazonResourceName",
1568                    "traits": {
1569                        "smithy.api#documentation": "<p>The ARN of the topic for which to list tags.</p>",
1570                        "smithy.api#required": {}
1571                    }
1572                }
1573            }
1574        },
1575        "com.amazonaws.sns#ListTagsForResourceResponse": {
1576            "type": "structure",
1577            "members": {
1578                "Tags": {
1579                    "target": "com.amazonaws.sns#TagList",
1580                    "traits": {
1581                        "smithy.api#documentation": "<p>The tags associated with the specified topic.</p>"
1582                    }
1583                }
1584            }
1585        },
1586        "com.amazonaws.sns#ListTopics": {
1587            "type": "operation",
1588            "input": {
1589                "target": "com.amazonaws.sns#ListTopicsInput"
1590            },
1591            "output": {
1592                "target": "com.amazonaws.sns#ListTopicsResponse"
1593            },
1594            "errors": [
1595                {
1596                    "target": "com.amazonaws.sns#AuthorizationErrorException"
1597                },
1598                {
1599                    "target": "com.amazonaws.sns#InternalErrorException"
1600                },
1601                {
1602                    "target": "com.amazonaws.sns#InvalidParameterException"
1603                }
1604            ],
1605            "traits": {
1606                "smithy.api#documentation": "<p>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 <code>NextToken</code> is also returned. Use the\n                <code>NextToken</code> parameter in a new <code>ListTopics</code> call to get\n            further results.</p>\n        <p>This action is throttled at 30 transactions per second (TPS).</p>",
1607                "smithy.api#paginated": {
1608                    "inputToken": "NextToken",
1609                    "outputToken": "NextToken",
1610                    "items": "Topics"
1611                }
1612            }
1613        },
1614        "com.amazonaws.sns#ListTopicsInput": {
1615            "type": "structure",
1616            "members": {
1617                "NextToken": {
1618                    "target": "com.amazonaws.sns#nextToken",
1619                    "traits": {
1620                        "smithy.api#documentation": "<p>Token returned by the previous <code>ListTopics</code> request.</p>"
1621                    }
1622                }
1623            }
1624        },
1625        "com.amazonaws.sns#ListTopicsResponse": {
1626            "type": "structure",
1627            "members": {
1628                "Topics": {
1629                    "target": "com.amazonaws.sns#TopicsList",
1630                    "traits": {
1631                        "smithy.api#documentation": "<p>A list of topic ARNs.</p>"
1632                    }
1633                },
1634                "NextToken": {
1635                    "target": "com.amazonaws.sns#nextToken",
1636                    "traits": {
1637                        "smithy.api#documentation": "<p>Token to pass along to the next <code>ListTopics</code> request. This element is\n            returned if there are additional topics to retrieve.</p>"
1638                    }
1639                }
1640            },
1641            "traits": {
1642                "smithy.api#documentation": "<p>Response for ListTopics action.</p>"
1643            }
1644        },
1645        "com.amazonaws.sns#MapStringToString": {
1646            "type": "map",
1647            "key": {
1648                "target": "com.amazonaws.sns#String"
1649            },
1650            "value": {
1651                "target": "com.amazonaws.sns#String"
1652            }
1653        },
1654        "com.amazonaws.sns#MessageAttributeMap": {
1655            "type": "map",
1656            "key": {
1657                "target": "com.amazonaws.sns#String",
1658                "traits": {
1659                    "smithy.api#xmlName": "Name"
1660                }
1661            },
1662            "value": {
1663                "target": "com.amazonaws.sns#MessageAttributeValue",
1664                "traits": {
1665                    "smithy.api#xmlName": "Value"
1666                }
1667            }
1668        },
1669        "com.amazonaws.sns#MessageAttributeValue": {
1670            "type": "structure",
1671            "members": {
1672                "DataType": {
1673                    "target": "com.amazonaws.sns#String",
1674                    "traits": {
1675                        "smithy.api#documentation": "<p>Amazon SNS supports the following logical data types: String, String.Array, Number, and\n            Binary. For more information, see <a href=\"https://docs.aws.amazon.com/sns/latest/dg/SNSMessageAttributes.html#SNSMessageAttributes.DataTypes\">Message\n                Attribute Data Types</a>.</p>",
1676                        "smithy.api#required": {}
1677                    }
1678                },
1679                "StringValue": {
1680                    "target": "com.amazonaws.sns#String",
1681                    "traits": {
1682                        "smithy.api#documentation": "<p>Strings are Unicode with UTF8 binary encoding. For a list of code values, see <a href=\"https://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters\">ASCII Printable\n                Characters</a>.</p>"
1683                    }
1684                },
1685                "BinaryValue": {
1686                    "target": "com.amazonaws.sns#Binary",
1687                    "traits": {
1688                        "smithy.api#documentation": "<p>Binary type attributes can store any binary data, for example, compressed data,\n            encrypted data, or images.</p>"
1689                    }
1690                }
1691            },
1692            "traits": {
1693                "smithy.api#documentation": "<p>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                <a href=\"https://docs.aws.amazon.com/sns/latest/api/API_Publish.html\">Publish</a>.</p>\n        <p>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 <a href=\"https://docs.aws.amazon.com/sns/latest/dg/SNSMessageAttributes.html\">Amazon SNS message\n                attributes</a> and <a href=\"https://docs.aws.amazon.com/sns/latest/dg/sms_publish-to-phone.html\">Publishing to a mobile phone</a>\n            in the <i>Amazon SNS Developer Guide.</i>\n         </p>"
1694            }
1695        },
1696        "com.amazonaws.sns#NotFoundException": {
1697            "type": "structure",
1698            "members": {
1699                "message": {
1700                    "target": "com.amazonaws.sns#String"
1701                }
1702            },
1703            "traits": {
1704                "smithy.api#documentation": "<p>Indicates that the requested resource does not exist.</p>",
1705                "smithy.api#error": "client",
1706                "smithy.api#httpError": 404
1707            }
1708        },
1709        "com.amazonaws.sns#OptInPhoneNumber": {
1710            "type": "operation",
1711            "input": {
1712                "target": "com.amazonaws.sns#OptInPhoneNumberInput"
1713            },
1714            "output": {
1715                "target": "com.amazonaws.sns#OptInPhoneNumberResponse"
1716            },
1717            "errors": [
1718                {
1719                    "target": "com.amazonaws.sns#AuthorizationErrorException"
1720                },
1721                {
1722                    "target": "com.amazonaws.sns#InternalErrorException"
1723                },
1724                {
1725                    "target": "com.amazonaws.sns#InvalidParameterException"
1726                },
1727                {
1728                    "target": "com.amazonaws.sns#ThrottledException"
1729                }
1730            ],
1731            "traits": {
1732                "smithy.api#documentation": "<p>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.</p>\n        <p>You can opt in a phone number only once every 30 days.</p>"
1733            }
1734        },
1735        "com.amazonaws.sns#OptInPhoneNumberInput": {
1736            "type": "structure",
1737            "members": {
1738                "phoneNumber": {
1739                    "target": "com.amazonaws.sns#PhoneNumber",
1740                    "traits": {
1741                        "smithy.api#documentation": "<p>The phone number to opt in.</p>",
1742                        "smithy.api#required": {}
1743                    }
1744                }
1745            },
1746            "traits": {
1747                "smithy.api#documentation": "<p>Input for the OptInPhoneNumber action.</p>"
1748            }
1749        },
1750        "com.amazonaws.sns#OptInPhoneNumberResponse": {
1751            "type": "structure",
1752            "members": {},
1753            "traits": {
1754                "smithy.api#documentation": "<p>The response for the OptInPhoneNumber action.</p>"
1755            }
1756        },
1757        "com.amazonaws.sns#PhoneNumber": {
1758            "type": "string"
1759        },
1760        "com.amazonaws.sns#PhoneNumberList": {
1761            "type": "list",
1762            "member": {
1763                "target": "com.amazonaws.sns#PhoneNumber"
1764            }
1765        },
1766        "com.amazonaws.sns#PlatformApplication": {
1767            "type": "structure",
1768            "members": {
1769                "PlatformApplicationArn": {
1770                    "target": "com.amazonaws.sns#String",
1771                    "traits": {
1772                        "smithy.api#documentation": "<p>PlatformApplicationArn for platform application object.</p>"
1773                    }
1774                },
1775                "Attributes": {
1776                    "target": "com.amazonaws.sns#MapStringToString",
1777                    "traits": {
1778                        "smithy.api#documentation": "<p>Attributes for platform application object.</p>"
1779                    }
1780                }
1781            },
1782            "traits": {
1783                "smithy.api#documentation": "<p>Platform application object.</p>"
1784            }
1785        },
1786        "com.amazonaws.sns#PlatformApplicationDisabledException": {
1787            "type": "structure",
1788            "members": {
1789                "message": {
1790                    "target": "com.amazonaws.sns#String",
1791                    "traits": {
1792                        "smithy.api#documentation": "<p>Message for platform application disabled.</p>"
1793                    }
1794                }
1795            },
1796            "traits": {
1797                "smithy.api#documentation": "<p>Exception error indicating platform application disabled.</p>",
1798                "smithy.api#error": "client",
1799                "smithy.api#httpError": 400
1800            }
1801        },
1802        "com.amazonaws.sns#Publish": {
1803            "type": "operation",
1804            "input": {
1805                "target": "com.amazonaws.sns#PublishInput"
1806            },
1807            "output": {
1808                "target": "com.amazonaws.sns#PublishResponse"
1809            },
1810            "errors": [
1811                {
1812                    "target": "com.amazonaws.sns#AuthorizationErrorException"
1813                },
1814                {
1815                    "target": "com.amazonaws.sns#EndpointDisabledException"
1816                },
1817                {
1818                    "target": "com.amazonaws.sns#InternalErrorException"
1819                },
1820                {
1821                    "target": "com.amazonaws.sns#InvalidParameterException"
1822                },
1823                {
1824                    "target": "com.amazonaws.sns#InvalidParameterValueException"
1825                },
1826                {
1827                    "target": "com.amazonaws.sns#InvalidSecurityException"
1828                },
1829                {
1830                    "target": "com.amazonaws.sns#KMSAccessDeniedException"
1831                },
1832                {
1833                    "target": "com.amazonaws.sns#KMSDisabledException"
1834                },
1835                {
1836                    "target": "com.amazonaws.sns#KMSInvalidStateException"
1837                },
1838                {
1839                    "target": "com.amazonaws.sns#KMSNotFoundException"
1840                },
1841                {
1842                    "target": "com.amazonaws.sns#KMSOptInRequired"
1843                },
1844                {
1845                    "target": "com.amazonaws.sns#KMSThrottlingException"
1846                },
1847                {
1848                    "target": "com.amazonaws.sns#NotFoundException"
1849                },
1850                {
1851                    "target": "com.amazonaws.sns#PlatformApplicationDisabledException"
1852                }
1853            ],
1854            "traits": {
1855                "smithy.api#documentation": "<p>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                <code>TargetArn</code>).</p>\n        <p>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.</p>\n        <p>When a <code>messageId</code> is returned, the message has been saved and Amazon SNS\n            will attempt to deliver it shortly.</p>\n        <p>To use the <code>Publish</code> 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                <code>CreatePlatformEndpoint</code> action. \n      </p>\n        <p>For more information about formatting messages, see <a href=\"https://docs.aws.amazon.com/sns/latest/dg/mobile-push-send-custommessage.html\">Send Custom\n                Platform-Specific Payloads in Messages to Mobile Devices</a>. </p>\n        <important>\n            <p>You can publish messages only to topics and endpoints in the same AWS Region.</p>\n        </important>"
1856            }
1857        },
1858        "com.amazonaws.sns#PublishInput": {
1859            "type": "structure",
1860            "members": {
1861                "TopicArn": {
1862                    "target": "com.amazonaws.sns#topicARN",
1863                    "traits": {
1864                        "smithy.api#documentation": "<p>The topic you want to publish to.</p>\n        <p>If you don't specify a value for the <code>TopicArn</code> parameter, you must specify\n            a value for the <code>PhoneNumber</code> or <code>TargetArn</code> parameters.</p>"
1865                    }
1866                },
1867                "TargetArn": {
1868                    "target": "com.amazonaws.sns#String",
1869                    "traits": {
1870                        "smithy.api#documentation": "<p>If you don't specify a value for the <code>TargetArn</code> parameter, you must\n            specify a value for the <code>PhoneNumber</code> or <code>TopicArn</code>\n            parameters.</p>"
1871                    }
1872                },
1873                "PhoneNumber": {
1874                    "target": "com.amazonaws.sns#String",
1875                    "traits": {
1876                        "smithy.api#documentation": "<p>The phone number to which you want to deliver an SMS message. Use E.164 format.</p>\n        <p>If you don't specify a value for the <code>PhoneNumber</code> parameter, you must\n            specify a value for the <code>TargetArn</code> or <code>TopicArn</code>\n            parameters.</p>"
1877                    }
1878                },
1879                "Message": {
1880                    "target": "com.amazonaws.sns#message",
1881                    "traits": {
1882                        "smithy.api#documentation": "<p>The message you want to send.</p>\n        <p>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                <code>MessageStructure</code> parameter to <code>json</code> and use a JSON object\n            for the <code>Message</code> parameter. \n        </p>\n        <p></p>\n        <p>Constraints:</p>\n        <ul>\n            <li>\n                <p>With the exception of SMS, messages must be UTF-8 encoded strings and at most\n                    256 KB in size (262,144 bytes, not 262,144 characters).</p>\n            </li>\n            <li>\n                <p>For SMS, each message can contain up to 140 characters. This character limit\n                    depends on the encoding schema. For example, an SMS message can contain 160 GSM\n                    characters, 140 ASCII characters, or 70 UCS-2 characters.</p>\n                <p>If you publish a message that exceeds this size limit, Amazon SNS sends the message\n                    as multiple messages, each fitting within the size limit. Messages aren't\n                    truncated mid-word but are cut off at whole-word boundaries.</p>\n                <p>The total size limit for a single SMS <code>Publish</code> action is 1,600\n                    characters.</p>\n            </li>\n         </ul>\n        <p>JSON-specific constraints:</p>\n        <ul>\n            <li>\n                <p>Keys in the JSON object that correspond to supported transport protocols must\n                    have simple JSON string values.</p>\n            </li>\n            <li>\n                <p>The values will be parsed (unescaped) before they are used in outgoing\n                    messages.</p>\n            </li>\n            <li>\n                <p>Outbound notifications are JSON encoded (meaning that the characters will be\n                    reescaped for sending).</p>\n            </li>\n            <li>\n                <p>Values have a minimum length of 0 (the empty string, \"\", is allowed).</p>\n            </li>\n            <li>\n                <p>Values have a maximum length bounded by the overall message size (so,\n                    including multiple protocols may limit message sizes).</p>\n            </li>\n            <li>\n                <p>Non-string values will cause the key to be ignored.</p>\n            </li>\n            <li>\n                <p>Keys that do not correspond to supported transport protocols are\n                    ignored.</p>\n            </li>\n            <li>\n                <p>Duplicate keys are not allowed.</p>\n            </li>\n            <li>\n                <p>Failure to parse or validate any key or value in the message will cause the\n                        <code>Publish</code> call to return an error (no partial delivery).</p>\n            </li>\n         </ul>",
1883                        "smithy.api#required": {}
1884                    }
1885                },
1886                "Subject": {
1887                    "target": "com.amazonaws.sns#subject",
1888                    "traits": {
1889                        "smithy.api#documentation": "<p>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.</p>\n        <p>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.</p>"
1890                    }
1891                },
1892                "MessageStructure": {
1893                    "target": "com.amazonaws.sns#messageStructure",
1894                    "traits": {
1895                        "smithy.api#documentation": "<p>Set <code>MessageStructure</code> to <code>json</code> 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 <code>MessageStructure</code> to <code>json</code>, the value of the\n                <code>Message</code> parameter must: </p>\n        <ul>\n            <li>\n                <p>be a syntactically valid JSON object; and</p>\n            </li>\n            <li>\n                <p>contain at least a top-level JSON key of \"default\" with a value that is a\n                    string.</p>\n            </li>\n         </ul>\n        <p>You can define other top-level keys that define the message you want to send to a\n            specific transport protocol (e.g., \"http\").</p>\n        <p>Valid value: <code>json</code>\n        </p>"
1896                    }
1897                },
1898                "MessageAttributes": {
1899                    "target": "com.amazonaws.sns#MessageAttributeMap",
1900                    "traits": {
1901                        "smithy.api#documentation": "<p>Message attributes for Publish action.</p>"
1902                    }
1903                },
1904                "MessageDeduplicationId": {
1905                    "target": "com.amazonaws.sns#String",
1906                    "traits": {
1907                        "smithy.api#documentation": "<p>This parameter applies only to FIFO (first-in-first-out) topics. \n            The <code>MessageDeduplicationId</code> can contain up to 128 alphanumeric characters (a-z, A-Z, 0-9) \n            and punctuation <code>(!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~)</code>.</p>\n        <p>Every message must have a unique <code>MessageDeduplicationId</code>, which is a token used for deduplication of sent messages. \n            If a message with a particular <code>MessageDeduplicationId</code> is sent successfully, any message sent with the same <code>MessageDeduplicationId</code> \n            during the 5-minute deduplication interval is treated as a duplicate. </p>\n        <p>If the topic has <code>ContentBasedDeduplication</code> set, the system generates a <code>MessageDeduplicationId</code> based on the contents of the \n            message. Your <code>MessageDeduplicationId</code> overrides the generated one.</p>"
1908                    }
1909                },
1910                "MessageGroupId": {
1911                    "target": "com.amazonaws.sns#String",
1912                    "traits": {
1913                        "smithy.api#documentation": "<p>This parameter applies only to FIFO (first-in-first-out) topics. The <code>MessageGroupId</code> can contain up to \n            128 alphanumeric characters (a-z, A-Z, 0-9) and punctuation <code>(!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~)</code>.</p>\n        <p>The <code>MessageGroupId</code> 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 <code>MessageGroupId</code>.</p>"
1914                    }
1915                }
1916            },
1917            "traits": {
1918                "smithy.api#documentation": "<p>Input for Publish action.</p>"
1919            }
1920        },
1921        "com.amazonaws.sns#PublishResponse": {
1922            "type": "structure",
1923            "members": {
1924                "MessageId": {
1925                    "target": "com.amazonaws.sns#messageId",
1926                    "traits": {
1927                        "smithy.api#documentation": "<p>Unique identifier assigned to the published message.</p>\n        <p>Length Constraint: Maximum 100 characters</p>"
1928                    }
1929                },
1930                "SequenceNumber": {
1931                    "target": "com.amazonaws.sns#String",
1932                    "traits": {
1933                        "smithy.api#documentation": "<p>This response element applies only to FIFO (first-in-first-out) topics. </p>\n        <p>The sequence number is a large, non-consecutive number that Amazon SNS assigns to each message. \n            The length of <code>SequenceNumber</code> is 128 bits. <code>SequenceNumber</code> continues to increase for each <code>MessageGroupId</code>.</p>"
1934                    }
1935                }
1936            },
1937            "traits": {
1938                "smithy.api#documentation": "<p>Response for Publish action.</p>"
1939            }
1940        },
1941        "com.amazonaws.sns#RemovePermission": {
1942            "type": "operation",
1943            "input": {
1944                "target": "com.amazonaws.sns#RemovePermissionInput"
1945            },
1946            "errors": [
1947                {
1948                    "target": "com.amazonaws.sns#AuthorizationErrorException"
1949                },
1950                {
1951                    "target": "com.amazonaws.sns#InternalErrorException"
1952                },
1953                {
1954                    "target": "com.amazonaws.sns#InvalidParameterException"
1955                },
1956                {
1957                    "target": "com.amazonaws.sns#NotFoundException"
1958                }
1959            ],
1960            "traits": {
1961                "smithy.api#documentation": "<p>Removes a statement from a topic's access control policy.</p>"
1962            }
1963        },
1964        "com.amazonaws.sns#RemovePermissionInput": {
1965            "type": "structure",
1966            "members": {
1967                "TopicArn": {
1968                    "target": "com.amazonaws.sns#topicARN",
1969                    "traits": {
1970                        "smithy.api#documentation": "<p>The ARN of the topic whose access control policy you wish to modify.</p>",
1971                        "smithy.api#required": {}
1972                    }
1973                },
1974                "Label": {
1975                    "target": "com.amazonaws.sns#label",
1976                    "traits": {
1977                        "smithy.api#documentation": "<p>The unique label of the statement you want to remove.</p>",
1978                        "smithy.api#required": {}
1979                    }
1980                }
1981            },
1982            "traits": {
1983                "smithy.api#documentation": "<p>Input for RemovePermission action.</p>"
1984            }
1985        },
1986        "com.amazonaws.sns#ResourceNotFoundException": {
1987            "type": "structure",
1988            "members": {
1989                "message": {
1990                    "target": "com.amazonaws.sns#String"
1991                }
1992            },
1993            "traits": {
1994                "smithy.api#documentation": "<p>Can't tag resource. Verify that the topic exists.</p>",
1995                "smithy.api#error": "client",
1996                "smithy.api#httpError": 404
1997            }
1998        },
1999        "com.amazonaws.sns#SetEndpointAttributes": {
2000            "type": "operation",
2001            "input": {
2002                "target": "com.amazonaws.sns#SetEndpointAttributesInput"
2003            },
2004            "errors": [
2005                {
2006                    "target": "com.amazonaws.sns#AuthorizationErrorException"
2007                },
2008                {
2009                    "target": "com.amazonaws.sns#InternalErrorException"
2010                },
2011                {
2012                    "target": "com.amazonaws.sns#InvalidParameterException"
2013                },
2014                {
2015                    "target": "com.amazonaws.sns#NotFoundException"
2016                }
2017            ],
2018            "traits": {
2019                "smithy.api#documentation": "<p>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 <a href=\"https://docs.aws.amazon.com/sns/latest/dg/SNSMobilePush.html\">Using Amazon SNS Mobile Push Notifications</a>. </p>"
2020            }
2021        },
2022        "com.amazonaws.sns#SetEndpointAttributesInput": {
2023            "type": "structure",
2024            "members": {
2025                "EndpointArn": {
2026                    "target": "com.amazonaws.sns#String",
2027                    "traits": {
2028                        "smithy.api#documentation": "<p>EndpointArn used for SetEndpointAttributes action.</p>",
2029                        "smithy.api#required": {}
2030                    }
2031                },
2032                "Attributes": {
2033                    "target": "com.amazonaws.sns#MapStringToString",
2034                    "traits": {
2035                        "smithy.api#documentation": "<p>A map of the endpoint attributes. Attributes in this map include the following:</p>\n        <ul>\n            <li>\n                <p>\n                    <code>CustomUserData</code> – arbitrary user data to associate with the\n                    endpoint. Amazon SNS does not use this data. The data must be in UTF-8 format and\n                    less than 2KB.</p>\n            </li>\n            <li>\n                <p>\n                    <code>Enabled</code> – flag that enables/disables delivery to the\n                    endpoint. Amazon SNS will set this to false when a notification service indicates to\n                    Amazon SNS that the endpoint is invalid. Users can set it back to true, typically\n                    after updating Token.</p>\n            </li>\n            <li>\n                <p>\n                    <code>Token</code> – device token, also referred to as a registration id,\n                    for an app and mobile device. This is returned from the notification service\n                    when an app and mobile device are registered with the notification\n                    service.</p>\n            </li>\n         </ul>",
2036                        "smithy.api#required": {}
2037                    }
2038                }
2039            },
2040            "traits": {
2041                "smithy.api#documentation": "<p>Input for SetEndpointAttributes action.</p>"
2042            }
2043        },
2044        "com.amazonaws.sns#SetPlatformApplicationAttributes": {
2045            "type": "operation",
2046            "input": {
2047                "target": "com.amazonaws.sns#SetPlatformApplicationAttributesInput"
2048            },
2049            "errors": [
2050                {
2051                    "target": "com.amazonaws.sns#AuthorizationErrorException"
2052                },
2053                {
2054                    "target": "com.amazonaws.sns#InternalErrorException"
2055                },
2056                {
2057                    "target": "com.amazonaws.sns#InvalidParameterException"
2058                },
2059                {
2060                    "target": "com.amazonaws.sns#NotFoundException"
2061                }
2062            ],
2063            "traits": {
2064                "smithy.api#documentation": "<p>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 <a href=\"https://docs.aws.amazon.com/sns/latest/dg/SNSMobilePush.html\">Using Amazon SNS Mobile Push Notifications</a>. For information on configuring\n            attributes for message delivery status, see <a href=\"https://docs.aws.amazon.com/sns/latest/dg/sns-msg-status.html\">Using Amazon SNS Application Attributes for\n                Message Delivery Status</a>. </p>"
2065            }
2066        },
2067        "com.amazonaws.sns#SetPlatformApplicationAttributesInput": {
2068            "type": "structure",
2069            "members": {
2070                "PlatformApplicationArn": {
2071                    "target": "com.amazonaws.sns#String",
2072                    "traits": {
2073                        "smithy.api#documentation": "<p>PlatformApplicationArn for SetPlatformApplicationAttributes action.</p>",
2074                        "smithy.api#required": {}
2075                    }
2076                },
2077                "Attributes": {
2078                    "target": "com.amazonaws.sns#MapStringToString",
2079                    "traits": {
2080                        "smithy.api#documentation": "<p>A map of the platform application attributes. Attributes in this map include the\n            following:</p>\n        <ul>\n            <li>\n                <p>\n                    <code>PlatformCredential</code> – The credential received from the\n                    notification service. For <code>APNS</code> and <code>APNS_SANDBOX</code>,\n                        <code>PlatformCredential</code> is <code>private key</code>. For\n                        <code>GCM</code> (Firebase Cloud Messaging), <code>PlatformCredential</code>\n                    is <code>API key</code>. For <code>ADM</code>, <code>PlatformCredential</code>\n                    is <code>client secret</code>.</p>\n            </li>\n            <li>\n                <p>\n                    <code>PlatformPrincipal</code> – The principal received from the\n                    notification service. For <code>APNS</code> and <code>APNS_SANDBOX</code>,\n                        <code>PlatformPrincipal</code> is <code>SSL certificate</code>. For\n                        <code>GCM</code> (Firebase Cloud Messaging), there is no\n                        <code>PlatformPrincipal</code>. For <code>ADM</code>,\n                        <code>PlatformPrincipal</code> is <code>client id</code>.</p>\n            </li>\n            <li>\n                <p>\n                    <code>EventEndpointCreated</code> – Topic ARN to which\n                        <code>EndpointCreated</code> event notifications are sent.</p>\n            </li>\n            <li>\n                <p>\n                    <code>EventEndpointDeleted</code> – Topic ARN to which\n                        <code>EndpointDeleted</code> event notifications are sent.</p>\n            </li>\n            <li>\n                <p>\n                    <code>EventEndpointUpdated</code> – Topic ARN to which\n                        <code>EndpointUpdate</code> event notifications are sent.</p>\n            </li>\n            <li>\n                <p>\n                    <code>EventDeliveryFailure</code> – Topic ARN to which\n                        <code>DeliveryFailure</code> event notifications are sent upon Direct\n                    Publish delivery failure (permanent) to one of the application's\n                    endpoints.</p>\n            </li>\n            <li>\n                <p>\n                    <code>SuccessFeedbackRoleArn</code> – IAM role ARN used to give Amazon SNS\n                    write access to use CloudWatch Logs on your behalf.</p>\n            </li>\n            <li>\n                <p>\n                    <code>FailureFeedbackRoleArn</code> – IAM role ARN used to give Amazon SNS\n                    write access to use CloudWatch Logs on your behalf.</p>\n            </li>\n            <li>\n                <p>\n                    <code>SuccessFeedbackSampleRate</code> – Sample rate percentage (0-100)\n                    of successfully delivered messages.</p>\n            </li>\n         </ul>",
2081                        "smithy.api#required": {}
2082                    }
2083                }
2084            },
2085            "traits": {
2086                "smithy.api#documentation": "<p>Input for SetPlatformApplicationAttributes action.</p>"
2087            }
2088        },
2089        "com.amazonaws.sns#SetSMSAttributes": {
2090            "type": "operation",
2091            "input": {
2092                "target": "com.amazonaws.sns#SetSMSAttributesInput"
2093            },
2094            "output": {
2095                "target": "com.amazonaws.sns#SetSMSAttributesResponse"
2096            },
2097            "errors": [
2098                {
2099                    "target": "com.amazonaws.sns#AuthorizationErrorException"
2100                },
2101                {
2102                    "target": "com.amazonaws.sns#InternalErrorException"
2103                },
2104                {
2105                    "target": "com.amazonaws.sns#InvalidParameterException"
2106                },
2107                {
2108                    "target": "com.amazonaws.sns#ThrottledException"
2109                }
2110            ],
2111            "traits": {
2112                "smithy.api#documentation": "<p>Use this request to set the default settings for sending SMS messages and receiving\n            daily SMS usage reports.</p>\n        <p>You can override some of these settings for a single message when you use the\n                <code>Publish</code> action with the <code>MessageAttributes.entry.N</code>\n            parameter. For more information, see <a href=\"https://docs.aws.amazon.com/sns/latest/dg/sms_publish-to-phone.html\">Publishing to a mobile phone</a> in the\n                <i>Amazon SNS Developer Guide</i>.</p>\n        <note>\n            <p>To use this operation, you must grant the Amazon SNS service principal (<code>sns.amazonaws.com</code>)\n                permission to perform the <code>s3:ListBucket</code> action. </p>\n        </note>"
2113            }
2114        },
2115        "com.amazonaws.sns#SetSMSAttributesInput": {
2116            "type": "structure",
2117            "members": {
2118                "attributes": {
2119                    "target": "com.amazonaws.sns#MapStringToString",
2120                    "traits": {
2121                        "smithy.api#documentation": "<p>The default settings for sending SMS messages from your account. You can set values\n            for the following attribute names:</p>\n        <p>\n            <code>MonthlySpendLimit</code> – 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.</p>\n        <important>\n            <p>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.</p>\n        </important>\n        <p>By default, the spend limit is set to the maximum allowed by Amazon SNS. If you want to\n            raise the limit, submit an <a href=\"https://console.aws.amazon.com/support/home#/case/create?issueType=service-limit-increase&limitType=service-code-sns\">SNS Limit Increase case</a>. For <b>New limit\n                value</b>, enter your desired monthly spend limit. In the <b>Use Case Description</b> field, explain that you are requesting\n            an SMS monthly spend limit increase.</p>\n        <p>\n            <code>DeliveryStatusIAMRole</code> – 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.</p>\n        <p>\n            <code>DeliveryStatusSuccessSamplingRate</code> – 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 <code>0</code>. To write logs for 10% of your successful deliveries, set it to\n                <code>10</code>.</p>\n        <p>\n            <code>DefaultSenderID</code> – 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.</p>\n        <p>\n            <code>DefaultSMSType</code> – The type of SMS message that you will send by default. You\n            can assign the following values:</p>\n        <ul>\n            <li>\n                <p>\n                    <code>Promotional</code> – (Default) Noncritical messages, such as marketing\n                    messages. Amazon SNS optimizes the message delivery to incur the lowest cost.</p>\n            </li>\n            <li>\n                <p>\n                    <code>Transactional</code> – Critical messages that support customer\n                    transactions, such as one-time passcodes for multi-factor authentication. Amazon\n                    SNS optimizes the message delivery to achieve the highest reliability.</p>\n            </li>\n         </ul>\n        <p>\n            <code>UsageReportS3Bucket</code> – 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:</p>\n        <ul>\n            <li>\n                <p>Time that the message was published (in UTC)</p>\n            </li>\n            <li>\n                <p>Message ID</p>\n            </li>\n            <li>\n                <p>Destination phone number</p>\n            </li>\n            <li>\n                <p>Message type</p>\n            </li>\n            <li>\n                <p>Delivery status</p>\n            </li>\n            <li>\n                <p>Message price (in USD)</p>\n            </li>\n            <li>\n                <p>Part number (a message is split into multiple parts if it is too long for a\n                    single message)</p>\n            </li>\n            <li>\n                <p>Total number of parts</p>\n            </li>\n         </ul>\n        <p>To receive the report, the bucket must have a policy that allows the Amazon SNS service\n            principle to perform the <code>s3:PutObject</code> and <code>s3:GetBucketLocation</code>\n            actions.</p>\n        <p>For an example bucket policy and usage report, see <a href=\"https://docs.aws.amazon.com/sns/latest/dg/sms_stats.html\">Monitoring SMS Activity</a> in the\n                <i>Amazon SNS Developer Guide</i>.</p>",
2122                        "smithy.api#required": {}
2123                    }
2124                }
2125            },
2126            "traits": {
2127                "smithy.api#documentation": "<p>The input for the SetSMSAttributes action.</p>"
2128            }
2129        },
2130        "com.amazonaws.sns#SetSMSAttributesResponse": {
2131            "type": "structure",
2132            "members": {},
2133            "traits": {
2134                "smithy.api#documentation": "<p>The response for the SetSMSAttributes action.</p>"
2135            }
2136        },
2137        "com.amazonaws.sns#SetSubscriptionAttributes": {
2138            "type": "operation",
2139            "input": {
2140                "target": "com.amazonaws.sns#SetSubscriptionAttributesInput"
2141            },
2142            "errors": [
2143                {
2144                    "target": "com.amazonaws.sns#AuthorizationErrorException"
2145                },
2146                {
2147                    "target": "com.amazonaws.sns#FilterPolicyLimitExceededException"
2148                },
2149                {
2150                    "target": "com.amazonaws.sns#InternalErrorException"
2151                },
2152                {
2153                    "target": "com.amazonaws.sns#InvalidParameterException"
2154                },
2155                {
2156                    "target": "com.amazonaws.sns#NotFoundException"
2157                }
2158            ],
2159            "traits": {
2160                "smithy.api#documentation": "<p>Allows a subscription owner to set an attribute of the subscription to a new\n            value.</p>"
2161            }
2162        },
2163        "com.amazonaws.sns#SetSubscriptionAttributesInput": {
2164            "type": "structure",
2165            "members": {
2166                "SubscriptionArn": {
2167                    "target": "com.amazonaws.sns#subscriptionARN",
2168                    "traits": {
2169                        "smithy.api#documentation": "<p>The ARN of the subscription to modify.</p>",
2170                        "smithy.api#required": {}
2171                    }
2172                },
2173                "AttributeName": {
2174                    "target": "com.amazonaws.sns#attributeName",
2175                    "traits": {
2176                        "smithy.api#documentation": "<p>A map of attributes with their corresponding values.</p>\n         <p>The following lists the names, descriptions, and values of the special request parameters that this action\n      uses:</p>\n         <ul>\n            <li>\n               <p>\n                  <code>DeliveryPolicy</code> – The policy that defines how Amazon SNS retries failed deliveries to HTTP/S\n          endpoints.</p>\n            </li>\n            <li>\n               <p>\n                  <code>FilterPolicy</code> – The simple JSON object that lets your subscriber receive only a subset\n          of messages, rather than receiving every message published to the topic.</p>\n            </li>\n            <li>\n               <p>\n                  <code>RawMessageDelivery</code> – When set to <code>true</code>, enables raw message delivery to\n          Amazon SQS or HTTP/S endpoints. This eliminates the need for the endpoints to process JSON formatting, which is\n          otherwise created for Amazon SNS metadata.</p>\n            </li>\n            <li>\n               <p>\n                  <code>RedrivePolicy</code> – When specified, sends undeliverable messages to the specified Amazon SQS dead-letter queue. \n    Messages that can't be delivered due to client errors (for example, when the subscribed endpoint is unreachable)\n    or server errors (for example, when the service that powers the subscribed endpoint becomes unavailable) are held \n    in the dead-letter queue for further analysis or reprocessing.</p>\n            </li>\n         </ul>\n      \n      \n         <p>The following attribute applies only to Amazon Kinesis Data Firehose delivery stream subscriptions:</p>\n         <ul>\n            <li>\n               <p>\n                  <code>SubscriptionRoleArn</code> – The ARN of the IAM role that has the following:</p>\n                <ul>\n                  <li>\n                        <p>Permission to write to the Kinesis Data Firehose delivery stream</p>\n                    </li>\n                  <li>\n                        <p>Amazon SNS listed as a trusted entity</p>\n                    </li>\n               </ul>\n                <p>Specifying a valid ARN for this attribute is required for Kinesis Data Firehose delivery stream subscriptions. \n                For more information, see <a href=\"https://docs.aws.amazon.com/sns/latest/dg/sns-kinesis-subscriber.html\">Fanout \n                    to Kinesis Data Firehose delivery streams</a> in the <i>Amazon SNS Developer Guide</i>.</p>\n                    </li>\n         </ul>",
2177                        "smithy.api#required": {}
2178                    }
2179                },
2180                "AttributeValue": {
2181                    "target": "com.amazonaws.sns#attributeValue",
2182                    "traits": {
2183                        "smithy.api#documentation": "<p>The new value for the attribute in JSON format.</p>"
2184                    }
2185                }
2186            },
2187            "traits": {
2188                "smithy.api#documentation": "<p>Input for SetSubscriptionAttributes action.</p>"
2189            }
2190        },
2191        "com.amazonaws.sns#SetTopicAttributes": {
2192            "type": "operation",
2193            "input": {
2194                "target": "com.amazonaws.sns#SetTopicAttributesInput"
2195            },
2196            "errors": [
2197                {
2198                    "target": "com.amazonaws.sns#AuthorizationErrorException"
2199                },
2200                {
2201                    "target": "com.amazonaws.sns#InternalErrorException"
2202                },
2203                {
2204                    "target": "com.amazonaws.sns#InvalidParameterException"
2205                },
2206                {
2207                    "target": "com.amazonaws.sns#InvalidSecurityException"
2208                },
2209                {
2210                    "target": "com.amazonaws.sns#NotFoundException"
2211                }
2212            ],
2213            "traits": {
2214                "smithy.api#documentation": "<p>Allows a topic owner to set an attribute of the topic to a new value.</p>"
2215            }
2216        },
2217        "com.amazonaws.sns#SetTopicAttributesInput": {
2218            "type": "structure",
2219            "members": {
2220                "TopicArn": {
2221                    "target": "com.amazonaws.sns#topicARN",
2222                    "traits": {
2223                        "smithy.api#documentation": "<p>The ARN of the topic to modify.</p>",
2224                        "smithy.api#required": {}
2225                    }
2226                },
2227                "AttributeName": {
2228                    "target": "com.amazonaws.sns#attributeName",
2229                    "traits": {
2230                        "smithy.api#documentation": "<p>A map of attributes with their corresponding values.</p>\n        <p>The following lists the names, descriptions, and values of the special request\n            parameters that the <code>SetTopicAttributes</code> action uses:</p>\n        <ul>\n            <li>\n                <p>\n                  <code>DeliveryPolicy</code> – The policy that defines how Amazon SNS retries\n                    failed deliveries to HTTP/S endpoints.</p>\n            </li>\n            <li>\n                <p>\n                  <code>DisplayName</code> – The display name to use for a topic with SMS\n                    subscriptions.</p>\n            </li>\n            <li>\n                <p>\n                  <code>Policy</code> – The policy that defines who can access your\n                    topic. By default, only the topic owner can publish or subscribe to the\n                    topic.</p>\n            </li>\n         </ul>\n        \n        <p>The following attribute applies only to <a href=\"https://docs.aws.amazon.com/sns/latest/dg/sns-server-side-encryption.html\">server-side-encryption</a>:</p>\n        <ul>\n            <li>\n                <p>\n                    <code>KmsMasterKeyId</code> – The ID of an AWS-managed customer master key (CMK)\n                    for Amazon SNS or a custom CMK. For more information, see <a href=\"https://docs.aws.amazon.com/sns/latest/dg/sns-server-side-encryption.html#sse-key-terms\">Key\n                        Terms</a>. For more examples, see <a href=\"https://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestParameters\">KeyId</a> in the <i>AWS Key Management Service API\n                        Reference</i>. </p>\n            </li>\n         </ul>\n        \n        \n        <p>The following attribute applies only to <a href=\"https://docs.aws.amazon.com/sns/latest/dg/sns-fifo-topics.html\">FIFO topics</a>:</p>\n        <ul>\n            <li>\n                <p>\n                    <code>ContentBasedDeduplication</code> –  Enables content-based deduplication for\n                    FIFO topics. </p>\n               \n                <ul>\n                  <li>\n                        <p>By default, <code>ContentBasedDeduplication</code> is set to <code>false</code>.\n                            If you create a FIFO topic and this attribute is <code>false</code>, you must\n                            specify a value for the <code>MessageDeduplicationId</code> parameter for the\n                            <a href=\"https://docs.aws.amazon.com/sns/latest/api/API_Publish.html\">Publish</a> action. </p>\n                    </li>\n                  <li>\n                        <p>When you set <code>ContentBasedDeduplication</code> to <code>true</code>, \n                            Amazon SNS uses a SHA-256 hash to generate the <code>MessageDeduplicationId</code> using \n                            the body of the message (but not the attributes of the message).</p>\n                        <p>(Optional) To override the generated value, you can specify a value\n                            for the the <code>MessageDeduplicationId</code> parameter for the <code>Publish</code>\n                            action.</p>\n                     </li>\n               </ul>\n            </li>\n         </ul>",
2231                        "smithy.api#required": {}
2232                    }
2233                },
2234                "AttributeValue": {
2235                    "target": "com.amazonaws.sns#attributeValue",
2236                    "traits": {
2237                        "smithy.api#documentation": "<p>The new value for the attribute.</p>"
2238                    }
2239                }
2240            },
2241            "traits": {
2242                "smithy.api#documentation": "<p>Input for SetTopicAttributes action.</p>"
2243            }
2244        },
2245        "com.amazonaws.sns#StaleTagException": {
2246            "type": "structure",
2247            "members": {
2248                "message": {
2249                    "target": "com.amazonaws.sns#String"
2250                }
2251            },
2252            "traits": {
2253                "smithy.api#documentation": "<p>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.</p>",
2254                "smithy.api#error": "client",
2255                "smithy.api#httpError": 400
2256            }
2257        },
2258        "com.amazonaws.sns#String": {
2259            "type": "string"
2260        },
2261        "com.amazonaws.sns#Subscribe": {
2262            "type": "operation",
2263            "input": {
2264                "target": "com.amazonaws.sns#SubscribeInput"
2265            },
2266            "output": {
2267                "target": "com.amazonaws.sns#SubscribeResponse"
2268            },
2269            "errors": [
2270                {
2271                    "target": "com.amazonaws.sns#AuthorizationErrorException"
2272                },
2273                {
2274                    "target": "com.amazonaws.sns#FilterPolicyLimitExceededException"
2275                },
2276                {
2277                    "target": "com.amazonaws.sns#InternalErrorException"
2278                },
2279                {
2280                    "target": "com.amazonaws.sns#InvalidParameterException"
2281                },
2282                {
2283                    "target": "com.amazonaws.sns#InvalidSecurityException"
2284                },
2285                {
2286                    "target": "com.amazonaws.sns#NotFoundException"
2287                },
2288                {
2289                    "target": "com.amazonaws.sns#SubscriptionLimitExceededException"
2290                }
2291            ],
2292            "traits": {
2293                "smithy.api#documentation": "<p>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 <code>ConfirmSubscription</code> action to confirm the subscription.</p>\n         <p>You call the <code>ConfirmSubscription</code> action with the token from the subscription response.\n      Confirmation tokens are valid for three days.</p>\n        <p>This action is throttled at 100 transactions per second (TPS).</p>"
2294            }
2295        },
2296        "com.amazonaws.sns#SubscribeInput": {
2297            "type": "structure",
2298            "members": {
2299                "TopicArn": {
2300                    "target": "com.amazonaws.sns#topicARN",
2301                    "traits": {
2302                        "smithy.api#documentation": "<p>The ARN of the topic you want to subscribe to.</p>",
2303                        "smithy.api#required": {}
2304                    }
2305                },
2306                "Protocol": {
2307                    "target": "com.amazonaws.sns#protocol",
2308                    "traits": {
2309                        "smithy.api#documentation": "<p>The protocol that you want to use. Supported protocols include:</p>\n        <ul>\n            <li>\n               <p>\n                  <code>http</code> – delivery of JSON-encoded message via HTTP POST</p>\n            </li>\n            <li>\n               <p>\n                  <code>https</code> – delivery of JSON-encoded message via HTTPS POST</p>\n            </li>\n            <li>\n               <p>\n                  <code>email</code> – delivery of message via SMTP</p>\n            </li>\n            <li>\n               <p>\n                  <code>email-json</code> – delivery of JSON-encoded message via SMTP</p>\n            </li>\n            <li>\n               <p>\n                  <code>sms</code> – delivery of message via SMS</p>\n            </li>\n            <li>\n               <p>\n                  <code>sqs</code> – delivery of JSON-encoded message to an Amazon SQS queue</p>\n            </li>\n            <li>\n               <p>\n                  <code>application</code> – delivery of JSON-encoded message to an EndpointArn\n                    for a mobile app and device</p>\n            </li>\n            <li>\n               <p>\n                  <code>lambda</code> – delivery of JSON-encoded message to an AWS Lambda\n                    function</p>\n            </li>\n            <li>\n               <p>\n                  <code>firehose</code> – delivery of JSON-encoded message to an Amazon Kinesis\n                    Data Firehose delivery stream.</p>\n            </li>\n         </ul>",
2310                        "smithy.api#required": {}
2311                    }
2312                },
2313                "Endpoint": {
2314                    "target": "com.amazonaws.sns#Endpoint2",
2315                    "traits": {
2316                        "smithy.api#documentation": "<p>The endpoint that you want to receive notifications. Endpoints vary by\n            protocol:</p>\n        <ul>\n            <li>\n               <p>For the <code>http</code> protocol, the (public) endpoint is a URL beginning with\n                        <code>http://</code>.</p>\n            </li>\n            <li>\n               <p>For the <code>https</code> protocol, the (public) endpoint is a URL beginning with\n                        <code>https://</code>.</p>\n            </li>\n            <li>\n               <p>For the <code>email</code> protocol, the endpoint is an email address.</p>\n            </li>\n            <li>\n               <p>For the <code>email-json</code> protocol, the endpoint is an email address.</p>\n            </li>\n            <li>\n               <p>For the <code>sms</code> protocol, the endpoint is a phone number of an SMS-enabled\n                    device.</p>\n            </li>\n            <li>\n               <p>For the <code>sqs</code> protocol, the endpoint is the ARN of an Amazon SQS queue.</p>\n            </li>\n            <li>\n               <p>For the <code>application</code> protocol, the endpoint is the EndpointArn of a mobile app and\n          device.</p>\n            </li>\n            <li>\n               <p>For the <code>lambda</code> protocol, the endpoint is the ARN of an AWS Lambda function.</p>\n            </li>\n            <li>\n               <p>For the <code>firehose</code> protocol, the endpoint is the ARN of an Amazon Kinesis Data Firehose\n          delivery stream.</p>\n            </li>\n         </ul>"
2317                    }
2318                },
2319                "Attributes": {
2320                    "target": "com.amazonaws.sns#SubscriptionAttributesMap",
2321                    "traits": {
2322                        "smithy.api#documentation": "<p>A map of attributes with their corresponding values.</p>\n         <p>The following lists the names, descriptions, and values of the special request parameters that the\n        <code>SetTopicAttributes</code> action uses:</p>\n         <ul>\n            <li>\n               <p>\n                  <code>DeliveryPolicy</code> – The policy that defines how Amazon SNS retries failed deliveries to HTTP/S\n          endpoints.</p>\n            </li>\n            <li>\n               <p>\n                  <code>FilterPolicy</code> – The simple JSON object that lets your subscriber receive only a subset\n          of messages, rather than receiving every message published to the topic.</p>\n            </li>\n            <li>\n               <p>\n                  <code>RawMessageDelivery</code> – When set to <code>true</code>, enables raw message delivery to\n          Amazon SQS or HTTP/S endpoints. This eliminates the need for the endpoints to process JSON formatting, which is\n          otherwise created for Amazon SNS metadata.</p>\n            </li>\n            <li>\n               <p>\n                  <code>RedrivePolicy</code> – When specified, sends undeliverable messages to the specified Amazon SQS dead-letter queue. \n    Messages that can't be delivered due to client errors (for example, when the subscribed endpoint is unreachable)\n    or server errors (for example, when the service that powers the subscribed endpoint becomes unavailable) are held \n    in the dead-letter queue for further analysis or reprocessing.</p>\n            </li>\n         </ul>\n      \n      \n         <p>The following attribute applies only to Amazon Kinesis Data Firehose delivery stream subscriptions:</p>\n         <ul>\n            <li>\n               <p>\n                  <code>SubscriptionRoleArn</code> – The ARN of the IAM role that has the following:</p>\n                <ul>\n                  <li>\n                        <p>Permission to write to the Kinesis Data Firehose delivery stream</p>\n                    </li>\n                  <li>\n                        <p>Amazon SNS listed as a trusted entity</p>\n                    </li>\n               </ul>\n                <p>Specifying a valid ARN for this attribute is required for Kinesis Data Firehose delivery stream subscriptions. \n                For more information, see <a href=\"https://docs.aws.amazon.com/sns/latest/dg/sns-kinesis-subscriber.html\">Fanout \n                    to Kinesis Data Firehose delivery streams</a> in the <i>Amazon SNS Developer Guide</i>.</p>\n                    </li>\n         </ul>"
2323                    }
2324                },
2325                "ReturnSubscriptionArn": {
2326                    "target": "com.amazonaws.sns#boolean",
2327                    "traits": {
2328                        "smithy.api#documentation": "<p>Sets whether the response from the <code>Subscribe</code> request includes the\n            subscription ARN, even if the subscription is not yet confirmed.</p>\n          <p>If you set this parameter to <code>true</code>, 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 <code>pending subscription</code> ARN value for subscriptions that aren't yet confirmed. A\n          subscription becomes confirmed when the subscriber calls the <code>ConfirmSubscription</code> action with a\n          confirmation token.</p>\n        <p></p>\n        <p>The default value is <code>false</code>.</p>"
2329                    }
2330                }
2331            },
2332            "traits": {
2333                "smithy.api#documentation": "<p>Input for Subscribe action.</p>"
2334            }
2335        },
2336        "com.amazonaws.sns#SubscribeResponse": {
2337            "type": "structure",
2338            "members": {
2339                "SubscriptionArn": {
2340                    "target": "com.amazonaws.sns#subscriptionARN",
2341                    "traits": {
2342                        "smithy.api#documentation": "<p>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                <code>ReturnSubscriptionArn</code> is true, then the value is always the\n            subscription ARN, even if the subscription requires confirmation.</p>"
2343                    }
2344                }
2345            },
2346            "traits": {
2347                "smithy.api#documentation": "<p>Response for Subscribe action.</p>"
2348            }
2349        },
2350        "com.amazonaws.sns#Subscription": {
2351            "type": "structure",
2352            "members": {
2353                "SubscriptionArn": {
2354                    "target": "com.amazonaws.sns#subscriptionARN",
2355                    "traits": {
2356                        "smithy.api#documentation": "<p>The subscription's ARN.</p>"
2357                    }
2358                },
2359                "Owner": {
2360                    "target": "com.amazonaws.sns#account",
2361                    "traits": {
2362                        "smithy.api#documentation": "<p>The subscription's owner.</p>"
2363                    }
2364                },
2365                "Protocol": {
2366                    "target": "com.amazonaws.sns#protocol",
2367                    "traits": {
2368                        "smithy.api#documentation": "<p>The subscription's protocol.</p>"
2369                    }
2370                },
2371                "Endpoint": {
2372                    "target": "com.amazonaws.sns#Endpoint2",
2373                    "traits": {
2374                        "smithy.api#documentation": "<p>The subscription's endpoint (format depends on the protocol).</p>"
2375                    }
2376                },
2377                "TopicArn": {
2378                    "target": "com.amazonaws.sns#topicARN",
2379                    "traits": {
2380                        "smithy.api#documentation": "<p>The ARN of the subscription's topic.</p>"
2381                    }
2382                }
2383            },
2384            "traits": {
2385                "smithy.api#documentation": "<p>A wrapper type for the attributes of an Amazon SNS subscription.</p>"
2386            }
2387        },
2388        "com.amazonaws.sns#SubscriptionAttributesMap": {
2389            "type": "map",
2390            "key": {
2391                "target": "com.amazonaws.sns#attributeName"
2392            },
2393            "value": {
2394                "target": "com.amazonaws.sns#attributeValue"
2395            }
2396        },
2397        "com.amazonaws.sns#SubscriptionLimitExceededException": {
2398            "type": "structure",
2399            "members": {
2400                "message": {
2401                    "target": "com.amazonaws.sns#String"
2402                }
2403            },
2404            "traits": {
2405                "smithy.api#documentation": "<p>Indicates that the customer already owns the maximum allowed number of\n            subscriptions.</p>",
2406                "smithy.api#error": "client",
2407                "smithy.api#httpError": 403
2408            }
2409        },
2410        "com.amazonaws.sns#SubscriptionsList": {
2411            "type": "list",
2412            "member": {
2413                "target": "com.amazonaws.sns#Subscription"
2414            }
2415        },
2416        "com.amazonaws.sns#Tag": {
2417            "type": "structure",
2418            "members": {
2419                "Key": {
2420                    "target": "com.amazonaws.sns#TagKey",
2421                    "traits": {
2422                        "smithy.api#documentation": "<p>The required key portion of the tag.</p>",
2423                        "smithy.api#required": {}
2424                    }
2425                },
2426                "Value": {
2427                    "target": "com.amazonaws.sns#TagValue",
2428                    "traits": {
2429                        "smithy.api#documentation": "<p>The optional value portion of the tag.</p>",
2430                        "smithy.api#required": {}
2431                    }
2432                }
2433            },
2434            "traits": {
2435                "smithy.api#documentation": "<p>The list of tags to be added to the specified topic.</p>"
2436            }
2437        },
2438        "com.amazonaws.sns#TagKey": {
2439            "type": "string",
2440            "traits": {
2441                "smithy.api#length": {
2442                    "min": 1,
2443                    "max": 128
2444                }
2445            }
2446        },
2447        "com.amazonaws.sns#TagKeyList": {
2448            "type": "list",
2449            "member": {
2450                "target": "com.amazonaws.sns#TagKey"
2451            }
2452        },
2453        "com.amazonaws.sns#TagLimitExceededException": {
2454            "type": "structure",
2455            "members": {
2456                "message": {
2457                    "target": "com.amazonaws.sns#String"
2458                }
2459            },
2460            "traits": {
2461                "smithy.api#documentation": "<p>Can't add more than 50 tags to a topic.</p>",
2462                "smithy.api#error": "client",
2463                "smithy.api#httpError": 400
2464            }
2465        },
2466        "com.amazonaws.sns#TagList": {
2467            "type": "list",
2468            "member": {
2469                "target": "com.amazonaws.sns#Tag"
2470            }
2471        },
2472        "com.amazonaws.sns#TagPolicyException": {
2473            "type": "structure",
2474            "members": {
2475                "message": {
2476                    "target": "com.amazonaws.sns#String"
2477                }
2478            },
2479            "traits": {
2480                "smithy.api#documentation": "<p>The request doesn't comply with the IAM tag policy. Correct your request and then\n            retry it.</p>",
2481                "smithy.api#error": "client",
2482                "smithy.api#httpError": 400
2483            }
2484        },
2485        "com.amazonaws.sns#TagResource": {
2486            "type": "operation",
2487            "input": {
2488                "target": "com.amazonaws.sns#TagResourceRequest"
2489            },
2490            "output": {
2491                "target": "com.amazonaws.sns#TagResourceResponse"
2492            },
2493            "errors": [
2494                {
2495                    "target": "com.amazonaws.sns#AuthorizationErrorException"
2496                },
2497                {
2498                    "target": "com.amazonaws.sns#ConcurrentAccessException"
2499                },
2500                {
2501                    "target": "com.amazonaws.sns#InvalidParameterException"
2502                },
2503                {
2504                    "target": "com.amazonaws.sns#ResourceNotFoundException"
2505                },
2506                {
2507                    "target": "com.amazonaws.sns#StaleTagException"
2508                },
2509                {
2510                    "target": "com.amazonaws.sns#TagLimitExceededException"
2511                },
2512                {
2513                    "target": "com.amazonaws.sns#TagPolicyException"
2514                }
2515            ],
2516            "traits": {
2517                "smithy.api#documentation": "<p>Add tags to the specified Amazon SNS topic. For an overview, see \n            <a href=\"https://docs.aws.amazon.com/sns/latest/dg/sns-tags.html\">Amazon SNS Tags</a> in the\n            <i>Amazon SNS Developer Guide</i>.</p>\n        <p>When you use topic tags, keep the following guidelines in mind:</p>\n        <ul>\n            <li>\n                <p>Adding more than 50 tags to a topic isn't recommended.</p>\n            </li>\n            <li>\n                <p>Tags don't have any semantic meaning. Amazon SNS interprets tags as character\n                    strings.</p>\n            </li>\n            <li>\n                <p>Tags are case-sensitive.</p>\n            </li>\n            <li>\n                <p>A new tag with a key identical to that of an existing tag overwrites the\n                    existing tag.</p>\n            </li>\n            <li>\n                <p>Tagging actions are limited to 10 TPS per AWS account, per AWS region. If your application\n                    requires a higher throughput, file a <a href=\"https://console.aws.amazon.com/support/home#/case/create?issueType=technical\">technical support request</a>.</p>\n            </li>\n         </ul>"
2518            }
2519        },
2520        "com.amazonaws.sns#TagResourceRequest": {
2521            "type": "structure",
2522            "members": {
2523                "ResourceArn": {
2524                    "target": "com.amazonaws.sns#AmazonResourceName",
2525                    "traits": {
2526                        "smithy.api#documentation": "<p>The ARN of the topic to which to add tags.</p>",
2527                        "smithy.api#required": {}
2528                    }
2529                },
2530                "Tags": {
2531                    "target": "com.amazonaws.sns#TagList",
2532                    "traits": {
2533                        "smithy.api#documentation": "<p>The tags to be added to the specified topic. A tag consists of a required key\n            and an optional value.</p>",
2534                        "smithy.api#required": {}
2535                    }
2536                }
2537            }
2538        },
2539        "com.amazonaws.sns#TagResourceResponse": {
2540            "type": "structure",
2541            "members": {}
2542        },
2543        "com.amazonaws.sns#TagValue": {
2544            "type": "string",
2545            "traits": {
2546                "smithy.api#length": {
2547                    "min": 0,
2548                    "max": 256
2549                }
2550            }
2551        },
2552        "com.amazonaws.sns#ThrottledException": {
2553            "type": "structure",
2554            "members": {
2555                "message": {
2556                    "target": "com.amazonaws.sns#String",
2557                    "traits": {
2558                        "smithy.api#documentation": "<p>Throttled request.</p>"
2559                    }
2560                }
2561            },
2562            "traits": {
2563                "smithy.api#documentation": "<p>Indicates that the rate at which requests have been submitted for this action exceeds\n            the limit for your account.</p>",
2564                "smithy.api#error": "client",
2565                "smithy.api#httpError": 429
2566            }
2567        },
2568        "com.amazonaws.sns#Topic": {
2569            "type": "structure",
2570            "members": {
2571                "TopicArn": {
2572                    "target": "com.amazonaws.sns#topicARN",
2573                    "traits": {
2574                        "smithy.api#documentation": "<p>The topic's ARN.</p>"
2575                    }
2576                }
2577            },
2578            "traits": {
2579                "smithy.api#documentation": "<p>A wrapper type for the topic's Amazon Resource Name (ARN). To retrieve a topic's\n            attributes, use <code>GetTopicAttributes</code>.</p>"
2580            }
2581        },
2582        "com.amazonaws.sns#TopicAttributesMap": {
2583            "type": "map",
2584            "key": {
2585                "target": "com.amazonaws.sns#attributeName"
2586            },
2587            "value": {
2588                "target": "com.amazonaws.sns#attributeValue"
2589            }
2590        },
2591        "com.amazonaws.sns#TopicLimitExceededException": {
2592            "type": "structure",
2593            "members": {
2594                "message": {
2595                    "target": "com.amazonaws.sns#String"
2596                }
2597            },
2598            "traits": {
2599                "smithy.api#documentation": "<p>Indicates that the customer already owns the maximum allowed number of topics.</p>",
2600                "smithy.api#error": "client",
2601                "smithy.api#httpError": 403
2602            }
2603        },
2604        "com.amazonaws.sns#TopicsList": {
2605            "type": "list",
2606            "member": {
2607                "target": "com.amazonaws.sns#Topic"
2608            }
2609        },
2610        "com.amazonaws.sns#Unsubscribe": {
2611            "type": "operation",
2612            "input": {
2613                "target": "com.amazonaws.sns#UnsubscribeInput"
2614            },
2615            "errors": [
2616                {
2617                    "target": "com.amazonaws.sns#AuthorizationErrorException"
2618                },
2619                {
2620                    "target": "com.amazonaws.sns#InternalErrorException"
2621                },
2622                {
2623                    "target": "com.amazonaws.sns#InvalidParameterException"
2624                },
2625                {
2626                    "target": "com.amazonaws.sns#InvalidSecurityException"
2627                },
2628                {
2629                    "target": "com.amazonaws.sns#NotFoundException"
2630                }
2631            ],
2632            "traits": {
2633                "smithy.api#documentation": "<p>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 <code>Unsubscribe</code> 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                <code>Unsubscribe</code> request was unintended.</p>\n        <p>This action is throttled at 100 transactions per second (TPS).</p>"
2634            }
2635        },
2636        "com.amazonaws.sns#UnsubscribeInput": {
2637            "type": "structure",
2638            "members": {
2639                "SubscriptionArn": {
2640                    "target": "com.amazonaws.sns#subscriptionARN",
2641                    "traits": {
2642                        "smithy.api#documentation": "<p>The ARN of the subscription to be deleted.</p>",
2643                        "smithy.api#required": {}
2644                    }
2645                }
2646            },
2647            "traits": {
2648                "smithy.api#documentation": "<p>Input for Unsubscribe action.</p>"
2649            }
2650        },
2651        "com.amazonaws.sns#UntagResource": {
2652            "type": "operation",
2653            "input": {
2654                "target": "com.amazonaws.sns#UntagResourceRequest"
2655            },
2656            "output": {
2657                "target": "com.amazonaws.sns#UntagResourceResponse"
2658            },
2659            "errors": [
2660                {
2661                    "target": "com.amazonaws.sns#AuthorizationErrorException"
2662                },
2663                {
2664                    "target": "com.amazonaws.sns#ConcurrentAccessException"
2665                },
2666                {
2667                    "target": "com.amazonaws.sns#InvalidParameterException"
2668                },
2669                {
2670                    "target": "com.amazonaws.sns#ResourceNotFoundException"
2671                },
2672                {
2673                    "target": "com.amazonaws.sns#StaleTagException"
2674                },
2675                {
2676                    "target": "com.amazonaws.sns#TagLimitExceededException"
2677                },
2678                {
2679                    "target": "com.amazonaws.sns#TagPolicyException"
2680                }
2681            ],
2682            "traits": {
2683                "smithy.api#documentation": "<p>Remove tags from the specified Amazon SNS topic. For an overview, see\n            <a href=\"https://docs.aws.amazon.com/sns/latest/dg/sns-tags.html\">Amazon SNS Tags</a> in the\n            <i>Amazon SNS Developer Guide</i>.</p>"
2684            }
2685        },
2686        "com.amazonaws.sns#UntagResourceRequest": {
2687            "type": "structure",
2688            "members": {
2689                "ResourceArn": {
2690                    "target": "com.amazonaws.sns#AmazonResourceName",
2691                    "traits": {
2692                        "smithy.api#documentation": "<p>The ARN of the topic from which to remove tags.</p>",
2693                        "smithy.api#required": {}
2694                    }
2695                },
2696                "TagKeys": {
2697                    "target": "com.amazonaws.sns#TagKeyList",
2698                    "traits": {
2699                        "smithy.api#documentation": "<p>The list of tag keys to remove from the specified topic.</p>",
2700                        "smithy.api#required": {}
2701                    }
2702                }
2703            }
2704        },
2705        "com.amazonaws.sns#UntagResourceResponse": {
2706            "type": "structure",
2707            "members": {}
2708        },
2709        "com.amazonaws.sns#account": {
2710            "type": "string"
2711        },
2712        "com.amazonaws.sns#action": {
2713            "type": "string"
2714        },
2715        "com.amazonaws.sns#attributeName": {
2716            "type": "string"
2717        },
2718        "com.amazonaws.sns#attributeValue": {
2719            "type": "string"
2720        },
2721        "com.amazonaws.sns#authenticateOnUnsubscribe": {
2722            "type": "string"
2723        },
2724        "com.amazonaws.sns#boolean": {
2725            "type": "boolean"
2726        },
2727        "com.amazonaws.sns#delegate": {
2728            "type": "string"
2729        },
2730        "com.amazonaws.sns#label": {
2731            "type": "string"
2732        },
2733        "com.amazonaws.sns#message": {
2734            "type": "string"
2735        },
2736        "com.amazonaws.sns#messageId": {
2737            "type": "string"
2738        },
2739        "com.amazonaws.sns#messageStructure": {
2740            "type": "string"
2741        },
2742        "com.amazonaws.sns#nextToken": {
2743            "type": "string"
2744        },
2745        "com.amazonaws.sns#protocol": {
2746            "type": "string"
2747        },
2748        "com.amazonaws.sns#subject": {
2749            "type": "string"
2750        },
2751        "com.amazonaws.sns#subscriptionARN": {
2752            "type": "string"
2753        },
2754        "com.amazonaws.sns#token": {
2755            "type": "string"
2756        },
2757        "com.amazonaws.sns#topicARN": {
2758            "type": "string"
2759        },
2760        "com.amazonaws.sns#topicName": {
2761            "type": "string"
2762        }
2763    }
2764}
2765