@aws-sdk/client-sns 3.46.0 → 3.48.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.
@@ -19,40 +19,24 @@ export interface AuthorizationErrorException extends __SmithyException, $Metadat
19
19
  $fault: "client";
20
20
  message?: string;
21
21
  }
22
- export declare namespace AuthorizationErrorException {
23
-
24
- const filterSensitiveLog: (obj: AuthorizationErrorException) => any;
25
- }
26
22
 
27
23
  export interface InternalErrorException extends __SmithyException, $MetadataBearer {
28
24
  name: "InternalErrorException";
29
25
  $fault: "server";
30
26
  message?: string;
31
27
  }
32
- export declare namespace InternalErrorException {
33
-
34
- const filterSensitiveLog: (obj: InternalErrorException) => any;
35
- }
36
28
 
37
29
  export interface InvalidParameterException extends __SmithyException, $MetadataBearer {
38
30
  name: "InvalidParameterException";
39
31
  $fault: "client";
40
32
  message?: string;
41
33
  }
42
- export declare namespace InvalidParameterException {
43
-
44
- const filterSensitiveLog: (obj: InvalidParameterException) => any;
45
- }
46
34
 
47
35
  export interface NotFoundException extends __SmithyException, $MetadataBearer {
48
36
  name: "NotFoundException";
49
37
  $fault: "client";
50
38
  message?: string;
51
39
  }
52
- export declare namespace NotFoundException {
53
-
54
- const filterSensitiveLog: (obj: NotFoundException) => any;
55
- }
56
40
 
57
41
  export interface CheckIfPhoneNumberIsOptedOutInput {
58
42
 
@@ -78,10 +62,6 @@ export interface ThrottledException extends __SmithyException, $MetadataBearer {
78
62
 
79
63
  message?: string;
80
64
  }
81
- export declare namespace ThrottledException {
82
-
83
- const filterSensitiveLog: (obj: ThrottledException) => any;
84
- }
85
65
 
86
66
  export interface ConfirmSubscriptionInput {
87
67
 
@@ -110,20 +90,12 @@ export interface FilterPolicyLimitExceededException extends __SmithyException, $
110
90
  $fault: "client";
111
91
  message?: string;
112
92
  }
113
- export declare namespace FilterPolicyLimitExceededException {
114
-
115
- const filterSensitiveLog: (obj: FilterPolicyLimitExceededException) => any;
116
- }
117
93
 
118
94
  export interface SubscriptionLimitExceededException extends __SmithyException, $MetadataBearer {
119
95
  name: "SubscriptionLimitExceededException";
120
96
  $fault: "client";
121
97
  message?: string;
122
98
  }
123
- export declare namespace SubscriptionLimitExceededException {
124
-
125
- const filterSensitiveLog: (obj: SubscriptionLimitExceededException) => any;
126
- }
127
99
 
128
100
  export interface CreatePlatformApplicationInput {
129
101
 
@@ -211,30 +183,18 @@ export interface OptedOutException extends __SmithyException, $MetadataBearer {
211
183
  $fault: "client";
212
184
  message?: string;
213
185
  }
214
- export declare namespace OptedOutException {
215
-
216
- const filterSensitiveLog: (obj: OptedOutException) => any;
217
- }
218
186
 
219
187
  export interface UserErrorException extends __SmithyException, $MetadataBearer {
220
188
  name: "UserErrorException";
221
189
  $fault: "client";
222
190
  message?: string;
223
191
  }
224
- export declare namespace UserErrorException {
225
-
226
- const filterSensitiveLog: (obj: UserErrorException) => any;
227
- }
228
192
 
229
193
  export interface ConcurrentAccessException extends __SmithyException, $MetadataBearer {
230
194
  name: "ConcurrentAccessException";
231
195
  $fault: "client";
232
196
  message?: string;
233
197
  }
234
- export declare namespace ConcurrentAccessException {
235
-
236
- const filterSensitiveLog: (obj: ConcurrentAccessException) => any;
237
- }
238
198
 
239
199
  export interface Tag {
240
200
 
@@ -276,50 +236,30 @@ export interface InvalidSecurityException extends __SmithyException, $MetadataBe
276
236
  $fault: "client";
277
237
  message?: string;
278
238
  }
279
- export declare namespace InvalidSecurityException {
280
-
281
- const filterSensitiveLog: (obj: InvalidSecurityException) => any;
282
- }
283
239
 
284
240
  export interface StaleTagException extends __SmithyException, $MetadataBearer {
285
241
  name: "StaleTagException";
286
242
  $fault: "client";
287
243
  message?: string;
288
244
  }
289
- export declare namespace StaleTagException {
290
-
291
- const filterSensitiveLog: (obj: StaleTagException) => any;
292
- }
293
245
 
294
246
  export interface TagLimitExceededException extends __SmithyException, $MetadataBearer {
295
247
  name: "TagLimitExceededException";
296
248
  $fault: "client";
297
249
  message?: string;
298
250
  }
299
- export declare namespace TagLimitExceededException {
300
-
301
- const filterSensitiveLog: (obj: TagLimitExceededException) => any;
302
- }
303
251
 
304
252
  export interface TagPolicyException extends __SmithyException, $MetadataBearer {
305
253
  name: "TagPolicyException";
306
254
  $fault: "client";
307
255
  message?: string;
308
256
  }
309
- export declare namespace TagPolicyException {
310
-
311
- const filterSensitiveLog: (obj: TagPolicyException) => any;
312
- }
313
257
 
314
258
  export interface TopicLimitExceededException extends __SmithyException, $MetadataBearer {
315
259
  name: "TopicLimitExceededException";
316
260
  $fault: "client";
317
261
  message?: string;
318
262
  }
319
- export declare namespace TopicLimitExceededException {
320
-
321
- const filterSensitiveLog: (obj: TopicLimitExceededException) => any;
322
- }
323
263
 
324
264
  export interface DeleteEndpointInput {
325
265
 
@@ -358,10 +298,6 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
358
298
  $fault: "client";
359
299
  message?: string;
360
300
  }
361
- export declare namespace ResourceNotFoundException {
362
-
363
- const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
364
- }
365
301
  export interface DeleteTopicInput {
366
302
 
367
303
  TopicArn: string | undefined;
@@ -574,10 +510,6 @@ export interface ValidationException extends __SmithyException, $MetadataBearer
574
510
  $fault: "client";
575
511
  Message: string | undefined;
576
512
  }
577
- export declare namespace ValidationException {
578
-
579
- const filterSensitiveLog: (obj: ValidationException) => any;
580
- }
581
513
 
582
514
  export interface ListPhoneNumbersOptedOutInput {
583
515
 
@@ -792,10 +724,6 @@ export interface EndpointDisabledException extends __SmithyException, $MetadataB
792
724
 
793
725
  message?: string;
794
726
  }
795
- export declare namespace EndpointDisabledException {
796
-
797
- const filterSensitiveLog: (obj: EndpointDisabledException) => any;
798
- }
799
727
 
800
728
  export interface InvalidParameterValueException extends __SmithyException, $MetadataBearer {
801
729
  name: "InvalidParameterValueException";
@@ -803,70 +731,42 @@ export interface InvalidParameterValueException extends __SmithyException, $Meta
803
731
 
804
732
  message?: string;
805
733
  }
806
- export declare namespace InvalidParameterValueException {
807
-
808
- const filterSensitiveLog: (obj: InvalidParameterValueException) => any;
809
- }
810
734
 
811
735
  export interface KMSAccessDeniedException extends __SmithyException, $MetadataBearer {
812
736
  name: "KMSAccessDeniedException";
813
737
  $fault: "client";
814
738
  message?: string;
815
739
  }
816
- export declare namespace KMSAccessDeniedException {
817
-
818
- const filterSensitiveLog: (obj: KMSAccessDeniedException) => any;
819
- }
820
740
 
821
741
  export interface KMSDisabledException extends __SmithyException, $MetadataBearer {
822
742
  name: "KMSDisabledException";
823
743
  $fault: "client";
824
744
  message?: string;
825
745
  }
826
- export declare namespace KMSDisabledException {
827
-
828
- const filterSensitiveLog: (obj: KMSDisabledException) => any;
829
- }
830
746
 
831
747
  export interface KMSInvalidStateException extends __SmithyException, $MetadataBearer {
832
748
  name: "KMSInvalidStateException";
833
749
  $fault: "client";
834
750
  message?: string;
835
751
  }
836
- export declare namespace KMSInvalidStateException {
837
-
838
- const filterSensitiveLog: (obj: KMSInvalidStateException) => any;
839
- }
840
752
 
841
753
  export interface KMSNotFoundException extends __SmithyException, $MetadataBearer {
842
754
  name: "KMSNotFoundException";
843
755
  $fault: "client";
844
756
  message?: string;
845
757
  }
846
- export declare namespace KMSNotFoundException {
847
-
848
- const filterSensitiveLog: (obj: KMSNotFoundException) => any;
849
- }
850
758
 
851
759
  export interface KMSOptInRequired extends __SmithyException, $MetadataBearer {
852
760
  name: "KMSOptInRequired";
853
761
  $fault: "client";
854
762
  message?: string;
855
763
  }
856
- export declare namespace KMSOptInRequired {
857
-
858
- const filterSensitiveLog: (obj: KMSOptInRequired) => any;
859
- }
860
764
 
861
765
  export interface KMSThrottlingException extends __SmithyException, $MetadataBearer {
862
766
  name: "KMSThrottlingException";
863
767
  $fault: "client";
864
768
  message?: string;
865
769
  }
866
- export declare namespace KMSThrottlingException {
867
-
868
- const filterSensitiveLog: (obj: KMSThrottlingException) => any;
869
- }
870
770
 
871
771
  export interface PlatformApplicationDisabledException extends __SmithyException, $MetadataBearer {
872
772
  name: "PlatformApplicationDisabledException";
@@ -874,10 +774,6 @@ export interface PlatformApplicationDisabledException extends __SmithyException,
874
774
 
875
775
  message?: string;
876
776
  }
877
- export declare namespace PlatformApplicationDisabledException {
878
-
879
- const filterSensitiveLog: (obj: PlatformApplicationDisabledException) => any;
880
- }
881
777
 
882
778
  export interface MessageAttributeValue {
883
779
 
@@ -935,40 +831,24 @@ export interface BatchEntryIdsNotDistinctException extends __SmithyException, $M
935
831
  $fault: "client";
936
832
  message?: string;
937
833
  }
938
- export declare namespace BatchEntryIdsNotDistinctException {
939
-
940
- const filterSensitiveLog: (obj: BatchEntryIdsNotDistinctException) => any;
941
- }
942
834
 
943
835
  export interface BatchRequestTooLongException extends __SmithyException, $MetadataBearer {
944
836
  name: "BatchRequestTooLongException";
945
837
  $fault: "client";
946
838
  message?: string;
947
839
  }
948
- export declare namespace BatchRequestTooLongException {
949
-
950
- const filterSensitiveLog: (obj: BatchRequestTooLongException) => any;
951
- }
952
840
 
953
841
  export interface EmptyBatchRequestException extends __SmithyException, $MetadataBearer {
954
842
  name: "EmptyBatchRequestException";
955
843
  $fault: "client";
956
844
  message?: string;
957
845
  }
958
- export declare namespace EmptyBatchRequestException {
959
-
960
- const filterSensitiveLog: (obj: EmptyBatchRequestException) => any;
961
- }
962
846
 
963
847
  export interface InvalidBatchEntryIdException extends __SmithyException, $MetadataBearer {
964
848
  name: "InvalidBatchEntryIdException";
965
849
  $fault: "client";
966
850
  message?: string;
967
851
  }
968
- export declare namespace InvalidBatchEntryIdException {
969
-
970
- const filterSensitiveLog: (obj: InvalidBatchEntryIdException) => any;
971
- }
972
852
 
973
853
  export interface PublishBatchRequestEntry {
974
854
 
@@ -1046,10 +926,6 @@ export interface TooManyEntriesInBatchRequestException extends __SmithyException
1046
926
  $fault: "client";
1047
927
  message?: string;
1048
928
  }
1049
- export declare namespace TooManyEntriesInBatchRequestException {
1050
-
1051
- const filterSensitiveLog: (obj: TooManyEntriesInBatchRequestException) => any;
1052
- }
1053
929
 
1054
930
  export interface RemovePermissionInput {
1055
931
 
@@ -1208,10 +1084,6 @@ export interface VerificationException extends __SmithyException, $MetadataBeare
1208
1084
 
1209
1085
  Status: string | undefined;
1210
1086
  }
1211
- export declare namespace VerificationException {
1212
-
1213
- const filterSensitiveLog: (obj: VerificationException) => any;
1214
- }
1215
1087
  export interface VerifySMSSandboxPhoneNumberInput {
1216
1088
 
1217
1089
  PhoneNumber: string | undefined;
@@ -1,8 +1,9 @@
1
- import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
1
+ import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
2
2
  import { SNSClientConfig } from "./SNSClient";
3
3
 
4
4
  export declare const getRuntimeConfig: (config: SNSClientConfig) => {
5
5
  runtime: string;
6
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
6
7
  base64Decoder: import("@aws-sdk/types").Decoder;
7
8
  base64Encoder: import("@aws-sdk/types").Encoder;
8
9
  bodyLengthChecker: (body: any) => number | undefined;
@@ -10,7 +11,7 @@ export declare const getRuntimeConfig: (config: SNSClientConfig) => {
10
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
11
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
12
13
  region: string | import("@aws-sdk/types").Provider<any>;
13
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | FetchHttpHandler;
14
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
14
15
  retryMode: string | import("@aws-sdk/types").Provider<string>;
15
16
  sha256: import("@aws-sdk/types").HashConstructor;
16
17
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -1,16 +1,17 @@
1
- import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
1
+ import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
2
2
  import { SNSClientConfig } from "./SNSClient";
3
3
 
4
4
  export declare const getRuntimeConfig: (config: SNSClientConfig) => {
5
5
  runtime: string;
6
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
6
7
  base64Decoder: import("@aws-sdk/types").Decoder;
7
8
  base64Encoder: import("@aws-sdk/types").Encoder;
8
9
  bodyLengthChecker: (body: any) => number | undefined;
9
- credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
10
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
10
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
11
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
12
13
  region: string | import("@aws-sdk/types").Provider<string>;
13
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | NodeHttpHandler;
14
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
14
15
  retryMode: string | import("@aws-sdk/types").Provider<string>;
15
16
  sha256: import("@aws-sdk/types").HashConstructor;
16
17
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -23,6 +23,7 @@ export declare const getRuntimeConfig: (config: SNSClientConfig) => {
23
23
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
24
24
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
25
25
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
26
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
26
27
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
27
28
  tls?: boolean | undefined;
28
29
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
package/package.json CHANGED
@@ -1,17 +1,15 @@
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.46.0",
4
+ "version": "3.48.0",
5
5
  "scripts": {
6
- "build": "yarn build:cjs && yarn build:es && yarn build:types",
7
- "build:cjs": "tsc -p tsconfig.json",
6
+ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
+ "build:cjs": "tsc -p tsconfig.cjs.json",
8
8
  "build:docs": "typedoc",
9
9
  "build:es": "tsc -p tsconfig.es.json",
10
10
  "build:types": "tsc -p tsconfig.types.json",
11
11
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
12
- "clean": "yarn clean:dist && yarn clean:docs",
13
- "clean:dist": "rimraf ./dist-*",
14
- "clean:docs": "rimraf ./docs"
12
+ "clean": "rimraf ./dist-*"
15
13
  },
16
14
  "main": "./dist-cjs/index.js",
17
15
  "types": "./dist-types/index.d.ts",
@@ -20,40 +18,42 @@
20
18
  "dependencies": {
21
19
  "@aws-crypto/sha256-browser": "2.0.0",
22
20
  "@aws-crypto/sha256-js": "2.0.0",
23
- "@aws-sdk/client-sts": "3.46.0",
24
- "@aws-sdk/config-resolver": "3.46.0",
25
- "@aws-sdk/credential-provider-node": "3.46.0",
26
- "@aws-sdk/fetch-http-handler": "3.46.0",
27
- "@aws-sdk/hash-node": "3.46.0",
28
- "@aws-sdk/invalid-dependency": "3.46.0",
29
- "@aws-sdk/middleware-content-length": "3.46.0",
30
- "@aws-sdk/middleware-host-header": "3.46.0",
31
- "@aws-sdk/middleware-logger": "3.46.0",
32
- "@aws-sdk/middleware-retry": "3.46.0",
33
- "@aws-sdk/middleware-serde": "3.46.0",
34
- "@aws-sdk/middleware-signing": "3.46.0",
35
- "@aws-sdk/middleware-stack": "3.46.0",
36
- "@aws-sdk/middleware-user-agent": "3.46.0",
37
- "@aws-sdk/node-config-provider": "3.46.0",
38
- "@aws-sdk/node-http-handler": "3.46.0",
39
- "@aws-sdk/protocol-http": "3.46.0",
40
- "@aws-sdk/smithy-client": "3.46.0",
41
- "@aws-sdk/types": "3.46.0",
42
- "@aws-sdk/url-parser": "3.46.0",
43
- "@aws-sdk/util-base64-browser": "3.46.0",
44
- "@aws-sdk/util-base64-node": "3.46.0",
45
- "@aws-sdk/util-body-length-browser": "3.46.0",
46
- "@aws-sdk/util-body-length-node": "3.46.0",
47
- "@aws-sdk/util-user-agent-browser": "3.46.0",
48
- "@aws-sdk/util-user-agent-node": "3.46.0",
49
- "@aws-sdk/util-utf8-browser": "3.46.0",
50
- "@aws-sdk/util-utf8-node": "3.46.0",
21
+ "@aws-sdk/client-sts": "3.48.0",
22
+ "@aws-sdk/config-resolver": "3.47.2",
23
+ "@aws-sdk/credential-provider-node": "3.48.0",
24
+ "@aws-sdk/fetch-http-handler": "3.47.2",
25
+ "@aws-sdk/hash-node": "3.47.2",
26
+ "@aws-sdk/invalid-dependency": "3.47.2",
27
+ "@aws-sdk/middleware-content-length": "3.47.2",
28
+ "@aws-sdk/middleware-host-header": "3.47.2",
29
+ "@aws-sdk/middleware-logger": "3.47.2",
30
+ "@aws-sdk/middleware-retry": "3.47.2",
31
+ "@aws-sdk/middleware-serde": "3.47.2",
32
+ "@aws-sdk/middleware-signing": "3.47.2",
33
+ "@aws-sdk/middleware-stack": "3.47.2",
34
+ "@aws-sdk/middleware-user-agent": "3.47.2",
35
+ "@aws-sdk/node-config-provider": "3.47.2",
36
+ "@aws-sdk/node-http-handler": "3.47.2",
37
+ "@aws-sdk/protocol-http": "3.47.2",
38
+ "@aws-sdk/smithy-client": "3.47.2",
39
+ "@aws-sdk/types": "3.47.1",
40
+ "@aws-sdk/url-parser": "3.47.2",
41
+ "@aws-sdk/util-base64-browser": "3.47.1",
42
+ "@aws-sdk/util-base64-node": "3.47.2",
43
+ "@aws-sdk/util-body-length-browser": "3.47.1",
44
+ "@aws-sdk/util-body-length-node": "3.47.1",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.47.2",
46
+ "@aws-sdk/util-defaults-mode-node": "3.47.2",
47
+ "@aws-sdk/util-user-agent-browser": "3.47.2",
48
+ "@aws-sdk/util-user-agent-node": "3.47.2",
49
+ "@aws-sdk/util-utf8-browser": "3.47.1",
50
+ "@aws-sdk/util-utf8-node": "3.47.2",
51
51
  "entities": "2.2.0",
52
52
  "fast-xml-parser": "3.19.0",
53
53
  "tslib": "^2.3.0"
54
54
  },
55
55
  "devDependencies": {
56
- "@aws-sdk/service-client-documentation-generator": "3.46.0",
56
+ "@aws-sdk/service-client-documentation-generator": "3.47.1",
57
57
  "@types/node": "^12.7.5"
58
58
  },
59
59
  "engines": {