@aws-sdk/client-sns 3.588.0 → 3.592.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/index.js +0 -42
- package/dist-types/SNSClient.d.ts +4 -4
- package/dist-types/commands/AddPermissionCommand.d.ts +2 -1
- package/dist-types/commands/CheckIfPhoneNumberIsOptedOutCommand.d.ts +2 -1
- package/dist-types/commands/ConfirmSubscriptionCommand.d.ts +2 -1
- package/dist-types/commands/CreatePlatformApplicationCommand.d.ts +11 -10
- package/dist-types/commands/CreatePlatformEndpointCommand.d.ts +2 -1
- package/dist-types/commands/CreateSMSSandboxPhoneNumberCommand.d.ts +2 -1
- package/dist-types/commands/CreateTopicCommand.d.ts +2 -1
- package/dist-types/commands/DeleteEndpointCommand.d.ts +2 -1
- package/dist-types/commands/DeletePlatformApplicationCommand.d.ts +2 -1
- package/dist-types/commands/DeleteSMSSandboxPhoneNumberCommand.d.ts +2 -1
- package/dist-types/commands/DeleteTopicCommand.d.ts +2 -1
- package/dist-types/commands/GetDataProtectionPolicyCommand.d.ts +2 -1
- package/dist-types/commands/GetEndpointAttributesCommand.d.ts +2 -1
- package/dist-types/commands/GetPlatformApplicationAttributesCommand.d.ts +2 -1
- package/dist-types/commands/GetSMSAttributesCommand.d.ts +2 -1
- package/dist-types/commands/GetSMSSandboxAccountStatusCommand.d.ts +2 -1
- package/dist-types/commands/GetSubscriptionAttributesCommand.d.ts +2 -1
- package/dist-types/commands/GetTopicAttributesCommand.d.ts +2 -1
- package/dist-types/commands/ListEndpointsByPlatformApplicationCommand.d.ts +2 -1
- package/dist-types/commands/ListOriginationNumbersCommand.d.ts +2 -1
- package/dist-types/commands/ListPhoneNumbersOptedOutCommand.d.ts +2 -1
- package/dist-types/commands/ListPlatformApplicationsCommand.d.ts +2 -1
- package/dist-types/commands/ListSMSSandboxPhoneNumbersCommand.d.ts +2 -1
- package/dist-types/commands/ListSubscriptionsByTopicCommand.d.ts +2 -1
- package/dist-types/commands/ListSubscriptionsCommand.d.ts +2 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -1
- package/dist-types/commands/ListTopicsCommand.d.ts +2 -1
- package/dist-types/commands/OptInPhoneNumberCommand.d.ts +2 -1
- package/dist-types/commands/PublishBatchCommand.d.ts +2 -1
- package/dist-types/commands/PublishCommand.d.ts +2 -1
- package/dist-types/commands/PutDataProtectionPolicyCommand.d.ts +2 -1
- package/dist-types/commands/RemovePermissionCommand.d.ts +2 -1
- package/dist-types/commands/SetEndpointAttributesCommand.d.ts +2 -1
- package/dist-types/commands/SetPlatformApplicationAttributesCommand.d.ts +2 -1
- package/dist-types/commands/SetSMSAttributesCommand.d.ts +2 -1
- package/dist-types/commands/SetSubscriptionAttributesCommand.d.ts +2 -1
- package/dist-types/commands/SetTopicAttributesCommand.d.ts +2 -1
- package/dist-types/commands/SubscribeCommand.d.ts +2 -1
- package/dist-types/commands/TagResourceCommand.d.ts +2 -1
- package/dist-types/commands/UnsubscribeCommand.d.ts +2 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -1
- package/dist-types/commands/VerifySMSSandboxPhoneNumberCommand.d.ts +2 -1
- package/dist-types/index.d.ts +2 -2
- package/dist-types/models/SNSServiceException.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +15 -16
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/SNSClient.d.ts +1 -1
- package/dist-types/ts3.4/commands/AddPermissionCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/CheckIfPhoneNumberIsOptedOutCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ConfirmSubscriptionCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/CreatePlatformApplicationCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/CreatePlatformEndpointCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/CreateSMSSandboxPhoneNumberCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/CreateTopicCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DeleteEndpointCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DeletePlatformApplicationCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DeleteSMSSandboxPhoneNumberCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DeleteTopicCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetDataProtectionPolicyCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetEndpointAttributesCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetPlatformApplicationAttributesCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetSMSAttributesCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetSMSSandboxAccountStatusCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetSubscriptionAttributesCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetTopicAttributesCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListEndpointsByPlatformApplicationCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListOriginationNumbersCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListPhoneNumbersOptedOutCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListPlatformApplicationsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListSMSSandboxPhoneNumbersCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListSubscriptionsByTopicCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListSubscriptionsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListTopicsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/OptInPhoneNumberCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/PublishBatchCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/PublishCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/PutDataProtectionPolicyCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/RemovePermissionCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/SetEndpointAttributesCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/SetPlatformApplicationAttributesCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/SetSMSAttributesCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/SetSubscriptionAttributesCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/SetTopicAttributesCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/SubscribeCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/UnsubscribeCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/VerifySMSSandboxPhoneNumberCommand.d.ts +2 -1
- package/dist-types/ts3.4/models/SNSServiceException.d.ts +2 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/package.json +6 -6
|
@@ -9,7 +9,8 @@ import {
|
|
|
9
9
|
ServiceOutputTypes,
|
|
10
10
|
SNSClientResolvedConfig,
|
|
11
11
|
} from "../SNSClient";
|
|
12
|
-
export { __MetadataBearer
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
13
14
|
export interface OptInPhoneNumberCommandInput extends OptInPhoneNumberInput {}
|
|
14
15
|
export interface OptInPhoneNumberCommandOutput
|
|
15
16
|
extends OptInPhoneNumberResponse,
|
|
@@ -6,7 +6,8 @@ import {
|
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
SNSClientResolvedConfig,
|
|
8
8
|
} from "../SNSClient";
|
|
9
|
-
export { __MetadataBearer
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
10
11
|
export interface PublishBatchCommandInput extends PublishBatchInput {}
|
|
11
12
|
export interface PublishBatchCommandOutput
|
|
12
13
|
extends PublishBatchResponse,
|
|
@@ -6,7 +6,8 @@ import {
|
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
SNSClientResolvedConfig,
|
|
8
8
|
} from "../SNSClient";
|
|
9
|
-
export { __MetadataBearer
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
10
11
|
export interface PublishCommandInput extends PublishInput {}
|
|
11
12
|
export interface PublishCommandOutput
|
|
12
13
|
extends PublishResponse,
|
|
@@ -6,7 +6,8 @@ import {
|
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
SNSClientResolvedConfig,
|
|
8
8
|
} from "../SNSClient";
|
|
9
|
-
export { __MetadataBearer
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
10
11
|
export interface PutDataProtectionPolicyCommandInput
|
|
11
12
|
extends PutDataProtectionPolicyInput {}
|
|
12
13
|
export interface PutDataProtectionPolicyCommandOutput
|
|
@@ -6,7 +6,8 @@ import {
|
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
SNSClientResolvedConfig,
|
|
8
8
|
} from "../SNSClient";
|
|
9
|
-
export { __MetadataBearer
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
10
11
|
export interface RemovePermissionCommandInput extends RemovePermissionInput {}
|
|
11
12
|
export interface RemovePermissionCommandOutput extends __MetadataBearer {}
|
|
12
13
|
declare const RemovePermissionCommand_base: {
|
|
@@ -6,7 +6,8 @@ import {
|
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
SNSClientResolvedConfig,
|
|
8
8
|
} from "../SNSClient";
|
|
9
|
-
export { __MetadataBearer
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
10
11
|
export interface SetEndpointAttributesCommandInput
|
|
11
12
|
extends SetEndpointAttributesInput {}
|
|
12
13
|
export interface SetEndpointAttributesCommandOutput extends __MetadataBearer {}
|
|
@@ -6,7 +6,8 @@ import {
|
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
SNSClientResolvedConfig,
|
|
8
8
|
} from "../SNSClient";
|
|
9
|
-
export { __MetadataBearer
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
10
11
|
export interface SetPlatformApplicationAttributesCommandInput
|
|
11
12
|
extends SetPlatformApplicationAttributesInput {}
|
|
12
13
|
export interface SetPlatformApplicationAttributesCommandOutput
|
|
@@ -9,7 +9,8 @@ import {
|
|
|
9
9
|
ServiceOutputTypes,
|
|
10
10
|
SNSClientResolvedConfig,
|
|
11
11
|
} from "../SNSClient";
|
|
12
|
-
export { __MetadataBearer
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
13
14
|
export interface SetSMSAttributesCommandInput extends SetSMSAttributesInput {}
|
|
14
15
|
export interface SetSMSAttributesCommandOutput
|
|
15
16
|
extends SetSMSAttributesResponse,
|
|
@@ -6,7 +6,8 @@ import {
|
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
SNSClientResolvedConfig,
|
|
8
8
|
} from "../SNSClient";
|
|
9
|
-
export { __MetadataBearer
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
10
11
|
export interface SetSubscriptionAttributesCommandInput
|
|
11
12
|
extends SetSubscriptionAttributesInput {}
|
|
12
13
|
export interface SetSubscriptionAttributesCommandOutput
|
|
@@ -6,7 +6,8 @@ import {
|
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
SNSClientResolvedConfig,
|
|
8
8
|
} from "../SNSClient";
|
|
9
|
-
export { __MetadataBearer
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
10
11
|
export interface SetTopicAttributesCommandInput
|
|
11
12
|
extends SetTopicAttributesInput {}
|
|
12
13
|
export interface SetTopicAttributesCommandOutput extends __MetadataBearer {}
|
|
@@ -6,7 +6,8 @@ import {
|
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
SNSClientResolvedConfig,
|
|
8
8
|
} from "../SNSClient";
|
|
9
|
-
export { __MetadataBearer
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
10
11
|
export interface SubscribeCommandInput extends SubscribeInput {}
|
|
11
12
|
export interface SubscribeCommandOutput
|
|
12
13
|
extends SubscribeResponse,
|
|
@@ -6,7 +6,8 @@ import {
|
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
SNSClientResolvedConfig,
|
|
8
8
|
} from "../SNSClient";
|
|
9
|
-
export { __MetadataBearer
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
10
11
|
export interface TagResourceCommandInput extends TagResourceRequest {}
|
|
11
12
|
export interface TagResourceCommandOutput
|
|
12
13
|
extends TagResourceResponse,
|
|
@@ -6,7 +6,8 @@ import {
|
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
SNSClientResolvedConfig,
|
|
8
8
|
} from "../SNSClient";
|
|
9
|
-
export { __MetadataBearer
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
10
11
|
export interface UnsubscribeCommandInput extends UnsubscribeInput {}
|
|
11
12
|
export interface UnsubscribeCommandOutput extends __MetadataBearer {}
|
|
12
13
|
declare const UnsubscribeCommand_base: {
|
|
@@ -9,7 +9,8 @@ import {
|
|
|
9
9
|
ServiceOutputTypes,
|
|
10
10
|
SNSClientResolvedConfig,
|
|
11
11
|
} from "../SNSClient";
|
|
12
|
-
export { __MetadataBearer
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
13
14
|
export interface UntagResourceCommandInput extends UntagResourceRequest {}
|
|
14
15
|
export interface UntagResourceCommandOutput
|
|
15
16
|
extends UntagResourceResponse,
|
|
@@ -9,7 +9,8 @@ import {
|
|
|
9
9
|
ServiceOutputTypes,
|
|
10
10
|
SNSClientResolvedConfig,
|
|
11
11
|
} from "../SNSClient";
|
|
12
|
-
export { __MetadataBearer
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
13
14
|
export interface VerifySMSSandboxPhoneNumberCommandInput
|
|
14
15
|
extends VerifySMSSandboxPhoneNumberInput {}
|
|
15
16
|
export interface VerifySMSSandboxPhoneNumberCommandOutput
|
|
@@ -2,7 +2,8 @@ import {
|
|
|
2
2
|
ServiceException as __ServiceException,
|
|
3
3
|
ServiceExceptionOptions as __ServiceExceptionOptions,
|
|
4
4
|
} from "@smithy/smithy-client";
|
|
5
|
-
export {
|
|
5
|
+
export { __ServiceExceptionOptions };
|
|
6
|
+
export { __ServiceException };
|
|
6
7
|
export declare class SNSServiceException extends __ServiceException {
|
|
7
8
|
constructor(options: __ServiceExceptionOptions);
|
|
8
9
|
}
|
|
@@ -20,10 +20,10 @@ export declare const getRuntimeConfig: (config: SNSClientConfig) => {
|
|
|
20
20
|
serviceId: string;
|
|
21
21
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
22
22
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
23
|
+
region: string | import("@smithy/types").Provider<any>;
|
|
23
24
|
defaultUserAgentProvider: import("@smithy/types").Provider<
|
|
24
25
|
import("@smithy/types").UserAgent
|
|
25
26
|
>;
|
|
26
|
-
region: string | import("@smithy/types").Provider<any>;
|
|
27
27
|
credentialDefaultProvider: (
|
|
28
28
|
input: any
|
|
29
29
|
) => import("@smithy/types").AwsCredentialIdentityProvider;
|
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.592.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-sns",
|
|
@@ -20,10 +20,10 @@
|
|
|
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-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.592.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.592.0",
|
|
25
|
+
"@aws-sdk/core": "3.592.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.592.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.577.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.577.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.577.0",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.577.0",
|
|
35
35
|
"@aws-sdk/util-user-agent-node": "3.587.0",
|
|
36
36
|
"@smithy/config-resolver": "^3.0.1",
|
|
37
|
-
"@smithy/core": "^2.
|
|
37
|
+
"@smithy/core": "^2.2.0",
|
|
38
38
|
"@smithy/fetch-http-handler": "^3.0.1",
|
|
39
39
|
"@smithy/hash-node": "^3.0.0",
|
|
40
40
|
"@smithy/invalid-dependency": "^3.0.0",
|