@aws-sdk/client-sns 3.362.0 → 3.369.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/SNS.js +1 -1
- package/dist-cjs/SNSClient.js +5 -5
- package/dist-cjs/commands/AddPermissionCommand.js +3 -3
- package/dist-cjs/commands/CheckIfPhoneNumberIsOptedOutCommand.js +3 -3
- package/dist-cjs/commands/ConfirmSubscriptionCommand.js +3 -3
- package/dist-cjs/commands/CreatePlatformApplicationCommand.js +3 -3
- package/dist-cjs/commands/CreatePlatformEndpointCommand.js +3 -3
- package/dist-cjs/commands/CreateSMSSandboxPhoneNumberCommand.js +3 -3
- package/dist-cjs/commands/CreateTopicCommand.js +3 -3
- package/dist-cjs/commands/DeleteEndpointCommand.js +3 -3
- package/dist-cjs/commands/DeletePlatformApplicationCommand.js +3 -3
- package/dist-cjs/commands/DeleteSMSSandboxPhoneNumberCommand.js +3 -3
- package/dist-cjs/commands/DeleteTopicCommand.js +3 -3
- package/dist-cjs/commands/GetDataProtectionPolicyCommand.js +3 -3
- package/dist-cjs/commands/GetEndpointAttributesCommand.js +3 -3
- package/dist-cjs/commands/GetPlatformApplicationAttributesCommand.js +3 -3
- package/dist-cjs/commands/GetSMSAttributesCommand.js +3 -3
- package/dist-cjs/commands/GetSMSSandboxAccountStatusCommand.js +3 -3
- package/dist-cjs/commands/GetSubscriptionAttributesCommand.js +3 -3
- package/dist-cjs/commands/GetTopicAttributesCommand.js +3 -3
- package/dist-cjs/commands/ListEndpointsByPlatformApplicationCommand.js +3 -3
- package/dist-cjs/commands/ListOriginationNumbersCommand.js +3 -3
- package/dist-cjs/commands/ListPhoneNumbersOptedOutCommand.js +3 -3
- package/dist-cjs/commands/ListPlatformApplicationsCommand.js +3 -3
- package/dist-cjs/commands/ListSMSSandboxPhoneNumbersCommand.js +3 -3
- package/dist-cjs/commands/ListSubscriptionsByTopicCommand.js +3 -3
- package/dist-cjs/commands/ListSubscriptionsCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/ListTopicsCommand.js +3 -3
- package/dist-cjs/commands/OptInPhoneNumberCommand.js +3 -3
- package/dist-cjs/commands/PublishBatchCommand.js +3 -3
- package/dist-cjs/commands/PublishCommand.js +3 -3
- package/dist-cjs/commands/PutDataProtectionPolicyCommand.js +3 -3
- package/dist-cjs/commands/RemovePermissionCommand.js +3 -3
- package/dist-cjs/commands/SetEndpointAttributesCommand.js +3 -3
- package/dist-cjs/commands/SetPlatformApplicationAttributesCommand.js +3 -3
- package/dist-cjs/commands/SetSMSAttributesCommand.js +3 -3
- package/dist-cjs/commands/SetSubscriptionAttributesCommand.js +3 -3
- package/dist-cjs/commands/SetTopicAttributesCommand.js +3 -3
- package/dist-cjs/commands/SubscribeCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UnsubscribeCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/VerifySMSSandboxPhoneNumberCommand.js +3 -3
- package/dist-cjs/models/SNSServiceException.js +1 -1
- package/dist-cjs/protocols/Aws_query.js +1 -1
- package/dist-cjs/runtimeConfig.browser.js +7 -7
- package/dist-cjs/runtimeConfig.js +10 -10
- package/dist-cjs/runtimeConfig.shared.js +4 -4
- package/dist-es/SNS.js +1 -1
- package/dist-es/SNSClient.js +5 -5
- package/dist-es/commands/AddPermissionCommand.js +3 -3
- package/dist-es/commands/CheckIfPhoneNumberIsOptedOutCommand.js +3 -3
- package/dist-es/commands/ConfirmSubscriptionCommand.js +3 -3
- package/dist-es/commands/CreatePlatformApplicationCommand.js +3 -3
- package/dist-es/commands/CreatePlatformEndpointCommand.js +3 -3
- package/dist-es/commands/CreateSMSSandboxPhoneNumberCommand.js +3 -3
- package/dist-es/commands/CreateTopicCommand.js +3 -3
- package/dist-es/commands/DeleteEndpointCommand.js +3 -3
- package/dist-es/commands/DeletePlatformApplicationCommand.js +3 -3
- package/dist-es/commands/DeleteSMSSandboxPhoneNumberCommand.js +3 -3
- package/dist-es/commands/DeleteTopicCommand.js +3 -3
- package/dist-es/commands/GetDataProtectionPolicyCommand.js +3 -3
- package/dist-es/commands/GetEndpointAttributesCommand.js +3 -3
- package/dist-es/commands/GetPlatformApplicationAttributesCommand.js +3 -3
- package/dist-es/commands/GetSMSAttributesCommand.js +3 -3
- package/dist-es/commands/GetSMSSandboxAccountStatusCommand.js +3 -3
- package/dist-es/commands/GetSubscriptionAttributesCommand.js +3 -3
- package/dist-es/commands/GetTopicAttributesCommand.js +3 -3
- package/dist-es/commands/ListEndpointsByPlatformApplicationCommand.js +3 -3
- package/dist-es/commands/ListOriginationNumbersCommand.js +3 -3
- package/dist-es/commands/ListPhoneNumbersOptedOutCommand.js +3 -3
- package/dist-es/commands/ListPlatformApplicationsCommand.js +3 -3
- package/dist-es/commands/ListSMSSandboxPhoneNumbersCommand.js +3 -3
- package/dist-es/commands/ListSubscriptionsByTopicCommand.js +3 -3
- package/dist-es/commands/ListSubscriptionsCommand.js +3 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-es/commands/ListTopicsCommand.js +3 -3
- package/dist-es/commands/OptInPhoneNumberCommand.js +3 -3
- package/dist-es/commands/PublishBatchCommand.js +3 -3
- package/dist-es/commands/PublishCommand.js +3 -3
- package/dist-es/commands/PutDataProtectionPolicyCommand.js +3 -3
- package/dist-es/commands/RemovePermissionCommand.js +3 -3
- package/dist-es/commands/SetEndpointAttributesCommand.js +3 -3
- package/dist-es/commands/SetPlatformApplicationAttributesCommand.js +3 -3
- package/dist-es/commands/SetSMSAttributesCommand.js +3 -3
- package/dist-es/commands/SetSubscriptionAttributesCommand.js +3 -3
- package/dist-es/commands/SetTopicAttributesCommand.js +3 -3
- package/dist-es/commands/SubscribeCommand.js +3 -3
- package/dist-es/commands/TagResourceCommand.js +3 -3
- package/dist-es/commands/UnsubscribeCommand.js +3 -3
- package/dist-es/commands/UntagResourceCommand.js +3 -3
- package/dist-es/commands/VerifySMSSandboxPhoneNumberCommand.js +3 -3
- package/dist-es/models/SNSServiceException.js +1 -1
- package/dist-es/protocols/Aws_query.js +1 -1
- package/dist-es/runtimeConfig.browser.js +7 -7
- package/dist-es/runtimeConfig.js +10 -10
- package/dist-es/runtimeConfig.shared.js +4 -4
- package/dist-types/SNS.d.ts +1 -1
- package/dist-types/SNSClient.d.ts +8 -8
- package/dist-types/commands/AddPermissionCommand.d.ts +3 -3
- package/dist-types/commands/CheckIfPhoneNumberIsOptedOutCommand.d.ts +3 -3
- package/dist-types/commands/ConfirmSubscriptionCommand.d.ts +3 -3
- package/dist-types/commands/CreatePlatformApplicationCommand.d.ts +3 -3
- package/dist-types/commands/CreatePlatformEndpointCommand.d.ts +3 -3
- package/dist-types/commands/CreateSMSSandboxPhoneNumberCommand.d.ts +3 -3
- package/dist-types/commands/CreateTopicCommand.d.ts +3 -3
- package/dist-types/commands/DeleteEndpointCommand.d.ts +3 -3
- package/dist-types/commands/DeletePlatformApplicationCommand.d.ts +3 -3
- package/dist-types/commands/DeleteSMSSandboxPhoneNumberCommand.d.ts +3 -3
- package/dist-types/commands/DeleteTopicCommand.d.ts +3 -3
- package/dist-types/commands/GetDataProtectionPolicyCommand.d.ts +3 -3
- package/dist-types/commands/GetEndpointAttributesCommand.d.ts +3 -3
- package/dist-types/commands/GetPlatformApplicationAttributesCommand.d.ts +3 -3
- package/dist-types/commands/GetSMSAttributesCommand.d.ts +3 -3
- package/dist-types/commands/GetSMSSandboxAccountStatusCommand.d.ts +3 -3
- package/dist-types/commands/GetSubscriptionAttributesCommand.d.ts +3 -3
- package/dist-types/commands/GetTopicAttributesCommand.d.ts +3 -3
- package/dist-types/commands/ListEndpointsByPlatformApplicationCommand.d.ts +3 -3
- package/dist-types/commands/ListOriginationNumbersCommand.d.ts +3 -3
- package/dist-types/commands/ListPhoneNumbersOptedOutCommand.d.ts +3 -3
- package/dist-types/commands/ListPlatformApplicationsCommand.d.ts +3 -3
- package/dist-types/commands/ListSMSSandboxPhoneNumbersCommand.d.ts +3 -3
- package/dist-types/commands/ListSubscriptionsByTopicCommand.d.ts +3 -3
- package/dist-types/commands/ListSubscriptionsCommand.d.ts +3 -3
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
- package/dist-types/commands/ListTopicsCommand.d.ts +3 -3
- package/dist-types/commands/OptInPhoneNumberCommand.d.ts +3 -3
- package/dist-types/commands/PublishBatchCommand.d.ts +3 -3
- package/dist-types/commands/PublishCommand.d.ts +3 -3
- package/dist-types/commands/PutDataProtectionPolicyCommand.d.ts +3 -3
- package/dist-types/commands/RemovePermissionCommand.d.ts +3 -3
- package/dist-types/commands/SetEndpointAttributesCommand.d.ts +3 -3
- package/dist-types/commands/SetPlatformApplicationAttributesCommand.d.ts +3 -3
- package/dist-types/commands/SetSMSAttributesCommand.d.ts +3 -3
- package/dist-types/commands/SetSubscriptionAttributesCommand.d.ts +3 -3
- package/dist-types/commands/SetTopicAttributesCommand.d.ts +3 -3
- package/dist-types/commands/SubscribeCommand.d.ts +3 -3
- package/dist-types/commands/TagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UnsubscribeCommand.d.ts +3 -3
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
- package/dist-types/commands/VerifySMSSandboxPhoneNumberCommand.d.ts +3 -3
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -2
- package/dist-types/endpoint/endpointResolver.d.ts +1 -1
- package/dist-types/endpoint/ruleset.d.ts +1 -1
- package/dist-types/models/SNSServiceException.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +1 -1
- package/dist-types/pagination/Interfaces.d.ts +1 -1
- package/dist-types/pagination/ListEndpointsByPlatformApplicationPaginator.d.ts +1 -1
- package/dist-types/pagination/ListOriginationNumbersPaginator.d.ts +1 -1
- package/dist-types/pagination/ListPhoneNumbersOptedOutPaginator.d.ts +1 -1
- package/dist-types/pagination/ListPlatformApplicationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSMSSandboxPhoneNumbersPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSubscriptionsByTopicPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSubscriptionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTopicsPaginator.d.ts +1 -1
- package/dist-types/runtimeConfig.browser.d.ts +20 -20
- package/dist-types/runtimeConfig.d.ts +20 -20
- package/dist-types/runtimeConfig.native.d.ts +19 -19
- package/dist-types/runtimeConfig.shared.d.ts +4 -4
- package/dist-types/ts3.4/SNS.d.ts +1 -1
- package/dist-types/ts3.4/SNSClient.d.ts +19 -21
- package/dist-types/ts3.4/commands/AddPermissionCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/CheckIfPhoneNumberIsOptedOutCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/ConfirmSubscriptionCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/CreatePlatformApplicationCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/CreatePlatformEndpointCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/CreateSMSSandboxPhoneNumberCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/CreateTopicCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/DeleteEndpointCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/DeletePlatformApplicationCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/DeleteSMSSandboxPhoneNumberCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/DeleteTopicCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/GetDataProtectionPolicyCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/GetEndpointAttributesCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/GetPlatformApplicationAttributesCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/GetSMSAttributesCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/GetSMSSandboxAccountStatusCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/GetSubscriptionAttributesCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/GetTopicAttributesCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/ListEndpointsByPlatformApplicationCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/ListOriginationNumbersCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/ListPhoneNumbersOptedOutCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/ListPlatformApplicationsCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/ListSMSSandboxPhoneNumbersCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/ListSubscriptionsByTopicCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/ListSubscriptionsCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/ListTopicsCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/OptInPhoneNumberCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/PublishBatchCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/PublishCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/PutDataProtectionPolicyCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/RemovePermissionCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/SetEndpointAttributesCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/SetPlatformApplicationAttributesCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/SetSMSAttributesCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/SetSubscriptionAttributesCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/SetTopicAttributesCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/SubscribeCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/UnsubscribeCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/VerifySMSSandboxPhoneNumberCommand.d.ts +3 -3
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +3 -2
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +1 -1
- package/dist-types/ts3.4/models/SNSServiceException.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +1 -1
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -1
- package/dist-types/ts3.4/pagination/ListEndpointsByPlatformApplicationPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/ListOriginationNumbersPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/ListPhoneNumbersOptedOutPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/ListPlatformApplicationsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/ListSMSSandboxPhoneNumbersPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/ListSubscriptionsByTopicPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/ListSubscriptionsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/ListTopicsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +35 -40
- package/dist-types/ts3.4/runtimeConfig.d.ts +35 -37
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +33 -38
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -4
- package/package.json +34 -33
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_SubscribeCommand, se_SubscribeCommand } from "../protocols/Aws_query";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class SubscribeCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_query";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class TagResourceCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_UnsubscribeCommand, se_UnsubscribeCommand } from "../protocols/Aws_query";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UnsubscribeCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_query";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UntagResourceCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_VerifySMSSandboxPhoneNumberCommand, se_VerifySMSSandboxPhoneNumberCommand } from "../protocols/Aws_query";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class VerifySMSSandboxPhoneNumberCommand extends $Command {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ServiceException as __ServiceException, } from "@
|
|
1
|
+
import { ServiceException as __ServiceException, } from "@smithy/smithy-client";
|
|
2
2
|
export { __ServiceException };
|
|
3
3
|
export class SNSServiceException extends __ServiceException {
|
|
4
4
|
constructor(options) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, getValueFromTextNode as __getValueFromTextNode, parseBoolean as __parseBoolean, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, withBaseException, } from "@aws-sdk/smithy-client";
|
|
2
1
|
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
2
|
+
import { collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, getValueFromTextNode as __getValueFromTextNode, parseBoolean as __parseBoolean, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, withBaseException, } from "@smithy/smithy-client";
|
|
3
3
|
import { XMLParser } from "fast-xml-parser";
|
|
4
4
|
import { AuthorizationErrorException, BatchEntryIdsNotDistinctException, BatchRequestTooLongException, ConcurrentAccessException, EmptyBatchRequestException, EndpointDisabledException, FilterPolicyLimitExceededException, InternalErrorException, InvalidBatchEntryIdException, InvalidParameterException, InvalidParameterValueException, InvalidSecurityException, KMSAccessDeniedException, KMSDisabledException, KMSInvalidStateException, KMSNotFoundException, KMSOptInRequired, KMSThrottlingException, NotFoundException, OptedOutException, PlatformApplicationDisabledException, ResourceNotFoundException, StaleTagException, SubscriptionLimitExceededException, TagLimitExceededException, TagPolicyException, ThrottledException, TooManyEntriesInBatchRequestException, TopicLimitExceededException, UserErrorException, ValidationException, VerificationException, } from "../models/models_0";
|
|
5
5
|
import { SNSServiceException as __BaseException } from "../models/SNSServiceException";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
2
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
|
-
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
|
|
4
|
-
import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
5
|
-
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
6
|
-
import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
|
|
7
|
-
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/util-retry";
|
|
8
3
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
4
|
+
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver";
|
|
5
|
+
import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
|
|
6
|
+
import { invalidProvider } from "@smithy/invalid-dependency";
|
|
7
|
+
import { calculateBodyLength } from "@smithy/util-body-length-browser";
|
|
8
|
+
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
9
9
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
10
|
-
import { loadConfigsForDefaultMode } from "@
|
|
11
|
-
import { resolveDefaultsModeConfig } from "@
|
|
10
|
+
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
11
|
+
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
|
|
12
12
|
export const getRuntimeConfig = (config) => {
|
|
13
13
|
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
14
14
|
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
2
|
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
3
|
-
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
|
|
4
3
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
5
|
-
import { Hash } from "@aws-sdk/hash-node";
|
|
6
|
-
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
|
|
7
|
-
import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
|
|
8
|
-
import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
9
|
-
import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
10
|
-
import { DEFAULT_RETRY_MODE } from "@aws-sdk/util-retry";
|
|
11
4
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
5
|
+
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
|
|
6
|
+
import { Hash } from "@smithy/hash-node";
|
|
7
|
+
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
|
|
8
|
+
import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider";
|
|
9
|
+
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
10
|
+
import { calculateBodyLength } from "@smithy/util-body-length-node";
|
|
11
|
+
import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
12
12
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
13
|
-
import { loadConfigsForDefaultMode } from "@
|
|
14
|
-
import { resolveDefaultsModeConfig } from "@
|
|
15
|
-
import { emitWarningIfUnsupportedVersion } from "@
|
|
13
|
+
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
14
|
+
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
|
|
15
|
+
import { emitWarningIfUnsupportedVersion } from "@smithy/smithy-client";
|
|
16
16
|
export const getRuntimeConfig = (config) => {
|
|
17
17
|
emitWarningIfUnsupportedVersion(process.version);
|
|
18
18
|
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { NoOpLogger } from "@
|
|
2
|
-
import { parseUrl } from "@
|
|
3
|
-
import { fromBase64, toBase64 } from "@
|
|
4
|
-
import { fromUtf8, toUtf8 } from "@
|
|
1
|
+
import { NoOpLogger } from "@smithy/smithy-client";
|
|
2
|
+
import { parseUrl } from "@smithy/url-parser";
|
|
3
|
+
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
4
|
+
import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
|
|
5
5
|
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
6
6
|
export const getRuntimeConfig = (config) => ({
|
|
7
7
|
apiVersion: "2010-03-31",
|
package/dist-types/SNS.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HttpHandlerOptions as __HttpHandlerOptions } from "@
|
|
1
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
2
|
import { AddPermissionCommandInput, AddPermissionCommandOutput } from "./commands/AddPermissionCommand";
|
|
3
3
|
import { CheckIfPhoneNumberIsOptedOutCommandInput, CheckIfPhoneNumberIsOptedOutCommandOutput } from "./commands/CheckIfPhoneNumberIsOptedOutCommand";
|
|
4
4
|
import { ConfirmSubscriptionCommandInput, ConfirmSubscriptionCommandOutput } from "./commands/ConfirmSubscriptionCommand";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
|
|
2
|
-
import { EndpointInputConfig, EndpointResolvedConfig } from "@aws-sdk/middleware-endpoint";
|
|
3
1
|
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
4
|
-
import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
5
2
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
6
3
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
4
|
+
import { Credentials as __Credentials } from "@aws-sdk/types";
|
|
5
|
+
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
|
|
6
|
+
import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
|
|
7
|
+
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
9
8
|
import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
|
|
10
|
-
import {
|
|
9
|
+
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
|
|
10
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
11
11
|
import { AddPermissionCommandInput, AddPermissionCommandOutput } from "./commands/AddPermissionCommand";
|
|
12
12
|
import { CheckIfPhoneNumberIsOptedOutCommandInput, CheckIfPhoneNumberIsOptedOutCommandOutput } from "./commands/CheckIfPhoneNumberIsOptedOutCommand";
|
|
13
13
|
import { ConfirmSubscriptionCommandInput, ConfirmSubscriptionCommandOutput } from "./commands/ConfirmSubscriptionCommand";
|
|
@@ -69,7 +69,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
69
69
|
*/
|
|
70
70
|
requestHandler?: __HttpHandler;
|
|
71
71
|
/**
|
|
72
|
-
* A constructor for a class implementing the {@link @
|
|
72
|
+
* A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface
|
|
73
73
|
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
74
74
|
* @internal
|
|
75
75
|
*/
|
|
@@ -159,7 +159,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
159
159
|
*/
|
|
160
160
|
logger?: __Logger;
|
|
161
161
|
/**
|
|
162
|
-
* The {@link @
|
|
162
|
+
* The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
163
163
|
*/
|
|
164
164
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
165
165
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { AddPermissionInput } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { CheckIfPhoneNumberIsOptedOutInput, CheckIfPhoneNumberIsOptedOutResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { ConfirmSubscriptionInput, ConfirmSubscriptionResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { CreatePlatformApplicationInput, CreatePlatformApplicationResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { CreateEndpointResponse, CreatePlatformEndpointInput } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { CreateSMSSandboxPhoneNumberInput, CreateSMSSandboxPhoneNumberResult } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { CreateTopicInput, CreateTopicResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { DeleteEndpointInput } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { DeletePlatformApplicationInput } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { DeleteSMSSandboxPhoneNumberInput, DeleteSMSSandboxPhoneNumberResult } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { DeleteTopicInput } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { GetDataProtectionPolicyInput, GetDataProtectionPolicyResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { GetEndpointAttributesInput, GetEndpointAttributesResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { GetPlatformApplicationAttributesInput, GetPlatformApplicationAttributesResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { GetSMSAttributesInput, GetSMSAttributesResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { GetSMSSandboxAccountStatusInput, GetSMSSandboxAccountStatusResult } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { GetSubscriptionAttributesInput, GetSubscriptionAttributesResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { GetTopicAttributesInput, GetTopicAttributesResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { ListEndpointsByPlatformApplicationInput, ListEndpointsByPlatformApplicationResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { ListOriginationNumbersRequest, ListOriginationNumbersResult } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { ListPhoneNumbersOptedOutInput, ListPhoneNumbersOptedOutResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { ListPlatformApplicationsInput, ListPlatformApplicationsResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { ListSMSSandboxPhoneNumbersInput, ListSMSSandboxPhoneNumbersResult } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { ListSubscriptionsByTopicInput, ListSubscriptionsByTopicResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { ListSubscriptionsInput, ListSubscriptionsResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { ListTopicsInput, ListTopicsResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { OptInPhoneNumberInput, OptInPhoneNumberResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { PublishBatchInput, PublishBatchResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { PublishInput, PublishResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { PutDataProtectionPolicyInput } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { RemovePermissionInput } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { SetEndpointAttributesInput } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { SetPlatformApplicationAttributesInput } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
|
|
6
6
|
/**
|