@aws-sdk/client-pinpoint-sms-voice 3.1075.0 → 3.1076.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.
@@ -1,305 +0,0 @@
1
- const _AEE = "AlreadyExistsException";
2
- const _BRE = "BadRequestException";
3
- const _C = "Content";
4
- const _CCS = "CreateConfigurationSet";
5
- const _CCSED = "CreateConfigurationSetEventDestination";
6
- const _CCSEDR = "CreateConfigurationSetEventDestinationRequest";
7
- const _CCSEDRr = "CreateConfigurationSetEventDestinationResponse";
8
- const _CCSR = "CreateConfigurationSetRequest";
9
- const _CCSRr = "CreateConfigurationSetResponse";
10
- const _CI = "CallerId";
11
- const _CIM = "CallInstructionsMessage";
12
- const _CIMT = "CallInstructionsMessageType";
13
- const _CS = "ConfigurationSets";
14
- const _CSN = "ConfigurationSetName";
15
- const _CWLD = "CloudWatchLogsDestination";
16
- const _DCS = "DeleteConfigurationSet";
17
- const _DCSED = "DeleteConfigurationSetEventDestination";
18
- const _DCSEDR = "DeleteConfigurationSetEventDestinationRequest";
19
- const _DCSEDRe = "DeleteConfigurationSetEventDestinationResponse";
20
- const _DCSR = "DeleteConfigurationSetRequest";
21
- const _DCSRe = "DeleteConfigurationSetResponse";
22
- const _DPN = "DestinationPhoneNumber";
23
- const _DSA = "DeliveryStreamArn";
24
- const _E = "Enabled";
25
- const _ED = "EventDestination";
26
- const _EDD = "EventDestinationDefinition";
27
- const _EDN = "EventDestinationName";
28
- const _EDv = "EventDestinations";
29
- const _GCSED = "GetConfigurationSetEventDestinations";
30
- const _GCSEDR = "GetConfigurationSetEventDestinationsRequest";
31
- const _GCSEDRe = "GetConfigurationSetEventDestinationsResponse";
32
- const _IRA = "IamRoleArn";
33
- const _ISEE = "InternalServiceErrorException";
34
- const _KFD = "KinesisFirehoseDestination";
35
- const _LC = "LanguageCode";
36
- const _LCS = "ListConfigurationSets";
37
- const _LCSR = "ListConfigurationSetsRequest";
38
- const _LCSRi = "ListConfigurationSetsResponse";
39
- const _LEE = "LimitExceededException";
40
- const _LGA = "LogGroupArn";
41
- const _M = "Message";
42
- const _MET = "MatchingEventTypes";
43
- const _MI = "MessageId";
44
- const _N = "Name";
45
- const _NFE = "NotFoundException";
46
- const _NT = "NextToken";
47
- const _OPN = "OriginationPhoneNumber";
48
- const _PS = "PageSize";
49
- const _PTM = "PlainTextMessage";
50
- const _PTMT = "PlainTextMessageType";
51
- const _SD = "SnsDestination";
52
- const _SSMLM = "SSMLMessage";
53
- const _SSMLMT = "SSMLMessageType";
54
- const _SVM = "SendVoiceMessage";
55
- const _SVMR = "SendVoiceMessageRequest";
56
- const _SVMRe = "SendVoiceMessageResponse";
57
- const _T = "Text";
58
- const _TA = "TopicArn";
59
- const _TMRE = "TooManyRequestsException";
60
- const _UCSED = "UpdateConfigurationSetEventDestination";
61
- const _UCSEDR = "UpdateConfigurationSetEventDestinationRequest";
62
- const _UCSEDRp = "UpdateConfigurationSetEventDestinationResponse";
63
- const _VI = "VoiceId";
64
- const _VMC = "VoiceMessageContent";
65
- const _c = "client";
66
- const _e = "error";
67
- const _h = "http";
68
- const _hE = "httpError";
69
- const _hQ = "httpQuery";
70
- const _s = "smithy.ts.sdk.synthetic.com.amazonaws.pinpointsmsvoice";
71
- const _se = "server";
72
- const n0 = "com.amazonaws.pinpointsmsvoice";
73
- const { TypeRegistry } = require("@smithy/core/schema");
74
- const { AlreadyExistsException, BadRequestException, InternalServiceErrorException, LimitExceededException, NotFoundException, TooManyRequestsException } = require("../models/errors");
75
- const { PinpointSMSVoiceServiceException } = require("../models/PinpointSMSVoiceServiceException");
76
- const _s_registry = TypeRegistry.for(_s);
77
- const PinpointSMSVoiceServiceException$ = [-3, _s, "PinpointSMSVoiceServiceException", 0, [], []];
78
- exports.PinpointSMSVoiceServiceException$ = PinpointSMSVoiceServiceException$;
79
- _s_registry.registerError(PinpointSMSVoiceServiceException$, PinpointSMSVoiceServiceException);
80
- const n0_registry = TypeRegistry.for(n0);
81
- const AlreadyExistsException$ = [-3, n0, _AEE,
82
- { [_e]: _c, [_hE]: 409 },
83
- [_M],
84
- [0]
85
- ];
86
- exports.AlreadyExistsException$ = AlreadyExistsException$;
87
- n0_registry.registerError(AlreadyExistsException$, AlreadyExistsException);
88
- const BadRequestException$ = [-3, n0, _BRE,
89
- { [_e]: _c, [_hE]: 400 },
90
- [_M],
91
- [0]
92
- ];
93
- exports.BadRequestException$ = BadRequestException$;
94
- n0_registry.registerError(BadRequestException$, BadRequestException);
95
- const InternalServiceErrorException$ = [-3, n0, _ISEE,
96
- { [_e]: _se, [_hE]: 500 },
97
- [_M],
98
- [0]
99
- ];
100
- exports.InternalServiceErrorException$ = InternalServiceErrorException$;
101
- n0_registry.registerError(InternalServiceErrorException$, InternalServiceErrorException);
102
- const LimitExceededException$ = [-3, n0, _LEE,
103
- { [_e]: _c, [_hE]: 412 },
104
- [_M],
105
- [0]
106
- ];
107
- exports.LimitExceededException$ = LimitExceededException$;
108
- n0_registry.registerError(LimitExceededException$, LimitExceededException);
109
- const NotFoundException$ = [-3, n0, _NFE,
110
- { [_e]: _c, [_hE]: 404 },
111
- [_M],
112
- [0]
113
- ];
114
- exports.NotFoundException$ = NotFoundException$;
115
- n0_registry.registerError(NotFoundException$, NotFoundException);
116
- const TooManyRequestsException$ = [-3, n0, _TMRE,
117
- { [_e]: _c, [_hE]: 429 },
118
- [_M],
119
- [0]
120
- ];
121
- exports.TooManyRequestsException$ = TooManyRequestsException$;
122
- n0_registry.registerError(TooManyRequestsException$, TooManyRequestsException);
123
- exports.errorTypeRegistries = [
124
- _s_registry,
125
- n0_registry,
126
- ];
127
- const CallInstructionsMessageType$ = [3, n0, _CIMT,
128
- 0,
129
- [_T],
130
- [0]
131
- ];
132
- exports.CallInstructionsMessageType$ = CallInstructionsMessageType$;
133
- const CloudWatchLogsDestination$ = [3, n0, _CWLD,
134
- 0,
135
- [_IRA, _LGA],
136
- [0, 0]
137
- ];
138
- exports.CloudWatchLogsDestination$ = CloudWatchLogsDestination$;
139
- const CreateConfigurationSetEventDestinationRequest$ = [3, n0, _CCSEDR,
140
- 0,
141
- [_CSN, _ED, _EDN],
142
- [[0, 1], () => EventDestinationDefinition$, 0], 1
143
- ];
144
- exports.CreateConfigurationSetEventDestinationRequest$ = CreateConfigurationSetEventDestinationRequest$;
145
- const CreateConfigurationSetEventDestinationResponse$ = [3, n0, _CCSEDRr,
146
- 0,
147
- [],
148
- []
149
- ];
150
- exports.CreateConfigurationSetEventDestinationResponse$ = CreateConfigurationSetEventDestinationResponse$;
151
- const CreateConfigurationSetRequest$ = [3, n0, _CCSR,
152
- 0,
153
- [_CSN],
154
- [0]
155
- ];
156
- exports.CreateConfigurationSetRequest$ = CreateConfigurationSetRequest$;
157
- const CreateConfigurationSetResponse$ = [3, n0, _CCSRr,
158
- 0,
159
- [],
160
- []
161
- ];
162
- exports.CreateConfigurationSetResponse$ = CreateConfigurationSetResponse$;
163
- const DeleteConfigurationSetEventDestinationRequest$ = [3, n0, _DCSEDR,
164
- 0,
165
- [_CSN, _EDN],
166
- [[0, 1], [0, 1]], 2
167
- ];
168
- exports.DeleteConfigurationSetEventDestinationRequest$ = DeleteConfigurationSetEventDestinationRequest$;
169
- const DeleteConfigurationSetEventDestinationResponse$ = [3, n0, _DCSEDRe,
170
- 0,
171
- [],
172
- []
173
- ];
174
- exports.DeleteConfigurationSetEventDestinationResponse$ = DeleteConfigurationSetEventDestinationResponse$;
175
- const DeleteConfigurationSetRequest$ = [3, n0, _DCSR,
176
- 0,
177
- [_CSN],
178
- [[0, 1]], 1
179
- ];
180
- exports.DeleteConfigurationSetRequest$ = DeleteConfigurationSetRequest$;
181
- const DeleteConfigurationSetResponse$ = [3, n0, _DCSRe,
182
- 0,
183
- [],
184
- []
185
- ];
186
- exports.DeleteConfigurationSetResponse$ = DeleteConfigurationSetResponse$;
187
- const EventDestination$ = [3, n0, _ED,
188
- 0,
189
- [_CWLD, _E, _KFD, _MET, _N, _SD],
190
- [() => CloudWatchLogsDestination$, 2, () => KinesisFirehoseDestination$, 64 | 0, 0, () => SnsDestination$]
191
- ];
192
- exports.EventDestination$ = EventDestination$;
193
- const EventDestinationDefinition$ = [3, n0, _EDD,
194
- 0,
195
- [_CWLD, _E, _KFD, _MET, _SD],
196
- [() => CloudWatchLogsDestination$, 2, () => KinesisFirehoseDestination$, 64 | 0, () => SnsDestination$]
197
- ];
198
- exports.EventDestinationDefinition$ = EventDestinationDefinition$;
199
- const GetConfigurationSetEventDestinationsRequest$ = [3, n0, _GCSEDR,
200
- 0,
201
- [_CSN],
202
- [[0, 1]], 1
203
- ];
204
- exports.GetConfigurationSetEventDestinationsRequest$ = GetConfigurationSetEventDestinationsRequest$;
205
- const GetConfigurationSetEventDestinationsResponse$ = [3, n0, _GCSEDRe,
206
- 0,
207
- [_EDv],
208
- [() => EventDestinations]
209
- ];
210
- exports.GetConfigurationSetEventDestinationsResponse$ = GetConfigurationSetEventDestinationsResponse$;
211
- const KinesisFirehoseDestination$ = [3, n0, _KFD,
212
- 0,
213
- [_DSA, _IRA],
214
- [0, 0]
215
- ];
216
- exports.KinesisFirehoseDestination$ = KinesisFirehoseDestination$;
217
- const ListConfigurationSetsRequest$ = [3, n0, _LCSR,
218
- 0,
219
- [_NT, _PS],
220
- [[0, { [_hQ]: _NT }], [0, { [_hQ]: _PS }]]
221
- ];
222
- exports.ListConfigurationSetsRequest$ = ListConfigurationSetsRequest$;
223
- const ListConfigurationSetsResponse$ = [3, n0, _LCSRi,
224
- 0,
225
- [_CS, _NT],
226
- [64 | 0, 0]
227
- ];
228
- exports.ListConfigurationSetsResponse$ = ListConfigurationSetsResponse$;
229
- const PlainTextMessageType$ = [3, n0, _PTMT,
230
- 0,
231
- [_LC, _T, _VI],
232
- [0, 0, 0]
233
- ];
234
- exports.PlainTextMessageType$ = PlainTextMessageType$;
235
- const SendVoiceMessageRequest$ = [3, n0, _SVMR,
236
- 0,
237
- [_CI, _CSN, _C, _DPN, _OPN],
238
- [0, 0, () => VoiceMessageContent$, 0, 0]
239
- ];
240
- exports.SendVoiceMessageRequest$ = SendVoiceMessageRequest$;
241
- const SendVoiceMessageResponse$ = [3, n0, _SVMRe,
242
- 0,
243
- [_MI],
244
- [0]
245
- ];
246
- exports.SendVoiceMessageResponse$ = SendVoiceMessageResponse$;
247
- const SnsDestination$ = [3, n0, _SD,
248
- 0,
249
- [_TA],
250
- [0]
251
- ];
252
- exports.SnsDestination$ = SnsDestination$;
253
- const SSMLMessageType$ = [3, n0, _SSMLMT,
254
- 0,
255
- [_LC, _T, _VI],
256
- [0, 0, 0]
257
- ];
258
- exports.SSMLMessageType$ = SSMLMessageType$;
259
- const UpdateConfigurationSetEventDestinationRequest$ = [3, n0, _UCSEDR,
260
- 0,
261
- [_CSN, _EDN, _ED],
262
- [[0, 1], [0, 1], () => EventDestinationDefinition$], 2
263
- ];
264
- exports.UpdateConfigurationSetEventDestinationRequest$ = UpdateConfigurationSetEventDestinationRequest$;
265
- const UpdateConfigurationSetEventDestinationResponse$ = [3, n0, _UCSEDRp,
266
- 0,
267
- [],
268
- []
269
- ];
270
- exports.UpdateConfigurationSetEventDestinationResponse$ = UpdateConfigurationSetEventDestinationResponse$;
271
- const VoiceMessageContent$ = [3, n0, _VMC,
272
- 0,
273
- [_CIM, _PTM, _SSMLM],
274
- [() => CallInstructionsMessageType$, () => PlainTextMessageType$, () => SSMLMessageType$]
275
- ];
276
- exports.VoiceMessageContent$ = VoiceMessageContent$;
277
- var ConfigurationSets = 64 | 0;
278
- var EventDestinations = [1, n0, _EDv,
279
- 0, () => EventDestination$
280
- ];
281
- var EventTypes = 64 | 0;
282
- exports.CreateConfigurationSet$ = [9, n0, _CCS,
283
- { [_h]: ["POST", "/v1/sms-voice/configuration-sets", 200] }, () => CreateConfigurationSetRequest$, () => CreateConfigurationSetResponse$
284
- ];
285
- exports.CreateConfigurationSetEventDestination$ = [9, n0, _CCSED,
286
- { [_h]: ["POST", "/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations", 200] }, () => CreateConfigurationSetEventDestinationRequest$, () => CreateConfigurationSetEventDestinationResponse$
287
- ];
288
- exports.DeleteConfigurationSet$ = [9, n0, _DCS,
289
- { [_h]: ["DELETE", "/v1/sms-voice/configuration-sets/{ConfigurationSetName}", 200] }, () => DeleteConfigurationSetRequest$, () => DeleteConfigurationSetResponse$
290
- ];
291
- exports.DeleteConfigurationSetEventDestination$ = [9, n0, _DCSED,
292
- { [_h]: ["DELETE", "/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations/{EventDestinationName}", 200] }, () => DeleteConfigurationSetEventDestinationRequest$, () => DeleteConfigurationSetEventDestinationResponse$
293
- ];
294
- exports.GetConfigurationSetEventDestinations$ = [9, n0, _GCSED,
295
- { [_h]: ["GET", "/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations", 200] }, () => GetConfigurationSetEventDestinationsRequest$, () => GetConfigurationSetEventDestinationsResponse$
296
- ];
297
- exports.ListConfigurationSets$ = [9, n0, _LCS,
298
- { [_h]: ["GET", "/v1/sms-voice/configuration-sets", 200] }, () => ListConfigurationSetsRequest$, () => ListConfigurationSetsResponse$
299
- ];
300
- exports.SendVoiceMessage$ = [9, n0, _SVM,
301
- { [_h]: ["POST", "/v1/sms-voice/voice/message", 200] }, () => SendVoiceMessageRequest$, () => SendVoiceMessageResponse$
302
- ];
303
- exports.UpdateConfigurationSetEventDestination$ = [9, n0, _UCSED,
304
- { [_h]: ["PUT", "/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations/{EventDestinationName}", 200] }, () => UpdateConfigurationSetEventDestinationRequest$, () => UpdateConfigurationSetEventDestinationResponse$
305
- ];