@aws-sdk/client-pinpoint 3.335.0 → 3.335.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 (140) hide show
  1. package/CHANGELOG.md +4785 -0
  2. package/dist-types/ts3.4/Pinpoint.d.ts +864 -2091
  3. package/dist-types/ts3.4/PinpointClient.d.ts +284 -846
  4. package/dist-types/ts3.4/commands/CreateAppCommand.d.ts +103 -34
  5. package/dist-types/ts3.4/commands/CreateCampaignCommand.d.ts +833 -37
  6. package/dist-types/ts3.4/commands/CreateEmailTemplateCommand.d.ts +99 -38
  7. package/dist-types/ts3.4/commands/CreateExportJobCommand.d.ts +117 -37
  8. package/dist-types/ts3.4/commands/CreateImportJobCommand.d.ts +125 -37
  9. package/dist-types/ts3.4/commands/CreateInAppTemplateCommand.d.ts +155 -38
  10. package/dist-types/ts3.4/commands/CreateJourneyCommand.d.ts +840 -37
  11. package/dist-types/ts3.4/commands/CreatePushTemplateCommand.d.ts +145 -38
  12. package/dist-types/ts3.4/commands/CreateRecommenderConfigurationCommand.d.ts +117 -41
  13. package/dist-types/ts3.4/commands/CreateSegmentCommand.d.ts +378 -37
  14. package/dist-types/ts3.4/commands/CreateSmsTemplateCommand.d.ts +97 -38
  15. package/dist-types/ts3.4/commands/CreateVoiceTemplateCommand.d.ts +98 -38
  16. package/dist-types/ts3.4/commands/DeleteAdmChannelCommand.d.ts +101 -37
  17. package/dist-types/ts3.4/commands/DeleteApnsChannelCommand.d.ts +103 -38
  18. package/dist-types/ts3.4/commands/DeleteApnsSandboxChannelCommand.d.ts +103 -41
  19. package/dist-types/ts3.4/commands/DeleteApnsVoipChannelCommand.d.ts +103 -41
  20. package/dist-types/ts3.4/commands/DeleteApnsVoipSandboxChannelCommand.d.ts +103 -41
  21. package/dist-types/ts3.4/commands/DeleteAppCommand.d.ts +98 -34
  22. package/dist-types/ts3.4/commands/DeleteBaiduChannelCommand.d.ts +102 -38
  23. package/dist-types/ts3.4/commands/DeleteCampaignCommand.d.ts +470 -37
  24. package/dist-types/ts3.4/commands/DeleteEmailChannelCommand.d.ts +106 -38
  25. package/dist-types/ts3.4/commands/DeleteEmailTemplateCommand.d.ts +94 -38
  26. package/dist-types/ts3.4/commands/DeleteEndpointCommand.d.ts +136 -37
  27. package/dist-types/ts3.4/commands/DeleteEventStreamCommand.d.ts +97 -38
  28. package/dist-types/ts3.4/commands/DeleteGcmChannelCommand.d.ts +102 -37
  29. package/dist-types/ts3.4/commands/DeleteInAppTemplateCommand.d.ts +94 -38
  30. package/dist-types/ts3.4/commands/DeleteJourneyCommand.d.ts +468 -37
  31. package/dist-types/ts3.4/commands/DeletePushTemplateCommand.d.ts +94 -38
  32. package/dist-types/ts3.4/commands/DeleteRecommenderConfigurationCommand.d.ts +105 -41
  33. package/dist-types/ts3.4/commands/DeleteSegmentCommand.d.ts +243 -37
  34. package/dist-types/ts3.4/commands/DeleteSmsChannelCommand.d.ts +105 -37
  35. package/dist-types/ts3.4/commands/DeleteSmsTemplateCommand.d.ts +94 -38
  36. package/dist-types/ts3.4/commands/DeleteUserEndpointsCommand.d.ts +140 -38
  37. package/dist-types/ts3.4/commands/DeleteVoiceChannelCommand.d.ts +101 -38
  38. package/dist-types/ts3.4/commands/DeleteVoiceTemplateCommand.d.ts +94 -38
  39. package/dist-types/ts3.4/commands/GetAdmChannelCommand.d.ts +101 -37
  40. package/dist-types/ts3.4/commands/GetApnsChannelCommand.d.ts +103 -37
  41. package/dist-types/ts3.4/commands/GetApnsSandboxChannelCommand.d.ts +103 -41
  42. package/dist-types/ts3.4/commands/GetApnsVoipChannelCommand.d.ts +103 -38
  43. package/dist-types/ts3.4/commands/GetApnsVoipSandboxChannelCommand.d.ts +103 -41
  44. package/dist-types/ts3.4/commands/GetAppCommand.d.ts +98 -32
  45. package/dist-types/ts3.4/commands/GetApplicationDateRangeKpiCommand.d.ts +121 -41
  46. package/dist-types/ts3.4/commands/GetApplicationSettingsCommand.d.ts +109 -41
  47. package/dist-types/ts3.4/commands/GetAppsCommand.d.ts +104 -34
  48. package/dist-types/ts3.4/commands/GetBaiduChannelCommand.d.ts +102 -37
  49. package/dist-types/ts3.4/commands/GetCampaignActivitiesCommand.d.ts +115 -41
  50. package/dist-types/ts3.4/commands/GetCampaignCommand.d.ts +470 -34
  51. package/dist-types/ts3.4/commands/GetCampaignDateRangeKpiCommand.d.ts +123 -41
  52. package/dist-types/ts3.4/commands/GetCampaignVersionCommand.d.ts +471 -38
  53. package/dist-types/ts3.4/commands/GetCampaignVersionsCommand.d.ts +477 -38
  54. package/dist-types/ts3.4/commands/GetCampaignsCommand.d.ts +476 -34
  55. package/dist-types/ts3.4/commands/GetChannelsCommand.d.ts +104 -34
  56. package/dist-types/ts3.4/commands/GetEmailChannelCommand.d.ts +106 -37
  57. package/dist-types/ts3.4/commands/GetEmailTemplateCommand.d.ts +107 -37
  58. package/dist-types/ts3.4/commands/GetEndpointCommand.d.ts +136 -34
  59. package/dist-types/ts3.4/commands/GetEventStreamCommand.d.ts +97 -37
  60. package/dist-types/ts3.4/commands/GetExportJobCommand.d.ts +112 -34
  61. package/dist-types/ts3.4/commands/GetExportJobsCommand.d.ts +118 -37
  62. package/dist-types/ts3.4/commands/GetGcmChannelCommand.d.ts +102 -37
  63. package/dist-types/ts3.4/commands/GetImportJobCommand.d.ts +116 -34
  64. package/dist-types/ts3.4/commands/GetImportJobsCommand.d.ts +122 -37
  65. package/dist-types/ts3.4/commands/GetInAppMessagesCommand.d.ts +197 -37
  66. package/dist-types/ts3.4/commands/GetInAppTemplateCommand.d.ts +163 -37
  67. package/dist-types/ts3.4/commands/GetJourneyCommand.d.ts +468 -34
  68. package/dist-types/ts3.4/commands/GetJourneyDateRangeKpiCommand.d.ts +123 -41
  69. package/dist-types/ts3.4/commands/GetJourneyExecutionActivityMetricsCommand.d.ts +103 -41
  70. package/dist-types/ts3.4/commands/GetJourneyExecutionMetricsCommand.d.ts +100 -41
  71. package/dist-types/ts3.4/commands/GetJourneyRunExecutionActivityMetricsCommand.d.ts +134 -41
  72. package/dist-types/ts3.4/commands/GetJourneyRunExecutionMetricsCommand.d.ts +130 -41
  73. package/dist-types/ts3.4/commands/GetJourneyRunsCommand.d.ts +135 -37
  74. package/dist-types/ts3.4/commands/GetPushTemplateCommand.d.ts +153 -37
  75. package/dist-types/ts3.4/commands/GetRecommenderConfigurationCommand.d.ts +105 -41
  76. package/dist-types/ts3.4/commands/GetRecommenderConfigurationsCommand.d.ts +111 -41
  77. package/dist-types/ts3.4/commands/GetSegmentCommand.d.ts +243 -34
  78. package/dist-types/ts3.4/commands/GetSegmentExportJobsCommand.d.ts +119 -41
  79. package/dist-types/ts3.4/commands/GetSegmentImportJobsCommand.d.ts +123 -41
  80. package/dist-types/ts3.4/commands/GetSegmentVersionCommand.d.ts +244 -38
  81. package/dist-types/ts3.4/commands/GetSegmentVersionsCommand.d.ts +250 -38
  82. package/dist-types/ts3.4/commands/GetSegmentsCommand.d.ts +249 -34
  83. package/dist-types/ts3.4/commands/GetSmsChannelCommand.d.ts +105 -37
  84. package/dist-types/ts3.4/commands/GetSmsTemplateCommand.d.ts +105 -37
  85. package/dist-types/ts3.4/commands/GetUserEndpointsCommand.d.ts +140 -37
  86. package/dist-types/ts3.4/commands/GetVoiceChannelCommand.d.ts +101 -37
  87. package/dist-types/ts3.4/commands/GetVoiceTemplateCommand.d.ts +106 -37
  88. package/dist-types/ts3.4/commands/ListJourneysCommand.d.ts +474 -34
  89. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +73 -38
  90. package/dist-types/ts3.4/commands/ListTemplateVersionsCommand.d.ts +108 -41
  91. package/dist-types/ts3.4/commands/ListTemplatesCommand.d.ts +104 -37
  92. package/dist-types/ts3.4/commands/PhoneNumberValidateCommand.d.ts +108 -38
  93. package/dist-types/ts3.4/commands/PutEventStreamCommand.d.ts +101 -37
  94. package/dist-types/ts3.4/commands/PutEventsCommand.d.ts +176 -34
  95. package/dist-types/ts3.4/commands/RemoveAttributesCommand.d.ts +102 -37
  96. package/dist-types/ts3.4/commands/SendMessagesCommand.d.ts +313 -34
  97. package/dist-types/ts3.4/commands/SendOTPMessageCommand.d.ts +125 -37
  98. package/dist-types/ts3.4/commands/SendUsersMessagesCommand.d.ts +296 -38
  99. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +72 -32
  100. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +70 -32
  101. package/dist-types/ts3.4/commands/UpdateAdmChannelCommand.d.ts +106 -37
  102. package/dist-types/ts3.4/commands/UpdateApnsChannelCommand.d.ts +113 -38
  103. package/dist-types/ts3.4/commands/UpdateApnsSandboxChannelCommand.d.ts +113 -41
  104. package/dist-types/ts3.4/commands/UpdateApnsVoipChannelCommand.d.ts +113 -41
  105. package/dist-types/ts3.4/commands/UpdateApnsVoipSandboxChannelCommand.d.ts +113 -41
  106. package/dist-types/ts3.4/commands/UpdateApplicationSettingsCommand.d.ts +129 -41
  107. package/dist-types/ts3.4/commands/UpdateBaiduChannelCommand.d.ts +107 -38
  108. package/dist-types/ts3.4/commands/UpdateCampaignCommand.d.ts +834 -37
  109. package/dist-types/ts3.4/commands/UpdateEmailChannelCommand.d.ts +113 -38
  110. package/dist-types/ts3.4/commands/UpdateEmailTemplateCommand.d.ts +106 -38
  111. package/dist-types/ts3.4/commands/UpdateEndpointCommand.d.ts +136 -37
  112. package/dist-types/ts3.4/commands/UpdateEndpointsBatchCommand.d.ts +140 -41
  113. package/dist-types/ts3.4/commands/UpdateGcmChannelCommand.d.ts +106 -37
  114. package/dist-types/ts3.4/commands/UpdateInAppTemplateCommand.d.ts +162 -38
  115. package/dist-types/ts3.4/commands/UpdateJourneyCommand.d.ts +844 -37
  116. package/dist-types/ts3.4/commands/UpdateJourneyStateCommand.d.ts +471 -38
  117. package/dist-types/ts3.4/commands/UpdatePushTemplateCommand.d.ts +152 -38
  118. package/dist-types/ts3.4/commands/UpdateRecommenderConfigurationCommand.d.ts +118 -41
  119. package/dist-types/ts3.4/commands/UpdateSegmentCommand.d.ts +379 -37
  120. package/dist-types/ts3.4/commands/UpdateSmsChannelCommand.d.ts +110 -37
  121. package/dist-types/ts3.4/commands/UpdateSmsTemplateCommand.d.ts +104 -38
  122. package/dist-types/ts3.4/commands/UpdateTemplateActiveVersionCommand.d.ts +97 -41
  123. package/dist-types/ts3.4/commands/UpdateVoiceChannelCommand.d.ts +104 -38
  124. package/dist-types/ts3.4/commands/UpdateVoiceTemplateCommand.d.ts +105 -38
  125. package/dist-types/ts3.4/commands/VerifyOTPMessageCommand.d.ts +97 -37
  126. package/dist-types/ts3.4/commands/index.d.ts +122 -122
  127. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +20 -32
  128. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +5 -8
  129. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -2
  130. package/dist-types/ts3.4/index.d.ts +5 -5
  131. package/dist-types/ts3.4/models/PinpointServiceException.d.ts +12 -7
  132. package/dist-types/ts3.4/models/index.d.ts +2 -2
  133. package/dist-types/ts3.4/models/models_0.d.ts +6383 -1896
  134. package/dist-types/ts3.4/models/models_1.d.ts +2807 -915
  135. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +1100 -1469
  136. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +42 -94
  137. package/dist-types/ts3.4/runtimeConfig.d.ts +42 -91
  138. package/dist-types/ts3.4/runtimeConfig.native.d.ts +41 -85
  139. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +18 -18
  140. package/package.json +2 -2
@@ -1,38 +1,103 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@aws-sdk/types";
9
- import {
10
- GetApnsVoipChannelRequest,
11
- GetApnsVoipChannelResponse,
12
- } from "../models/models_0";
13
- import {
14
- PinpointClientResolvedConfig,
15
- ServiceInputTypes,
16
- ServiceOutputTypes,
17
- } from "../PinpointClient";
18
- export interface GetApnsVoipChannelCommandInput
19
- extends GetApnsVoipChannelRequest {}
20
- export interface GetApnsVoipChannelCommandOutput
21
- extends GetApnsVoipChannelResponse,
22
- __MetadataBearer {}
23
- export declare class GetApnsVoipChannelCommand extends $Command<
24
- GetApnsVoipChannelCommandInput,
25
- GetApnsVoipChannelCommandOutput,
26
- PinpointClientResolvedConfig
27
- > {
28
- readonly input: GetApnsVoipChannelCommandInput;
29
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
- constructor(input: GetApnsVoipChannelCommandInput);
31
- resolveMiddleware(
32
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
- configuration: PinpointClientResolvedConfig,
34
- options?: __HttpHandlerOptions
35
- ): Handler<GetApnsVoipChannelCommandInput, GetApnsVoipChannelCommandOutput>;
36
- private serialize;
37
- private deserialize;
38
- }
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { GetApnsVoipChannelRequest, GetApnsVoipChannelResponse } from "../models/models_0";
5
+ import { PinpointClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointClient";
6
+ /**
7
+ * @public
8
+ *
9
+ * The input for {@link GetApnsVoipChannelCommand}.
10
+ */
11
+ export interface GetApnsVoipChannelCommandInput extends GetApnsVoipChannelRequest {
12
+ }
13
+ /**
14
+ * @public
15
+ *
16
+ * The output of {@link GetApnsVoipChannelCommand}.
17
+ */
18
+ export interface GetApnsVoipChannelCommandOutput extends GetApnsVoipChannelResponse, __MetadataBearer {
19
+ }
20
+ /**
21
+ * @public
22
+ * <p>Retrieves information about the status and settings of the APNs VoIP channel for an application.</p>
23
+ * @example
24
+ * Use a bare-bones client and the command you need to make an API call.
25
+ * ```javascript
26
+ * import { PinpointClient, GetApnsVoipChannelCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
27
+ * // const { PinpointClient, GetApnsVoipChannelCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
28
+ * const client = new PinpointClient(config);
29
+ * const input = { // GetApnsVoipChannelRequest
30
+ * ApplicationId: "STRING_VALUE", // required
31
+ * };
32
+ * const command = new GetApnsVoipChannelCommand(input);
33
+ * const response = await client.send(command);
34
+ * // { // GetApnsVoipChannelResponse
35
+ * // APNSVoipChannelResponse: { // APNSVoipChannelResponse
36
+ * // ApplicationId: "STRING_VALUE",
37
+ * // CreationDate: "STRING_VALUE",
38
+ * // DefaultAuthenticationMethod: "STRING_VALUE",
39
+ * // Enabled: true || false,
40
+ * // HasCredential: true || false,
41
+ * // HasTokenKey: true || false,
42
+ * // Id: "STRING_VALUE",
43
+ * // IsArchived: true || false,
44
+ * // LastModifiedBy: "STRING_VALUE",
45
+ * // LastModifiedDate: "STRING_VALUE",
46
+ * // Platform: "STRING_VALUE", // required
47
+ * // Version: Number("int"),
48
+ * // },
49
+ * // };
50
+ *
51
+ * ```
52
+ *
53
+ * @param GetApnsVoipChannelCommandInput - {@link GetApnsVoipChannelCommandInput}
54
+ * @returns {@link GetApnsVoipChannelCommandOutput}
55
+ * @see {@link GetApnsVoipChannelCommandInput} for command's `input` shape.
56
+ * @see {@link GetApnsVoipChannelCommandOutput} for command's `response` shape.
57
+ * @see {@link PinpointClientResolvedConfig | config} for PinpointClient's `config` shape.
58
+ *
59
+ * @throws {@link BadRequestException} (client fault)
60
+ * <p>Provides information about an API request or response.</p>
61
+ *
62
+ * @throws {@link ForbiddenException} (client fault)
63
+ * <p>Provides information about an API request or response.</p>
64
+ *
65
+ * @throws {@link InternalServerErrorException} (server fault)
66
+ * <p>Provides information about an API request or response.</p>
67
+ *
68
+ * @throws {@link MethodNotAllowedException} (client fault)
69
+ * <p>Provides information about an API request or response.</p>
70
+ *
71
+ * @throws {@link NotFoundException} (client fault)
72
+ * <p>Provides information about an API request or response.</p>
73
+ *
74
+ * @throws {@link PayloadTooLargeException} (client fault)
75
+ * <p>Provides information about an API request or response.</p>
76
+ *
77
+ * @throws {@link TooManyRequestsException} (client fault)
78
+ * <p>Provides information about an API request or response.</p>
79
+ *
80
+ * @throws {@link PinpointServiceException}
81
+ * <p>Base exception class for all service exceptions from Pinpoint service.</p>
82
+ *
83
+ */
84
+ export declare class GetApnsVoipChannelCommand extends $Command<GetApnsVoipChannelCommandInput, GetApnsVoipChannelCommandOutput, PinpointClientResolvedConfig> {
85
+ readonly input: GetApnsVoipChannelCommandInput;
86
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
87
+ /**
88
+ * @public
89
+ */
90
+ constructor(input: GetApnsVoipChannelCommandInput);
91
+ /**
92
+ * @internal
93
+ */
94
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetApnsVoipChannelCommandInput, GetApnsVoipChannelCommandOutput>;
95
+ /**
96
+ * @internal
97
+ */
98
+ private serialize;
99
+ /**
100
+ * @internal
101
+ */
102
+ private deserialize;
103
+ }
@@ -1,41 +1,103 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@aws-sdk/types";
9
- import {
10
- GetApnsVoipSandboxChannelRequest,
11
- GetApnsVoipSandboxChannelResponse,
12
- } from "../models/models_0";
13
- import {
14
- PinpointClientResolvedConfig,
15
- ServiceInputTypes,
16
- ServiceOutputTypes,
17
- } from "../PinpointClient";
18
- export interface GetApnsVoipSandboxChannelCommandInput
19
- extends GetApnsVoipSandboxChannelRequest {}
20
- export interface GetApnsVoipSandboxChannelCommandOutput
21
- extends GetApnsVoipSandboxChannelResponse,
22
- __MetadataBearer {}
23
- export declare class GetApnsVoipSandboxChannelCommand extends $Command<
24
- GetApnsVoipSandboxChannelCommandInput,
25
- GetApnsVoipSandboxChannelCommandOutput,
26
- PinpointClientResolvedConfig
27
- > {
28
- readonly input: GetApnsVoipSandboxChannelCommandInput;
29
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
- constructor(input: GetApnsVoipSandboxChannelCommandInput);
31
- resolveMiddleware(
32
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
- configuration: PinpointClientResolvedConfig,
34
- options?: __HttpHandlerOptions
35
- ): Handler<
36
- GetApnsVoipSandboxChannelCommandInput,
37
- GetApnsVoipSandboxChannelCommandOutput
38
- >;
39
- private serialize;
40
- private deserialize;
41
- }
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { GetApnsVoipSandboxChannelRequest, GetApnsVoipSandboxChannelResponse } from "../models/models_0";
5
+ import { PinpointClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointClient";
6
+ /**
7
+ * @public
8
+ *
9
+ * The input for {@link GetApnsVoipSandboxChannelCommand}.
10
+ */
11
+ export interface GetApnsVoipSandboxChannelCommandInput extends GetApnsVoipSandboxChannelRequest {
12
+ }
13
+ /**
14
+ * @public
15
+ *
16
+ * The output of {@link GetApnsVoipSandboxChannelCommand}.
17
+ */
18
+ export interface GetApnsVoipSandboxChannelCommandOutput extends GetApnsVoipSandboxChannelResponse, __MetadataBearer {
19
+ }
20
+ /**
21
+ * @public
22
+ * <p>Retrieves information about the status and settings of the APNs VoIP sandbox channel for an application.</p>
23
+ * @example
24
+ * Use a bare-bones client and the command you need to make an API call.
25
+ * ```javascript
26
+ * import { PinpointClient, GetApnsVoipSandboxChannelCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
27
+ * // const { PinpointClient, GetApnsVoipSandboxChannelCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
28
+ * const client = new PinpointClient(config);
29
+ * const input = { // GetApnsVoipSandboxChannelRequest
30
+ * ApplicationId: "STRING_VALUE", // required
31
+ * };
32
+ * const command = new GetApnsVoipSandboxChannelCommand(input);
33
+ * const response = await client.send(command);
34
+ * // { // GetApnsVoipSandboxChannelResponse
35
+ * // APNSVoipSandboxChannelResponse: { // APNSVoipSandboxChannelResponse
36
+ * // ApplicationId: "STRING_VALUE",
37
+ * // CreationDate: "STRING_VALUE",
38
+ * // DefaultAuthenticationMethod: "STRING_VALUE",
39
+ * // Enabled: true || false,
40
+ * // HasCredential: true || false,
41
+ * // HasTokenKey: true || false,
42
+ * // Id: "STRING_VALUE",
43
+ * // IsArchived: true || false,
44
+ * // LastModifiedBy: "STRING_VALUE",
45
+ * // LastModifiedDate: "STRING_VALUE",
46
+ * // Platform: "STRING_VALUE", // required
47
+ * // Version: Number("int"),
48
+ * // },
49
+ * // };
50
+ *
51
+ * ```
52
+ *
53
+ * @param GetApnsVoipSandboxChannelCommandInput - {@link GetApnsVoipSandboxChannelCommandInput}
54
+ * @returns {@link GetApnsVoipSandboxChannelCommandOutput}
55
+ * @see {@link GetApnsVoipSandboxChannelCommandInput} for command's `input` shape.
56
+ * @see {@link GetApnsVoipSandboxChannelCommandOutput} for command's `response` shape.
57
+ * @see {@link PinpointClientResolvedConfig | config} for PinpointClient's `config` shape.
58
+ *
59
+ * @throws {@link BadRequestException} (client fault)
60
+ * <p>Provides information about an API request or response.</p>
61
+ *
62
+ * @throws {@link ForbiddenException} (client fault)
63
+ * <p>Provides information about an API request or response.</p>
64
+ *
65
+ * @throws {@link InternalServerErrorException} (server fault)
66
+ * <p>Provides information about an API request or response.</p>
67
+ *
68
+ * @throws {@link MethodNotAllowedException} (client fault)
69
+ * <p>Provides information about an API request or response.</p>
70
+ *
71
+ * @throws {@link NotFoundException} (client fault)
72
+ * <p>Provides information about an API request or response.</p>
73
+ *
74
+ * @throws {@link PayloadTooLargeException} (client fault)
75
+ * <p>Provides information about an API request or response.</p>
76
+ *
77
+ * @throws {@link TooManyRequestsException} (client fault)
78
+ * <p>Provides information about an API request or response.</p>
79
+ *
80
+ * @throws {@link PinpointServiceException}
81
+ * <p>Base exception class for all service exceptions from Pinpoint service.</p>
82
+ *
83
+ */
84
+ export declare class GetApnsVoipSandboxChannelCommand extends $Command<GetApnsVoipSandboxChannelCommandInput, GetApnsVoipSandboxChannelCommandOutput, PinpointClientResolvedConfig> {
85
+ readonly input: GetApnsVoipSandboxChannelCommandInput;
86
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
87
+ /**
88
+ * @public
89
+ */
90
+ constructor(input: GetApnsVoipSandboxChannelCommandInput);
91
+ /**
92
+ * @internal
93
+ */
94
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetApnsVoipSandboxChannelCommandInput, GetApnsVoipSandboxChannelCommandOutput>;
95
+ /**
96
+ * @internal
97
+ */
98
+ private serialize;
99
+ /**
100
+ * @internal
101
+ */
102
+ private deserialize;
103
+ }
@@ -1,32 +1,98 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@aws-sdk/types";
9
- import { GetAppRequest, GetAppResponse } from "../models/models_0";
10
- import {
11
- PinpointClientResolvedConfig,
12
- ServiceInputTypes,
13
- ServiceOutputTypes,
14
- } from "../PinpointClient";
15
- export interface GetAppCommandInput extends GetAppRequest {}
16
- export interface GetAppCommandOutput extends GetAppResponse, __MetadataBearer {}
17
- export declare class GetAppCommand extends $Command<
18
- GetAppCommandInput,
19
- GetAppCommandOutput,
20
- PinpointClientResolvedConfig
21
- > {
22
- readonly input: GetAppCommandInput;
23
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
- constructor(input: GetAppCommandInput);
25
- resolveMiddleware(
26
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
27
- configuration: PinpointClientResolvedConfig,
28
- options?: __HttpHandlerOptions
29
- ): Handler<GetAppCommandInput, GetAppCommandOutput>;
30
- private serialize;
31
- private deserialize;
32
- }
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { GetAppRequest, GetAppResponse } from "../models/models_0";
5
+ import { PinpointClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointClient";
6
+ /**
7
+ * @public
8
+ *
9
+ * The input for {@link GetAppCommand}.
10
+ */
11
+ export interface GetAppCommandInput extends GetAppRequest {
12
+ }
13
+ /**
14
+ * @public
15
+ *
16
+ * The output of {@link GetAppCommand}.
17
+ */
18
+ export interface GetAppCommandOutput extends GetAppResponse, __MetadataBearer {
19
+ }
20
+ /**
21
+ * @public
22
+ * <p>Retrieves information about an application.</p>
23
+ * @example
24
+ * Use a bare-bones client and the command you need to make an API call.
25
+ * ```javascript
26
+ * import { PinpointClient, GetAppCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
27
+ * // const { PinpointClient, GetAppCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
28
+ * const client = new PinpointClient(config);
29
+ * const input = { // GetAppRequest
30
+ * ApplicationId: "STRING_VALUE", // required
31
+ * };
32
+ * const command = new GetAppCommand(input);
33
+ * const response = await client.send(command);
34
+ * // { // GetAppResponse
35
+ * // ApplicationResponse: { // ApplicationResponse
36
+ * // Arn: "STRING_VALUE", // required
37
+ * // Id: "STRING_VALUE", // required
38
+ * // Name: "STRING_VALUE", // required
39
+ * // tags: { // MapOf__string
40
+ * // "<keys>": "STRING_VALUE",
41
+ * // },
42
+ * // CreationDate: "STRING_VALUE",
43
+ * // },
44
+ * // };
45
+ *
46
+ * ```
47
+ *
48
+ * @param GetAppCommandInput - {@link GetAppCommandInput}
49
+ * @returns {@link GetAppCommandOutput}
50
+ * @see {@link GetAppCommandInput} for command's `input` shape.
51
+ * @see {@link GetAppCommandOutput} for command's `response` shape.
52
+ * @see {@link PinpointClientResolvedConfig | config} for PinpointClient's `config` shape.
53
+ *
54
+ * @throws {@link BadRequestException} (client fault)
55
+ * <p>Provides information about an API request or response.</p>
56
+ *
57
+ * @throws {@link ForbiddenException} (client fault)
58
+ * <p>Provides information about an API request or response.</p>
59
+ *
60
+ * @throws {@link InternalServerErrorException} (server fault)
61
+ * <p>Provides information about an API request or response.</p>
62
+ *
63
+ * @throws {@link MethodNotAllowedException} (client fault)
64
+ * <p>Provides information about an API request or response.</p>
65
+ *
66
+ * @throws {@link NotFoundException} (client fault)
67
+ * <p>Provides information about an API request or response.</p>
68
+ *
69
+ * @throws {@link PayloadTooLargeException} (client fault)
70
+ * <p>Provides information about an API request or response.</p>
71
+ *
72
+ * @throws {@link TooManyRequestsException} (client fault)
73
+ * <p>Provides information about an API request or response.</p>
74
+ *
75
+ * @throws {@link PinpointServiceException}
76
+ * <p>Base exception class for all service exceptions from Pinpoint service.</p>
77
+ *
78
+ */
79
+ export declare class GetAppCommand extends $Command<GetAppCommandInput, GetAppCommandOutput, PinpointClientResolvedConfig> {
80
+ readonly input: GetAppCommandInput;
81
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
82
+ /**
83
+ * @public
84
+ */
85
+ constructor(input: GetAppCommandInput);
86
+ /**
87
+ * @internal
88
+ */
89
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetAppCommandInput, GetAppCommandOutput>;
90
+ /**
91
+ * @internal
92
+ */
93
+ private serialize;
94
+ /**
95
+ * @internal
96
+ */
97
+ private deserialize;
98
+ }
@@ -1,41 +1,121 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@aws-sdk/types";
9
- import {
10
- GetApplicationDateRangeKpiRequest,
11
- GetApplicationDateRangeKpiResponse,
12
- } from "../models/models_0";
13
- import {
14
- PinpointClientResolvedConfig,
15
- ServiceInputTypes,
16
- ServiceOutputTypes,
17
- } from "../PinpointClient";
18
- export interface GetApplicationDateRangeKpiCommandInput
19
- extends GetApplicationDateRangeKpiRequest {}
20
- export interface GetApplicationDateRangeKpiCommandOutput
21
- extends GetApplicationDateRangeKpiResponse,
22
- __MetadataBearer {}
23
- export declare class GetApplicationDateRangeKpiCommand extends $Command<
24
- GetApplicationDateRangeKpiCommandInput,
25
- GetApplicationDateRangeKpiCommandOutput,
26
- PinpointClientResolvedConfig
27
- > {
28
- readonly input: GetApplicationDateRangeKpiCommandInput;
29
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
- constructor(input: GetApplicationDateRangeKpiCommandInput);
31
- resolveMiddleware(
32
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
- configuration: PinpointClientResolvedConfig,
34
- options?: __HttpHandlerOptions
35
- ): Handler<
36
- GetApplicationDateRangeKpiCommandInput,
37
- GetApplicationDateRangeKpiCommandOutput
38
- >;
39
- private serialize;
40
- private deserialize;
41
- }
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { GetApplicationDateRangeKpiRequest, GetApplicationDateRangeKpiResponse } from "../models/models_0";
5
+ import { PinpointClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointClient";
6
+ /**
7
+ * @public
8
+ *
9
+ * The input for {@link GetApplicationDateRangeKpiCommand}.
10
+ */
11
+ export interface GetApplicationDateRangeKpiCommandInput extends GetApplicationDateRangeKpiRequest {
12
+ }
13
+ /**
14
+ * @public
15
+ *
16
+ * The output of {@link GetApplicationDateRangeKpiCommand}.
17
+ */
18
+ export interface GetApplicationDateRangeKpiCommandOutput extends GetApplicationDateRangeKpiResponse, __MetadataBearer {
19
+ }
20
+ /**
21
+ * @public
22
+ * <p>Retrieves (queries) pre-aggregated data for a standard metric that applies to an application.</p>
23
+ * @example
24
+ * Use a bare-bones client and the command you need to make an API call.
25
+ * ```javascript
26
+ * import { PinpointClient, GetApplicationDateRangeKpiCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
27
+ * // const { PinpointClient, GetApplicationDateRangeKpiCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
28
+ * const client = new PinpointClient(config);
29
+ * const input = { // GetApplicationDateRangeKpiRequest
30
+ * ApplicationId: "STRING_VALUE", // required
31
+ * EndTime: new Date("TIMESTAMP"),
32
+ * KpiName: "STRING_VALUE", // required
33
+ * NextToken: "STRING_VALUE",
34
+ * PageSize: "STRING_VALUE",
35
+ * StartTime: new Date("TIMESTAMP"),
36
+ * };
37
+ * const command = new GetApplicationDateRangeKpiCommand(input);
38
+ * const response = await client.send(command);
39
+ * // { // GetApplicationDateRangeKpiResponse
40
+ * // ApplicationDateRangeKpiResponse: { // ApplicationDateRangeKpiResponse
41
+ * // ApplicationId: "STRING_VALUE", // required
42
+ * // EndTime: new Date("TIMESTAMP"), // required
43
+ * // KpiName: "STRING_VALUE", // required
44
+ * // KpiResult: { // BaseKpiResult
45
+ * // Rows: [ // ListOfResultRow // required
46
+ * // { // ResultRow
47
+ * // GroupedBys: [ // ListOfResultRowValue // required
48
+ * // { // ResultRowValue
49
+ * // Key: "STRING_VALUE", // required
50
+ * // Type: "STRING_VALUE", // required
51
+ * // Value: "STRING_VALUE", // required
52
+ * // },
53
+ * // ],
54
+ * // Values: [ // required
55
+ * // {
56
+ * // Key: "STRING_VALUE", // required
57
+ * // Type: "STRING_VALUE", // required
58
+ * // Value: "STRING_VALUE", // required
59
+ * // },
60
+ * // ],
61
+ * // },
62
+ * // ],
63
+ * // },
64
+ * // NextToken: "STRING_VALUE",
65
+ * // StartTime: new Date("TIMESTAMP"), // required
66
+ * // },
67
+ * // };
68
+ *
69
+ * ```
70
+ *
71
+ * @param GetApplicationDateRangeKpiCommandInput - {@link GetApplicationDateRangeKpiCommandInput}
72
+ * @returns {@link GetApplicationDateRangeKpiCommandOutput}
73
+ * @see {@link GetApplicationDateRangeKpiCommandInput} for command's `input` shape.
74
+ * @see {@link GetApplicationDateRangeKpiCommandOutput} for command's `response` shape.
75
+ * @see {@link PinpointClientResolvedConfig | config} for PinpointClient's `config` shape.
76
+ *
77
+ * @throws {@link BadRequestException} (client fault)
78
+ * <p>Provides information about an API request or response.</p>
79
+ *
80
+ * @throws {@link ForbiddenException} (client fault)
81
+ * <p>Provides information about an API request or response.</p>
82
+ *
83
+ * @throws {@link InternalServerErrorException} (server fault)
84
+ * <p>Provides information about an API request or response.</p>
85
+ *
86
+ * @throws {@link MethodNotAllowedException} (client fault)
87
+ * <p>Provides information about an API request or response.</p>
88
+ *
89
+ * @throws {@link NotFoundException} (client fault)
90
+ * <p>Provides information about an API request or response.</p>
91
+ *
92
+ * @throws {@link PayloadTooLargeException} (client fault)
93
+ * <p>Provides information about an API request or response.</p>
94
+ *
95
+ * @throws {@link TooManyRequestsException} (client fault)
96
+ * <p>Provides information about an API request or response.</p>
97
+ *
98
+ * @throws {@link PinpointServiceException}
99
+ * <p>Base exception class for all service exceptions from Pinpoint service.</p>
100
+ *
101
+ */
102
+ export declare class GetApplicationDateRangeKpiCommand extends $Command<GetApplicationDateRangeKpiCommandInput, GetApplicationDateRangeKpiCommandOutput, PinpointClientResolvedConfig> {
103
+ readonly input: GetApplicationDateRangeKpiCommandInput;
104
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
105
+ /**
106
+ * @public
107
+ */
108
+ constructor(input: GetApplicationDateRangeKpiCommandInput);
109
+ /**
110
+ * @internal
111
+ */
112
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetApplicationDateRangeKpiCommandInput, GetApplicationDateRangeKpiCommandOutput>;
113
+ /**
114
+ * @internal
115
+ */
116
+ private serialize;
117
+ /**
118
+ * @internal
119
+ */
120
+ private deserialize;
121
+ }