@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.
@@ -34,12 +34,6 @@ export interface AuthorizationErrorException extends __SmithyException, $Metadat
34
34
  $fault: "client";
35
35
  message?: string;
36
36
  }
37
- export declare namespace AuthorizationErrorException {
38
- /**
39
- * @internal
40
- */
41
- const filterSensitiveLog: (obj: AuthorizationErrorException) => any;
42
- }
43
37
  /**
44
38
  * <p>Indicates an internal service error.</p>
45
39
  */
@@ -48,12 +42,6 @@ export interface InternalErrorException extends __SmithyException, $MetadataBear
48
42
  $fault: "server";
49
43
  message?: string;
50
44
  }
51
- export declare namespace InternalErrorException {
52
- /**
53
- * @internal
54
- */
55
- const filterSensitiveLog: (obj: InternalErrorException) => any;
56
- }
57
45
  /**
58
46
  * <p>Indicates that a request parameter does not comply with the associated
59
47
  * constraints.</p>
@@ -63,12 +51,6 @@ export interface InvalidParameterException extends __SmithyException, $MetadataB
63
51
  $fault: "client";
64
52
  message?: string;
65
53
  }
66
- export declare namespace InvalidParameterException {
67
- /**
68
- * @internal
69
- */
70
- const filterSensitiveLog: (obj: InvalidParameterException) => any;
71
- }
72
54
  /**
73
55
  * <p>Indicates that the requested resource does not exist.</p>
74
56
  */
@@ -77,12 +59,6 @@ export interface NotFoundException extends __SmithyException, $MetadataBearer {
77
59
  $fault: "client";
78
60
  message?: string;
79
61
  }
80
- export declare namespace NotFoundException {
81
- /**
82
- * @internal
83
- */
84
- const filterSensitiveLog: (obj: NotFoundException) => any;
85
- }
86
62
  /**
87
63
  * <p>The input for the <code>CheckIfPhoneNumberIsOptedOut</code> action.</p>
88
64
  */
@@ -136,12 +112,6 @@ export interface ThrottledException extends __SmithyException, $MetadataBearer {
136
112
  */
137
113
  message?: string;
138
114
  }
139
- export declare namespace ThrottledException {
140
- /**
141
- * @internal
142
- */
143
- const filterSensitiveLog: (obj: ThrottledException) => any;
144
- }
145
115
  /**
146
116
  * <p>Input for ConfirmSubscription action.</p>
147
117
  */
@@ -193,12 +163,6 @@ export interface FilterPolicyLimitExceededException extends __SmithyException, $
193
163
  $fault: "client";
194
164
  message?: string;
195
165
  }
196
- export declare namespace FilterPolicyLimitExceededException {
197
- /**
198
- * @internal
199
- */
200
- const filterSensitiveLog: (obj: FilterPolicyLimitExceededException) => any;
201
- }
202
166
  /**
203
167
  * <p>Indicates that the customer already owns the maximum allowed number of
204
168
  * subscriptions.</p>
@@ -208,12 +172,6 @@ export interface SubscriptionLimitExceededException extends __SmithyException, $
208
172
  $fault: "client";
209
173
  message?: string;
210
174
  }
211
- export declare namespace SubscriptionLimitExceededException {
212
- /**
213
- * @internal
214
- */
215
- const filterSensitiveLog: (obj: SubscriptionLimitExceededException) => any;
216
- }
217
175
  /**
218
176
  * <p>Input for CreatePlatformApplication action.</p>
219
177
  */
@@ -357,12 +315,6 @@ export interface OptedOutException extends __SmithyException, $MetadataBearer {
357
315
  $fault: "client";
358
316
  message?: string;
359
317
  }
