@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,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
- GetSegmentImportJobsRequest,
10
- GetSegmentImportJobsResponse,
11
- } from "../models/models_1";
12
- import {
13
- PinpointClientResolvedConfig,
14
- ServiceInputTypes,
15
- ServiceOutputTypes,
16
- } from "../PinpointClient";
17
- export interface GetSegmentImportJobsCommandInput
18
- extends GetSegmentImportJobsRequest {}
19
- export interface GetSegmentImportJobsCommandOutput
20
- extends GetSegmentImportJobsResponse,
21
- __MetadataBearer {}
22
- export declare class GetSegmentImportJobsCommand extends $Command<
23
- GetSegmentImportJobsCommandInput,
24
- GetSegmentImportJobsCommandOutput,
25
- PinpointClientResolvedConfig
26
- > {
27
- readonly input: GetSegmentImportJobsCommandInput;
28
- constructor(input: GetSegmentImportJobsCommandInput);
29
- resolveMiddleware(
30
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
31
- configuration: PinpointClientResolvedConfig,
32
- options?: __HttpHandlerOptions
33
- ): Handler<
34
- GetSegmentImportJobsCommandInput,
35
- GetSegmentImportJobsCommandOutput
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 { GetSegmentImportJobsRequest, GetSegmentImportJobsResponse } from "../models/models_1";
4
+ import { PinpointClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointClient";
5
+ export interface GetSegmentImportJobsCommandInput extends GetSegmentImportJobsRequest {
6
+ }
7
+ export interface GetSegmentImportJobsCommandOutput extends GetSegmentImportJobsResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Retrieves information about the status and settings of the import jobs for a segment.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { PinpointClient, GetSegmentImportJobsCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
15
+ * // const { PinpointClient, GetSegmentImportJobsCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
16
+ * const client = new PinpointClient(config);
17
+ * const command = new GetSegmentImportJobsCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link GetSegmentImportJobsCommandInput} for command's `input` shape.
22
+ * @see {@link GetSegmentImportJobsCommandOutput} for command's `response` shape.
23
+ * @see {@link PinpointClientResolvedConfig | config} for PinpointClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class GetSegmentImportJobsCommand extends $Command<GetSegmentImportJobsCommandInput, GetSegmentImportJobsCommandOutput, PinpointClientResolvedConfig> {
27
+ readonly input: GetSegmentImportJobsCommandInput;
28
+ constructor(input: GetSegmentImportJobsCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetSegmentImportJobsCommandInput, GetSegmentImportJobsCommandOutput>;
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
- GetSegmentVersionRequest,
10
- GetSegmentVersionResponse,
11
- } from "../models/models_1";
12
- import {
13
- PinpointClientResolvedConfig,
14
- ServiceInputTypes,
15
- ServiceOutputTypes,
16
- } from "../PinpointClient";
17
- export interface GetSegmentVersionCommandInput
18
- extends GetSegmentVersionRequest {}
19
- export interface GetSegmentVersionCommandOutput
20
- extends GetSegmentVersionResponse,
21
- __MetadataBearer {}
22
- export declare class GetSegmentVersionCommand extends $Command<
23
- GetSegmentVersionCommandInput,
24
- GetSegmentVersionCommandOutput,
25
- PinpointClientResolvedConfig
26
- > {
27
- readonly input: GetSegmentVersionCommandInput;
28
- constructor(input: GetSegmentVersionCommandInput);
29
- resolveMiddleware(
30
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
31
- configuration: PinpointClientResolvedConfig,
32
- options?: __HttpHandlerOptions
33
- ): Handler<GetSegmentVersionCommandInput, GetSegmentVersionCommandOutput>;
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 { GetSegmentVersionRequest, GetSegmentVersionResponse } from "../models/models_1";
4
+ import { PinpointClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointClient";
5
+ export interface GetSegmentVersionCommandInput extends GetSegmentVersionRequest {
6
+ }
7
+ export interface GetSegmentVersionCommandOutput extends GetSegmentVersionResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Retrieves information about the configuration, dimension, and other settings for a specific version of a segment that's associated with 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, GetSegmentVersionCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
15
+ * // const { PinpointClient, GetSegmentVersionCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
16
+ * const client = new PinpointClient(config);
17
+ * const command = new GetSegmentVersionCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link GetSegmentVersionCommandInput} for command's `input` shape.
22
+ * @see {@link GetSegmentVersionCommandOutput} for command's `response` shape.
23
+ * @see {@link PinpointClientResolvedConfig | config} for PinpointClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class GetSegmentVersionCommand extends $Command<GetSegmentVersionCommandInput, GetSegmentVersionCommandOutput, PinpointClientResolvedConfig> {
27
+ readonly input: GetSegmentVersionCommandInput;
28
+ constructor(input: GetSegmentVersionCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetSegmentVersionCommandInput, GetSegmentVersionCommandOutput>;
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
- GetSegmentVersionsRequest,
10
- GetSegmentVersionsResponse,
11
- } from "../models/models_1";
12
- import {
13
- PinpointClientResolvedConfig,
14
- ServiceInputTypes,
15
- ServiceOutputTypes,
16
- } from "../PinpointClient";
17
- export interface GetSegmentVersionsCommandInput
18
- extends GetSegmentVersionsRequest {}
19
- export interface GetSegmentVersionsCommandOutput
20
- extends GetSegmentVersionsResponse,
21
- __MetadataBearer {}
22
- export declare class GetSegmentVersionsCommand extends $Command<
23
- GetSegmentVersionsCommandInput,
24
- GetSegmentVersionsCommandOutput,
25
- PinpointClientResolvedConfig
26
- > {
27
- readonly input: GetSegmentVersionsCommandInput;
28
- constructor(input: GetSegmentVersionsCommandInput);
29
- resolveMiddleware(
30
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
31
- configuration: PinpointClientResolvedConfig,
32
- options?: __HttpHandlerOptions
33
- ): Handler<GetSegmentVersionsCommandInput, GetSegmentVersionsCommandOutput>;
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 { GetSegmentVersionsRequest, GetSegmentVersionsResponse } from "../models/models_1";
4
+ import { PinpointClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointClient";
5
+ export interface GetSegmentVersionsCommandInput extends GetSegmentVersionsRequest {
6
+ }
7
+ export interface GetSegmentVersionsCommandOutput extends GetSegmentVersionsResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Retrieves information about the configuration, dimension, and other settings for all the versions of a specific segment that's associated with 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, GetSegmentVersionsCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
15
+ * // const { PinpointClient, GetSegmentVersionsCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
16
+ * const client = new PinpointClient(config);
17
+ * const command = new GetSegmentVersionsCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link GetSegmentVersionsCommandInput} for command's `input` shape.
22
+ * @see {@link GetSegmentVersionsCommandOutput} for command's `response` shape.
23
+ * @see {@link PinpointClientResolvedConfig | config} for PinpointClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class GetSegmentVersionsCommand extends $Command<GetSegmentVersionsCommandInput, GetSegmentVersionsCommandOutput, PinpointClientResolvedConfig> {
27
+ readonly input: GetSegmentVersionsCommandInput;
28
+ constructor(input: GetSegmentVersionsCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetSegmentVersionsCommandInput, GetSegmentVersionsCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -1,32 +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 { GetSegmentsRequest, GetSegmentsResponse } from "../models/models_1";
9
- import {
10
- PinpointClientResolvedConfig,
11
- ServiceInputTypes,
12
- ServiceOutputTypes,
13
- } from "../PinpointClient";
14
- export interface GetSegmentsCommandInput extends GetSegmentsRequest {}
15
- export interface GetSegmentsCommandOutput
16
- extends GetSegmentsResponse,
17
- __MetadataBearer {}
18
- export declare class GetSegmentsCommand extends $Command<
19
- GetSegmentsCommandInput,
20
- GetSegmentsCommandOutput,
21
- PinpointClientResolvedConfig
22
- > {
23
- readonly input: GetSegmentsCommandInput;
24
- constructor(input: GetSegmentsCommandInput);
25
- resolveMiddleware(
26
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
27
- configuration: PinpointClientResolvedConfig,
28
- options?: __HttpHandlerOptions
29
- ): Handler<GetSegmentsCommandInput, GetSegmentsCommandOutput>;
30
- private serialize;
31
- private deserialize;
32
- }
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 { GetSegmentsRequest, GetSegmentsResponse } from "../models/models_1";
4
+ import { PinpointClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointClient";
5
+ export interface GetSegmentsCommandInput extends GetSegmentsRequest {
6
+ }
7
+ export interface GetSegmentsCommandOutput extends GetSegmentsResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Retrieves information about the configuration, dimension, and other settings for all the segments that are associated with 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, GetSegmentsCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
15
+ * // const { PinpointClient, GetSegmentsCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
16
+ * const client = new PinpointClient(config);
17
+ * const command = new GetSegmentsCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link GetSegmentsCommandInput} for command's `input` shape.
22
+ * @see {@link GetSegmentsCommandOutput} for command's `response` shape.
23
+ * @see {@link PinpointClientResolvedConfig | config} for PinpointClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class GetSegmentsCommand extends $Command<GetSegmentsCommandInput, GetSegmentsCommandOutput, PinpointClientResolvedConfig> {
27
+ readonly input: GetSegmentsCommandInput;
28
+ constructor(input: GetSegmentsCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetSegmentsCommandInput, GetSegmentsCommandOutput>;
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
- GetSmsChannelRequest,
10
- GetSmsChannelResponse,
11
- } from "../models/models_1";
12
- import {
13
- PinpointClientResolvedConfig,
14
- ServiceInputTypes,
15
- ServiceOutputTypes,
16
- } from "../PinpointClient";
17
- export interface GetSmsChannelCommandInput extends GetSmsChannelRequest {}
18
- export interface GetSmsChannelCommandOutput
19
- extends GetSmsChannelResponse,
20
- __MetadataBearer {}
21
- export declare class GetSmsChannelCommand extends $Command<
22
- GetSmsChannelCommandInput,
23
- GetSmsChannelCommandOutput,
24
- PinpointClientResolvedConfig
25
- > {
26
- readonly input: GetSmsChannelCommandInput;
27
- constructor(input: GetSmsChannelCommandInput);
28
- resolveMiddleware(
29
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
30
- configuration: PinpointClientResolvedConfig,
31
- options?: __HttpHandlerOptions
32
- ): Handler<GetSmsChannelCommandInput, GetSmsChannelCommandOutput>;
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 { GetSmsChannelRequest, GetSmsChannelResponse } from "../models/models_1";
4
+ import { PinpointClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointClient";
5
+ export interface GetSmsChannelCommandInput extends GetSmsChannelRequest {
6
+ }
7
+ export interface GetSmsChannelCommandOutput extends GetSmsChannelResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Retrieves information about the status and settings of the SMS 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, GetSmsChannelCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
15
+ * // const { PinpointClient, GetSmsChannelCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
16
+ * const client = new PinpointClient(config);
17
+ * const command = new GetSmsChannelCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link GetSmsChannelCommandInput} for command's `input` shape.
22
+ * @see {@link GetSmsChannelCommandOutput} for command's `response` shape.
23
+ * @see {@link PinpointClientResolvedConfig | config} for PinpointClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class GetSmsChannelCommand extends $Command<GetSmsChannelCommandInput, GetSmsChannelCommandOutput, PinpointClientResolvedConfig> {
27
+ readonly input: GetSmsChannelCommandInput;
28
+ constructor(input: GetSmsChannelCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetSmsChannelCommandInput, GetSmsChannelCommandOutput>;
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
- GetSmsTemplateRequest,
10
- GetSmsTemplateResponse,
11
- } from "../models/models_1";
12
- import {
13
- PinpointClientResolvedConfig,
14
- ServiceInputTypes,
15
- ServiceOutputTypes,
16
- } from "../PinpointClient";
17
- export interface GetSmsTemplateCommandInput extends GetSmsTemplateRequest {}
18
- export interface GetSmsTemplateCommandOutput
19
- extends GetSmsTemplateResponse,
20
- __MetadataBearer {}
21
- export declare class GetSmsTemplateCommand extends $Command<
22
- GetSmsTemplateCommandInput,
23
- GetSmsTemplateCommandOutput,
24
- PinpointClientResolvedConfig
25
- > {
26
- readonly input: GetSmsTemplateCommandInput;
27
- constructor(input: GetSmsTemplateCommandInput);
28
- resolveMiddleware(
29
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
30
- configuration: PinpointClientResolvedConfig,
31
- options?: __HttpHandlerOptions
32
- ): Handler<GetSmsTemplateCommandInput, GetSmsTemplateCommandOutput>;
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 { GetSmsTemplateRequest, GetSmsTemplateResponse } from "../models/models_1";
4
+ import { PinpointClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointClient";
5
+ export interface GetSmsTemplateCommandInput extends GetSmsTemplateRequest {
6
+ }
7
+ export interface GetSmsTemplateCommandOutput extends GetSmsTemplateResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Retrieves the content and settings of a message template for messages that are sent through the SMS 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, GetSmsTemplateCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
15
+ * // const { PinpointClient, GetSmsTemplateCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
16
+ * const client = new PinpointClient(config);
17
+ * const command = new GetSmsTemplateCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link GetSmsTemplateCommandInput} for command's `input` shape.
22
+ * @see {@link GetSmsTemplateCommandOutput} for command's `response` shape.
23
+ * @see {@link PinpointClientResolvedConfig | config} for PinpointClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class GetSmsTemplateCommand extends $Command<GetSmsTemplateCommandInput, GetSmsTemplateCommandOutput, PinpointClientResolvedConfig> {
27
+ readonly input: GetSmsTemplateCommandInput;
28
+ constructor(input: GetSmsTemplateCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetSmsTemplateCommandInput, GetSmsTemplateCommandOutput>;
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
- GetUserEndpointsRequest,
10
- GetUserEndpointsResponse,
11
- } from "../models/models_1";
12
- import {
13
- PinpointClientResolvedConfig,
14
- ServiceInputTypes,
15
- ServiceOutputTypes,
16
- } from "../PinpointClient";
17
- export interface GetUserEndpointsCommandInput extends GetUserEndpointsRequest {}
18
- export interface GetUserEndpointsCommandOutput
19
- extends GetUserEndpointsResponse,
20
- __MetadataBearer {}
21
- export declare class GetUserEndpointsCommand extends $Command<
22
- GetUserEndpointsCommandInput,
23
- GetUserEndpointsCommandOutput,
24
- PinpointClientResolvedConfig
25
- > {
26
- readonly input: GetUserEndpointsCommandInput;
27
- constructor(input: GetUserEndpointsCommandInput);
28
- resolveMiddleware(
29
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
30
- configuration: PinpointClientResolvedConfig,
31
- options?: __HttpHandlerOptions
32
- ): Handler<GetUserEndpointsCommandInput, GetUserEndpointsCommandOutput>;
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 { GetUserEndpointsRequest, GetUserEndpointsResponse } from "../models/models_1";
4
+ import { PinpointClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointClient";
5
+ export interface GetUserEndpointsCommandInput extends GetUserEndpointsRequest {
6
+ }
7
+ export interface GetUserEndpointsCommandOutput extends GetUserEndpointsResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Retrieves information about all the endpoints that are associated with a specific user ID.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { PinpointClient, GetUserEndpointsCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
15
+ * // const { PinpointClient, GetUserEndpointsCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
16
+ * const client = new PinpointClient(config);
17
+ * const command = new GetUserEndpointsCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link GetUserEndpointsCommandInput} for command's `input` shape.
22
+ * @see {@link GetUserEndpointsCommandOutput} for command's `response` shape.
23
+ * @see {@link PinpointClientResolvedConfig | config} for PinpointClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class GetUserEndpointsCommand extends $Command<GetUserEndpointsCommandInput, GetUserEndpointsCommandOutput, PinpointClientResolvedConfig> {
27
+ readonly input: GetUserEndpointsCommandInput;
28
+ constructor(input: GetUserEndpointsCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetUserEndpointsCommandInput, GetUserEndpointsCommandOutput>;
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
- GetVoiceChannelRequest,
10
- GetVoiceChannelResponse,
11
- } from "../models/models_1";
12
- import {
13
- PinpointClientResolvedConfig,
14
- ServiceInputTypes,
15
- ServiceOutputTypes,
16
- } from "../PinpointClient";
17
- export interface GetVoiceChannelCommandInput extends GetVoiceChannelRequest {}
18
- export interface GetVoiceChannelCommandOutput
19
- extends GetVoiceChannelResponse,
20
- __MetadataBearer {}
21
- export declare class GetVoiceChannelCommand extends $Command<
22
- GetVoiceChannelCommandInput,
23
- GetVoiceChannelCommandOutput,
24
- PinpointClientResolvedConfig
25
- > {
26
- readonly input: GetVoiceChannelCommandInput;
27
- constructor(input: GetVoiceChannelCommandInput);
28
- resolveMiddleware(
29
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
30
- configuration: PinpointClientResolvedConfig,
31
- options?: __HttpHandlerOptions
32
- ): Handler<GetVoiceChannelCommandInput, GetVoiceChannelCommandOutput>;
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 { GetVoiceChannelRequest, GetVoiceChannelResponse } from "../models/models_1";
4
+ import { PinpointClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointClient";
5
+ export interface GetVoiceChannelCommandInput extends GetVoiceChannelRequest {
6
+ }
7
+ export interface GetVoiceChannelCommandOutput extends GetVoiceChannelResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Retrieves information about the status and settings of the voice 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, GetVoiceChannelCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
15
+ * // const { PinpointClient, GetVoiceChannelCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
16
+ * const client = new PinpointClient(config);
17
+ * const command = new GetVoiceChannelCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link GetVoiceChannelCommandInput} for command's `input` shape.
22
+ * @see {@link GetVoiceChannelCommandOutput} for command's `response` shape.
23
+ * @see {@link PinpointClientResolvedConfig | config} for PinpointClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class GetVoiceChannelCommand extends $Command<GetVoiceChannelCommandInput, GetVoiceChannelCommandOutput, PinpointClientResolvedConfig> {
27
+ readonly input: GetVoiceChannelCommandInput;
28
+ constructor(input: GetVoiceChannelCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetVoiceChannelCommandInput, GetVoiceChannelCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }