@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 event stream for an application or updates the settings of an existing event stream 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, PutEventStreamCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
|
|
14
|
-
* // const { PinpointClient, PutEventStreamCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
|
|
15
|
-
* const client = new PinpointClient(config);
|
|
16
|
-
* const command = new PutEventStreamCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link PutEventStreamCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link PutEventStreamCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link PinpointClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class PutEventStreamCommand 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 event to record for endpoints, or creates or updates endpoint data that existing events are associated with.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { PinpointClient, PutEventsCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
|
|
14
|
-
* // const { PinpointClient, PutEventsCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
|
|
15
|
-
* const client = new PinpointClient(config);
|
|
16
|
-
* const command = new PutEventsCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link PutEventsCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link PutEventsCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link PinpointClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class PutEventsCommand 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>Removes one or more attributes, of the same attribute type, from all the endpoints that are 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, RemoveAttributesCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
|
|
14
|
-
* // const { PinpointClient, RemoveAttributesCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
|
|
15
|
-
* const client = new PinpointClient(config);
|
|
16
|
-
* const command = new RemoveAttributesCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link RemoveAttributesCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link RemoveAttributesCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link PinpointClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class RemoveAttributesCommand 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 and sends a direct message.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { PinpointClient, SendMessagesCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
|
|
14
|
-
* // const { PinpointClient, SendMessagesCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
|
|
15
|
-
* const client = new PinpointClient(config);
|
|
16
|
-
* const command = new SendMessagesCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link SendMessagesCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link SendMessagesCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link PinpointClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class SendMessagesCommand 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 and sends a message to a list of users.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { PinpointClient, SendUsersMessagesCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
|
|
14
|
-
* // const { PinpointClient, SendUsersMessagesCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
|
|
15
|
-
* const client = new PinpointClient(config);
|
|
16
|
-
* const command = new SendUsersMessagesCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link SendUsersMessagesCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link SendUsersMessagesCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link PinpointClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class SendUsersMessagesCommand 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>Adds one or more tags (keys and values) to an application, campaign, message template, or segment.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { PinpointClient, TagResourceCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
|
|
14
|
-
* // const { PinpointClient, TagResourceCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
|
|
15
|
-
* const client = new PinpointClient(config);
|
|
16
|
-
* const command = new TagResourceCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link PinpointClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class TagResourceCommand 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>Removes one or more tags (keys and values) from an application, campaign, message template, or segment.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { PinpointClient, UntagResourceCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
|
|
14
|
-
* // const { PinpointClient, UntagResourceCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
|
|
15
|
-
* const client = new PinpointClient(config);
|
|
16
|
-
* const command = new UntagResourceCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link PinpointClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class UntagResourceCommand 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 ADM channel for an application or updates the status and settings of the ADM 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, UpdateAdmChannelCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
|
|
14
|
-
* // const { PinpointClient, UpdateAdmChannelCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
|
|
15
|
-
* const client = new PinpointClient(config);
|
|
16
|
-
* const command = new UpdateAdmChannelCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link UpdateAdmChannelCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link UpdateAdmChannelCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link PinpointClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class UpdateAdmChannelCommand 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 APNs channel for an application or updates the status and settings of the APNs 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, UpdateApnsChannelCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
|
|
14
|
-
* // const { PinpointClient, UpdateApnsChannelCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
|
|
15
|
-
* const client = new PinpointClient(config);
|
|
16
|
-
* const command = new UpdateApnsChannelCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link UpdateApnsChannelCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link UpdateApnsChannelCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link PinpointClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class UpdateApnsChannelCommand 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 APNs sandbox channel for an application or updates the status and settings of the APNs sandbox 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, UpdateApnsSandboxChannelCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
|
|
14
|
-
* // const { PinpointClient, UpdateApnsSandboxChannelCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
|
|
15
|
-
* const client = new PinpointClient(config);
|
|
16
|
-
* const command = new UpdateApnsSandboxChannelCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link UpdateApnsSandboxChannelCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link UpdateApnsSandboxChannelCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link PinpointClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class UpdateApnsSandboxChannelCommand 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 APNs VoIP channel for an application or updates the status and settings of the APNs VoIP 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, UpdateApnsVoipChannelCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
|
|
14
|
-
* // const { PinpointClient, UpdateApnsVoipChannelCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
|
|
15
|
-
* const client = new PinpointClient(config);
|
|
16
|
-
* const command = new UpdateApnsVoipChannelCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link UpdateApnsVoipChannelCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link UpdateApnsVoipChannelCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link PinpointClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class UpdateApnsVoipChannelCommand 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 APNs VoIP sandbox channel for an application or updates the status and settings of the APNs VoIP sandbox 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, UpdateApnsVoipSandboxChannelCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
|
|
14
|
-
* // const { PinpointClient, UpdateApnsVoipSandboxChannelCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
|
|
15
|
-
* const client = new PinpointClient(config);
|
|
16
|
-
* const command = new UpdateApnsVoipSandboxChannelCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link UpdateApnsVoipSandboxChannelCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link UpdateApnsVoipSandboxChannelCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link PinpointClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class UpdateApnsVoipSandboxChannelCommand 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 settings 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, UpdateApplicationSettingsCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
|
|
14
|
-
* // const { PinpointClient, UpdateApplicationSettingsCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
|
|
15
|
-
* const client = new PinpointClient(config);
|
|
16
|
-
* const command = new UpdateApplicationSettingsCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link UpdateApplicationSettingsCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link UpdateApplicationSettingsCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link PinpointClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class UpdateApplicationSettingsCommand 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 Baidu channel for an application or updates the status and settings of the Baidu 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, UpdateBaiduChannelCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
|
|
14
|
-
* // const { PinpointClient, UpdateBaiduChannelCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
|
|
15
|
-
* const client = new PinpointClient(config);
|
|
16
|
-
* const command = new UpdateBaiduChannelCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link UpdateBaiduChannelCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link UpdateBaiduChannelCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link PinpointClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class UpdateBaiduChannelCommand 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 campaign.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { PinpointClient, UpdateCampaignCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
|
|
14
|
-
* // const { PinpointClient, UpdateCampaignCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
|
|
15
|
-
* const client = new PinpointClient(config);
|
|
16
|
-
* const command = new UpdateCampaignCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link UpdateCampaignCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link UpdateCampaignCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link PinpointClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class UpdateCampaignCommand 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 email channel for an application or updates the status and settings of the email 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, UpdateEmailChannelCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
|
|
14
|
-
* // const { PinpointClient, UpdateEmailChannelCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
|
|
15
|
-
* const client = new PinpointClient(config);
|
|
16
|
-
* const command = new UpdateEmailChannelCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link UpdateEmailChannelCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link UpdateEmailChannelCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link PinpointClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class UpdateEmailChannelCommand 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 email 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, UpdateEmailTemplateCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
|
|
14
|
-
* // const { PinpointClient, UpdateEmailTemplateCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
|
|
15
|
-
* const client = new PinpointClient(config);
|
|
16
|
-
* const command = new UpdateEmailTemplateCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link UpdateEmailTemplateCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link UpdateEmailTemplateCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link PinpointClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class UpdateEmailTemplateCommand 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);
|