@aws-sdk/client-pinpoint 3.928.0 → 3.929.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 +6599 -5384
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/PinpointClient.js +2 -0
- package/dist-es/commands/CreateAppCommand.js +3 -9
- package/dist-es/commands/CreateCampaignCommand.js +3 -9
- package/dist-es/commands/CreateEmailTemplateCommand.js +3 -9
- package/dist-es/commands/CreateExportJobCommand.js +3 -9
- package/dist-es/commands/CreateImportJobCommand.js +3 -9
- package/dist-es/commands/CreateInAppTemplateCommand.js +3 -9
- package/dist-es/commands/CreateJourneyCommand.js +3 -9
- package/dist-es/commands/CreatePushTemplateCommand.js +3 -9
- package/dist-es/commands/CreateRecommenderConfigurationCommand.js +3 -9
- package/dist-es/commands/CreateSegmentCommand.js +3 -9
- package/dist-es/commands/CreateSmsTemplateCommand.js +3 -9
- package/dist-es/commands/CreateVoiceTemplateCommand.js +3 -9
- package/dist-es/commands/DeleteAdmChannelCommand.js +3 -9
- package/dist-es/commands/DeleteApnsChannelCommand.js +3 -9
- package/dist-es/commands/DeleteApnsSandboxChannelCommand.js +3 -9
- package/dist-es/commands/DeleteApnsVoipChannelCommand.js +3 -9
- package/dist-es/commands/DeleteApnsVoipSandboxChannelCommand.js +3 -9
- package/dist-es/commands/DeleteAppCommand.js +3 -9
- package/dist-es/commands/DeleteBaiduChannelCommand.js +3 -9
- package/dist-es/commands/DeleteCampaignCommand.js +3 -9
- package/dist-es/commands/DeleteEmailChannelCommand.js +3 -9
- package/dist-es/commands/DeleteEmailTemplateCommand.js +3 -9
- package/dist-es/commands/DeleteEndpointCommand.js +3 -9
- package/dist-es/commands/DeleteEventStreamCommand.js +3 -9
- package/dist-es/commands/DeleteGcmChannelCommand.js +3 -9
- package/dist-es/commands/DeleteInAppTemplateCommand.js +3 -9
- package/dist-es/commands/DeleteJourneyCommand.js +3 -9
- package/dist-es/commands/DeletePushTemplateCommand.js +3 -9
- package/dist-es/commands/DeleteRecommenderConfigurationCommand.js +3 -9
- package/dist-es/commands/DeleteSegmentCommand.js +3 -9
- package/dist-es/commands/DeleteSmsChannelCommand.js +3 -9
- package/dist-es/commands/DeleteSmsTemplateCommand.js +3 -9
- package/dist-es/commands/DeleteUserEndpointsCommand.js +3 -9
- package/dist-es/commands/DeleteVoiceChannelCommand.js +3 -9
- package/dist-es/commands/DeleteVoiceTemplateCommand.js +3 -9
- package/dist-es/commands/GetAdmChannelCommand.js +3 -9
- package/dist-es/commands/GetApnsChannelCommand.js +3 -9
- package/dist-es/commands/GetApnsSandboxChannelCommand.js +3 -9
- package/dist-es/commands/GetApnsVoipChannelCommand.js +3 -9
- package/dist-es/commands/GetApnsVoipSandboxChannelCommand.js +3 -9
- package/dist-es/commands/GetAppCommand.js +3 -9
- package/dist-es/commands/GetApplicationDateRangeKpiCommand.js +3 -9
- package/dist-es/commands/GetApplicationSettingsCommand.js +3 -9
- package/dist-es/commands/GetAppsCommand.js +3 -9
- package/dist-es/commands/GetBaiduChannelCommand.js +3 -9
- package/dist-es/commands/GetCampaignActivitiesCommand.js +3 -9
- package/dist-es/commands/GetCampaignCommand.js +3 -9
- package/dist-es/commands/GetCampaignDateRangeKpiCommand.js +3 -9
- package/dist-es/commands/GetCampaignVersionCommand.js +3 -9
- package/dist-es/commands/GetCampaignVersionsCommand.js +3 -9
- package/dist-es/commands/GetCampaignsCommand.js +3 -9
- package/dist-es/commands/GetChannelsCommand.js +3 -9
- package/dist-es/commands/GetEmailChannelCommand.js +3 -9
- package/dist-es/commands/GetEmailTemplateCommand.js +3 -9
- package/dist-es/commands/GetEndpointCommand.js +3 -9
- package/dist-es/commands/GetEventStreamCommand.js +3 -9
- package/dist-es/commands/GetExportJobCommand.js +3 -9
- package/dist-es/commands/GetExportJobsCommand.js +3 -9
- package/dist-es/commands/GetGcmChannelCommand.js +3 -9
- package/dist-es/commands/GetImportJobCommand.js +3 -9
- package/dist-es/commands/GetImportJobsCommand.js +3 -9
- package/dist-es/commands/GetInAppMessagesCommand.js +3 -9
- package/dist-es/commands/GetInAppTemplateCommand.js +3 -9
- package/dist-es/commands/GetJourneyCommand.js +3 -9
- package/dist-es/commands/GetJourneyDateRangeKpiCommand.js +3 -9
- package/dist-es/commands/GetJourneyExecutionActivityMetricsCommand.js +3 -9
- package/dist-es/commands/GetJourneyExecutionMetricsCommand.js +3 -9
- package/dist-es/commands/GetJourneyRunExecutionActivityMetricsCommand.js +3 -9
- package/dist-es/commands/GetJourneyRunExecutionMetricsCommand.js +3 -9
- package/dist-es/commands/GetJourneyRunsCommand.js +3 -9
- package/dist-es/commands/GetPushTemplateCommand.js +3 -9
- package/dist-es/commands/GetRecommenderConfigurationCommand.js +3 -9
- package/dist-es/commands/GetRecommenderConfigurationsCommand.js +3 -9
- package/dist-es/commands/GetSegmentCommand.js +3 -9
- package/dist-es/commands/GetSegmentExportJobsCommand.js +3 -9
- package/dist-es/commands/GetSegmentImportJobsCommand.js +3 -9
- package/dist-es/commands/GetSegmentVersionCommand.js +3 -9
- package/dist-es/commands/GetSegmentVersionsCommand.js +3 -9
- package/dist-es/commands/GetSegmentsCommand.js +3 -9
- package/dist-es/commands/GetSmsChannelCommand.js +3 -9
- package/dist-es/commands/GetSmsTemplateCommand.js +3 -9
- package/dist-es/commands/GetUserEndpointsCommand.js +3 -9
- package/dist-es/commands/GetVoiceChannelCommand.js +3 -9
- package/dist-es/commands/GetVoiceTemplateCommand.js +3 -9
- package/dist-es/commands/ListJourneysCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/ListTemplateVersionsCommand.js +3 -9
- package/dist-es/commands/ListTemplatesCommand.js +3 -9
- package/dist-es/commands/PhoneNumberValidateCommand.js +3 -9
- package/dist-es/commands/PutEventStreamCommand.js +3 -9
- package/dist-es/commands/PutEventsCommand.js +3 -9
- package/dist-es/commands/RemoveAttributesCommand.js +3 -9
- package/dist-es/commands/SendMessagesCommand.js +3 -9
- package/dist-es/commands/SendOTPMessageCommand.js +3 -9
- package/dist-es/commands/SendUsersMessagesCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateAdmChannelCommand.js +3 -9
- package/dist-es/commands/UpdateApnsChannelCommand.js +3 -9
- package/dist-es/commands/UpdateApnsSandboxChannelCommand.js +3 -9
- package/dist-es/commands/UpdateApnsVoipChannelCommand.js +3 -9
- package/dist-es/commands/UpdateApnsVoipSandboxChannelCommand.js +3 -9
- package/dist-es/commands/UpdateApplicationSettingsCommand.js +3 -9
- package/dist-es/commands/UpdateBaiduChannelCommand.js +3 -9
- package/dist-es/commands/UpdateCampaignCommand.js +3 -9
- package/dist-es/commands/UpdateEmailChannelCommand.js +3 -9
- package/dist-es/commands/UpdateEmailTemplateCommand.js +3 -9
- package/dist-es/commands/UpdateEndpointCommand.js +3 -9
- package/dist-es/commands/UpdateEndpointsBatchCommand.js +3 -9
- package/dist-es/commands/UpdateGcmChannelCommand.js +3 -9
- package/dist-es/commands/UpdateInAppTemplateCommand.js +3 -9
- package/dist-es/commands/UpdateJourneyCommand.js +3 -9
- package/dist-es/commands/UpdateJourneyStateCommand.js +3 -9
- package/dist-es/commands/UpdatePushTemplateCommand.js +3 -9
- package/dist-es/commands/UpdateRecommenderConfigurationCommand.js +3 -9
- package/dist-es/commands/UpdateSegmentCommand.js +3 -9
- package/dist-es/commands/UpdateSmsChannelCommand.js +3 -9
- package/dist-es/commands/UpdateSmsTemplateCommand.js +3 -9
- package/dist-es/commands/UpdateTemplateActiveVersionCommand.js +3 -9
- package/dist-es/commands/UpdateVoiceChannelCommand.js +3 -9
- package/dist-es/commands/UpdateVoiceTemplateCommand.js +3 -9
- package/dist-es/commands/VerifyOTPMessageCommand.js +3 -9
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +6135 -0
- package/dist-types/PinpointClient.d.ts +10 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +633 -0
- package/dist-types/ts3.4/PinpointClient.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +639 -0
- package/package.json +2 -2
- package/dist-es/protocols/Aws_restJson1.js +0 -4306
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -1100
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -1469
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateTemplateActiveVersion } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateTemplateActiveVersionCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("Pinpoint", "UpdateTemplateActiveVersion", {})
|
|
17
13
|
.n("PinpointClient", "UpdateTemplateActiveVersionCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateTemplateActiveVersionCommand)
|
|
20
|
-
.de(de_UpdateTemplateActiveVersionCommand)
|
|
14
|
+
.sc(UpdateTemplateActiveVersion)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateVoiceChannel } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateVoiceChannelCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("Pinpoint", "UpdateVoiceChannel", {})
|
|
17
13
|
.n("PinpointClient", "UpdateVoiceChannelCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateVoiceChannelCommand)
|
|
20
|
-
.de(de_UpdateVoiceChannelCommand)
|
|
14
|
+
.sc(UpdateVoiceChannel)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateVoiceTemplate } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateVoiceTemplateCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("Pinpoint", "UpdateVoiceTemplate", {})
|
|
17
13
|
.n("PinpointClient", "UpdateVoiceTemplateCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateVoiceTemplateCommand)
|
|
20
|
-
.de(de_UpdateVoiceTemplateCommand)
|
|
14
|
+
.sc(UpdateVoiceTemplate)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { VerifyOTPMessage } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class VerifyOTPMessageCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("Pinpoint", "VerifyOTPMessage", {})
|
|
17
13
|
.n("PinpointClient", "VerifyOTPMessageCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_VerifyOTPMessageCommand)
|
|
20
|
-
.de(de_VerifyOTPMessageCommand)
|
|
14
|
+
.sc(VerifyOTPMessage)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.pinpoint" }),
|
|
25
27
|
serviceId: config?.serviceId ?? "Pinpoint",
|
|
26
28
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
29
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|