@aws-sdk/client-sns 3.294.0 → 3.296.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/commands/AddPermissionCommand.js +4 -4
- package/dist-cjs/commands/CheckIfPhoneNumberIsOptedOutCommand.js +4 -4
- package/dist-cjs/commands/ConfirmSubscriptionCommand.js +4 -4
- package/dist-cjs/commands/CreatePlatformApplicationCommand.js +4 -4
- package/dist-cjs/commands/CreatePlatformEndpointCommand.js +4 -4
- package/dist-cjs/commands/CreateSMSSandboxPhoneNumberCommand.js +4 -4
- package/dist-cjs/commands/CreateTopicCommand.js +4 -4
- package/dist-cjs/commands/DeleteEndpointCommand.js +4 -4
- package/dist-cjs/commands/DeletePlatformApplicationCommand.js +4 -4
- package/dist-cjs/commands/DeleteSMSSandboxPhoneNumberCommand.js +4 -4
- package/dist-cjs/commands/DeleteTopicCommand.js +4 -4
- package/dist-cjs/commands/GetDataProtectionPolicyCommand.js +4 -4
- package/dist-cjs/commands/GetEndpointAttributesCommand.js +4 -4
- package/dist-cjs/commands/GetPlatformApplicationAttributesCommand.js +4 -4
- package/dist-cjs/commands/GetSMSAttributesCommand.js +4 -4
- package/dist-cjs/commands/GetSMSSandboxAccountStatusCommand.js +4 -4
- package/dist-cjs/commands/GetSubscriptionAttributesCommand.js +4 -4
- package/dist-cjs/commands/GetTopicAttributesCommand.js +4 -4
- package/dist-cjs/commands/ListEndpointsByPlatformApplicationCommand.js +4 -4
- package/dist-cjs/commands/ListOriginationNumbersCommand.js +4 -4
- package/dist-cjs/commands/ListPhoneNumbersOptedOutCommand.js +4 -4
- package/dist-cjs/commands/ListPlatformApplicationsCommand.js +4 -4
- package/dist-cjs/commands/ListSMSSandboxPhoneNumbersCommand.js +4 -4
- package/dist-cjs/commands/ListSubscriptionsByTopicCommand.js +4 -4
- package/dist-cjs/commands/ListSubscriptionsCommand.js +4 -4
- package/dist-cjs/commands/ListTagsForResourceCommand.js +4 -4
- package/dist-cjs/commands/ListTopicsCommand.js +4 -4
- package/dist-cjs/commands/OptInPhoneNumberCommand.js +4 -4
- package/dist-cjs/commands/PublishBatchCommand.js +4 -4
- package/dist-cjs/commands/PublishCommand.js +4 -4
- package/dist-cjs/commands/PutDataProtectionPolicyCommand.js +4 -4
- package/dist-cjs/commands/RemovePermissionCommand.js +4 -4
- package/dist-cjs/commands/SetEndpointAttributesCommand.js +4 -4
- package/dist-cjs/commands/SetPlatformApplicationAttributesCommand.js +4 -4
- package/dist-cjs/commands/SetSMSAttributesCommand.js +4 -4
- package/dist-cjs/commands/SetSubscriptionAttributesCommand.js +4 -4
- package/dist-cjs/commands/SetTopicAttributesCommand.js +4 -4
- package/dist-cjs/commands/SubscribeCommand.js +4 -4
- package/dist-cjs/commands/TagResourceCommand.js +4 -4
- package/dist-cjs/commands/UnsubscribeCommand.js +4 -4
- package/dist-cjs/commands/UntagResourceCommand.js +4 -4
- package/dist-cjs/commands/VerifySMSSandboxPhoneNumberCommand.js +4 -4
- package/dist-es/commands/AddPermissionCommand.js +4 -4
- package/dist-es/commands/CheckIfPhoneNumberIsOptedOutCommand.js +4 -4
- package/dist-es/commands/ConfirmSubscriptionCommand.js +4 -4
- package/dist-es/commands/CreatePlatformApplicationCommand.js +4 -4
- package/dist-es/commands/CreatePlatformEndpointCommand.js +4 -4
- package/dist-es/commands/CreateSMSSandboxPhoneNumberCommand.js +4 -4
- package/dist-es/commands/CreateTopicCommand.js +4 -4
- package/dist-es/commands/DeleteEndpointCommand.js +4 -4
- package/dist-es/commands/DeletePlatformApplicationCommand.js +4 -4
- package/dist-es/commands/DeleteSMSSandboxPhoneNumberCommand.js +4 -4
- package/dist-es/commands/DeleteTopicCommand.js +4 -4
- package/dist-es/commands/GetDataProtectionPolicyCommand.js +4 -4
- package/dist-es/commands/GetEndpointAttributesCommand.js +4 -4
- package/dist-es/commands/GetPlatformApplicationAttributesCommand.js +4 -4
- package/dist-es/commands/GetSMSAttributesCommand.js +4 -4
- package/dist-es/commands/GetSMSSandboxAccountStatusCommand.js +4 -4
- package/dist-es/commands/GetSubscriptionAttributesCommand.js +4 -4
- package/dist-es/commands/GetTopicAttributesCommand.js +4 -4
- package/dist-es/commands/ListEndpointsByPlatformApplicationCommand.js +4 -4
- package/dist-es/commands/ListOriginationNumbersCommand.js +4 -4
- package/dist-es/commands/ListPhoneNumbersOptedOutCommand.js +4 -4
- package/dist-es/commands/ListPlatformApplicationsCommand.js +4 -4
- package/dist-es/commands/ListSMSSandboxPhoneNumbersCommand.js +4 -4
- package/dist-es/commands/ListSubscriptionsByTopicCommand.js +4 -4
- package/dist-es/commands/ListSubscriptionsCommand.js +4 -4
- package/dist-es/commands/ListTagsForResourceCommand.js +4 -4
- package/dist-es/commands/ListTopicsCommand.js +4 -4
- package/dist-es/commands/OptInPhoneNumberCommand.js +4 -4
- package/dist-es/commands/PublishBatchCommand.js +4 -4
- package/dist-es/commands/PublishCommand.js +4 -4
- package/dist-es/commands/PutDataProtectionPolicyCommand.js +4 -4
- package/dist-es/commands/RemovePermissionCommand.js +4 -4
- package/dist-es/commands/SetEndpointAttributesCommand.js +4 -4
- package/dist-es/commands/SetPlatformApplicationAttributesCommand.js +4 -4
- package/dist-es/commands/SetSMSAttributesCommand.js +4 -4
- package/dist-es/commands/SetSubscriptionAttributesCommand.js +4 -4
- package/dist-es/commands/SetTopicAttributesCommand.js +4 -4
- package/dist-es/commands/SubscribeCommand.js +4 -4
- package/dist-es/commands/TagResourceCommand.js +4 -4
- package/dist-es/commands/UnsubscribeCommand.js +4 -4
- package/dist-es/commands/UntagResourceCommand.js +4 -4
- package/dist-es/commands/VerifySMSSandboxPhoneNumberCommand.js +4 -4
- package/dist-types/SNSClient.d.ts +4 -4
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/SNSClient.d.ts +4 -4
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +3 -4
- package/package.json +36 -36
|
@@ -50,8 +50,8 @@ import { UnsubscribeCommandInput, UnsubscribeCommandOutput } from "./commands/Un
|
|
|
50
50
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
51
51
|
import { VerifySMSSandboxPhoneNumberCommandInput, VerifySMSSandboxPhoneNumberCommandOutput } from "./commands/VerifySMSSandboxPhoneNumberCommand";
|
|
52
52
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
53
|
-
export
|
|
54
|
-
export
|
|
53
|
+
export type ServiceInputTypes = AddPermissionCommandInput | CheckIfPhoneNumberIsOptedOutCommandInput | ConfirmSubscriptionCommandInput | CreatePlatformApplicationCommandInput | CreatePlatformEndpointCommandInput | CreateSMSSandboxPhoneNumberCommandInput | CreateTopicCommandInput | DeleteEndpointCommandInput | DeletePlatformApplicationCommandInput | DeleteSMSSandboxPhoneNumberCommandInput | DeleteTopicCommandInput | GetDataProtectionPolicyCommandInput | GetEndpointAttributesCommandInput | GetPlatformApplicationAttributesCommandInput | GetSMSAttributesCommandInput | GetSMSSandboxAccountStatusCommandInput | GetSubscriptionAttributesCommandInput | GetTopicAttributesCommandInput | ListEndpointsByPlatformApplicationCommandInput | ListOriginationNumbersCommandInput | ListPhoneNumbersOptedOutCommandInput | ListPlatformApplicationsCommandInput | ListSMSSandboxPhoneNumbersCommandInput | ListSubscriptionsByTopicCommandInput | ListSubscriptionsCommandInput | ListTagsForResourceCommandInput | ListTopicsCommandInput | OptInPhoneNumberCommandInput | PublishBatchCommandInput | PublishCommandInput | PutDataProtectionPolicyCommandInput | RemovePermissionCommandInput | SetEndpointAttributesCommandInput | SetPlatformApplicationAttributesCommandInput | SetSMSAttributesCommandInput | SetSubscriptionAttributesCommandInput | SetTopicAttributesCommandInput | SubscribeCommandInput | TagResourceCommandInput | UnsubscribeCommandInput | UntagResourceCommandInput | VerifySMSSandboxPhoneNumberCommandInput;
|
|
54
|
+
export type ServiceOutputTypes = AddPermissionCommandOutput | CheckIfPhoneNumberIsOptedOutCommandOutput | ConfirmSubscriptionCommandOutput | CreatePlatformApplicationCommandOutput | CreatePlatformEndpointCommandOutput | CreateSMSSandboxPhoneNumberCommandOutput | CreateTopicCommandOutput | DeleteEndpointCommandOutput | DeletePlatformApplicationCommandOutput | DeleteSMSSandboxPhoneNumberCommandOutput | DeleteTopicCommandOutput | GetDataProtectionPolicyCommandOutput | GetEndpointAttributesCommandOutput | GetPlatformApplicationAttributesCommandOutput | GetSMSAttributesCommandOutput | GetSMSSandboxAccountStatusCommandOutput | GetSubscriptionAttributesCommandOutput | GetTopicAttributesCommandOutput | ListEndpointsByPlatformApplicationCommandOutput | ListOriginationNumbersCommandOutput | ListPhoneNumbersOptedOutCommandOutput | ListPlatformApplicationsCommandOutput | ListSMSSandboxPhoneNumbersCommandOutput | ListSubscriptionsByTopicCommandOutput | ListSubscriptionsCommandOutput | ListTagsForResourceCommandOutput | ListTopicsCommandOutput | OptInPhoneNumberCommandOutput | PublishBatchCommandOutput | PublishCommandOutput | PutDataProtectionPolicyCommandOutput | RemovePermissionCommandOutput | SetEndpointAttributesCommandOutput | SetPlatformApplicationAttributesCommandOutput | SetSMSAttributesCommandOutput | SetSubscriptionAttributesCommandOutput | SetTopicAttributesCommandOutput | SubscribeCommandOutput | TagResourceCommandOutput | UnsubscribeCommandOutput | UntagResourceCommandOutput | VerifySMSSandboxPhoneNumberCommandOutput;
|
|
55
55
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
56
56
|
/**
|
|
57
57
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -152,13 +152,13 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
152
152
|
*/
|
|
153
153
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
154
154
|
}
|
|
155
|
-
|
|
155
|
+
type SNSClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
156
156
|
/**
|
|
157
157
|
* The configuration interface of SNSClient class constructor that set the region, credentials and other options.
|
|
158
158
|
*/
|
|
159
159
|
export interface SNSClientConfig extends SNSClientConfigType {
|
|
160
160
|
}
|
|
161
|
-
|
|
161
|
+
type SNSClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
162
162
|
/**
|
|
163
163
|
* The resolved configuration interface of SNSClient class. This is resolved and normalized from the {@link SNSClientConfig | constructor configuration interface}.
|
|
164
164
|
*/
|
|
@@ -5,7 +5,7 @@ export interface ClientInputEndpointParameters {
|
|
|
5
5
|
useFipsEndpoint?: boolean | Provider<boolean>;
|
|
6
6
|
endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
|
|
7
7
|
}
|
|
8
|
-
export
|
|
8
|
+
export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
|
|
9
9
|
defaultSigningName: string;
|
|
10
10
|
};
|
|
11
11
|
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
|
|
@@ -217,7 +217,7 @@ import {
|
|
|
217
217
|
ClientResolvedEndpointParameters,
|
|
218
218
|
EndpointParameters,
|
|
219
219
|
} from "./endpoint/EndpointParameters";
|
|
220
|
-
export
|
|
220
|
+
export type ServiceInputTypes =
|
|
221
221
|
| AddPermissionCommandInput
|
|
222
222
|
| CheckIfPhoneNumberIsOptedOutCommandInput
|
|
223
223
|
| ConfirmSubscriptionCommandInput
|
|
@@ -260,7 +260,7 @@ export declare type ServiceInputTypes =
|
|
|
260
260
|
| UnsubscribeCommandInput
|
|
261
261
|
| UntagResourceCommandInput
|
|
262
262
|
| VerifySMSSandboxPhoneNumberCommandInput;
|
|
263
|
-
export
|
|
263
|
+
export type ServiceOutputTypes =
|
|
264
264
|
| AddPermissionCommandOutput
|
|
265
265
|
| CheckIfPhoneNumberIsOptedOutCommandOutput
|
|
266
266
|
| ConfirmSubscriptionCommandOutput
|
|
@@ -327,7 +327,7 @@ export interface ClientDefaults
|
|
|
327
327
|
logger?: __Logger;
|
|
328
328
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
329
329
|
}
|
|
330
|
-
|
|
330
|
+
type SNSClientConfigType = Partial<
|
|
331
331
|
__SmithyConfiguration<__HttpHandlerOptions>
|
|
332
332
|
> &
|
|
333
333
|
ClientDefaults &
|
|
@@ -339,7 +339,7 @@ declare type SNSClientConfigType = Partial<
|
|
|
339
339
|
UserAgentInputConfig &
|
|
340
340
|
ClientInputEndpointParameters;
|
|
341
341
|
export interface SNSClientConfig extends SNSClientConfigType {}
|
|
342
|
-
|
|
342
|
+
type SNSClientResolvedConfigType =
|
|
343
343
|
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
344
344
|
Required<ClientDefaults> &
|
|
345
345
|
RegionResolvedConfig &
|
|
@@ -16,10 +16,9 @@ export interface ClientInputEndpointParameters {
|
|
|
16
16
|
| EndpointV2
|
|
17
17
|
| Provider<EndpointV2>;
|
|
18
18
|
}
|
|
19
|
-
export
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
};
|
|
19
|
+
export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
|
|
20
|
+
defaultSigningName: string;
|
|
21
|
+
};
|
|
23
22
|
export declare const resolveClientEndpointParameters: <T>(
|
|
24
23
|
options: T & ClientInputEndpointParameters
|
|
25
24
|
) => T &
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sns",
|
|
3
3
|
"description": "AWS SDK for JavaScript Sns Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.296.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20,50 +20,50 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
27
|
-
"@aws-sdk/hash-node": "3.
|
|
28
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
29
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
30
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
31
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
32
|
-
"@aws-sdk/middleware-logger": "3.
|
|
33
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
34
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
-
"@aws-sdk/middleware-serde": "3.
|
|
36
|
-
"@aws-sdk/middleware-signing": "3.
|
|
37
|
-
"@aws-sdk/middleware-stack": "3.
|
|
38
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
-
"@aws-sdk/node-http-handler": "3.
|
|
41
|
-
"@aws-sdk/protocol-http": "3.
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
-
"@aws-sdk/types": "3.
|
|
44
|
-
"@aws-sdk/url-parser": "3.
|
|
45
|
-
"@aws-sdk/util-base64": "3.
|
|
46
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
-
"@aws-sdk/util-retry": "3.
|
|
52
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
54
|
-
"@aws-sdk/util-utf8": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.296.0",
|
|
24
|
+
"@aws-sdk/config-resolver": "3.296.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.296.0",
|
|
26
|
+
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
27
|
+
"@aws-sdk/hash-node": "3.296.0",
|
|
28
|
+
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
29
|
+
"@aws-sdk/middleware-content-length": "3.296.0",
|
|
30
|
+
"@aws-sdk/middleware-endpoint": "3.296.0",
|
|
31
|
+
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
32
|
+
"@aws-sdk/middleware-logger": "3.296.0",
|
|
33
|
+
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
34
|
+
"@aws-sdk/middleware-retry": "3.296.0",
|
|
35
|
+
"@aws-sdk/middleware-serde": "3.296.0",
|
|
36
|
+
"@aws-sdk/middleware-signing": "3.296.0",
|
|
37
|
+
"@aws-sdk/middleware-stack": "3.296.0",
|
|
38
|
+
"@aws-sdk/middleware-user-agent": "3.296.0",
|
|
39
|
+
"@aws-sdk/node-config-provider": "3.296.0",
|
|
40
|
+
"@aws-sdk/node-http-handler": "3.296.0",
|
|
41
|
+
"@aws-sdk/protocol-http": "3.296.0",
|
|
42
|
+
"@aws-sdk/smithy-client": "3.296.0",
|
|
43
|
+
"@aws-sdk/types": "3.296.0",
|
|
44
|
+
"@aws-sdk/url-parser": "3.296.0",
|
|
45
|
+
"@aws-sdk/util-base64": "3.295.0",
|
|
46
|
+
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
47
|
+
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.296.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.296.0",
|
|
51
|
+
"@aws-sdk/util-retry": "3.296.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-browser": "3.296.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.296.0",
|
|
54
|
+
"@aws-sdk/util-utf8": "3.295.0",
|
|
55
55
|
"fast-xml-parser": "4.1.2",
|
|
56
|
-
"tslib": "^2.
|
|
56
|
+
"tslib": "^2.5.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
59
|
+
"@aws-sdk/service-client-documentation-generator": "3.295.0",
|
|
60
60
|
"@tsconfig/node14": "1.0.3",
|
|
61
61
|
"@types/node": "^14.14.31",
|
|
62
62
|
"concurrently": "7.0.0",
|
|
63
63
|
"downlevel-dts": "0.10.1",
|
|
64
64
|
"rimraf": "3.0.2",
|
|
65
65
|
"typedoc": "0.23.23",
|
|
66
|
-
"typescript": "~4.
|
|
66
|
+
"typescript": "~4.9.5"
|
|
67
67
|
},
|
|
68
68
|
"engines": {
|
|
69
69
|
"node": ">=14.0.0"
|