@aws-sdk/client-pinpoint 3.319.0 → 3.320.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.
Files changed (54) hide show
  1. package/README.md +24 -0
  2. package/dist-cjs/Pinpoint.js +6 -0
  3. package/dist-cjs/commands/GetJourneyRunExecutionActivityMetricsCommand.js +45 -0
  4. package/dist-cjs/commands/GetJourneyRunExecutionMetricsCommand.js +45 -0
  5. package/dist-cjs/commands/GetJourneyRunsCommand.js +45 -0
  6. package/dist-cjs/commands/index.js +3 -0
  7. package/dist-cjs/endpoint/ruleset.js +3 -3
  8. package/dist-cjs/models/models_1.js +7 -0
  9. package/dist-cjs/protocols/Aws_restJson1.js +226 -4
  10. package/dist-es/Pinpoint.js +6 -0
  11. package/dist-es/commands/GetJourneyRunExecutionActivityMetricsCommand.js +41 -0
  12. package/dist-es/commands/GetJourneyRunExecutionMetricsCommand.js +41 -0
  13. package/dist-es/commands/GetJourneyRunsCommand.js +41 -0
  14. package/dist-es/commands/index.js +3 -0
  15. package/dist-es/endpoint/ruleset.js +3 -3
  16. package/dist-es/models/models_1.js +6 -1
  17. package/dist-es/protocols/Aws_restJson1.js +216 -0
  18. package/dist-types/Pinpoint.d.ts +21 -0
  19. package/dist-types/PinpointClient.d.ts +5 -2
  20. package/dist-types/commands/CreateCampaignCommand.d.ts +33 -33
  21. package/dist-types/commands/CreateImportJobCommand.d.ts +1 -1
  22. package/dist-types/commands/CreateInAppTemplateCommand.d.ts +10 -10
  23. package/dist-types/commands/CreateJourneyCommand.d.ts +19 -19
  24. package/dist-types/commands/CreatePushTemplateCommand.d.ts +5 -5
  25. package/dist-types/commands/CreateSegmentCommand.d.ts +16 -16
  26. package/dist-types/commands/GetJourneyRunExecutionActivityMetricsCommand.d.ts +89 -0
  27. package/dist-types/commands/GetJourneyRunExecutionMetricsCommand.d.ts +88 -0
  28. package/dist-types/commands/GetJourneyRunsCommand.d.ts +87 -0
  29. package/dist-types/commands/PutEventsCommand.d.ts +1 -1
  30. package/dist-types/commands/SendMessagesCommand.d.ts +7 -7
  31. package/dist-types/commands/SendUsersMessagesCommand.d.ts +6 -6
  32. package/dist-types/commands/UpdateApplicationSettingsCommand.d.ts +1 -1
  33. package/dist-types/commands/UpdateCampaignCommand.d.ts +33 -33
  34. package/dist-types/commands/UpdateEndpointCommand.d.ts +1 -1
  35. package/dist-types/commands/UpdateEndpointsBatchCommand.d.ts +1 -1
  36. package/dist-types/commands/UpdateInAppTemplateCommand.d.ts +10 -10
  37. package/dist-types/commands/UpdateJourneyCommand.d.ts +19 -19
  38. package/dist-types/commands/UpdateJourneyStateCommand.d.ts +1 -1
  39. package/dist-types/commands/UpdatePushTemplateCommand.d.ts +5 -5
  40. package/dist-types/commands/UpdateSegmentCommand.d.ts +16 -16
  41. package/dist-types/commands/index.d.ts +3 -0
  42. package/dist-types/models/models_0.d.ts +30 -26
  43. package/dist-types/models/models_1.d.ts +215 -3
  44. package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
  45. package/dist-types/ts3.4/Pinpoint.d.ts +57 -0
  46. package/dist-types/ts3.4/PinpointClient.d.ts +18 -0
  47. package/dist-types/ts3.4/commands/GetJourneyRunExecutionActivityMetricsCommand.d.ts +41 -0
  48. package/dist-types/ts3.4/commands/GetJourneyRunExecutionMetricsCommand.d.ts +41 -0
  49. package/dist-types/ts3.4/commands/GetJourneyRunsCommand.d.ts +37 -0
  50. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  51. package/dist-types/ts3.4/models/models_0.d.ts +1 -0
  52. package/dist-types/ts3.4/models/models_1.d.ts +68 -0
  53. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
  54. package/package.json +1 -1