360
- export declare namespace OptedOutException {
361
- /**
362
- * @internal
363
- */
364
- const filterSensitiveLog: (obj: OptedOutException) => any;
365
- }
366
318
  /**
367
319
  * <p>Indicates that a request parameter does not comply with the associated
368
320
  * constraints.</p>
@@ -372,12 +324,6 @@ export interface UserErrorException extends __SmithyException, $MetadataBearer {
372
324
  $fault: "client";
373
325
  message?: string;
374
326
  }
375
- export declare namespace UserErrorException {
376
- /**
377
- * @internal
378
- */
379
- const filterSensitiveLog: (obj: UserErrorException) => any;
380
- }
381
327
  /**
382
328
  * <p>Can't perform multiple operations on a tag simultaneously. Perform the operations
383
329
  * sequentially.</p>
@@ -387,12 +333,6 @@ export interface ConcurrentAccessException extends __SmithyException, $MetadataB
387
333
  $fault: "client";
388
334
  message?: string;
389
335
  }
390
- export declare namespace ConcurrentAccessException {
391
- /**
392
- * @internal
393
- */
394
- const filterSensitiveLog: (obj: ConcurrentAccessException) => any;
395
- }
396
336
  /**
397
337
  * <p>The list of tags to be added to the specified topic.</p>
398
338
  */
@@ -539,12 +479,6 @@ export interface InvalidSecurityException extends __SmithyException, $MetadataBe
539
479
  $fault: "client";
540
480
  message?: string;
541
481
  }
542
- export declare namespace InvalidSecurityException {
543
- /**
544
- * @internal
545
- */
546
- const filterSensitiveLog: (obj: InvalidSecurityException) => any;
547
- }
548
482
  /**
549
483
  * <p>A tag has been added to a resource with the same ARN as a deleted resource. Wait a
550
484
  * short while and then retry the operation.</p>
@@ -554,12 +488,6 @@ export interface StaleTagException extends __SmithyException, $MetadataBearer {
554
488
  $fault: "client";
555
489
  message?: string;
556
490
  }
557
- export declare namespace StaleTagException {
558
- /**
559
- * @internal
560
- */
561
- const filterSensitiveLog: (obj: StaleTagException) => any;
562
- }
563
491
  /**
564
492
  * <p>Can't add more than 50 tags to a topic.</p>
565
493
  */
@@ -568,12 +496,6 @@ export interface TagLimitExceededException extends __SmithyException, $MetadataB
568
496
  $fault: "client";
569
497
  message?: string;
570
498
  }
571
- export declare namespace TagLimitExceededException {
572
- /**
573
- * @internal
574
- */
575
- const filterSensitiveLog: (obj: TagLimitExceededException) => any;
576
- }
577
499
  /**
578
500
  * <p>The request doesn't comply with the IAM tag policy. Correct your request and then
579
501
  * retry it.</p>
@@ -583,12 +505,6 @@ export interface TagPolicyException extends __SmithyException, $MetadataBearer {
583
505
  $fault: "client";
584
506
  message?: string;
585
507
  }
586
- export declare namespace TagPolicyException {
587
- /**
588
- * @internal
589
- */
590
- const filterSensitiveLog: (obj: TagPolicyException) => any;
591
- }
592
508
  /**
593
509
  * <p>Indicates that the customer already owns the maximum allowed number of topics.</p>
594
510
  */
@@ -597,12 +513,6 @@ export interface TopicLimitExceededException extends __SmithyException, $Metadat
597
513
  $fault: "client";
598
514
  message?: string;
599
515
  }
600
- export declare namespace TopicLimitExceededException {
601
- /**
602
- * @internal
603
- */
604
- const filterSensitiveLog: (obj: TopicLimitExceededException) => any;
605
- }
606
516
  /**
607
517
  * <p>Input for DeleteEndpoint action.</p>
608
518
  */
@@ -662,12 +572,6 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
662
572
  $fault: "client";
663
573
  message?: string;
664
574
  }
