@aws-sdk/client-sesv2 3.51.0 → 3.54.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.
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
7
  import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
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";
8
+ import { BodyLengthCalculator as __BodyLengthCalculator, 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 { CreateConfigurationSetCommandInput, CreateConfigurationSetCommandOutput } from "./commands/CreateConfigurationSetCommand";
10
10
  import { CreateConfigurationSetEventDestinationCommandInput, CreateConfigurationSetEventDestinationCommandOutput } from "./commands/CreateConfigurationSetEventDestinationCommand";
11
11
  import { CreateContactCommandInput, CreateContactCommandOutput } from "./commands/CreateContactCommand";
@@ -109,7 +109,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
109
109
  * A function that can calculate the length of a request body.
110
110
  * @internal
111
111
  */
112
- bodyLengthChecker?: (body: any) => number | undefined;
112
+ bodyLengthChecker?: __BodyLengthCalculator;
113
113
  /**
114
114
  * A function that converts a stream into an array of bytes.
115
115
  * @internal
@@ -3,3 +3,4 @@ export * from "./SESv2Client";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { SESv2ServiceException } from "./models/SESv2ServiceException";
@@ -0,0 +1,10 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+ /**
3
+ * Base exception class for all service exceptions from SESv2 service.
4
+ */
5
+ export declare class SESv2ServiceException extends __ServiceException {
6
+ /**
7
+ * @internal
8
+ */
9
+ constructor(options: __ServiceExceptionOptions);
10
+ }
@@ -1,4 +1,5 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { SESv2ServiceException as __BaseException } from "./SESv2ServiceException";
2
3
  export declare enum ContactLanguage {
3
4
  EN = "EN",
4
5
  JA = "JA"
@@ -110,26 +111,35 @@ export declare namespace AccountDetails {
110
111
  * <p>The message can't be sent because the account's ability to send email has been
111
112
  * permanently restricted.</p>
112
113
  */
113
- export interface AccountSuspendedException extends __SmithyException, $MetadataBearer {
114
- name: "AccountSuspendedException";
115
- $fault: "client";
116
- message?: string;
114
+ export declare class AccountSuspendedException extends __BaseException {
115
+ readonly name: "AccountSuspendedException";
116
+ readonly $fault: "client";
117
+ /**
118
+ * @internal
119
+ */
120
+ constructor(opts: __ExceptionOptionType<AccountSuspendedException, __BaseException>);
117
121
  }
118
122
  /**
119
123
  * <p>The resource specified in your request already exists.</p>
120
124
  */
121
- export interface AlreadyExistsException extends __SmithyException, $MetadataBearer {
122
- name: "AlreadyExistsException";
123
- $fault: "client";
124
- message?: string;
125
+ export declare class AlreadyExistsException extends __BaseException {
126
+ readonly name: "AlreadyExistsException";
127
+ readonly $fault: "client";
128
+ /**
129
+ * @internal
130
+ */
131
+ constructor(opts: __ExceptionOptionType<AlreadyExistsException, __BaseException>);
125
132
  }
126
133
  /**
127
134
  * <p>The input you provided is invalid.</p>
128
135
  */
129
- export interface BadRequestException extends __SmithyException, $MetadataBearer {
130
- name: "BadRequestException";
131
- $fault: "client";
132
- message?: string;
136
+ export declare class BadRequestException extends __BaseException {
137
+ readonly name: "BadRequestException";
138
+ readonly $fault: "client";
139
+ /**
140
+ * @internal
141
+ */
142
+ constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
133
143
  }
134
144
  export declare enum BehaviorOnMxFailure {
135
145
  REJECT_MESSAGE = "REJECT_MESSAGE",
@@ -572,18 +582,24 @@ export declare namespace CloudWatchDestination {
572
582
  /**
573
583
  * <p>The resource is being modified by another operation or thread.</p>
574
584
  */
575
- export interface ConcurrentModificationException extends __SmithyException, $MetadataBearer {
576
- name: "ConcurrentModificationException";
577
- $fault: "server";
578
- message?: string;
585
+ export declare class ConcurrentModificationException extends __BaseException {
586
+ readonly name: "ConcurrentModificationException";
587
+ readonly $fault: "server";
588
+ /**
589
+ * @internal
590
+ */
591
+ constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
579
592
  }
580
593
  /**
581
594
  * <p>If there is already an ongoing account details update under review.</p>
582
595
  */
583
- export interface ConflictException extends __SmithyException, $MetadataBearer {
584
- name: "ConflictException";
585
- $fault: "client";
586
- message?: string;
596
+ export declare class ConflictException extends __BaseException {
597
+ readonly name: "ConflictException";
598
+ readonly $fault: "client";
599
+ /**
600
+ * @internal
601
+ */
602
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
587
603
  }
588
604
  export declare enum SubscriptionStatus {
589
605
  OPT_IN = "OPT_IN",
@@ -934,26 +950,35 @@ export declare namespace CreateConfigurationSetResponse {
934
950
  /**
935
951
  * <p>There are too many instances of the specified resource type.</p>
936
952
  */
937
- export interface LimitExceededException extends __SmithyException, $MetadataBearer {
938
- name: "LimitExceededException";
939
- $fault: "client";
940
- message?: string;
953
+ export declare class LimitExceededException extends __BaseException {
954
+ readonly name: "LimitExceededException";
955
+ readonly $fault: "client";
956
+ /**
957
+ * @internal
958
+ */
959
+ constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
941
960
  }
942
961
  /**
943
962
  * <p>The resource you attempted to access doesn't exist.</p>
944
963
  */
945
- export interface NotFoundException extends __SmithyException, $MetadataBearer {
946
- name: "NotFoundException";
947
- $fault: "client";
948
- message?: string;
964
+ export declare class NotFoundException extends __BaseException {
965
+ readonly name: "NotFoundException";
966
+ readonly $fault: "client";
967
+ /**
968
+ * @internal
969
+ */
970
+ constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
949
971
  }
950
972
  /**
951
973
  * <p>Too many requests have been made to the operation.</p>
952
974
  */
953
- export interface TooManyRequestsException extends __SmithyException, $MetadataBearer {
954
- name: "TooManyRequestsException";
955
- $fault: "client";
956
- message?: string;
975
+ export declare class TooManyRequestsException extends __BaseException {
976
+ readonly name: "TooManyRequestsException";
977
+ readonly $fault: "client";
978
+ /**
979
+ * @internal
980
+ */
981
+ constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
957
982
  }
958
983
  /**
959
984
  * <p>An object that defines an Amazon Kinesis Data Firehose destination for email events. You can use Amazon Kinesis Data Firehose to
@@ -1476,27 +1501,36 @@ export declare namespace CreateDeliverabilityTestReportResponse {
1476
1501
  /**
1477
1502
  * <p>The message can't be sent because the sending domain isn't verified.</p>
1478
1503
  */
1479
- export interface MailFromDomainNotVerifiedException extends __SmithyException, $MetadataBearer {
1480
- name: "MailFromDomainNotVerifiedException";
1481
- $fault: "client";
1482
- message?: string;
1504
+ export declare class MailFromDomainNotVerifiedException extends __BaseException {
1505
+ readonly name: "MailFromDomainNotVerifiedException";
1506
+ readonly $fault: "client";
1507
+ /**
1508
+ * @internal
1509
+ */
1510
+ constructor(opts: __ExceptionOptionType<MailFromDomainNotVerifiedException, __BaseException>);
1483
1511
  }
1484
1512
  /**
1485
1513
  * <p>The message can't be sent because it contains invalid content.</p>
1486
1514
  */
1487
- export interface MessageRejected extends __SmithyException, $MetadataBearer {
1488
- name: "MessageRejected";
1489
- $fault: "client";
1490
- message?: string;
1515
+ export declare class MessageRejected extends __BaseException {
1516
+ readonly name: "MessageRejected";
1517
+ readonly $fault: "client";
1518
+ /**
1519
+ * @internal
1520
+ */
1521
+ constructor(opts: __ExceptionOptionType<MessageRejected, __BaseException>);
1491
1522
  }
1492
1523
  /**
1493
1524
  * <p>The message can't be sent because the account's ability to send email is currently
1494
1525
  * paused.</p>
1495
1526
  */
1496
- export interface SendingPausedException extends __SmithyException, $MetadataBearer {
1497
- name: "SendingPausedException";
1498
- $fault: "client";
1499
- message?: string;
1527
+ export declare class SendingPausedException extends __BaseException {
1528
+ readonly name: "SendingPausedException";
1529
+ readonly $fault: "client";
1530
+ /**
1531
+ * @internal
1532
+ */
1533
+ constructor(opts: __ExceptionOptionType<SendingPausedException, __BaseException>);
1500
1534
  }
1501
1535
  export declare enum DkimSigningKeyLength {
1502
1536
  RSA_1024_BIT = "RSA_1024_BIT",
@@ -3838,10 +3872,13 @@ export declare namespace ImportJobSummary {
3838
3872
  /**
3839
3873
  * <p>The specified request includes an invalid or expired token.</p>
3840
3874
  */
3841
- export interface InvalidNextTokenException extends __SmithyException, $MetadataBearer {
3842
- name: "InvalidNextTokenException";
3843
- $fault: "client";
3844
- message?: string;
3875
+ export declare class InvalidNextTokenException extends __BaseException {
3876
+ readonly name: "InvalidNextTokenException";
3877
+ readonly $fault: "client";
3878
+ /**
3879
+ * @internal
3880
+ */
3881
+ constructor(opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>);
3845
3882
  }
3846
3883
  /**
3847
3884
  * <p>A request to obtain a list of configuration sets for your Amazon SES account in the current
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: SESv2ClientConfig) => {
8
8
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
9
9
  base64Decoder: import("@aws-sdk/types").Decoder;
10
10
  base64Encoder: import("@aws-sdk/types").Encoder;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
13
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
14
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: SESv2ClientConfig) => {
8
8
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
9
9
  base64Decoder: import("@aws-sdk/types").Decoder;
10
10
  base64Encoder: import("@aws-sdk/types").Encoder;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
13
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
14
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: SESv2ClientConfig) => {
8
8
  requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
9
9
  apiVersion: string;
10
10
  urlParser: import("@aws-sdk/types").UrlParser;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  streamCollector: import("@aws-sdk/types").StreamCollector;
13
13
  base64Decoder: import("@aws-sdk/types").Decoder;
14
14
  base64Encoder: import("@aws-sdk/types").Encoder;
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
7
  import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
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";
8
+ import { BodyLengthCalculator as __BodyLengthCalculator, 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 { CreateConfigurationSetCommandInput, CreateConfigurationSetCommandOutput } from "./commands/CreateConfigurationSetCommand";
10
10
  import { CreateConfigurationSetEventDestinationCommandInput, CreateConfigurationSetEventDestinationCommandOutput } from "./commands/CreateConfigurationSetEventDestinationCommand";
11
11
  import { CreateContactCommandInput, CreateContactCommandOutput } from "./commands/CreateContactCommand";
@@ -97,7 +97,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
97
97
 
98
98
  urlParser?: __UrlParser;
99
99
 
100
- bodyLengthChecker?: (body: any) => number | undefined;
100
+ bodyLengthChecker?: __BodyLengthCalculator;
101
101
 
102
102
  streamCollector?: __StreamCollector;
103
103
 
@@ -3,3 +3,4 @@ export * from "./SESv2Client";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { SESv2ServiceException } from "./models/SESv2ServiceException";
@@ -0,0 +1,6 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+
3
+ export declare class SESv2ServiceException extends __ServiceException {
4
+
5
+ constructor(options: __ServiceExceptionOptions);
6
+ }
@@ -1,4 +1,5 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { SESv2ServiceException as __BaseException } from "./SESv2ServiceException";
2
3
  export declare enum ContactLanguage {
3
4
  EN = "EN",
4
5
  JA = "JA"
@@ -44,22 +45,25 @@ export declare namespace AccountDetails {
44
45
  const filterSensitiveLog: (obj: AccountDetails) => any;
45
46
  }
46
47
 
47
- export interface AccountSuspendedException extends __SmithyException, $MetadataBearer {
48
- name: "AccountSuspendedException";
49
- $fault: "client";
50
- message?: string;
48
+ export declare class AccountSuspendedException extends __BaseException {
49
+ readonly name: "AccountSuspendedException";
50
+ readonly $fault: "client";
51
+
52
+ constructor(opts: __ExceptionOptionType<AccountSuspendedException, __BaseException>);
51
53
  }
52
54
 
53
- export interface AlreadyExistsException extends __SmithyException, $MetadataBearer {
54
- name: "AlreadyExistsException";
55
- $fault: "client";
56
- message?: string;
55
+ export declare class AlreadyExistsException extends __BaseException {
56
+ readonly name: "AlreadyExistsException";
57
+ readonly $fault: "client";
58
+
59
+ constructor(opts: __ExceptionOptionType<AlreadyExistsException, __BaseException>);
57
60
  }
58
61
 
59
- export interface BadRequestException extends __SmithyException, $MetadataBearer {
60
- name: "BadRequestException";
61
- $fault: "client";
62
- message?: string;
62
+ export declare class BadRequestException extends __BaseException {
63
+ readonly name: "BadRequestException";
64
+ readonly $fault: "client";
65
+
66
+ constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
63
67
  }
64
68
  export declare enum BehaviorOnMxFailure {
65
69
  REJECT_MESSAGE = "REJECT_MESSAGE",
@@ -233,16 +237,18 @@ export declare namespace CloudWatchDestination {
233
237
  const filterSensitiveLog: (obj: CloudWatchDestination) => any;
234
238
  }
235
239
 
236
- export interface ConcurrentModificationException extends __SmithyException, $MetadataBearer {
237
- name: "ConcurrentModificationException";
238
- $fault: "server";
239
- message?: string;
240
+ export declare class ConcurrentModificationException extends __BaseException {
241
+ readonly name: "ConcurrentModificationException";
242
+ readonly $fault: "server";
243
+
244
+ constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
240
245
  }
241
246
 
242
- export interface ConflictException extends __SmithyException, $MetadataBearer {
243
- name: "ConflictException";
244
- $fault: "client";
245
- message?: string;
247
+ export declare class ConflictException extends __BaseException {
248
+ readonly name: "ConflictException";
249
+ readonly $fault: "client";
250
+
251
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
246
252
  }
247
253
  export declare enum SubscriptionStatus {
248
254
  OPT_IN = "OPT_IN",
@@ -399,22 +405,25 @@ export declare namespace CreateConfigurationSetResponse {
399
405
  const filterSensitiveLog: (obj: CreateConfigurationSetResponse) => any;
400
406
  }
401
407
 
402
- export interface LimitExceededException extends __SmithyException, $MetadataBearer {
403
- name: "LimitExceededException";
404
- $fault: "client";
405
- message?: string;
408
+ export declare class LimitExceededException extends __BaseException {
409
+ readonly name: "LimitExceededException";
410
+ readonly $fault: "client";
411
+
412
+ constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
406
413
  }
407
414
 
408
- export interface NotFoundException extends __SmithyException, $MetadataBearer {
409
- name: "NotFoundException";
410
- $fault: "client";
411
- message?: string;
415
+ export declare class NotFoundException extends __BaseException {
416
+ readonly name: "NotFoundException";
417
+ readonly $fault: "client";
418
+
419
+ constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
412
420
  }
413
421
 
414
- export interface TooManyRequestsException extends __SmithyException, $MetadataBearer {
415
- name: "TooManyRequestsException";
416
- $fault: "client";
417
- message?: string;
422
+ export declare class TooManyRequestsException extends __BaseException {
423
+ readonly name: "TooManyRequestsException";
424
+ readonly $fault: "client";
425
+
426
+ constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
418
427
  }
419
428
 
420
429
  export interface KinesisFirehoseDestination {
@@ -661,22 +670,25 @@ export declare namespace CreateDeliverabilityTestReportResponse {
661
670
  const filterSensitiveLog: (obj: CreateDeliverabilityTestReportResponse) => any;
662
671
  }
663
672
 
664
- export interface MailFromDomainNotVerifiedException extends __SmithyException, $MetadataBearer {
665
- name: "MailFromDomainNotVerifiedException";
666
- $fault: "client";
667
- message?: string;
673
+ export declare class MailFromDomainNotVerifiedException extends __BaseException {
674
+ readonly name: "MailFromDomainNotVerifiedException";
675
+ readonly $fault: "client";
676
+
677
+ constructor(opts: __ExceptionOptionType<MailFromDomainNotVerifiedException, __BaseException>);
668
678
  }
669
679
 
670
- export interface MessageRejected extends __SmithyException, $MetadataBearer {
671
- name: "MessageRejected";
672
- $fault: "client";
673
- message?: string;
680
+ export declare class MessageRejected extends __BaseException {
681
+ readonly name: "MessageRejected";
682
+ readonly $fault: "client";
683
+
684
+ constructor(opts: __ExceptionOptionType<MessageRejected, __BaseException>);
674
685
  }
675
686
 
676
- export interface SendingPausedException extends __SmithyException, $MetadataBearer {
677
- name: "SendingPausedException";
678
- $fault: "client";
679
- message?: string;
687
+ export declare class SendingPausedException extends __BaseException {
688
+ readonly name: "SendingPausedException";
689
+ readonly $fault: "client";
690
+
691
+ constructor(opts: __ExceptionOptionType<SendingPausedException, __BaseException>);
680
692
  }
681
693
  export declare enum DkimSigningKeyLength {
682
694
  RSA_1024_BIT = "RSA_1024_BIT",
@@ -1828,10 +1840,11 @@ export declare namespace ImportJobSummary {
1828
1840
  const filterSensitiveLog: (obj: ImportJobSummary) => any;
1829
1841
  }
1830
1842
 
1831
- export interface InvalidNextTokenException extends __SmithyException, $MetadataBearer {
1832
- name: "InvalidNextTokenException";
1833
- $fault: "client";
1834
- message?: string;
1843
+ export declare class InvalidNextTokenException extends __BaseException {
1844
+ readonly name: "InvalidNextTokenException";
1845
+ readonly $fault: "client";
1846
+
1847
+ constructor(opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>);
1835
1848
  }
1836
1849
 
1837
1850
  export interface ListConfigurationSetsRequest {
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: SESv2ClientConfig) => {
6
6
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
7
7
  base64Decoder: import("@aws-sdk/types").Decoder;
8
8
  base64Encoder: import("@aws-sdk/types").Encoder;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
11
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: SESv2ClientConfig) => {
6
6
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
7
7
  base64Decoder: import("@aws-sdk/types").Decoder;
8
8
  base64Encoder: import("@aws-sdk/types").Encoder;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
11
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: SESv2ClientConfig) => {
6
6
  requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
7
7
  apiVersion: string;
8
8
  urlParser: import("@aws-sdk/types").UrlParser;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  streamCollector: import("@aws-sdk/types").StreamCollector;
11
11
  base64Decoder: import("@aws-sdk/types").Decoder;
12
12
  base64Encoder: import("@aws-sdk/types").Encoder;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sesv2",
3
3
  "description": "AWS SDK for JavaScript Sesv2 Client for Node.js, Browser and React Native",
4
- "version": "3.51.0",
4
+ "version": "3.54.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",
@@ -9,7 +9,7 @@
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": "rimraf ./dist-*"
12
+ "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo"
13
13
  },
14
14
  "main": "./dist-cjs/index.js",
15
15
  "types": "./dist-types/index.d.ts",
@@ -18,40 +18,40 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.51.0",
22
- "@aws-sdk/config-resolver": "3.51.0",
23
- "@aws-sdk/credential-provider-node": "3.51.0",
24
- "@aws-sdk/fetch-http-handler": "3.50.0",
25
- "@aws-sdk/hash-node": "3.50.0",
26
- "@aws-sdk/invalid-dependency": "3.50.0",
27
- "@aws-sdk/middleware-content-length": "3.50.0",
28
- "@aws-sdk/middleware-host-header": "3.50.0",
29
- "@aws-sdk/middleware-logger": "3.50.0",
30
- "@aws-sdk/middleware-retry": "3.51.0",
31
- "@aws-sdk/middleware-serde": "3.50.0",
32
- "@aws-sdk/middleware-signing": "3.50.0",
33
- "@aws-sdk/middleware-stack": "3.50.0",
34
- "@aws-sdk/middleware-user-agent": "3.50.0",
35
- "@aws-sdk/node-config-provider": "3.51.0",
36
- "@aws-sdk/node-http-handler": "3.50.0",
37
- "@aws-sdk/protocol-http": "3.50.0",
38
- "@aws-sdk/smithy-client": "3.50.0",
39
- "@aws-sdk/types": "3.50.0",
40
- "@aws-sdk/url-parser": "3.50.0",
41
- "@aws-sdk/util-base64-browser": "3.49.0",
42
- "@aws-sdk/util-base64-node": "3.49.0",
43
- "@aws-sdk/util-body-length-browser": "3.49.0",
44
- "@aws-sdk/util-body-length-node": "3.49.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.50.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.51.0",
47
- "@aws-sdk/util-user-agent-browser": "3.50.0",
48
- "@aws-sdk/util-user-agent-node": "3.51.0",
49
- "@aws-sdk/util-utf8-browser": "3.49.0",
50
- "@aws-sdk/util-utf8-node": "3.49.0",
21
+ "@aws-sdk/client-sts": "3.54.0",
22
+ "@aws-sdk/config-resolver": "3.54.0",
23
+ "@aws-sdk/credential-provider-node": "3.54.0",
24
+ "@aws-sdk/fetch-http-handler": "3.54.0",
25
+ "@aws-sdk/hash-node": "3.54.0",
26
+ "@aws-sdk/invalid-dependency": "3.54.0",
27
+ "@aws-sdk/middleware-content-length": "3.54.0",
28
+ "@aws-sdk/middleware-host-header": "3.54.0",
29
+ "@aws-sdk/middleware-logger": "3.54.0",
30
+ "@aws-sdk/middleware-retry": "3.54.0",
31
+ "@aws-sdk/middleware-serde": "3.54.0",
32
+ "@aws-sdk/middleware-signing": "3.54.0",
33
+ "@aws-sdk/middleware-stack": "3.54.0",
34
+ "@aws-sdk/middleware-user-agent": "3.54.0",
35
+ "@aws-sdk/node-config-provider": "3.54.0",
36
+ "@aws-sdk/node-http-handler": "3.54.0",
37
+ "@aws-sdk/protocol-http": "3.54.0",
38
+ "@aws-sdk/smithy-client": "3.54.0",
39
+ "@aws-sdk/types": "3.54.0",
40
+ "@aws-sdk/url-parser": "3.54.0",
41
+ "@aws-sdk/util-base64-browser": "3.52.0",
42
+ "@aws-sdk/util-base64-node": "3.52.0",
43
+ "@aws-sdk/util-body-length-browser": "3.54.0",
44
+ "@aws-sdk/util-body-length-node": "3.54.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.54.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.54.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.54.0",
48
+ "@aws-sdk/util-user-agent-node": "3.54.0",
49
+ "@aws-sdk/util-utf8-browser": "3.52.0",
50
+ "@aws-sdk/util-utf8-node": "3.52.0",
51
51
  "tslib": "^2.3.0"
52
52
  },
53
53
  "devDependencies": {
54
- "@aws-sdk/service-client-documentation-generator": "3.49.0",
54
+ "@aws-sdk/service-client-documentation-generator": "3.52.0",
55
55
  "@tsconfig/recommended": "1.0.1",
56
56
  "@types/node": "^12.7.5",
57
57
  "concurrently": "7.0.0",