@aws-sdk/client-pinpoint-email 3.252.0 → 3.256.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.
|
@@ -387,11 +387,11 @@ const serializeAws_restJson1GetDomainStatisticsReportCommand = async (input, con
|
|
|
387
387
|
const query = map({
|
|
388
388
|
StartDate: [
|
|
389
389
|
(0, smithy_client_1.expectNonNull)(input.StartDate, `StartDate`) != null,
|
|
390
|
-
() => input.StartDate.toISOString().split(".")[0] + "Z",
|
|
390
|
+
() => (input.StartDate.toISOString().split(".")[0] + "Z").toString(),
|
|
391
391
|
],
|
|
392
392
|
EndDate: [
|
|
393
393
|
(0, smithy_client_1.expectNonNull)(input.EndDate, `EndDate`) != null,
|
|
394
|
-
() => input.EndDate.toISOString().split(".")[0] + "Z",
|
|
394
|
+
() => (input.EndDate.toISOString().split(".")[0] + "Z").toString(),
|
|
395
395
|
],
|
|
396
396
|
});
|
|
397
397
|
let body;
|
|
@@ -497,11 +497,11 @@ const serializeAws_restJson1ListDomainDeliverabilityCampaignsCommand = async (in
|
|
|
497
497
|
const query = map({
|
|
498
498
|
StartDate: [
|
|
499
499
|
(0, smithy_client_1.expectNonNull)(input.StartDate, `StartDate`) != null,
|
|
500
|
-
() => input.StartDate.toISOString().split(".")[0] + "Z",
|
|
500
|
+
() => (input.StartDate.toISOString().split(".")[0] + "Z").toString(),
|
|
501
501
|
],
|
|
502
502
|
EndDate: [
|
|
503
503
|
(0, smithy_client_1.expectNonNull)(input.EndDate, `EndDate`) != null,
|
|
504
|
-
() => input.EndDate.toISOString().split(".")[0] + "Z",
|
|
504
|
+
() => (input.EndDate.toISOString().split(".")[0] + "Z").toString(),
|
|
505
505
|
],
|
|
506
506
|
NextToken: [, input.NextToken],
|
|
507
507
|
PageSize: [() => input.PageSize !== void 0, () => input.PageSize.toString()],
|
|
@@ -2885,7 +2885,7 @@ const serializeAws_restJson1DomainDeliverabilityTrackingOption = (input, context
|
|
|
2885
2885
|
InboxPlacementTrackingOption: serializeAws_restJson1InboxPlacementTrackingOption(input.InboxPlacementTrackingOption, context),
|
|
2886
2886
|
}),
|
|
2887
2887
|
...(input.SubscriptionStartDate != null && {
|
|
2888
|
-
SubscriptionStartDate: Math.round(input.SubscriptionStartDate.getTime() / 1000)
|
|
2888
|
+
SubscriptionStartDate: Math.round(input.SubscriptionStartDate.getTime() / 1000),
|
|
2889
2889
|
}),
|
|
2890
2890
|
};
|
|
2891
2891
|
};
|
|
@@ -2987,9 +2987,7 @@ const serializeAws_restJson1RawMessage = (input, context) => {
|
|
|
2987
2987
|
};
|
|
2988
2988
|
const serializeAws_restJson1ReputationOptions = (input, context) => {
|
|
2989
2989
|
return {
|
|
2990
|
-
...(input.LastFreshStart != null && {
|
|
2991
|
-
LastFreshStart: Math.round(input.LastFreshStart.getTime() / 1000).toString(),
|
|
2992
|
-
}),
|
|
2990
|
+
...(input.LastFreshStart != null && { LastFreshStart: Math.round(input.LastFreshStart.getTime() / 1000) }),
|
|
2993
2991
|
...(input.ReputationMetricsEnabled != null && { ReputationMetricsEnabled: input.ReputationMetricsEnabled }),
|
|
2994
2992
|
};
|
|
2995
2993
|
};
|
|
@@ -365,11 +365,11 @@ export const serializeAws_restJson1GetDomainStatisticsReportCommand = async (inp
|
|
|
365
365
|
const query = map({
|
|
366
366
|
StartDate: [
|
|
367
367
|
__expectNonNull(input.StartDate, `StartDate`) != null,
|
|
368
|
-
() => input.StartDate.toISOString().split(".")[0] + "Z",
|
|
368
|
+
() => (input.StartDate.toISOString().split(".")[0] + "Z").toString(),
|
|
369
369
|
],
|
|
370
370
|
EndDate: [
|
|
371
371
|
__expectNonNull(input.EndDate, `EndDate`) != null,
|
|
372
|
-
() => input.EndDate.toISOString().split(".")[0] + "Z",
|
|
372
|
+
() => (input.EndDate.toISOString().split(".")[0] + "Z").toString(),
|
|
373
373
|
],
|
|
374
374
|
});
|
|
375
375
|
let body;
|
|
@@ -470,11 +470,11 @@ export const serializeAws_restJson1ListDomainDeliverabilityCampaignsCommand = as
|
|
|
470
470
|
const query = map({
|
|
471
471
|
StartDate: [
|
|
472
472
|
__expectNonNull(input.StartDate, `StartDate`) != null,
|
|
473
|
-
() => input.StartDate.toISOString().split(".")[0] + "Z",
|
|
473
|
+
() => (input.StartDate.toISOString().split(".")[0] + "Z").toString(),
|
|
474
474
|
],
|
|
475
475
|
EndDate: [
|
|
476
476
|
__expectNonNull(input.EndDate, `EndDate`) != null,
|
|
477
|
-
() => input.EndDate.toISOString().split(".")[0] + "Z",
|
|
477
|
+
() => (input.EndDate.toISOString().split(".")[0] + "Z").toString(),
|
|
478
478
|
],
|
|
479
479
|
NextToken: [, input.NextToken],
|
|
480
480
|
PageSize: [() => input.PageSize !== void 0, () => input.PageSize.toString()],
|
|
@@ -2797,7 +2797,7 @@ const serializeAws_restJson1DomainDeliverabilityTrackingOption = (input, context
|
|
|
2797
2797
|
InboxPlacementTrackingOption: serializeAws_restJson1InboxPlacementTrackingOption(input.InboxPlacementTrackingOption, context),
|
|
2798
2798
|
}),
|
|
2799
2799
|
...(input.SubscriptionStartDate != null && {
|
|
2800
|
-
SubscriptionStartDate: Math.round(input.SubscriptionStartDate.getTime() / 1000)
|
|
2800
|
+
SubscriptionStartDate: Math.round(input.SubscriptionStartDate.getTime() / 1000),
|
|
2801
2801
|
}),
|
|
2802
2802
|
};
|
|
2803
2803
|
};
|
|
@@ -2899,9 +2899,7 @@ const serializeAws_restJson1RawMessage = (input, context) => {
|
|
|
2899
2899
|
};
|
|
2900
2900
|
const serializeAws_restJson1ReputationOptions = (input, context) => {
|
|
2901
2901
|
return {
|
|
2902
|
-
...(input.LastFreshStart != null && {
|
|
2903
|
-
LastFreshStart: Math.round(input.LastFreshStart.getTime() / 1000).toString(),
|
|
2904
|
-
}),
|
|
2902
|
+
...(input.LastFreshStart != null && { LastFreshStart: Math.round(input.LastFreshStart.getTime() / 1000) }),
|
|
2905
2903
|
...(input.ReputationMetricsEnabled != null && { ReputationMetricsEnabled: input.ReputationMetricsEnabled }),
|
|
2906
2904
|
};
|
|
2907
2905
|
};
|
|
@@ -5,8 +5,8 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
|
|
|
5
5
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
6
6
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
7
7
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
8
|
-
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
9
|
-
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, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
8
|
+
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
9
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
10
10
|
import { CreateConfigurationSetCommandInput, CreateConfigurationSetCommandOutput } from "./commands/CreateConfigurationSetCommand";
|
|
11
11
|
import { CreateConfigurationSetEventDestinationCommandInput, CreateConfigurationSetEventDestinationCommandOutput } from "./commands/CreateConfigurationSetEventDestinationCommand";
|
|
12
12
|
import { CreateDedicatedIpPoolCommandInput, CreateDedicatedIpPoolCommandOutput } from "./commands/CreateDedicatedIpPoolCommand";
|
|
@@ -58,11 +58,11 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
58
58
|
*/
|
|
59
59
|
requestHandler?: __HttpHandler;
|
|
60
60
|
/**
|
|
61
|
-
* A constructor for a class implementing the {@link
|
|
61
|
+
* A constructor for a class implementing the {@link __Checksum} interface
|
|
62
62
|
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
63
63
|
* @internal
|
|
64
64
|
*/
|
|
65
|
-
sha256?: __HashConstructor;
|
|
65
|
+
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
66
66
|
/**
|
|
67
67
|
* The function that will be used to convert strings into HTTP endpoints.
|
|
68
68
|
* @internal
|
|
@@ -148,9 +148,9 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
148
148
|
*/
|
|
149
149
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
150
150
|
/**
|
|
151
|
-
* The {@link
|
|
151
|
+
* The {@link __DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
152
152
|
*/
|
|
153
|
-
defaultsMode?:
|
|
153
|
+
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
154
154
|
}
|
|
155
155
|
declare type PinpointEmailClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
156
156
|
/**
|
|
@@ -25,12 +25,13 @@ import {
|
|
|
25
25
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
26
26
|
import {
|
|
27
27
|
Client as __Client,
|
|
28
|
-
DefaultsMode,
|
|
28
|
+
DefaultsMode as __DefaultsMode,
|
|
29
29
|
SmithyConfiguration as __SmithyConfiguration,
|
|
30
30
|
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
31
31
|
} from "@aws-sdk/smithy-client";
|
|
32
32
|
import {
|
|
33
33
|
BodyLengthCalculator as __BodyLengthCalculator,
|
|
34
|
+
ChecksumConstructor as __ChecksumConstructor,
|
|
34
35
|
Credentials as __Credentials,
|
|
35
36
|
Decoder as __Decoder,
|
|
36
37
|
Encoder as __Encoder,
|
|
@@ -305,7 +306,7 @@ export declare type ServiceOutputTypes =
|
|
|
305
306
|
export interface ClientDefaults
|
|
306
307
|
extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
307
308
|
requestHandler?: __HttpHandler;
|
|
308
|
-
sha256?: __HashConstructor;
|
|
309
|
+
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
309
310
|
urlParser?: __UrlParser;
|
|
310
311
|
bodyLengthChecker?: __BodyLengthCalculator;
|
|
311
312
|
streamCollector?: __StreamCollector;
|
|
@@ -324,7 +325,7 @@ export interface ClientDefaults
|
|
|
324
325
|
region?: string | __Provider<string>;
|
|
325
326
|
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
326
327
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
327
|
-
defaultsMode?:
|
|
328
|
+
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
328
329
|
}
|
|
329
330
|
declare type PinpointEmailClientConfigType = Partial<
|
|
330
331
|
__SmithyConfiguration<__HttpHandlerOptions>
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-pinpoint-email",
|
|
3
3
|
"description": "AWS SDK for JavaScript Pinpoint Email Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.256.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",
|
|
@@ -18,39 +18,39 @@
|
|
|
18
18
|
"module": "./dist-es/index.js",
|
|
19
19
|
"sideEffects": false,
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@aws-crypto/sha256-browser": "
|
|
22
|
-
"@aws-crypto/sha256-js": "
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
27
|
-
"@aws-sdk/hash-node": "3.
|
|
28
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
29
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
30
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
31
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
32
|
-
"@aws-sdk/middleware-logger": "3.
|
|
33
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
34
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
-
"@aws-sdk/middleware-serde": "3.
|
|
36
|
-
"@aws-sdk/middleware-signing": "3.
|
|
37
|
-
"@aws-sdk/middleware-stack": "3.
|
|
38
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
-
"@aws-sdk/node-http-handler": "3.
|
|
41
|
-
"@aws-sdk/protocol-http": "3.
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
-
"@aws-sdk/types": "3.
|
|
44
|
-
"@aws-sdk/url-parser": "3.
|
|
21
|
+
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
|
+
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
+
"@aws-sdk/client-sts": "3.256.0",
|
|
24
|
+
"@aws-sdk/config-resolver": "3.254.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.256.0",
|
|
26
|
+
"@aws-sdk/fetch-http-handler": "3.254.0",
|
|
27
|
+
"@aws-sdk/hash-node": "3.254.0",
|
|
28
|
+
"@aws-sdk/invalid-dependency": "3.254.0",
|
|
29
|
+
"@aws-sdk/middleware-content-length": "3.254.0",
|
|
30
|
+
"@aws-sdk/middleware-endpoint": "3.254.0",
|
|
31
|
+
"@aws-sdk/middleware-host-header": "3.254.0",
|
|
32
|
+
"@aws-sdk/middleware-logger": "3.254.0",
|
|
33
|
+
"@aws-sdk/middleware-recursion-detection": "3.254.0",
|
|
34
|
+
"@aws-sdk/middleware-retry": "3.254.0",
|
|
35
|
+
"@aws-sdk/middleware-serde": "3.254.0",
|
|
36
|
+
"@aws-sdk/middleware-signing": "3.254.0",
|
|
37
|
+
"@aws-sdk/middleware-stack": "3.254.0",
|
|
38
|
+
"@aws-sdk/middleware-user-agent": "3.254.0",
|
|
39
|
+
"@aws-sdk/node-config-provider": "3.254.0",
|
|
40
|
+
"@aws-sdk/node-http-handler": "3.254.0",
|
|
41
|
+
"@aws-sdk/protocol-http": "3.254.0",
|
|
42
|
+
"@aws-sdk/smithy-client": "3.254.0",
|
|
43
|
+
"@aws-sdk/types": "3.254.0",
|
|
44
|
+
"@aws-sdk/url-parser": "3.254.0",
|
|
45
45
|
"@aws-sdk/util-base64": "3.208.0",
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
-
"@aws-sdk/util-retry": "3.
|
|
52
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.254.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.254.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.254.0",
|
|
51
|
+
"@aws-sdk/util-retry": "3.254.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-browser": "3.254.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.254.0",
|
|
54
54
|
"@aws-sdk/util-utf8-browser": "3.188.0",
|
|
55
55
|
"@aws-sdk/util-utf8-node": "3.208.0",
|
|
56
56
|
"tslib": "^2.3.1"
|