@aws-sdk/client-pinpoint 3.300.0 → 3.303.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-cjs/models/models_0.js +177 -203
- package/dist-es/models/models_0.js +177 -203
- package/dist-types/commands/CreateAppCommand.d.ts +3 -3
- package/dist-types/commands/CreateCampaignCommand.d.ts +52 -153
- package/dist-types/commands/CreateEmailTemplateCommand.d.ts +3 -3
- package/dist-types/commands/CreateExportJobCommand.d.ts +2 -2
- package/dist-types/commands/CreateImportJobCommand.d.ts +2 -2
- package/dist-types/commands/CreateInAppTemplateCommand.d.ts +11 -14
- package/dist-types/commands/CreateJourneyCommand.d.ts +77 -158
- package/dist-types/commands/CreatePushTemplateCommand.d.ts +6 -6
- package/dist-types/commands/CreateRecommenderConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/CreateSegmentCommand.d.ts +35 -88
- package/dist-types/commands/CreateSmsTemplateCommand.d.ts +3 -3
- package/dist-types/commands/CreateVoiceTemplateCommand.d.ts +3 -3
- package/dist-types/commands/DeleteAdmChannelCommand.d.ts +1 -1
- package/dist-types/commands/DeleteApnsChannelCommand.d.ts +1 -1
- package/dist-types/commands/DeleteApnsSandboxChannelCommand.d.ts +1 -1
- package/dist-types/commands/DeleteApnsVoipChannelCommand.d.ts +1 -1
- package/dist-types/commands/DeleteApnsVoipSandboxChannelCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAppCommand.d.ts +1 -1
- package/dist-types/commands/DeleteBaiduChannelCommand.d.ts +1 -1
- package/dist-types/commands/DeleteCampaignCommand.d.ts +1 -1
- package/dist-types/commands/DeleteEmailChannelCommand.d.ts +1 -1
- package/dist-types/commands/DeleteEmailTemplateCommand.d.ts +1 -1
- package/dist-types/commands/DeleteEndpointCommand.d.ts +1 -1
- package/dist-types/commands/DeleteEventStreamCommand.d.ts +1 -1
- package/dist-types/commands/DeleteGcmChannelCommand.d.ts +1 -1
- package/dist-types/commands/DeleteInAppTemplateCommand.d.ts +1 -1
- package/dist-types/commands/DeleteJourneyCommand.d.ts +1 -1
- package/dist-types/commands/DeletePushTemplateCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRecommenderConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteSegmentCommand.d.ts +1 -1
- package/dist-types/commands/DeleteSmsChannelCommand.d.ts +1 -1
- package/dist-types/commands/DeleteSmsTemplateCommand.d.ts +1 -1
- package/dist-types/commands/DeleteUserEndpointsCommand.d.ts +1 -1
- package/dist-types/commands/DeleteVoiceChannelCommand.d.ts +1 -1
- package/dist-types/commands/DeleteVoiceTemplateCommand.d.ts +1 -1
- package/dist-types/commands/GetAdmChannelCommand.d.ts +1 -1
- package/dist-types/commands/GetApnsChannelCommand.d.ts +1 -1
- package/dist-types/commands/GetApnsSandboxChannelCommand.d.ts +1 -1
- package/dist-types/commands/GetApnsVoipChannelCommand.d.ts +1 -1
- package/dist-types/commands/GetApnsVoipSandboxChannelCommand.d.ts +1 -1
- package/dist-types/commands/GetAppCommand.d.ts +1 -1
- package/dist-types/commands/GetApplicationDateRangeKpiCommand.d.ts +1 -1
- package/dist-types/commands/GetApplicationSettingsCommand.d.ts +1 -1
- package/dist-types/commands/GetAppsCommand.d.ts +1 -1
- package/dist-types/commands/GetBaiduChannelCommand.d.ts +1 -1
- package/dist-types/commands/GetCampaignActivitiesCommand.d.ts +1 -1
- package/dist-types/commands/GetCampaignCommand.d.ts +1 -1
- package/dist-types/commands/GetCampaignDateRangeKpiCommand.d.ts +1 -1
- package/dist-types/commands/GetCampaignVersionCommand.d.ts +1 -1
- package/dist-types/commands/GetCampaignVersionsCommand.d.ts +1 -1
- package/dist-types/commands/GetCampaignsCommand.d.ts +1 -1
- package/dist-types/commands/GetChannelsCommand.d.ts +1 -1
- package/dist-types/commands/GetEmailChannelCommand.d.ts +1 -1
- package/dist-types/commands/GetEmailTemplateCommand.d.ts +1 -1
- package/dist-types/commands/GetEndpointCommand.d.ts +1 -1
- package/dist-types/commands/GetEventStreamCommand.d.ts +1 -1
- package/dist-types/commands/GetExportJobCommand.d.ts +1 -1
- package/dist-types/commands/GetExportJobsCommand.d.ts +1 -1
- package/dist-types/commands/GetGcmChannelCommand.d.ts +1 -1
- package/dist-types/commands/GetImportJobCommand.d.ts +1 -1
- package/dist-types/commands/GetImportJobsCommand.d.ts +1 -1
- package/dist-types/commands/GetInAppMessagesCommand.d.ts +1 -1
- package/dist-types/commands/GetInAppTemplateCommand.d.ts +1 -1
- package/dist-types/commands/GetJourneyCommand.d.ts +1 -1
- package/dist-types/commands/GetJourneyDateRangeKpiCommand.d.ts +1 -1
- package/dist-types/commands/GetJourneyExecutionActivityMetricsCommand.d.ts +1 -1
- package/dist-types/commands/GetJourneyExecutionMetricsCommand.d.ts +1 -1
- package/dist-types/commands/GetPushTemplateCommand.d.ts +1 -1
- package/dist-types/commands/GetRecommenderConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/GetRecommenderConfigurationsCommand.d.ts +1 -1
- package/dist-types/commands/GetSegmentCommand.d.ts +1 -1
- package/dist-types/commands/GetSegmentExportJobsCommand.d.ts +1 -1
- package/dist-types/commands/GetSegmentImportJobsCommand.d.ts +1 -1
- package/dist-types/commands/GetSegmentVersionCommand.d.ts +1 -1
- package/dist-types/commands/GetSegmentVersionsCommand.d.ts +1 -1
- package/dist-types/commands/GetSegmentsCommand.d.ts +1 -1
- package/dist-types/commands/GetSmsChannelCommand.d.ts +1 -1
- package/dist-types/commands/GetSmsTemplateCommand.d.ts +1 -1
- package/dist-types/commands/GetUserEndpointsCommand.d.ts +1 -1
- package/dist-types/commands/GetVoiceChannelCommand.d.ts +1 -1
- package/dist-types/commands/GetVoiceTemplateCommand.d.ts +1 -1
- package/dist-types/commands/ListJourneysCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/ListTemplateVersionsCommand.d.ts +1 -1
- package/dist-types/commands/ListTemplatesCommand.d.ts +1 -1
- package/dist-types/commands/PhoneNumberValidateCommand.d.ts +2 -2
- package/dist-types/commands/PutEventStreamCommand.d.ts +2 -2
- package/dist-types/commands/PutEventsCommand.d.ts +15 -15
- package/dist-types/commands/RemoveAttributesCommand.d.ts +3 -3
- package/dist-types/commands/SendMessagesCommand.d.ts +34 -66
- package/dist-types/commands/SendOTPMessageCommand.d.ts +2 -2
- package/dist-types/commands/SendUsersMessagesCommand.d.ts +30 -56
- package/dist-types/commands/TagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateAdmChannelCommand.d.ts +2 -2
- package/dist-types/commands/UpdateApnsChannelCommand.d.ts +2 -2
- package/dist-types/commands/UpdateApnsSandboxChannelCommand.d.ts +2 -2
- package/dist-types/commands/UpdateApnsVoipChannelCommand.d.ts +2 -2
- package/dist-types/commands/UpdateApnsVoipSandboxChannelCommand.d.ts +2 -2
- package/dist-types/commands/UpdateApplicationSettingsCommand.d.ts +5 -5
- package/dist-types/commands/UpdateBaiduChannelCommand.d.ts +2 -2
- package/dist-types/commands/UpdateCampaignCommand.d.ts +52 -153
- package/dist-types/commands/UpdateEmailChannelCommand.d.ts +2 -2
- package/dist-types/commands/UpdateEmailTemplateCommand.d.ts +3 -3
- package/dist-types/commands/UpdateEndpointCommand.d.ts +8 -8
- package/dist-types/commands/UpdateEndpointsBatchCommand.d.ts +10 -10
- package/dist-types/commands/UpdateGcmChannelCommand.d.ts +2 -2
- package/dist-types/commands/UpdateInAppTemplateCommand.d.ts +11 -14
- package/dist-types/commands/UpdateJourneyCommand.d.ts +77 -158
- package/dist-types/commands/UpdateJourneyStateCommand.d.ts +2 -2
- package/dist-types/commands/UpdatePushTemplateCommand.d.ts +6 -6
- package/dist-types/commands/UpdateRecommenderConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/UpdateSegmentCommand.d.ts +35 -88
- package/dist-types/commands/UpdateSmsChannelCommand.d.ts +2 -2
- package/dist-types/commands/UpdateSmsTemplateCommand.d.ts +3 -3
- package/dist-types/commands/UpdateTemplateActiveVersionCommand.d.ts +2 -2
- package/dist-types/commands/UpdateVoiceChannelCommand.d.ts +2 -2
- package/dist-types/commands/UpdateVoiceTemplateCommand.d.ts +3 -3
- package/dist-types/commands/VerifyOTPMessageCommand.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +307 -177
- package/dist-types/ts3.4/models/models_0.d.ts +206 -177
- package/package.json +34 -34
|
@@ -26,46 +26,46 @@ export interface UpdateJourneyCommandOutput extends UpdateJourneyResponse, __Met
|
|
|
26
26
|
* import { PinpointClient, UpdateJourneyCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
|
|
27
27
|
* // const { PinpointClient, UpdateJourneyCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
|
|
28
28
|
* const client = new PinpointClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // UpdateJourneyRequest
|
|
30
30
|
* ApplicationId: "STRING_VALUE", // required
|
|
31
31
|
* JourneyId: "STRING_VALUE", // required
|
|
32
|
-
* WriteJourneyRequest: {
|
|
33
|
-
* Activities: {
|
|
34
|
-
* "<keys>": {
|
|
35
|
-
* CUSTOM: {
|
|
32
|
+
* WriteJourneyRequest: { // WriteJourneyRequest
|
|
33
|
+
* Activities: { // MapOfActivity
|
|
34
|
+
* "<keys>": { // Activity
|
|
35
|
+
* CUSTOM: { // CustomMessageActivity
|
|
36
36
|
* DeliveryUri: "STRING_VALUE",
|
|
37
|
-
* EndpointTypes: [
|
|
37
|
+
* EndpointTypes: [ // ListOf__EndpointTypesElement
|
|
38
38
|
* "STRING_VALUE",
|
|
39
39
|
* ],
|
|
40
|
-
* MessageConfig: {
|
|
40
|
+
* MessageConfig: { // JourneyCustomMessage
|
|
41
41
|
* Data: "STRING_VALUE",
|
|
42
42
|
* },
|
|
43
43
|
* NextActivity: "STRING_VALUE",
|
|
44
44
|
* TemplateName: "STRING_VALUE",
|
|
45
45
|
* TemplateVersion: "STRING_VALUE",
|
|
46
46
|
* },
|
|
47
|
-
* ConditionalSplit: {
|
|
48
|
-
* Condition: {
|
|
49
|
-
* Conditions: [
|
|
50
|
-
* {
|
|
51
|
-
* EventCondition: {
|
|
52
|
-
* Dimensions: {
|
|
53
|
-
* Attributes: {
|
|
54
|
-
* "<keys>": {
|
|
47
|
+
* ConditionalSplit: { // ConditionalSplitActivity
|
|
48
|
+
* Condition: { // Condition
|
|
49
|
+
* Conditions: [ // ListOfSimpleCondition
|
|
50
|
+
* { // SimpleCondition
|
|
51
|
+
* EventCondition: { // EventCondition
|
|
52
|
+
* Dimensions: { // EventDimensions
|
|
53
|
+
* Attributes: { // MapOfAttributeDimension
|
|
54
|
+
* "<keys>": { // AttributeDimension
|
|
55
55
|
* AttributeType: "STRING_VALUE",
|
|
56
|
-
* Values: [ // required
|
|
56
|
+
* Values: [ // ListOf__string // required
|
|
57
57
|
* "STRING_VALUE",
|
|
58
58
|
* ],
|
|
59
59
|
* },
|
|
60
60
|
* },
|
|
61
|
-
* EventType: {
|
|
61
|
+
* EventType: { // SetDimension
|
|
62
62
|
* DimensionType: "STRING_VALUE",
|
|
63
63
|
* Values: [ // required
|
|
64
64
|
* "STRING_VALUE",
|
|
65
65
|
* ],
|
|
66
66
|
* },
|
|
67
|
-
* Metrics: {
|
|
68
|
-
* "<keys>": {
|
|
67
|
+
* Metrics: { // MapOfMetricDimension
|
|
68
|
+
* "<keys>": { // MetricDimension
|
|
69
69
|
* ComparisonOperator: "STRING_VALUE", // required
|
|
70
70
|
* Value: Number("double"), // required
|
|
71
71
|
* },
|
|
@@ -73,10 +73,10 @@ export interface UpdateJourneyCommandOutput extends UpdateJourneyResponse, __Met
|
|
|
73
73
|
* },
|
|
74
74
|
* MessageActivity: "STRING_VALUE",
|
|
75
75
|
* },
|
|
76
|
-
* SegmentCondition: {
|
|
76
|
+
* SegmentCondition: { // SegmentCondition
|
|
77
77
|
* SegmentId: "STRING_VALUE", // required
|
|
78
78
|
* },
|
|
79
|
-
* SegmentDimensions: {
|
|
79
|
+
* SegmentDimensions: { // SegmentDimensions
|
|
80
80
|
* Attributes: {
|
|
81
81
|
* "<keys>": {
|
|
82
82
|
* AttributeType: "STRING_VALUE",
|
|
@@ -85,13 +85,13 @@ export interface UpdateJourneyCommandOutput extends UpdateJourneyResponse, __Met
|
|
|
85
85
|
* ],
|
|
86
86
|
* },
|
|
87
87
|
* },
|
|
88
|
-
* Behavior: {
|
|
89
|
-
* Recency: {
|
|
88
|
+
* Behavior: { // SegmentBehaviors
|
|
89
|
+
* Recency: { // RecencyDimension
|
|
90
90
|
* Duration: "STRING_VALUE", // required
|
|
91
91
|
* RecencyType: "STRING_VALUE", // required
|
|
92
92
|
* },
|
|
93
93
|
* },
|
|
94
|
-
* Demographic: {
|
|
94
|
+
* Demographic: { // SegmentDemographics
|
|
95
95
|
* AppVersion: {
|
|
96
96
|
* DimensionType: "STRING_VALUE",
|
|
97
97
|
* Values: [ // required
|
|
@@ -106,38 +106,19 @@ export interface UpdateJourneyCommandOutput extends UpdateJourneyResponse, __Met
|
|
|
106
106
|
* },
|
|
107
107
|
* DeviceType: {
|
|
108
108
|
* DimensionType: "STRING_VALUE",
|
|
109
|
-
* Values:
|
|
110
|
-
* "STRING_VALUE",
|
|
111
|
-
* ],
|
|
109
|
+
* Values: "<ListOf__string>", // required
|
|
112
110
|
* },
|
|
113
111
|
* Make: {
|
|
114
112
|
* DimensionType: "STRING_VALUE",
|
|
115
|
-
* Values:
|
|
116
|
-
* "STRING_VALUE",
|
|
117
|
-
* ],
|
|
118
|
-
* },
|
|
119
|
-
* Model: {
|
|
120
|
-
* DimensionType: "STRING_VALUE",
|
|
121
|
-
* Values: [ // required
|
|
122
|
-
* "STRING_VALUE",
|
|
123
|
-
* ],
|
|
124
|
-
* },
|
|
125
|
-
* Platform: {
|
|
126
|
-
* DimensionType: "STRING_VALUE",
|
|
127
|
-
* Values: [ // required
|
|
128
|
-
* "STRING_VALUE",
|
|
129
|
-
* ],
|
|
113
|
+
* Values: "<ListOf__string>", // required
|
|
130
114
|
* },
|
|
115
|
+
* Model: "<SetDimension>",
|
|
116
|
+
* Platform: "<SetDimension>",
|
|
131
117
|
* },
|
|
132
|
-
* Location: {
|
|
133
|
-
* Country:
|
|
134
|
-
*
|
|
135
|
-
*
|
|
136
|
-
* "STRING_VALUE",
|
|
137
|
-
* ],
|
|
138
|
-
* },
|
|
139
|
-
* GPSPoint: {
|
|
140
|
-
* Coordinates: {
|
|
118
|
+
* Location: { // SegmentLocation
|
|
119
|
+
* Country: "<SetDimension>",
|
|
120
|
+
* GPSPoint: { // GPSPointDimension
|
|
121
|
+
* Coordinates: { // GPSCoordinates
|
|
141
122
|
* Latitude: Number("double"), // required
|
|
142
123
|
* Longitude: Number("double"), // required
|
|
143
124
|
* },
|
|
@@ -153,9 +134,7 @@ export interface UpdateJourneyCommandOutput extends UpdateJourneyResponse, __Met
|
|
|
153
134
|
* UserAttributes: {
|
|
154
135
|
* "<keys>": {
|
|
155
136
|
* AttributeType: "STRING_VALUE",
|
|
156
|
-
* Values:
|
|
157
|
-
* "STRING_VALUE",
|
|
158
|
-
* ],
|
|
137
|
+
* Values: "<ListOf__string>", // required
|
|
159
138
|
* },
|
|
160
139
|
* },
|
|
161
140
|
* },
|
|
@@ -163,7 +142,7 @@ export interface UpdateJourneyCommandOutput extends UpdateJourneyResponse, __Met
|
|
|
163
142
|
* ],
|
|
164
143
|
* Operator: "STRING_VALUE",
|
|
165
144
|
* },
|
|
166
|
-
* EvaluationWaitTime: {
|
|
145
|
+
* EvaluationWaitTime: { // WaitTime
|
|
167
146
|
* WaitFor: "STRING_VALUE",
|
|
168
147
|
* WaitUntil: "STRING_VALUE",
|
|
169
148
|
* },
|
|
@@ -171,38 +150,31 @@ export interface UpdateJourneyCommandOutput extends UpdateJourneyResponse, __Met
|
|
|
171
150
|
* TrueActivity: "STRING_VALUE",
|
|
172
151
|
* },
|
|
173
152
|
* Description: "STRING_VALUE",
|
|
174
|
-
* EMAIL: {
|
|
175
|
-
* MessageConfig: {
|
|
153
|
+
* EMAIL: { // EmailMessageActivity
|
|
154
|
+
* MessageConfig: { // JourneyEmailMessage
|
|
176
155
|
* FromAddress: "STRING_VALUE",
|
|
177
156
|
* },
|
|
178
157
|
* NextActivity: "STRING_VALUE",
|
|
179
158
|
* TemplateName: "STRING_VALUE",
|
|
180
159
|
* TemplateVersion: "STRING_VALUE",
|
|
181
160
|
* },
|
|
182
|
-
* Holdout: {
|
|
161
|
+
* Holdout: { // HoldoutActivity
|
|
183
162
|
* NextActivity: "STRING_VALUE",
|
|
184
163
|
* Percentage: Number("int"), // required
|
|
185
164
|
* },
|
|
186
|
-
* MultiCondition: {
|
|
187
|
-
* Branches: [
|
|
188
|
-
* {
|
|
165
|
+
* MultiCondition: { // MultiConditionalSplitActivity
|
|
166
|
+
* Branches: [ // ListOfMultiConditionalBranch
|
|
167
|
+
* { // MultiConditionalBranch
|
|
189
168
|
* Condition: {
|
|
190
169
|
* EventCondition: {
|
|
191
170
|
* Dimensions: {
|
|
192
171
|
* Attributes: {
|
|
193
172
|
* "<keys>": {
|
|
194
173
|
* AttributeType: "STRING_VALUE",
|
|
195
|
-
* Values:
|
|
196
|
-
* "STRING_VALUE",
|
|
197
|
-
* ],
|
|
174
|
+
* Values: "<ListOf__string>", // required
|
|
198
175
|
* },
|
|
199
176
|
* },
|
|
200
|
-
* EventType:
|
|
201
|
-
* DimensionType: "STRING_VALUE",
|
|
202
|
-
* Values: [ // required
|
|
203
|
-
* "STRING_VALUE",
|
|
204
|
-
* ],
|
|
205
|
-
* },
|
|
177
|
+
* EventType: "<SetDimension>",
|
|
206
178
|
* Metrics: {
|
|
207
179
|
* "<keys>": {
|
|
208
180
|
* ComparisonOperator: "STRING_VALUE", // required
|
|
@@ -219,9 +191,7 @@ export interface UpdateJourneyCommandOutput extends UpdateJourneyResponse, __Met
|
|
|
219
191
|
* Attributes: {
|
|
220
192
|
* "<keys>": {
|
|
221
193
|
* AttributeType: "STRING_VALUE",
|
|
222
|
-
* Values:
|
|
223
|
-
* "STRING_VALUE",
|
|
224
|
-
* ],
|
|
194
|
+
* Values: "<ListOf__string>", // required
|
|
225
195
|
* },
|
|
226
196
|
* },
|
|
227
197
|
* Behavior: {
|
|
@@ -231,50 +201,15 @@ export interface UpdateJourneyCommandOutput extends UpdateJourneyResponse, __Met
|
|
|
231
201
|
* },
|
|
232
202
|
* },
|
|
233
203
|
* Demographic: {
|
|
234
|
-
* AppVersion:
|
|
235
|
-
*
|
|
236
|
-
*
|
|
237
|
-
*
|
|
238
|
-
*
|
|
239
|
-
*
|
|
240
|
-
* Channel: {
|
|
241
|
-
* DimensionType: "STRING_VALUE",
|
|
242
|
-
* Values: [ // required
|
|
243
|
-
* "STRING_VALUE",
|
|
244
|
-
* ],
|
|
245
|
-
* },
|
|
246
|
-
* DeviceType: {
|
|
247
|
-
* DimensionType: "STRING_VALUE",
|
|
248
|
-
* Values: [ // required
|
|
249
|
-
* "STRING_VALUE",
|
|
250
|
-
* ],
|
|
251
|
-
* },
|
|
252
|
-
* Make: {
|
|
253
|
-
* DimensionType: "STRING_VALUE",
|
|
254
|
-
* Values: [ // required
|
|
255
|
-
* "STRING_VALUE",
|
|
256
|
-
* ],
|
|
257
|
-
* },
|
|
258
|
-
* Model: {
|
|
259
|
-
* DimensionType: "STRING_VALUE",
|
|
260
|
-
* Values: [ // required
|
|
261
|
-
* "STRING_VALUE",
|
|
262
|
-
* ],
|
|
263
|
-
* },
|
|
264
|
-
* Platform: {
|
|
265
|
-
* DimensionType: "STRING_VALUE",
|
|
266
|
-
* Values: [ // required
|
|
267
|
-
* "STRING_VALUE",
|
|
268
|
-
* ],
|
|
269
|
-
* },
|
|
204
|
+
* AppVersion: "<SetDimension>",
|
|
205
|
+
* Channel: "<SetDimension>",
|
|
206
|
+
* DeviceType: "<SetDimension>",
|
|
207
|
+
* Make: "<SetDimension>",
|
|
208
|
+
* Model: "<SetDimension>",
|
|
209
|
+
* Platform: "<SetDimension>",
|
|
270
210
|
* },
|
|
271
211
|
* Location: {
|
|
272
|
-
* Country:
|
|
273
|
-
* DimensionType: "STRING_VALUE",
|
|
274
|
-
* Values: [ // required
|
|
275
|
-
* "STRING_VALUE",
|
|
276
|
-
* ],
|
|
277
|
-
* },
|
|
212
|
+
* Country: "<SetDimension>",
|
|
278
213
|
* GPSPoint: {
|
|
279
214
|
* Coordinates: {
|
|
280
215
|
* Latitude: Number("double"), // required
|
|
@@ -289,14 +224,7 @@ export interface UpdateJourneyCommandOutput extends UpdateJourneyResponse, __Met
|
|
|
289
224
|
* Value: Number("double"), // required
|
|
290
225
|
* },
|
|
291
226
|
* },
|
|
292
|
-
* UserAttributes:
|
|
293
|
-
* "<keys>": {
|
|
294
|
-
* AttributeType: "STRING_VALUE",
|
|
295
|
-
* Values: [ // required
|
|
296
|
-
* "STRING_VALUE",
|
|
297
|
-
* ],
|
|
298
|
-
* },
|
|
299
|
-
* },
|
|
227
|
+
* UserAttributes: "<MapOfAttributeDimension>",
|
|
300
228
|
* },
|
|
301
229
|
* },
|
|
302
230
|
* NextActivity: "STRING_VALUE",
|
|
@@ -308,24 +236,24 @@ export interface UpdateJourneyCommandOutput extends UpdateJourneyResponse, __Met
|
|
|
308
236
|
* WaitUntil: "STRING_VALUE",
|
|
309
237
|
* },
|
|
310
238
|
* },
|
|
311
|
-
* PUSH: {
|
|
312
|
-
* MessageConfig: {
|
|
239
|
+
* PUSH: { // PushMessageActivity
|
|
240
|
+
* MessageConfig: { // JourneyPushMessage
|
|
313
241
|
* TimeToLive: "STRING_VALUE",
|
|
314
242
|
* },
|
|
315
243
|
* NextActivity: "STRING_VALUE",
|
|
316
244
|
* TemplateName: "STRING_VALUE",
|
|
317
245
|
* TemplateVersion: "STRING_VALUE",
|
|
318
246
|
* },
|
|
319
|
-
* RandomSplit: {
|
|
320
|
-
* Branches: [
|
|
321
|
-
* {
|
|
247
|
+
* RandomSplit: { // RandomSplitActivity
|
|
248
|
+
* Branches: [ // ListOfRandomSplitEntry
|
|
249
|
+
* { // RandomSplitEntry
|
|
322
250
|
* NextActivity: "STRING_VALUE",
|
|
323
251
|
* Percentage: Number("int"),
|
|
324
252
|
* },
|
|
325
253
|
* ],
|
|
326
254
|
* },
|
|
327
|
-
* SMS: {
|
|
328
|
-
* MessageConfig: {
|
|
255
|
+
* SMS: { // SMSMessageActivity
|
|
256
|
+
* MessageConfig: { // JourneySMSMessage
|
|
329
257
|
* MessageType: "STRING_VALUE",
|
|
330
258
|
* OriginationNumber: "STRING_VALUE",
|
|
331
259
|
* SenderId: "STRING_VALUE",
|
|
@@ -336,21 +264,21 @@ export interface UpdateJourneyCommandOutput extends UpdateJourneyResponse, __Met
|
|
|
336
264
|
* TemplateName: "STRING_VALUE",
|
|
337
265
|
* TemplateVersion: "STRING_VALUE",
|
|
338
266
|
* },
|
|
339
|
-
* Wait: {
|
|
267
|
+
* Wait: { // WaitActivity
|
|
340
268
|
* NextActivity: "STRING_VALUE",
|
|
341
269
|
* WaitTime: {
|
|
342
270
|
* WaitFor: "STRING_VALUE",
|
|
343
271
|
* WaitUntil: "STRING_VALUE",
|
|
344
272
|
* },
|
|
345
273
|
* },
|
|
346
|
-
* ContactCenter: {
|
|
274
|
+
* ContactCenter: { // ContactCenterActivity
|
|
347
275
|
* NextActivity: "STRING_VALUE",
|
|
348
276
|
* },
|
|
349
277
|
* },
|
|
350
278
|
* },
|
|
351
279
|
* CreationDate: "STRING_VALUE",
|
|
352
280
|
* LastModifiedDate: "STRING_VALUE",
|
|
353
|
-
* Limits: {
|
|
281
|
+
* Limits: { // JourneyLimits
|
|
354
282
|
* DailyCap: Number("int"),
|
|
355
283
|
* EndpointReentryCap: Number("int"),
|
|
356
284
|
* MessagesPerSecond: Number("int"),
|
|
@@ -358,34 +286,25 @@ export interface UpdateJourneyCommandOutput extends UpdateJourneyResponse, __Met
|
|
|
358
286
|
* },
|
|
359
287
|
* LocalTime: true || false,
|
|
360
288
|
* Name: "STRING_VALUE", // required
|
|
361
|
-
* QuietTime: {
|
|
289
|
+
* QuietTime: { // QuietTime
|
|
362
290
|
* End: "STRING_VALUE",
|
|
363
291
|
* Start: "STRING_VALUE",
|
|
364
292
|
* },
|
|
365
293
|
* RefreshFrequency: "STRING_VALUE",
|
|
366
|
-
* Schedule: {
|
|
294
|
+
* Schedule: { // JourneySchedule
|
|
367
295
|
* EndTime: new Date("TIMESTAMP"),
|
|
368
296
|
* StartTime: new Date("TIMESTAMP"),
|
|
369
297
|
* Timezone: "STRING_VALUE",
|
|
370
298
|
* },
|
|
371
299
|
* StartActivity: "STRING_VALUE",
|
|
372
|
-
* StartCondition: {
|
|
300
|
+
* StartCondition: { // StartCondition
|
|
373
301
|
* Description: "STRING_VALUE",
|
|
374
|
-
* EventStartCondition: {
|
|
375
|
-
* EventFilter: {
|
|
302
|
+
* EventStartCondition: { // EventStartCondition
|
|
303
|
+
* EventFilter: { // EventFilter
|
|
376
304
|
* Dimensions: {
|
|
377
|
-
* Attributes:
|
|
378
|
-
*
|
|
379
|
-
*
|
|
380
|
-
* EventType: {
|
|
381
|
-
* DimensionType: "STRING_VALUE",
|
|
382
|
-
* Values: [ // required
|
|
383
|
-
* "<ListOf__string>",
|
|
384
|
-
* ],
|
|
385
|
-
* },
|
|
386
|
-
* Metrics: {
|
|
387
|
-
* "<keys>": "<MetricDimension>",
|
|
388
|
-
* },
|
|
305
|
+
* Attributes: "<MapOfAttributeDimension>",
|
|
306
|
+
* EventType: "<SetDimension>",
|
|
307
|
+
* Metrics: "<MapOfMetricDimension>",
|
|
389
308
|
* },
|
|
390
309
|
* FilterType: "STRING_VALUE", // required
|
|
391
310
|
* },
|
|
@@ -398,15 +317,15 @@ export interface UpdateJourneyCommandOutput extends UpdateJourneyResponse, __Met
|
|
|
398
317
|
* State: "STRING_VALUE",
|
|
399
318
|
* WaitForQuietTime: true || false,
|
|
400
319
|
* RefreshOnSegmentUpdate: true || false,
|
|
401
|
-
* JourneyChannelSettings: {
|
|
320
|
+
* JourneyChannelSettings: { // JourneyChannelSettings
|
|
402
321
|
* ConnectCampaignArn: "STRING_VALUE",
|
|
403
322
|
* ConnectCampaignExecutionRoleArn: "STRING_VALUE",
|
|
404
323
|
* },
|
|
405
324
|
* SendingSchedule: true || false,
|
|
406
|
-
* OpenHours: {
|
|
407
|
-
* EMAIL: {
|
|
408
|
-
* "<keys>": [
|
|
409
|
-
* {
|
|
325
|
+
* OpenHours: { // OpenHours
|
|
326
|
+
* EMAIL: { // MapOfListOfOpenHoursRules
|
|
327
|
+
* "<keys>": [ // ListOfOpenHoursRules
|
|
328
|
+
* { // OpenHoursRule
|
|
410
329
|
* StartTime: "STRING_VALUE",
|
|
411
330
|
* EndTime: "STRING_VALUE",
|
|
412
331
|
* },
|
|
@@ -445,9 +364,9 @@ export interface UpdateJourneyCommandOutput extends UpdateJourneyResponse, __Met
|
|
|
445
364
|
* ],
|
|
446
365
|
* },
|
|
447
366
|
* },
|
|
448
|
-
* ClosedDays: {
|
|
449
|
-
* EMAIL: [
|
|
450
|
-
* {
|
|
367
|
+
* ClosedDays: { // ClosedDays
|
|
368
|
+
* EMAIL: [ // ListOfClosedDaysRules
|
|
369
|
+
* { // ClosedDaysRule
|
|
451
370
|
* Name: "STRING_VALUE",
|
|
452
371
|
* StartDateTime: "STRING_VALUE",
|
|
453
372
|
* EndDateTime: "STRING_VALUE",
|
|
@@ -26,10 +26,10 @@ export interface UpdateJourneyStateCommandOutput extends UpdateJourneyStateRespo
|
|
|
26
26
|
* import { PinpointClient, UpdateJourneyStateCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
|
|
27
27
|
* // const { PinpointClient, UpdateJourneyStateCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
|
|
28
28
|
* const client = new PinpointClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // UpdateJourneyStateRequest
|
|
30
30
|
* ApplicationId: "STRING_VALUE", // required
|
|
31
31
|
* JourneyId: "STRING_VALUE", // required
|
|
32
|
-
* JourneyStateRequest: {
|
|
32
|
+
* JourneyStateRequest: { // JourneyStateRequest
|
|
33
33
|
* State: "STRING_VALUE",
|
|
34
34
|
* },
|
|
35
35
|
* };
|
|
@@ -26,10 +26,10 @@ export interface UpdatePushTemplateCommandOutput extends UpdatePushTemplateRespo
|
|
|
26
26
|
* import { PinpointClient, UpdatePushTemplateCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
|
|
27
27
|
* // const { PinpointClient, UpdatePushTemplateCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
|
|
28
28
|
* const client = new PinpointClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // UpdatePushTemplateRequest
|
|
30
30
|
* CreateNewVersion: true || false,
|
|
31
|
-
* PushNotificationTemplateRequest: {
|
|
32
|
-
* ADM: {
|
|
31
|
+
* PushNotificationTemplateRequest: { // PushNotificationTemplateRequest
|
|
32
|
+
* ADM: { // AndroidPushNotificationTemplate
|
|
33
33
|
* Action: "STRING_VALUE",
|
|
34
34
|
* Body: "STRING_VALUE",
|
|
35
35
|
* ImageIconUrl: "STRING_VALUE",
|
|
@@ -40,7 +40,7 @@ export interface UpdatePushTemplateCommandOutput extends UpdatePushTemplateRespo
|
|
|
40
40
|
* Title: "STRING_VALUE",
|
|
41
41
|
* Url: "STRING_VALUE",
|
|
42
42
|
* },
|
|
43
|
-
* APNS: {
|
|
43
|
+
* APNS: { // APNSPushNotificationTemplate
|
|
44
44
|
* Action: "STRING_VALUE",
|
|
45
45
|
* Body: "STRING_VALUE",
|
|
46
46
|
* MediaUrl: "STRING_VALUE",
|
|
@@ -60,7 +60,7 @@ export interface UpdatePushTemplateCommandOutput extends UpdatePushTemplateRespo
|
|
|
60
60
|
* Title: "STRING_VALUE",
|
|
61
61
|
* Url: "STRING_VALUE",
|
|
62
62
|
* },
|
|
63
|
-
* Default: {
|
|
63
|
+
* Default: { // DefaultPushNotificationTemplate
|
|
64
64
|
* Action: "STRING_VALUE",
|
|
65
65
|
* Body: "STRING_VALUE",
|
|
66
66
|
* Sound: "STRING_VALUE",
|
|
@@ -80,7 +80,7 @@ export interface UpdatePushTemplateCommandOutput extends UpdatePushTemplateRespo
|
|
|
80
80
|
* Url: "STRING_VALUE",
|
|
81
81
|
* },
|
|
82
82
|
* RecommenderId: "STRING_VALUE",
|
|
83
|
-
* tags: {
|
|
83
|
+
* tags: { // MapOf__string
|
|
84
84
|
* "<keys>": "STRING_VALUE",
|
|
85
85
|
* },
|
|
86
86
|
* TemplateDescription: "STRING_VALUE",
|
|
@@ -26,10 +26,10 @@ export interface UpdateRecommenderConfigurationCommandOutput extends UpdateRecom
|
|
|
26
26
|
* import { PinpointClient, UpdateRecommenderConfigurationCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
|
|
27
27
|
* // const { PinpointClient, UpdateRecommenderConfigurationCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
|
|
28
28
|
* const client = new PinpointClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // UpdateRecommenderConfigurationRequest
|
|
30
30
|
* RecommenderId: "STRING_VALUE", // required
|
|
31
|
-
* UpdateRecommenderConfiguration: {
|
|
32
|
-
* Attributes: {
|
|
31
|
+
* UpdateRecommenderConfiguration: { // UpdateRecommenderConfigurationShape
|
|
32
|
+
* Attributes: { // MapOf__string
|
|
33
33
|
* "<keys>": "STRING_VALUE",
|
|
34
34
|
* },
|
|
35
35
|
* Description: "STRING_VALUE",
|