665
- export declare namespace ResourceNotFoundException {
666
- /**
667
- * @internal
668
- */
669
- const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
670
- }
671
575
  export interface DeleteTopicInput {
672
576
  /**
673
577
  * <p>The ARN of the topic you want to delete.</p>
@@ -1237,12 +1141,6 @@ export interface ValidationException extends __SmithyException, $MetadataBearer
1237
1141
  $fault: "client";
1238
1142
  Message: string | undefined;
1239
1143
  }
1240
- export declare namespace ValidationException {
1241
- /**
1242
- * @internal
1243
- */
1244
- const filterSensitiveLog: (obj: ValidationException) => any;
1245
- }
1246
1144
  /**
1247
1145
  * <p>The input for the <code>ListPhoneNumbersOptedOut</code> action.</p>
1248
1146
  */
@@ -1619,12 +1517,6 @@ export interface EndpointDisabledException extends __SmithyException, $MetadataB
1619
1517
  */
1620
1518
  message?: string;
1621
1519
  }
1622
- export declare namespace EndpointDisabledException {
1623
- /**
1624
- * @internal
1625
- */
1626
- const filterSensitiveLog: (obj: EndpointDisabledException) => any;
1627
- }
1628
1520
  /**
1629
1521
  * <p>Indicates that a request parameter does not comply with the associated constraints.</p>
1630
1522
  */
@@ -1636,12 +1528,6 @@ export interface InvalidParameterValueException extends __SmithyException, $Meta
1636
1528
  */
1637
1529
  message?: string;
1638
1530
  }
1639
- export declare namespace InvalidParameterValueException {
1640
- /**
1641
- * @internal
1642
- */
1643
- const filterSensitiveLog: (obj: InvalidParameterValueException) => any;
1644
- }
1645
1531
  /**
1646
1532
  * <p>The ciphertext references a key that doesn't exist or that you don't have access
1647
1533
  * to.</p>
@@ -1651,12 +1537,6 @@ export interface KMSAccessDeniedException extends __SmithyException, $MetadataBe
1651
1537
  $fault: "client";
1652
1538
  message?: string;
1653
1539
  }
1654
- export declare namespace KMSAccessDeniedException {
1655
- /**
1656
- * @internal
1657
- */
1658
- const filterSensitiveLog: (obj: KMSAccessDeniedException) => any;
1659
- }
1660
1540
  /**
1661
1541
  * <p>The request was rejected because the specified customer master key (CMK) isn't
1662
1542
  * enabled.</p>
@@ -1666,12 +1546,6 @@ export interface KMSDisabledException extends __SmithyException, $MetadataBearer
1666
1546
  $fault: "client";
1667
1547
  message?: string;
1668
1548
  }
1669
- export declare namespace KMSDisabledException {
1670
- /**
1671
- * @internal
1672
- */
1673
- const filterSensitiveLog: (obj: KMSDisabledException) => any;
1674
- }
1675
1549
  /**
1676
1550
  * <p>The request was rejected because the state of the specified resource isn't valid for
1677
1551
  * this request. For more information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html">How Key State Affects Use of a
@@ -1683,12 +1557,6 @@ export interface KMSInvalidStateException extends __SmithyException, $MetadataBe
1683
1557
  $fault: "client";
1684
1558
  message?: string;
1685
1559
  }
1686
- export declare namespace KMSInvalidStateException {
1687
- /**
1688
- * @internal
1689
- */
1690
- const filterSensitiveLog: (obj: KMSInvalidStateException) => any;
1691
- }
1692
1560
  /**
1693
1561
  * <p>The request was rejected because the specified entity or resource can't be
1694
1562
  * found.</p>
@@ -1698,12 +1566,6 @@ export interface KMSNotFoundException extends __SmithyException, $MetadataBearer
1698
1566
  $fault: "client";
1699
1567
  message?: string;
1700
1568
  }
1701
- export declare namespace KMSNotFoundException {
1702
- /**
1703
- * @internal
1704
- */
1705
- const filterSensitiveLog: (obj: KMSNotFoundException) => any;
1706
- }
1707
1569
  /**
1708
1570
  * <p>The Amazon Web Services access key ID needs a subscription for the service.</p>
1709
1571
  */
