@aws-sdk/client-sesv2 3.670.0 → 3.675.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -1692,6 +1692,7 @@ var se_PutConfigurationSetDeliveryOptionsCommand = /* @__PURE__ */ __name(async
1692
1692
  let body;
1693
1693
  body = JSON.stringify(
1694
1694
  (0, import_smithy_client.take)(input, {
1695
+ MaxDeliverySeconds: [],
1695
1696
  SendingPoolName: [],
1696
1697
  TlsPolicy: []
1697
1698
  })
@@ -772,6 +772,7 @@ export const se_PutConfigurationSetDeliveryOptionsCommand = async (input, contex
772
772
  b.p("ConfigurationSetName", () => input.ConfigurationSetName, "{ConfigurationSetName}", false);
773
773
  let body;
774
774
  body = JSON.stringify(take(input, {
775
+ MaxDeliverySeconds: [],
775
776
  SendingPoolName: [],
776
777
  TlsPolicy: [],
777
778
  }));
@@ -47,6 +47,7 @@ declare const CreateConfigurationSetCommand_base: {
47
47
  * DeliveryOptions: { // DeliveryOptions
48
48
  * TlsPolicy: "REQUIRE" || "OPTIONAL",
49
49
  * SendingPoolName: "STRING_VALUE",
50
+ * MaxDeliverySeconds: Number("long"),
50
51
  * },
51
52
  * ReputationOptions: { // ReputationOptions
52
53
  * ReputationMetricsEnabled: true || false,
@@ -55,6 +55,7 @@ declare const GetConfigurationSetCommand_base: {
55
55
  * // DeliveryOptions: { // DeliveryOptions
56
56
  * // TlsPolicy: "REQUIRE" || "OPTIONAL",
57
57
  * // SendingPoolName: "STRING_VALUE",
58
+ * // MaxDeliverySeconds: Number("long"),
58
59
  * // },
59
60
  * // ReputationOptions: { // ReputationOptions
60
61
  * // ReputationMetricsEnabled: true || false,
@@ -39,6 +39,7 @@ declare const PutConfigurationSetDeliveryOptionsCommand_base: {
39
39
  * ConfigurationSetName: "STRING_VALUE", // required
40
40
  * TlsPolicy: "REQUIRE" || "OPTIONAL",
41
41
  * SendingPoolName: "STRING_VALUE",
42
+ * MaxDeliverySeconds: Number("long"),
42
43
  * };
43
44
  * const command = new PutConfigurationSetDeliveryOptionsCommand(input);
44
45
  * const response = await client.send(command);
@@ -1189,6 +1189,14 @@ export interface DeliveryOptions {
1189
1189
  * @public
1190
1190
  */
1191
1191
  SendingPoolName?: string;
1192
+ /**
1193
+ * <p>The maximum amount of time, in seconds, that Amazon SES API v2 will attempt delivery of email.
1194
+ * If specified, the value must greater than or equal to 300 seconds (5 minutes)
1195
+ * and less than or equal to 50400 seconds (840 minutes).
1196
+ * </p>
1197
+ * @public
1198
+ */
1199
+ MaxDeliverySeconds?: number;
1192
1200
  }
1193
1201
  /**
1194
1202
  * <p>Enable or disable collection of reputation metrics for emails that you send using this
@@ -6286,6 +6294,14 @@ export interface PutConfigurationSetDeliveryOptionsRequest {
6286
6294
  * @public
6287
6295
  */
6288
6296
  SendingPoolName?: string;
6297
+ /**
6298
+ * <p>The maximum amount of time, in seconds, that Amazon SES API v2 will attempt delivery of email.
6299
+ * If specified, the value must greater than or equal to 300 seconds (5 minutes)
6300
+ * and less than or equal to 50400 seconds (840 minutes).
6301
+ * </p>
6302
+ * @public
6303
+ */
6304
+ MaxDeliverySeconds?: number;
6289
6305
  }
6290
6306
  /**
6291
6307
  * <p>An HTTP 200 response if the request succeeds, or an error message if the request
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: SESv2ClientConfig) => {
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
10
  credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
11
- defaultUserAgentProvider: (config: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
11
+ defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<any>;
14
14
  requestHandler: import("@smithy/protocol-http").HttpHandler<any> | RequestHandler;
@@ -20,7 +20,7 @@ export declare const getRuntimeConfig: (config: SESv2ClientConfig) => {
20
20
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
21
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
22
22
  region: string | import("@smithy/types").Provider<any>;
23
- defaultUserAgentProvider: (config: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
23
+ defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
24
24
  credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
25
25
  maxAttempts: number | import("@smithy/types").Provider<number>;
26
26
  retryMode: string | import("@smithy/types").Provider<string>;
@@ -290,6 +290,7 @@ export type TlsPolicy = (typeof TlsPolicy)[keyof typeof TlsPolicy];
290
290
  export interface DeliveryOptions {
291
291
  TlsPolicy?: TlsPolicy;
292
292
  SendingPoolName?: string;
293
+ MaxDeliverySeconds?: number;
293
294
  }
294
295
  export interface ReputationOptions {
295
296
  ReputationMetricsEnabled?: boolean;
@@ -1343,6 +1344,7 @@ export interface PutConfigurationSetDeliveryOptionsRequest {
1343
1344
  ConfigurationSetName: string | undefined;
1344
1345
  TlsPolicy?: TlsPolicy;
1345
1346
  SendingPoolName?: string;
1347
+ MaxDeliverySeconds?: number;
1346
1348
  }
1347
1349
  export interface PutConfigurationSetDeliveryOptionsResponse {}
1348
1350
  export interface PutConfigurationSetReputationOptionsRequest {
@@ -10,7 +10,9 @@ export declare const getRuntimeConfig: (config: SESv2ClientConfig) => {
10
10
  input: any
11
11
  ) => import("@smithy/types").AwsCredentialIdentityProvider;
12
12
  defaultUserAgentProvider: (
13
- config: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
13
+ config?:
14
+ | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
15
+ | undefined
14
16
  ) => Promise<import("@smithy/types").UserAgent>;
15
17
  maxAttempts: number | import("@smithy/types").Provider<number>;
16
18
  region: string | import("@smithy/types").Provider<any>;
@@ -23,7 +23,9 @@ export declare const getRuntimeConfig: (config: SESv2ClientConfig) => {
23
23
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
24
24
  region: string | import("@smithy/types").Provider<any>;
25
25
  defaultUserAgentProvider: (
26
- config: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
26
+ config?:
27
+ | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
28
+ | undefined
27
29
  ) => Promise<import("@smithy/types").UserAgent>;
28
30
  credentialDefaultProvider: (
29
31
  input: any
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.670.0",
4
+ "version": "3.675.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-sesv2",
@@ -20,10 +20,10 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.670.0",
24
- "@aws-sdk/client-sts": "3.670.0",
23
+ "@aws-sdk/client-sso-oidc": "3.675.0",
24
+ "@aws-sdk/client-sts": "3.675.0",
25
25
  "@aws-sdk/core": "3.667.0",
26
- "@aws-sdk/credential-provider-node": "3.670.0",
26
+ "@aws-sdk/credential-provider-node": "3.675.0",
27
27
  "@aws-sdk/middleware-host-header": "3.667.0",
28
28
  "@aws-sdk/middleware-logger": "3.667.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.667.0",
@@ -31,7 +31,7 @@
31
31
  "@aws-sdk/region-config-resolver": "3.667.0",
32
32
  "@aws-sdk/types": "3.667.0",
33
33
  "@aws-sdk/util-endpoints": "3.667.0",
34
- "@aws-sdk/util-user-agent-browser": "3.670.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.675.0",
35
35
  "@aws-sdk/util-user-agent-node": "3.669.0",
36
36
  "@smithy/config-resolver": "^3.0.9",
37
37
  "@smithy/core": "^2.4.8",