openapi-directory
Version:
Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS
1 lines • 308 kB
JSON
{"openapi":"3.0.0","info":{"version":"2010-03-31","x-release":"v4","title":"Amazon Simple Notification Service","description":"<fullname>Amazon Simple Notification Service</fullname> <p>Amazon Simple Notification Service (Amazon SNS) is a web service that enables you to build distributed web-enabled applications. Applications can use Amazon SNS to easily push real-time notification messages to interested subscribers over multiple delivery 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 features and their associated API calls, see the <a href=\"https://docs.aws.amazon.com/sns/latest/dg/\">Amazon SNS Developer Guide</a>. </p> <p>For information on the permissions you need to use this API, see <a href=\"https://docs.aws.amazon.com/sns/latest/dg/sns-authentication-and-access-control.html\">Identity and access management in Amazon SNS</a> in the <i>Amazon SNS Developer Guide.</i> </p> <p>We also provide SDKs that enable you to access Amazon SNS from your preferred programming language. The SDKs contain functionality that automatically takes care of tasks such as: cryptographically signing your service requests, retrying requests, and handling error responses. For a list of available SDKs, go to <a href=\"http://aws.amazon.com/tools/\">Tools for Amazon Web Services</a>. </p>","x-logo":{"url":"https://twitter.com/awscloud/profile_image?size=original","backgroundColor":"#FFFFFF"},"termsOfService":"https://aws.amazon.com/service-terms/","contact":{"name":"Mike Ralphson","email":"mike.ralphson@gmail.com","url":"https://github.com/mermade/aws2openapi","x-twitter":"PermittedSoc"},"license":{"name":"Apache 2.0 License","url":"http://www.apache.org/licenses/"},"x-providerName":"amazonaws.com","x-serviceName":"sns","x-origin":[{"contentType":"application/json","url":"https://raw.githubusercontent.com/aws/aws-sdk-js/master/apis/sns-2010-03-31.normal.json","converter":{"url":"https://github.com/mermade/aws2openapi","version":"1.0.0"},"x-apisguru-driver":"external"}],"x-apiClientRegistration":{"url":"https://portal.aws.amazon.com/gp/aws/developer/registration/index.html?nc2=h_ct"},"x-apisguru-categories":["cloud"],"x-preferred":true},"externalDocs":{"description":"Amazon Web Services documentation","url":"https://docs.aws.amazon.com/sns/"},"servers":[{"url":"http://sns.{region}.amazonaws.com","variables":{"region":{"description":"The AWS region","enum":["us-east-1","us-east-2","us-west-1","us-west-2","us-gov-west-1","us-gov-east-1","ca-central-1","eu-north-1","eu-west-1","eu-west-2","eu-west-3","eu-central-1","eu-south-1","af-south-1","ap-northeast-1","ap-northeast-2","ap-northeast-3","ap-southeast-1","ap-southeast-2","ap-east-1","ap-south-1","sa-east-1","me-south-1"],"default":"us-east-1"}},"description":"The Amazon SNS multi-region endpoint"},{"url":"https://sns.{region}.amazonaws.com","variables":{"region":{"description":"The AWS region","enum":["us-east-1","us-east-2","us-west-1","us-west-2","us-gov-west-1","us-gov-east-1","ca-central-1","eu-north-1","eu-west-1","eu-west-2","eu-west-3","eu-central-1","eu-south-1","af-south-1","ap-northeast-1","ap-northeast-2","ap-northeast-3","ap-southeast-1","ap-southeast-2","ap-east-1","ap-south-1","sa-east-1","me-south-1"],"default":"us-east-1"}},"description":"The Amazon SNS multi-region endpoint"},{"url":"http://sns.{region}.amazonaws.com.cn","variables":{"region":{"description":"The AWS region","enum":["cn-north-1","cn-northwest-1"],"default":"cn-north-1"}},"description":"The Amazon SNS endpoint for China (Beijing) and China (Ningxia)"},{"url":"https://sns.{region}.amazonaws.com.cn","variables":{"region":{"description":"The AWS region","enum":["cn-north-1","cn-northwest-1"],"default":"cn-north-1"}},"description":"The Amazon SNS endpoint for China (Beijing) and China (Ningxia)"}],"x-hasEquivalentPaths":true,"paths":{"/#Action=AddPermission":{"get":{"x-aws-operation-name":"AddPermission","operationId":"GET_AddPermission","description":"<p>Adds a statement to a topic's access control policy, granting access for the specified Amazon Web Services accounts to the specified actions.</p> <note> <p>To remove the ability to change topic permissions, you must deny permissions to the <code>AddPermission</code>, <code>RemovePermission</code>, and <code>SetTopicAttributes</code> actions in your IAM policy.</p> </note>","responses":{"200":{"description":"Success"},"480":{"description":"InvalidParameterException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidParameterException"}}}},"481":{"description":"InternalErrorException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InternalErrorException"}}}},"482":{"description":"AuthorizationErrorException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/AuthorizationErrorException"}}}},"483":{"description":"NotFoundException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/NotFoundException"}}}}},"parameters":[{"name":"TopicArn","in":"query","required":true,"description":"The ARN of the topic whose access control policy you wish to modify.","schema":{"type":"string"}},{"name":"Label","in":"query","required":true,"description":"A unique identifier for the new policy statement.","schema":{"type":"string"}},{"name":"AWSAccountId","in":"query","required":true,"description":"The Amazon Web Services account IDs of the users (principals) who will be given access to the specified actions. The users must have Amazon Web Services account, but do not need to be signed up for this service.","schema":{"type":"array","items":{"$ref":"#/components/schemas/delegate"}}},{"name":"ActionName","in":"query","required":true,"description":"<p>The action you want to allow for the specified principal(s).</p> <p>Valid values: Any Amazon SNS action name, for example <code>Publish</code>.</p>","schema":{"type":"array","items":{"$ref":"#/components/schemas/action"}}},{"name":"Action","in":"query","required":true,"schema":{"type":"string","enum":["AddPermission"]}},{"name":"Version","in":"query","required":true,"schema":{"type":"string","enum":["2010-03-31"]}}]},"parameters":[{"$ref":"#/components/parameters/X-Amz-Content-Sha256"},{"$ref":"#/components/parameters/X-Amz-Date"},{"$ref":"#/components/parameters/X-Amz-Algorithm"},{"$ref":"#/components/parameters/X-Amz-Credential"},{"$ref":"#/components/parameters/X-Amz-Security-Token"},{"$ref":"#/components/parameters/X-Amz-Signature"},{"$ref":"#/components/parameters/X-Amz-SignedHeaders"}],"post":{"x-aws-operation-name":"AddPermission","operationId":"POST_AddPermission","description":"<p>Adds a statement to a topic's access control policy, granting access for the specified Amazon Web Services accounts to the specified actions.</p> <note> <p>To remove the ability to change topic permissions, you must deny permissions to the <code>AddPermission</code>, <code>RemovePermission</code>, and <code>SetTopicAttributes</code> actions in your IAM policy.</p> </note>","responses":{"200":{"description":"Success"},"480":{"description":"InvalidParameterException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidParameterException"}}}},"481":{"description":"InternalErrorException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InternalErrorException"}}}},"482":{"description":"AuthorizationErrorException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/AuthorizationErrorException"}}}},"483":{"description":"NotFoundException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/NotFoundException"}}}}},"requestBody":{"content":{"text/xml":{"schema":{"$ref":"#/components/schemas/AddPermissionInput"}}}},"parameters":[{"name":"Action","in":"query","required":true,"schema":{"type":"string","enum":["AddPermission"]}},{"name":"Version","in":"query","required":true,"schema":{"type":"string","enum":["2010-03-31"]}}]}},"/#Action=CheckIfPhoneNumberIsOptedOut":{"get":{"x-aws-operation-name":"CheckIfPhoneNumberIsOptedOut","operationId":"GET_CheckIfPhoneNumberIsOptedOut","description":"<p>Accepts a phone number and indicates whether the phone holder has opted out of receiving SMS messages from your Amazon Web Services account. You cannot send SMS messages to a number that is opted out.</p> <p>To resume sending messages, you can opt in the number by using the <code>OptInPhoneNumber</code> action.</p>","responses":{"200":{"description":"Success","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/CheckIfPhoneNumberIsOptedOutResponse"}}}},"480":{"description":"ThrottledException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/ThrottledException"}}}},"481":{"description":"InternalErrorException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InternalErrorException"}}}},"482":{"description":"AuthorizationErrorException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/AuthorizationErrorException"}}}},"483":{"description":"InvalidParameterException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidParameterException"}}}}},"parameters":[{"name":"phoneNumber","in":"query","required":true,"description":"The phone number for which you want to check the opt out status.","schema":{"type":"string"}},{"name":"Action","in":"query","required":true,"schema":{"type":"string","enum":["CheckIfPhoneNumberIsOptedOut"]}},{"name":"Version","in":"query","required":true,"schema":{"type":"string","enum":["2010-03-31"]}}]},"parameters":[{"$ref":"#/components/parameters/X-Amz-Content-Sha256"},{"$ref":"#/components/parameters/X-Amz-Date"},{"$ref":"#/components/parameters/X-Amz-Algorithm"},{"$ref":"#/components/parameters/X-Amz-Credential"},{"$ref":"#/components/parameters/X-Amz-Security-Token"},{"$ref":"#/components/parameters/X-Amz-Signature"},{"$ref":"#/components/parameters/X-Amz-SignedHeaders"}],"post":{"x-aws-operation-name":"CheckIfPhoneNumberIsOptedOut","operationId":"POST_CheckIfPhoneNumberIsOptedOut","description":"<p>Accepts a phone number and indicates whether the phone holder has opted out of receiving SMS messages from your Amazon Web Services account. You cannot send SMS messages to a number that is opted out.</p> <p>To resume sending messages, you can opt in the number by using the <code>OptInPhoneNumber</code> action.</p>","responses":{"200":{"description":"Success","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/CheckIfPhoneNumberIsOptedOutResponse"}}}},"480":{"description":"ThrottledException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/ThrottledException"}}}},"481":{"description":"InternalErrorException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InternalErrorException"}}}},"482":{"description":"AuthorizationErrorException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/AuthorizationErrorException"}}}},"483":{"description":"InvalidParameterException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidParameterException"}}}}},"requestBody":{"content":{"text/xml":{"schema":{"$ref":"#/components/schemas/CheckIfPhoneNumberIsOptedOutInput"}}}},"parameters":[{"name":"Action","in":"query","required":true,"schema":{"type":"string","enum":["CheckIfPhoneNumberIsOptedOut"]}},{"name":"Version","in":"query","required":true,"schema":{"type":"string","enum":["2010-03-31"]}}]}},"/#Action=ConfirmSubscription":{"get":{"x-aws-operation-name":"ConfirmSubscription","operationId":"GET_ConfirmSubscription","description":"Verifies an endpoint owner's intent to receive messages by validating the token sent to the endpoint by an earlier <code>Subscribe</code> action. If the token is valid, the action creates a new subscription and returns its Amazon Resource Name (ARN). This call requires an AWS signature only when the <code>AuthenticateOnUnsubscribe</code> flag is set to \"true\".","responses":{"200":{"description":"Success","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/ConfirmSubscriptionResponse"}}}},"480":{"description":"SubscriptionLimitExceededException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/SubscriptionLimitExceededException"}}}},"481":{"description":"InvalidParameterException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidParameterException"}}}},"482":{"description":"NotFoundException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/NotFoundException"}}}},"483":{"description":"InternalErrorException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InternalErrorException"}}}},"484":{"description":"AuthorizationErrorException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/AuthorizationErrorException"}}}},"485":{"description":"FilterPolicyLimitExceededException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/FilterPolicyLimitExceededException"}}}}},"parameters":[{"name":"TopicArn","in":"query","required":true,"description":"The ARN of the topic for which you wish to confirm a subscription.","schema":{"type":"string"}},{"name":"Token","in":"query","required":true,"description":"Short-lived token sent to an endpoint during the <code>Subscribe</code> action.","schema":{"type":"string"}},{"name":"AuthenticateOnUnsubscribe","in":"query","required":false,"description":"Disallows unauthenticated unsubscribes of the subscription. If the value of this parameter is <code>true</code> and the request has an Amazon Web Services signature, then only the topic owner and the subscription owner can unsubscribe the endpoint. The unsubscribe action requires Amazon Web Services authentication. ","schema":{"type":"string"}},{"name":"Action","in":"query","required":true,"schema":{"type":"string","enum":["ConfirmSubscription"]}},{"name":"Version","in":"query","required":true,"schema":{"type":"string","enum":["2010-03-31"]}}]},"parameters":[{"$ref":"#/components/parameters/X-Amz-Content-Sha256"},{"$ref":"#/components/parameters/X-Amz-Date"},{"$ref":"#/components/parameters/X-Amz-Algorithm"},{"$ref":"#/components/parameters/X-Amz-Credential"},{"$ref":"#/components/parameters/X-Amz-Security-Token"},{"$ref":"#/components/parameters/X-Amz-Signature"},{"$ref":"#/components/parameters/X-Amz-SignedHeaders"}],"post":{"x-aws-operation-name":"ConfirmSubscription","operationId":"POST_ConfirmSubscription","description":"Verifies an endpoint owner's intent to receive messages by validating the token sent to the endpoint by an earlier <code>Subscribe</code> action. If the token is valid, the action creates a new subscription and returns its Amazon Resource Name (ARN). This call requires an AWS signature only when the <code>AuthenticateOnUnsubscribe</code> flag is set to \"true\".","responses":{"200":{"description":"Success","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/ConfirmSubscriptionResponse"}}}},"480":{"description":"SubscriptionLimitExceededException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/SubscriptionLimitExceededException"}}}},"481":{"description":"InvalidParameterException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidParameterException"}}}},"482":{"description":"NotFoundException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/NotFoundException"}}}},"483":{"description":"InternalErrorException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InternalErrorException"}}}},"484":{"description":"AuthorizationErrorException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/AuthorizationErrorException"}}}},"485":{"description":"FilterPolicyLimitExceededException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/FilterPolicyLimitExceededException"}}}}},"requestBody":{"content":{"text/xml":{"schema":{"$ref":"#/components/schemas/ConfirmSubscriptionInput"}}}},"parameters":[{"name":"Action","in":"query","required":true,"schema":{"type":"string","enum":["ConfirmSubscription"]}},{"name":"Version","in":"query","required":true,"schema":{"type":"string","enum":["2010-03-31"]}}]}},"/#Action=CreatePlatformApplication":{"get":{"x-aws-operation-name":"CreatePlatformApplication","operationId":"GET_CreatePlatformApplication","description":"<p>Creates a platform application object for one of the supported push notification services, such as APNS and GCM (Firebase Cloud Messaging), to which devices and mobile apps may register. You must specify <code>PlatformPrincipal</code> and <code>PlatformCredential</code> attributes when using the <code>CreatePlatformApplication</code> action.</p> <p> <code>PlatformPrincipal</code> and <code>PlatformCredential</code> are received from the notification service.</p> <ul> <li> <p>For <code>ADM</code>, <code>PlatformPrincipal</code> is <code>client id</code> and <code>PlatformCredential</code> is <code>client secret</code>.</p> </li> <li> <p>For <code>Baidu</code>, <code>PlatformPrincipal</code> is <code>API key</code> and <code>PlatformCredential</code> is <code>secret key</code>.</p> </li> <li> <p>For <code>APNS</code> and <code>APNS_SANDBOX</code> using certificate credentials, <code>PlatformPrincipal</code> is <code>SSL certificate</code> and <code>PlatformCredential</code> is <code>private key</code>.</p> </li> <li> <p>For <code>APNS</code> and <code>APNS_SANDBOX</code> using token credentials, <code>PlatformPrincipal</code> is <code>signing key ID</code> and <code>PlatformCredential</code> is <code>signing key</code>.</p> </li> <li> <p>For <code>GCM</code> (Firebase Cloud Messaging), there is no <code>PlatformPrincipal</code> and the <code>PlatformCredential</code> is <code>API key</code>.</p> </li> <li> <p>For <code>MPNS</code>, <code>PlatformPrincipal</code> is <code>TLS certificate</code> and <code>PlatformCredential</code> is <code>private key</code>.</p> </li> <li> <p>For <code>WNS</code>, <code>PlatformPrincipal</code> is <code>Package Security Identifier</code> and <code>PlatformCredential</code> is <code>secret key</code>.</p> </li> </ul> <p>You can use the returned <code>PlatformApplicationArn</code> as an attribute for the <code>CreatePlatformEndpoint</code> action.</p>","responses":{"200":{"description":"Success","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/CreatePlatformApplicationResponse"}}}},"480":{"description":"InvalidParameterException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidParameterException"}}}},"481":{"description":"InternalErrorException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InternalErrorException"}}}},"482":{"description":"AuthorizationErrorException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/AuthorizationErrorException"}}}}},"parameters":[{"name":"Name","in":"query","required":true,"description":"Application names must be made up of only uppercase and lowercase ASCII letters, numbers, underscores, hyphens, and periods, and must be between 1 and 256 characters long.","schema":{"type":"string"}},{"name":"Platform","in":"query","required":true,"description":"The following platforms are supported: ADM (Amazon Device Messaging), APNS (Apple Push Notification Service), APNS_SANDBOX, and GCM (Firebase Cloud Messaging).","schema":{"type":"string"}},{"name":"Attributes","in":"query","required":true,"description":"For a list of attributes, see <a href=\"https://docs.aws.amazon.com/sns/latest/api/API_SetPlatformApplicationAttributes.html\">SetPlatformApplicationAttributes</a>.","schema":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/String"}}},{"name":"Action","in":"query","required":true,"schema":{"type":"string","enum":["CreatePlatformApplication"]}},{"name":"Version","in":"query","required":true,"schema":{"type":"string","enum":["2010-03-31"]}}]},"parameters":[{"$ref":"#/components/parameters/X-Amz-Content-Sha256"},{"$ref":"#/components/parameters/X-Amz-Date"},{"$ref":"#/components/parameters/X-Amz-Algorithm"},{"$ref":"#/components/parameters/X-Amz-Credential"},{"$ref":"#/components/parameters/X-Amz-Security-Token"},{"$ref":"#/components/parameters/X-Amz-Signature"},{"$ref":"#/components/parameters/X-Amz-SignedHeaders"}],"post":{"x-aws-operation-name":"CreatePlatformApplication","operationId":"POST_CreatePlatformApplication","description":"<p>Creates a platform application object for one of the supported push notification services, such as APNS and GCM (Firebase Cloud Messaging), to which devices and mobile apps may register. You must specify <code>PlatformPrincipal</code> and <code>PlatformCredential</code> attributes when using the <code>CreatePlatformApplication</code> action.</p> <p> <code>PlatformPrincipal</code> and <code>PlatformCredential</code> are received from the notification service.</p> <ul> <li> <p>For <code>ADM</code>, <code>PlatformPrincipal</code> is <code>client id</code> and <code>PlatformCredential</code> is <code>client secret</code>.</p> </li> <li> <p>For <code>Baidu</code>, <code>PlatformPrincipal</code> is <code>API key</code> and <code>PlatformCredential</code> is <code>secret key</code>.</p> </li> <li> <p>For <code>APNS</code> and <code>APNS_SANDBOX</code> using certificate credentials, <code>PlatformPrincipal</code> is <code>SSL certificate</code> and <code>PlatformCredential</code> is <code>private key</code>.</p> </li> <li> <p>For <code>APNS</code> and <code>APNS_SANDBOX</code> using token credentials, <code>PlatformPrincipal</code> is <code>signing key ID</code> and <code>PlatformCredential</code> is <code>signing key</code>.</p> </li> <li> <p>For <code>GCM</code> (Firebase Cloud Messaging), there is no <code>PlatformPrincipal</code> and the <code>PlatformCredential</code> is <code>API key</code>.</p> </li> <li> <p>For <code>MPNS</code>, <code>PlatformPrincipal</code> is <code>TLS certificate</code> and <code>PlatformCredential</code> is <code>private key</code>.</p> </li> <li> <p>For <code>WNS</code>, <code>PlatformPrincipal</code> is <code>Package Security Identifier</code> and <code>PlatformCredential</code> is <code>secret key</code>.</p> </li> </ul> <p>You can use the returned <code>PlatformApplicationArn</code> as an attribute for the <code>CreatePlatformEndpoint</code> action.</p>","responses":{"200":{"description":"Success","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/CreatePlatformApplicationResponse"}}}},"480":{"description":"InvalidParameterException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidParameterException"}}}},"481":{"description":"InternalErrorException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InternalErrorException"}}}},"482":{"description":"AuthorizationErrorException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/AuthorizationErrorException"}}}}},"requestBody":{"content":{"text/xml":{"schema":{"$ref":"#/components/schemas/CreatePlatformApplicationInput"}}}},"parameters":[{"name":"Action","in":"query","required":true,"schema":{"type":"string","enum":["CreatePlatformApplication"]}},{"name":"Version","in":"query","required":true,"schema":{"type":"string","enum":["2010-03-31"]}}]}},"/#Action=CreatePlatformEndpoint":{"get":{"x-aws-operation-name":"CreatePlatformEndpoint","operationId":"GET_CreatePlatformEndpoint","description":"<p>Creates an endpoint for a device and mobile app on one of the supported push notification services, such as GCM (Firebase Cloud Messaging) and APNS. <code>CreatePlatformEndpoint</code> requires the <code>PlatformApplicationArn</code> that is returned from <code>CreatePlatformApplication</code>. You can use the returned <code>EndpointArn</code> to send a message to a mobile app or by the <code>Subscribe</code> action for subscription to a topic. The <code>CreatePlatformEndpoint</code> action is idempotent, so if the requester already owns an endpoint with the same device token and attributes, that endpoint's ARN 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 Notifications</a>. </p> <p>When using <code>CreatePlatformEndpoint</code> with Baidu, two attributes must be provided: ChannelId and UserId. The token field must also contain the ChannelId. For more information, see <a href=\"https://docs.aws.amazon.com/sns/latest/dg/SNSMobilePushBaiduEndpoint.html\">Creating an Amazon SNS Endpoint for Baidu</a>. </p>","responses":{"200":{"description":"Success","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/CreateEndpointResponse"}}}},"480":{"description":"InvalidParameterException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidParameterException"}}}},"481":{"description":"InternalErrorException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InternalErrorException"}}}},"482":{"description":"AuthorizationErrorException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/AuthorizationErrorException"}}}},"483":{"description":"NotFoundException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/NotFoundException"}}}}},"parameters":[{"name":"PlatformApplicationArn","in":"query","required":true,"description":"PlatformApplicationArn returned from CreatePlatformApplication is used to create a an endpoint.","schema":{"type":"string"}},{"name":"Token","in":"query","required":true,"description":"Unique identifier created by the notification service for an app on a device. The specific name for Token will vary, depending on which notification service is being used. For example, when using APNS as the notification service, you need the device token. Alternatively, when using GCM (Firebase Cloud Messaging) or ADM, the device token equivalent is called the registration ID.","schema":{"type":"string"}},{"name":"CustomUserData","in":"query","required":false,"description":"Arbitrary user data to associate with the endpoint. Amazon SNS does not use this data. The data must be in UTF-8 format and less than 2KB.","schema":{"type":"string"}},{"name":"Attributes","in":"query","required":false,"description":"For a list of attributes, see <a href=\"https://docs.aws.amazon.com/sns/latest/api/API_SetEndpointAttributes.html\">SetEndpointAttributes</a>.","schema":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/String"}}},{"name":"Action","in":"query","required":true,"schema":{"type":"string","enum":["CreatePlatformEndpoint"]}},{"name":"Version","in":"query","required":true,"schema":{"type":"string","enum":["2010-03-31"]}}]},"parameters":[{"$ref":"#/components/parameters/X-Amz-Content-Sha256"},{"$ref":"#/components/parameters/X-Amz-Date"},{"$ref":"#/components/parameters/X-Amz-Algorithm"},{"$ref":"#/components/parameters/X-Amz-Credential"},{"$ref":"#/components/parameters/X-Amz-Security-Token"},{"$ref":"#/components/parameters/X-Amz-Signature"},{"$ref":"#/components/parameters/X-Amz-SignedHeaders"}],"post":{"x-aws-operation-name":"CreatePlatformEndpoint","operationId":"POST_CreatePlatformEndpoint","description":"<p>Creates an endpoint for a device and mobile app on one of the supported push notification services, such as GCM (Firebase Cloud Messaging) and APNS. <code>CreatePlatformEndpoint</code> requires the <code>PlatformApplicationArn</code> that is returned from <code>CreatePlatformApplication</code>. You can use the returned <code>EndpointArn</code> to send a message to a mobile app or by the <code>Subscribe</code> action for subscription to a topic. The <code>CreatePlatformEndpoint</code> action is idempotent, so if the requester already owns an endpoint with the same device token and attributes, that endpoint's ARN 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 Notifications</a>. </p> <p>When using <code>CreatePlatformEndpoint</code> with Baidu, two attributes must be provided: ChannelId and UserId. The token field must also contain the ChannelId. For more information, see <a href=\"https://docs.aws.amazon.com/sns/latest/dg/SNSMobilePushBaiduEndpoint.html\">Creating an Amazon SNS Endpoint for Baidu</a>. </p>","responses":{"200":{"description":"Success","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/CreateEndpointResponse"}}}},"480":{"description":"InvalidParameterException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidParameterException"}}}},"481":{"description":"InternalErrorException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InternalErrorException"}}}},"482":{"description":"AuthorizationErrorException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/AuthorizationErrorException"}}}},"483":{"description":"NotFoundException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/NotFoundException"}}}}},"requestBody":{"content":{"text/xml":{"schema":{"$ref":"#/components/schemas/CreatePlatformEndpointInput"}}}},"parameters":[{"name":"Action","in":"query","required":true,"schema":{"type":"string","enum":["CreatePlatformEndpoint"]}},{"name":"Version","in":"query","required":true,"schema":{"type":"string","enum":["2010-03-31"]}}]}},"/#Action=CreateSMSSandboxPhoneNumber":{"get":{"x-aws-operation-name":"CreateSMSSandboxPhoneNumber","operationId":"GET_CreateSMSSandboxPhoneNumber","description":"<p>Adds a destination phone number to an Amazon Web Services account in the SMS sandbox and sends a one-time password (OTP) to that phone number.</p> <p>When you start using Amazon SNS to send SMS messages, your Amazon Web Services account is in the <i>SMS sandbox</i>. The SMS sandbox provides a safe environment for you to try Amazon SNS features without risking your reputation as an SMS sender. While your Amazon Web Services account is in the SMS sandbox, you can use all of the features of Amazon SNS. However, you can send SMS messages only to verified destination phone numbers. For more information, including how to move out of the sandbox to send messages without restrictions, see <a href=\"https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html\">SMS sandbox</a> in the <i>Amazon SNS Developer Guide</i>.</p>","responses":{"200":{"description":"Success","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/CreateSMSSandboxPhoneNumberResult"}}}},"480":{"description":"AuthorizationErrorException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/AuthorizationErrorException"}}}},"481":{"description":"InternalErrorException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InternalErrorException"}}}},"482":{"description":"InvalidParameterException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidParameterException"}}}},"483":{"description":"OptedOutException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/OptedOutException"}}}},"484":{"description":"UserErrorException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/UserErrorException"}}}},"485":{"description":"ThrottledException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/ThrottledException"}}}}},"parameters":[{"name":"PhoneNumber","in":"query","required":true,"description":"The destination phone number to verify. On verification, Amazon SNS adds this phone number to the list of verified phone numbers that you can send SMS messages to.","schema":{"type":"string","pattern":"^(\\+[0-9]{8,}|[0-9]{0,9})$","maxLength":20}},{"name":"LanguageCode","in":"query","required":false,"description":"The language to use for sending the OTP. The default value is <code>en-US</code>.","schema":{"type":"string","enum":["en-US","en-GB","es-419","es-ES","de-DE","fr-CA","fr-FR","it-IT","ja-JP","pt-BR","kr-KR","zh-CN","zh-TW"],"description":"Supported language code for sending OTP message"}},{"name":"Action","in":"query","required":true,"schema":{"type":"string","enum":["CreateSMSSandboxPhoneNumber"]}},{"name":"Version","in":"query","required":true,"schema":{"type":"string","enum":["2010-03-31"]}}]},"parameters":[{"$ref":"#/components/parameters/X-Amz-Content-Sha256"},{"$ref":"#/components/parameters/X-Amz-Date"},{"$ref":"#/components/parameters/X-Amz-Algorithm"},{"$ref":"#/components/parameters/X-Amz-Credential"},{"$ref":"#/components/parameters/X-Amz-Security-Token"},{"$ref":"#/components/parameters/X-Amz-Signature"},{"$ref":"#/components/parameters/X-Amz-SignedHeaders"}],"post":{"x-aws-operation-name":"CreateSMSSandboxPhoneNumber","operationId":"POST_CreateSMSSandboxPhoneNumber","description":"<p>Adds a destination phone number to an Amazon Web Services account in the SMS sandbox and sends a one-time password (OTP) to that phone number.</p> <p>When you start using Amazon SNS to send SMS messages, your Amazon Web Services account is in the <i>SMS sandbox</i>. The SMS sandbox provides a safe environment for you to try Amazon SNS features without risking your reputation as an SMS sender. While your Amazon Web Services account is in the SMS sandbox, you can use all of the features of Amazon SNS. However, you can send SMS messages only to verified destination phone numbers. For more information, including how to move out of the sandbox to send messages without restrictions, see <a href=\"https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html\">SMS sandbox</a> in the <i>Amazon SNS Developer Guide</i>.</p>","responses":{"200":{"description":"Success","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/CreateSMSSandboxPhoneNumberResult"}}}},"480":{"description":"AuthorizationErrorException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/AuthorizationErrorException"}}}},"481":{"description":"InternalErrorException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InternalErrorException"}}}},"482":{"description":"InvalidParameterException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidParameterException"}}}},"483":{"description":"OptedOutException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/OptedOutException"}}}},"484":{"description":"UserErrorException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/UserErrorException"}}}},"485":{"description":"ThrottledException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/ThrottledException"}}}}},"requestBody":{"content":{"text/xml":{"schema":{"$ref":"#/components/schemas/CreateSMSSandboxPhoneNumberInput"}}}},"parameters":[{"name":"Action","in":"query","required":true,"schema":{"type":"string","enum":["CreateSMSSandboxPhoneNumber"]}},{"name":"Version","in":"query","required":true,"schema":{"type":"string","enum":["2010-03-31"]}}]}},"/#Action=CreateTopic":{"get":{"x-aws-operation-name":"CreateTopic","operationId":"GET_CreateTopic","description":"Creates a topic to which notifications can be published. Users can create at most 100,000 standard topics (at most 1,000 FIFO topics). For more information, see <a href=\"https://docs.aws.amazon.com/sns/latest/dg/sns-create-topic.html\">Creating an Amazon SNS topic</a> in the <i>Amazon SNS Developer Guide</i>. This action is idempotent, so if the requester already owns a topic with the specified name, that topic's ARN is returned without creating a new topic.","responses":{"200":{"description":"Success","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/CreateTopicResponse"}}}},"480":{"description":"InvalidParameterException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidParameterException"}}}},"481":{"description":"TopicLimitExceededException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/TopicLimitExceededException"}}}},"482":{"description":"InternalErrorException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InternalErrorException"}}}},"483":{"description":"AuthorizationErrorException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/AuthorizationErrorException"}}}},"484":{"description":"InvalidSecurityException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidSecurityException"}}}},"485":{"description":"TagLimitExceededException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/TagLimitExceededException"}}}},"486":{"description":"StaleTagException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/StaleTagException"}}}},"487":{"description":"TagPolicyException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/TagPolicyException"}}}},"488":{"description":"ConcurrentAccessException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/ConcurrentAccessException"}}}}},"parameters":[{"name":"Name","in":"query","required":true,"description":"<p>The name of the topic you want to create.</p> <p>Constraints: Topic names must be made up of only uppercase and lowercase ASCII letters, numbers, underscores, and hyphens, and must be between 1 and 256 characters long.</p> <p>For a FIFO (first-in-first-out) topic, the name must end with the <code>.fifo</code> suffix. </p>","schema":{"type":"string"}},{"name":"Attributes","in":"query","required":false,"description":"<p>A map of attributes with their corresponding values.</p> <p>The following lists the names, descriptions, and values of the special request parameters that the <code>CreateTopic</code> action uses:</p> <ul> <li> <p> <code>DeliveryPolicy</code> – The policy that defines how Amazon SNS retries failed deliveries to HTTP/S endpoints.</p> </li> <li> <p> <code>DisplayName</code> – The display name to use for a topic with SMS subscriptions.</p> </li> <li> <p> <code>FifoTopic</code> – Set to true to create a FIFO topic.</p> </li> <li> <p> <code>Policy</code> – The policy that defines who can access your topic. By default, only the topic owner can publish or subscribe to the topic.</p> </li> <li> <p> <code>SignatureVersion</code> – The signature version corresponds to the hashing algorithm used while creating the signature of the notifications, subscription confirmations, or unsubscribe confirmation messages sent by Amazon SNS. By default, <code>SignatureVersion</code> is set to <code>1</code>.</p> </li> <li> <p> <code>TracingConfig</code> – Tracing mode of an Amazon SNS topic. By default <code>TracingConfig</code> is set to <code>PassThrough</code>, and the topic passes through the tracing header it receives from an Amazon SNS publisher to its subscriptions. If set to <code>Active</code>, Amazon SNS will vend X-Ray segment data to topic owner account if the sampled flag in the tracing header is true. This is only supported on standard topics.</p> </li> </ul> <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> <ul> <li> <p> <code>KmsMasterKeyId</code> – The ID of an Amazon Web Services managed customer master key (CMK) 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>. 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>Key Management Service API Reference</i>. </p> </li> </ul> <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> <ul> <li> <p> <code>FifoTopic</code> – When this is set to <code>true</code>, a FIFO topic is created.</p> </li> <li> <p> <code>ContentBasedDeduplication</code> – Enables content-based deduplication for FIFO topics.</p> <ul> <li> <p>By default, <code>ContentBasedDeduplication</code> is set to <code>false</code>. If you create a FIFO topic and this attribute is <code>false</code>, you must specify a value for the <code>MessageDeduplicationId</code> parameter for the <a href=\"https://docs.aws.amazon.com/sns/latest/api/API_Publish.html\">Publish</a> action. </p> </li> <li> <p>When you set <code>ContentBasedDeduplication</code> to <code>true</code>, Amazon SNS uses a SHA-256 hash to generate the <code>MessageDeduplicationId</code> using the body of the message (but not the attributes of the message).</p> <p>(Optional) To override the generated value, you can specify a value for the <code>MessageDeduplicationId</code> parameter for the <code>Publish</code> action.</p> </li> </ul> </li> </ul>","schema":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/attributeValue"}}},{"name":"Tags","in":"query","required":false,"description":"<p>The list of tags to add to a new topic.</p> <note> <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> </note>","schema":{"type":"array","items":{"$ref":"#/components/schemas/Tag"}}},{"name":"DataProtectionPolicy","in":"query","required":false,"description":"<p>The body of the policy document you want to use for this topic.</p> <p>You can only add one policy per topic.</p> <p>The policy must be in JSON string format.</p> <p>Length Constraints: Maximum length of 30,720.</p>","schema":{"type":"string"}},{"name":"Action","in":"query","required":true,"schema":{"type":"string","enum":["CreateTopic"]}},{"name":"Version","in":"query","required":true,"schema":{"type":"string","enum":["2010-03-31"]}}]},"parameters":[{"$ref":"#/components/parameters/X-Amz-Content-Sha256"},{"$ref":"#/components/parameters/X-Amz-Date"},{"$ref":"#/components/parameters/X-Amz-Algorithm"},{"$ref":"#/components/parameters/X-Amz-Credential"},{"$ref":"#/components/parameters/X-Amz-Security-Token"},{"$ref":"#/components/parameters/X-Amz-Signature"},{"$ref":"#/components/parameters/X-Amz-SignedHeaders"}],"post":{"x-aws-operation-name":"CreateTopic","operationId":"POST_CreateTopic","description":"Creates a topic to which notifications can be published. Users can create at most 100,000 standard topics (at most 1,000 FIFO topics). For more information, see <a href=\"https://docs.aws.amazon.com/sns/latest/dg/sns-create-topic.html\">Creating an Amazon SNS topic</a> in the <i>Amazon SNS Developer Guide</i>. This action is idempotent, so if the requester already owns a topic with the specified name, that topic's ARN is returned without creating a new topic.","responses":{"200":{"description":"Success","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/CreateTopicResponse"}}}},"480":{"description":"InvalidParameterException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidParameterException"}}}},"481":{"description":"TopicLimitExceededException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/TopicLimitExceededException"}}}},"482":{"description":"InternalErrorException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InternalErrorException"}}}},"483":{"description":"AuthorizationErrorException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/AuthorizationErrorException"}}}},"484":{"description":"InvalidSecurityException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidSecurityException"}}}},"485":{"description":"TagLimitExceededException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/TagLimitExceededException"}}}},"486":{"description":"StaleTagException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/StaleTagException"}}}},"487":{"description":"TagPolicyException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/TagPolicyException"}}}},"488":{"description":"ConcurrentAccessException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/ConcurrentAccessException"}}}}},"requestBody":{"content":{"text/xml":{"schema":{"$ref":"#/components/schemas/CreateTopicInput"}}}},"parameters":[{"name":"Action","in":"query","required":true,"schema":{"type":"string","enum":["CreateTopic"]}},{"name":"Version","in":"query","required":true,"schema":{"type":"string","enum":["2010-03-31"]}}]}},"/#Action=DeleteEndpoint":{"get":{"x-aws-operation-name":"DeleteEndpoint","operationId":"GET_DeleteEndpoint","description":"<p>Deletes the endpoint for a device and mobile app from Amazon SNS. This action is idempotent. For more information, see <a href=\"https://docs.aws.amazon.com/sns/latest/dg/SNSMobilePush.html\">Using Amazon SNS Mobile Push Notifications</a>. </p> <p>When you delete an endpoint that is also subscribed to a topic, then you must also unsubscribe the endpoint from the topic.</p>","responses":{"200":{"description":"Success"},"480":{"description":"InvalidParameterException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidParameterException"}}}},"481":{"description":"InternalErrorException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InternalErrorException"}}}},"482":{"description":"AuthorizationErrorException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/AuthorizationErrorException"}}}}},"parameters":[{"name":"EndpointArn","in":"query","required":true,"description":"EndpointArn of endpoint to delete.","schema":{"type":"string"}},{"name":"Action","in":"query","required":true,"schema":{"type":"string","enum":["DeleteEndpoint"]}},{"name":"Version","in":"query","required":true,"schema":{"type":"string","enum":["2010-03-31"]}}]},"parameters":[{"$ref":"#/components/parameters/X-Amz-Content-Sha256"},{"$ref":"#/components/parameters/X-Amz-Date"},{"$ref":"#/components/parameters/X-Amz-Algorithm"},{"$ref":"#/components/parameters/X-Amz-Credential"},{"$ref":"#/components/parameters/X-Amz-Security-Token"},{"$ref":"#/components/parameters/X-Amz-Signature"},{"$ref":"#/components/parameters/X-Amz-SignedHeaders"}],"post":{"x-aws-operation-name":"DeleteEndpoint","operationId":"POST_DeleteEndpoint","description":"<p>Deletes the endpoint for a device and mobile app from Amazon SNS. This action is idempotent. For more information, see <a href=\"https://docs.aws.amazon.com/sns/latest/dg/SNSMobilePush.html\">Using Amazon SNS Mobile Push Notifications</a>. </p> <p>When you delete an endpoint that is also subscribed to a topic, then you must also unsubscribe the endpoint from the topic.</p>","responses":{"200":{"description":"Success"},"480":{"description":"InvalidParameterException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidParameterException"}}}},"481":{"description":"InternalErrorException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InternalErrorException"}}}},"482":{"description":"AuthorizationErrorException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/AuthorizationErrorException"}}}}},"requestBody":{"content":{"text/xml":{"schema":{"$ref":"#/components/schemas/DeleteEndpointInput"}}}},"parameters":[{"name":"Action","in":"query","required":true,"schema":{"type":"string","enum":["DeleteEndpoint"]}},{"name":"Version","in":"query","required":true,"schema":{"type":"string","enum":["2010-03-31"]}}]}},"/#Action=DeletePlatformApplication":{"get":{"x-aws-operation-name":"DeletePlatformApplication","operationId":"GET_DeletePlatformApplication","description":"Deletes a platform application object for one of the supported push notification services, such as APNS and GCM (Firebase Cloud Messaging). For more information, see <a href=\"https://docs.aws.amazon.com/sns/latest/dg/SNSMobilePush.html\">Using Amazon SNS Mobile Push Notifications</a>. ","responses":{"200":{"description":"Success"},"480":{"description":"InvalidParameterException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidParameterException"}}}},"481":{"description":"InternalErrorException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InternalErrorException"}}}},"482":{"description":"AuthorizationErrorException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/AuthorizationErrorException"}}}}},"parameters":[{"name":"PlatformApplicationArn","in":"query","required":true,"description":"PlatformApplicationArn of platform application object to delete.","schema":{"type":"string"}},{"name":"Action","in":"query","required":true,"schema":{"type":"string","enum":["DeletePlatformApplication"]}},{"name":"Version","in":"query","required":true,"schema":{"type":"string","enum":["2010-03-31"]}}]},"parameters":[{"$ref":"#/components/parameters/X-Amz-Content-Sha256"},{"$ref":"#/components/parameters/X-Amz-Date"},{"$ref":"#/components/parameters/X-Amz-Algorithm"},{"$ref":"#/components/parameters/X-Amz-Credential"},{"$ref":"#/components/parameters/X-Amz-Security-Token"},{"$ref":"#/components/parameters/X-Amz-Signature"},{"$ref":"#/components/parameters/X-Amz-SignedHeaders"}],"post":{"x-aws-operation-name":"DeletePlatformApplication","operationId":"POST_DeletePlatformApplication","description":"Deletes a platform application object for one of the supported push notification services, such as APNS and GCM (Firebase Cloud Messaging). For more information, see <a href=\"https://docs.aws.amazon.com/sns/latest/dg/SNSMobilePush.html\">Using Amazon SNS Mobile Push Notifications</a>. ","responses":{"200":{"description":"Success"},"480":{"description":"InvalidParameterException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidParameterException"}}}},"481":{"description":"InternalErrorException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InternalErrorException"}}}},"482":{"description":"AuthorizationErrorException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/AuthorizationErrorException"}}}}},"requestBody":{"content":{"text/xml":{"schema":{"$ref":"#/components/schemas/DeletePlatformApplicationInput"}}}},"parameters":[{"name":"Action","in":"query","required":true,"schema":{"type":"string","enum":["DeletePlatformApplication"]}},{"name":"Version","in":"query","required":true,"schema":{"type":"string","enum":["2010-03-31"]}}]}},"/#Action=DeleteSMSSandboxPhoneNumber":{"get":{"x-aws-operation-name":"DeleteSMSSandboxPhoneNumber","operationId":"GET_DeleteSMSSandbox