@@ -0,0 +1,89 @@
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 { GetJourneyRunExecutionActivityMetricsRequest, GetJourneyRunExecutionActivityMetricsResponse } from "../models/models_1";
5
+ import { PinpointClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointClient";
6
+ /**
7
+ * @public
8
+ *
9
+ * The input for {@link GetJourneyRunExecutionActivityMetricsCommand}.
10
+ */
11
+ export interface GetJourneyRunExecutionActivityMetricsCommandInput extends GetJourneyRunExecutionActivityMetricsRequest {
12
+ }
13
+ /**
14
+ * @public
15
+ *
16
+ * The output of {@link GetJourneyRunExecutionActivityMetricsCommand}.
17
+ */
18
+ export interface GetJourneyRunExecutionActivityMetricsCommandOutput extends GetJourneyRunExecutionActivityMetricsResponse, __MetadataBearer {
19
+ }
20
+ /**
21
+ * @public
22
+ * <p>Retrieves (queries) pre-aggregated data for a standard run execution metric that applies to a journey activity.</p>
23
+ * @example
24
+ * Use a bare-bones client and the command you need to make an API call.
25
+ * ```javascript
26
+ * import { PinpointClient, GetJourneyRunExecutionActivityMetricsCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
27
+ * // const { PinpointClient, GetJourneyRunExecutionActivityMetricsCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
28
+ * const client = new PinpointClient(config);
29
+ * const input = { // GetJourneyRunExecutionActivityMetricsRequest
30
+ * ApplicationId: "STRING_VALUE", // required
31
+ * JourneyActivityId: "STRING_VALUE", // required
32
+ * JourneyId: "STRING_VALUE", // required
33
+ * NextToken: "STRING_VALUE",
34
+ * PageSize: "STRING_VALUE",
35
+ * RunId: "STRING_VALUE", // required
36
+ * };
37
+ * const command = new GetJourneyRunExecutionActivityMetricsCommand(input);
38
+ * const response = await client.send(command);
39
+ * ```
40
+ *
41
+ * @param GetJourneyRunExecutionActivityMetricsCommandInput - {@link GetJourneyRunExecutionActivityMetricsCommandInput}
42
+ * @returns {@link GetJourneyRunExecutionActivityMetricsCommandOutput}
43
+ * @see {@link GetJourneyRunExecutionActivityMetricsCommandInput} for command's `input` shape.
44
+ * @see {@link GetJourneyRunExecutionActivityMetricsCommandOutput} for command's `response` shape.
45
+ * @see {@link PinpointClientResolvedConfig | config} for PinpointClient's `config` shape.
46
+ *
47
+ * @throws {@link BadRequestException} (client fault)
48
+ * <p>Provides information about an API request or response.</p>
49
+ *
50
+ * @throws {@link ForbiddenException} (client fault)
51
+ * <p>Provides information about an API request or response.</p>
52
+ *
53
+ * @throws {@link InternalServerErrorException} (server fault)
54
+ * <p>Provides information about an API request or response.</p>
55
+ *
56
+ * @throws {@link MethodNotAllowedException} (client fault)
57
+ * <p>Provides information about an API request or response.</p>
58
+ *
59
+ * @throws {@link NotFoundException} (client fault)
60
+ * <p>Provides information about an API request or response.</p>
61
+ *
62
+ * @throws {@link PayloadTooLargeException} (client fault)
63
+ * <p>Provides information about an API request or response.</p>
64
+ *
65
+ * @throws {@link TooManyRequestsException} (client fault)
66
+ * <p>Provides information about an API request or response.</p>
67
+ *
68
+ *
69
+ */
70
+ export declare class GetJourneyRunExecutionActivityMetricsCommand extends $Command<GetJourneyRunExecutionActivityMetricsCommandInput, GetJourneyRunExecutionActivityMetricsCommandOutput, PinpointClientResolvedConfig> {
71
+ readonly input: GetJourneyRunExecutionActivityMetricsCommandInput;
72
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
73
+ /**
74
+ * @public
75
+ */
76
+ constructor(input: GetJourneyRunExecutionActivityMetricsCommandInput);
77
+ /**
78
+ * @internal
79
+ */
80
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetJourneyRunExecutionActivityMetricsCommandInput, GetJourneyRunExecutionActivityMetricsCommandOutput>;
81
+ /**
82
+ * @internal
83
+ */
84
+ private serialize;
85
+ /**
86
+ * @internal
87
+ */
88
+ private deserialize;
89
+ }
@@ -0,0 +1,88 @@
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 { GetJourneyRunExecutionMetricsRequest, GetJourneyRunExecutionMetricsResponse } from "../models/models_1";
5
+ import { PinpointClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointClient";
6
+ /**
7
+ * @public
8
+ *
9
+ * The input for {@link GetJourneyRunExecutionMetricsCommand}.
10
+ */
11
+ export interface GetJourneyRunExecutionMetricsCommandInput extends GetJourneyRunExecutionMetricsRequest {
12
+ }
13
+ /**
14
+ * @public
15
+ *
16
+ * The output of {@link GetJourneyRunExecutionMetricsCommand}.
17
+ */
18
+ export interface GetJourneyRunExecutionMetricsCommandOutput extends GetJourneyRunExecutionMetricsResponse, __MetadataBearer {
19
+ }
20
+ /**
21
+ * @public
22
+ * <p>Retrieves (queries) pre-aggregated data for a standard run execution metric that applies to a journey.</p>
23
+ * @example
24
+ * Use a bare-bones client and the command you need to make an API call.
25
+ * ```javascript
26
+ * import { PinpointClient, GetJourneyRunExecutionMetricsCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
27
+ * // const { PinpointClient, GetJourneyRunExecutionMetricsCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
28
+ * const client = new PinpointClient(config);
29
+ * const input = { // GetJourneyRunExecutionMetricsRequest
30
+ * ApplicationId: "STRING_VALUE", // required
31
+ * JourneyId: "STRING_VALUE", // required
32
+ * NextToken: "STRING_VALUE",
33
+ * PageSize: "STRING_VALUE",
34
+ * RunId: "STRING_VALUE", // required
35
+ * };
36
+ * const command = new GetJourneyRunExecutionMetricsCommand(input);
37
+ * const response = await client.send(command);
38
+ * ```
39
+ *
40
+ * @param GetJourneyRunExecutionMetricsCommandInput - {@link GetJourneyRunExecutionMetricsCommandInput}
41
+ * @returns {@link GetJourneyRunExecutionMetricsCommandOutput}
42
+ * @see {@link GetJourneyRunExecutionMetricsCommandInput} for command's `input` shape.
43
+ * @see {@link GetJourneyRunExecutionMetricsCommandOutput} for command's `response` shape.
44
+ * @see {@link PinpointClientResolvedConfig | config} for PinpointClient's `config` shape.
45
+ *
46
+ * @throws {@link BadRequestException} (client fault)
47
+ * <p>Provides information about an API request or response.</p>
48
+ *
49
+ * @throws {@link ForbiddenException} (client fault)
50
+ * <p>Provides information about an API request or response.</p>
51
+ *
52
+ * @throws {@link InternalServerErrorException} (server fault)
53
+ * <p>Provides information about an API request or response.</p>
54
+ *
55
+ * @throws {@link MethodNotAllowedException} (client fault)
56
+ * <p>Provides information about an API request or response.</p>
57
+ *
58
+ * @throws {@link NotFoundException} (client fault)
59
+ * <p>Provides information about an API request or response.</p>
60
+ *
61
+ * @throws {@link PayloadTooLargeException} (client fault)
62
+ * <p>Provides information about an API request or response.</p>
63
+ *
64
+ * @throws {@link TooManyRequestsException} (client fault)
65
+ * <p>Provides information about an API request or response.</p>
66
+ *
67
+ *
68
+ */
69
+ export declare class GetJourneyRunExecutionMetricsCommand extends $Command<GetJourneyRunExecutionMetricsCommandInput, GetJourneyRunExecutionMetricsCommandOutput, PinpointClientResolvedConfig> {
70
+ readonly input: GetJourneyRunExecutionMetricsCommandInput;
71
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
72
+ /**
73
+ * @public
74
+ */
75
+ constructor(input: GetJourneyRunExecutionMetricsCommandInput);
76
+ /**
77
+ * @internal
78
+ */
79
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetJourneyRunExecutionMetricsCommandInput, GetJourneyRunExecutionMetricsCommandOutput>;
80
+ /**
81
+ * @internal
82
+ */
83
+ private serialize;
84
+ /**
85
+ * @internal
86
+ */
87
+ private deserialize;
88
+ }
@@ -0,0 +1,87 @@
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 { GetJourneyRunsRequest, GetJourneyRunsResponse } from "../models/models_1";
5
+ import { PinpointClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointClient";
6
+ /**
7
+ * @public
8
+ *
9
+ * The input for {@link GetJourneyRunsCommand}.
10
+ */
11
+ export interface GetJourneyRunsCommandInput extends GetJourneyRunsRequest {
12
+ }
13
+ /**
14
+ * @public
15
+ *
16
+ * The output of {@link GetJourneyRunsCommand}.
17
+ */
18
+ export interface GetJourneyRunsCommandOutput extends GetJourneyRunsResponse, __MetadataBearer {
19
+ }
20
+ /**
21
+ * @public
22
+ * <p>Provides information about the runs of a journey.</p>
23
+ * @example
24
+ * Use a bare-bones client and the command you need to make an API call.
25
+ * ```javascript
26
+ * import { PinpointClient, GetJourneyRunsCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
27
+ * // const { PinpointClient, GetJourneyRunsCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
28
+ * const client = new PinpointClient(config);
29
+ * const input = { // GetJourneyRunsRequest
30
+ * ApplicationId: "STRING_VALUE", // required
31
+ * JourneyId: "STRING_VALUE", // required
32
+ * PageSize: "STRING_VALUE",
33
+ * Token: "STRING_VALUE",
34
+ * };
35
+ * const command = new GetJourneyRunsCommand(input);
36
+ * const response = await client.send(command);
37
+ * ```
38
+ *
39
+ * @param GetJourneyRunsCommandInput - {@link GetJourneyRunsCommandInput}
40
+ * @returns {@link GetJourneyRunsCommandOutput}
41
+ * @see {@link GetJourneyRunsCommandInput} for command's `input` shape.
42
+ * @see {@link GetJourneyRunsCommandOutput} for command's `response` shape.
43
+ * @see {@link PinpointClientResolvedConfig | config} for PinpointClient's `config` shape.
44
+ *
45
+ * @throws {@link BadRequestException} (client fault)
46
+ * <p>Provides information about an API request or response.</p>
47
+ *
48
+ * @throws {@link ForbiddenException} (client fault)
49
+ * <p>Provides information about an API request or response.</p>
50
+ *
51
+ * @throws {@link InternalServerErrorException} (server fault)
52
+ * <p>Provides information about an API request or response.</p>
53
+ *
54
+ * @throws {@link MethodNotAllowedException} (client fault)
55
+ * <p>Provides information about an API request or response.</p>
56
+ *
57
+ * @throws {@link NotFoundException} (client fault)
58
+ * <p>Provides information about an API request or response.</p>
59
+ *
60
+ * @throws {@link PayloadTooLargeException} (client fault)
61
+ * <p>Provides information about an API request or response.</p>
62
+ *
63
+ * @throws {@link TooManyRequestsException} (client fault)
64
+ * <p>Provides information about an API request or response.</p>
65
+ *
66
+ *
67
+ */
68
+ export declare class GetJourneyRunsCommand extends $Command<GetJourneyRunsCommandInput, GetJourneyRunsCommandOutput, PinpointClientResolvedConfig> {
69
+ readonly input: GetJourneyRunsCommandInput;
70
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
71
+ /**
72
+ * @public
73
+ */
74
+ constructor(input: GetJourneyRunsCommandInput);
75
+ /**
76
+ * @internal
77
+ */
78
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetJourneyRunsCommandInput, GetJourneyRunsCommandOutput>;
79
+ /**
80
+ * @internal
81
+ */
82
+ private serialize;
83
+ /**
84
+ * @internal
85
+ */
86
+ private deserialize;
87
+ }
@@ -38,7 +38,7 @@ export interface PutEventsCommandOutput extends PutEventsResponse, __MetadataBea
38
38
  * "STRING_VALUE",
39
39
  * ],
40
40
  * },
41
- * ChannelType: "STRING_VALUE",
41
+ * ChannelType: "PUSH" || "GCM" || "APNS" || "APNS_SANDBOX" || "APNS_VOIP" || "APNS_VOIP_SANDBOX" || "ADM" || "SMS" || "VOICE" || "EMAIL" || "BAIDU" || "CUSTOM" || "IN_APP",
42
42
  * Demographic: { // EndpointDemographic
43
43
  * AppVersion: "STRING_VALUE",
44
44
  * Locale: "STRING_VALUE",
@@ -32,7 +32,7 @@ export interface SendMessagesCommandOutput extends SendMessagesResponse, __Metad
32
32
  * Addresses: { // MapOfAddressConfiguration
33
33
  * "<keys>": { // AddressConfiguration
34
34
  * BodyOverride: "STRING_VALUE",
35
- * ChannelType: "STRING_VALUE",
35
+ * ChannelType: "PUSH" || "GCM" || "APNS" || "APNS_SANDBOX" || "APNS_VOIP" || "APNS_VOIP_SANDBOX" || "ADM" || "SMS" || "VOICE" || "EMAIL" || "BAIDU" || "CUSTOM" || "IN_APP",
36
36
  * Context: { // MapOf__string
37
37
  * "<keys>": "STRING_VALUE",
38
38
  * },
@@ -65,7 +65,7 @@ export interface SendMessagesCommandOutput extends SendMessagesResponse, __Metad
65
65
  * },
66
66
  * MessageConfiguration: { // DirectMessageConfiguration
67
67
  * ADMMessage: { // ADMMessage
68
- * Action: "STRING_VALUE",
68
+ * Action: "OPEN_APP" || "DEEP_LINK" || "URL",
69
69
  * Body: "STRING_VALUE",
70
70
  * ConsolidationKey: "STRING_VALUE",
71
71
  * Data: {
@@ -90,7 +90,7 @@ export interface SendMessagesCommandOutput extends SendMessagesResponse, __Metad
90
90
  * },
91
91
  * APNSMessage: { // APNSMessage
92
92
  * APNSPushType: "STRING_VALUE",
93
- * Action: "STRING_VALUE",
93
+ * Action: "OPEN_APP" || "DEEP_LINK" || "URL",
94
94
  * Badge: Number("int"),
95
95
  * Body: "STRING_VALUE",
96
96
  * Category: "STRING_VALUE",
@@ -115,7 +115,7 @@ export interface SendMessagesCommandOutput extends SendMessagesResponse, __Metad
115
115
  * Url: "STRING_VALUE",
116
116
  * },
117
117
  * BaiduMessage: { // BaiduMessage
118
- * Action: "STRING_VALUE",
118
+ * Action: "OPEN_APP" || "DEEP_LINK" || "URL",
119
119
  * Body: "STRING_VALUE",
120
120
  * Data: "<MapOf__string>",
121
121
  * IconReference: "STRING_VALUE",
@@ -139,7 +139,7 @@ export interface SendMessagesCommandOutput extends SendMessagesResponse, __Metad
139
139
  * Substitutions: "<MapOfListOf__string>",
140
140
  * },
141
141
  * DefaultPushNotificationMessage: { // DefaultPushNotificationMessage
142
- * Action: "STRING_VALUE",
142
+ * Action: "OPEN_APP" || "DEEP_LINK" || "URL",
143
143
  * Body: "STRING_VALUE",
144
144
  * Data: "<MapOf__string>",
145
145
  * SilentPush: true || false,
@@ -172,7 +172,7 @@ export interface SendMessagesCommandOutput extends SendMessagesResponse, __Metad
172
172
  * Substitutions: "<MapOfListOf__string>",
173
173
  * },
174
174
  * GCMMessage: { // GCMMessage
175
- * Action: "STRING_VALUE",
175
+ * Action: "OPEN_APP" || "DEEP_LINK" || "URL",
176
176
  * Body: "STRING_VALUE",
177
177
  * CollapseKey: "STRING_VALUE",
178
178
  * Data: "<MapOf__string>",
@@ -194,7 +194,7 @@ export interface SendMessagesCommandOutput extends SendMessagesResponse, __Metad
194
194
  * Body: "STRING_VALUE",
195
195
  * Keyword: "STRING_VALUE",
196
196
  * MediaUrl: "STRING_VALUE",
197
- * MessageType: "STRING_VALUE",
197
+ * MessageType: "TRANSACTIONAL" || "PROMOTIONAL",
198
198
  * OriginationNumber: "STRING_VALUE",
199
199
  * SenderId: "STRING_VALUE",
200
200
  * Substitutions: "<MapOfListOf__string>",
@@ -34,7 +34,7 @@ export interface SendUsersMessagesCommandOutput extends SendUsersMessagesRespons
34
34
  * },
35
35
  * MessageConfiguration: { // DirectMessageConfiguration
36
36
  * ADMMessage: { // ADMMessage
37
- * Action: "STRING_VALUE",
37
+ * Action: "OPEN_APP" || "DEEP_LINK" || "URL",
38
38
  * Body: "STRING_VALUE",
39
39
  * ConsolidationKey: "STRING_VALUE",
40
40
  * Data: {
@@ -59,7 +59,7 @@ export interface SendUsersMessagesCommandOutput extends SendUsersMessagesRespons
59
59
  * },
60
60
  * APNSMessage: { // APNSMessage
61
61
  * APNSPushType: "STRING_VALUE",
62
- * Action: "STRING_VALUE",
62
+ * Action: "OPEN_APP" || "DEEP_LINK" || "URL",
63
63
  * Badge: Number("int"),
64
64
  * Body: "STRING_VALUE",
65
65
  * Category: "STRING_VALUE",
@@ -84,7 +84,7 @@ export interface SendUsersMessagesCommandOutput extends SendUsersMessagesRespons
84
84
  * Url: "STRING_VALUE",
85
85
  * },
86
86
  * BaiduMessage: { // BaiduMessage
87
- * Action: "STRING_VALUE",
87
+ * Action: "OPEN_APP" || "DEEP_LINK" || "URL",
88
88
  * Body: "STRING_VALUE",
89
89
  * Data: {
90
90
  * "<keys>": "STRING_VALUE",
@@ -114,7 +114,7 @@ export interface SendUsersMessagesCommandOutput extends SendUsersMessagesRespons
114
114
  * },
115
115
  * },
116
116
  * DefaultPushNotificationMessage: { // DefaultPushNotificationMessage
117
- * Action: "STRING_VALUE",
117
+ * Action: "OPEN_APP" || "DEEP_LINK" || "URL",
118
118
  * Body: "STRING_VALUE",
119
119
  * Data: {
120
120
  * "<keys>": "STRING_VALUE",
@@ -153,7 +153,7 @@ export interface SendUsersMessagesCommandOutput extends SendUsersMessagesRespons
153
153
  * Substitutions: "<MapOfListOf__string>",
154
154
  * },
155
155
  * GCMMessage: { // GCMMessage
156
- * Action: "STRING_VALUE",
156
+ * Action: "OPEN_APP" || "DEEP_LINK" || "URL",
157
157
  * Body: "STRING_VALUE",
158
158
  * CollapseKey: "STRING_VALUE",
159
159
  * Data: "<MapOf__string>",
@@ -175,7 +175,7 @@ export interface SendUsersMessagesCommandOutput extends SendUsersMessagesRespons
175
175
  * Body: "STRING_VALUE",
176
176
  * Keyword: "STRING_VALUE",
177
177
  * MediaUrl: "STRING_VALUE",
178
- * MessageType: "STRING_VALUE",
178
+ * MessageType: "TRANSACTIONAL" || "PROMOTIONAL",
179
179
  * OriginationNumber: "STRING_VALUE",
180
180
  * SenderId: "STRING_VALUE",
181
181
  * Substitutions: "<MapOfListOf__string>",
@@ -31,7 +31,7 @@ export interface UpdateApplicationSettingsCommandOutput extends UpdateApplicatio
31
31
  * WriteApplicationSettingsRequest: { // WriteApplicationSettingsRequest
32
32
  * CampaignHook: { // CampaignHook
33
33
  * LambdaFunctionName: "STRING_VALUE",
34
- * Mode: "STRING_VALUE",
34
+ * Mode: "DELIVERY" || "FILTER",
35
35
  * WebUrl: "STRING_VALUE",
36
36
  * },
37
37
  * CloudWatchMetricsEnabled: true || false,
@@ -35,12 +35,12 @@ export interface UpdateCampaignCommandOutput extends UpdateCampaignResponse, __M
35
35
  * CustomDeliveryConfiguration: { // CustomDeliveryConfiguration
36
36
  * DeliveryUri: "STRING_VALUE", // required
37
37
  * EndpointTypes: [ // ListOf__EndpointTypesElement
38
- * "STRING_VALUE",
38
+ * "PUSH" || "GCM" || "APNS" || "APNS_SANDBOX" || "APNS_VOIP" || "APNS_VOIP_SANDBOX" || "ADM" || "SMS" || "VOICE" || "EMAIL" || "BAIDU" || "CUSTOM" || "IN_APP",
39
39
  * ],
40
40
  * },
41
41
  * MessageConfiguration: { // MessageConfiguration
42
42
  * ADMMessage: { // Message
43
- * Action: "STRING_VALUE",
43
+ * Action: "OPEN_APP" || "DEEP_LINK" || "URL",
44
44
  * Body: "STRING_VALUE",
45
45
  * ImageIconUrl: "STRING_VALUE",
46
46
  * ImageSmallIconUrl: "STRING_VALUE",
@@ -54,7 +54,7 @@ export interface UpdateCampaignCommandOutput extends UpdateCampaignResponse, __M
54
54
  * Url: "STRING_VALUE",
55
55
  * },
56
56
  * APNSMessage: {
57
- * Action: "STRING_VALUE",
57
+ * Action: "OPEN_APP" || "DEEP_LINK" || "URL",
58
58
  * Body: "STRING_VALUE",
59
59
  * ImageIconUrl: "STRING_VALUE",
60
60
  * ImageSmallIconUrl: "STRING_VALUE",
@@ -68,7 +68,7 @@ export interface UpdateCampaignCommandOutput extends UpdateCampaignResponse, __M
68
68
  * Url: "STRING_VALUE",
69
69
  * },
70
70
  * BaiduMessage: {
71
- * Action: "STRING_VALUE",
71
+ * Action: "OPEN_APP" || "DEEP_LINK" || "URL",
72
72
  * Body: "STRING_VALUE",
73
73
  * ImageIconUrl: "STRING_VALUE",
74
74
  * ImageSmallIconUrl: "STRING_VALUE",
@@ -85,7 +85,7 @@ export interface UpdateCampaignCommandOutput extends UpdateCampaignResponse, __M
85
85
  * Data: "STRING_VALUE",
86
86
  * },
87
87
  * DefaultMessage: {
88
- * Action: "STRING_VALUE",
88
+ * Action: "OPEN_APP" || "DEEP_LINK" || "URL",
89
89
  * Body: "STRING_VALUE",
90
90
  * ImageIconUrl: "STRING_VALUE",
91
91
  * ImageSmallIconUrl: "STRING_VALUE",
@@ -105,7 +105,7 @@ export interface UpdateCampaignCommandOutput extends UpdateCampaignResponse, __M
105
105
  * Title: "STRING_VALUE",
106
106
  * },
107
107
  * GCMMessage: {
108
- * Action: "STRING_VALUE",
108
+ * Action: "OPEN_APP" || "DEEP_LINK" || "URL",
109
109
  * Body: "STRING_VALUE",
110
110
  * ImageIconUrl: "STRING_VALUE",
111
111
  * ImageSmallIconUrl: "STRING_VALUE",
@@ -120,7 +120,7 @@ export interface UpdateCampaignCommandOutput extends UpdateCampaignResponse, __M
120
120
  * },
121
121
  * SMSMessage: { // CampaignSmsMessage
122
122
  * Body: "STRING_VALUE",
123
- * MessageType: "STRING_VALUE",
123
+ * MessageType: "TRANSACTIONAL" || "PROMOTIONAL",
124
124
  * OriginationNumber: "STRING_VALUE",
125
125
  * SenderId: "STRING_VALUE",
126
126
  * EntityId: "STRING_VALUE",
@@ -132,53 +132,53 @@ export interface UpdateCampaignCommandOutput extends UpdateCampaignResponse, __M
132
132
  * { // InAppMessageContent
133
133
  * BackgroundColor: "STRING_VALUE",
134
134
  * BodyConfig: { // InAppMessageBodyConfig
135
- * Alignment: "STRING_VALUE", // required
135
+ * Alignment: "LEFT" || "CENTER" || "RIGHT", // required
136
136
  * Body: "STRING_VALUE", // required
137
137
  * TextColor: "STRING_VALUE", // required
138
138
  * },
139
139
  * HeaderConfig: { // InAppMessageHeaderConfig
140
- * Alignment: "STRING_VALUE", // required
140
+ * Alignment: "LEFT" || "CENTER" || "RIGHT", // required
141
141
  * Header: "STRING_VALUE", // required
142
142
  * TextColor: "STRING_VALUE", // required
143
143
  * },
144
144
  * ImageUrl: "STRING_VALUE",
145
145
  * PrimaryBtn: { // InAppMessageButton
146
146
  * Android: { // OverrideButtonConfiguration
147
- * ButtonAction: "STRING_VALUE", // required
147
+ * ButtonAction: "LINK" || "DEEP_LINK" || "CLOSE", // required
148
148
  * Link: "STRING_VALUE",
149
149
  * },
150
150
  * DefaultConfig: { // DefaultButtonConfiguration
151
151
  * BackgroundColor: "STRING_VALUE",
152
152
  * BorderRadius: Number("int"),
153
- * ButtonAction: "STRING_VALUE", // required
153
+ * ButtonAction: "LINK" || "DEEP_LINK" || "CLOSE", // required
154
154
  * Link: "STRING_VALUE",
155
155
  * Text: "STRING_VALUE", // required
156
156
  * TextColor: "STRING_VALUE",
157
157
  * },
158
158
  * IOS: {
159
- * ButtonAction: "STRING_VALUE", // required
159
+ * ButtonAction: "LINK" || "DEEP_LINK" || "CLOSE", // required
160
160
  * Link: "STRING_VALUE",
161
161
  * },
162
162
  * Web: {
163
- * ButtonAction: "STRING_VALUE", // required
163
+ * ButtonAction: "LINK" || "DEEP_LINK" || "CLOSE", // required
164
164
  * Link: "STRING_VALUE",
165
165
  * },
166
166
  * },
167
167
  * SecondaryBtn: {
168
168
  * Android: {
169
- * ButtonAction: "STRING_VALUE", // required
169
+ * ButtonAction: "LINK" || "DEEP_LINK" || "CLOSE", // required
170
170
  * Link: "STRING_VALUE",
171
171
  * },
172
172
  * DefaultConfig: {
173
173
  * BackgroundColor: "STRING_VALUE",
174
174
  * BorderRadius: Number("int"),
175
- * ButtonAction: "STRING_VALUE", // required
175
+ * ButtonAction: "LINK" || "DEEP_LINK" || "CLOSE", // required
176
176
  * Link: "STRING_VALUE",
177
177
  * Text: "STRING_VALUE", // required
178
178
  * TextColor: "STRING_VALUE",
179
179
  * },
180
180
  * IOS: {
181
- * ButtonAction: "STRING_VALUE", // required
181
+ * ButtonAction: "LINK" || "DEEP_LINK" || "CLOSE", // required
182
182
  * Link: "STRING_VALUE",
183
183
  * },
184
184
  * Web: "<OverrideButtonConfiguration>",
@@ -188,7 +188,7 @@ export interface UpdateCampaignCommandOutput extends UpdateCampaignResponse, __M
188
188
  * CustomConfig: { // MapOf__string
189
189
  * "<keys>": "STRING_VALUE",
190
190
  * },
191
- * Layout: "STRING_VALUE",
191
+ * Layout: "BOTTOM_BANNER" || "TOP_BANNER" || "OVERLAYS" || "MOBILE_FEED" || "MIDDLE_BANNER" || "CAROUSEL",
192
192
  * },
193
193
  * },
194
194
  * Schedule: { // Schedule
@@ -197,14 +197,14 @@ export interface UpdateCampaignCommandOutput extends UpdateCampaignResponse, __M
197
197
  * Dimensions: { // EventDimensions
198
198
  * Attributes: { // MapOfAttributeDimension
199
199
  * "<keys>": { // AttributeDimension
200
- * AttributeType: "STRING_VALUE",
200
+ * AttributeType: "INCLUSIVE" || "EXCLUSIVE" || "CONTAINS" || "BEFORE" || "AFTER" || "ON" || "BETWEEN",
201
201
  * Values: [ // ListOf__string // required
202
202
  * "STRING_VALUE",
203
203
  * ],
204
204
  * },
205
205
  * },
206
206
  * EventType: { // SetDimension
207
- * DimensionType: "STRING_VALUE",
207
+ * DimensionType: "INCLUSIVE" || "EXCLUSIVE",
208
208
  * Values: [ // required
209
209
  * "STRING_VALUE",
210
210
  * ],
@@ -216,9 +216,9 @@ export interface UpdateCampaignCommandOutput extends UpdateCampaignResponse, __M
216
216
  * },
217
217
  * },
218
218
  * },
219
- * FilterType: "STRING_VALUE", // required
219
+ * FilterType: "SYSTEM" || "ENDPOINT", // required
220
220
  * },
221
- * Frequency: "STRING_VALUE",
221
+ * Frequency: "ONCE" || "HOURLY" || "DAILY" || "WEEKLY" || "MONTHLY" || "EVENT" || "IN_APP_EVENT",
222
222
  * IsLocalTime: true || false,
223
223
  * QuietTime: { // QuietTime
224
224
  * End: "STRING_VALUE",
@@ -253,14 +253,14 @@ export interface UpdateCampaignCommandOutput extends UpdateCampaignResponse, __M
253
253
  * CustomDeliveryConfiguration: {
254
254
  * DeliveryUri: "STRING_VALUE", // required
255
255
  * EndpointTypes: [
256
- * "STRING_VALUE",
256
+ * "PUSH" || "GCM" || "APNS" || "APNS_SANDBOX" || "APNS_VOIP" || "APNS_VOIP_SANDBOX" || "ADM" || "SMS" || "VOICE" || "EMAIL" || "BAIDU" || "CUSTOM" || "IN_APP",
257
257
  * ],
258
258
  * },
259
259
  * Description: "STRING_VALUE",
260
260
  * HoldoutPercent: Number("int"),
261
261
  * Hook: { // CampaignHook
262
262
  * LambdaFunctionName: "STRING_VALUE",
263
- * Mode: "STRING_VALUE",
263
+ * Mode: "DELIVERY" || "FILTER",
264
264
  * WebUrl: "STRING_VALUE",
265
265
  * },
266
266
  * IsPaused: true || false,
@@ -288,7 +288,7 @@ export interface UpdateCampaignCommandOutput extends UpdateCampaignResponse, __M
288
288
  * GCMMessage: "<Message>",
289
289
  * SMSMessage: {
290
290
  * Body: "STRING_VALUE",
291
- * MessageType: "STRING_VALUE",
291
+ * MessageType: "TRANSACTIONAL" || "PROMOTIONAL",
292
292
  * OriginationNumber: "STRING_VALUE",
293
293
  * SenderId: "STRING_VALUE",
294
294
  * EntityId: "STRING_VALUE",
@@ -300,12 +300,12 @@ export interface UpdateCampaignCommandOutput extends UpdateCampaignResponse, __M
300
300
  * {
301
301
  * BackgroundColor: "STRING_VALUE",
302
302
  * BodyConfig: {
303
- * Alignment: "STRING_VALUE", // required
303
+ * Alignment: "LEFT" || "CENTER" || "RIGHT", // required
304
304
  * Body: "STRING_VALUE", // required
305
305
  * TextColor: "STRING_VALUE", // required
306
306
  * },
307
307
  * HeaderConfig: {
308
- * Alignment: "STRING_VALUE", // required
308
+ * Alignment: "LEFT" || "CENTER" || "RIGHT", // required
309
309
  * Header: "STRING_VALUE", // required
310
310
  * TextColor: "STRING_VALUE", // required
311
311
  * },
@@ -315,7 +315,7 @@ export interface UpdateCampaignCommandOutput extends UpdateCampaignResponse, __M
315
315
  * DefaultConfig: {
316
316
  * BackgroundColor: "STRING_VALUE",
317
317
  * BorderRadius: Number("int"),
318
- * ButtonAction: "STRING_VALUE", // required
318
+ * ButtonAction: "LINK" || "DEEP_LINK" || "CLOSE", // required
319
319
  * Link: "STRING_VALUE",
320
320
  * Text: "STRING_VALUE", // required
321
321
  * TextColor: "STRING_VALUE",
@@ -328,7 +328,7 @@ export interface UpdateCampaignCommandOutput extends UpdateCampaignResponse, __M
328
328
  * DefaultConfig: {
329
329
  * BackgroundColor: "STRING_VALUE",
330
330
  * BorderRadius: Number("int"),
331
- * ButtonAction: "STRING_VALUE", // required
331
+ * ButtonAction: "LINK" || "DEEP_LINK" || "CLOSE", // required
332
332
  * Link: "STRING_VALUE",
333
333
  * Text: "STRING_VALUE", // required
334
334
  * TextColor: "STRING_VALUE",
@@ -341,7 +341,7 @@ export interface UpdateCampaignCommandOutput extends UpdateCampaignResponse, __M
341
341
  * CustomConfig: {
342
342
  * "<keys>": "STRING_VALUE",
343
343
  * },
344
- * Layout: "STRING_VALUE",
344
+ * Layout: "BOTTOM_BANNER" || "TOP_BANNER" || "OVERLAYS" || "MOBILE_FEED" || "MIDDLE_BANNER" || "CAROUSEL",
345
345
  * },
346
346
  * },
347
347
  * Name: "STRING_VALUE",
@@ -351,12 +351,12 @@ export interface UpdateCampaignCommandOutput extends UpdateCampaignResponse, __M
351
351
  * Dimensions: {
352
352
  * Attributes: {
353
353
  * "<keys>": {
354
- * AttributeType: "STRING_VALUE",
354
+ * AttributeType: "INCLUSIVE" || "EXCLUSIVE" || "CONTAINS" || "BEFORE" || "AFTER" || "ON" || "BETWEEN",
355
355
  * Values: "<ListOf__string>", // required
356
356
  * },
357
357
  * },
358
358
  * EventType: {
359
- * DimensionType: "STRING_VALUE",
359
+ * DimensionType: "INCLUSIVE" || "EXCLUSIVE",
360
360
  * Values: "<ListOf__string>", // required
361
361
  * },
362
362
  * Metrics: {
@@ -366,9 +366,9 @@ export interface UpdateCampaignCommandOutput extends UpdateCampaignResponse, __M
366
366
  * },
367
367
  * },
368
368
  * },
369
- * FilterType: "STRING_VALUE", // required
369
+ * FilterType: "SYSTEM" || "ENDPOINT", // required
370
370
  * },
371
- * Frequency: "STRING_VALUE",
371
+ * Frequency: "ONCE" || "HOURLY" || "DAILY" || "WEEKLY" || "MONTHLY" || "EVENT" || "IN_APP_EVENT",
372
372
  * IsLocalTime: true || false,
373
373
  * QuietTime: {
374
374
  * End: "STRING_VALUE",