@aws-sdk/client-pinpoint-email 3.477.0 → 3.481.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/commands/CreateConfigurationSetCommand.js +18 -41
- package/dist-cjs/commands/CreateConfigurationSetEventDestinationCommand.js +18 -41
- package/dist-cjs/commands/CreateDedicatedIpPoolCommand.js +18 -41
- package/dist-cjs/commands/CreateDeliverabilityTestReportCommand.js +18 -41
- package/dist-cjs/commands/CreateEmailIdentityCommand.js +18 -41
- package/dist-cjs/commands/DeleteConfigurationSetCommand.js +18 -41
- package/dist-cjs/commands/DeleteConfigurationSetEventDestinationCommand.js +18 -41
- package/dist-cjs/commands/DeleteDedicatedIpPoolCommand.js +18 -41
- package/dist-cjs/commands/DeleteEmailIdentityCommand.js +18 -41
- package/dist-cjs/commands/GetAccountCommand.js +18 -41
- package/dist-cjs/commands/GetBlacklistReportsCommand.js +18 -41
- package/dist-cjs/commands/GetConfigurationSetCommand.js +18 -41
- package/dist-cjs/commands/GetConfigurationSetEventDestinationsCommand.js +18 -41
- package/dist-cjs/commands/GetDedicatedIpCommand.js +18 -41
- package/dist-cjs/commands/GetDedicatedIpsCommand.js +18 -41
- package/dist-cjs/commands/GetDeliverabilityDashboardOptionsCommand.js +18 -41
- package/dist-cjs/commands/GetDeliverabilityTestReportCommand.js +18 -41
- package/dist-cjs/commands/GetDomainDeliverabilityCampaignCommand.js +18 -41
- package/dist-cjs/commands/GetDomainStatisticsReportCommand.js +18 -41
- package/dist-cjs/commands/GetEmailIdentityCommand.js +18 -41
- package/dist-cjs/commands/ListConfigurationSetsCommand.js +18 -41
- package/dist-cjs/commands/ListDedicatedIpPoolsCommand.js +18 -41
- package/dist-cjs/commands/ListDeliverabilityTestReportsCommand.js +18 -41
- package/dist-cjs/commands/ListDomainDeliverabilityCampaignsCommand.js +18 -41
- package/dist-cjs/commands/ListEmailIdentitiesCommand.js +18 -41
- package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-cjs/commands/PutAccountDedicatedIpWarmupAttributesCommand.js +18 -41
- package/dist-cjs/commands/PutAccountSendingAttributesCommand.js +18 -41
- package/dist-cjs/commands/PutConfigurationSetDeliveryOptionsCommand.js +18 -41
- package/dist-cjs/commands/PutConfigurationSetReputationOptionsCommand.js +18 -41
- package/dist-cjs/commands/PutConfigurationSetSendingOptionsCommand.js +18 -41
- package/dist-cjs/commands/PutConfigurationSetTrackingOptionsCommand.js +18 -41
- package/dist-cjs/commands/PutDedicatedIpInPoolCommand.js +18 -41
- package/dist-cjs/commands/PutDedicatedIpWarmupAttributesCommand.js +18 -41
- package/dist-cjs/commands/PutDeliverabilityDashboardOptionCommand.js +18 -41
- package/dist-cjs/commands/PutEmailIdentityDkimAttributesCommand.js +18 -41
- package/dist-cjs/commands/PutEmailIdentityFeedbackAttributesCommand.js +18 -41
- package/dist-cjs/commands/PutEmailIdentityMailFromAttributesCommand.js +18 -41
- package/dist-cjs/commands/SendEmailCommand.js +18 -41
- package/dist-cjs/commands/TagResourceCommand.js +18 -41
- package/dist-cjs/commands/UntagResourceCommand.js +18 -41
- package/dist-cjs/commands/UpdateConfigurationSetEventDestinationCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-cjs/pagination/GetDedicatedIpsPaginator.js +2 -24
- package/dist-cjs/pagination/ListConfigurationSetsPaginator.js +2 -24
- package/dist-cjs/pagination/ListDedicatedIpPoolsPaginator.js +2 -24
- package/dist-cjs/pagination/ListDeliverabilityTestReportsPaginator.js +2 -24
- package/dist-cjs/pagination/ListDomainDeliverabilityCampaignsPaginator.js +2 -24
- package/dist-cjs/pagination/ListEmailIdentitiesPaginator.js +2 -24
- package/dist-es/commands/CreateConfigurationSetCommand.js +18 -41
- package/dist-es/commands/CreateConfigurationSetEventDestinationCommand.js +18 -41
- package/dist-es/commands/CreateDedicatedIpPoolCommand.js +18 -41
- package/dist-es/commands/CreateDeliverabilityTestReportCommand.js +18 -41
- package/dist-es/commands/CreateEmailIdentityCommand.js +18 -41
- package/dist-es/commands/DeleteConfigurationSetCommand.js +18 -41
- package/dist-es/commands/DeleteConfigurationSetEventDestinationCommand.js +18 -41
- package/dist-es/commands/DeleteDedicatedIpPoolCommand.js +18 -41
- package/dist-es/commands/DeleteEmailIdentityCommand.js +18 -41
- package/dist-es/commands/GetAccountCommand.js +18 -41
- package/dist-es/commands/GetBlacklistReportsCommand.js +18 -41
- package/dist-es/commands/GetConfigurationSetCommand.js +18 -41
- package/dist-es/commands/GetConfigurationSetEventDestinationsCommand.js +18 -41
- package/dist-es/commands/GetDedicatedIpCommand.js +18 -41
- package/dist-es/commands/GetDedicatedIpsCommand.js +18 -41
- package/dist-es/commands/GetDeliverabilityDashboardOptionsCommand.js +18 -41
- package/dist-es/commands/GetDeliverabilityTestReportCommand.js +18 -41
- package/dist-es/commands/GetDomainDeliverabilityCampaignCommand.js +18 -41
- package/dist-es/commands/GetDomainStatisticsReportCommand.js +18 -41
- package/dist-es/commands/GetEmailIdentityCommand.js +18 -41
- package/dist-es/commands/ListConfigurationSetsCommand.js +18 -41
- package/dist-es/commands/ListDedicatedIpPoolsCommand.js +18 -41
- package/dist-es/commands/ListDeliverabilityTestReportsCommand.js +18 -41
- package/dist-es/commands/ListDomainDeliverabilityCampaignsCommand.js +18 -41
- package/dist-es/commands/ListEmailIdentitiesCommand.js +18 -41
- package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-es/commands/PutAccountDedicatedIpWarmupAttributesCommand.js +18 -41
- package/dist-es/commands/PutAccountSendingAttributesCommand.js +18 -41
- package/dist-es/commands/PutConfigurationSetDeliveryOptionsCommand.js +18 -41
- package/dist-es/commands/PutConfigurationSetReputationOptionsCommand.js +18 -41
- package/dist-es/commands/PutConfigurationSetSendingOptionsCommand.js +18 -41
- package/dist-es/commands/PutConfigurationSetTrackingOptionsCommand.js +18 -41
- package/dist-es/commands/PutDedicatedIpInPoolCommand.js +18 -41
- package/dist-es/commands/PutDedicatedIpWarmupAttributesCommand.js +18 -41
- package/dist-es/commands/PutDeliverabilityDashboardOptionCommand.js +18 -41
- package/dist-es/commands/PutEmailIdentityDkimAttributesCommand.js +18 -41
- package/dist-es/commands/PutEmailIdentityFeedbackAttributesCommand.js +18 -41
- package/dist-es/commands/PutEmailIdentityMailFromAttributesCommand.js +18 -41
- package/dist-es/commands/SendEmailCommand.js +18 -41
- package/dist-es/commands/TagResourceCommand.js +18 -41
- package/dist-es/commands/UntagResourceCommand.js +18 -41
- package/dist-es/commands/UpdateConfigurationSetEventDestinationCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-es/pagination/GetDedicatedIpsPaginator.js +2 -23
- package/dist-es/pagination/ListConfigurationSetsPaginator.js +2 -23
- package/dist-es/pagination/ListDedicatedIpPoolsPaginator.js +2 -23
- package/dist-es/pagination/ListDeliverabilityTestReportsPaginator.js +2 -23
- package/dist-es/pagination/ListDomainDeliverabilityCampaignsPaginator.js +2 -23
- package/dist-es/pagination/ListEmailIdentitiesPaginator.js +2 -23
- package/dist-types/commands/CreateConfigurationSetCommand.d.ts +6 -21
- package/dist-types/commands/CreateConfigurationSetEventDestinationCommand.d.ts +6 -21
- package/dist-types/commands/CreateDedicatedIpPoolCommand.d.ts +6 -21
- package/dist-types/commands/CreateDeliverabilityTestReportCommand.d.ts +6 -21
- package/dist-types/commands/CreateEmailIdentityCommand.d.ts +6 -21
- package/dist-types/commands/DeleteConfigurationSetCommand.d.ts +6 -21
- package/dist-types/commands/DeleteConfigurationSetEventDestinationCommand.d.ts +6 -21
- package/dist-types/commands/DeleteDedicatedIpPoolCommand.d.ts +6 -21
- package/dist-types/commands/DeleteEmailIdentityCommand.d.ts +6 -21
- package/dist-types/commands/GetAccountCommand.d.ts +6 -21
- package/dist-types/commands/GetBlacklistReportsCommand.d.ts +6 -21
- package/dist-types/commands/GetConfigurationSetCommand.d.ts +6 -21
- package/dist-types/commands/GetConfigurationSetEventDestinationsCommand.d.ts +6 -21
- package/dist-types/commands/GetDedicatedIpCommand.d.ts +6 -21
- package/dist-types/commands/GetDedicatedIpsCommand.d.ts +6 -21
- package/dist-types/commands/GetDeliverabilityDashboardOptionsCommand.d.ts +6 -21
- package/dist-types/commands/GetDeliverabilityTestReportCommand.d.ts +6 -21
- package/dist-types/commands/GetDomainDeliverabilityCampaignCommand.d.ts +6 -21
- package/dist-types/commands/GetDomainStatisticsReportCommand.d.ts +6 -21
- package/dist-types/commands/GetEmailIdentityCommand.d.ts +6 -21
- package/dist-types/commands/ListConfigurationSetsCommand.d.ts +6 -21
- package/dist-types/commands/ListDedicatedIpPoolsCommand.d.ts +6 -21
- package/dist-types/commands/ListDeliverabilityTestReportsCommand.d.ts +6 -21
- package/dist-types/commands/ListDomainDeliverabilityCampaignsCommand.d.ts +6 -21
- package/dist-types/commands/ListEmailIdentitiesCommand.d.ts +6 -21
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
- package/dist-types/commands/PutAccountDedicatedIpWarmupAttributesCommand.d.ts +6 -21
- package/dist-types/commands/PutAccountSendingAttributesCommand.d.ts +6 -21
- package/dist-types/commands/PutConfigurationSetDeliveryOptionsCommand.d.ts +6 -21
- package/dist-types/commands/PutConfigurationSetReputationOptionsCommand.d.ts +6 -21
- package/dist-types/commands/PutConfigurationSetSendingOptionsCommand.d.ts +6 -21
- package/dist-types/commands/PutConfigurationSetTrackingOptionsCommand.d.ts +6 -21
- package/dist-types/commands/PutDedicatedIpInPoolCommand.d.ts +6 -21
- package/dist-types/commands/PutDedicatedIpWarmupAttributesCommand.d.ts +6 -21
- package/dist-types/commands/PutDeliverabilityDashboardOptionCommand.d.ts +6 -21
- package/dist-types/commands/PutEmailIdentityDkimAttributesCommand.d.ts +6 -21
- package/dist-types/commands/PutEmailIdentityFeedbackAttributesCommand.d.ts +6 -21
- package/dist-types/commands/PutEmailIdentityMailFromAttributesCommand.d.ts +6 -21
- package/dist-types/commands/SendEmailCommand.d.ts +6 -21
- package/dist-types/commands/TagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UpdateConfigurationSetEventDestinationCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/pagination/GetDedicatedIpsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListConfigurationSetsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDedicatedIpPoolsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDeliverabilityTestReportsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDomainDeliverabilityCampaignsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListEmailIdentitiesPaginator.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateConfigurationSetCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateConfigurationSetEventDestinationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateDedicatedIpPoolCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateDeliverabilityTestReportCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateEmailIdentityCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteConfigurationSetCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteConfigurationSetEventDestinationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteDedicatedIpPoolCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteEmailIdentityCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetAccountCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetBlacklistReportsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetConfigurationSetCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetConfigurationSetEventDestinationsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetDedicatedIpCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetDedicatedIpsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetDeliverabilityDashboardOptionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetDeliverabilityTestReportCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetDomainDeliverabilityCampaignCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetDomainStatisticsReportCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetEmailIdentityCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListConfigurationSetsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListDedicatedIpPoolsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListDeliverabilityTestReportsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListDomainDeliverabilityCampaignsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListEmailIdentitiesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutAccountDedicatedIpWarmupAttributesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/PutAccountSendingAttributesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/PutConfigurationSetDeliveryOptionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/PutConfigurationSetReputationOptionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/PutConfigurationSetSendingOptionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/PutConfigurationSetTrackingOptionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/PutDedicatedIpInPoolCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/PutDedicatedIpWarmupAttributesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/PutDeliverabilityDashboardOptionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/PutEmailIdentityDkimAttributesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/PutEmailIdentityFeedbackAttributesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/PutEmailIdentityMailFromAttributesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/SendEmailCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateConfigurationSetEventDestinationCommand.d.ts +12 -24
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/pagination/GetDedicatedIpsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListConfigurationSetsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListDedicatedIpPoolsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListDeliverabilityTestReportsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListDomainDeliverabilityCampaignsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListEmailIdentitiesPaginator.d.ts +3 -3
- package/package.json +11 -11
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_PutEmailIdentityFeedbackAttributesCommand, se_PutEmailIdentityFeedbackAttributesCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class PutEmailIdentityFeedbackAttributesCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "PinpointEmailClient";
|
|
26
|
-
const commandName = "PutEmailIdentityFeedbackAttributesCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonPinpointEmailService",
|
|
35
|
-
operation: "PutEmailIdentityFeedbackAttributes",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_PutEmailIdentityFeedbackAttributesCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_PutEmailIdentityFeedbackAttributesCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class PutEmailIdentityFeedbackAttributesCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonPinpointEmailService", "PutEmailIdentityFeedbackAttributes", {})
|
|
19
|
+
.n("PinpointEmailClient", "PutEmailIdentityFeedbackAttributesCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_PutEmailIdentityFeedbackAttributesCommand)
|
|
22
|
+
.de(de_PutEmailIdentityFeedbackAttributesCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_PutEmailIdentityMailFromAttributesCommand, se_PutEmailIdentityMailFromAttributesCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class PutEmailIdentityMailFromAttributesCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "PinpointEmailClient";
|
|
26
|
-
const commandName = "PutEmailIdentityMailFromAttributesCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonPinpointEmailService",
|
|
35
|
-
operation: "PutEmailIdentityMailFromAttributes",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_PutEmailIdentityMailFromAttributesCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_PutEmailIdentityMailFromAttributesCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class PutEmailIdentityMailFromAttributesCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonPinpointEmailService", "PutEmailIdentityMailFromAttributes", {})
|
|
19
|
+
.n("PinpointEmailClient", "PutEmailIdentityMailFromAttributesCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_PutEmailIdentityMailFromAttributesCommand)
|
|
22
|
+
.de(de_PutEmailIdentityMailFromAttributesCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_SendEmailCommand, se_SendEmailCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class SendEmailCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "PinpointEmailClient";
|
|
26
|
-
const commandName = "SendEmailCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonPinpointEmailService",
|
|
35
|
-
operation: "SendEmail",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_SendEmailCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_SendEmailCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class SendEmailCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonPinpointEmailService", "SendEmail", {})
|
|
19
|
+
.n("PinpointEmailClient", "SendEmailCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_SendEmailCommand)
|
|
22
|
+
.de(de_SendEmailCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class TagResourceCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "PinpointEmailClient";
|
|
26
|
-
const commandName = "TagResourceCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonPinpointEmailService",
|
|
35
|
-
operation: "TagResource",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_TagResourceCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_TagResourceCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class TagResourceCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonPinpointEmailService", "TagResource", {})
|
|
19
|
+
.n("PinpointEmailClient", "TagResourceCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_TagResourceCommand)
|
|
22
|
+
.de(de_TagResourceCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UntagResourceCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "PinpointEmailClient";
|
|
26
|
-
const commandName = "UntagResourceCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonPinpointEmailService",
|
|
35
|
-
operation: "UntagResource",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UntagResourceCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UntagResourceCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UntagResourceCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonPinpointEmailService", "UntagResource", {})
|
|
19
|
+
.n("PinpointEmailClient", "UntagResourceCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UntagResourceCommand)
|
|
22
|
+
.de(de_UntagResourceCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateConfigurationSetEventDestinationCommand, se_UpdateConfigurationSetEventDestinationCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateConfigurationSetEventDestinationCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "PinpointEmailClient";
|
|
26
|
-
const commandName = "UpdateConfigurationSetEventDestinationCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonPinpointEmailService",
|
|
35
|
-
operation: "UpdateConfigurationSetEventDestination",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateConfigurationSetEventDestinationCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateConfigurationSetEventDestinationCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateConfigurationSetEventDestinationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonPinpointEmailService", "UpdateConfigurationSetEventDestination", {})
|
|
19
|
+
.n("PinpointEmailClient", "UpdateConfigurationSetEventDestinationCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateConfigurationSetEventDestinationCommand)
|
|
22
|
+
.de(de_UpdateConfigurationSetEventDestinationCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
|
|
|
6
6
|
defaultSigningName: "ses",
|
|
7
7
|
};
|
|
8
8
|
};
|
|
9
|
+
export const commonParams = {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { GetDedicatedIpsCommand, } from "../commands/GetDedicatedIpsCommand";
|
|
2
3
|
import { PinpointEmailClient } from "../PinpointEmailClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new GetDedicatedIpsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateGetDedicatedIps(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["PageSize"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof PinpointEmailClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected PinpointEmail | PinpointEmailClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateGetDedicatedIps = createPaginator(PinpointEmailClient, GetDedicatedIpsCommand, "NextToken", "NextToken", "PageSize");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListConfigurationSetsCommand, } from "../commands/ListConfigurationSetsCommand";
|
|
2
3
|
import { PinpointEmailClient } from "../PinpointEmailClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListConfigurationSetsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListConfigurationSets(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["PageSize"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof PinpointEmailClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected PinpointEmail | PinpointEmailClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListConfigurationSets = createPaginator(PinpointEmailClient, ListConfigurationSetsCommand, "NextToken", "NextToken", "PageSize");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListDedicatedIpPoolsCommand, } from "../commands/ListDedicatedIpPoolsCommand";
|
|
2
3
|
import { PinpointEmailClient } from "../PinpointEmailClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListDedicatedIpPoolsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListDedicatedIpPools(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["PageSize"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof PinpointEmailClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected PinpointEmail | PinpointEmailClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListDedicatedIpPools = createPaginator(PinpointEmailClient, ListDedicatedIpPoolsCommand, "NextToken", "NextToken", "PageSize");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListDeliverabilityTestReportsCommand, } from "../commands/ListDeliverabilityTestReportsCommand";
|
|
2
3
|
import { PinpointEmailClient } from "../PinpointEmailClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListDeliverabilityTestReportsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListDeliverabilityTestReports(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["PageSize"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof PinpointEmailClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected PinpointEmail | PinpointEmailClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListDeliverabilityTestReports = createPaginator(PinpointEmailClient, ListDeliverabilityTestReportsCommand, "NextToken", "NextToken", "PageSize");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListDomainDeliverabilityCampaignsCommand, } from "../commands/ListDomainDeliverabilityCampaignsCommand";
|
|
2
3
|
import { PinpointEmailClient } from "../PinpointEmailClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListDomainDeliverabilityCampaignsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListDomainDeliverabilityCampaigns(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["PageSize"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof PinpointEmailClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected PinpointEmail | PinpointEmailClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListDomainDeliverabilityCampaigns = createPaginator(PinpointEmailClient, ListDomainDeliverabilityCampaignsCommand, "NextToken", "NextToken", "PageSize");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListEmailIdentitiesCommand, } from "../commands/ListEmailIdentitiesCommand";
|
|
2
3
|
import { PinpointEmailClient } from "../PinpointEmailClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListEmailIdentitiesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListEmailIdentities(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["PageSize"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof PinpointEmailClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected PinpointEmail | PinpointEmailClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListEmailIdentities = createPaginator(PinpointEmailClient, ListEmailIdentitiesCommand, "NextToken", "NextToken", "PageSize");
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { CreateConfigurationSetRequest, CreateConfigurationSetResponse } from "../models/models_0";
|
|
5
4
|
import { PinpointEmailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointEmailClient";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface CreateConfigurationSetCommandInput extends CreateConfigurationS
|
|
|
21
20
|
*/
|
|
22
21
|
export interface CreateConfigurationSetCommandOutput extends CreateConfigurationSetResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const CreateConfigurationSetCommand_base: {
|
|
24
|
+
new (input: CreateConfigurationSetCommandInput): import("@smithy/smithy-client").CommandImpl<CreateConfigurationSetCommandInput, CreateConfigurationSetCommandOutput, PinpointEmailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Create a configuration set. <i>Configuration sets</i> are groups of
|
|
@@ -91,23 +94,5 @@ export interface CreateConfigurationSetCommandOutput extends CreateConfiguration
|
|
|
91
94
|
* <p>Base exception class for all service exceptions from PinpointEmail service.</p>
|
|
92
95
|
*
|
|
93
96
|
*/
|
|
94
|
-
export declare class CreateConfigurationSetCommand extends
|
|
95
|
-
readonly input: CreateConfigurationSetCommandInput;
|
|
96
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
97
|
-
/**
|
|
98
|
-
* @public
|
|
99
|
-
*/
|
|
100
|
-
constructor(input: CreateConfigurationSetCommandInput);
|
|
101
|
-
/**
|
|
102
|
-
* @internal
|
|
103
|
-
*/
|
|
104
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PinpointEmailClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateConfigurationSetCommandInput, CreateConfigurationSetCommandOutput>;
|
|
105
|
-
/**
|
|
106
|
-
* @internal
|
|
107
|
-
*/
|
|
108
|
-
private serialize;
|
|
109
|
-
/**
|
|
110
|
-
* @internal
|
|
111
|
-
*/
|
|
112
|
-
private deserialize;
|
|
97
|
+
export declare class CreateConfigurationSetCommand extends CreateConfigurationSetCommand_base {
|
|
113
98
|
}
|