@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.
- package/CHANGELOG.md +4785 -0
- package/dist-types/ts3.4/Pinpoint.d.ts +864 -2091
- package/dist-types/ts3.4/PinpointClient.d.ts +284 -846
- package/dist-types/ts3.4/commands/CreateAppCommand.d.ts +103 -34
- package/dist-types/ts3.4/commands/CreateCampaignCommand.d.ts +833 -37
- package/dist-types/ts3.4/commands/CreateEmailTemplateCommand.d.ts +99 -38
- package/dist-types/ts3.4/commands/CreateExportJobCommand.d.ts +117 -37
- package/dist-types/ts3.4/commands/CreateImportJobCommand.d.ts +125 -37
- package/dist-types/ts3.4/commands/CreateInAppTemplateCommand.d.ts +155 -38
- package/dist-types/ts3.4/commands/CreateJourneyCommand.d.ts +840 -37
- package/dist-types/ts3.4/commands/CreatePushTemplateCommand.d.ts +145 -38
- package/dist-types/ts3.4/commands/CreateRecommenderConfigurationCommand.d.ts +117 -41
- package/dist-types/ts3.4/commands/CreateSegmentCommand.d.ts +378 -37
- package/dist-types/ts3.4/commands/CreateSmsTemplateCommand.d.ts +97 -38
- package/dist-types/ts3.4/commands/CreateVoiceTemplateCommand.d.ts +98 -38
- package/dist-types/ts3.4/commands/DeleteAdmChannelCommand.d.ts +101 -37
- package/dist-types/ts3.4/commands/DeleteApnsChannelCommand.d.ts +103 -38
- package/dist-types/ts3.4/commands/DeleteApnsSandboxChannelCommand.d.ts +103 -41
- package/dist-types/ts3.4/commands/DeleteApnsVoipChannelCommand.d.ts +103 -41
- package/dist-types/ts3.4/commands/DeleteApnsVoipSandboxChannelCommand.d.ts +103 -41
- package/dist-types/ts3.4/commands/DeleteAppCommand.d.ts +98 -34
- package/dist-types/ts3.4/commands/DeleteBaiduChannelCommand.d.ts +102 -38
- package/dist-types/ts3.4/commands/DeleteCampaignCommand.d.ts +470 -37
- package/dist-types/ts3.4/commands/DeleteEmailChannelCommand.d.ts +106 -38
- package/dist-types/ts3.4/commands/DeleteEmailTemplateCommand.d.ts +94 -38
- package/dist-types/ts3.4/commands/DeleteEndpointCommand.d.ts +136 -37
- package/dist-types/ts3.4/commands/DeleteEventStreamCommand.d.ts +97 -38
- package/dist-types/ts3.4/commands/DeleteGcmChannelCommand.d.ts +102 -37
- package/dist-types/ts3.4/commands/DeleteInAppTemplateCommand.d.ts +94 -38
- package/dist-types/ts3.4/commands/DeleteJourneyCommand.d.ts +468 -37
- package/dist-types/ts3.4/commands/DeletePushTemplateCommand.d.ts +94 -38
- package/dist-types/ts3.4/commands/DeleteRecommenderConfigurationCommand.d.ts +105 -41
- package/dist-types/ts3.4/commands/DeleteSegmentCommand.d.ts +243 -37
- package/dist-types/ts3.4/commands/DeleteSmsChannelCommand.d.ts +105 -37
- package/dist-types/ts3.4/commands/DeleteSmsTemplateCommand.d.ts +94 -38
- package/dist-types/ts3.4/commands/DeleteUserEndpointsCommand.d.ts +140 -38
- package/dist-types/ts3.4/commands/DeleteVoiceChannelCommand.d.ts +101 -38
- package/dist-types/ts3.4/commands/DeleteVoiceTemplateCommand.d.ts +94 -38
- package/dist-types/ts3.4/commands/GetAdmChannelCommand.d.ts +101 -37
- package/dist-types/ts3.4/commands/GetApnsChannelCommand.d.ts +103 -37
- package/dist-types/ts3.4/commands/GetApnsSandboxChannelCommand.d.ts +103 -41
- package/dist-types/ts3.4/commands/GetApnsVoipChannelCommand.d.ts +103 -38
- package/dist-types/ts3.4/commands/GetApnsVoipSandboxChannelCommand.d.ts +103 -41
- package/dist-types/ts3.4/commands/GetAppCommand.d.ts +98 -32
- package/dist-types/ts3.4/commands/GetApplicationDateRangeKpiCommand.d.ts +121 -41
- package/dist-types/ts3.4/commands/GetApplicationSettingsCommand.d.ts +109 -41
- package/dist-types/ts3.4/commands/GetAppsCommand.d.ts +104 -34
- package/dist-types/ts3.4/commands/GetBaiduChannelCommand.d.ts +102 -37
- package/dist-types/ts3.4/commands/GetCampaignActivitiesCommand.d.ts +115 -41
- package/dist-types/ts3.4/commands/GetCampaignCommand.d.ts +470 -34
- package/dist-types/ts3.4/commands/GetCampaignDateRangeKpiCommand.d.ts +123 -41
- package/dist-types/ts3.4/commands/GetCampaignVersionCommand.d.ts +471 -38
- package/dist-types/ts3.4/commands/GetCampaignVersionsCommand.d.ts +477 -38
- package/dist-types/ts3.4/commands/GetCampaignsCommand.d.ts +476 -34
- package/dist-types/ts3.4/commands/GetChannelsCommand.d.ts +104 -34
- package/dist-types/ts3.4/commands/GetEmailChannelCommand.d.ts +106 -37
- package/dist-types/ts3.4/commands/GetEmailTemplateCommand.d.ts +107 -37
- package/dist-types/ts3.4/commands/GetEndpointCommand.d.ts +136 -34
- package/dist-types/ts3.4/commands/GetEventStreamCommand.d.ts +97 -37
- package/dist-types/ts3.4/commands/GetExportJobCommand.d.ts +112 -34
- package/dist-types/ts3.4/commands/GetExportJobsCommand.d.ts +118 -37
- package/dist-types/ts3.4/commands/GetGcmChannelCommand.d.ts +102 -37
- package/dist-types/ts3.4/commands/GetImportJobCommand.d.ts +116 -34
- package/dist-types/ts3.4/commands/GetImportJobsCommand.d.ts +122 -37
- package/dist-types/ts3.4/commands/GetInAppMessagesCommand.d.ts +197 -37
- package/dist-types/ts3.4/commands/GetInAppTemplateCommand.d.ts +163 -37
- package/dist-types/ts3.4/commands/GetJourneyCommand.d.ts +468 -34
- package/dist-types/ts3.4/commands/GetJourneyDateRangeKpiCommand.d.ts +123 -41
- package/dist-types/ts3.4/commands/GetJourneyExecutionActivityMetricsCommand.d.ts +103 -41
- package/dist-types/ts3.4/commands/GetJourneyExecutionMetricsCommand.d.ts +100 -41
- package/dist-types/ts3.4/commands/GetJourneyRunExecutionActivityMetricsCommand.d.ts +134 -41
- package/dist-types/ts3.4/commands/GetJourneyRunExecutionMetricsCommand.d.ts +130 -41
- package/dist-types/ts3.4/commands/GetJourneyRunsCommand.d.ts +135 -37
- package/dist-types/ts3.4/commands/GetPushTemplateCommand.d.ts +153 -37
- package/dist-types/ts3.4/commands/GetRecommenderConfigurationCommand.d.ts +105 -41
- package/dist-types/ts3.4/commands/GetRecommenderConfigurationsCommand.d.ts +111 -41
- package/dist-types/ts3.4/commands/GetSegmentCommand.d.ts +243 -34
- package/dist-types/ts3.4/commands/GetSegmentExportJobsCommand.d.ts +119 -41
- package/dist-types/ts3.4/commands/GetSegmentImportJobsCommand.d.ts +123 -41
- package/dist-types/ts3.4/commands/GetSegmentVersionCommand.d.ts +244 -38
- package/dist-types/ts3.4/commands/GetSegmentVersionsCommand.d.ts +250 -38
- package/dist-types/ts3.4/commands/GetSegmentsCommand.d.ts +249 -34
- package/dist-types/ts3.4/commands/GetSmsChannelCommand.d.ts +105 -37
- package/dist-types/ts3.4/commands/GetSmsTemplateCommand.d.ts +105 -37
- package/dist-types/ts3.4/commands/GetUserEndpointsCommand.d.ts +140 -37
- package/dist-types/ts3.4/commands/GetVoiceChannelCommand.d.ts +101 -37
- package/dist-types/ts3.4/commands/GetVoiceTemplateCommand.d.ts +106 -37
- package/dist-types/ts3.4/commands/ListJourneysCommand.d.ts +474 -34
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +73 -38
- package/dist-types/ts3.4/commands/ListTemplateVersionsCommand.d.ts +108 -41
- package/dist-types/ts3.4/commands/ListTemplatesCommand.d.ts +104 -37
- package/dist-types/ts3.4/commands/PhoneNumberValidateCommand.d.ts +108 -38
- package/dist-types/ts3.4/commands/PutEventStreamCommand.d.ts +101 -37
- package/dist-types/ts3.4/commands/PutEventsCommand.d.ts +176 -34
- package/dist-types/ts3.4/commands/RemoveAttributesCommand.d.ts +102 -37
- package/dist-types/ts3.4/commands/SendMessagesCommand.d.ts +313 -34
- package/dist-types/ts3.4/commands/SendOTPMessageCommand.d.ts +125 -37
- package/dist-types/ts3.4/commands/SendUsersMessagesCommand.d.ts +296 -38
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +72 -32
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +70 -32
- package/dist-types/ts3.4/commands/UpdateAdmChannelCommand.d.ts +106 -37
- package/dist-types/ts3.4/commands/UpdateApnsChannelCommand.d.ts +113 -38
- package/dist-types/ts3.4/commands/UpdateApnsSandboxChannelCommand.d.ts +113 -41
- package/dist-types/ts3.4/commands/UpdateApnsVoipChannelCommand.d.ts +113 -41
- package/dist-types/ts3.4/commands/UpdateApnsVoipSandboxChannelCommand.d.ts +113 -41
- package/dist-types/ts3.4/commands/UpdateApplicationSettingsCommand.d.ts +129 -41
- package/dist-types/ts3.4/commands/UpdateBaiduChannelCommand.d.ts +107 -38
- package/dist-types/ts3.4/commands/UpdateCampaignCommand.d.ts +834 -37
- package/dist-types/ts3.4/commands/UpdateEmailChannelCommand.d.ts +113 -38
- package/dist-types/ts3.4/commands/UpdateEmailTemplateCommand.d.ts +106 -38
- package/dist-types/ts3.4/commands/UpdateEndpointCommand.d.ts +136 -37
- package/dist-types/ts3.4/commands/UpdateEndpointsBatchCommand.d.ts +140 -41
- package/dist-types/ts3.4/commands/UpdateGcmChannelCommand.d.ts +106 -37
- package/dist-types/ts3.4/commands/UpdateInAppTemplateCommand.d.ts +162 -38
- package/dist-types/ts3.4/commands/UpdateJourneyCommand.d.ts +844 -37
- package/dist-types/ts3.4/commands/UpdateJourneyStateCommand.d.ts +471 -38
- package/dist-types/ts3.4/commands/UpdatePushTemplateCommand.d.ts +152 -38
- package/dist-types/ts3.4/commands/UpdateRecommenderConfigurationCommand.d.ts +118 -41
- package/dist-types/ts3.4/commands/UpdateSegmentCommand.d.ts +379 -37
- package/dist-types/ts3.4/commands/UpdateSmsChannelCommand.d.ts +110 -37
- package/dist-types/ts3.4/commands/UpdateSmsTemplateCommand.d.ts +104 -38
- package/dist-types/ts3.4/commands/UpdateTemplateActiveVersionCommand.d.ts +97 -41
- package/dist-types/ts3.4/commands/UpdateVoiceChannelCommand.d.ts +104 -38
- package/dist-types/ts3.4/commands/UpdateVoiceTemplateCommand.d.ts +105 -38
- package/dist-types/ts3.4/commands/VerifyOTPMessageCommand.d.ts +97 -37
- package/dist-types/ts3.4/commands/index.d.ts +122 -122
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +20 -32
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +5 -8
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +5 -5
- package/dist-types/ts3.4/models/PinpointServiceException.d.ts +12 -7
- package/dist-types/ts3.4/models/index.d.ts +2 -2
- package/dist-types/ts3.4/models/models_0.d.ts +6383 -1896
- package/dist-types/ts3.4/models/models_1.d.ts +2807 -915
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +1100 -1469
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +42 -94
- package/dist-types/ts3.4/runtimeConfig.d.ts +42 -91
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +41 -85
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +18 -18
- package/package.json +2 -2
|
@@ -1,34 +1,476 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
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 { GetCampaignsRequest, GetCampaignsResponse } from "../models/models_0";
|
|
5
|
+
import { PinpointClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link GetCampaignsCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface GetCampaignsCommandInput extends GetCampaignsRequest {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link GetCampaignsCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface GetCampaignsCommandOutput extends GetCampaignsResponse, __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>Retrieves information about the status, configuration, and other settings for all the campaigns that are associated with 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, GetCampaignsCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
|
|
27
|
+
* // const { PinpointClient, GetCampaignsCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
|
|
28
|
+
* const client = new PinpointClient(config);
|
|
29
|
+
* const input = { // GetCampaignsRequest
|
|
30
|
+
* ApplicationId: "STRING_VALUE", // required
|
|
31
|
+
* PageSize: "STRING_VALUE",
|
|
32
|
+
* Token: "STRING_VALUE",
|
|
33
|
+
* };
|
|
34
|
+
* const command = new GetCampaignsCommand(input);
|
|
35
|
+
* const response = await client.send(command);
|
|
36
|
+
* // { // GetCampaignsResponse
|
|
37
|
+
* // CampaignsResponse: { // CampaignsResponse
|
|
38
|
+
* // Item: [ // ListOfCampaignResponse // required
|
|
39
|
+
* // { // CampaignResponse
|
|
40
|
+
* // AdditionalTreatments: [ // ListOfTreatmentResource
|
|
41
|
+
* // { // TreatmentResource
|
|
42
|
+
* // CustomDeliveryConfiguration: { // CustomDeliveryConfiguration
|
|
43
|
+
* // DeliveryUri: "STRING_VALUE", // required
|
|
44
|
+
* // EndpointTypes: [ // ListOf__EndpointTypesElement
|
|
45
|
+
* // "PUSH" || "GCM" || "APNS" || "APNS_SANDBOX" || "APNS_VOIP" || "APNS_VOIP_SANDBOX" || "ADM" || "SMS" || "VOICE" || "EMAIL" || "BAIDU" || "CUSTOM" || "IN_APP",
|
|
46
|
+
* // ],
|
|
47
|
+
* // },
|
|
48
|
+
* // Id: "STRING_VALUE", // required
|
|
49
|
+
* // MessageConfiguration: { // MessageConfiguration
|
|
50
|
+
* // ADMMessage: { // Message
|
|
51
|
+
* // Action: "OPEN_APP" || "DEEP_LINK" || "URL",
|
|
52
|
+
* // Body: "STRING_VALUE",
|
|
53
|
+
* // ImageIconUrl: "STRING_VALUE",
|
|
54
|
+
* // ImageSmallIconUrl: "STRING_VALUE",
|
|
55
|
+
* // ImageUrl: "STRING_VALUE",
|
|
56
|
+
* // JsonBody: "STRING_VALUE",
|
|
57
|
+
* // MediaUrl: "STRING_VALUE",
|
|
58
|
+
* // RawContent: "STRING_VALUE",
|
|
59
|
+
* // SilentPush: true || false,
|
|
60
|
+
* // TimeToLive: Number("int"),
|
|
61
|
+
* // Title: "STRING_VALUE",
|
|
62
|
+
* // Url: "STRING_VALUE",
|
|
63
|
+
* // },
|
|
64
|
+
* // APNSMessage: {
|
|
65
|
+
* // Action: "OPEN_APP" || "DEEP_LINK" || "URL",
|
|
66
|
+
* // Body: "STRING_VALUE",
|
|
67
|
+
* // ImageIconUrl: "STRING_VALUE",
|
|
68
|
+
* // ImageSmallIconUrl: "STRING_VALUE",
|
|
69
|
+
* // ImageUrl: "STRING_VALUE",
|
|
70
|
+
* // JsonBody: "STRING_VALUE",
|
|
71
|
+
* // MediaUrl: "STRING_VALUE",
|
|
72
|
+
* // RawContent: "STRING_VALUE",
|
|
73
|
+
* // SilentPush: true || false,
|
|
74
|
+
* // TimeToLive: Number("int"),
|
|
75
|
+
* // Title: "STRING_VALUE",
|
|
76
|
+
* // Url: "STRING_VALUE",
|
|
77
|
+
* // },
|
|
78
|
+
* // BaiduMessage: {
|
|
79
|
+
* // Action: "OPEN_APP" || "DEEP_LINK" || "URL",
|
|
80
|
+
* // Body: "STRING_VALUE",
|
|
81
|
+
* // ImageIconUrl: "STRING_VALUE",
|
|
82
|
+
* // ImageSmallIconUrl: "STRING_VALUE",
|
|
83
|
+
* // ImageUrl: "STRING_VALUE",
|
|
84
|
+
* // JsonBody: "STRING_VALUE",
|
|
85
|
+
* // MediaUrl: "STRING_VALUE",
|
|
86
|
+
* // RawContent: "STRING_VALUE",
|
|
87
|
+
* // SilentPush: true || false,
|
|
88
|
+
* // TimeToLive: Number("int"),
|
|
89
|
+
* // Title: "STRING_VALUE",
|
|
90
|
+
* // Url: "STRING_VALUE",
|
|
91
|
+
* // },
|
|
92
|
+
* // CustomMessage: { // CampaignCustomMessage
|
|
93
|
+
* // Data: "STRING_VALUE",
|
|
94
|
+
* // },
|
|
95
|
+
* // DefaultMessage: {
|
|
96
|
+
* // Action: "OPEN_APP" || "DEEP_LINK" || "URL",
|
|
97
|
+
* // Body: "STRING_VALUE",
|
|
98
|
+
* // ImageIconUrl: "STRING_VALUE",
|
|
99
|
+
* // ImageSmallIconUrl: "STRING_VALUE",
|
|
100
|
+
* // ImageUrl: "STRING_VALUE",
|
|
101
|
+
* // JsonBody: "STRING_VALUE",
|
|
102
|
+
* // MediaUrl: "STRING_VALUE",
|
|
103
|
+
* // RawContent: "STRING_VALUE",
|
|
104
|
+
* // SilentPush: true || false,
|
|
105
|
+
* // TimeToLive: Number("int"),
|
|
106
|
+
* // Title: "STRING_VALUE",
|
|
107
|
+
* // Url: "STRING_VALUE",
|
|
108
|
+
* // },
|
|
109
|
+
* // EmailMessage: { // CampaignEmailMessage
|
|
110
|
+
* // Body: "STRING_VALUE",
|
|
111
|
+
* // FromAddress: "STRING_VALUE",
|
|
112
|
+
* // HtmlBody: "STRING_VALUE",
|
|
113
|
+
* // Title: "STRING_VALUE",
|
|
114
|
+
* // },
|
|
115
|
+
* // GCMMessage: {
|
|
116
|
+
* // Action: "OPEN_APP" || "DEEP_LINK" || "URL",
|
|
117
|
+
* // Body: "STRING_VALUE",
|
|
118
|
+
* // ImageIconUrl: "STRING_VALUE",
|
|
119
|
+
* // ImageSmallIconUrl: "STRING_VALUE",
|
|
120
|
+
* // ImageUrl: "STRING_VALUE",
|
|
121
|
+
* // JsonBody: "STRING_VALUE",
|
|
122
|
+
* // MediaUrl: "STRING_VALUE",
|
|
123
|
+
* // RawContent: "STRING_VALUE",
|
|
124
|
+
* // SilentPush: true || false,
|
|
125
|
+
* // TimeToLive: Number("int"),
|
|
126
|
+
* // Title: "STRING_VALUE",
|
|
127
|
+
* // Url: "STRING_VALUE",
|
|
128
|
+
* // },
|
|
129
|
+
* // SMSMessage: { // CampaignSmsMessage
|
|
130
|
+
* // Body: "STRING_VALUE",
|
|
131
|
+
* // MessageType: "TRANSACTIONAL" || "PROMOTIONAL",
|
|
132
|
+
* // OriginationNumber: "STRING_VALUE",
|
|
133
|
+
* // SenderId: "STRING_VALUE",
|
|
134
|
+
* // EntityId: "STRING_VALUE",
|
|
135
|
+
* // TemplateId: "STRING_VALUE",
|
|
136
|
+
* // },
|
|
137
|
+
* // InAppMessage: { // CampaignInAppMessage
|
|
138
|
+
* // Body: "STRING_VALUE",
|
|
139
|
+
* // Content: [ // ListOfInAppMessageContent
|
|
140
|
+
* // { // InAppMessageContent
|
|
141
|
+
* // BackgroundColor: "STRING_VALUE",
|
|
142
|
+
* // BodyConfig: { // InAppMessageBodyConfig
|
|
143
|
+
* // Alignment: "LEFT" || "CENTER" || "RIGHT", // required
|
|
144
|
+
* // Body: "STRING_VALUE", // required
|
|
145
|
+
* // TextColor: "STRING_VALUE", // required
|
|
146
|
+
* // },
|
|
147
|
+
* // HeaderConfig: { // InAppMessageHeaderConfig
|
|
148
|
+
* // Alignment: "LEFT" || "CENTER" || "RIGHT", // required
|
|
149
|
+
* // Header: "STRING_VALUE", // required
|
|
150
|
+
* // TextColor: "STRING_VALUE", // required
|
|
151
|
+
* // },
|
|
152
|
+
* // ImageUrl: "STRING_VALUE",
|
|
153
|
+
* // PrimaryBtn: { // InAppMessageButton
|
|
154
|
+
* // Android: { // OverrideButtonConfiguration
|
|
155
|
+
* // ButtonAction: "LINK" || "DEEP_LINK" || "CLOSE", // required
|
|
156
|
+
* // Link: "STRING_VALUE",
|
|
157
|
+
* // },
|
|
158
|
+
* // DefaultConfig: { // DefaultButtonConfiguration
|
|
159
|
+
* // BackgroundColor: "STRING_VALUE",
|
|
160
|
+
* // BorderRadius: Number("int"),
|
|
161
|
+
* // ButtonAction: "LINK" || "DEEP_LINK" || "CLOSE", // required
|
|
162
|
+
* // Link: "STRING_VALUE",
|
|
163
|
+
* // Text: "STRING_VALUE", // required
|
|
164
|
+
* // TextColor: "STRING_VALUE",
|
|
165
|
+
* // },
|
|
166
|
+
* // IOS: {
|
|
167
|
+
* // ButtonAction: "LINK" || "DEEP_LINK" || "CLOSE", // required
|
|
168
|
+
* // Link: "STRING_VALUE",
|
|
169
|
+
* // },
|
|
170
|
+
* // Web: {
|
|
171
|
+
* // ButtonAction: "LINK" || "DEEP_LINK" || "CLOSE", // required
|
|
172
|
+
* // Link: "STRING_VALUE",
|
|
173
|
+
* // },
|
|
174
|
+
* // },
|
|
175
|
+
* // SecondaryBtn: {
|
|
176
|
+
* // Android: {
|
|
177
|
+
* // ButtonAction: "LINK" || "DEEP_LINK" || "CLOSE", // required
|
|
178
|
+
* // Link: "STRING_VALUE",
|
|
179
|
+
* // },
|
|
180
|
+
* // DefaultConfig: {
|
|
181
|
+
* // BackgroundColor: "STRING_VALUE",
|
|
182
|
+
* // BorderRadius: Number("int"),
|
|
183
|
+
* // ButtonAction: "LINK" || "DEEP_LINK" || "CLOSE", // required
|
|
184
|
+
* // Link: "STRING_VALUE",
|
|
185
|
+
* // Text: "STRING_VALUE", // required
|
|
186
|
+
* // TextColor: "STRING_VALUE",
|
|
187
|
+
* // },
|
|
188
|
+
* // IOS: {
|
|
189
|
+
* // ButtonAction: "LINK" || "DEEP_LINK" || "CLOSE", // required
|
|
190
|
+
* // Link: "STRING_VALUE",
|
|
191
|
+
* // },
|
|
192
|
+
* // Web: "<OverrideButtonConfiguration>",
|
|
193
|
+
* // },
|
|
194
|
+
* // },
|
|
195
|
+
* // ],
|
|
196
|
+
* // CustomConfig: { // MapOf__string
|
|
197
|
+
* // "<keys>": "STRING_VALUE",
|
|
198
|
+
* // },
|
|
199
|
+
* // Layout: "BOTTOM_BANNER" || "TOP_BANNER" || "OVERLAYS" || "MOBILE_FEED" || "MIDDLE_BANNER" || "CAROUSEL",
|
|
200
|
+
* // },
|
|
201
|
+
* // },
|
|
202
|
+
* // Schedule: { // Schedule
|
|
203
|
+
* // EndTime: "STRING_VALUE",
|
|
204
|
+
* // EventFilter: { // CampaignEventFilter
|
|
205
|
+
* // Dimensions: { // EventDimensions
|
|
206
|
+
* // Attributes: { // MapOfAttributeDimension
|
|
207
|
+
* // "<keys>": { // AttributeDimension
|
|
208
|
+
* // AttributeType: "INCLUSIVE" || "EXCLUSIVE" || "CONTAINS" || "BEFORE" || "AFTER" || "ON" || "BETWEEN",
|
|
209
|
+
* // Values: [ // ListOf__string // required
|
|
210
|
+
* // "STRING_VALUE",
|
|
211
|
+
* // ],
|
|
212
|
+
* // },
|
|
213
|
+
* // },
|
|
214
|
+
* // EventType: { // SetDimension
|
|
215
|
+
* // DimensionType: "INCLUSIVE" || "EXCLUSIVE",
|
|
216
|
+
* // Values: [ // required
|
|
217
|
+
* // "STRING_VALUE",
|
|
218
|
+
* // ],
|
|
219
|
+
* // },
|
|
220
|
+
* // Metrics: { // MapOfMetricDimension
|
|
221
|
+
* // "<keys>": { // MetricDimension
|
|
222
|
+
* // ComparisonOperator: "STRING_VALUE", // required
|
|
223
|
+
* // Value: Number("double"), // required
|
|
224
|
+
* // },
|
|
225
|
+
* // },
|
|
226
|
+
* // },
|
|
227
|
+
* // FilterType: "SYSTEM" || "ENDPOINT", // required
|
|
228
|
+
* // },
|
|
229
|
+
* // Frequency: "ONCE" || "HOURLY" || "DAILY" || "WEEKLY" || "MONTHLY" || "EVENT" || "IN_APP_EVENT",
|
|
230
|
+
* // IsLocalTime: true || false,
|
|
231
|
+
* // QuietTime: { // QuietTime
|
|
232
|
+
* // End: "STRING_VALUE",
|
|
233
|
+
* // Start: "STRING_VALUE",
|
|
234
|
+
* // },
|
|
235
|
+
* // StartTime: "STRING_VALUE", // required
|
|
236
|
+
* // Timezone: "STRING_VALUE",
|
|
237
|
+
* // },
|
|
238
|
+
* // SizePercent: Number("int"), // required
|
|
239
|
+
* // State: { // CampaignState
|
|
240
|
+
* // CampaignStatus: "SCHEDULED" || "EXECUTING" || "PENDING_NEXT_RUN" || "COMPLETED" || "PAUSED" || "DELETED" || "INVALID",
|
|
241
|
+
* // },
|
|
242
|
+
* // TemplateConfiguration: { // TemplateConfiguration
|
|
243
|
+
* // EmailTemplate: { // Template
|
|
244
|
+
* // Name: "STRING_VALUE",
|
|
245
|
+
* // Version: "STRING_VALUE",
|
|
246
|
+
* // },
|
|
247
|
+
* // PushTemplate: {
|
|
248
|
+
* // Name: "STRING_VALUE",
|
|
249
|
+
* // Version: "STRING_VALUE",
|
|
250
|
+
* // },
|
|
251
|
+
* // SMSTemplate: {
|
|
252
|
+
* // Name: "STRING_VALUE",
|
|
253
|
+
* // Version: "STRING_VALUE",
|
|
254
|
+
* // },
|
|
255
|
+
* // VoiceTemplate: {
|
|
256
|
+
* // Name: "STRING_VALUE",
|
|
257
|
+
* // Version: "STRING_VALUE",
|
|
258
|
+
* // },
|
|
259
|
+
* // },
|
|
260
|
+
* // TreatmentDescription: "STRING_VALUE",
|
|
261
|
+
* // TreatmentName: "STRING_VALUE",
|
|
262
|
+
* // },
|
|
263
|
+
* // ],
|
|
264
|
+
* // ApplicationId: "STRING_VALUE", // required
|
|
265
|
+
* // Arn: "STRING_VALUE", // required
|
|
266
|
+
* // CreationDate: "STRING_VALUE", // required
|
|
267
|
+
* // CustomDeliveryConfiguration: {
|
|
268
|
+
* // DeliveryUri: "STRING_VALUE", // required
|
|
269
|
+
* // EndpointTypes: [
|
|
270
|
+
* // "PUSH" || "GCM" || "APNS" || "APNS_SANDBOX" || "APNS_VOIP" || "APNS_VOIP_SANDBOX" || "ADM" || "SMS" || "VOICE" || "EMAIL" || "BAIDU" || "CUSTOM" || "IN_APP",
|
|
271
|
+
* // ],
|
|
272
|
+
* // },
|
|
273
|
+
* // DefaultState: {
|
|
274
|
+
* // CampaignStatus: "SCHEDULED" || "EXECUTING" || "PENDING_NEXT_RUN" || "COMPLETED" || "PAUSED" || "DELETED" || "INVALID",
|
|
275
|
+
* // },
|
|
276
|
+
* // Description: "STRING_VALUE",
|
|
277
|
+
* // HoldoutPercent: Number("int"),
|
|
278
|
+
* // Hook: { // CampaignHook
|
|
279
|
+
* // LambdaFunctionName: "STRING_VALUE",
|
|
280
|
+
* // Mode: "DELIVERY" || "FILTER",
|
|
281
|
+
* // WebUrl: "STRING_VALUE",
|
|
282
|
+
* // },
|
|
283
|
+
* // Id: "STRING_VALUE", // required
|
|
284
|
+
* // IsPaused: true || false,
|
|
285
|
+
* // LastModifiedDate: "STRING_VALUE", // required
|
|
286
|
+
* // Limits: { // CampaignLimits
|
|
287
|
+
* // Daily: Number("int"),
|
|
288
|
+
* // MaximumDuration: Number("int"),
|
|
289
|
+
* // MessagesPerSecond: Number("int"),
|
|
290
|
+
* // Total: Number("int"),
|
|
291
|
+
* // Session: Number("int"),
|
|
292
|
+
* // },
|
|
293
|
+
* // MessageConfiguration: {
|
|
294
|
+
* // ADMMessage: "<Message>",
|
|
295
|
+
* // APNSMessage: "<Message>",
|
|
296
|
+
* // BaiduMessage: "<Message>",
|
|
297
|
+
* // CustomMessage: {
|
|
298
|
+
* // Data: "STRING_VALUE",
|
|
299
|
+
* // },
|
|
300
|
+
* // DefaultMessage: "<Message>",
|
|
301
|
+
* // EmailMessage: {
|
|
302
|
+
* // Body: "STRING_VALUE",
|
|
303
|
+
* // FromAddress: "STRING_VALUE",
|
|
304
|
+
* // HtmlBody: "STRING_VALUE",
|
|
305
|
+
* // Title: "STRING_VALUE",
|
|
306
|
+
* // },
|
|
307
|
+
* // GCMMessage: "<Message>",
|
|
308
|
+
* // SMSMessage: {
|
|
309
|
+
* // Body: "STRING_VALUE",
|
|
310
|
+
* // MessageType: "TRANSACTIONAL" || "PROMOTIONAL",
|
|
311
|
+
* // OriginationNumber: "STRING_VALUE",
|
|
312
|
+
* // SenderId: "STRING_VALUE",
|
|
313
|
+
* // EntityId: "STRING_VALUE",
|
|
314
|
+
* // TemplateId: "STRING_VALUE",
|
|
315
|
+
* // },
|
|
316
|
+
* // InAppMessage: {
|
|
317
|
+
* // Body: "STRING_VALUE",
|
|
318
|
+
* // Content: [
|
|
319
|
+
* // {
|
|
320
|
+
* // BackgroundColor: "STRING_VALUE",
|
|
321
|
+
* // BodyConfig: {
|
|
322
|
+
* // Alignment: "LEFT" || "CENTER" || "RIGHT", // required
|
|
323
|
+
* // Body: "STRING_VALUE", // required
|
|
324
|
+
* // TextColor: "STRING_VALUE", // required
|
|
325
|
+
* // },
|
|
326
|
+
* // HeaderConfig: {
|
|
327
|
+
* // Alignment: "LEFT" || "CENTER" || "RIGHT", // required
|
|
328
|
+
* // Header: "STRING_VALUE", // required
|
|
329
|
+
* // TextColor: "STRING_VALUE", // required
|
|
330
|
+
* // },
|
|
331
|
+
* // ImageUrl: "STRING_VALUE",
|
|
332
|
+
* // PrimaryBtn: {
|
|
333
|
+
* // Android: "<OverrideButtonConfiguration>",
|
|
334
|
+
* // DefaultConfig: {
|
|
335
|
+
* // BackgroundColor: "STRING_VALUE",
|
|
336
|
+
* // BorderRadius: Number("int"),
|
|
337
|
+
* // ButtonAction: "LINK" || "DEEP_LINK" || "CLOSE", // required
|
|
338
|
+
* // Link: "STRING_VALUE",
|
|
339
|
+
* // Text: "STRING_VALUE", // required
|
|
340
|
+
* // TextColor: "STRING_VALUE",
|
|
341
|
+
* // },
|
|
342
|
+
* // IOS: "<OverrideButtonConfiguration>",
|
|
343
|
+
* // Web: "<OverrideButtonConfiguration>",
|
|
344
|
+
* // },
|
|
345
|
+
* // SecondaryBtn: {
|
|
346
|
+
* // Android: "<OverrideButtonConfiguration>",
|
|
347
|
+
* // DefaultConfig: {
|
|
348
|
+
* // BackgroundColor: "STRING_VALUE",
|
|
349
|
+
* // BorderRadius: Number("int"),
|
|
350
|
+
* // ButtonAction: "LINK" || "DEEP_LINK" || "CLOSE", // required
|
|
351
|
+
* // Link: "STRING_VALUE",
|
|
352
|
+
* // Text: "STRING_VALUE", // required
|
|
353
|
+
* // TextColor: "STRING_VALUE",
|
|
354
|
+
* // },
|
|
355
|
+
* // IOS: "<OverrideButtonConfiguration>",
|
|
356
|
+
* // Web: "<OverrideButtonConfiguration>",
|
|
357
|
+
* // },
|
|
358
|
+
* // },
|
|
359
|
+
* // ],
|
|
360
|
+
* // CustomConfig: {
|
|
361
|
+
* // "<keys>": "STRING_VALUE",
|
|
362
|
+
* // },
|
|
363
|
+
* // Layout: "BOTTOM_BANNER" || "TOP_BANNER" || "OVERLAYS" || "MOBILE_FEED" || "MIDDLE_BANNER" || "CAROUSEL",
|
|
364
|
+
* // },
|
|
365
|
+
* // },
|
|
366
|
+
* // Name: "STRING_VALUE",
|
|
367
|
+
* // Schedule: {
|
|
368
|
+
* // EndTime: "STRING_VALUE",
|
|
369
|
+
* // EventFilter: {
|
|
370
|
+
* // Dimensions: {
|
|
371
|
+
* // Attributes: {
|
|
372
|
+
* // "<keys>": {
|
|
373
|
+
* // AttributeType: "INCLUSIVE" || "EXCLUSIVE" || "CONTAINS" || "BEFORE" || "AFTER" || "ON" || "BETWEEN",
|
|
374
|
+
* // Values: "<ListOf__string>", // required
|
|
375
|
+
* // },
|
|
376
|
+
* // },
|
|
377
|
+
* // EventType: {
|
|
378
|
+
* // DimensionType: "INCLUSIVE" || "EXCLUSIVE",
|
|
379
|
+
* // Values: "<ListOf__string>", // required
|
|
380
|
+
* // },
|
|
381
|
+
* // Metrics: {
|
|
382
|
+
* // "<keys>": {
|
|
383
|
+
* // ComparisonOperator: "STRING_VALUE", // required
|
|
384
|
+
* // Value: Number("double"), // required
|
|
385
|
+
* // },
|
|
386
|
+
* // },
|
|
387
|
+
* // },
|
|
388
|
+
* // FilterType: "SYSTEM" || "ENDPOINT", // required
|
|
389
|
+
* // },
|
|
390
|
+
* // Frequency: "ONCE" || "HOURLY" || "DAILY" || "WEEKLY" || "MONTHLY" || "EVENT" || "IN_APP_EVENT",
|
|
391
|
+
* // IsLocalTime: true || false,
|
|
392
|
+
* // QuietTime: {
|
|
393
|
+
* // End: "STRING_VALUE",
|
|
394
|
+
* // Start: "STRING_VALUE",
|
|
395
|
+
* // },
|
|
396
|
+
* // StartTime: "STRING_VALUE", // required
|
|
397
|
+
* // Timezone: "STRING_VALUE",
|
|
398
|
+
* // },
|
|
399
|
+
* // SegmentId: "STRING_VALUE", // required
|
|
400
|
+
* // SegmentVersion: Number("int"), // required
|
|
401
|
+
* // State: {
|
|
402
|
+
* // CampaignStatus: "SCHEDULED" || "EXECUTING" || "PENDING_NEXT_RUN" || "COMPLETED" || "PAUSED" || "DELETED" || "INVALID",
|
|
403
|
+
* // },
|
|
404
|
+
* // tags: "<MapOf__string>",
|
|
405
|
+
* // TemplateConfiguration: {
|
|
406
|
+
* // EmailTemplate: {
|
|
407
|
+
* // Name: "STRING_VALUE",
|
|
408
|
+
* // Version: "STRING_VALUE",
|
|
409
|
+
* // },
|
|
410
|
+
* // PushTemplate: "<Template>",
|
|
411
|
+
* // SMSTemplate: "<Template>",
|
|
412
|
+
* // VoiceTemplate: "<Template>",
|
|
413
|
+
* // },
|
|
414
|
+
* // TreatmentDescription: "STRING_VALUE",
|
|
415
|
+
* // TreatmentName: "STRING_VALUE",
|
|
416
|
+
* // Version: Number("int"),
|
|
417
|
+
* // Priority: Number("int"),
|
|
418
|
+
* // },
|
|
419
|
+
* // ],
|
|
420
|
+
* // NextToken: "STRING_VALUE",
|
|
421
|
+
* // },
|
|
422
|
+
* // };
|
|
423
|
+
*
|
|
424
|
+
* ```
|
|
425
|
+
*
|
|
426
|
+
* @param GetCampaignsCommandInput - {@link GetCampaignsCommandInput}
|
|
427
|
+
* @returns {@link GetCampaignsCommandOutput}
|
|
428
|
+
* @see {@link GetCampaignsCommandInput} for command's `input` shape.
|
|
429
|
+
* @see {@link GetCampaignsCommandOutput} for command's `response` shape.
|
|
430
|
+
* @see {@link PinpointClientResolvedConfig | config} for PinpointClient's `config` shape.
|
|
431
|
+
*
|
|
432
|
+
* @throws {@link BadRequestException} (client fault)
|
|
433
|
+
* <p>Provides information about an API request or response.</p>
|
|
434
|
+
*
|
|
435
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
436
|
+
* <p>Provides information about an API request or response.</p>
|
|
437
|
+
*
|
|
438
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
439
|
+
* <p>Provides information about an API request or response.</p>
|
|
440
|
+
*
|
|
441
|
+
* @throws {@link MethodNotAllowedException} (client fault)
|
|
442
|
+
* <p>Provides information about an API request or response.</p>
|
|
443
|
+
*
|
|
444
|
+
* @throws {@link NotFoundException} (client fault)
|
|
445
|
+
* <p>Provides information about an API request or response.</p>
|
|
446
|
+
*
|
|
447
|
+
* @throws {@link PayloadTooLargeException} (client fault)
|
|
448
|
+
* <p>Provides information about an API request or response.</p>
|
|
449
|
+
*
|
|
450
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
451
|
+
* <p>Provides information about an API request or response.</p>
|
|
452
|
+
*
|
|
453
|
+
* @throws {@link PinpointServiceException}
|
|
454
|
+
* <p>Base exception class for all service exceptions from Pinpoint service.</p>
|
|
455
|
+
*
|
|
456
|
+
*/
|
|
457
|
+
export declare class GetCampaignsCommand extends $Command<GetCampaignsCommandInput, GetCampaignsCommandOutput, PinpointClientResolvedConfig> {
|
|
458
|
+
readonly input: GetCampaignsCommandInput;
|
|
459
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
460
|
+
/**
|
|
461
|
+
* @public
|
|
462
|
+
*/
|
|
463
|
+
constructor(input: GetCampaignsCommandInput);
|
|
464
|
+
/**
|
|
465
|
+
* @internal
|
|
466
|
+
*/
|
|
467
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetCampaignsCommandInput, GetCampaignsCommandOutput>;
|
|
468
|
+
/**
|
|
469
|
+
* @internal
|
|
470
|
+
*/
|
|
471
|
+
private serialize;
|
|
472
|
+
/**
|
|
473
|
+
* @internal
|
|
474
|
+
*/
|
|
475
|
+
private deserialize;
|
|
476
|
+
}
|
|
@@ -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
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
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 { GetChannelsRequest, GetChannelsResponse } from "../models/models_1";
|
|
5
|
+
import { PinpointClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link GetChannelsCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface GetChannelsCommandInput extends GetChannelsRequest {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link GetChannelsCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface GetChannelsCommandOutput extends GetChannelsResponse, __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>Retrieves information about the history and status of each 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, GetChannelsCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
|
|
27
|
+
* // const { PinpointClient, GetChannelsCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
|
|
28
|
+
* const client = new PinpointClient(config);
|
|
29
|
+
* const input = { // GetChannelsRequest
|
|
30
|
+
* ApplicationId: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
32
|
+
* const command = new GetChannelsCommand(input);
|
|
33
|
+
* const response = await client.send(command);
|
|
34
|
+
* // { // GetChannelsResponse
|
|
35
|
+
* // ChannelsResponse: { // ChannelsResponse
|
|
36
|
+
* // Channels: { // MapOfChannelResponse // required
|
|
37
|
+
* // "<keys>": { // ChannelResponse
|
|
38
|
+
* // ApplicationId: "STRING_VALUE",
|
|
39
|
+
* // CreationDate: "STRING_VALUE",
|
|
40
|
+
* // Enabled: true || false,
|
|
41
|
+
* // HasCredential: true || false,
|
|
42
|
+
* // Id: "STRING_VALUE",
|
|
43
|
+
* // IsArchived: true || false,
|
|
44
|
+
* // LastModifiedBy: "STRING_VALUE",
|
|
45
|
+
* // LastModifiedDate: "STRING_VALUE",
|
|
46
|
+
* // Version: Number("int"),
|
|
47
|
+
* // },
|
|
48
|
+
* // },
|
|
49
|
+
* // },
|
|
50
|
+
* // };
|
|
51
|
+
*
|
|
52
|
+
* ```
|
|
53
|
+
*
|
|
54
|
+
* @param GetChannelsCommandInput - {@link GetChannelsCommandInput}
|
|
55
|
+
* @returns {@link GetChannelsCommandOutput}
|
|
56
|
+
* @see {@link GetChannelsCommandInput} for command's `input` shape.
|
|
57
|
+
* @see {@link GetChannelsCommandOutput} 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 GetChannelsCommand extends $Command<GetChannelsCommandInput, GetChannelsCommandOutput, PinpointClientResolvedConfig> {
|
|
86
|
+
readonly input: GetChannelsCommandInput;
|
|
87
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
88
|
+
/**
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
constructor(input: GetChannelsCommandInput);
|
|
92
|
+
/**
|
|
93
|
+
* @internal
|
|
94
|
+
*/
|
|
95
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetChannelsCommandInput, GetChannelsCommandOutput>;
|
|
96
|
+
/**
|
|
97
|
+
* @internal
|
|
98
|
+
*/
|
|
99
|
+
private serialize;
|
|
100
|
+
/**
|
|
101
|
+
* @internal
|
|
102
|
+
*/
|
|
103
|
+
private deserialize;
|
|
104
|
+
}
|