@@ -1712,12 +1574,6 @@ export interface KMSOptInRequired extends __SmithyException, $MetadataBearer {
1712
1574
  $fault: "client";
1713
1575
  message?: string;
1714
1576
  }
1715
- export declare namespace KMSOptInRequired {
1716
- /**
1717
- * @internal
1718
- */
1719
- const filterSensitiveLog: (obj: KMSOptInRequired) => any;
1720
- }
1721
1577
  /**
1722
1578
  * <p>The request was denied due to request throttling. For more information about
1723
1579
  * throttling, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/limits.html#requests-per-second">Limits</a> in
@@ -1729,12 +1585,6 @@ export interface KMSThrottlingException extends __SmithyException, $MetadataBear
1729
1585
  $fault: "client";
1730
1586
  message?: string;
1731
1587
  }
1732
- export declare namespace KMSThrottlingException {
1733
- /**
1734
- * @internal
1735
- */
1736
- const filterSensitiveLog: (obj: KMSThrottlingException) => any;
1737
- }
1738
1588
  /**
1739
1589
  * <p>Exception error indicating platform application disabled.</p>
1740
1590
  */
@@ -1746,12 +1596,6 @@ export interface PlatformApplicationDisabledException extends __SmithyException,
1746
1596
  */
1747
1597
  message?: string;
1748
1598
  }
1749
- export declare namespace PlatformApplicationDisabledException {
1750
- /**
1751
- * @internal
1752
- */
1753
- const filterSensitiveLog: (obj: PlatformApplicationDisabledException) => any;
1754
- }
1755
1599
  /**
1756
1600
  * <p>The user-specified message attribute value. For string data types, the value attribute
1757
1601
  * has the same restrictions on the content as the message body. For more information, see
@@ -1976,12 +1820,6 @@ export interface BatchEntryIdsNotDistinctException extends __SmithyException, $M
1976
1820
  $fault: "client";
1977
1821
  message?: string;
1978
1822
  }
1979
- export declare namespace BatchEntryIdsNotDistinctException {
1980
- /**
1981
- * @internal
1982
- */
1983
- const filterSensitiveLog: (obj: BatchEntryIdsNotDistinctException) => any;
1984
- }
1985
1823
  /**
1986
1824
  * <p>The length of all the batch messages put together is more than the limit.</p>
1987
1825
  */
@@ -1990,12 +1828,6 @@ export interface BatchRequestTooLongException extends __SmithyException, $Metada
1990
1828
  $fault: "client";
1991
1829
  message?: string;
1992
1830
  }
1993
- export declare namespace BatchRequestTooLongException {
1994
- /**
1995
- * @internal
1996
- */
1997
- const filterSensitiveLog: (obj: BatchRequestTooLongException) => any;
1998
- }
1999
1831
  /**
2000
1832
  * <p>The batch request doesn't contain any entries.</p>
2001
1833
  */
@@ -2004,12 +1836,6 @@ export interface EmptyBatchRequestException extends __SmithyException, $Metadata
2004
1836
  $fault: "client";
2005
1837
  message?: string;
2006
1838
  }
2007
- export declare namespace EmptyBatchRequestException {
2008
- /**
2009
- * @internal
2010
- */
2011
- const filterSensitiveLog: (obj: EmptyBatchRequestException) => any;
2012
- }
2013
1839
  /**
2014
1840
  * <p>The <code>Id</code> of a batch entry in a batch request doesn't abide by the specification. </p>
2015
1841
  */
@@ -2018,12 +1844,6 @@ export interface InvalidBatchEntryIdException extends __SmithyException, $Metada
2018
1844
  $fault: "client";
2019
1845
  message?: string;
2020
1846
  }
2021
- export declare namespace InvalidBatchEntryIdException {
2022
- /**
2023
- * @internal
2024
- */
2025
- const filterSensitiveLog: (obj: InvalidBatchEntryIdException) => any;
2026
- }
2027
1847
  /**
2028
1848
  * <p>Contains the details of a single Amazon SNS message along with an <code>Id</code> that identifies a message within the batch. </p>
2029
1849
  */
@@ -2220,12 +2040,6 @@ export interface TooManyEntriesInBatchRequestException extends __SmithyException
2220
2040
  $fault: "client";
2221
2041
  message?: string;
2222
2042
  }
2223
- export declare namespace TooManyEntriesInBatchRequestException {
2224
- /**
2225
- * @internal
2226
- */
2227
- const filterSensitiveLog: (obj: TooManyEntriesInBatchRequestException) => any;
2228
- }
2229
2043
  /**
2230
2044
  * <p>Input for RemovePermission action.</p>
2231
2045
  */
@@ -2933,12 +2747,6 @@ export interface VerificationException extends __SmithyException, $MetadataBeare
2933
2747
  */
2934
2748
  Status: string | undefined;
2935
2749
  }
2936
- export declare namespace VerificationException {
2937
- /**
2938
- * @internal
2939
- */
2940
- const filterSensitiveLog: (obj: VerificationException) => any;
2941
- }
2942
2750
  export interface VerifySMSSandboxPhoneNumberInput {
2943
2751
  /**
2944
2752
  * <p>The destination phone number to verify.</p>
@@ -1,10 +1,11 @@
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
  * @internal
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: SNSClientConfig) => {
7
7
  runtime: string;
8
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
8
9
  base64Decoder: import("@aws-sdk/types").Decoder;
9
10
  base64Encoder: import("@aws-sdk/types").Encoder;
10
11
  bodyLengthChecker: (body: any) => number | undefined;
@@ -12,7 +13,7 @@ export declare const getRuntimeConfig: (config: SNSClientConfig) => {
12
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
13
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
14
15
  region: string | import("@aws-sdk/types").Provider<any>;
15
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | FetchHttpHandler;
16
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
16
17
  retryMode: string | import("@aws-sdk/types").Provider<string>;
17
18
  sha256: import("@aws-sdk/types").HashConstructor;
18
19
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -1,18 +1,19 @@
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
  * @internal
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: SNSClientConfig) => {
7
7
  runtime: string;
8
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
8
9
  base64Decoder: import("@aws-sdk/types").Decoder;
9
10
  base64Encoder: import("@aws-sdk/types").Encoder;
10
11
  bodyLengthChecker: (body: any) => number | undefined;
11
- credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
12
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
12
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
13
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
14
15
  region: string | import("@aws-sdk/types").Provider<string>;
15
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | NodeHttpHandler;
16
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
16
17
  retryMode: string | import("@aws-sdk/types").Provider<string>;
17
18
  sha256: import("@aws-sdk/types").HashConstructor;
18
19
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -25,6 +25,7 @@ export declare const getRuntimeConfig: (config: SNSClientConfig) => {
25
25
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
26
26
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
27
27
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
28
+ 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>;
28
29
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
29
30
  tls?: boolean | undefined;
30
31
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
4
4
  import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
- import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
7
+ import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
8
  import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { AddPermissionCommandInput, AddPermissionCommandOutput } from "./commands/AddPermissionCommand";
10
10
  import { CheckIfPhoneNumberIsOptedOutCommandInput, CheckIfPhoneNumberIsOptedOutCommandOutput } from "./commands/CheckIfPhoneNumberIsOptedOutCommand";
@@ -91,6 +91,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
91
91
  regionInfoProvider?: RegionInfoProvider;
92
92
 
93
93
  defaultUserAgentProvider?: Provider<__UserAgent>;
94
+
95
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
94
96
  }
95
97
  declare type SNSClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
96
98