@aws-sdk/client-pinpoint 3.332.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 (149) hide show
  1. package/CHANGELOG.md +4785 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +1 -1
  3. package/dist-es/protocols/Aws_restJson1.js +1 -1
  4. package/dist-types/PinpointClient.d.ts +3 -2
  5. package/dist-types/endpoint/EndpointParameters.d.ts +2 -1
  6. package/dist-types/protocols/Aws_restJson1.d.ts +2 -2
  7. package/dist-types/runtimeConfig.browser.d.ts +12 -12
  8. package/dist-types/runtimeConfig.d.ts +9 -9
  9. package/dist-types/runtimeConfig.native.d.ts +13 -13
  10. package/dist-types/runtimeConfig.shared.d.ts +4 -4
  11. package/dist-types/ts3.4/Pinpoint.d.ts +864 -2091
  12. package/dist-types/ts3.4/PinpointClient.d.ts +284 -844
  13. package/dist-types/ts3.4/commands/CreateAppCommand.d.ts +103 -34
  14. package/dist-types/ts3.4/commands/CreateCampaignCommand.d.ts +833 -37
  15. package/dist-types/ts3.4/commands/CreateEmailTemplateCommand.d.ts +99 -38
  16. package/dist-types/ts3.4/commands/CreateExportJobCommand.d.ts +117 -37
  17. package/dist-types/ts3.4/commands/CreateImportJobCommand.d.ts +125 -37
  18. package/dist-types/ts3.4/commands/CreateInAppTemplateCommand.d.ts +155 -38
  19. package/dist-types/ts3.4/commands/CreateJourneyCommand.d.ts +840 -37
  20. package/dist-types/ts3.4/commands/CreatePushTemplateCommand.d.ts +145 -38
  21. package/dist-types/ts3.4/commands/CreateRecommenderConfigurationCommand.d.ts +117 -41
  22. package/dist-types/ts3.4/commands/CreateSegmentCommand.d.ts +378 -37
  23. package/dist-types/ts3.4/commands/CreateSmsTemplateCommand.d.ts +97 -38
  24. package/dist-types/ts3.4/commands/CreateVoiceTemplateCommand.d.ts +98 -38
  25. package/dist-types/ts3.4/commands/DeleteAdmChannelCommand.d.ts +101 -37
  26. package/dist-types/ts3.4/commands/DeleteApnsChannelCommand.d.ts +103 -38
  27. package/dist-types/ts3.4/commands/DeleteApnsSandboxChannelCommand.d.ts +103 -41
  28. package/dist-types/ts3.4/commands/DeleteApnsVoipChannelCommand.d.ts +103 -41
  29. package/dist-types/ts3.4/commands/DeleteApnsVoipSandboxChannelCommand.d.ts +103 -41
  30. package/dist-types/ts3.4/commands/DeleteAppCommand.d.ts +98 -34
  31. package/dist-types/ts3.4/commands/DeleteBaiduChannelCommand.d.ts +102 -38
  32. package/dist-types/ts3.4/commands/DeleteCampaignCommand.d.ts +470 -37
  33. package/dist-types/ts3.4/commands/DeleteEmailChannelCommand.d.ts +106 -38
  34. package/dist-types/ts3.4/commands/DeleteEmailTemplateCommand.d.ts +94 -38
  35. package/dist-types/ts3.4/commands/DeleteEndpointCommand.d.ts +136 -37
  36. package/dist-types/ts3.4/commands/DeleteEventStreamCommand.d.ts +97 -38
  37. package/dist-types/ts3.4/commands/DeleteGcmChannelCommand.d.ts +102 -37
  38. package/dist-types/ts3.4/commands/DeleteInAppTemplateCommand.d.ts +94 -38
  39. package/dist-types/ts3.4/commands/DeleteJourneyCommand.d.ts +468 -37
  40. package/dist-types/ts3.4/commands/DeletePushTemplateCommand.d.ts +94 -38
  41. package/dist-types/ts3.4/commands/DeleteRecommenderConfigurationCommand.d.ts +105 -41
  42. package/dist-types/ts3.4/commands/DeleteSegmentCommand.d.ts +243 -37
  43. package/dist-types/ts3.4/commands/DeleteSmsChannelCommand.d.ts +105 -37
  44. package/dist-types/ts3.4/commands/DeleteSmsTemplateCommand.d.ts +94 -38
  45. package/dist-types/ts3.4/commands/DeleteUserEndpointsCommand.d.ts +140 -38
  46. package/dist-types/ts3.4/commands/DeleteVoiceChannelCommand.d.ts +101 -38
  47. package/dist-types/ts3.4/commands/DeleteVoiceTemplateCommand.d.ts +94 -38
  48. package/dist-types/ts3.4/commands/GetAdmChannelCommand.d.ts +101 -37
  49. package/dist-types/ts3.4/commands/GetApnsChannelCommand.d.ts +103 -37
  50. package/dist-types/ts3.4/commands/GetApnsSandboxChannelCommand.d.ts +103 -41
  51. package/dist-types/ts3.4/commands/GetApnsVoipChannelCommand.d.ts +103 -38
  52. package/dist-types/ts3.4/commands/GetApnsVoipSandboxChannelCommand.d.ts +103 -41
  53. package/dist-types/ts3.4/commands/GetAppCommand.d.ts +98 -32
  54. package/dist-types/ts3.4/commands/GetApplicationDateRangeKpiCommand.d.ts +121 -41
  55. package/dist-types/ts3.4/commands/GetApplicationSettingsCommand.d.ts +109 -41
  56. package/dist-types/ts3.4/commands/GetAppsCommand.d.ts +104 -34
  57. package/dist-types/ts3.4/commands/GetBaiduChannelCommand.d.ts +102 -37
  58. package/dist-types/ts3.4/commands/GetCampaignActivitiesCommand.d.ts +115 -41
  59. package/dist-types/ts3.4/commands/GetCampaignCommand.d.ts +470 -34
  60. package/dist-types/ts3.4/commands/GetCampaignDateRangeKpiCommand.d.ts +123 -41
  61. package/dist-types/ts3.4/commands/GetCampaignVersionCommand.d.ts +471 -38
  62. package/dist-types/ts3.4/commands/GetCampaignVersionsCommand.d.ts +477 -38
  63. package/dist-types/ts3.4/commands/GetCampaignsCommand.d.ts +476 -34
  64. package/dist-types/ts3.4/commands/GetChannelsCommand.d.ts +104 -34
  65. package/dist-types/ts3.4/commands/GetEmailChannelCommand.d.ts +106 -37
  66. package/dist-types/ts3.4/commands/GetEmailTemplateCommand.d.ts +107 -37
  67. package/dist-types/ts3.4/commands/GetEndpointCommand.d.ts +136 -34
  68. package/dist-types/ts3.4/commands/GetEventStreamCommand.d.ts +97 -37
  69. package/dist-types/ts3.4/commands/GetExportJobCommand.d.ts +112 -34
  70. package/dist-types/ts3.4/commands/GetExportJobsCommand.d.ts +118 -37
  71. package/dist-types/ts3.4/commands/GetGcmChannelCommand.d.ts +102 -37
  72. package/dist-types/ts3.4/commands/GetImportJobCommand.d.ts +116 -34
  73. package/dist-types/ts3.4/commands/GetImportJobsCommand.d.ts +122 -37
  74. package/dist-types/ts3.4/commands/GetInAppMessagesCommand.d.ts +197 -37
  75. package/dist-types/ts3.4/commands/GetInAppTemplateCommand.d.ts +163 -37
  76. package/dist-types/ts3.4/commands/GetJourneyCommand.d.ts +468 -34
  77. package/dist-types/ts3.4/commands/GetJourneyDateRangeKpiCommand.d.ts +123 -41
  78. package/dist-types/ts3.4/commands/GetJourneyExecutionActivityMetricsCommand.d.ts +103 -41
  79. package/dist-types/ts3.4/commands/GetJourneyExecutionMetricsCommand.d.ts +100 -41
  80. package/dist-types/ts3.4/commands/GetJourneyRunExecutionActivityMetricsCommand.d.ts +134 -41
  81. package/dist-types/ts3.4/commands/GetJourneyRunExecutionMetricsCommand.d.ts +130 -41
  82. package/dist-types/ts3.4/commands/GetJourneyRunsCommand.d.ts +135 -37
  83. package/dist-types/ts3.4/commands/GetPushTemplateCommand.d.ts +153 -37
  84. package/dist-types/ts3.4/commands/GetRecommenderConfigurationCommand.d.ts +105 -41
  85. package/dist-types/ts3.4/commands/GetRecommenderConfigurationsCommand.d.ts +111 -41
  86. package/dist-types/ts3.4/commands/GetSegmentCommand.d.ts +243 -34
  87. package/dist-types/ts3.4/commands/GetSegmentExportJobsCommand.d.ts +119 -41
  88. package/dist-types/ts3.4/commands/GetSegmentImportJobsCommand.d.ts +123 -41
  89. package/dist-types/ts3.4/commands/GetSegmentVersionCommand.d.ts +244 -38
  90. package/dist-types/ts3.4/commands/GetSegmentVersionsCommand.d.ts +250 -38
  91. package/dist-types/ts3.4/commands/GetSegmentsCommand.d.ts +249 -34
  92. package/dist-types/ts3.4/commands/GetSmsChannelCommand.d.ts +105 -37
  93. package/dist-types/ts3.4/commands/GetSmsTemplateCommand.d.ts +105 -37
  94. package/dist-types/ts3.4/commands/GetUserEndpointsCommand.d.ts +140 -37
  95. package/dist-types/ts3.4/commands/GetVoiceChannelCommand.d.ts +101 -37
  96. package/dist-types/ts3.4/commands/GetVoiceTemplateCommand.d.ts +106 -37
  97. package/dist-types/ts3.4/commands/ListJourneysCommand.d.ts +474 -34
  98. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +73 -38
  99. package/dist-types/ts3.4/commands/ListTemplateVersionsCommand.d.ts +108 -41
  100. package/dist-types/ts3.4/commands/ListTemplatesCommand.d.ts +104 -37
  101. package/dist-types/ts3.4/commands/PhoneNumberValidateCommand.d.ts +108 -38
  102. package/dist-types/ts3.4/commands/PutEventStreamCommand.d.ts +101 -37
  103. package/dist-types/ts3.4/commands/PutEventsCommand.d.ts +176 -34
  104. package/dist-types/ts3.4/commands/RemoveAttributesCommand.d.ts +102 -37
  105. package/dist-types/ts3.4/commands/SendMessagesCommand.d.ts +313 -34
  106. package/dist-types/ts3.4/commands/SendOTPMessageCommand.d.ts +125 -37
  107. package/dist-types/ts3.4/commands/SendUsersMessagesCommand.d.ts +296 -38
  108. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +72 -32
  109. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +70 -32
  110. package/dist-types/ts3.4/commands/UpdateAdmChannelCommand.d.ts +106 -37
  111. package/dist-types/ts3.4/commands/UpdateApnsChannelCommand.d.ts +113 -38
  112. package/dist-types/ts3.4/commands/UpdateApnsSandboxChannelCommand.d.ts +113 -41
  113. package/dist-types/ts3.4/commands/UpdateApnsVoipChannelCommand.d.ts +113 -41
  114. package/dist-types/ts3.4/commands/UpdateApnsVoipSandboxChannelCommand.d.ts +113 -41
  115. package/dist-types/ts3.4/commands/UpdateApplicationSettingsCommand.d.ts +129 -41
  116. package/dist-types/ts3.4/commands/UpdateBaiduChannelCommand.d.ts +107 -38
  117. package/dist-types/ts3.4/commands/UpdateCampaignCommand.d.ts +834 -37
  118. package/dist-types/ts3.4/commands/UpdateEmailChannelCommand.d.ts +113 -38
  119. package/dist-types/ts3.4/commands/UpdateEmailTemplateCommand.d.ts +106 -38
  120. package/dist-types/ts3.4/commands/UpdateEndpointCommand.d.ts +136 -37
  121. package/dist-types/ts3.4/commands/UpdateEndpointsBatchCommand.d.ts +140 -41
  122. package/dist-types/ts3.4/commands/UpdateGcmChannelCommand.d.ts +106 -37
  123. package/dist-types/ts3.4/commands/UpdateInAppTemplateCommand.d.ts +162 -38
  124. package/dist-types/ts3.4/commands/UpdateJourneyCommand.d.ts +844 -37
  125. package/dist-types/ts3.4/commands/UpdateJourneyStateCommand.d.ts +471 -38
  126. package/dist-types/ts3.4/commands/UpdatePushTemplateCommand.d.ts +152 -38
  127. package/dist-types/ts3.4/commands/UpdateRecommenderConfigurationCommand.d.ts +118 -41
  128. package/dist-types/ts3.4/commands/UpdateSegmentCommand.d.ts +379 -37
  129. package/dist-types/ts3.4/commands/UpdateSmsChannelCommand.d.ts +110 -37
  130. package/dist-types/ts3.4/commands/UpdateSmsTemplateCommand.d.ts +104 -38
  131. package/dist-types/ts3.4/commands/UpdateTemplateActiveVersionCommand.d.ts +97 -41
  132. package/dist-types/ts3.4/commands/UpdateVoiceChannelCommand.d.ts +104 -38
  133. package/dist-types/ts3.4/commands/UpdateVoiceTemplateCommand.d.ts +105 -38
  134. package/dist-types/ts3.4/commands/VerifyOTPMessageCommand.d.ts +97 -37
  135. package/dist-types/ts3.4/commands/index.d.ts +122 -122
  136. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +20 -33
  137. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +5 -8
  138. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -2
  139. package/dist-types/ts3.4/index.d.ts +5 -5
  140. package/dist-types/ts3.4/models/PinpointServiceException.d.ts +12 -7
  141. package/dist-types/ts3.4/models/index.d.ts +2 -2
  142. package/dist-types/ts3.4/models/models_0.d.ts +6383 -1896
  143. package/dist-types/ts3.4/models/models_1.d.ts +2807 -915
  144. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +1100 -1469
  145. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +42 -91
  146. package/dist-types/ts3.4/runtimeConfig.d.ts +42 -91
  147. package/dist-types/ts3.4/runtimeConfig.native.d.ts +41 -80
  148. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +18 -18
  149. package/package.json +5 -4
@@ -1,41 +1,109 @@
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
- GetApplicationSettingsRequest,
11
- GetApplicationSettingsResponse,
12
- } from "../models/models_0";
13
- import {
14
- PinpointClientResolvedConfig,
15
- ServiceInputTypes,
16
- ServiceOutputTypes,
17
- } from "../PinpointClient";
18
- export interface GetApplicationSettingsCommandInput
19
- extends GetApplicationSettingsRequest {}
20
- export interface GetApplicationSettingsCommandOutput
21
- extends GetApplicationSettingsResponse,
22
- __MetadataBearer {}
23
- export declare class GetApplicationSettingsCommand extends $Command<
24
- GetApplicationSettingsCommandInput,
25
- GetApplicationSettingsCommandOutput,
26
- PinpointClientResolvedConfig
27
- > {
28
- readonly input: GetApplicationSettingsCommandInput;
29
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
- constructor(input: GetApplicationSettingsCommandInput);
31
- resolveMiddleware(
32
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
- configuration: PinpointClientResolvedConfig,
34
- options?: __HttpHandlerOptions
35
- ): Handler<
36
- GetApplicationSettingsCommandInput,
37
- GetApplicationSettingsCommandOutput
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 { GetApplicationSettingsRequest, GetApplicationSettingsResponse } from "../models/models_0";
5
+ import { PinpointClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointClient";
6
+ /**
7
+ * @public
8
+ *
9
+ * The input for {@link GetApplicationSettingsCommand}.
10
+ */
11
+ export interface GetApplicationSettingsCommandInput extends GetApplicationSettingsRequest {
12
+ }
13
+ /**
14
+ * @public
15
+ *
16
+ * The output of {@link GetApplicationSettingsCommand}.
17
+ */
18
+ export interface GetApplicationSettingsCommandOutput extends GetApplicationSettingsResponse, __MetadataBearer {
19
+ }
20
+ /**
21
+ * @public
22
+ * <p>Retrieves information about the settings 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, GetApplicationSettingsCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
27
+ * // const { PinpointClient, GetApplicationSettingsCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
28
+ * const client = new PinpointClient(config);
29
+ * const input = { // GetApplicationSettingsRequest
30
+ * ApplicationId: "STRING_VALUE", // required
31
+ * };
32
+ * const command = new GetApplicationSettingsCommand(input);
33
+ * const response = await client.send(command);
34
+ * // { // GetApplicationSettingsResponse
35
+ * // ApplicationSettingsResource: { // ApplicationSettingsResource
36
+ * // ApplicationId: "STRING_VALUE", // required
37
+ * // CampaignHook: { // CampaignHook
38
+ * // LambdaFunctionName: "STRING_VALUE",
39
+ * // Mode: "DELIVERY" || "FILTER",
40
+ * // WebUrl: "STRING_VALUE",
41
+ * // },
42
+ * // LastModifiedDate: "STRING_VALUE",
43
+ * // Limits: { // CampaignLimits
44
+ * // Daily: Number("int"),
45
+ * // MaximumDuration: Number("int"),
46
+ * // MessagesPerSecond: Number("int"),
47
+ * // Total: Number("int"),
48
+ * // Session: Number("int"),
49
+ * // },
50
+ * // QuietTime: { // QuietTime
51
+ * // End: "STRING_VALUE",
52
+ * // Start: "STRING_VALUE",
53
+ * // },
54
+ * // },
55
+ * // };
56
+ *
57
+ * ```
58
+ *
59
+ * @param GetApplicationSettingsCommandInput - {@link GetApplicationSettingsCommandInput}
60
+ * @returns {@link GetApplicationSettingsCommandOutput}
61
+ * @see {@link GetApplicationSettingsCommandInput} for command's `input` shape.
62
+ * @see {@link GetApplicationSettingsCommandOutput} for command's `response` shape.
63
+ * @see {@link PinpointClientResolvedConfig | config} for PinpointClient's `config` shape.
64
+ *
65
+ * @throws {@link BadRequestException} (client fault)
66
+ * <p>Provides information about an API request or response.</p>
67
+ *
68
+ * @throws {@link ForbiddenException} (client fault)
69
+ * <p>Provides information about an API request or response.</p>
70
+ *
71
+ * @throws {@link InternalServerErrorException} (server fault)
72
+ * <p>Provides information about an API request or response.</p>
73
+ *
74
+ * @throws {@link MethodNotAllowedException} (client fault)
75
+ * <p>Provides information about an API request or response.</p>
76
+ *
77
+ * @throws {@link NotFoundException} (client fault)
78
+ * <p>Provides information about an API request or response.</p>
79
+ *
80
+ * @throws {@link PayloadTooLargeException} (client fault)
81
+ * <p>Provides information about an API request or response.</p>
82
+ *
83
+ * @throws {@link TooManyRequestsException} (client fault)
84
+ * <p>Provides information about an API request or response.</p>
85
+ *
86
+ * @throws {@link PinpointServiceException}
87
+ * <p>Base exception class for all service exceptions from Pinpoint service.</p>
88
+ *
89
+ */
90
+ export declare class GetApplicationSettingsCommand extends $Command<GetApplicationSettingsCommandInput, GetApplicationSettingsCommandOutput, PinpointClientResolvedConfig> {
91
+ readonly input: GetApplicationSettingsCommandInput;
92
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
93
+ /**
94
+ * @public
95
+ */
96
+ constructor(input: GetApplicationSettingsCommandInput);
97
+ /**
98
+ * @internal
99
+ */
100
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetApplicationSettingsCommandInput, GetApplicationSettingsCommandOutput>;
101
+ /**
102
+ * @internal
103
+ */
104
+ private serialize;
105
+ /**
106
+ * @internal
107
+ */
108
+ private deserialize;
109
+ }
@@ -1,34 +1,104 @@
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 { GetAppsRequest, GetAppsResponse } from "../models/models_0";
10
- import {
11
- PinpointClientResolvedConfig,
12
- ServiceInputTypes,
13
- ServiceOutputTypes,
14
- } from "../PinpointClient";
15
- export interface GetAppsCommandInput extends GetAppsRequest {}
16
- export interface GetAppsCommandOutput
17
- extends GetAppsResponse,
18
- __MetadataBearer {}
19
- export declare class GetAppsCommand extends $Command<
20
- GetAppsCommandInput,
21
- GetAppsCommandOutput,
22
- PinpointClientResolvedConfig
23
- > {
24
- readonly input: GetAppsCommandInput;
25
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
26
- constructor(input: GetAppsCommandInput);
27
- resolveMiddleware(
28
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
29
- configuration: PinpointClientResolvedConfig,
30
- options?: __HttpHandlerOptions
31
- ): Handler<GetAppsCommandInput, GetAppsCommandOutput>;
32
- private serialize;
33
- private deserialize;
34
- }
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 { GetAppsRequest, GetAppsResponse } from "../models/models_0";
5
+ import { PinpointClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointClient";
6
+ /**
7
+ * @public
8
+ *
9
+ * The input for {@link GetAppsCommand}.
10
+ */
11
+ export interface GetAppsCommandInput extends GetAppsRequest {
12
+ }
13
+ /**
14
+ * @public
15
+ *
16
+ * The output of {@link GetAppsCommand}.
17
+ */
18
+ export interface GetAppsCommandOutput extends GetAppsResponse, __MetadataBearer {
19
+ }
20
+ /**
21
+ * @public
22
+ * <p>Retrieves information about all the applications that are associated with your Amazon Pinpoint account.</p>
23
+ * @example
24
+ * Use a bare-bones client and the command you need to make an API call.
25
+ * ```javascript
26
+ * import { PinpointClient, GetAppsCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
27
+ * // const { PinpointClient, GetAppsCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
28
+ * const client = new PinpointClient(config);
29
+ * const input = { // GetAppsRequest
30
+ * PageSize: "STRING_VALUE",
31
+ * Token: "STRING_VALUE",
32
+ * };
33
+ * const command = new GetAppsCommand(input);
34
+ * const response = await client.send(command);
35
+ * // { // GetAppsResponse
36
+ * // ApplicationsResponse: { // ApplicationsResponse
37
+ * // Item: [ // ListOfApplicationResponse
38
+ * // { // ApplicationResponse
39
+ * // Arn: "STRING_VALUE", // required
40
+ * // Id: "STRING_VALUE", // required
41
+ * // Name: "STRING_VALUE", // required
42
+ * // tags: { // MapOf__string
43
+ * // "<keys>": "STRING_VALUE",
44
+ * // },
45
+ * // CreationDate: "STRING_VALUE",
46
+ * // },
47
+ * // ],
48
+ * // NextToken: "STRING_VALUE",
49
+ * // },
50
+ * // };
51
+ *
52
+ * ```
53
+ *
54
+ * @param GetAppsCommandInput - {@link GetAppsCommandInput}
55
+ * @returns {@link GetAppsCommandOutput}
56
+ * @see {@link GetAppsCommandInput} for command's `input` shape.
57
+ * @see {@link GetAppsCommandOutput} for command's `response` shape.
58
+ * @see {@link PinpointClientResolvedConfig | config} for PinpointClient's `config` shape.
59
+ *
60
+ * @throws {@link BadRequestException} (client fault)
61
+ * <p>Provides information about an API request or response.</p>
62
+ *
63
+ * @throws {@link ForbiddenException} (client fault)
64
+ * <p>Provides information about an API request or response.</p>
65
+ *
66
+ * @throws {@link InternalServerErrorException} (server fault)
67
+ * <p>Provides information about an API request or response.</p>
68
+ *
69
+ * @throws {@link MethodNotAllowedException} (client fault)
70
+ * <p>Provides information about an API request or response.</p>
71
+ *
72
+ * @throws {@link NotFoundException} (client fault)
73
+ * <p>Provides information about an API request or response.</p>
74
+ *
75
+ * @throws {@link PayloadTooLargeException} (client fault)
76
+ * <p>Provides information about an API request or response.</p>
77
+ *
78
+ * @throws {@link TooManyRequestsException} (client fault)
79
+ * <p>Provides information about an API request or response.</p>
80
+ *
81
+ * @throws {@link PinpointServiceException}
82
+ * <p>Base exception class for all service exceptions from Pinpoint service.</p>
83
+ *
84
+ */
85
+ export declare class GetAppsCommand extends $Command<GetAppsCommandInput, GetAppsCommandOutput, PinpointClientResolvedConfig> {
86
+ readonly input: GetAppsCommandInput;
87
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
88
+ /**
89
+ * @public
90
+ */
91
+ constructor(input: GetAppsCommandInput);
92
+ /**
93
+ * @internal
94
+ */
95
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetAppsCommandInput, GetAppsCommandOutput>;
96
+ /**
97
+ * @internal
98
+ */
99
+ private serialize;
100
+ /**
101
+ * @internal
102
+ */
103
+ private deserialize;
104
+ }
@@ -1,37 +1,102 @@
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
- GetBaiduChannelRequest,
11
- GetBaiduChannelResponse,
12
- } from "../models/models_0";
13
- import {
14
- PinpointClientResolvedConfig,
15
- ServiceInputTypes,
16
- ServiceOutputTypes,
17
- } from "../PinpointClient";
18
- export interface GetBaiduChannelCommandInput extends GetBaiduChannelRequest {}
19
- export interface GetBaiduChannelCommandOutput
20
- extends GetBaiduChannelResponse,
21
- __MetadataBearer {}
22
- export declare class GetBaiduChannelCommand extends $Command<
23
- GetBaiduChannelCommandInput,
24
- GetBaiduChannelCommandOutput,
25
- PinpointClientResolvedConfig
26
- > {
27
- readonly input: GetBaiduChannelCommandInput;
28
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
29
- constructor(input: GetBaiduChannelCommandInput);
30
- resolveMiddleware(
31
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
32
- configuration: PinpointClientResolvedConfig,
33
- options?: __HttpHandlerOptions
34
- ): Handler<GetBaiduChannelCommandInput, GetBaiduChannelCommandOutput>;
35
- private serialize;
36
- private deserialize;
37
- }
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 { GetBaiduChannelRequest, GetBaiduChannelResponse } from "../models/models_0";
5
+ import { PinpointClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointClient";
6
+ /**
7
+ * @public
8
+ *
9
+ * The input for {@link GetBaiduChannelCommand}.
10
+ */
11
+ export interface GetBaiduChannelCommandInput extends GetBaiduChannelRequest {
12
+ }
13
+ /**
14
+ * @public
15
+ *
16
+ * The output of {@link GetBaiduChannelCommand}.
17
+ */
18
+ export interface GetBaiduChannelCommandOutput extends GetBaiduChannelResponse, __MetadataBearer {
19
+ }
20
+ /**
21
+ * @public
22
+ * <p>Retrieves information about the status and settings of the Baidu 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, GetBaiduChannelCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
27
+ * // const { PinpointClient, GetBaiduChannelCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
28
+ * const client = new PinpointClient(config);
29
+ * const input = { // GetBaiduChannelRequest
30
+ * ApplicationId: "STRING_VALUE", // required
31
+ * };
32
+ * const command = new GetBaiduChannelCommand(input);
33
+ * const response = await client.send(command);
34
+ * // { // GetBaiduChannelResponse
35
+ * // BaiduChannelResponse: { // BaiduChannelResponse
36
+ * // ApplicationId: "STRING_VALUE",
37
+ * // CreationDate: "STRING_VALUE",
38
+ * // Credential: "STRING_VALUE", // required
39
+ * // Enabled: true || false,
40
+ * // HasCredential: true || false,
41
+ * // Id: "STRING_VALUE",
42
+ * // IsArchived: true || false,
43
+ * // LastModifiedBy: "STRING_VALUE",
44
+ * // LastModifiedDate: "STRING_VALUE",
45
+ * // Platform: "STRING_VALUE", // required
46
+ * // Version: Number("int"),
47
+ * // },
48
+ * // };
49
+ *
50
+ * ```
51
+ *
52
+ * @param GetBaiduChannelCommandInput - {@link GetBaiduChannelCommandInput}
53
+ * @returns {@link GetBaiduChannelCommandOutput}
54
+ * @see {@link GetBaiduChannelCommandInput} for command's `input` shape.
55
+ * @see {@link GetBaiduChannelCommandOutput} for command's `response` shape.
56
+ * @see {@link PinpointClientResolvedConfig | config} for PinpointClient's `config` shape.
57
+ *
58
+ * @throws {@link BadRequestException} (client fault)
59
+ * <p>Provides information about an API request or response.</p>
60
+ *
61
+ * @throws {@link ForbiddenException} (client fault)
62
+ * <p>Provides information about an API request or response.</p>
63
+ *
64
+ * @throws {@link InternalServerErrorException} (server fault)
65
+ * <p>Provides information about an API request or response.</p>
66
+ *
67
+ * @throws {@link MethodNotAllowedException} (client fault)
68
+ * <p>Provides information about an API request or response.</p>
69
+ *
70
+ * @throws {@link NotFoundException} (client fault)
71
+ * <p>Provides information about an API request or response.</p>
72
+ *
73
+ * @throws {@link PayloadTooLargeException} (client fault)
74
+ * <p>Provides information about an API request or response.</p>
75
+ *
76
+ * @throws {@link TooManyRequestsException} (client fault)
77
+ * <p>Provides information about an API request or response.</p>
78
+ *
79
+ * @throws {@link PinpointServiceException}
80
+ * <p>Base exception class for all service exceptions from Pinpoint service.</p>
81
+ *
82
+ */
83
+ export declare class GetBaiduChannelCommand extends $Command<GetBaiduChannelCommandInput, GetBaiduChannelCommandOutput, PinpointClientResolvedConfig> {
84
+ readonly input: GetBaiduChannelCommandInput;
85
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
86
+ /**
87
+ * @public
88
+ */
89
+ constructor(input: GetBaiduChannelCommandInput);
90
+ /**
91
+ * @internal
92
+ */
93
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetBaiduChannelCommandInput, GetBaiduChannelCommandOutput>;
94
+ /**
95
+ * @internal
96
+ */
97
+ private serialize;
98
+ /**
99
+ * @internal
100
+ */
101
+ private deserialize;
102
+ }
@@ -1,41 +1,115 @@
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
- GetCampaignActivitiesRequest,
11
- GetCampaignActivitiesResponse,
12
- } from "../models/models_0";
13
- import {
14
- PinpointClientResolvedConfig,
15
- ServiceInputTypes,
16
- ServiceOutputTypes,
17
- } from "../PinpointClient";
18
- export interface GetCampaignActivitiesCommandInput
19
- extends GetCampaignActivitiesRequest {}
20
- export interface GetCampaignActivitiesCommandOutput
21
- extends GetCampaignActivitiesResponse,
22
- __MetadataBearer {}
23
- export declare class GetCampaignActivitiesCommand extends $Command<
24
- GetCampaignActivitiesCommandInput,
25
- GetCampaignActivitiesCommandOutput,
26
- PinpointClientResolvedConfig
27
- > {
28
- readonly input: GetCampaignActivitiesCommandInput;
29
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
- constructor(input: GetCampaignActivitiesCommandInput);
31
- resolveMiddleware(
32
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
- configuration: PinpointClientResolvedConfig,
34
- options?: __HttpHandlerOptions
35
- ): Handler<
36
- GetCampaignActivitiesCommandInput,
37
- GetCampaignActivitiesCommandOutput
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 { GetCampaignActivitiesRequest, GetCampaignActivitiesResponse } from "../models/models_0";
5
+ import { PinpointClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointClient";
6
+ /**
7
+ * @public
8
+ *
9
+ * The input for {@link GetCampaignActivitiesCommand}.
10
+ */
11
+ export interface GetCampaignActivitiesCommandInput extends GetCampaignActivitiesRequest {
12
+ }
13
+ /**
14
+ * @public
15
+ *
16
+ * The output of {@link GetCampaignActivitiesCommand}.
17
+ */
18
+ export interface GetCampaignActivitiesCommandOutput extends GetCampaignActivitiesResponse, __MetadataBearer {
19
+ }
20
+ /**
21
+ * @public
22
+ * <p>Retrieves information about all the activities for a campaign.</p>
23
+ * @example
24
+ * Use a bare-bones client and the command you need to make an API call.
25
+ * ```javascript
26
+ * import { PinpointClient, GetCampaignActivitiesCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
27
+ * // const { PinpointClient, GetCampaignActivitiesCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
28
+ * const client = new PinpointClient(config);
29
+ * const input = { // GetCampaignActivitiesRequest
30
+ * ApplicationId: "STRING_VALUE", // required
31
+ * CampaignId: "STRING_VALUE", // required
32
+ * PageSize: "STRING_VALUE",
33
+ * Token: "STRING_VALUE",
34
+ * };
35
+ * const command = new GetCampaignActivitiesCommand(input);
36
+ * const response = await client.send(command);
37
+ * // { // GetCampaignActivitiesResponse
38
+ * // ActivitiesResponse: { // ActivitiesResponse
39
+ * // Item: [ // ListOfActivityResponse // required
40
+ * // { // ActivityResponse
41
+ * // ApplicationId: "STRING_VALUE", // required
42
+ * // CampaignId: "STRING_VALUE", // required
43
+ * // End: "STRING_VALUE",
44
+ * // Id: "STRING_VALUE", // required
45
+ * // Result: "STRING_VALUE",
46
+ * // ScheduledStart: "STRING_VALUE",
47
+ * // Start: "STRING_VALUE",
48
+ * // State: "STRING_VALUE",
49
+ * // SuccessfulEndpointCount: Number("int"),
50
+ * // TimezonesCompletedCount: Number("int"),
51
+ * // TimezonesTotalCount: Number("int"),
52
+ * // TotalEndpointCount: Number("int"),
53
+ * // TreatmentId: "STRING_VALUE",
54
+ * // ExecutionMetrics: { // MapOf__string
55
+ * // "<keys>": "STRING_VALUE",
56
+ * // },
57
+ * // },
58
+ * // ],
59
+ * // NextToken: "STRING_VALUE",
60
+ * // },
61
+ * // };
62
+ *
63
+ * ```
64
+ *
65
+ * @param GetCampaignActivitiesCommandInput - {@link GetCampaignActivitiesCommandInput}
66
+ * @returns {@link GetCampaignActivitiesCommandOutput}
67
+ * @see {@link GetCampaignActivitiesCommandInput} for command's `input` shape.
68
+ * @see {@link GetCampaignActivitiesCommandOutput} for command's `response` shape.
69
+ * @see {@link PinpointClientResolvedConfig | config} for PinpointClient's `config` shape.
70
+ *
71
+ * @throws {@link BadRequestException} (client fault)
72
+ * <p>Provides information about an API request or response.</p>
73
+ *
74
+ * @throws {@link ForbiddenException} (client fault)
75
+ * <p>Provides information about an API request or response.</p>
76
+ *
77
+ * @throws {@link InternalServerErrorException} (server fault)
78
+ * <p>Provides information about an API request or response.</p>
79
+ *
80
+ * @throws {@link MethodNotAllowedException} (client fault)
81
+ * <p>Provides information about an API request or response.</p>
82
+ *
83
+ * @throws {@link NotFoundException} (client fault)
84
+ * <p>Provides information about an API request or response.</p>
85
+ *
86
+ * @throws {@link PayloadTooLargeException} (client fault)
87
+ * <p>Provides information about an API request or response.</p>
88
+ *
89
+ * @throws {@link TooManyRequestsException} (client fault)
90
+ * <p>Provides information about an API request or response.</p>
91
+ *
92
+ * @throws {@link PinpointServiceException}
93
+ * <p>Base exception class for all service exceptions from Pinpoint service.</p>
94
+ *
95
+ */
96
+ export declare class GetCampaignActivitiesCommand extends $Command<GetCampaignActivitiesCommandInput, GetCampaignActivitiesCommandOutput, PinpointClientResolvedConfig> {
97
+ readonly input: GetCampaignActivitiesCommandInput;
98
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
99
+ /**
100
+ * @public
101
+ */
102
+ constructor(input: GetCampaignActivitiesCommandInput);
103
+ /**
104
+ * @internal
105
+ */
106
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetCampaignActivitiesCommandInput, GetCampaignActivitiesCommandOutput>;
107
+ /**
108
+ * @internal
109
+ */
110
+ private serialize;
111
+ /**
112
+ * @internal
113
+ */
114
+ private deserialize;
115
+ }