@aws-sdk/client-pinpoint-email 3.975.0 → 3.978.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 +21 -13
- package/dist-es/PinpointEmail.js +15 -1
- package/dist-types/PinpointEmail.d.ts +43 -1
- package/dist-types/ts3.4/PinpointEmail.d.ts +47 -1
- package/package.json +17 -17
package/dist-cjs/index.js
CHANGED
|
@@ -1886,6 +1886,18 @@ class UpdateConfigurationSetEventDestinationCommand extends smithyClient.Command
|
|
|
1886
1886
|
.build() {
|
|
1887
1887
|
}
|
|
1888
1888
|
|
|
1889
|
+
const paginateGetDedicatedIps = core.createPaginator(PinpointEmailClient, GetDedicatedIpsCommand, "NextToken", "NextToken", "PageSize");
|
|
1890
|
+
|
|
1891
|
+
const paginateListConfigurationSets = core.createPaginator(PinpointEmailClient, ListConfigurationSetsCommand, "NextToken", "NextToken", "PageSize");
|
|
1892
|
+
|
|
1893
|
+
const paginateListDedicatedIpPools = core.createPaginator(PinpointEmailClient, ListDedicatedIpPoolsCommand, "NextToken", "NextToken", "PageSize");
|
|
1894
|
+
|
|
1895
|
+
const paginateListDeliverabilityTestReports = core.createPaginator(PinpointEmailClient, ListDeliverabilityTestReportsCommand, "NextToken", "NextToken", "PageSize");
|
|
1896
|
+
|
|
1897
|
+
const paginateListDomainDeliverabilityCampaigns = core.createPaginator(PinpointEmailClient, ListDomainDeliverabilityCampaignsCommand, "NextToken", "NextToken", "PageSize");
|
|
1898
|
+
|
|
1899
|
+
const paginateListEmailIdentities = core.createPaginator(PinpointEmailClient, ListEmailIdentitiesCommand, "NextToken", "NextToken", "PageSize");
|
|
1900
|
+
|
|
1889
1901
|
const commands = {
|
|
1890
1902
|
CreateConfigurationSetCommand,
|
|
1891
1903
|
CreateConfigurationSetEventDestinationCommand,
|
|
@@ -1930,21 +1942,17 @@ const commands = {
|
|
|
1930
1942
|
UntagResourceCommand,
|
|
1931
1943
|
UpdateConfigurationSetEventDestinationCommand,
|
|
1932
1944
|
};
|
|
1945
|
+
const paginators = {
|
|
1946
|
+
paginateGetDedicatedIps,
|
|
1947
|
+
paginateListConfigurationSets,
|
|
1948
|
+
paginateListDedicatedIpPools,
|
|
1949
|
+
paginateListDeliverabilityTestReports,
|
|
1950
|
+
paginateListDomainDeliverabilityCampaigns,
|
|
1951
|
+
paginateListEmailIdentities,
|
|
1952
|
+
};
|
|
1933
1953
|
class PinpointEmail extends PinpointEmailClient {
|
|
1934
1954
|
}
|
|
1935
|
-
smithyClient.createAggregatedClient(commands, PinpointEmail);
|
|
1936
|
-
|
|
1937
|
-
const paginateGetDedicatedIps = core.createPaginator(PinpointEmailClient, GetDedicatedIpsCommand, "NextToken", "NextToken", "PageSize");
|
|
1938
|
-
|
|
1939
|
-
const paginateListConfigurationSets = core.createPaginator(PinpointEmailClient, ListConfigurationSetsCommand, "NextToken", "NextToken", "PageSize");
|
|
1940
|
-
|
|
1941
|
-
const paginateListDedicatedIpPools = core.createPaginator(PinpointEmailClient, ListDedicatedIpPoolsCommand, "NextToken", "NextToken", "PageSize");
|
|
1942
|
-
|
|
1943
|
-
const paginateListDeliverabilityTestReports = core.createPaginator(PinpointEmailClient, ListDeliverabilityTestReportsCommand, "NextToken", "NextToken", "PageSize");
|
|
1944
|
-
|
|
1945
|
-
const paginateListDomainDeliverabilityCampaigns = core.createPaginator(PinpointEmailClient, ListDomainDeliverabilityCampaignsCommand, "NextToken", "NextToken", "PageSize");
|
|
1946
|
-
|
|
1947
|
-
const paginateListEmailIdentities = core.createPaginator(PinpointEmailClient, ListEmailIdentitiesCommand, "NextToken", "NextToken", "PageSize");
|
|
1955
|
+
smithyClient.createAggregatedClient(commands, PinpointEmail, { paginators });
|
|
1948
1956
|
|
|
1949
1957
|
const TlsPolicy = {
|
|
1950
1958
|
OPTIONAL: "OPTIONAL",
|
package/dist-es/PinpointEmail.js
CHANGED
|
@@ -41,6 +41,12 @@ import { SendEmailCommand } from "./commands/SendEmailCommand";
|
|
|
41
41
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
42
42
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
43
43
|
import { UpdateConfigurationSetEventDestinationCommand, } from "./commands/UpdateConfigurationSetEventDestinationCommand";
|
|
44
|
+
import { paginateGetDedicatedIps } from "./pagination/GetDedicatedIpsPaginator";
|
|
45
|
+
import { paginateListConfigurationSets } from "./pagination/ListConfigurationSetsPaginator";
|
|
46
|
+
import { paginateListDedicatedIpPools } from "./pagination/ListDedicatedIpPoolsPaginator";
|
|
47
|
+
import { paginateListDeliverabilityTestReports } from "./pagination/ListDeliverabilityTestReportsPaginator";
|
|
48
|
+
import { paginateListDomainDeliverabilityCampaigns } from "./pagination/ListDomainDeliverabilityCampaignsPaginator";
|
|
49
|
+
import { paginateListEmailIdentities } from "./pagination/ListEmailIdentitiesPaginator";
|
|
44
50
|
import { PinpointEmailClient } from "./PinpointEmailClient";
|
|
45
51
|
const commands = {
|
|
46
52
|
CreateConfigurationSetCommand,
|
|
@@ -86,6 +92,14 @@ const commands = {
|
|
|
86
92
|
UntagResourceCommand,
|
|
87
93
|
UpdateConfigurationSetEventDestinationCommand,
|
|
88
94
|
};
|
|
95
|
+
const paginators = {
|
|
96
|
+
paginateGetDedicatedIps,
|
|
97
|
+
paginateListConfigurationSets,
|
|
98
|
+
paginateListDedicatedIpPools,
|
|
99
|
+
paginateListDeliverabilityTestReports,
|
|
100
|
+
paginateListDomainDeliverabilityCampaigns,
|
|
101
|
+
paginateListEmailIdentities,
|
|
102
|
+
};
|
|
89
103
|
export class PinpointEmail extends PinpointEmailClient {
|
|
90
104
|
}
|
|
91
|
-
createAggregatedClient(commands, PinpointEmail);
|
|
105
|
+
createAggregatedClient(commands, PinpointEmail, { paginators });
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
2
2
|
import { CreateConfigurationSetCommandInput, CreateConfigurationSetCommandOutput } from "./commands/CreateConfigurationSetCommand";
|
|
3
3
|
import { CreateConfigurationSetEventDestinationCommandInput, CreateConfigurationSetEventDestinationCommandOutput } from "./commands/CreateConfigurationSetEventDestinationCommand";
|
|
4
4
|
import { CreateDedicatedIpPoolCommandInput, CreateDedicatedIpPoolCommandOutput } from "./commands/CreateDedicatedIpPoolCommand";
|
|
@@ -304,6 +304,48 @@ export interface PinpointEmail {
|
|
|
304
304
|
updateConfigurationSetEventDestination(args: UpdateConfigurationSetEventDestinationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateConfigurationSetEventDestinationCommandOutput>;
|
|
305
305
|
updateConfigurationSetEventDestination(args: UpdateConfigurationSetEventDestinationCommandInput, cb: (err: any, data?: UpdateConfigurationSetEventDestinationCommandOutput) => void): void;
|
|
306
306
|
updateConfigurationSetEventDestination(args: UpdateConfigurationSetEventDestinationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateConfigurationSetEventDestinationCommandOutput) => void): void;
|
|
307
|
+
/**
|
|
308
|
+
* @see {@link GetDedicatedIpsCommand}
|
|
309
|
+
* @param args - command input.
|
|
310
|
+
* @param paginationConfig - optional pagination config.
|
|
311
|
+
* @returns AsyncIterable of {@link GetDedicatedIpsCommandOutput}.
|
|
312
|
+
*/
|
|
313
|
+
paginateGetDedicatedIps(args?: GetDedicatedIpsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<GetDedicatedIpsCommandOutput>;
|
|
314
|
+
/**
|
|
315
|
+
* @see {@link ListConfigurationSetsCommand}
|
|
316
|
+
* @param args - command input.
|
|
317
|
+
* @param paginationConfig - optional pagination config.
|
|
318
|
+
* @returns AsyncIterable of {@link ListConfigurationSetsCommandOutput}.
|
|
319
|
+
*/
|
|
320
|
+
paginateListConfigurationSets(args?: ListConfigurationSetsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListConfigurationSetsCommandOutput>;
|
|
321
|
+
/**
|
|
322
|
+
* @see {@link ListDedicatedIpPoolsCommand}
|
|
323
|
+
* @param args - command input.
|
|
324
|
+
* @param paginationConfig - optional pagination config.
|
|
325
|
+
* @returns AsyncIterable of {@link ListDedicatedIpPoolsCommandOutput}.
|
|
326
|
+
*/
|
|
327
|
+
paginateListDedicatedIpPools(args?: ListDedicatedIpPoolsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListDedicatedIpPoolsCommandOutput>;
|
|
328
|
+
/**
|
|
329
|
+
* @see {@link ListDeliverabilityTestReportsCommand}
|
|
330
|
+
* @param args - command input.
|
|
331
|
+
* @param paginationConfig - optional pagination config.
|
|
332
|
+
* @returns AsyncIterable of {@link ListDeliverabilityTestReportsCommandOutput}.
|
|
333
|
+
*/
|
|
334
|
+
paginateListDeliverabilityTestReports(args?: ListDeliverabilityTestReportsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListDeliverabilityTestReportsCommandOutput>;
|
|
335
|
+
/**
|
|
336
|
+
* @see {@link ListDomainDeliverabilityCampaignsCommand}
|
|
337
|
+
* @param args - command input.
|
|
338
|
+
* @param paginationConfig - optional pagination config.
|
|
339
|
+
* @returns AsyncIterable of {@link ListDomainDeliverabilityCampaignsCommandOutput}.
|
|
340
|
+
*/
|
|
341
|
+
paginateListDomainDeliverabilityCampaigns(args: ListDomainDeliverabilityCampaignsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListDomainDeliverabilityCampaignsCommandOutput>;
|
|
342
|
+
/**
|
|
343
|
+
* @see {@link ListEmailIdentitiesCommand}
|
|
344
|
+
* @param args - command input.
|
|
345
|
+
* @param paginationConfig - optional pagination config.
|
|
346
|
+
* @returns AsyncIterable of {@link ListEmailIdentitiesCommandOutput}.
|
|
347
|
+
*/
|
|
348
|
+
paginateListEmailIdentities(args?: ListEmailIdentitiesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListEmailIdentitiesCommandOutput>;
|
|
307
349
|
}
|
|
308
350
|
/**
|
|
309
351
|
* <fullname>Amazon Pinpoint Email Service</fullname>
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
PaginationConfiguration,
|
|
4
|
+
Paginator,
|
|
5
|
+
} from "@smithy/types";
|
|
2
6
|
import {
|
|
3
7
|
CreateConfigurationSetCommandInput,
|
|
4
8
|
CreateConfigurationSetCommandOutput,
|
|
@@ -802,6 +806,48 @@ export interface PinpointEmail {
|
|
|
802
806
|
data?: UpdateConfigurationSetEventDestinationCommandOutput
|
|
803
807
|
) => void
|
|
804
808
|
): void;
|
|
809
|
+
paginateGetDedicatedIps(
|
|
810
|
+
args?: GetDedicatedIpsCommandInput,
|
|
811
|
+
paginationConfig?: Pick<
|
|
812
|
+
PaginationConfiguration,
|
|
813
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
814
|
+
>
|
|
815
|
+
): Paginator<GetDedicatedIpsCommandOutput>;
|
|
816
|
+
paginateListConfigurationSets(
|
|
817
|
+
args?: ListConfigurationSetsCommandInput,
|
|
818
|
+
paginationConfig?: Pick<
|
|
819
|
+
PaginationConfiguration,
|
|
820
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
821
|
+
>
|
|
822
|
+
): Paginator<ListConfigurationSetsCommandOutput>;
|
|
823
|
+
paginateListDedicatedIpPools(
|
|
824
|
+
args?: ListDedicatedIpPoolsCommandInput,
|
|
825
|
+
paginationConfig?: Pick<
|
|
826
|
+
PaginationConfiguration,
|
|
827
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
828
|
+
>
|
|
829
|
+
): Paginator<ListDedicatedIpPoolsCommandOutput>;
|
|
830
|
+
paginateListDeliverabilityTestReports(
|
|
831
|
+
args?: ListDeliverabilityTestReportsCommandInput,
|
|
832
|
+
paginationConfig?: Pick<
|
|
833
|
+
PaginationConfiguration,
|
|
834
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
835
|
+
>
|
|
836
|
+
): Paginator<ListDeliverabilityTestReportsCommandOutput>;
|
|
837
|
+
paginateListDomainDeliverabilityCampaigns(
|
|
838
|
+
args: ListDomainDeliverabilityCampaignsCommandInput,
|
|
839
|
+
paginationConfig?: Pick<
|
|
840
|
+
PaginationConfiguration,
|
|
841
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
842
|
+
>
|
|
843
|
+
): Paginator<ListDomainDeliverabilityCampaignsCommandOutput>;
|
|
844
|
+
paginateListEmailIdentities(
|
|
845
|
+
args?: ListEmailIdentitiesCommandInput,
|
|
846
|
+
paginationConfig?: Pick<
|
|
847
|
+
PaginationConfiguration,
|
|
848
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
849
|
+
>
|
|
850
|
+
): Paginator<ListEmailIdentitiesCommandOutput>;
|
|
805
851
|
}
|
|
806
852
|
export declare class PinpointEmail
|
|
807
853
|
extends PinpointEmailClient
|
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.978.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-pinpoint-email",
|
|
@@ -21,38 +21,38 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
27
|
-
"@aws-sdk/middleware-logger": "^3.972.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
31
|
-
"@aws-sdk/types": "^3.973.
|
|
24
|
+
"@aws-sdk/core": "^3.973.4",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.2",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "^3.972.2",
|
|
27
|
+
"@aws-sdk/middleware-logger": "^3.972.2",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.2",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.4",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "^3.972.2",
|
|
31
|
+
"@aws-sdk/types": "^3.973.1",
|
|
32
32
|
"@aws-sdk/util-endpoints": "3.972.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.2",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.2",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
|
-
"@smithy/core": "^3.
|
|
36
|
+
"@smithy/core": "^3.22.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
38
38
|
"@smithy/hash-node": "^4.2.8",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.29",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.9",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.8",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.8",
|
|
46
46
|
"@smithy/node-http-handler": "^4.4.8",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.8",
|
|
48
|
-
"@smithy/smithy-client": "^4.
|
|
48
|
+
"@smithy/smithy-client": "^4.11.1",
|
|
49
49
|
"@smithy/types": "^4.12.0",
|
|
50
50
|
"@smithy/url-parser": "^4.2.8",
|
|
51
51
|
"@smithy/util-base64": "^4.3.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.28",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.31",
|
|
56
56
|
"@smithy/util-endpoints": "^3.2.8",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.8",
|
|
58
58
|
"@smithy/util-retry": "^4.2.8",
|