@aws-sdk/client-sns 3.165.0 → 3.169.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/CHANGELOG.md +27 -0
- package/dist-cjs/SNS.js +30 -0
- package/dist-cjs/commands/GetDataProtectionPolicyCommand.js +36 -0
- package/dist-cjs/commands/PutDataProtectionPolicyCommand.js +36 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/models_0.js +14 -2
- package/dist-cjs/protocols/Aws_query.js +152 -2
- package/dist-es/SNS.js +30 -0
- package/dist-es/commands/GetDataProtectionPolicyCommand.js +39 -0
- package/dist-es/commands/PutDataProtectionPolicyCommand.js +39 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +3 -0
- package/dist-es/protocols/Aws_query.js +199 -8
- package/dist-types/SNS.d.ts +14 -0
- package/dist-types/SNSClient.d.ts +4 -2
- package/dist-types/commands/GetDataProtectionPolicyCommand.d.ts +35 -0
- package/dist-types/commands/PutDataProtectionPolicyCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +47 -0
- package/dist-types/protocols/Aws_query.d.ts +6 -0
- package/dist-types/ts3.4/SNS.d.ts +10 -0
- package/dist-types/ts3.4/SNSClient.d.ts +4 -2
- package/dist-types/ts3.4/commands/GetDataProtectionPolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutDataProtectionPolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +22 -0
- package/dist-types/ts3.4/protocols/Aws_query.d.ts +6 -0
- package/package.json +34 -33
|
@@ -17,6 +17,7 @@ import { DeleteEndpointCommandInput, DeleteEndpointCommandOutput } from "./comma
|
|
|
17
17
|
import { DeletePlatformApplicationCommandInput, DeletePlatformApplicationCommandOutput } from "./commands/DeletePlatformApplicationCommand";
|
|
18
18
|
import { DeleteSMSSandboxPhoneNumberCommandInput, DeleteSMSSandboxPhoneNumberCommandOutput } from "./commands/DeleteSMSSandboxPhoneNumberCommand";
|
|
19
19
|
import { DeleteTopicCommandInput, DeleteTopicCommandOutput } from "./commands/DeleteTopicCommand";
|
|
20
|
+
import { GetDataProtectionPolicyCommandInput, GetDataProtectionPolicyCommandOutput } from "./commands/GetDataProtectionPolicyCommand";
|
|
20
21
|
import { GetEndpointAttributesCommandInput, GetEndpointAttributesCommandOutput } from "./commands/GetEndpointAttributesCommand";
|
|
21
22
|
import { GetPlatformApplicationAttributesCommandInput, GetPlatformApplicationAttributesCommandOutput } from "./commands/GetPlatformApplicationAttributesCommand";
|
|
22
23
|
import { GetSMSAttributesCommandInput, GetSMSAttributesCommandOutput } from "./commands/GetSMSAttributesCommand";
|
|
@@ -35,6 +36,7 @@ import { ListTopicsCommandInput, ListTopicsCommandOutput } from "./commands/List
|
|
|
35
36
|
import { OptInPhoneNumberCommandInput, OptInPhoneNumberCommandOutput } from "./commands/OptInPhoneNumberCommand";
|
|
36
37
|
import { PublishBatchCommandInput, PublishBatchCommandOutput } from "./commands/PublishBatchCommand";
|
|
37
38
|
import { PublishCommandInput, PublishCommandOutput } from "./commands/PublishCommand";
|
|
39
|
+
import { PutDataProtectionPolicyCommandInput, PutDataProtectionPolicyCommandOutput } from "./commands/PutDataProtectionPolicyCommand";
|
|
38
40
|
import { RemovePermissionCommandInput, RemovePermissionCommandOutput } from "./commands/RemovePermissionCommand";
|
|
39
41
|
import { SetEndpointAttributesCommandInput, SetEndpointAttributesCommandOutput } from "./commands/SetEndpointAttributesCommand";
|
|
40
42
|
import { SetPlatformApplicationAttributesCommandInput, SetPlatformApplicationAttributesCommandOutput } from "./commands/SetPlatformApplicationAttributesCommand";
|
|
@@ -46,8 +48,8 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/Ta
|
|
|
46
48
|
import { UnsubscribeCommandInput, UnsubscribeCommandOutput } from "./commands/UnsubscribeCommand";
|
|
47
49
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
48
50
|
import { VerifySMSSandboxPhoneNumberCommandInput, VerifySMSSandboxPhoneNumberCommandOutput } from "./commands/VerifySMSSandboxPhoneNumberCommand";
|
|
49
|
-
export declare type ServiceInputTypes = AddPermissionCommandInput | CheckIfPhoneNumberIsOptedOutCommandInput | ConfirmSubscriptionCommandInput | CreatePlatformApplicationCommandInput | CreatePlatformEndpointCommandInput | CreateSMSSandboxPhoneNumberCommandInput | CreateTopicCommandInput | DeleteEndpointCommandInput | DeletePlatformApplicationCommandInput | DeleteSMSSandboxPhoneNumberCommandInput | DeleteTopicCommandInput | GetEndpointAttributesCommandInput | GetPlatformApplicationAttributesCommandInput | GetSMSAttributesCommandInput | GetSMSSandboxAccountStatusCommandInput | GetSubscriptionAttributesCommandInput | GetTopicAttributesCommandInput | ListEndpointsByPlatformApplicationCommandInput | ListOriginationNumbersCommandInput | ListPhoneNumbersOptedOutCommandInput | ListPlatformApplicationsCommandInput | ListSMSSandboxPhoneNumbersCommandInput | ListSubscriptionsByTopicCommandInput | ListSubscriptionsCommandInput | ListTagsForResourceCommandInput | ListTopicsCommandInput | OptInPhoneNumberCommandInput | PublishBatchCommandInput | PublishCommandInput | RemovePermissionCommandInput | SetEndpointAttributesCommandInput | SetPlatformApplicationAttributesCommandInput | SetSMSAttributesCommandInput | SetSubscriptionAttributesCommandInput | SetTopicAttributesCommandInput | SubscribeCommandInput | TagResourceCommandInput | UnsubscribeCommandInput | UntagResourceCommandInput | VerifySMSSandboxPhoneNumberCommandInput;
|
|
50
|
-
export declare type ServiceOutputTypes = AddPermissionCommandOutput | CheckIfPhoneNumberIsOptedOutCommandOutput | ConfirmSubscriptionCommandOutput | CreatePlatformApplicationCommandOutput | CreatePlatformEndpointCommandOutput | CreateSMSSandboxPhoneNumberCommandOutput | CreateTopicCommandOutput | DeleteEndpointCommandOutput | DeletePlatformApplicationCommandOutput | DeleteSMSSandboxPhoneNumberCommandOutput | DeleteTopicCommandOutput | GetEndpointAttributesCommandOutput | GetPlatformApplicationAttributesCommandOutput | GetSMSAttributesCommandOutput | GetSMSSandboxAccountStatusCommandOutput | GetSubscriptionAttributesCommandOutput | GetTopicAttributesCommandOutput | ListEndpointsByPlatformApplicationCommandOutput | ListOriginationNumbersCommandOutput | ListPhoneNumbersOptedOutCommandOutput | ListPlatformApplicationsCommandOutput | ListSMSSandboxPhoneNumbersCommandOutput | ListSubscriptionsByTopicCommandOutput | ListSubscriptionsCommandOutput | ListTagsForResourceCommandOutput | ListTopicsCommandOutput | OptInPhoneNumberCommandOutput | PublishBatchCommandOutput | PublishCommandOutput | RemovePermissionCommandOutput | SetEndpointAttributesCommandOutput | SetPlatformApplicationAttributesCommandOutput | SetSMSAttributesCommandOutput | SetSubscriptionAttributesCommandOutput | SetTopicAttributesCommandOutput | SubscribeCommandOutput | TagResourceCommandOutput | UnsubscribeCommandOutput | UntagResourceCommandOutput | VerifySMSSandboxPhoneNumberCommandOutput;
|
|
51
|
+
export declare 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;
|
|
52
|
+
export declare 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;
|
|
51
53
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
52
54
|
|
|
53
55
|
requestHandler?: __HttpHandler;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { GetDataProtectionPolicyInput, GetDataProtectionPolicyResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
|
|
5
|
+
export interface GetDataProtectionPolicyCommandInput extends GetDataProtectionPolicyInput {
|
|
6
|
+
}
|
|
7
|
+
export interface GetDataProtectionPolicyCommandOutput extends GetDataProtectionPolicyResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class GetDataProtectionPolicyCommand extends $Command<GetDataProtectionPolicyCommandInput, GetDataProtectionPolicyCommandOutput, SNSClientResolvedConfig> {
|
|
11
|
+
readonly input: GetDataProtectionPolicyCommandInput;
|
|
12
|
+
constructor(input: GetDataProtectionPolicyCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SNSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetDataProtectionPolicyCommandInput, GetDataProtectionPolicyCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { PutDataProtectionPolicyInput } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
|
|
5
|
+
export interface PutDataProtectionPolicyCommandInput extends PutDataProtectionPolicyInput {
|
|
6
|
+
}
|
|
7
|
+
export interface PutDataProtectionPolicyCommandOutput extends __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class PutDataProtectionPolicyCommand extends $Command<PutDataProtectionPolicyCommandInput, PutDataProtectionPolicyCommandOutput, SNSClientResolvedConfig> {
|
|
11
|
+
readonly input: PutDataProtectionPolicyCommandInput;
|
|
12
|
+
constructor(input: PutDataProtectionPolicyCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SNSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutDataProtectionPolicyCommandInput, PutDataProtectionPolicyCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -9,6 +9,7 @@ export * from "./DeleteEndpointCommand";
|
|
|
9
9
|
export * from "./DeletePlatformApplicationCommand";
|
|
10
10
|
export * from "./DeleteSMSSandboxPhoneNumberCommand";
|
|
11
11
|
export * from "./DeleteTopicCommand";
|
|
12
|
+
export * from "./GetDataProtectionPolicyCommand";
|
|
12
13
|
export * from "./GetEndpointAttributesCommand";
|
|
13
14
|
export * from "./GetPlatformApplicationAttributesCommand";
|
|
14
15
|
export * from "./GetSMSAttributesCommand";
|
|
@@ -27,6 +28,7 @@ export * from "./ListTopicsCommand";
|
|
|
27
28
|
export * from "./OptInPhoneNumberCommand";
|
|
28
29
|
export * from "./PublishBatchCommand";
|
|
29
30
|
export * from "./PublishCommand";
|
|
31
|
+
export * from "./PutDataProtectionPolicyCommand";
|
|
30
32
|
export * from "./RemovePermissionCommand";
|
|
31
33
|
export * from "./SetEndpointAttributesCommand";
|
|
32
34
|
export * from "./SetPlatformApplicationAttributesCommand";
|
|
@@ -172,6 +172,8 @@ export interface CreateTopicInput {
|
|
|
172
172
|
Attributes?: Record<string, string>;
|
|
173
173
|
|
|
174
174
|
Tags?: Tag[];
|
|
175
|
+
|
|
176
|
+
DataProtectionPolicy?: string;
|
|
175
177
|
}
|
|
176
178
|
|
|
177
179
|
export interface CreateTopicResponse {
|
|
@@ -240,6 +242,14 @@ export interface DeleteTopicInput {
|
|
|
240
242
|
|
|
241
243
|
TopicArn: string | undefined;
|
|
242
244
|
}
|
|
245
|
+
export interface GetDataProtectionPolicyInput {
|
|
246
|
+
|
|
247
|
+
ResourceArn: string | undefined;
|
|
248
|
+
}
|
|
249
|
+
export interface GetDataProtectionPolicyResponse {
|
|
250
|
+
|
|
251
|
+
DataProtectionPolicy?: string;
|
|
252
|
+
}
|
|
243
253
|
|
|
244
254
|
export interface GetEndpointAttributesInput {
|
|
245
255
|
|
|
@@ -671,6 +681,12 @@ export declare class TooManyEntriesInBatchRequestException extends __BaseExcepti
|
|
|
671
681
|
|
|
672
682
|
constructor(opts: __ExceptionOptionType<TooManyEntriesInBatchRequestException, __BaseException>);
|
|
673
683
|
}
|
|
684
|
+
export interface PutDataProtectionPolicyInput {
|
|
685
|
+
|
|
686
|
+
ResourceArn: string | undefined;
|
|
687
|
+
|
|
688
|
+
DataProtectionPolicy: string | undefined;
|
|
689
|
+
}
|
|
674
690
|
|
|
675
691
|
export interface RemovePermissionInput {
|
|
676
692
|
|
|
@@ -815,6 +831,10 @@ export declare const DeleteSMSSandboxPhoneNumberResultFilterSensitiveLog: (obj:
|
|
|
815
831
|
|
|
816
832
|
export declare const DeleteTopicInputFilterSensitiveLog: (obj: DeleteTopicInput) => any;
|
|
817
833
|
|
|
834
|
+
export declare const GetDataProtectionPolicyInputFilterSensitiveLog: (obj: GetDataProtectionPolicyInput) => any;
|
|
835
|
+
|
|
836
|
+
export declare const GetDataProtectionPolicyResponseFilterSensitiveLog: (obj: GetDataProtectionPolicyResponse) => any;
|
|
837
|
+
|
|
818
838
|
export declare const GetEndpointAttributesInputFilterSensitiveLog: (obj: GetEndpointAttributesInput) => any;
|
|
819
839
|
|
|
820
840
|
export declare const GetEndpointAttributesResponseFilterSensitiveLog: (obj: GetEndpointAttributesResponse) => any;
|
|
@@ -907,6 +927,8 @@ export declare const PublishBatchResultEntryFilterSensitiveLog: (obj: PublishBat
|
|
|
907
927
|
|
|
908
928
|
export declare const PublishBatchResponseFilterSensitiveLog: (obj: PublishBatchResponse) => any;
|
|
909
929
|
|
|
930
|
+
export declare const PutDataProtectionPolicyInputFilterSensitiveLog: (obj: PutDataProtectionPolicyInput) => any;
|
|
931
|
+
|
|
910
932
|
export declare const RemovePermissionInputFilterSensitiveLog: (obj: RemovePermissionInput) => any;
|
|
911
933
|
|
|
912
934
|
export declare const SetEndpointAttributesInputFilterSensitiveLog: (obj: SetEndpointAttributesInput) => any;
|
|
@@ -11,6 +11,7 @@ import { DeleteEndpointCommandInput, DeleteEndpointCommandOutput } from "../comm
|
|
|
11
11
|
import { DeletePlatformApplicationCommandInput, DeletePlatformApplicationCommandOutput } from "../commands/DeletePlatformApplicationCommand";
|
|
12
12
|
import { DeleteSMSSandboxPhoneNumberCommandInput, DeleteSMSSandboxPhoneNumberCommandOutput } from "../commands/DeleteSMSSandboxPhoneNumberCommand";
|
|
13
13
|
import { DeleteTopicCommandInput, DeleteTopicCommandOutput } from "../commands/DeleteTopicCommand";
|
|
14
|
+
import { GetDataProtectionPolicyCommandInput, GetDataProtectionPolicyCommandOutput } from "../commands/GetDataProtectionPolicyCommand";
|
|
14
15
|
import { GetEndpointAttributesCommandInput, GetEndpointAttributesCommandOutput } from "../commands/GetEndpointAttributesCommand";
|
|
15
16
|
import { GetPlatformApplicationAttributesCommandInput, GetPlatformApplicationAttributesCommandOutput } from "../commands/GetPlatformApplicationAttributesCommand";
|
|
16
17
|
import { GetSMSAttributesCommandInput, GetSMSAttributesCommandOutput } from "../commands/GetSMSAttributesCommand";
|
|
@@ -29,6 +30,7 @@ import { ListTopicsCommandInput, ListTopicsCommandOutput } from "../commands/Lis
|
|
|
29
30
|
import { OptInPhoneNumberCommandInput, OptInPhoneNumberCommandOutput } from "../commands/OptInPhoneNumberCommand";
|
|
30
31
|
import { PublishBatchCommandInput, PublishBatchCommandOutput } from "../commands/PublishBatchCommand";
|
|
31
32
|
import { PublishCommandInput, PublishCommandOutput } from "../commands/PublishCommand";
|
|
33
|
+
import { PutDataProtectionPolicyCommandInput, PutDataProtectionPolicyCommandOutput } from "../commands/PutDataProtectionPolicyCommand";
|
|
32
34
|
import { RemovePermissionCommandInput, RemovePermissionCommandOutput } from "../commands/RemovePermissionCommand";
|
|
33
35
|
import { SetEndpointAttributesCommandInput, SetEndpointAttributesCommandOutput } from "../commands/SetEndpointAttributesCommand";
|
|
34
36
|
import { SetPlatformApplicationAttributesCommandInput, SetPlatformApplicationAttributesCommandOutput } from "../commands/SetPlatformApplicationAttributesCommand";
|
|
@@ -51,6 +53,7 @@ export declare const serializeAws_queryDeleteEndpointCommand: (input: DeleteEndp
|
|
|
51
53
|
export declare const serializeAws_queryDeletePlatformApplicationCommand: (input: DeletePlatformApplicationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
52
54
|
export declare const serializeAws_queryDeleteSMSSandboxPhoneNumberCommand: (input: DeleteSMSSandboxPhoneNumberCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
53
55
|
export declare const serializeAws_queryDeleteTopicCommand: (input: DeleteTopicCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
56
|
+
export declare const serializeAws_queryGetDataProtectionPolicyCommand: (input: GetDataProtectionPolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
54
57
|
export declare const serializeAws_queryGetEndpointAttributesCommand: (input: GetEndpointAttributesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
55
58
|
export declare const serializeAws_queryGetPlatformApplicationAttributesCommand: (input: GetPlatformApplicationAttributesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
56
59
|
export declare const serializeAws_queryGetSMSAttributesCommand: (input: GetSMSAttributesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -69,6 +72,7 @@ export declare const serializeAws_queryListTopicsCommand: (input: ListTopicsComm
|
|
|
69
72
|
export declare const serializeAws_queryOptInPhoneNumberCommand: (input: OptInPhoneNumberCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
70
73
|
export declare const serializeAws_queryPublishCommand: (input: PublishCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
71
74
|
export declare const serializeAws_queryPublishBatchCommand: (input: PublishBatchCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
75
|
+
export declare const serializeAws_queryPutDataProtectionPolicyCommand: (input: PutDataProtectionPolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
72
76
|
export declare const serializeAws_queryRemovePermissionCommand: (input: RemovePermissionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
73
77
|
export declare const serializeAws_querySetEndpointAttributesCommand: (input: SetEndpointAttributesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
74
78
|
export declare const serializeAws_querySetPlatformApplicationAttributesCommand: (input: SetPlatformApplicationAttributesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -91,6 +95,7 @@ export declare const deserializeAws_queryDeleteEndpointCommand: (output: __HttpR
|
|
|
91
95
|
export declare const deserializeAws_queryDeletePlatformApplicationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeletePlatformApplicationCommandOutput>;
|
|
92
96
|
export declare const deserializeAws_queryDeleteSMSSandboxPhoneNumberCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteSMSSandboxPhoneNumberCommandOutput>;
|
|
93
97
|
export declare const deserializeAws_queryDeleteTopicCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteTopicCommandOutput>;
|
|
98
|
+
export declare const deserializeAws_queryGetDataProtectionPolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetDataProtectionPolicyCommandOutput>;
|
|
94
99
|
export declare const deserializeAws_queryGetEndpointAttributesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetEndpointAttributesCommandOutput>;
|
|
95
100
|
export declare const deserializeAws_queryGetPlatformApplicationAttributesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetPlatformApplicationAttributesCommandOutput>;
|
|
96
101
|
export declare const deserializeAws_queryGetSMSAttributesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetSMSAttributesCommandOutput>;
|
|
@@ -109,6 +114,7 @@ export declare const deserializeAws_queryListTopicsCommand: (output: __HttpRespo
|
|
|
109
114
|
export declare const deserializeAws_queryOptInPhoneNumberCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<OptInPhoneNumberCommandOutput>;
|
|
110
115
|
export declare const deserializeAws_queryPublishCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PublishCommandOutput>;
|
|
111
116
|
export declare const deserializeAws_queryPublishBatchCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PublishBatchCommandOutput>;
|
|
117
|
+
export declare const deserializeAws_queryPutDataProtectionPolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutDataProtectionPolicyCommandOutput>;
|
|
112
118
|
export declare const deserializeAws_queryRemovePermissionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RemovePermissionCommandOutput>;
|
|
113
119
|
export declare const deserializeAws_querySetEndpointAttributesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SetEndpointAttributesCommandOutput>;
|
|
114
120
|
export declare const deserializeAws_querySetPlatformApplicationAttributesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SetPlatformApplicationAttributesCommandOutput>;
|
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
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.169.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",
|
|
8
8
|
"build:docs": "typedoc",
|
|
9
9
|
"build:es": "tsc -p tsconfig.es.json",
|
|
10
|
+
"build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
|
|
10
11
|
"build:types": "tsc -p tsconfig.types.json",
|
|
11
12
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
13
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo"
|
|
@@ -18,43 +19,43 @@
|
|
|
18
19
|
"dependencies": {
|
|
19
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
31
|
-
"@aws-sdk/middleware-retry": "3.
|
|
32
|
-
"@aws-sdk/middleware-serde": "3.
|
|
33
|
-
"@aws-sdk/middleware-signing": "3.
|
|
34
|
-
"@aws-sdk/middleware-stack": "3.
|
|
35
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
36
|
-
"@aws-sdk/node-config-provider": "3.
|
|
37
|
-
"@aws-sdk/node-http-handler": "3.
|
|
38
|
-
"@aws-sdk/protocol-http": "3.
|
|
39
|
-
"@aws-sdk/smithy-client": "3.
|
|
40
|
-
"@aws-sdk/types": "3.
|
|
41
|
-
"@aws-sdk/url-parser": "3.
|
|
42
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
43
|
-
"@aws-sdk/util-base64-node": "3.
|
|
44
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
45
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
47
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
49
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
50
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
51
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.169.0",
|
|
23
|
+
"@aws-sdk/config-resolver": "3.168.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.169.0",
|
|
25
|
+
"@aws-sdk/fetch-http-handler": "3.168.0",
|
|
26
|
+
"@aws-sdk/hash-node": "3.168.0",
|
|
27
|
+
"@aws-sdk/invalid-dependency": "3.168.0",
|
|
28
|
+
"@aws-sdk/middleware-content-length": "3.168.0",
|
|
29
|
+
"@aws-sdk/middleware-host-header": "3.168.0",
|
|
30
|
+
"@aws-sdk/middleware-logger": "3.168.0",
|
|
31
|
+
"@aws-sdk/middleware-recursion-detection": "3.168.0",
|
|
32
|
+
"@aws-sdk/middleware-retry": "3.169.0",
|
|
33
|
+
"@aws-sdk/middleware-serde": "3.168.0",
|
|
34
|
+
"@aws-sdk/middleware-signing": "3.168.0",
|
|
35
|
+
"@aws-sdk/middleware-stack": "3.168.0",
|
|
36
|
+
"@aws-sdk/middleware-user-agent": "3.168.0",
|
|
37
|
+
"@aws-sdk/node-config-provider": "3.168.0",
|
|
38
|
+
"@aws-sdk/node-http-handler": "3.168.0",
|
|
39
|
+
"@aws-sdk/protocol-http": "3.168.0",
|
|
40
|
+
"@aws-sdk/smithy-client": "3.168.0",
|
|
41
|
+
"@aws-sdk/types": "3.168.0",
|
|
42
|
+
"@aws-sdk/url-parser": "3.168.0",
|
|
43
|
+
"@aws-sdk/util-base64-browser": "3.168.0",
|
|
44
|
+
"@aws-sdk/util-base64-node": "3.168.0",
|
|
45
|
+
"@aws-sdk/util-body-length-browser": "3.168.0",
|
|
46
|
+
"@aws-sdk/util-body-length-node": "3.168.0",
|
|
47
|
+
"@aws-sdk/util-defaults-mode-browser": "3.168.0",
|
|
48
|
+
"@aws-sdk/util-defaults-mode-node": "3.168.0",
|
|
49
|
+
"@aws-sdk/util-user-agent-browser": "3.168.0",
|
|
50
|
+
"@aws-sdk/util-user-agent-node": "3.168.0",
|
|
51
|
+
"@aws-sdk/util-utf8-browser": "3.168.0",
|
|
52
|
+
"@aws-sdk/util-utf8-node": "3.168.0",
|
|
52
53
|
"entities": "2.2.0",
|
|
53
54
|
"fast-xml-parser": "3.19.0",
|
|
54
55
|
"tslib": "^2.3.1"
|
|
55
56
|
},
|
|
56
57
|
"devDependencies": {
|
|
57
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
58
|
+
"@aws-sdk/service-client-documentation-generator": "3.168.0",
|
|
58
59
|
"@tsconfig/recommended": "1.0.1",
|
|
59
60
|
"@types/node": "^12.7.5",
|
|
60
61
|
"concurrently": "7.0.0",
|