@aws-sdk/client-pinpoint 3.325.0 → 3.327.0
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/dist-types/commands/CreateAppCommand.d.ts +14 -0
- package/dist-types/commands/CreateCampaignCommand.d.ts +385 -0
- package/dist-types/commands/CreateEmailTemplateCommand.d.ts +10 -0
- package/dist-types/commands/CreateExportJobCommand.d.ts +27 -0
- package/dist-types/commands/CreateImportJobCommand.d.ts +31 -0
- package/dist-types/commands/CreateInAppTemplateCommand.d.ts +10 -0
- package/dist-types/commands/CreateJourneyCommand.d.ts +383 -0
- package/dist-types/commands/CreatePushTemplateCommand.d.ts +10 -0
- package/dist-types/commands/CreateRecommenderConfigurationCommand.d.ts +21 -0
- package/dist-types/commands/CreateSegmentCommand.d.ts +158 -0
- package/dist-types/commands/CreateSmsTemplateCommand.d.ts +10 -0
- package/dist-types/commands/CreateVoiceTemplateCommand.d.ts +10 -0
- package/dist-types/commands/DeleteAdmChannelCommand.d.ts +17 -0
- package/dist-types/commands/DeleteApnsChannelCommand.d.ts +19 -0
- package/dist-types/commands/DeleteApnsSandboxChannelCommand.d.ts +19 -0
- package/dist-types/commands/DeleteApnsVoipChannelCommand.d.ts +19 -0
- package/dist-types/commands/DeleteApnsVoipSandboxChannelCommand.d.ts +19 -0
- package/dist-types/commands/DeleteAppCommand.d.ts +14 -0
- package/dist-types/commands/DeleteBaiduChannelCommand.d.ts +18 -0
- package/dist-types/commands/DeleteCampaignCommand.d.ts +385 -0
- package/dist-types/commands/DeleteEmailChannelCommand.d.ts +22 -0
- package/dist-types/commands/DeleteEmailTemplateCommand.d.ts +9 -0
- package/dist-types/commands/DeleteEndpointCommand.d.ts +51 -0
- package/dist-types/commands/DeleteEventStreamCommand.d.ts +13 -0
- package/dist-types/commands/DeleteGcmChannelCommand.d.ts +18 -0
- package/dist-types/commands/DeleteInAppTemplateCommand.d.ts +9 -0
- package/dist-types/commands/DeleteJourneyCommand.d.ts +383 -0
- package/dist-types/commands/DeletePushTemplateCommand.d.ts +9 -0
- package/dist-types/commands/DeleteRecommenderConfigurationCommand.d.ts +21 -0
- package/dist-types/commands/DeleteSegmentCommand.d.ts +158 -0
- package/dist-types/commands/DeleteSmsChannelCommand.d.ts +21 -0
- package/dist-types/commands/DeleteSmsTemplateCommand.d.ts +9 -0
- package/dist-types/commands/DeleteUserEndpointsCommand.d.ts +55 -0
- package/dist-types/commands/DeleteVoiceChannelCommand.d.ts +17 -0
- package/dist-types/commands/DeleteVoiceTemplateCommand.d.ts +9 -0
- package/dist-types/commands/GetAdmChannelCommand.d.ts +17 -0
- package/dist-types/commands/GetApnsChannelCommand.d.ts +19 -0
- package/dist-types/commands/GetApnsSandboxChannelCommand.d.ts +19 -0
- package/dist-types/commands/GetApnsVoipChannelCommand.d.ts +19 -0
- package/dist-types/commands/GetApnsVoipSandboxChannelCommand.d.ts +19 -0
- package/dist-types/commands/GetAppCommand.d.ts +14 -0
- package/dist-types/commands/GetApplicationDateRangeKpiCommand.d.ts +32 -0
- package/dist-types/commands/GetApplicationSettingsCommand.d.ts +25 -0
- package/dist-types/commands/GetAppsCommand.d.ts +19 -0
- package/dist-types/commands/GetBaiduChannelCommand.d.ts +18 -0
- package/dist-types/commands/GetCampaignActivitiesCommand.d.ts +28 -0
- package/dist-types/commands/GetCampaignCommand.d.ts +385 -0
- package/dist-types/commands/GetCampaignDateRangeKpiCommand.d.ts +33 -0
- package/dist-types/commands/GetCampaignVersionCommand.d.ts +385 -0
- package/dist-types/commands/GetCampaignVersionsCommand.d.ts +390 -0
- package/dist-types/commands/GetCampaignsCommand.d.ts +390 -0
- package/dist-types/commands/GetChannelsCommand.d.ts +20 -0
- package/dist-types/commands/GetEmailChannelCommand.d.ts +22 -0
- package/dist-types/commands/GetEmailTemplateCommand.d.ts +22 -0
- package/dist-types/commands/GetEndpointCommand.d.ts +51 -0
- package/dist-types/commands/GetEventStreamCommand.d.ts +13 -0
- package/dist-types/commands/GetExportJobCommand.d.ts +27 -0
- package/dist-types/commands/GetExportJobsCommand.d.ts +32 -0
- package/dist-types/commands/GetGcmChannelCommand.d.ts +18 -0
- package/dist-types/commands/GetImportJobCommand.d.ts +31 -0
- package/dist-types/commands/GetImportJobsCommand.d.ts +36 -0
- package/dist-types/commands/GetInAppMessagesCommand.d.ts +112 -0
- package/dist-types/commands/GetInAppTemplateCommand.d.ts +78 -0
- package/dist-types/commands/GetJourneyCommand.d.ts +383 -0
- package/dist-types/commands/GetJourneyDateRangeKpiCommand.d.ts +33 -0
- package/dist-types/commands/GetJourneyExecutionActivityMetricsCommand.d.ts +15 -0
- package/dist-types/commands/GetJourneyExecutionMetricsCommand.d.ts +13 -0
- package/dist-types/commands/GetJourneyRunExecutionActivityMetricsCommand.d.ts +16 -0
- package/dist-types/commands/GetJourneyRunExecutionMetricsCommand.d.ts +14 -0
- package/dist-types/commands/GetJourneyRunsCommand.d.ts +16 -0
- package/dist-types/commands/GetPushTemplateCommand.d.ts +68 -0
- package/dist-types/commands/GetRecommenderConfigurationCommand.d.ts +21 -0
- package/dist-types/commands/GetRecommenderConfigurationsCommand.d.ts +26 -0
- package/dist-types/commands/GetSegmentCommand.d.ts +158 -0
- package/dist-types/commands/GetSegmentExportJobsCommand.d.ts +32 -0
- package/dist-types/commands/GetSegmentImportJobsCommand.d.ts +36 -0
- package/dist-types/commands/GetSegmentVersionCommand.d.ts +158 -0
- package/dist-types/commands/GetSegmentVersionsCommand.d.ts +163 -0
- package/dist-types/commands/GetSegmentsCommand.d.ts +163 -0
- package/dist-types/commands/GetSmsChannelCommand.d.ts +21 -0
- package/dist-types/commands/GetSmsTemplateCommand.d.ts +20 -0
- package/dist-types/commands/GetUserEndpointsCommand.d.ts +55 -0
- package/dist-types/commands/GetVoiceChannelCommand.d.ts +17 -0
- package/dist-types/commands/GetVoiceTemplateCommand.d.ts +21 -0
- package/dist-types/commands/ListJourneysCommand.d.ts +388 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +10 -0
- package/dist-types/commands/ListTemplateVersionsCommand.d.ts +21 -0
- package/dist-types/commands/ListTemplatesCommand.d.ts +23 -0
- package/dist-types/commands/PhoneNumberValidateCommand.d.ts +21 -0
- package/dist-types/commands/PutEventStreamCommand.d.ts +13 -0
- package/dist-types/commands/PutEventsCommand.d.ts +21 -0
- package/dist-types/commands/RemoveAttributesCommand.d.ts +12 -0
- package/dist-types/commands/SendMessagesCommand.d.ts +28 -0
- package/dist-types/commands/SendOTPMessageCommand.d.ts +28 -0
- package/dist-types/commands/SendUsersMessagesCommand.d.ts +21 -0
- package/dist-types/commands/TagResourceCommand.d.ts +4 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
- package/dist-types/commands/UpdateAdmChannelCommand.d.ts +17 -0
- package/dist-types/commands/UpdateApnsChannelCommand.d.ts +19 -0
- package/dist-types/commands/UpdateApnsSandboxChannelCommand.d.ts +19 -0
- package/dist-types/commands/UpdateApnsVoipChannelCommand.d.ts +19 -0
- package/dist-types/commands/UpdateApnsVoipSandboxChannelCommand.d.ts +19 -0
- package/dist-types/commands/UpdateApplicationSettingsCommand.d.ts +25 -0
- package/dist-types/commands/UpdateBaiduChannelCommand.d.ts +18 -0
- package/dist-types/commands/UpdateCampaignCommand.d.ts +385 -0
- package/dist-types/commands/UpdateEmailChannelCommand.d.ts +22 -0
- package/dist-types/commands/UpdateEmailTemplateCommand.d.ts +9 -0
- package/dist-types/commands/UpdateEndpointCommand.d.ts +9 -0
- package/dist-types/commands/UpdateEndpointsBatchCommand.d.ts +9 -0
- package/dist-types/commands/UpdateGcmChannelCommand.d.ts +18 -0
- package/dist-types/commands/UpdateInAppTemplateCommand.d.ts +9 -0
- package/dist-types/commands/UpdateJourneyCommand.d.ts +383 -0
- package/dist-types/commands/UpdateJourneyStateCommand.d.ts +383 -0
- package/dist-types/commands/UpdatePushTemplateCommand.d.ts +9 -0
- package/dist-types/commands/UpdateRecommenderConfigurationCommand.d.ts +21 -0
- package/dist-types/commands/UpdateSegmentCommand.d.ts +158 -0
- package/dist-types/commands/UpdateSmsChannelCommand.d.ts +21 -0
- package/dist-types/commands/UpdateSmsTemplateCommand.d.ts +9 -0
- package/dist-types/commands/UpdateTemplateActiveVersionCommand.d.ts +9 -0
- package/dist-types/commands/UpdateVoiceChannelCommand.d.ts +17 -0
- package/dist-types/commands/UpdateVoiceTemplateCommand.d.ts +9 -0
- package/dist-types/commands/VerifyOTPMessageCommand.d.ts +8 -0
- package/package.json +7 -7
|
@@ -33,6 +33,36 @@ export interface GetExportJobsCommandOutput extends GetExportJobsResponse, __Met
|
|
|
33
33
|
* };
|
|
34
34
|
* const command = new GetExportJobsCommand(input);
|
|
35
35
|
* const response = await client.send(command);
|
|
36
|
+
* // { // GetExportJobsResponse
|
|
37
|
+
* // ExportJobsResponse: { // ExportJobsResponse
|
|
38
|
+
* // Item: [ // ListOfExportJobResponse // required
|
|
39
|
+
* // { // ExportJobResponse
|
|
40
|
+
* // ApplicationId: "STRING_VALUE", // required
|
|
41
|
+
* // CompletedPieces: Number("int"),
|
|
42
|
+
* // CompletionDate: "STRING_VALUE",
|
|
43
|
+
* // CreationDate: "STRING_VALUE", // required
|
|
44
|
+
* // Definition: { // ExportJobResource
|
|
45
|
+
* // RoleArn: "STRING_VALUE", // required
|
|
46
|
+
* // S3UrlPrefix: "STRING_VALUE", // required
|
|
47
|
+
* // SegmentId: "STRING_VALUE",
|
|
48
|
+
* // SegmentVersion: Number("int"),
|
|
49
|
+
* // },
|
|
50
|
+
* // FailedPieces: Number("int"),
|
|
51
|
+
* // Failures: [ // ListOf__string
|
|
52
|
+
* // "STRING_VALUE",
|
|
53
|
+
* // ],
|
|
54
|
+
* // Id: "STRING_VALUE", // required
|
|
55
|
+
* // JobStatus: "CREATED" || "PREPARING_FOR_INITIALIZATION" || "INITIALIZING" || "PROCESSING" || "PENDING_JOB" || "COMPLETING" || "COMPLETED" || "FAILING" || "FAILED", // required
|
|
56
|
+
* // TotalFailures: Number("int"),
|
|
57
|
+
* // TotalPieces: Number("int"),
|
|
58
|
+
* // TotalProcessed: Number("int"),
|
|
59
|
+
* // Type: "STRING_VALUE", // required
|
|
60
|
+
* // },
|
|
61
|
+
* // ],
|
|
62
|
+
* // NextToken: "STRING_VALUE",
|
|
63
|
+
* // },
|
|
64
|
+
* // };
|
|
65
|
+
*
|
|
36
66
|
* ```
|
|
37
67
|
*
|
|
38
68
|
* @param GetExportJobsCommandInput - {@link GetExportJobsCommandInput}
|
|
@@ -62,6 +92,8 @@ export interface GetExportJobsCommandOutput extends GetExportJobsResponse, __Met
|
|
|
62
92
|
* @throws {@link TooManyRequestsException} (client fault)
|
|
63
93
|
* <p>Provides information about an API request or response.</p>
|
|
64
94
|
*
|
|
95
|
+
* @throws {@link PinpointServiceException}
|
|
96
|
+
* <p>Base exception class for all service exceptions from Pinpoint service.</p>
|
|
65
97
|
*
|
|
66
98
|
*/
|
|
67
99
|
export declare class GetExportJobsCommand extends $Command<GetExportJobsCommandInput, GetExportJobsCommandOutput, PinpointClientResolvedConfig> {
|
|
@@ -31,6 +31,22 @@ export interface GetGcmChannelCommandOutput extends GetGcmChannelResponse, __Met
|
|
|
31
31
|
* };
|
|
32
32
|
* const command = new GetGcmChannelCommand(input);
|
|
33
33
|
* const response = await client.send(command);
|
|
34
|
+
* // { // GetGcmChannelResponse
|
|
35
|
+
* // GCMChannelResponse: { // GCMChannelResponse
|
|
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
|
+
*
|
|
34
50
|
* ```
|
|
35
51
|
*
|
|
36
52
|
* @param GetGcmChannelCommandInput - {@link GetGcmChannelCommandInput}
|
|
@@ -60,6 +76,8 @@ export interface GetGcmChannelCommandOutput extends GetGcmChannelResponse, __Met
|
|
|
60
76
|
* @throws {@link TooManyRequestsException} (client fault)
|
|
61
77
|
* <p>Provides information about an API request or response.</p>
|
|
62
78
|
*
|
|
79
|
+
* @throws {@link PinpointServiceException}
|
|
80
|
+
* <p>Base exception class for all service exceptions from Pinpoint service.</p>
|
|
63
81
|
*
|
|
64
82
|
*/
|
|
65
83
|
export declare class GetGcmChannelCommand extends $Command<GetGcmChannelCommandInput, GetGcmChannelCommandOutput, PinpointClientResolvedConfig> {
|
|
@@ -32,6 +32,35 @@ export interface GetImportJobCommandOutput extends GetImportJobResponse, __Metad
|
|
|
32
32
|
* };
|
|
33
33
|
* const command = new GetImportJobCommand(input);
|
|
34
34
|
* const response = await client.send(command);
|
|
35
|
+
* // { // GetImportJobResponse
|
|
36
|
+
* // ImportJobResponse: { // ImportJobResponse
|
|
37
|
+
* // ApplicationId: "STRING_VALUE", // required
|
|
38
|
+
* // CompletedPieces: Number("int"),
|
|
39
|
+
* // CompletionDate: "STRING_VALUE",
|
|
40
|
+
* // CreationDate: "STRING_VALUE", // required
|
|
41
|
+
* // Definition: { // ImportJobResource
|
|
42
|
+
* // DefineSegment: true || false,
|
|
43
|
+
* // ExternalId: "STRING_VALUE",
|
|
44
|
+
* // Format: "CSV" || "JSON", // required
|
|
45
|
+
* // RegisterEndpoints: true || false,
|
|
46
|
+
* // RoleArn: "STRING_VALUE", // required
|
|
47
|
+
* // S3Url: "STRING_VALUE", // required
|
|
48
|
+
* // SegmentId: "STRING_VALUE",
|
|
49
|
+
* // SegmentName: "STRING_VALUE",
|
|
50
|
+
* // },
|
|
51
|
+
* // FailedPieces: Number("int"),
|
|
52
|
+
* // Failures: [ // ListOf__string
|
|
53
|
+
* // "STRING_VALUE",
|
|
54
|
+
* // ],
|
|
55
|
+
* // Id: "STRING_VALUE", // required
|
|
56
|
+
* // JobStatus: "CREATED" || "PREPARING_FOR_INITIALIZATION" || "INITIALIZING" || "PROCESSING" || "PENDING_JOB" || "COMPLETING" || "COMPLETED" || "FAILING" || "FAILED", // required
|
|
57
|
+
* // TotalFailures: Number("int"),
|
|
58
|
+
* // TotalPieces: Number("int"),
|
|
59
|
+
* // TotalProcessed: Number("int"),
|
|
60
|
+
* // Type: "STRING_VALUE", // required
|
|
61
|
+
* // },
|
|
62
|
+
* // };
|
|
63
|
+
*
|
|
35
64
|
* ```
|
|
36
65
|
*
|
|
37
66
|
* @param GetImportJobCommandInput - {@link GetImportJobCommandInput}
|
|
@@ -61,6 +90,8 @@ export interface GetImportJobCommandOutput extends GetImportJobResponse, __Metad
|
|
|
61
90
|
* @throws {@link TooManyRequestsException} (client fault)
|
|
62
91
|
* <p>Provides information about an API request or response.</p>
|
|
63
92
|
*
|
|
93
|
+
* @throws {@link PinpointServiceException}
|
|
94
|
+
* <p>Base exception class for all service exceptions from Pinpoint service.</p>
|
|
64
95
|
*
|
|
65
96
|
*/
|
|
66
97
|
export declare class GetImportJobCommand extends $Command<GetImportJobCommandInput, GetImportJobCommandOutput, PinpointClientResolvedConfig> {
|
|
@@ -33,6 +33,40 @@ export interface GetImportJobsCommandOutput extends GetImportJobsResponse, __Met
|
|
|
33
33
|
* };
|
|
34
34
|
* const command = new GetImportJobsCommand(input);
|
|
35
35
|
* const response = await client.send(command);
|
|
36
|
+
* // { // GetImportJobsResponse
|
|
37
|
+
* // ImportJobsResponse: { // ImportJobsResponse
|
|
38
|
+
* // Item: [ // ListOfImportJobResponse // required
|
|
39
|
+
* // { // ImportJobResponse
|
|
40
|
+
* // ApplicationId: "STRING_VALUE", // required
|
|
41
|
+
* // CompletedPieces: Number("int"),
|
|
42
|
+
* // CompletionDate: "STRING_VALUE",
|
|
43
|
+
* // CreationDate: "STRING_VALUE", // required
|
|
44
|
+
* // Definition: { // ImportJobResource
|
|
45
|
+
* // DefineSegment: true || false,
|
|
46
|
+
* // ExternalId: "STRING_VALUE",
|
|
47
|
+
* // Format: "CSV" || "JSON", // required
|
|
48
|
+
* // RegisterEndpoints: true || false,
|
|
49
|
+
* // RoleArn: "STRING_VALUE", // required
|
|
50
|
+
* // S3Url: "STRING_VALUE", // required
|
|
51
|
+
* // SegmentId: "STRING_VALUE",
|
|
52
|
+
* // SegmentName: "STRING_VALUE",
|
|
53
|
+
* // },
|
|
54
|
+
* // FailedPieces: Number("int"),
|
|
55
|
+
* // Failures: [ // ListOf__string
|
|
56
|
+
* // "STRING_VALUE",
|
|
57
|
+
* // ],
|
|
58
|
+
* // Id: "STRING_VALUE", // required
|
|
59
|
+
* // JobStatus: "CREATED" || "PREPARING_FOR_INITIALIZATION" || "INITIALIZING" || "PROCESSING" || "PENDING_JOB" || "COMPLETING" || "COMPLETED" || "FAILING" || "FAILED", // required
|
|
60
|
+
* // TotalFailures: Number("int"),
|
|
61
|
+
* // TotalPieces: Number("int"),
|
|
62
|
+
* // TotalProcessed: Number("int"),
|
|
63
|
+
* // Type: "STRING_VALUE", // required
|
|
64
|
+
* // },
|
|
65
|
+
* // ],
|
|
66
|
+
* // NextToken: "STRING_VALUE",
|
|
67
|
+
* // },
|
|
68
|
+
* // };
|
|
69
|
+
*
|
|
36
70
|
* ```
|
|
37
71
|
*
|
|
38
72
|
* @param GetImportJobsCommandInput - {@link GetImportJobsCommandInput}
|
|
@@ -62,6 +96,8 @@ export interface GetImportJobsCommandOutput extends GetImportJobsResponse, __Met
|
|
|
62
96
|
* @throws {@link TooManyRequestsException} (client fault)
|
|
63
97
|
* <p>Provides information about an API request or response.</p>
|
|
64
98
|
*
|
|
99
|
+
* @throws {@link PinpointServiceException}
|
|
100
|
+
* <p>Base exception class for all service exceptions from Pinpoint service.</p>
|
|
65
101
|
*
|
|
66
102
|
*/
|
|
67
103
|
export declare class GetImportJobsCommand extends $Command<GetImportJobsCommandInput, GetImportJobsCommandOutput, PinpointClientResolvedConfig> {
|
|
@@ -32,6 +32,116 @@ export interface GetInAppMessagesCommandOutput extends GetInAppMessagesResponse,
|
|
|
32
32
|
* };
|
|
33
33
|
* const command = new GetInAppMessagesCommand(input);
|
|
34
34
|
* const response = await client.send(command);
|
|
35
|
+
* // { // GetInAppMessagesResponse
|
|
36
|
+
* // InAppMessagesResponse: { // InAppMessagesResponse
|
|
37
|
+
* // InAppMessageCampaigns: [ // ListOfInAppMessageCampaign
|
|
38
|
+
* // { // InAppMessageCampaign
|
|
39
|
+
* // CampaignId: "STRING_VALUE",
|
|
40
|
+
* // DailyCap: Number("int"),
|
|
41
|
+
* // InAppMessage: { // InAppMessage
|
|
42
|
+
* // Content: [ // ListOfInAppMessageContent
|
|
43
|
+
* // { // InAppMessageContent
|
|
44
|
+
* // BackgroundColor: "STRING_VALUE",
|
|
45
|
+
* // BodyConfig: { // InAppMessageBodyConfig
|
|
46
|
+
* // Alignment: "LEFT" || "CENTER" || "RIGHT", // required
|
|
47
|
+
* // Body: "STRING_VALUE", // required
|
|
48
|
+
* // TextColor: "STRING_VALUE", // required
|
|
49
|
+
* // },
|
|
50
|
+
* // HeaderConfig: { // InAppMessageHeaderConfig
|
|
51
|
+
* // Alignment: "LEFT" || "CENTER" || "RIGHT", // required
|
|
52
|
+
* // Header: "STRING_VALUE", // required
|
|
53
|
+
* // TextColor: "STRING_VALUE", // required
|
|
54
|
+
* // },
|
|
55
|
+
* // ImageUrl: "STRING_VALUE",
|
|
56
|
+
* // PrimaryBtn: { // InAppMessageButton
|
|
57
|
+
* // Android: { // OverrideButtonConfiguration
|
|
58
|
+
* // ButtonAction: "LINK" || "DEEP_LINK" || "CLOSE", // required
|
|
59
|
+
* // Link: "STRING_VALUE",
|
|
60
|
+
* // },
|
|
61
|
+
* // DefaultConfig: { // DefaultButtonConfiguration
|
|
62
|
+
* // BackgroundColor: "STRING_VALUE",
|
|
63
|
+
* // BorderRadius: Number("int"),
|
|
64
|
+
* // ButtonAction: "LINK" || "DEEP_LINK" || "CLOSE", // required
|
|
65
|
+
* // Link: "STRING_VALUE",
|
|
66
|
+
* // Text: "STRING_VALUE", // required
|
|
67
|
+
* // TextColor: "STRING_VALUE",
|
|
68
|
+
* // },
|
|
69
|
+
* // IOS: {
|
|
70
|
+
* // ButtonAction: "LINK" || "DEEP_LINK" || "CLOSE", // required
|
|
71
|
+
* // Link: "STRING_VALUE",
|
|
72
|
+
* // },
|
|
73
|
+
* // Web: {
|
|
74
|
+
* // ButtonAction: "LINK" || "DEEP_LINK" || "CLOSE", // required
|
|
75
|
+
* // Link: "STRING_VALUE",
|
|
76
|
+
* // },
|
|
77
|
+
* // },
|
|
78
|
+
* // SecondaryBtn: {
|
|
79
|
+
* // Android: {
|
|
80
|
+
* // ButtonAction: "LINK" || "DEEP_LINK" || "CLOSE", // required
|
|
81
|
+
* // Link: "STRING_VALUE",
|
|
82
|
+
* // },
|
|
83
|
+
* // DefaultConfig: {
|
|
84
|
+
* // BackgroundColor: "STRING_VALUE",
|
|
85
|
+
* // BorderRadius: Number("int"),
|
|
86
|
+
* // ButtonAction: "LINK" || "DEEP_LINK" || "CLOSE", // required
|
|
87
|
+
* // Link: "STRING_VALUE",
|
|
88
|
+
* // Text: "STRING_VALUE", // required
|
|
89
|
+
* // TextColor: "STRING_VALUE",
|
|
90
|
+
* // },
|
|
91
|
+
* // IOS: {
|
|
92
|
+
* // ButtonAction: "LINK" || "DEEP_LINK" || "CLOSE", // required
|
|
93
|
+
* // Link: "STRING_VALUE",
|
|
94
|
+
* // },
|
|
95
|
+
* // Web: "<OverrideButtonConfiguration>",
|
|
96
|
+
* // },
|
|
97
|
+
* // },
|
|
98
|
+
* // ],
|
|
99
|
+
* // CustomConfig: { // MapOf__string
|
|
100
|
+
* // "<keys>": "STRING_VALUE",
|
|
101
|
+
* // },
|
|
102
|
+
* // Layout: "BOTTOM_BANNER" || "TOP_BANNER" || "OVERLAYS" || "MOBILE_FEED" || "MIDDLE_BANNER" || "CAROUSEL",
|
|
103
|
+
* // },
|
|
104
|
+
* // Priority: Number("int"),
|
|
105
|
+
* // Schedule: { // InAppCampaignSchedule
|
|
106
|
+
* // EndDate: "STRING_VALUE",
|
|
107
|
+
* // EventFilter: { // CampaignEventFilter
|
|
108
|
+
* // Dimensions: { // EventDimensions
|
|
109
|
+
* // Attributes: { // MapOfAttributeDimension
|
|
110
|
+
* // "<keys>": { // AttributeDimension
|
|
111
|
+
* // AttributeType: "INCLUSIVE" || "EXCLUSIVE" || "CONTAINS" || "BEFORE" || "AFTER" || "ON" || "BETWEEN",
|
|
112
|
+
* // Values: [ // ListOf__string // required
|
|
113
|
+
* // "STRING_VALUE",
|
|
114
|
+
* // ],
|
|
115
|
+
* // },
|
|
116
|
+
* // },
|
|
117
|
+
* // EventType: { // SetDimension
|
|
118
|
+
* // DimensionType: "INCLUSIVE" || "EXCLUSIVE",
|
|
119
|
+
* // Values: [ // required
|
|
120
|
+
* // "STRING_VALUE",
|
|
121
|
+
* // ],
|
|
122
|
+
* // },
|
|
123
|
+
* // Metrics: { // MapOfMetricDimension
|
|
124
|
+
* // "<keys>": { // MetricDimension
|
|
125
|
+
* // ComparisonOperator: "STRING_VALUE", // required
|
|
126
|
+
* // Value: Number("double"), // required
|
|
127
|
+
* // },
|
|
128
|
+
* // },
|
|
129
|
+
* // },
|
|
130
|
+
* // FilterType: "SYSTEM" || "ENDPOINT", // required
|
|
131
|
+
* // },
|
|
132
|
+
* // QuietTime: { // QuietTime
|
|
133
|
+
* // End: "STRING_VALUE",
|
|
134
|
+
* // Start: "STRING_VALUE",
|
|
135
|
+
* // },
|
|
136
|
+
* // },
|
|
137
|
+
* // SessionCap: Number("int"),
|
|
138
|
+
* // TotalCap: Number("int"),
|
|
139
|
+
* // TreatmentId: "STRING_VALUE",
|
|
140
|
+
* // },
|
|
141
|
+
* // ],
|
|
142
|
+
* // },
|
|
143
|
+
* // };
|
|
144
|
+
*
|
|
35
145
|
* ```
|
|
36
146
|
*
|
|
37
147
|
* @param GetInAppMessagesCommandInput - {@link GetInAppMessagesCommandInput}
|
|
@@ -61,6 +171,8 @@ export interface GetInAppMessagesCommandOutput extends GetInAppMessagesResponse,
|
|
|
61
171
|
* @throws {@link TooManyRequestsException} (client fault)
|
|
62
172
|
* <p>Provides information about an API request or response.</p>
|
|
63
173
|
*
|
|
174
|
+
* @throws {@link PinpointServiceException}
|
|
175
|
+
* <p>Base exception class for all service exceptions from Pinpoint service.</p>
|
|
64
176
|
*
|
|
65
177
|
*/
|
|
66
178
|
export declare class GetInAppMessagesCommand extends $Command<GetInAppMessagesCommandInput, GetInAppMessagesCommandOutput, PinpointClientResolvedConfig> {
|
|
@@ -32,6 +32,82 @@ export interface GetInAppTemplateCommandOutput extends GetInAppTemplateResponse,
|
|
|
32
32
|
* };
|
|
33
33
|
* const command = new GetInAppTemplateCommand(input);
|
|
34
34
|
* const response = await client.send(command);
|
|
35
|
+
* // { // GetInAppTemplateResponse
|
|
36
|
+
* // InAppTemplateResponse: { // InAppTemplateResponse
|
|
37
|
+
* // Arn: "STRING_VALUE",
|
|
38
|
+
* // Content: [ // ListOfInAppMessageContent
|
|
39
|
+
* // { // InAppMessageContent
|
|
40
|
+
* // BackgroundColor: "STRING_VALUE",
|
|
41
|
+
* // BodyConfig: { // InAppMessageBodyConfig
|
|
42
|
+
* // Alignment: "LEFT" || "CENTER" || "RIGHT", // required
|
|
43
|
+
* // Body: "STRING_VALUE", // required
|
|
44
|
+
* // TextColor: "STRING_VALUE", // required
|
|
45
|
+
* // },
|
|
46
|
+
* // HeaderConfig: { // InAppMessageHeaderConfig
|
|
47
|
+
* // Alignment: "LEFT" || "CENTER" || "RIGHT", // required
|
|
48
|
+
* // Header: "STRING_VALUE", // required
|
|
49
|
+
* // TextColor: "STRING_VALUE", // required
|
|
50
|
+
* // },
|
|
51
|
+
* // ImageUrl: "STRING_VALUE",
|
|
52
|
+
* // PrimaryBtn: { // InAppMessageButton
|
|
53
|
+
* // Android: { // OverrideButtonConfiguration
|
|
54
|
+
* // ButtonAction: "LINK" || "DEEP_LINK" || "CLOSE", // required
|
|
55
|
+
* // Link: "STRING_VALUE",
|
|
56
|
+
* // },
|
|
57
|
+
* // DefaultConfig: { // DefaultButtonConfiguration
|
|
58
|
+
* // BackgroundColor: "STRING_VALUE",
|
|
59
|
+
* // BorderRadius: Number("int"),
|
|
60
|
+
* // ButtonAction: "LINK" || "DEEP_LINK" || "CLOSE", // required
|
|
61
|
+
* // Link: "STRING_VALUE",
|
|
62
|
+
* // Text: "STRING_VALUE", // required
|
|
63
|
+
* // TextColor: "STRING_VALUE",
|
|
64
|
+
* // },
|
|
65
|
+
* // IOS: {
|
|
66
|
+
* // ButtonAction: "LINK" || "DEEP_LINK" || "CLOSE", // required
|
|
67
|
+
* // Link: "STRING_VALUE",
|
|
68
|
+
* // },
|
|
69
|
+
* // Web: {
|
|
70
|
+
* // ButtonAction: "LINK" || "DEEP_LINK" || "CLOSE", // required
|
|
71
|
+
* // Link: "STRING_VALUE",
|
|
72
|
+
* // },
|
|
73
|
+
* // },
|
|
74
|
+
* // SecondaryBtn: {
|
|
75
|
+
* // Android: {
|
|
76
|
+
* // ButtonAction: "LINK" || "DEEP_LINK" || "CLOSE", // required
|
|
77
|
+
* // Link: "STRING_VALUE",
|
|
78
|
+
* // },
|
|
79
|
+
* // DefaultConfig: {
|
|
80
|
+
* // BackgroundColor: "STRING_VALUE",
|
|
81
|
+
* // BorderRadius: Number("int"),
|
|
82
|
+
* // ButtonAction: "LINK" || "DEEP_LINK" || "CLOSE", // required
|
|
83
|
+
* // Link: "STRING_VALUE",
|
|
84
|
+
* // Text: "STRING_VALUE", // required
|
|
85
|
+
* // TextColor: "STRING_VALUE",
|
|
86
|
+
* // },
|
|
87
|
+
* // IOS: {
|
|
88
|
+
* // ButtonAction: "LINK" || "DEEP_LINK" || "CLOSE", // required
|
|
89
|
+
* // Link: "STRING_VALUE",
|
|
90
|
+
* // },
|
|
91
|
+
* // Web: "<OverrideButtonConfiguration>",
|
|
92
|
+
* // },
|
|
93
|
+
* // },
|
|
94
|
+
* // ],
|
|
95
|
+
* // CreationDate: "STRING_VALUE", // required
|
|
96
|
+
* // CustomConfig: { // MapOf__string
|
|
97
|
+
* // "<keys>": "STRING_VALUE",
|
|
98
|
+
* // },
|
|
99
|
+
* // LastModifiedDate: "STRING_VALUE", // required
|
|
100
|
+
* // Layout: "BOTTOM_BANNER" || "TOP_BANNER" || "OVERLAYS" || "MOBILE_FEED" || "MIDDLE_BANNER" || "CAROUSEL",
|
|
101
|
+
* // tags: {
|
|
102
|
+
* // "<keys>": "STRING_VALUE",
|
|
103
|
+
* // },
|
|
104
|
+
* // TemplateDescription: "STRING_VALUE",
|
|
105
|
+
* // TemplateName: "STRING_VALUE", // required
|
|
106
|
+
* // TemplateType: "EMAIL" || "SMS" || "VOICE" || "PUSH" || "INAPP", // required
|
|
107
|
+
* // Version: "STRING_VALUE",
|
|
108
|
+
* // },
|
|
109
|
+
* // };
|
|
110
|
+
*
|
|
35
111
|
* ```
|
|
36
112
|
*
|
|
37
113
|
* @param GetInAppTemplateCommandInput - {@link GetInAppTemplateCommandInput}
|
|
@@ -61,6 +137,8 @@ export interface GetInAppTemplateCommandOutput extends GetInAppTemplateResponse,
|
|
|
61
137
|
* @throws {@link TooManyRequestsException} (client fault)
|
|
62
138
|
* <p>Provides information about an API request or response.</p>
|
|
63
139
|
*
|
|
140
|
+
* @throws {@link PinpointServiceException}
|
|
141
|
+
* <p>Base exception class for all service exceptions from Pinpoint service.</p>
|
|
64
142
|
*
|
|
65
143
|
*/
|
|
66
144
|
export declare class GetInAppTemplateCommand extends $Command<GetInAppTemplateCommandInput, GetInAppTemplateCommandOutput, PinpointClientResolvedConfig> {
|