@aws-sdk/client-pinpoint 3.185.0 → 3.186.1

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.
Files changed (137) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/endpoints.js +14 -0
  3. package/dist-es/endpoints.js +14 -0
  4. package/dist-types/ts3.4/Pinpoint.d.ts +840 -2033
  5. package/dist-types/ts3.4/PinpointClient.d.ts +263 -818
  6. package/dist-types/ts3.4/commands/CreateAppCommand.d.ts +35 -32
  7. package/dist-types/ts3.4/commands/CreateCampaignCommand.d.ts +35 -35
  8. package/dist-types/ts3.4/commands/CreateEmailTemplateCommand.d.ts +35 -36
  9. package/dist-types/ts3.4/commands/CreateExportJobCommand.d.ts +35 -35
  10. package/dist-types/ts3.4/commands/CreateImportJobCommand.d.ts +35 -35
  11. package/dist-types/ts3.4/commands/CreateInAppTemplateCommand.d.ts +35 -36
  12. package/dist-types/ts3.4/commands/CreateJourneyCommand.d.ts +35 -35
  13. package/dist-types/ts3.4/commands/CreatePushTemplateCommand.d.ts +35 -36
  14. package/dist-types/ts3.4/commands/CreateRecommenderConfigurationCommand.d.ts +35 -39
  15. package/dist-types/ts3.4/commands/CreateSegmentCommand.d.ts +35 -35
  16. package/dist-types/ts3.4/commands/CreateSmsTemplateCommand.d.ts +35 -36
  17. package/dist-types/ts3.4/commands/CreateVoiceTemplateCommand.d.ts +35 -36
  18. package/dist-types/ts3.4/commands/DeleteAdmChannelCommand.d.ts +35 -35
  19. package/dist-types/ts3.4/commands/DeleteApnsChannelCommand.d.ts +35 -36
  20. package/dist-types/ts3.4/commands/DeleteApnsSandboxChannelCommand.d.ts +35 -39
  21. package/dist-types/ts3.4/commands/DeleteApnsVoipChannelCommand.d.ts +35 -39
  22. package/dist-types/ts3.4/commands/DeleteApnsVoipSandboxChannelCommand.d.ts +35 -39
  23. package/dist-types/ts3.4/commands/DeleteAppCommand.d.ts +35 -32
  24. package/dist-types/ts3.4/commands/DeleteBaiduChannelCommand.d.ts +35 -36
  25. package/dist-types/ts3.4/commands/DeleteCampaignCommand.d.ts +35 -35
  26. package/dist-types/ts3.4/commands/DeleteEmailChannelCommand.d.ts +35 -36
  27. package/dist-types/ts3.4/commands/DeleteEmailTemplateCommand.d.ts +35 -36
  28. package/dist-types/ts3.4/commands/DeleteEndpointCommand.d.ts +35 -35
  29. package/dist-types/ts3.4/commands/DeleteEventStreamCommand.d.ts +35 -36
  30. package/dist-types/ts3.4/commands/DeleteGcmChannelCommand.d.ts +35 -35
  31. package/dist-types/ts3.4/commands/DeleteInAppTemplateCommand.d.ts +35 -36
  32. package/dist-types/ts3.4/commands/DeleteJourneyCommand.d.ts +35 -35
  33. package/dist-types/ts3.4/commands/DeletePushTemplateCommand.d.ts +35 -36
  34. package/dist-types/ts3.4/commands/DeleteRecommenderConfigurationCommand.d.ts +35 -39
  35. package/dist-types/ts3.4/commands/DeleteSegmentCommand.d.ts +35 -35
  36. package/dist-types/ts3.4/commands/DeleteSmsChannelCommand.d.ts +35 -35
  37. package/dist-types/ts3.4/commands/DeleteSmsTemplateCommand.d.ts +35 -36
  38. package/dist-types/ts3.4/commands/DeleteUserEndpointsCommand.d.ts +35 -36
  39. package/dist-types/ts3.4/commands/DeleteVoiceChannelCommand.d.ts +35 -36
  40. package/dist-types/ts3.4/commands/DeleteVoiceTemplateCommand.d.ts +35 -36
  41. package/dist-types/ts3.4/commands/GetAdmChannelCommand.d.ts +35 -35
  42. package/dist-types/ts3.4/commands/GetApnsChannelCommand.d.ts +35 -35
  43. package/dist-types/ts3.4/commands/GetApnsSandboxChannelCommand.d.ts +35 -39
  44. package/dist-types/ts3.4/commands/GetApnsVoipChannelCommand.d.ts +35 -36
  45. package/dist-types/ts3.4/commands/GetApnsVoipSandboxChannelCommand.d.ts +35 -39
  46. package/dist-types/ts3.4/commands/GetAppCommand.d.ts +35 -30
  47. package/dist-types/ts3.4/commands/GetApplicationDateRangeKpiCommand.d.ts +35 -39
  48. package/dist-types/ts3.4/commands/GetApplicationSettingsCommand.d.ts +35 -39
  49. package/dist-types/ts3.4/commands/GetAppsCommand.d.ts +35 -32
  50. package/dist-types/ts3.4/commands/GetBaiduChannelCommand.d.ts +35 -35
  51. package/dist-types/ts3.4/commands/GetCampaignActivitiesCommand.d.ts +35 -39
  52. package/dist-types/ts3.4/commands/GetCampaignCommand.d.ts +35 -32
  53. package/dist-types/ts3.4/commands/GetCampaignDateRangeKpiCommand.d.ts +35 -39
  54. package/dist-types/ts3.4/commands/GetCampaignVersionCommand.d.ts +35 -36
  55. package/dist-types/ts3.4/commands/GetCampaignVersionsCommand.d.ts +35 -36
  56. package/dist-types/ts3.4/commands/GetCampaignsCommand.d.ts +35 -32
  57. package/dist-types/ts3.4/commands/GetChannelsCommand.d.ts +35 -32
  58. package/dist-types/ts3.4/commands/GetEmailChannelCommand.d.ts +35 -35
  59. package/dist-types/ts3.4/commands/GetEmailTemplateCommand.d.ts +35 -35
  60. package/dist-types/ts3.4/commands/GetEndpointCommand.d.ts +35 -32
  61. package/dist-types/ts3.4/commands/GetEventStreamCommand.d.ts +35 -35
  62. package/dist-types/ts3.4/commands/GetExportJobCommand.d.ts +35 -32
  63. package/dist-types/ts3.4/commands/GetExportJobsCommand.d.ts +35 -35
  64. package/dist-types/ts3.4/commands/GetGcmChannelCommand.d.ts +35 -35
  65. package/dist-types/ts3.4/commands/GetImportJobCommand.d.ts +35 -32
  66. package/dist-types/ts3.4/commands/GetImportJobsCommand.d.ts +35 -35
  67. package/dist-types/ts3.4/commands/GetInAppMessagesCommand.d.ts +35 -35
  68. package/dist-types/ts3.4/commands/GetInAppTemplateCommand.d.ts +35 -35
  69. package/dist-types/ts3.4/commands/GetJourneyCommand.d.ts +35 -32
  70. package/dist-types/ts3.4/commands/GetJourneyDateRangeKpiCommand.d.ts +35 -39
  71. package/dist-types/ts3.4/commands/GetJourneyExecutionActivityMetricsCommand.d.ts +35 -39
  72. package/dist-types/ts3.4/commands/GetJourneyExecutionMetricsCommand.d.ts +35 -39
  73. package/dist-types/ts3.4/commands/GetPushTemplateCommand.d.ts +35 -35
  74. package/dist-types/ts3.4/commands/GetRecommenderConfigurationCommand.d.ts +35 -39
  75. package/dist-types/ts3.4/commands/GetRecommenderConfigurationsCommand.d.ts +35 -39
  76. package/dist-types/ts3.4/commands/GetSegmentCommand.d.ts +35 -32
  77. package/dist-types/ts3.4/commands/GetSegmentExportJobsCommand.d.ts +35 -39
  78. package/dist-types/ts3.4/commands/GetSegmentImportJobsCommand.d.ts +35 -39
  79. package/dist-types/ts3.4/commands/GetSegmentVersionCommand.d.ts +35 -36
  80. package/dist-types/ts3.4/commands/GetSegmentVersionsCommand.d.ts +35 -36
  81. package/dist-types/ts3.4/commands/GetSegmentsCommand.d.ts +35 -32
  82. package/dist-types/ts3.4/commands/GetSmsChannelCommand.d.ts +35 -35
  83. package/dist-types/ts3.4/commands/GetSmsTemplateCommand.d.ts +35 -35
  84. package/dist-types/ts3.4/commands/GetUserEndpointsCommand.d.ts +35 -35
  85. package/dist-types/ts3.4/commands/GetVoiceChannelCommand.d.ts +35 -35
  86. package/dist-types/ts3.4/commands/GetVoiceTemplateCommand.d.ts +35 -35
  87. package/dist-types/ts3.4/commands/ListJourneysCommand.d.ts +35 -32
  88. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +35 -36
  89. package/dist-types/ts3.4/commands/ListTemplateVersionsCommand.d.ts +35 -39
  90. package/dist-types/ts3.4/commands/ListTemplatesCommand.d.ts +35 -35
  91. package/dist-types/ts3.4/commands/PhoneNumberValidateCommand.d.ts +35 -36
  92. package/dist-types/ts3.4/commands/PutEventStreamCommand.d.ts +35 -35
  93. package/dist-types/ts3.4/commands/PutEventsCommand.d.ts +35 -32
  94. package/dist-types/ts3.4/commands/RemoveAttributesCommand.d.ts +35 -35
  95. package/dist-types/ts3.4/commands/SendMessagesCommand.d.ts +35 -32
  96. package/dist-types/ts3.4/commands/SendOTPMessageCommand.d.ts +35 -35
  97. package/dist-types/ts3.4/commands/SendUsersMessagesCommand.d.ts +35 -36
  98. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +35 -30
  99. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +35 -30
  100. package/dist-types/ts3.4/commands/UpdateAdmChannelCommand.d.ts +35 -35
  101. package/dist-types/ts3.4/commands/UpdateApnsChannelCommand.d.ts +35 -36
  102. package/dist-types/ts3.4/commands/UpdateApnsSandboxChannelCommand.d.ts +35 -39
  103. package/dist-types/ts3.4/commands/UpdateApnsVoipChannelCommand.d.ts +35 -39
  104. package/dist-types/ts3.4/commands/UpdateApnsVoipSandboxChannelCommand.d.ts +35 -39
  105. package/dist-types/ts3.4/commands/UpdateApplicationSettingsCommand.d.ts +35 -39
  106. package/dist-types/ts3.4/commands/UpdateBaiduChannelCommand.d.ts +35 -36
  107. package/dist-types/ts3.4/commands/UpdateCampaignCommand.d.ts +35 -35
  108. package/dist-types/ts3.4/commands/UpdateEmailChannelCommand.d.ts +35 -36
  109. package/dist-types/ts3.4/commands/UpdateEmailTemplateCommand.d.ts +35 -36
  110. package/dist-types/ts3.4/commands/UpdateEndpointCommand.d.ts +35 -35
  111. package/dist-types/ts3.4/commands/UpdateEndpointsBatchCommand.d.ts +35 -39
  112. package/dist-types/ts3.4/commands/UpdateGcmChannelCommand.d.ts +35 -35
  113. package/dist-types/ts3.4/commands/UpdateInAppTemplateCommand.d.ts +35 -36
  114. package/dist-types/ts3.4/commands/UpdateJourneyCommand.d.ts +35 -35
  115. package/dist-types/ts3.4/commands/UpdateJourneyStateCommand.d.ts +35 -36
  116. package/dist-types/ts3.4/commands/UpdatePushTemplateCommand.d.ts +35 -36
  117. package/dist-types/ts3.4/commands/UpdateRecommenderConfigurationCommand.d.ts +35 -39
  118. package/dist-types/ts3.4/commands/UpdateSegmentCommand.d.ts +35 -35
  119. package/dist-types/ts3.4/commands/UpdateSmsChannelCommand.d.ts +35 -35
  120. package/dist-types/ts3.4/commands/UpdateSmsTemplateCommand.d.ts +35 -36
  121. package/dist-types/ts3.4/commands/UpdateTemplateActiveVersionCommand.d.ts +35 -39
  122. package/dist-types/ts3.4/commands/UpdateVoiceChannelCommand.d.ts +35 -36
  123. package/dist-types/ts3.4/commands/UpdateVoiceTemplateCommand.d.ts +35 -36
  124. package/dist-types/ts3.4/commands/VerifyOTPMessageCommand.d.ts +35 -35
  125. package/dist-types/ts3.4/commands/index.d.ts +119 -119
  126. package/dist-types/ts3.4/endpoints.d.ts +2 -2
  127. package/dist-types/ts3.4/index.d.ts +5 -5
  128. package/dist-types/ts3.4/models/PinpointServiceException.d.ts +10 -7
  129. package/dist-types/ts3.4/models/index.d.ts +2 -2
  130. package/dist-types/ts3.4/models/models_0.d.ts +6755 -2602
  131. package/dist-types/ts3.4/models/models_1.d.ts +2843 -1359
  132. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +359 -1433
  133. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +40 -67
  134. package/dist-types/ts3.4/runtimeConfig.d.ts +40 -67
  135. package/dist-types/ts3.4/runtimeConfig.native.d.ts +39 -68
  136. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +13 -10
  137. package/package.json +33 -33
@@ -1,35 +1,35 @@
1
- import { Command as $Command } from "@aws-sdk/smithy-client";
2
- import {
3
- Handler,
4
- HttpHandlerOptions as __HttpHandlerOptions,
5
- MetadataBearer as __MetadataBearer,
6
- MiddlewareStack,
7
- } from "@aws-sdk/types";
8
- import {
9
- UpdateEndpointRequest,
10
- UpdateEndpointResponse,
11
- } from "../models/models_1";
12
- import {
13
- PinpointClientResolvedConfig,
14
- ServiceInputTypes,
15
- ServiceOutputTypes,
16
- } from "../PinpointClient";
17
- export interface UpdateEndpointCommandInput extends UpdateEndpointRequest {}
18
- export interface UpdateEndpointCommandOutput
19
- extends UpdateEndpointResponse,
20
- __MetadataBearer {}
21
- export declare class UpdateEndpointCommand extends $Command<
22
- UpdateEndpointCommandInput,
23
- UpdateEndpointCommandOutput,
24
- PinpointClientResolvedConfig
25
- > {
26
- readonly input: UpdateEndpointCommandInput;
27
- constructor(input: UpdateEndpointCommandInput);
28
- resolveMiddleware(
29
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
30
- configuration: PinpointClientResolvedConfig,
31
- options?: __HttpHandlerOptions
32
- ): Handler<UpdateEndpointCommandInput, UpdateEndpointCommandOutput>;
33
- private serialize;
34
- private deserialize;
35
- }
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { UpdateEndpointRequest, UpdateEndpointResponse } from "../models/models_1";
4
+ import { PinpointClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointClient";
5
+ export interface UpdateEndpointCommandInput extends UpdateEndpointRequest {
6
+ }
7
+ export interface UpdateEndpointCommandOutput extends UpdateEndpointResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <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>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { PinpointClient, UpdateEndpointCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
15
+ * // const { PinpointClient, UpdateEndpointCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
16
+ * const client = new PinpointClient(config);
17
+ * const command = new UpdateEndpointCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link UpdateEndpointCommandInput} for command's `input` shape.
22
+ * @see {@link UpdateEndpointCommandOutput} for command's `response` shape.
23
+ * @see {@link PinpointClientResolvedConfig | config} for PinpointClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class UpdateEndpointCommand extends $Command<UpdateEndpointCommandInput, UpdateEndpointCommandOutput, PinpointClientResolvedConfig> {
27
+ readonly input: UpdateEndpointCommandInput;
28
+ constructor(input: UpdateEndpointCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateEndpointCommandInput, UpdateEndpointCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -1,39 +1,35 @@
1
- import { Command as $Command } from "@aws-sdk/smithy-client";
2
- import {
3
- Handler,
4
- HttpHandlerOptions as __HttpHandlerOptions,
5
- MetadataBearer as __MetadataBearer,
6
- MiddlewareStack,
7
- } from "@aws-sdk/types";
8
- import {
9
- UpdateEndpointsBatchRequest,
10
- UpdateEndpointsBatchResponse,
11
- } from "../models/models_1";
12
- import {
13
- PinpointClientResolvedConfig,
14
- ServiceInputTypes,
15
- ServiceOutputTypes,
16
- } from "../PinpointClient";
17
- export interface UpdateEndpointsBatchCommandInput
18
- extends UpdateEndpointsBatchRequest {}
19
- export interface UpdateEndpointsBatchCommandOutput
20
- extends UpdateEndpointsBatchResponse,
21
- __MetadataBearer {}
22
- export declare class UpdateEndpointsBatchCommand extends $Command<
23
- UpdateEndpointsBatchCommandInput,
24
- UpdateEndpointsBatchCommandOutput,
25
- PinpointClientResolvedConfig
26
- > {
27
- readonly input: UpdateEndpointsBatchCommandInput;
28
- constructor(input: UpdateEndpointsBatchCommandInput);
29
- resolveMiddleware(
30
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
31
- configuration: PinpointClientResolvedConfig,
32
- options?: __HttpHandlerOptions
33
- ): Handler<
34
- UpdateEndpointsBatchCommandInput,
35
- UpdateEndpointsBatchCommandOutput
36
- >;
37
- private serialize;
38
- private deserialize;
39
- }
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { UpdateEndpointsBatchRequest, UpdateEndpointsBatchResponse } from "../models/models_1";
4
+ import { PinpointClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointClient";
5
+ export interface UpdateEndpointsBatchCommandInput extends UpdateEndpointsBatchRequest {
6
+ }
7
+ export interface UpdateEndpointsBatchCommandOutput extends UpdateEndpointsBatchResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <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>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { PinpointClient, UpdateEndpointsBatchCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
15
+ * // const { PinpointClient, UpdateEndpointsBatchCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
16
+ * const client = new PinpointClient(config);
17
+ * const command = new UpdateEndpointsBatchCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link UpdateEndpointsBatchCommandInput} for command's `input` shape.
22
+ * @see {@link UpdateEndpointsBatchCommandOutput} for command's `response` shape.
23
+ * @see {@link PinpointClientResolvedConfig | config} for PinpointClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class UpdateEndpointsBatchCommand extends $Command<UpdateEndpointsBatchCommandInput, UpdateEndpointsBatchCommandOutput, PinpointClientResolvedConfig> {
27
+ readonly input: UpdateEndpointsBatchCommandInput;
28
+ constructor(input: UpdateEndpointsBatchCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateEndpointsBatchCommandInput, UpdateEndpointsBatchCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -1,35 +1,35 @@
1
- import { Command as $Command } from "@aws-sdk/smithy-client";
2
- import {
3
- Handler,
4
- HttpHandlerOptions as __HttpHandlerOptions,
5
- MetadataBearer as __MetadataBearer,
6
- MiddlewareStack,
7
- } from "@aws-sdk/types";
8
- import {
9
- UpdateGcmChannelRequest,
10
- UpdateGcmChannelResponse,
11
- } from "../models/models_1";
12
- import {
13
- PinpointClientResolvedConfig,
14
- ServiceInputTypes,
15
- ServiceOutputTypes,
16
- } from "../PinpointClient";
17
- export interface UpdateGcmChannelCommandInput extends UpdateGcmChannelRequest {}
18
- export interface UpdateGcmChannelCommandOutput
19
- extends UpdateGcmChannelResponse,
20
- __MetadataBearer {}
21
- export declare class UpdateGcmChannelCommand extends $Command<
22
- UpdateGcmChannelCommandInput,
23
- UpdateGcmChannelCommandOutput,
24
- PinpointClientResolvedConfig
25
- > {
26
- readonly input: UpdateGcmChannelCommandInput;
27
- constructor(input: UpdateGcmChannelCommandInput);
28
- resolveMiddleware(
29
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
30
- configuration: PinpointClientResolvedConfig,
31
- options?: __HttpHandlerOptions
32
- ): Handler<UpdateGcmChannelCommandInput, UpdateGcmChannelCommandOutput>;
33
- private serialize;
34
- private deserialize;
35
- }
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { UpdateGcmChannelRequest, UpdateGcmChannelResponse } from "../models/models_1";
4
+ import { PinpointClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointClient";
5
+ export interface UpdateGcmChannelCommandInput extends UpdateGcmChannelRequest {
6
+ }
7
+ export interface UpdateGcmChannelCommandOutput extends UpdateGcmChannelResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Enables the GCM channel for an application or updates the status and settings of the GCM channel for an application.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { PinpointClient, UpdateGcmChannelCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
15
+ * // const { PinpointClient, UpdateGcmChannelCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
16
+ * const client = new PinpointClient(config);
17
+ * const command = new UpdateGcmChannelCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link UpdateGcmChannelCommandInput} for command's `input` shape.
22
+ * @see {@link UpdateGcmChannelCommandOutput} for command's `response` shape.
23
+ * @see {@link PinpointClientResolvedConfig | config} for PinpointClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class UpdateGcmChannelCommand extends $Command<UpdateGcmChannelCommandInput, UpdateGcmChannelCommandOutput, PinpointClientResolvedConfig> {
27
+ readonly input: UpdateGcmChannelCommandInput;
28
+ constructor(input: UpdateGcmChannelCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateGcmChannelCommandInput, UpdateGcmChannelCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -1,36 +1,35 @@
1
- import { Command as $Command } from "@aws-sdk/smithy-client";
2
- import {
3
- Handler,
4
- HttpHandlerOptions as __HttpHandlerOptions,
5
- MetadataBearer as __MetadataBearer,
6
- MiddlewareStack,
7
- } from "@aws-sdk/types";
8
- import {
9
- UpdateInAppTemplateRequest,
10
- UpdateInAppTemplateResponse,
11
- } from "../models/models_1";
12
- import {
13
- PinpointClientResolvedConfig,
14
- ServiceInputTypes,
15
- ServiceOutputTypes,
16
- } from "../PinpointClient";
17
- export interface UpdateInAppTemplateCommandInput
18
- extends UpdateInAppTemplateRequest {}
19
- export interface UpdateInAppTemplateCommandOutput
20
- extends UpdateInAppTemplateResponse,
21
- __MetadataBearer {}
22
- export declare class UpdateInAppTemplateCommand extends $Command<
23
- UpdateInAppTemplateCommandInput,
24
- UpdateInAppTemplateCommandOutput,
25
- PinpointClientResolvedConfig
26
- > {
27
- readonly input: UpdateInAppTemplateCommandInput;
28
- constructor(input: UpdateInAppTemplateCommandInput);
29
- resolveMiddleware(
30
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
31
- configuration: PinpointClientResolvedConfig,
32
- options?: __HttpHandlerOptions
33
- ): Handler<UpdateInAppTemplateCommandInput, UpdateInAppTemplateCommandOutput>;
34
- private serialize;
35
- private deserialize;
36
- }
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { UpdateInAppTemplateRequest, UpdateInAppTemplateResponse } from "../models/models_1";
4
+ import { PinpointClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointClient";
5
+ export interface UpdateInAppTemplateCommandInput extends UpdateInAppTemplateRequest {
6
+ }
7
+ export interface UpdateInAppTemplateCommandOutput extends UpdateInAppTemplateResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Updates an existing message template for messages sent through the in-app message channel.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { PinpointClient, UpdateInAppTemplateCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
15
+ * // const { PinpointClient, UpdateInAppTemplateCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
16
+ * const client = new PinpointClient(config);
17
+ * const command = new UpdateInAppTemplateCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link UpdateInAppTemplateCommandInput} for command's `input` shape.
22
+ * @see {@link UpdateInAppTemplateCommandOutput} for command's `response` shape.
23
+ * @see {@link PinpointClientResolvedConfig | config} for PinpointClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class UpdateInAppTemplateCommand extends $Command<UpdateInAppTemplateCommandInput, UpdateInAppTemplateCommandOutput, PinpointClientResolvedConfig> {
27
+ readonly input: UpdateInAppTemplateCommandInput;
28
+ constructor(input: UpdateInAppTemplateCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateInAppTemplateCommandInput, UpdateInAppTemplateCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -1,35 +1,35 @@
1
- import { Command as $Command } from "@aws-sdk/smithy-client";
2
- import {
3
- Handler,
4
- HttpHandlerOptions as __HttpHandlerOptions,
5
- MetadataBearer as __MetadataBearer,
6
- MiddlewareStack,
7
- } from "@aws-sdk/types";
8
- import {
9
- UpdateJourneyRequest,
10
- UpdateJourneyResponse,
11
- } from "../models/models_1";
12
- import {
13
- PinpointClientResolvedConfig,
14
- ServiceInputTypes,
15
- ServiceOutputTypes,
16
- } from "../PinpointClient";
17
- export interface UpdateJourneyCommandInput extends UpdateJourneyRequest {}
18
- export interface UpdateJourneyCommandOutput
19
- extends UpdateJourneyResponse,
20
- __MetadataBearer {}
21
- export declare class UpdateJourneyCommand extends $Command<
22
- UpdateJourneyCommandInput,
23
- UpdateJourneyCommandOutput,
24
- PinpointClientResolvedConfig
25
- > {
26
- readonly input: UpdateJourneyCommandInput;
27
- constructor(input: UpdateJourneyCommandInput);
28
- resolveMiddleware(
29
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
30
- configuration: PinpointClientResolvedConfig,
31
- options?: __HttpHandlerOptions
32
- ): Handler<UpdateJourneyCommandInput, UpdateJourneyCommandOutput>;
33
- private serialize;
34
- private deserialize;
35
- }
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { UpdateJourneyRequest, UpdateJourneyResponse } from "../models/models_1";
4
+ import { PinpointClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointClient";
5
+ export interface UpdateJourneyCommandInput extends UpdateJourneyRequest {
6
+ }
7
+ export interface UpdateJourneyCommandOutput extends UpdateJourneyResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Updates the configuration and other settings for a journey.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { PinpointClient, UpdateJourneyCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
15
+ * // const { PinpointClient, UpdateJourneyCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
16
+ * const client = new PinpointClient(config);
17
+ * const command = new UpdateJourneyCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link UpdateJourneyCommandInput} for command's `input` shape.
22
+ * @see {@link UpdateJourneyCommandOutput} for command's `response` shape.
23
+ * @see {@link PinpointClientResolvedConfig | config} for PinpointClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class UpdateJourneyCommand extends $Command<UpdateJourneyCommandInput, UpdateJourneyCommandOutput, PinpointClientResolvedConfig> {
27
+ readonly input: UpdateJourneyCommandInput;
28
+ constructor(input: UpdateJourneyCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateJourneyCommandInput, UpdateJourneyCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -1,36 +1,35 @@
1
- import { Command as $Command } from "@aws-sdk/smithy-client";
2
- import {
3
- Handler,
4
- HttpHandlerOptions as __HttpHandlerOptions,
5
- MetadataBearer as __MetadataBearer,
6
- MiddlewareStack,
7
- } from "@aws-sdk/types";
8
- import {
9
- UpdateJourneyStateRequest,
10
- UpdateJourneyStateResponse,
11
- } from "../models/models_1";
12
- import {
13
- PinpointClientResolvedConfig,
14
- ServiceInputTypes,
15
- ServiceOutputTypes,
16
- } from "../PinpointClient";
17
- export interface UpdateJourneyStateCommandInput
18
- extends UpdateJourneyStateRequest {}
19
- export interface UpdateJourneyStateCommandOutput
20
- extends UpdateJourneyStateResponse,
21
- __MetadataBearer {}
22
- export declare class UpdateJourneyStateCommand extends $Command<
23
- UpdateJourneyStateCommandInput,
24
- UpdateJourneyStateCommandOutput,
25
- PinpointClientResolvedConfig
26
- > {
27
- readonly input: UpdateJourneyStateCommandInput;
28
- constructor(input: UpdateJourneyStateCommandInput);
29
- resolveMiddleware(
30
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
31
- configuration: PinpointClientResolvedConfig,
32
- options?: __HttpHandlerOptions
33
- ): Handler<UpdateJourneyStateCommandInput, UpdateJourneyStateCommandOutput>;
34
- private serialize;
35
- private deserialize;
36
- }
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { UpdateJourneyStateRequest, UpdateJourneyStateResponse } from "../models/models_1";
4
+ import { PinpointClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointClient";
5
+ export interface UpdateJourneyStateCommandInput extends UpdateJourneyStateRequest {
6
+ }
7
+ export interface UpdateJourneyStateCommandOutput extends UpdateJourneyStateResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Cancels (stops) an active journey.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { PinpointClient, UpdateJourneyStateCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
15
+ * // const { PinpointClient, UpdateJourneyStateCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
16
+ * const client = new PinpointClient(config);
17
+ * const command = new UpdateJourneyStateCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link UpdateJourneyStateCommandInput} for command's `input` shape.
22
+ * @see {@link UpdateJourneyStateCommandOutput} for command's `response` shape.
23
+ * @see {@link PinpointClientResolvedConfig | config} for PinpointClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class UpdateJourneyStateCommand extends $Command<UpdateJourneyStateCommandInput, UpdateJourneyStateCommandOutput, PinpointClientResolvedConfig> {
27
+ readonly input: UpdateJourneyStateCommandInput;
28
+ constructor(input: UpdateJourneyStateCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateJourneyStateCommandInput, UpdateJourneyStateCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -1,36 +1,35 @@
1
- import { Command as $Command } from "@aws-sdk/smithy-client";
2
- import {
3
- Handler,
4
- HttpHandlerOptions as __HttpHandlerOptions,
5
- MetadataBearer as __MetadataBearer,
6
- MiddlewareStack,
7
- } from "@aws-sdk/types";
8
- import {
9
- UpdatePushTemplateRequest,
10
- UpdatePushTemplateResponse,
11
- } from "../models/models_1";
12
- import {
13
- PinpointClientResolvedConfig,
14
- ServiceInputTypes,
15
- ServiceOutputTypes,
16
- } from "../PinpointClient";
17
- export interface UpdatePushTemplateCommandInput
18
- extends UpdatePushTemplateRequest {}
19
- export interface UpdatePushTemplateCommandOutput
20
- extends UpdatePushTemplateResponse,
21
- __MetadataBearer {}
22
- export declare class UpdatePushTemplateCommand extends $Command<
23
- UpdatePushTemplateCommandInput,
24
- UpdatePushTemplateCommandOutput,
25
- PinpointClientResolvedConfig
26
- > {
27
- readonly input: UpdatePushTemplateCommandInput;
28
- constructor(input: UpdatePushTemplateCommandInput);
29
- resolveMiddleware(
30
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
31
- configuration: PinpointClientResolvedConfig,
32
- options?: __HttpHandlerOptions
33
- ): Handler<UpdatePushTemplateCommandInput, UpdatePushTemplateCommandOutput>;
34
- private serialize;
35
- private deserialize;
36
- }
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { UpdatePushTemplateRequest, UpdatePushTemplateResponse } from "../models/models_1";
4
+ import { PinpointClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointClient";
5
+ export interface UpdatePushTemplateCommandInput extends UpdatePushTemplateRequest {
6
+ }
7
+ export interface UpdatePushTemplateCommandOutput extends UpdatePushTemplateResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Updates an existing message template for messages that are sent through a push notification channel.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { PinpointClient, UpdatePushTemplateCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
15
+ * // const { PinpointClient, UpdatePushTemplateCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
16
+ * const client = new PinpointClient(config);
17
+ * const command = new UpdatePushTemplateCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link UpdatePushTemplateCommandInput} for command's `input` shape.
22
+ * @see {@link UpdatePushTemplateCommandOutput} for command's `response` shape.
23
+ * @see {@link PinpointClientResolvedConfig | config} for PinpointClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class UpdatePushTemplateCommand extends $Command<UpdatePushTemplateCommandInput, UpdatePushTemplateCommandOutput, PinpointClientResolvedConfig> {
27
+ readonly input: UpdatePushTemplateCommandInput;
28
+ constructor(input: UpdatePushTemplateCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdatePushTemplateCommandInput, UpdatePushTemplateCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -1,39 +1,35 @@
1
- import { Command as $Command } from "@aws-sdk/smithy-client";
2
- import {
3
- Handler,
4
- HttpHandlerOptions as __HttpHandlerOptions,
5
- MetadataBearer as __MetadataBearer,
6
- MiddlewareStack,
7
- } from "@aws-sdk/types";
8
- import {
9
- UpdateRecommenderConfigurationRequest,
10
- UpdateRecommenderConfigurationResponse,
11
- } from "../models/models_1";
12
- import {
13
- PinpointClientResolvedConfig,
14
- ServiceInputTypes,
15
- ServiceOutputTypes,
16
- } from "../PinpointClient";
17
- export interface UpdateRecommenderConfigurationCommandInput
18
- extends UpdateRecommenderConfigurationRequest {}
19
- export interface UpdateRecommenderConfigurationCommandOutput
20
- extends UpdateRecommenderConfigurationResponse,
21
- __MetadataBearer {}
22
- export declare class UpdateRecommenderConfigurationCommand extends $Command<
23
- UpdateRecommenderConfigurationCommandInput,
24
- UpdateRecommenderConfigurationCommandOutput,
25
- PinpointClientResolvedConfig
26
- > {
27
- readonly input: UpdateRecommenderConfigurationCommandInput;
28
- constructor(input: UpdateRecommenderConfigurationCommandInput);
29
- resolveMiddleware(
30
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
31
- configuration: PinpointClientResolvedConfig,
32
- options?: __HttpHandlerOptions
33
- ): Handler<
34
- UpdateRecommenderConfigurationCommandInput,
35
- UpdateRecommenderConfigurationCommandOutput
36
- >;
37
- private serialize;
38
- private deserialize;
39
- }
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { UpdateRecommenderConfigurationRequest, UpdateRecommenderConfigurationResponse } from "../models/models_1";
4
+ import { PinpointClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointClient";
5
+ export interface UpdateRecommenderConfigurationCommandInput extends UpdateRecommenderConfigurationRequest {
6
+ }
7
+ export interface UpdateRecommenderConfigurationCommandOutput extends UpdateRecommenderConfigurationResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Updates an Amazon Pinpoint configuration for a recommender model.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { PinpointClient, UpdateRecommenderConfigurationCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
15
+ * // const { PinpointClient, UpdateRecommenderConfigurationCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
16
+ * const client = new PinpointClient(config);
17
+ * const command = new UpdateRecommenderConfigurationCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link UpdateRecommenderConfigurationCommandInput} for command's `input` shape.
22
+ * @see {@link UpdateRecommenderConfigurationCommandOutput} for command's `response` shape.
23
+ * @see {@link PinpointClientResolvedConfig | config} for PinpointClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class UpdateRecommenderConfigurationCommand extends $Command<UpdateRecommenderConfigurationCommandInput, UpdateRecommenderConfigurationCommandOutput, PinpointClientResolvedConfig> {
27
+ readonly input: UpdateRecommenderConfigurationCommandInput;
28
+ constructor(input: UpdateRecommenderConfigurationCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateRecommenderConfigurationCommandInput, UpdateRecommenderConfigurationCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }