@aws-sdk/client-pinpoint 3.299.0 → 3.300.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 +8 -0
- package/dist-types/commands/CreateCampaignCommand.d.ts +468 -0
- package/dist-types/commands/CreateEmailTemplateCommand.d.ts +14 -0
- package/dist-types/commands/CreateExportJobCommand.d.ts +9 -0
- package/dist-types/commands/CreateImportJobCommand.d.ts +13 -0
- package/dist-types/commands/CreateInAppTemplateCommand.d.ts +73 -0
- package/dist-types/commands/CreateJourneyCommand.d.ts +457 -0
- package/dist-types/commands/CreatePushTemplateCommand.d.ts +60 -0
- package/dist-types/commands/CreateRecommenderConfigurationCommand.d.ts +15 -0
- package/dist-types/commands/CreateSegmentCommand.d.ts +192 -0
- package/dist-types/commands/CreateSmsTemplateCommand.d.ts +12 -0
- package/dist-types/commands/CreateVoiceTemplateCommand.d.ts +13 -0
- package/dist-types/commands/DeleteAdmChannelCommand.d.ts +3 -0
- package/dist-types/commands/DeleteApnsChannelCommand.d.ts +3 -0
- package/dist-types/commands/DeleteApnsSandboxChannelCommand.d.ts +3 -0
- package/dist-types/commands/DeleteApnsVoipChannelCommand.d.ts +3 -0
- package/dist-types/commands/DeleteApnsVoipSandboxChannelCommand.d.ts +3 -0
- package/dist-types/commands/DeleteAppCommand.d.ts +3 -0
- package/dist-types/commands/DeleteBaiduChannelCommand.d.ts +3 -0
- package/dist-types/commands/DeleteCampaignCommand.d.ts +4 -0
- package/dist-types/commands/DeleteEmailChannelCommand.d.ts +3 -0
- package/dist-types/commands/DeleteEmailTemplateCommand.d.ts +4 -0
- package/dist-types/commands/DeleteEndpointCommand.d.ts +4 -0
- package/dist-types/commands/DeleteEventStreamCommand.d.ts +3 -0
- package/dist-types/commands/DeleteGcmChannelCommand.d.ts +3 -0
- package/dist-types/commands/DeleteInAppTemplateCommand.d.ts +4 -0
- package/dist-types/commands/DeleteJourneyCommand.d.ts +4 -0
- package/dist-types/commands/DeletePushTemplateCommand.d.ts +4 -0
- package/dist-types/commands/DeleteRecommenderConfigurationCommand.d.ts +3 -0
- package/dist-types/commands/DeleteSegmentCommand.d.ts +4 -0
- package/dist-types/commands/DeleteSmsChannelCommand.d.ts +3 -0
- package/dist-types/commands/DeleteSmsTemplateCommand.d.ts +4 -0
- package/dist-types/commands/DeleteUserEndpointsCommand.d.ts +4 -0
- package/dist-types/commands/DeleteVoiceChannelCommand.d.ts +3 -0
- package/dist-types/commands/DeleteVoiceTemplateCommand.d.ts +4 -0
- package/dist-types/commands/GetAdmChannelCommand.d.ts +3 -0
- package/dist-types/commands/GetApnsChannelCommand.d.ts +3 -0
- package/dist-types/commands/GetApnsSandboxChannelCommand.d.ts +3 -0
- package/dist-types/commands/GetApnsVoipChannelCommand.d.ts +3 -0
- package/dist-types/commands/GetApnsVoipSandboxChannelCommand.d.ts +3 -0
- package/dist-types/commands/GetAppCommand.d.ts +3 -0
- package/dist-types/commands/GetApplicationDateRangeKpiCommand.d.ts +8 -0
- package/dist-types/commands/GetApplicationSettingsCommand.d.ts +3 -0
- package/dist-types/commands/GetAppsCommand.d.ts +4 -0
- package/dist-types/commands/GetBaiduChannelCommand.d.ts +3 -0
- package/dist-types/commands/GetCampaignActivitiesCommand.d.ts +6 -0
- package/dist-types/commands/GetCampaignCommand.d.ts +4 -0
- package/dist-types/commands/GetCampaignDateRangeKpiCommand.d.ts +9 -0
- package/dist-types/commands/GetCampaignVersionCommand.d.ts +5 -0
- package/dist-types/commands/GetCampaignVersionsCommand.d.ts +6 -0
- package/dist-types/commands/GetCampaignsCommand.d.ts +5 -0
- package/dist-types/commands/GetChannelsCommand.d.ts +3 -0
- package/dist-types/commands/GetEmailChannelCommand.d.ts +3 -0
- package/dist-types/commands/GetEmailTemplateCommand.d.ts +4 -0
- package/dist-types/commands/GetEndpointCommand.d.ts +4 -0
- package/dist-types/commands/GetEventStreamCommand.d.ts +3 -0
- package/dist-types/commands/GetExportJobCommand.d.ts +4 -0
- package/dist-types/commands/GetExportJobsCommand.d.ts +5 -0
- package/dist-types/commands/GetGcmChannelCommand.d.ts +3 -0
- package/dist-types/commands/GetImportJobCommand.d.ts +4 -0
- package/dist-types/commands/GetImportJobsCommand.d.ts +5 -0
- package/dist-types/commands/GetInAppMessagesCommand.d.ts +4 -0
- package/dist-types/commands/GetInAppTemplateCommand.d.ts +4 -0
- package/dist-types/commands/GetJourneyCommand.d.ts +4 -0
- package/dist-types/commands/GetJourneyDateRangeKpiCommand.d.ts +9 -0
- package/dist-types/commands/GetJourneyExecutionActivityMetricsCommand.d.ts +7 -0
- package/dist-types/commands/GetJourneyExecutionMetricsCommand.d.ts +6 -0
- package/dist-types/commands/GetPushTemplateCommand.d.ts +4 -0
- package/dist-types/commands/GetRecommenderConfigurationCommand.d.ts +3 -0
- package/dist-types/commands/GetRecommenderConfigurationsCommand.d.ts +4 -0
- package/dist-types/commands/GetSegmentCommand.d.ts +4 -0
- package/dist-types/commands/GetSegmentExportJobsCommand.d.ts +6 -0
- package/dist-types/commands/GetSegmentImportJobsCommand.d.ts +6 -0
- package/dist-types/commands/GetSegmentVersionCommand.d.ts +5 -0
- package/dist-types/commands/GetSegmentVersionsCommand.d.ts +6 -0
- package/dist-types/commands/GetSegmentsCommand.d.ts +5 -0
- package/dist-types/commands/GetSmsChannelCommand.d.ts +3 -0
- package/dist-types/commands/GetSmsTemplateCommand.d.ts +4 -0
- package/dist-types/commands/GetUserEndpointsCommand.d.ts +4 -0
- package/dist-types/commands/GetVoiceChannelCommand.d.ts +3 -0
- package/dist-types/commands/GetVoiceTemplateCommand.d.ts +4 -0
- package/dist-types/commands/ListJourneysCommand.d.ts +5 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
- package/dist-types/commands/ListTemplateVersionsCommand.d.ts +6 -0
- package/dist-types/commands/ListTemplatesCommand.d.ts +6 -0
- package/dist-types/commands/PhoneNumberValidateCommand.d.ts +6 -0
- package/dist-types/commands/PutEventStreamCommand.d.ts +7 -0
- package/dist-types/commands/PutEventsCommand.d.ts +74 -0
- package/dist-types/commands/RemoveAttributesCommand.d.ts +9 -0
- package/dist-types/commands/SendMessagesCommand.d.ts +236 -0
- package/dist-types/commands/SendOTPMessageCommand.d.ts +16 -0
- package/dist-types/commands/SendUsersMessagesCommand.d.ts +220 -0
- package/dist-types/commands/TagResourceCommand.d.ts +8 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UpdateAdmChannelCommand.d.ts +8 -0
- package/dist-types/commands/UpdateApnsChannelCommand.d.ts +13 -0
- package/dist-types/commands/UpdateApnsSandboxChannelCommand.d.ts +13 -0
- package/dist-types/commands/UpdateApnsVoipChannelCommand.d.ts +13 -0
- package/dist-types/commands/UpdateApnsVoipSandboxChannelCommand.d.ts +13 -0
- package/dist-types/commands/UpdateApplicationSettingsCommand.d.ts +23 -0
- package/dist-types/commands/UpdateBaiduChannelCommand.d.ts +8 -0
- package/dist-types/commands/UpdateCampaignCommand.d.ts +469 -0
- package/dist-types/commands/UpdateEmailChannelCommand.d.ts +10 -0
- package/dist-types/commands/UpdateEmailTemplateCommand.d.ts +16 -0
- package/dist-types/commands/UpdateEndpointCommand.d.ts +46 -0
- package/dist-types/commands/UpdateEndpointsBatchCommand.d.ts +50 -0
- package/dist-types/commands/UpdateGcmChannelCommand.d.ts +7 -0
- package/dist-types/commands/UpdateInAppTemplateCommand.d.ts +75 -0
- package/dist-types/commands/UpdateJourneyCommand.d.ts +458 -0
- package/dist-types/commands/UpdateJourneyStateCommand.d.ts +7 -0
- package/dist-types/commands/UpdatePushTemplateCommand.d.ts +62 -0
- package/dist-types/commands/UpdateRecommenderConfigurationCommand.d.ts +16 -0
- package/dist-types/commands/UpdateSegmentCommand.d.ts +193 -0
- package/dist-types/commands/UpdateSmsChannelCommand.d.ts +8 -0
- package/dist-types/commands/UpdateSmsTemplateCommand.d.ts +14 -0
- package/dist-types/commands/UpdateTemplateActiveVersionCommand.d.ts +7 -0
- package/dist-types/commands/UpdateVoiceChannelCommand.d.ts +6 -0
- package/dist-types/commands/UpdateVoiceTemplateCommand.d.ts +15 -0
- package/dist-types/commands/VerifyOTPMessageCommand.d.ts +8 -0
- package/package.json +8 -8
|
@@ -26,6 +26,199 @@ export interface UpdateSegmentCommandOutput extends UpdateSegmentResponse, __Met
|
|
|
26
26
|
* import { PinpointClient, UpdateSegmentCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
|
|
27
27
|
* // const { PinpointClient, UpdateSegmentCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
|
|
28
28
|
* const client = new PinpointClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* ApplicationId: "STRING_VALUE", // required
|
|
31
|
+
* SegmentId: "STRING_VALUE", // required
|
|
32
|
+
* WriteSegmentRequest: {
|
|
33
|
+
* Dimensions: {
|
|
34
|
+
* Attributes: {
|
|
35
|
+
* "<keys>": {
|
|
36
|
+
* AttributeType: "STRING_VALUE",
|
|
37
|
+
* Values: [ // required
|
|
38
|
+
* "STRING_VALUE",
|
|
39
|
+
* ],
|
|
40
|
+
* },
|
|
41
|
+
* },
|
|
42
|
+
* Behavior: {
|
|
43
|
+
* Recency: {
|
|
44
|
+
* Duration: "STRING_VALUE", // required
|
|
45
|
+
* RecencyType: "STRING_VALUE", // required
|
|
46
|
+
* },
|
|
47
|
+
* },
|
|
48
|
+
* Demographic: {
|
|
49
|
+
* AppVersion: {
|
|
50
|
+
* DimensionType: "STRING_VALUE",
|
|
51
|
+
* Values: [ // required
|
|
52
|
+
* "STRING_VALUE",
|
|
53
|
+
* ],
|
|
54
|
+
* },
|
|
55
|
+
* Channel: {
|
|
56
|
+
* DimensionType: "STRING_VALUE",
|
|
57
|
+
* Values: [ // required
|
|
58
|
+
* "STRING_VALUE",
|
|
59
|
+
* ],
|
|
60
|
+
* },
|
|
61
|
+
* DeviceType: {
|
|
62
|
+
* DimensionType: "STRING_VALUE",
|
|
63
|
+
* Values: [ // required
|
|
64
|
+
* "STRING_VALUE",
|
|
65
|
+
* ],
|
|
66
|
+
* },
|
|
67
|
+
* Make: {
|
|
68
|
+
* DimensionType: "STRING_VALUE",
|
|
69
|
+
* Values: [ // required
|
|
70
|
+
* "STRING_VALUE",
|
|
71
|
+
* ],
|
|
72
|
+
* },
|
|
73
|
+
* Model: {
|
|
74
|
+
* DimensionType: "STRING_VALUE",
|
|
75
|
+
* Values: [ // required
|
|
76
|
+
* "STRING_VALUE",
|
|
77
|
+
* ],
|
|
78
|
+
* },
|
|
79
|
+
* Platform: {
|
|
80
|
+
* DimensionType: "STRING_VALUE",
|
|
81
|
+
* Values: [ // required
|
|
82
|
+
* "STRING_VALUE",
|
|
83
|
+
* ],
|
|
84
|
+
* },
|
|
85
|
+
* },
|
|
86
|
+
* Location: {
|
|
87
|
+
* Country: {
|
|
88
|
+
* DimensionType: "STRING_VALUE",
|
|
89
|
+
* Values: [ // required
|
|
90
|
+
* "STRING_VALUE",
|
|
91
|
+
* ],
|
|
92
|
+
* },
|
|
93
|
+
* GPSPoint: {
|
|
94
|
+
* Coordinates: {
|
|
95
|
+
* Latitude: Number("double"), // required
|
|
96
|
+
* Longitude: Number("double"), // required
|
|
97
|
+
* },
|
|
98
|
+
* RangeInKilometers: Number("double"),
|
|
99
|
+
* },
|
|
100
|
+
* },
|
|
101
|
+
* Metrics: {
|
|
102
|
+
* "<keys>": {
|
|
103
|
+
* ComparisonOperator: "STRING_VALUE", // required
|
|
104
|
+
* Value: Number("double"), // required
|
|
105
|
+
* },
|
|
106
|
+
* },
|
|
107
|
+
* UserAttributes: {
|
|
108
|
+
* "<keys>": {
|
|
109
|
+
* AttributeType: "STRING_VALUE",
|
|
110
|
+
* Values: [ // required
|
|
111
|
+
* "STRING_VALUE",
|
|
112
|
+
* ],
|
|
113
|
+
* },
|
|
114
|
+
* },
|
|
115
|
+
* },
|
|
116
|
+
* Name: "STRING_VALUE",
|
|
117
|
+
* SegmentGroups: {
|
|
118
|
+
* Groups: [
|
|
119
|
+
* {
|
|
120
|
+
* Dimensions: [
|
|
121
|
+
* {
|
|
122
|
+
* Attributes: {
|
|
123
|
+
* "<keys>": {
|
|
124
|
+
* AttributeType: "STRING_VALUE",
|
|
125
|
+
* Values: [ // required
|
|
126
|
+
* "STRING_VALUE",
|
|
127
|
+
* ],
|
|
128
|
+
* },
|
|
129
|
+
* },
|
|
130
|
+
* Behavior: {
|
|
131
|
+
* Recency: {
|
|
132
|
+
* Duration: "STRING_VALUE", // required
|
|
133
|
+
* RecencyType: "STRING_VALUE", // required
|
|
134
|
+
* },
|
|
135
|
+
* },
|
|
136
|
+
* Demographic: {
|
|
137
|
+
* AppVersion: {
|
|
138
|
+
* DimensionType: "STRING_VALUE",
|
|
139
|
+
* Values: [ // required
|
|
140
|
+
* "STRING_VALUE",
|
|
141
|
+
* ],
|
|
142
|
+
* },
|
|
143
|
+
* Channel: {
|
|
144
|
+
* DimensionType: "STRING_VALUE",
|
|
145
|
+
* Values: [ // required
|
|
146
|
+
* "STRING_VALUE",
|
|
147
|
+
* ],
|
|
148
|
+
* },
|
|
149
|
+
* DeviceType: {
|
|
150
|
+
* DimensionType: "STRING_VALUE",
|
|
151
|
+
* Values: [ // required
|
|
152
|
+
* "STRING_VALUE",
|
|
153
|
+
* ],
|
|
154
|
+
* },
|
|
155
|
+
* Make: {
|
|
156
|
+
* DimensionType: "STRING_VALUE",
|
|
157
|
+
* Values: [ // required
|
|
158
|
+
* "STRING_VALUE",
|
|
159
|
+
* ],
|
|
160
|
+
* },
|
|
161
|
+
* Model: {
|
|
162
|
+
* DimensionType: "STRING_VALUE",
|
|
163
|
+
* Values: [ // required
|
|
164
|
+
* "STRING_VALUE",
|
|
165
|
+
* ],
|
|
166
|
+
* },
|
|
167
|
+
* Platform: {
|
|
168
|
+
* DimensionType: "STRING_VALUE",
|
|
169
|
+
* Values: [ // required
|
|
170
|
+
* "STRING_VALUE",
|
|
171
|
+
* ],
|
|
172
|
+
* },
|
|
173
|
+
* },
|
|
174
|
+
* Location: {
|
|
175
|
+
* Country: {
|
|
176
|
+
* DimensionType: "STRING_VALUE",
|
|
177
|
+
* Values: [ // required
|
|
178
|
+
* "STRING_VALUE",
|
|
179
|
+
* ],
|
|
180
|
+
* },
|
|
181
|
+
* GPSPoint: {
|
|
182
|
+
* Coordinates: {
|
|
183
|
+
* Latitude: Number("double"), // required
|
|
184
|
+
* Longitude: Number("double"), // required
|
|
185
|
+
* },
|
|
186
|
+
* RangeInKilometers: Number("double"),
|
|
187
|
+
* },
|
|
188
|
+
* },
|
|
189
|
+
* Metrics: {
|
|
190
|
+
* "<keys>": {
|
|
191
|
+
* ComparisonOperator: "STRING_VALUE", // required
|
|
192
|
+
* Value: Number("double"), // required
|
|
193
|
+
* },
|
|
194
|
+
* },
|
|
195
|
+
* UserAttributes: {
|
|
196
|
+
* "<keys>": {
|
|
197
|
+
* AttributeType: "STRING_VALUE",
|
|
198
|
+
* Values: [ // required
|
|
199
|
+
* "STRING_VALUE",
|
|
200
|
+
* ],
|
|
201
|
+
* },
|
|
202
|
+
* },
|
|
203
|
+
* },
|
|
204
|
+
* ],
|
|
205
|
+
* SourceSegments: [
|
|
206
|
+
* {
|
|
207
|
+
* Id: "STRING_VALUE", // required
|
|
208
|
+
* Version: Number("int"),
|
|
209
|
+
* },
|
|
210
|
+
* ],
|
|
211
|
+
* SourceType: "STRING_VALUE",
|
|
212
|
+
* Type: "STRING_VALUE",
|
|
213
|
+
* },
|
|
214
|
+
* ],
|
|
215
|
+
* Include: "STRING_VALUE",
|
|
216
|
+
* },
|
|
217
|
+
* tags: {
|
|
218
|
+
* "<keys>": "STRING_VALUE",
|
|
219
|
+
* },
|
|
220
|
+
* },
|
|
221
|
+
* };
|
|
29
222
|
* const command = new UpdateSegmentCommand(input);
|
|
30
223
|
* const response = await client.send(command);
|
|
31
224
|
* ```
|
|
@@ -26,6 +26,14 @@ export interface UpdateSmsChannelCommandOutput extends UpdateSmsChannelResponse,
|
|
|
26
26
|
* import { PinpointClient, UpdateSmsChannelCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
|
|
27
27
|
* // const { PinpointClient, UpdateSmsChannelCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
|
|
28
28
|
* const client = new PinpointClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* ApplicationId: "STRING_VALUE", // required
|
|
31
|
+
* SMSChannelRequest: {
|
|
32
|
+
* Enabled: true || false,
|
|
33
|
+
* SenderId: "STRING_VALUE",
|
|
34
|
+
* ShortCode: "STRING_VALUE",
|
|
35
|
+
* },
|
|
36
|
+
* };
|
|
29
37
|
* const command = new UpdateSmsChannelCommand(input);
|
|
30
38
|
* const response = await client.send(command);
|
|
31
39
|
* ```
|
|
@@ -26,6 +26,20 @@ export interface UpdateSmsTemplateCommandOutput extends UpdateSmsTemplateRespons
|
|
|
26
26
|
* import { PinpointClient, UpdateSmsTemplateCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
|
|
27
27
|
* // const { PinpointClient, UpdateSmsTemplateCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
|
|
28
28
|
* const client = new PinpointClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* CreateNewVersion: true || false,
|
|
31
|
+
* SMSTemplateRequest: {
|
|
32
|
+
* Body: "STRING_VALUE",
|
|
33
|
+
* DefaultSubstitutions: "STRING_VALUE",
|
|
34
|
+
* RecommenderId: "STRING_VALUE",
|
|
35
|
+
* tags: {
|
|
36
|
+
* "<keys>": "STRING_VALUE",
|
|
37
|
+
* },
|
|
38
|
+
* TemplateDescription: "STRING_VALUE",
|
|
39
|
+
* },
|
|
40
|
+
* TemplateName: "STRING_VALUE", // required
|
|
41
|
+
* Version: "STRING_VALUE",
|
|
42
|
+
* };
|
|
29
43
|
* const command = new UpdateSmsTemplateCommand(input);
|
|
30
44
|
* const response = await client.send(command);
|
|
31
45
|
* ```
|
|
@@ -26,6 +26,13 @@ export interface UpdateTemplateActiveVersionCommandOutput extends UpdateTemplate
|
|
|
26
26
|
* import { PinpointClient, UpdateTemplateActiveVersionCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
|
|
27
27
|
* // const { PinpointClient, UpdateTemplateActiveVersionCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
|
|
28
28
|
* const client = new PinpointClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* TemplateActiveVersionRequest: {
|
|
31
|
+
* Version: "STRING_VALUE",
|
|
32
|
+
* },
|
|
33
|
+
* TemplateName: "STRING_VALUE", // required
|
|
34
|
+
* TemplateType: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
29
36
|
* const command = new UpdateTemplateActiveVersionCommand(input);
|
|
30
37
|
* const response = await client.send(command);
|
|
31
38
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface UpdateVoiceChannelCommandOutput extends UpdateVoiceChannelRespo
|
|
|
26
26
|
* import { PinpointClient, UpdateVoiceChannelCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
|
|
27
27
|
* // const { PinpointClient, UpdateVoiceChannelCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
|
|
28
28
|
* const client = new PinpointClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* ApplicationId: "STRING_VALUE", // required
|
|
31
|
+
* VoiceChannelRequest: {
|
|
32
|
+
* Enabled: true || false,
|
|
33
|
+
* },
|
|
34
|
+
* };
|
|
29
35
|
* const command = new UpdateVoiceChannelCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -26,6 +26,21 @@ export interface UpdateVoiceTemplateCommandOutput extends UpdateVoiceTemplateRes
|
|
|
26
26
|
* import { PinpointClient, UpdateVoiceTemplateCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
|
|
27
27
|
* // const { PinpointClient, UpdateVoiceTemplateCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
|
|
28
28
|
* const client = new PinpointClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* CreateNewVersion: true || false,
|
|
31
|
+
* TemplateName: "STRING_VALUE", // required
|
|
32
|
+
* Version: "STRING_VALUE",
|
|
33
|
+
* VoiceTemplateRequest: {
|
|
34
|
+
* Body: "STRING_VALUE",
|
|
35
|
+
* DefaultSubstitutions: "STRING_VALUE",
|
|
36
|
+
* LanguageCode: "STRING_VALUE",
|
|
37
|
+
* tags: {
|
|
38
|
+
* "<keys>": "STRING_VALUE",
|
|
39
|
+
* },
|
|
40
|
+
* TemplateDescription: "STRING_VALUE",
|
|
41
|
+
* VoiceId: "STRING_VALUE",
|
|
42
|
+
* },
|
|
43
|
+
* };
|
|
29
44
|
* const command = new UpdateVoiceTemplateCommand(input);
|
|
30
45
|
* const response = await client.send(command);
|
|
31
46
|
* ```
|
|
@@ -26,6 +26,14 @@ export interface VerifyOTPMessageCommandOutput extends VerifyOTPMessageResponse,
|
|
|
26
26
|
* import { PinpointClient, VerifyOTPMessageCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
|
|
27
27
|
* // const { PinpointClient, VerifyOTPMessageCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
|
|
28
28
|
* const client = new PinpointClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* ApplicationId: "STRING_VALUE", // required
|
|
31
|
+
* VerifyOTPMessageRequestParameters: {
|
|
32
|
+
* DestinationIdentity: "STRING_VALUE", // required
|
|
33
|
+
* Otp: "STRING_VALUE", // required
|
|
34
|
+
* ReferenceId: "STRING_VALUE", // required
|
|
35
|
+
* },
|
|
36
|
+
* };
|
|
29
37
|
* const command = new VerifyOTPMessageCommand(input);
|
|
30
38
|
* const response = await client.send(command);
|
|
31
39
|
* ```
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-pinpoint",
|
|
3
3
|
"description": "AWS SDK for JavaScript Pinpoint Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.300.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.300.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.300.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.299.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
39
39
|
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.300.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
43
43
|
"@aws-sdk/smithy-client": "3.296.0",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.300.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.296.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.300.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|