@aws-sdk/client-pinpoint 3.36.0 → 3.39.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/CHANGELOG.md +42 -0
- package/dist-cjs/Pinpoint.js +0 -3
- package/dist-cjs/PinpointClient.js +0 -8
- package/dist-cjs/commands/CreateAppCommand.js +0 -24
- package/dist-cjs/commands/CreateCampaignCommand.js +0 -24
- package/dist-cjs/commands/CreateEmailTemplateCommand.js +0 -24
- package/dist-cjs/commands/CreateExportJobCommand.js +0 -24
- package/dist-cjs/commands/CreateImportJobCommand.js +0 -24
- package/dist-cjs/commands/CreateInAppTemplateCommand.js +0 -24
- package/dist-cjs/commands/CreateJourneyCommand.js +0 -24
- package/dist-cjs/commands/CreatePushTemplateCommand.js +0 -24
- package/dist-cjs/commands/CreateRecommenderConfigurationCommand.js +0 -24
- package/dist-cjs/commands/CreateSegmentCommand.js +0 -24
- package/dist-cjs/commands/CreateSmsTemplateCommand.js +0 -24
- package/dist-cjs/commands/CreateVoiceTemplateCommand.js +0 -24
- package/dist-cjs/commands/DeleteAdmChannelCommand.js +0 -24
- package/dist-cjs/commands/DeleteApnsChannelCommand.js +0 -24
- package/dist-cjs/commands/DeleteApnsSandboxChannelCommand.js +0 -24
- package/dist-cjs/commands/DeleteApnsVoipChannelCommand.js +0 -24
- package/dist-cjs/commands/DeleteApnsVoipSandboxChannelCommand.js +0 -24
- package/dist-cjs/commands/DeleteAppCommand.js +0 -24
- package/dist-cjs/commands/DeleteBaiduChannelCommand.js +0 -24
- package/dist-cjs/commands/DeleteCampaignCommand.js +0 -24
- package/dist-cjs/commands/DeleteEmailChannelCommand.js +0 -24
- package/dist-cjs/commands/DeleteEmailTemplateCommand.js +0 -24
- package/dist-cjs/commands/DeleteEndpointCommand.js +0 -24
- package/dist-cjs/commands/DeleteEventStreamCommand.js +0 -24
- package/dist-cjs/commands/DeleteGcmChannelCommand.js +0 -24
- package/dist-cjs/commands/DeleteInAppTemplateCommand.js +0 -24
- package/dist-cjs/commands/DeleteJourneyCommand.js +0 -24
- package/dist-cjs/commands/DeletePushTemplateCommand.js +0 -24
- package/dist-cjs/commands/DeleteRecommenderConfigurationCommand.js +0 -24
- package/dist-cjs/commands/DeleteSegmentCommand.js +0 -24
- package/dist-cjs/commands/DeleteSmsChannelCommand.js +0 -24
- package/dist-cjs/commands/DeleteSmsTemplateCommand.js +0 -24
- package/dist-cjs/commands/DeleteUserEndpointsCommand.js +0 -24
- package/dist-cjs/commands/DeleteVoiceChannelCommand.js +0 -24
- package/dist-cjs/commands/DeleteVoiceTemplateCommand.js +0 -24
- package/dist-cjs/commands/GetAdmChannelCommand.js +0 -24
- package/dist-cjs/commands/GetApnsChannelCommand.js +0 -24
- package/dist-cjs/commands/GetApnsSandboxChannelCommand.js +0 -24
- package/dist-cjs/commands/GetApnsVoipChannelCommand.js +0 -24
- package/dist-cjs/commands/GetApnsVoipSandboxChannelCommand.js +0 -24
- package/dist-cjs/commands/GetAppCommand.js +0 -24
- package/dist-cjs/commands/GetApplicationDateRangeKpiCommand.js +0 -24
- package/dist-cjs/commands/GetApplicationSettingsCommand.js +0 -24
- package/dist-cjs/commands/GetAppsCommand.js +0 -24
- package/dist-cjs/commands/GetBaiduChannelCommand.js +0 -24
- package/dist-cjs/commands/GetCampaignActivitiesCommand.js +0 -24
- package/dist-cjs/commands/GetCampaignCommand.js +0 -24
- package/dist-cjs/commands/GetCampaignDateRangeKpiCommand.js +0 -24
- package/dist-cjs/commands/GetCampaignVersionCommand.js +0 -24
- package/dist-cjs/commands/GetCampaignVersionsCommand.js +0 -24
- package/dist-cjs/commands/GetCampaignsCommand.js +0 -24
- package/dist-cjs/commands/GetChannelsCommand.js +0 -24
- package/dist-cjs/commands/GetEmailChannelCommand.js +0 -24
- package/dist-cjs/commands/GetEmailTemplateCommand.js +0 -24
- package/dist-cjs/commands/GetEndpointCommand.js +0 -24
- package/dist-cjs/commands/GetEventStreamCommand.js +0 -24
- package/dist-cjs/commands/GetExportJobCommand.js +0 -24
- package/dist-cjs/commands/GetExportJobsCommand.js +0 -24
- package/dist-cjs/commands/GetGcmChannelCommand.js +0 -24
- package/dist-cjs/commands/GetImportJobCommand.js +0 -24
- package/dist-cjs/commands/GetImportJobsCommand.js +0 -24
- package/dist-cjs/commands/GetInAppMessagesCommand.js +0 -24
- package/dist-cjs/commands/GetInAppTemplateCommand.js +0 -24
- package/dist-cjs/commands/GetJourneyCommand.js +0 -24
- package/dist-cjs/commands/GetJourneyDateRangeKpiCommand.js +0 -24
- package/dist-cjs/commands/GetJourneyExecutionActivityMetricsCommand.js +0 -24
- package/dist-cjs/commands/GetJourneyExecutionMetricsCommand.js +0 -24
- package/dist-cjs/commands/GetPushTemplateCommand.js +0 -24
- package/dist-cjs/commands/GetRecommenderConfigurationCommand.js +0 -24
- package/dist-cjs/commands/GetRecommenderConfigurationsCommand.js +0 -24
- package/dist-cjs/commands/GetSegmentCommand.js +0 -24
- package/dist-cjs/commands/GetSegmentExportJobsCommand.js +0 -24
- package/dist-cjs/commands/GetSegmentImportJobsCommand.js +0 -24
- package/dist-cjs/commands/GetSegmentVersionCommand.js +0 -24
- package/dist-cjs/commands/GetSegmentVersionsCommand.js +0 -24
- package/dist-cjs/commands/GetSegmentsCommand.js +0 -24
- package/dist-cjs/commands/GetSmsChannelCommand.js +0 -24
- package/dist-cjs/commands/GetSmsTemplateCommand.js +0 -24
- package/dist-cjs/commands/GetUserEndpointsCommand.js +0 -24
- package/dist-cjs/commands/GetVoiceChannelCommand.js +0 -24
- package/dist-cjs/commands/GetVoiceTemplateCommand.js +0 -24
- package/dist-cjs/commands/ListJourneysCommand.js +0 -24
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -24
- package/dist-cjs/commands/ListTemplateVersionsCommand.js +0 -24
- package/dist-cjs/commands/ListTemplatesCommand.js +0 -24
- package/dist-cjs/commands/PhoneNumberValidateCommand.js +0 -24
- package/dist-cjs/commands/PutEventStreamCommand.js +0 -24
- package/dist-cjs/commands/PutEventsCommand.js +0 -24
- package/dist-cjs/commands/RemoveAttributesCommand.js +0 -24
- package/dist-cjs/commands/SendMessagesCommand.js +0 -24
- package/dist-cjs/commands/SendUsersMessagesCommand.js +0 -24
- package/dist-cjs/commands/TagResourceCommand.js +0 -24
- package/dist-cjs/commands/UntagResourceCommand.js +0 -24
- package/dist-cjs/commands/UpdateAdmChannelCommand.js +0 -24
- package/dist-cjs/commands/UpdateApnsChannelCommand.js +0 -24
- package/dist-cjs/commands/UpdateApnsSandboxChannelCommand.js +0 -24
- package/dist-cjs/commands/UpdateApnsVoipChannelCommand.js +0 -24
- package/dist-cjs/commands/UpdateApnsVoipSandboxChannelCommand.js +0 -24
- package/dist-cjs/commands/UpdateApplicationSettingsCommand.js +0 -24
- package/dist-cjs/commands/UpdateBaiduChannelCommand.js +0 -24
- package/dist-cjs/commands/UpdateCampaignCommand.js +0 -24
- package/dist-cjs/commands/UpdateEmailChannelCommand.js +0 -24
- package/dist-cjs/commands/UpdateEmailTemplateCommand.js +0 -24
- package/dist-cjs/commands/UpdateEndpointCommand.js +0 -24
- package/dist-cjs/commands/UpdateEndpointsBatchCommand.js +0 -24
- package/dist-cjs/commands/UpdateGcmChannelCommand.js +0 -24
- package/dist-cjs/commands/UpdateInAppTemplateCommand.js +0 -24
- package/dist-cjs/commands/UpdateJourneyCommand.js +0 -24
- package/dist-cjs/commands/UpdateJourneyStateCommand.js +0 -24
- package/dist-cjs/commands/UpdatePushTemplateCommand.js +0 -24
- package/dist-cjs/commands/UpdateRecommenderConfigurationCommand.js +0 -24
- package/dist-cjs/commands/UpdateSegmentCommand.js +0 -24
- package/dist-cjs/commands/UpdateSmsChannelCommand.js +0 -24
- package/dist-cjs/commands/UpdateSmsTemplateCommand.js +0 -24
- package/dist-cjs/commands/UpdateTemplateActiveVersionCommand.js +0 -24
- package/dist-cjs/commands/UpdateVoiceChannelCommand.js +0 -24
- package/dist-cjs/commands/UpdateVoiceTemplateCommand.js +0 -24
- package/dist-cjs/commands/index.js +120 -0
- package/dist-cjs/endpoints.js +6 -1
- package/dist-cjs/index.js +3 -119
- package/dist-cjs/models/models_0.js +0 -825
- package/dist-cjs/models/models_1.js +0 -480
- package/dist-cjs/protocols/Aws_restJson1.js +0 -5
- package/dist-cjs/runtimeConfig.browser.js +1 -5
- package/dist-cjs/runtimeConfig.js +1 -5
- package/dist-cjs/runtimeConfig.native.js +0 -3
- package/dist-cjs/runtimeConfig.shared.js +0 -3
- package/dist-es/commands/index.js +117 -0
- package/dist-es/endpoints.js +6 -1
- package/dist-es/index.js +3 -119
- package/dist-types/commands/index.d.ts +117 -0
- package/dist-types/index.d.ts +3 -119
- package/dist-types/ts3.4/Pinpoint.d.ts +118 -354
- package/dist-types/ts3.4/PinpointClient.d.ts +24 -89
- package/dist-types/ts3.4/commands/CreateAppCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateCampaignCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateEmailTemplateCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateExportJobCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateImportJobCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateInAppTemplateCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateJourneyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreatePushTemplateCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateRecommenderConfigurationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateSegmentCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateSmsTemplateCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateVoiceTemplateCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteAdmChannelCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteApnsChannelCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteApnsSandboxChannelCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteApnsVoipChannelCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteApnsVoipSandboxChannelCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteAppCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteBaiduChannelCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteCampaignCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteEmailChannelCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteEmailTemplateCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteEndpointCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteEventStreamCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteGcmChannelCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteInAppTemplateCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteJourneyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeletePushTemplateCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteRecommenderConfigurationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteSegmentCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteSmsChannelCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteSmsTemplateCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteUserEndpointsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteVoiceChannelCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteVoiceTemplateCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetAdmChannelCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetApnsChannelCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetApnsSandboxChannelCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetApnsVoipChannelCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetApnsVoipSandboxChannelCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetAppCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetApplicationDateRangeKpiCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetApplicationSettingsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetAppsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetBaiduChannelCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetCampaignActivitiesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetCampaignCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetCampaignDateRangeKpiCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetCampaignVersionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetCampaignVersionsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetCampaignsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetChannelsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetEmailChannelCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetEmailTemplateCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetEndpointCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetEventStreamCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetExportJobCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetExportJobsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetGcmChannelCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetImportJobCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetImportJobsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetInAppMessagesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetInAppTemplateCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetJourneyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetJourneyDateRangeKpiCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetJourneyExecutionActivityMetricsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetJourneyExecutionMetricsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetPushTemplateCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetRecommenderConfigurationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetRecommenderConfigurationsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetSegmentCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetSegmentExportJobsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetSegmentImportJobsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetSegmentVersionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetSegmentVersionsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetSegmentsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetSmsChannelCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetSmsTemplateCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetUserEndpointsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetVoiceChannelCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetVoiceTemplateCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListJourneysCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListTemplateVersionsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListTemplatesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/PhoneNumberValidateCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/PutEventStreamCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/PutEventsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/RemoveAttributesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/SendMessagesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/SendUsersMessagesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateAdmChannelCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateApnsChannelCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateApnsSandboxChannelCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateApnsVoipChannelCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateApnsVoipSandboxChannelCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateApplicationSettingsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateBaiduChannelCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateCampaignCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateEmailChannelCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateEmailTemplateCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateEndpointCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateEndpointsBatchCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateGcmChannelCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateInAppTemplateCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateJourneyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateJourneyStateCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdatePushTemplateCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateRecommenderConfigurationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateSegmentCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateSmsChannelCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateSmsTemplateCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateTemplateActiveVersionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateVoiceChannelCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateVoiceTemplateCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/index.d.ts +117 -0
- package/dist-types/ts3.4/index.d.ts +3 -119
- package/dist-types/ts3.4/models/models_0.d.ts +1523 -4579
- package/dist-types/ts3.4/models/models_1.d.ts +591 -1776
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +32 -32
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_1_1 = require("../models/models_1");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Creates a new endpoint for an application or updates the settings and attributes of an existing endpoint for an application. You can also use this operation to define custom attributes for an endpoint. If an update includes one or more values for a custom attribute, Amazon Pinpoint replaces (overwrites) any existing values with the new values.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { PinpointClient, UpdateEndpointCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
|
|
14
|
-
* // const { PinpointClient, UpdateEndpointCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
|
|
15
|
-
* const client = new PinpointClient(config);
|
|
16
|
-
* const command = new UpdateEndpointCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link UpdateEndpointCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link UpdateEndpointCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link PinpointClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class UpdateEndpointCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_1_1 = require("../models/models_1");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Creates a new batch of endpoints for an application or updates the settings and attributes of a batch of existing endpoints for an application. You can also use this operation to define custom attributes for a batch of endpoints. If an update includes one or more values for a custom attribute, Amazon Pinpoint replaces (overwrites) any existing values with the new values.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { PinpointClient, UpdateEndpointsBatchCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
|
|
14
|
-
* // const { PinpointClient, UpdateEndpointsBatchCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
|
|
15
|
-
* const client = new PinpointClient(config);
|
|
16
|
-
* const command = new UpdateEndpointsBatchCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link UpdateEndpointsBatchCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link UpdateEndpointsBatchCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link PinpointClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class UpdateEndpointsBatchCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_1_1 = require("../models/models_1");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Enables the GCM channel for an application or updates the status and settings of the GCM channel for an application.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { PinpointClient, UpdateGcmChannelCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
|
|
14
|
-
* // const { PinpointClient, UpdateGcmChannelCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
|
|
15
|
-
* const client = new PinpointClient(config);
|
|
16
|
-
* const command = new UpdateGcmChannelCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link UpdateGcmChannelCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link UpdateGcmChannelCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link PinpointClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class UpdateGcmChannelCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_1_1 = require("../models/models_1");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Updates an existing message template for messages sent through the in-app message channel.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { PinpointClient, UpdateInAppTemplateCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
|
|
14
|
-
* // const { PinpointClient, UpdateInAppTemplateCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
|
|
15
|
-
* const client = new PinpointClient(config);
|
|
16
|
-
* const command = new UpdateInAppTemplateCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link UpdateInAppTemplateCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link UpdateInAppTemplateCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link PinpointClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class UpdateInAppTemplateCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_1_1 = require("../models/models_1");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Updates the configuration and other settings for a journey.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { PinpointClient, UpdateJourneyCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
|
|
14
|
-
* // const { PinpointClient, UpdateJourneyCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
|
|
15
|
-
* const client = new PinpointClient(config);
|
|
16
|
-
* const command = new UpdateJourneyCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link UpdateJourneyCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link UpdateJourneyCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link PinpointClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class UpdateJourneyCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_1_1 = require("../models/models_1");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Cancels (stops) an active journey.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { PinpointClient, UpdateJourneyStateCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
|
|
14
|
-
* // const { PinpointClient, UpdateJourneyStateCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
|
|
15
|
-
* const client = new PinpointClient(config);
|
|
16
|
-
* const command = new UpdateJourneyStateCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link UpdateJourneyStateCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link UpdateJourneyStateCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link PinpointClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class UpdateJourneyStateCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_1_1 = require("../models/models_1");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Updates an existing message template for messages that are sent through a push notification channel.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { PinpointClient, UpdatePushTemplateCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
|
|
14
|
-
* // const { PinpointClient, UpdatePushTemplateCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
|
|
15
|
-
* const client = new PinpointClient(config);
|
|
16
|
-
* const command = new UpdatePushTemplateCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link UpdatePushTemplateCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link UpdatePushTemplateCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link PinpointClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class UpdatePushTemplateCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_1_1 = require("../models/models_1");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Updates an Amazon Pinpoint configuration for a recommender model.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { PinpointClient, UpdateRecommenderConfigurationCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
|
|
14
|
-
* // const { PinpointClient, UpdateRecommenderConfigurationCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
|
|
15
|
-
* const client = new PinpointClient(config);
|
|
16
|
-
* const command = new UpdateRecommenderConfigurationCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link UpdateRecommenderConfigurationCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link UpdateRecommenderConfigurationCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link PinpointClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class UpdateRecommenderConfigurationCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_1_1 = require("../models/models_1");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Creates a new segment for an application or updates the configuration, dimension, and other settings for an existing segment that's associated with an application.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { PinpointClient, UpdateSegmentCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
|
|
14
|
-
* // const { PinpointClient, UpdateSegmentCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
|
|
15
|
-
* const client = new PinpointClient(config);
|
|
16
|
-
* const command = new UpdateSegmentCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link UpdateSegmentCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link UpdateSegmentCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link PinpointClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class UpdateSegmentCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_1_1 = require("../models/models_1");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Enables the SMS channel for an application or updates the status and settings of the SMS channel for an application.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { PinpointClient, UpdateSmsChannelCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
|
|
14
|
-
* // const { PinpointClient, UpdateSmsChannelCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
|
|
15
|
-
* const client = new PinpointClient(config);
|
|
16
|
-
* const command = new UpdateSmsChannelCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link UpdateSmsChannelCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link UpdateSmsChannelCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link PinpointClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class UpdateSmsChannelCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_1_1 = require("../models/models_1");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Updates an existing message template for messages that are sent through the SMS channel.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { PinpointClient, UpdateSmsTemplateCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
|
|
14
|
-
* // const { PinpointClient, UpdateSmsTemplateCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
|
|
15
|
-
* const client = new PinpointClient(config);
|
|
16
|
-
* const command = new UpdateSmsTemplateCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link UpdateSmsTemplateCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link UpdateSmsTemplateCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link PinpointClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class UpdateSmsTemplateCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_1_1 = require("../models/models_1");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Changes the status of a specific version of a message template to <i>active</i>.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { PinpointClient, UpdateTemplateActiveVersionCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
|
|
14
|
-
* // const { PinpointClient, UpdateTemplateActiveVersionCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
|
|
15
|
-
* const client = new PinpointClient(config);
|
|
16
|
-
* const command = new UpdateTemplateActiveVersionCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link UpdateTemplateActiveVersionCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link UpdateTemplateActiveVersionCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link PinpointClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class UpdateTemplateActiveVersionCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_1_1 = require("../models/models_1");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Enables the voice channel for an application or updates the status and settings of the voice channel for an application.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { PinpointClient, UpdateVoiceChannelCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
|
|
14
|
-
* // const { PinpointClient, UpdateVoiceChannelCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
|
|
15
|
-
* const client = new PinpointClient(config);
|
|
16
|
-
* const command = new UpdateVoiceChannelCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link UpdateVoiceChannelCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link UpdateVoiceChannelCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link PinpointClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class UpdateVoiceChannelCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_1_1 = require("../models/models_1");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Updates an existing message template for messages that are sent through the voice channel.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { PinpointClient, UpdateVoiceTemplateCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
|
|
14
|
-
* // const { PinpointClient, UpdateVoiceTemplateCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
|
|
15
|
-
* const client = new PinpointClient(config);
|
|
16
|
-
* const command = new UpdateVoiceTemplateCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link UpdateVoiceTemplateCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link UpdateVoiceTemplateCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link PinpointClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class UpdateVoiceTemplateCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./CreateAppCommand"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./CreateCampaignCommand"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./CreateEmailTemplateCommand"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./CreateExportJobCommand"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./CreateImportJobCommand"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./CreateInAppTemplateCommand"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./CreateJourneyCommand"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./CreatePushTemplateCommand"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./CreateRecommenderConfigurationCommand"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("./CreateSegmentCommand"), exports);
|
|
14
|
+
tslib_1.__exportStar(require("./CreateSmsTemplateCommand"), exports);
|
|
15
|
+
tslib_1.__exportStar(require("./CreateVoiceTemplateCommand"), exports);
|
|
16
|
+
tslib_1.__exportStar(require("./DeleteAdmChannelCommand"), exports);
|
|
17
|
+
tslib_1.__exportStar(require("./DeleteApnsChannelCommand"), exports);
|
|
18
|
+
tslib_1.__exportStar(require("./DeleteApnsSandboxChannelCommand"), exports);
|
|
19
|
+
tslib_1.__exportStar(require("./DeleteApnsVoipChannelCommand"), exports);
|
|
20
|
+
tslib_1.__exportStar(require("./DeleteApnsVoipSandboxChannelCommand"), exports);
|
|
21
|
+
tslib_1.__exportStar(require("./DeleteAppCommand"), exports);
|
|
22
|
+
tslib_1.__exportStar(require("./DeleteBaiduChannelCommand"), exports);
|
|
23
|
+
tslib_1.__exportStar(require("./DeleteCampaignCommand"), exports);
|
|
24
|
+
tslib_1.__exportStar(require("./DeleteEmailChannelCommand"), exports);
|
|
25
|
+
tslib_1.__exportStar(require("./DeleteEmailTemplateCommand"), exports);
|
|
26
|
+
tslib_1.__exportStar(require("./DeleteEndpointCommand"), exports);
|
|
27
|
+
tslib_1.__exportStar(require("./DeleteEventStreamCommand"), exports);
|
|
28
|
+
tslib_1.__exportStar(require("./DeleteGcmChannelCommand"), exports);
|
|
29
|
+
tslib_1.__exportStar(require("./DeleteInAppTemplateCommand"), exports);
|
|
30
|
+
tslib_1.__exportStar(require("./DeleteJourneyCommand"), exports);
|
|
31
|
+
tslib_1.__exportStar(require("./DeletePushTemplateCommand"), exports);
|
|
32
|
+
tslib_1.__exportStar(require("./DeleteRecommenderConfigurationCommand"), exports);
|
|
33
|
+
tslib_1.__exportStar(require("./DeleteSegmentCommand"), exports);
|
|
34
|
+
tslib_1.__exportStar(require("./DeleteSmsChannelCommand"), exports);
|
|
35
|
+
tslib_1.__exportStar(require("./DeleteSmsTemplateCommand"), exports);
|
|
36
|
+
tslib_1.__exportStar(require("./DeleteUserEndpointsCommand"), exports);
|
|
37
|
+
tslib_1.__exportStar(require("./DeleteVoiceChannelCommand"), exports);
|
|
38
|
+
tslib_1.__exportStar(require("./DeleteVoiceTemplateCommand"), exports);
|
|
39
|
+
tslib_1.__exportStar(require("./GetAdmChannelCommand"), exports);
|
|
40
|
+
tslib_1.__exportStar(require("./GetApnsChannelCommand"), exports);
|
|
41
|
+
tslib_1.__exportStar(require("./GetApnsSandboxChannelCommand"), exports);
|
|
42
|
+
tslib_1.__exportStar(require("./GetApnsVoipChannelCommand"), exports);
|
|
43
|
+
tslib_1.__exportStar(require("./GetApnsVoipSandboxChannelCommand"), exports);
|
|
44
|
+
tslib_1.__exportStar(require("./GetAppCommand"), exports);
|
|
45
|
+
tslib_1.__exportStar(require("./GetApplicationDateRangeKpiCommand"), exports);
|
|
46
|
+
tslib_1.__exportStar(require("./GetApplicationSettingsCommand"), exports);
|
|
47
|
+
tslib_1.__exportStar(require("./GetAppsCommand"), exports);
|
|
48
|
+
tslib_1.__exportStar(require("./GetBaiduChannelCommand"), exports);
|
|
49
|
+
tslib_1.__exportStar(require("./GetCampaignActivitiesCommand"), exports);
|
|
50
|
+
tslib_1.__exportStar(require("./GetCampaignCommand"), exports);
|
|
51
|
+
tslib_1.__exportStar(require("./GetCampaignDateRangeKpiCommand"), exports);
|
|
52
|
+
tslib_1.__exportStar(require("./GetCampaignVersionCommand"), exports);
|
|
53
|
+
tslib_1.__exportStar(require("./GetCampaignVersionsCommand"), exports);
|
|
54
|
+
tslib_1.__exportStar(require("./GetCampaignsCommand"), exports);
|
|
55
|
+
tslib_1.__exportStar(require("./GetChannelsCommand"), exports);
|
|
56
|
+
tslib_1.__exportStar(require("./GetEmailChannelCommand"), exports);
|
|
57
|
+
tslib_1.__exportStar(require("./GetEmailTemplateCommand"), exports);
|
|
58
|
+
tslib_1.__exportStar(require("./GetEndpointCommand"), exports);
|
|
59
|
+
tslib_1.__exportStar(require("./GetEventStreamCommand"), exports);
|
|
60
|
+
tslib_1.__exportStar(require("./GetExportJobCommand"), exports);
|
|
61
|
+
tslib_1.__exportStar(require("./GetExportJobsCommand"), exports);
|
|
62
|
+
tslib_1.__exportStar(require("./GetGcmChannelCommand"), exports);
|
|
63
|
+
tslib_1.__exportStar(require("./GetImportJobCommand"), exports);
|
|
64
|
+
tslib_1.__exportStar(require("./GetImportJobsCommand"), exports);
|
|
65
|
+
tslib_1.__exportStar(require("./GetInAppMessagesCommand"), exports);
|
|
66
|
+
tslib_1.__exportStar(require("./GetInAppTemplateCommand"), exports);
|
|
67
|
+
tslib_1.__exportStar(require("./GetJourneyCommand"), exports);
|
|
68
|
+
tslib_1.__exportStar(require("./GetJourneyDateRangeKpiCommand"), exports);
|
|
69
|
+
tslib_1.__exportStar(require("./GetJourneyExecutionActivityMetricsCommand"), exports);
|
|
70
|
+
tslib_1.__exportStar(require("./GetJourneyExecutionMetricsCommand"), exports);
|
|
71
|
+
tslib_1.__exportStar(require("./GetPushTemplateCommand"), exports);
|
|
72
|
+
tslib_1.__exportStar(require("./GetRecommenderConfigurationCommand"), exports);
|
|
73
|
+
tslib_1.__exportStar(require("./GetRecommenderConfigurationsCommand"), exports);
|
|
74
|
+
tslib_1.__exportStar(require("./GetSegmentCommand"), exports);
|
|
75
|
+
tslib_1.__exportStar(require("./GetSegmentExportJobsCommand"), exports);
|
|
76
|
+
tslib_1.__exportStar(require("./GetSegmentImportJobsCommand"), exports);
|
|
77
|
+
tslib_1.__exportStar(require("./GetSegmentVersionCommand"), exports);
|
|
78
|
+
tslib_1.__exportStar(require("./GetSegmentVersionsCommand"), exports);
|
|
79
|
+
tslib_1.__exportStar(require("./GetSegmentsCommand"), exports);
|
|
80
|
+
tslib_1.__exportStar(require("./GetSmsChannelCommand"), exports);
|
|
81
|
+
tslib_1.__exportStar(require("./GetSmsTemplateCommand"), exports);
|
|
82
|
+
tslib_1.__exportStar(require("./GetUserEndpointsCommand"), exports);
|
|
83
|
+
tslib_1.__exportStar(require("./GetVoiceChannelCommand"), exports);
|
|
84
|
+
tslib_1.__exportStar(require("./GetVoiceTemplateCommand"), exports);
|
|
85
|
+
tslib_1.__exportStar(require("./ListJourneysCommand"), exports);
|
|
86
|
+
tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
|
|
87
|
+
tslib_1.__exportStar(require("./ListTemplateVersionsCommand"), exports);
|
|
88
|
+
tslib_1.__exportStar(require("./ListTemplatesCommand"), exports);
|
|
89
|
+
tslib_1.__exportStar(require("./PhoneNumberValidateCommand"), exports);
|
|
90
|
+
tslib_1.__exportStar(require("./PutEventStreamCommand"), exports);
|
|
91
|
+
tslib_1.__exportStar(require("./PutEventsCommand"), exports);
|
|
92
|
+
tslib_1.__exportStar(require("./RemoveAttributesCommand"), exports);
|
|
93
|
+
tslib_1.__exportStar(require("./SendMessagesCommand"), exports);
|
|
94
|
+
tslib_1.__exportStar(require("./SendUsersMessagesCommand"), exports);
|
|
95
|
+
tslib_1.__exportStar(require("./TagResourceCommand"), exports);
|
|
96
|
+
tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
|
|
97
|
+
tslib_1.__exportStar(require("./UpdateAdmChannelCommand"), exports);
|
|
98
|
+
tslib_1.__exportStar(require("./UpdateApnsChannelCommand"), exports);
|
|
99
|
+
tslib_1.__exportStar(require("./UpdateApnsSandboxChannelCommand"), exports);
|
|
100
|
+
tslib_1.__exportStar(require("./UpdateApnsVoipChannelCommand"), exports);
|
|
101
|
+
tslib_1.__exportStar(require("./UpdateApnsVoipSandboxChannelCommand"), exports);
|
|
102
|
+
tslib_1.__exportStar(require("./UpdateApplicationSettingsCommand"), exports);
|
|
103
|
+
tslib_1.__exportStar(require("./UpdateBaiduChannelCommand"), exports);
|
|
104
|
+
tslib_1.__exportStar(require("./UpdateCampaignCommand"), exports);
|
|
105
|
+
tslib_1.__exportStar(require("./UpdateEmailChannelCommand"), exports);
|
|
106
|
+
tslib_1.__exportStar(require("./UpdateEmailTemplateCommand"), exports);
|
|
107
|
+
tslib_1.__exportStar(require("./UpdateEndpointCommand"), exports);
|
|
108
|
+
tslib_1.__exportStar(require("./UpdateEndpointsBatchCommand"), exports);
|
|
109
|
+
tslib_1.__exportStar(require("./UpdateGcmChannelCommand"), exports);
|
|
110
|
+
tslib_1.__exportStar(require("./UpdateInAppTemplateCommand"), exports);
|
|
111
|
+
tslib_1.__exportStar(require("./UpdateJourneyCommand"), exports);
|
|
112
|
+
tslib_1.__exportStar(require("./UpdateJourneyStateCommand"), exports);
|
|
113
|
+
tslib_1.__exportStar(require("./UpdatePushTemplateCommand"), exports);
|
|
114
|
+
tslib_1.__exportStar(require("./UpdateRecommenderConfigurationCommand"), exports);
|
|
115
|
+
tslib_1.__exportStar(require("./UpdateSegmentCommand"), exports);
|
|
116
|
+
tslib_1.__exportStar(require("./UpdateSmsChannelCommand"), exports);
|
|
117
|
+
tslib_1.__exportStar(require("./UpdateSmsTemplateCommand"), exports);
|
|
118
|
+
tslib_1.__exportStar(require("./UpdateTemplateActiveVersionCommand"), exports);
|
|
119
|
+
tslib_1.__exportStar(require("./UpdateVoiceChannelCommand"), exports);
|
|
120
|
+
tslib_1.__exportStar(require("./UpdateVoiceTemplateCommand"), exports);
|