@aws-sdk/client-cloudfront 3.716.0 → 3.723.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/index.js +1555 -1126
- package/dist-es/CloudFrontClient.js +1 -0
- package/dist-es/models/models_0.js +363 -242
- package/dist-es/models/models_1.js +87 -58
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -7
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -8
- package/package.json +46 -46
|
@@ -16,365 +16,393 @@ export const ReferrerPolicyList = {
|
|
|
16
16
|
unsafe_url: "unsafe-url",
|
|
17
17
|
};
|
|
18
18
|
export class ResponseHeadersPolicyAlreadyExists extends __BaseException {
|
|
19
|
+
name = "ResponseHeadersPolicyAlreadyExists";
|
|
20
|
+
$fault = "client";
|
|
21
|
+
Message;
|
|
19
22
|
constructor(opts) {
|
|
20
23
|
super({
|
|
21
24
|
name: "ResponseHeadersPolicyAlreadyExists",
|
|
22
25
|
$fault: "client",
|
|
23
26
|
...opts,
|
|
24
27
|
});
|
|
25
|
-
this.name = "ResponseHeadersPolicyAlreadyExists";
|
|
26
|
-
this.$fault = "client";
|
|
27
28
|
Object.setPrototypeOf(this, ResponseHeadersPolicyAlreadyExists.prototype);
|
|
28
29
|
this.Message = opts.Message;
|
|
29
30
|
}
|
|
30
31
|
}
|
|
31
32
|
export class TooLongCSPInResponseHeadersPolicy extends __BaseException {
|
|
33
|
+
name = "TooLongCSPInResponseHeadersPolicy";
|
|
34
|
+
$fault = "client";
|
|
35
|
+
Message;
|
|
32
36
|
constructor(opts) {
|
|
33
37
|
super({
|
|
34
38
|
name: "TooLongCSPInResponseHeadersPolicy",
|
|
35
39
|
$fault: "client",
|
|
36
40
|
...opts,
|
|
37
41
|
});
|
|
38
|
-
this.name = "TooLongCSPInResponseHeadersPolicy";
|
|
39
|
-
this.$fault = "client";
|
|
40
42
|
Object.setPrototypeOf(this, TooLongCSPInResponseHeadersPolicy.prototype);
|
|
41
43
|
this.Message = opts.Message;
|
|
42
44
|
}
|
|
43
45
|
}
|
|
44
46
|
export class TooManyCustomHeadersInResponseHeadersPolicy extends __BaseException {
|
|
47
|
+
name = "TooManyCustomHeadersInResponseHeadersPolicy";
|
|
48
|
+
$fault = "client";
|
|
49
|
+
Message;
|
|
45
50
|
constructor(opts) {
|
|
46
51
|
super({
|
|
47
52
|
name: "TooManyCustomHeadersInResponseHeadersPolicy",
|
|
48
53
|
$fault: "client",
|
|
49
54
|
...opts,
|
|
50
55
|
});
|
|
51
|
-
this.name = "TooManyCustomHeadersInResponseHeadersPolicy";
|
|
52
|
-
this.$fault = "client";
|
|
53
56
|
Object.setPrototypeOf(this, TooManyCustomHeadersInResponseHeadersPolicy.prototype);
|
|
54
57
|
this.Message = opts.Message;
|
|
55
58
|
}
|
|
56
59
|
}
|
|
57
60
|
export class TooManyRemoveHeadersInResponseHeadersPolicy extends __BaseException {
|
|
61
|
+
name = "TooManyRemoveHeadersInResponseHeadersPolicy";
|
|
62
|
+
$fault = "client";
|
|
63
|
+
Message;
|
|
58
64
|
constructor(opts) {
|
|
59
65
|
super({
|
|
60
66
|
name: "TooManyRemoveHeadersInResponseHeadersPolicy",
|
|
61
67
|
$fault: "client",
|
|
62
68
|
...opts,
|
|
63
69
|
});
|
|
64
|
-
this.name = "TooManyRemoveHeadersInResponseHeadersPolicy";
|
|
65
|
-
this.$fault = "client";
|
|
66
70
|
Object.setPrototypeOf(this, TooManyRemoveHeadersInResponseHeadersPolicy.prototype);
|
|
67
71
|
this.Message = opts.Message;
|
|
68
72
|
}
|
|
69
73
|
}
|
|
70
74
|
export class TooManyResponseHeadersPolicies extends __BaseException {
|
|
75
|
+
name = "TooManyResponseHeadersPolicies";
|
|
76
|
+
$fault = "client";
|
|
77
|
+
Message;
|
|
71
78
|
constructor(opts) {
|
|
72
79
|
super({
|
|
73
80
|
name: "TooManyResponseHeadersPolicies",
|
|
74
81
|
$fault: "client",
|
|
75
82
|
...opts,
|
|
76
83
|
});
|
|
77
|
-
this.name = "TooManyResponseHeadersPolicies";
|
|
78
|
-
this.$fault = "client";
|
|
79
84
|
Object.setPrototypeOf(this, TooManyResponseHeadersPolicies.prototype);
|
|
80
85
|
this.Message = opts.Message;
|
|
81
86
|
}
|
|
82
87
|
}
|
|
83
88
|
export class StreamingDistributionAlreadyExists extends __BaseException {
|
|
89
|
+
name = "StreamingDistributionAlreadyExists";
|
|
90
|
+
$fault = "client";
|
|
91
|
+
Message;
|
|
84
92
|
constructor(opts) {
|
|
85
93
|
super({
|
|
86
94
|
name: "StreamingDistributionAlreadyExists",
|
|
87
95
|
$fault: "client",
|
|
88
96
|
...opts,
|
|
89
97
|
});
|
|
90
|
-
this.name = "StreamingDistributionAlreadyExists";
|
|
91
|
-
this.$fault = "client";
|
|
92
98
|
Object.setPrototypeOf(this, StreamingDistributionAlreadyExists.prototype);
|
|
93
99
|
this.Message = opts.Message;
|
|
94
100
|
}
|
|
95
101
|
}
|
|
96
102
|
export class TooManyStreamingDistributionCNAMEs extends __BaseException {
|
|
103
|
+
name = "TooManyStreamingDistributionCNAMEs";
|
|
104
|
+
$fault = "client";
|
|
105
|
+
Message;
|
|
97
106
|
constructor(opts) {
|
|
98
107
|
super({
|
|
99
108
|
name: "TooManyStreamingDistributionCNAMEs",
|
|
100
109
|
$fault: "client",
|
|
101
110
|
...opts,
|
|
102
111
|
});
|
|
103
|
-
this.name = "TooManyStreamingDistributionCNAMEs";
|
|
104
|
-
this.$fault = "client";
|
|
105
112
|
Object.setPrototypeOf(this, TooManyStreamingDistributionCNAMEs.prototype);
|
|
106
113
|
this.Message = opts.Message;
|
|
107
114
|
}
|
|
108
115
|
}
|
|
109
116
|
export class TooManyStreamingDistributions extends __BaseException {
|
|
117
|
+
name = "TooManyStreamingDistributions";
|
|
118
|
+
$fault = "client";
|
|
119
|
+
Message;
|
|
110
120
|
constructor(opts) {
|
|
111
121
|
super({
|
|
112
122
|
name: "TooManyStreamingDistributions",
|
|
113
123
|
$fault: "client",
|
|
114
124
|
...opts,
|
|
115
125
|
});
|
|
116
|
-
this.name = "TooManyStreamingDistributions";
|
|
117
|
-
this.$fault = "client";
|
|
118
126
|
Object.setPrototypeOf(this, TooManyStreamingDistributions.prototype);
|
|
119
127
|
this.Message = opts.Message;
|
|
120
128
|
}
|
|
121
129
|
}
|
|
122
130
|
export class IllegalDelete extends __BaseException {
|
|
131
|
+
name = "IllegalDelete";
|
|
132
|
+
$fault = "client";
|
|
133
|
+
Message;
|
|
123
134
|
constructor(opts) {
|
|
124
135
|
super({
|
|
125
136
|
name: "IllegalDelete",
|
|
126
137
|
$fault: "client",
|
|
127
138
|
...opts,
|
|
128
139
|
});
|
|
129
|
-
this.name = "IllegalDelete";
|
|
130
|
-
this.$fault = "client";
|
|
131
140
|
Object.setPrototypeOf(this, IllegalDelete.prototype);
|
|
132
141
|
this.Message = opts.Message;
|
|
133
142
|
}
|
|
134
143
|
}
|
|
135
144
|
export class CloudFrontOriginAccessIdentityInUse extends __BaseException {
|
|
145
|
+
name = "CloudFrontOriginAccessIdentityInUse";
|
|
146
|
+
$fault = "client";
|
|
147
|
+
Message;
|
|
136
148
|
constructor(opts) {
|
|
137
149
|
super({
|
|
138
150
|
name: "CloudFrontOriginAccessIdentityInUse",
|
|
139
151
|
$fault: "client",
|
|
140
152
|
...opts,
|
|
141
153
|
});
|
|
142
|
-
this.name = "CloudFrontOriginAccessIdentityInUse";
|
|
143
|
-
this.$fault = "client";
|
|
144
154
|
Object.setPrototypeOf(this, CloudFrontOriginAccessIdentityInUse.prototype);
|
|
145
155
|
this.Message = opts.Message;
|
|
146
156
|
}
|
|
147
157
|
}
|
|
148
158
|
export class NoSuchCloudFrontOriginAccessIdentity extends __BaseException {
|
|
159
|
+
name = "NoSuchCloudFrontOriginAccessIdentity";
|
|
160
|
+
$fault = "client";
|
|
161
|
+
Message;
|
|
149
162
|
constructor(opts) {
|
|
150
163
|
super({
|
|
151
164
|
name: "NoSuchCloudFrontOriginAccessIdentity",
|
|
152
165
|
$fault: "client",
|
|
153
166
|
...opts,
|
|
154
167
|
});
|
|
155
|
-
this.name = "NoSuchCloudFrontOriginAccessIdentity";
|
|
156
|
-
this.$fault = "client";
|
|
157
168
|
Object.setPrototypeOf(this, NoSuchCloudFrontOriginAccessIdentity.prototype);
|
|
158
169
|
this.Message = opts.Message;
|
|
159
170
|
}
|
|
160
171
|
}
|
|
161
172
|
export class DistributionNotDisabled extends __BaseException {
|
|
173
|
+
name = "DistributionNotDisabled";
|
|
174
|
+
$fault = "client";
|
|
175
|
+
Message;
|
|
162
176
|
constructor(opts) {
|
|
163
177
|
super({
|
|
164
178
|
name: "DistributionNotDisabled",
|
|
165
179
|
$fault: "client",
|
|
166
180
|
...opts,
|
|
167
181
|
});
|
|
168
|
-
this.name = "DistributionNotDisabled";
|
|
169
|
-
this.$fault = "client";
|
|
170
182
|
Object.setPrototypeOf(this, DistributionNotDisabled.prototype);
|
|
171
183
|
this.Message = opts.Message;
|
|
172
184
|
}
|
|
173
185
|
}
|
|
174
186
|
export class FieldLevelEncryptionConfigInUse extends __BaseException {
|
|
187
|
+
name = "FieldLevelEncryptionConfigInUse";
|
|
188
|
+
$fault = "client";
|
|
189
|
+
Message;
|
|
175
190
|
constructor(opts) {
|
|
176
191
|
super({
|
|
177
192
|
name: "FieldLevelEncryptionConfigInUse",
|
|
178
193
|
$fault: "client",
|
|
179
194
|
...opts,
|
|
180
195
|
});
|
|
181
|
-
this.name = "FieldLevelEncryptionConfigInUse";
|
|
182
|
-
this.$fault = "client";
|
|
183
196
|
Object.setPrototypeOf(this, FieldLevelEncryptionConfigInUse.prototype);
|
|
184
197
|
this.Message = opts.Message;
|
|
185
198
|
}
|
|
186
199
|
}
|
|
187
200
|
export class FieldLevelEncryptionProfileInUse extends __BaseException {
|
|
201
|
+
name = "FieldLevelEncryptionProfileInUse";
|
|
202
|
+
$fault = "client";
|
|
203
|
+
Message;
|
|
188
204
|
constructor(opts) {
|
|
189
205
|
super({
|
|
190
206
|
name: "FieldLevelEncryptionProfileInUse",
|
|
191
207
|
$fault: "client",
|
|
192
208
|
...opts,
|
|
193
209
|
});
|
|
194
|
-
this.name = "FieldLevelEncryptionProfileInUse";
|
|
195
|
-
this.$fault = "client";
|
|
196
210
|
Object.setPrototypeOf(this, FieldLevelEncryptionProfileInUse.prototype);
|
|
197
211
|
this.Message = opts.Message;
|
|
198
212
|
}
|
|
199
213
|
}
|
|
200
214
|
export class FunctionInUse extends __BaseException {
|
|
215
|
+
name = "FunctionInUse";
|
|
216
|
+
$fault = "client";
|
|
217
|
+
Message;
|
|
201
218
|
constructor(opts) {
|
|
202
219
|
super({
|
|
203
220
|
name: "FunctionInUse",
|
|
204
221
|
$fault: "client",
|
|
205
222
|
...opts,
|
|
206
223
|
});
|
|
207
|
-
this.name = "FunctionInUse";
|
|
208
|
-
this.$fault = "client";
|
|
209
224
|
Object.setPrototypeOf(this, FunctionInUse.prototype);
|
|
210
225
|
this.Message = opts.Message;
|
|
211
226
|
}
|
|
212
227
|
}
|
|
213
228
|
export class NoSuchFunctionExists extends __BaseException {
|
|
229
|
+
name = "NoSuchFunctionExists";
|
|
230
|
+
$fault = "client";
|
|
231
|
+
Message;
|
|
214
232
|
constructor(opts) {
|
|
215
233
|
super({
|
|
216
234
|
name: "NoSuchFunctionExists",
|
|
217
235
|
$fault: "client",
|
|
218
236
|
...opts,
|
|
219
237
|
});
|
|
220
|
-
this.name = "NoSuchFunctionExists";
|
|
221
|
-
this.$fault = "client";
|
|
222
238
|
Object.setPrototypeOf(this, NoSuchFunctionExists.prototype);
|
|
223
239
|
this.Message = opts.Message;
|
|
224
240
|
}
|
|
225
241
|
}
|
|
226
242
|
export class NoSuchResource extends __BaseException {
|
|
243
|
+
name = "NoSuchResource";
|
|
244
|
+
$fault = "client";
|
|
245
|
+
Message;
|
|
227
246
|
constructor(opts) {
|
|
228
247
|
super({
|
|
229
248
|
name: "NoSuchResource",
|
|
230
249
|
$fault: "client",
|
|
231
250
|
...opts,
|
|
232
251
|
});
|
|
233
|
-
this.name = "NoSuchResource";
|
|
234
|
-
this.$fault = "client";
|
|
235
252
|
Object.setPrototypeOf(this, NoSuchResource.prototype);
|
|
236
253
|
this.Message = opts.Message;
|
|
237
254
|
}
|
|
238
255
|
}
|
|
239
256
|
export class ResourceInUse extends __BaseException {
|
|
257
|
+
name = "ResourceInUse";
|
|
258
|
+
$fault = "client";
|
|
259
|
+
Message;
|
|
240
260
|
constructor(opts) {
|
|
241
261
|
super({
|
|
242
262
|
name: "ResourceInUse",
|
|
243
263
|
$fault: "client",
|
|
244
264
|
...opts,
|
|
245
265
|
});
|
|
246
|
-
this.name = "ResourceInUse";
|
|
247
|
-
this.$fault = "client";
|
|
248
266
|
Object.setPrototypeOf(this, ResourceInUse.prototype);
|
|
249
267
|
this.Message = opts.Message;
|
|
250
268
|
}
|
|
251
269
|
}
|
|
252
270
|
export class NoSuchMonitoringSubscription extends __BaseException {
|
|
271
|
+
name = "NoSuchMonitoringSubscription";
|
|
272
|
+
$fault = "client";
|
|
273
|
+
Message;
|
|
253
274
|
constructor(opts) {
|
|
254
275
|
super({
|
|
255
276
|
name: "NoSuchMonitoringSubscription",
|
|
256
277
|
$fault: "client",
|
|
257
278
|
...opts,
|
|
258
279
|
});
|
|
259
|
-
this.name = "NoSuchMonitoringSubscription";
|
|
260
|
-
this.$fault = "client";
|
|
261
280
|
Object.setPrototypeOf(this, NoSuchMonitoringSubscription.prototype);
|
|
262
281
|
this.Message = opts.Message;
|
|
263
282
|
}
|
|
264
283
|
}
|
|
265
284
|
export class NoSuchOriginAccessControl extends __BaseException {
|
|
285
|
+
name = "NoSuchOriginAccessControl";
|
|
286
|
+
$fault = "client";
|
|
287
|
+
Message;
|
|
266
288
|
constructor(opts) {
|
|
267
289
|
super({
|
|
268
290
|
name: "NoSuchOriginAccessControl",
|
|
269
291
|
$fault: "client",
|
|
270
292
|
...opts,
|
|
271
293
|
});
|
|
272
|
-
this.name = "NoSuchOriginAccessControl";
|
|
273
|
-
this.$fault = "client";
|
|
274
294
|
Object.setPrototypeOf(this, NoSuchOriginAccessControl.prototype);
|
|
275
295
|
this.Message = opts.Message;
|
|
276
296
|
}
|
|
277
297
|
}
|
|
278
298
|
export class OriginAccessControlInUse extends __BaseException {
|
|
299
|
+
name = "OriginAccessControlInUse";
|
|
300
|
+
$fault = "client";
|
|
301
|
+
Message;
|
|
279
302
|
constructor(opts) {
|
|
280
303
|
super({
|
|
281
304
|
name: "OriginAccessControlInUse",
|
|
282
305
|
$fault: "client",
|
|
283
306
|
...opts,
|
|
284
307
|
});
|
|
285
|
-
this.name = "OriginAccessControlInUse";
|
|
286
|
-
this.$fault = "client";
|
|
287
308
|
Object.setPrototypeOf(this, OriginAccessControlInUse.prototype);
|
|
288
309
|
this.Message = opts.Message;
|
|
289
310
|
}
|
|
290
311
|
}
|
|
291
312
|
export class OriginRequestPolicyInUse extends __BaseException {
|
|
313
|
+
name = "OriginRequestPolicyInUse";
|
|
314
|
+
$fault = "client";
|
|
315
|
+
Message;
|
|
292
316
|
constructor(opts) {
|
|
293
317
|
super({
|
|
294
318
|
name: "OriginRequestPolicyInUse",
|
|
295
319
|
$fault: "client",
|
|
296
320
|
...opts,
|
|
297
321
|
});
|
|
298
|
-
this.name = "OriginRequestPolicyInUse";
|
|
299
|
-
this.$fault = "client";
|
|
300
322
|
Object.setPrototypeOf(this, OriginRequestPolicyInUse.prototype);
|
|
301
323
|
this.Message = opts.Message;
|
|
302
324
|
}
|
|
303
325
|
}
|
|
304
326
|
export class PublicKeyInUse extends __BaseException {
|
|
327
|
+
name = "PublicKeyInUse";
|
|
328
|
+
$fault = "client";
|
|
329
|
+
Message;
|
|
305
330
|
constructor(opts) {
|
|
306
331
|
super({
|
|
307
332
|
name: "PublicKeyInUse",
|
|
308
333
|
$fault: "client",
|
|
309
334
|
...opts,
|
|
310
335
|
});
|
|
311
|
-
this.name = "PublicKeyInUse";
|
|
312
|
-
this.$fault = "client";
|
|
313
336
|
Object.setPrototypeOf(this, PublicKeyInUse.prototype);
|
|
314
337
|
this.Message = opts.Message;
|
|
315
338
|
}
|
|
316
339
|
}
|
|
317
340
|
export class RealtimeLogConfigInUse extends __BaseException {
|
|
341
|
+
name = "RealtimeLogConfigInUse";
|
|
342
|
+
$fault = "client";
|
|
343
|
+
Message;
|
|
318
344
|
constructor(opts) {
|
|
319
345
|
super({
|
|
320
346
|
name: "RealtimeLogConfigInUse",
|
|
321
347
|
$fault: "client",
|
|
322
348
|
...opts,
|
|
323
349
|
});
|
|
324
|
-
this.name = "RealtimeLogConfigInUse";
|
|
325
|
-
this.$fault = "client";
|
|
326
350
|
Object.setPrototypeOf(this, RealtimeLogConfigInUse.prototype);
|
|
327
351
|
this.Message = opts.Message;
|
|
328
352
|
}
|
|
329
353
|
}
|
|
330
354
|
export class ResponseHeadersPolicyInUse extends __BaseException {
|
|
355
|
+
name = "ResponseHeadersPolicyInUse";
|
|
356
|
+
$fault = "client";
|
|
357
|
+
Message;
|
|
331
358
|
constructor(opts) {
|
|
332
359
|
super({
|
|
333
360
|
name: "ResponseHeadersPolicyInUse",
|
|
334
361
|
$fault: "client",
|
|
335
362
|
...opts,
|
|
336
363
|
});
|
|
337
|
-
this.name = "ResponseHeadersPolicyInUse";
|
|
338
|
-
this.$fault = "client";
|
|
339
364
|
Object.setPrototypeOf(this, ResponseHeadersPolicyInUse.prototype);
|
|
340
365
|
this.Message = opts.Message;
|
|
341
366
|
}
|
|
342
367
|
}
|
|
343
368
|
export class NoSuchStreamingDistribution extends __BaseException {
|
|
369
|
+
name = "NoSuchStreamingDistribution";
|
|
370
|
+
$fault = "client";
|
|
371
|
+
Message;
|
|
344
372
|
constructor(opts) {
|
|
345
373
|
super({
|
|
346
374
|
name: "NoSuchStreamingDistribution",
|
|
347
375
|
$fault: "client",
|
|
348
376
|
...opts,
|
|
349
377
|
});
|
|
350
|
-
this.name = "NoSuchStreamingDistribution";
|
|
351
|
-
this.$fault = "client";
|
|
352
378
|
Object.setPrototypeOf(this, NoSuchStreamingDistribution.prototype);
|
|
353
379
|
this.Message = opts.Message;
|
|
354
380
|
}
|
|
355
381
|
}
|
|
356
382
|
export class StreamingDistributionNotDisabled extends __BaseException {
|
|
383
|
+
name = "StreamingDistributionNotDisabled";
|
|
384
|
+
$fault = "client";
|
|
385
|
+
Message;
|
|
357
386
|
constructor(opts) {
|
|
358
387
|
super({
|
|
359
388
|
name: "StreamingDistributionNotDisabled",
|
|
360
389
|
$fault: "client",
|
|
361
390
|
...opts,
|
|
362
391
|
});
|
|
363
|
-
this.name = "StreamingDistributionNotDisabled";
|
|
364
|
-
this.$fault = "client";
|
|
365
392
|
Object.setPrototypeOf(this, StreamingDistributionNotDisabled.prototype);
|
|
366
393
|
this.Message = opts.Message;
|
|
367
394
|
}
|
|
368
395
|
}
|
|
369
396
|
export class NoSuchInvalidation extends __BaseException {
|
|
397
|
+
name = "NoSuchInvalidation";
|
|
398
|
+
$fault = "client";
|
|
399
|
+
Message;
|
|
370
400
|
constructor(opts) {
|
|
371
401
|
super({
|
|
372
402
|
name: "NoSuchInvalidation",
|
|
373
403
|
$fault: "client",
|
|
374
404
|
...opts,
|
|
375
405
|
});
|
|
376
|
-
this.name = "NoSuchInvalidation";
|
|
377
|
-
this.$fault = "client";
|
|
378
406
|
Object.setPrototypeOf(this, NoSuchInvalidation.prototype);
|
|
379
407
|
this.Message = opts.Message;
|
|
380
408
|
}
|
|
@@ -388,14 +416,15 @@ export const ResponseHeadersPolicyType = {
|
|
|
388
416
|
managed: "managed",
|
|
389
417
|
};
|
|
390
418
|
export class TestFunctionFailed extends __BaseException {
|
|
419
|
+
name = "TestFunctionFailed";
|
|
420
|
+
$fault = "server";
|
|
421
|
+
Message;
|
|
391
422
|
constructor(opts) {
|
|
392
423
|
super({
|
|
393
424
|
name: "TestFunctionFailed",
|
|
394
425
|
$fault: "server",
|
|
395
426
|
...opts,
|
|
396
427
|
});
|
|
397
|
-
this.name = "TestFunctionFailed";
|
|
398
|
-
this.$fault = "server";
|
|
399
428
|
Object.setPrototypeOf(this, TestFunctionFailed.prototype);
|
|
400
429
|
this.Message = opts.Message;
|
|
401
430
|
}
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: CloudFrontClientConfig) => {
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
-
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
10
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
11
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<any>;
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: CloudFrontClientConfig) => {
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
-
credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity
|
|
10
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
11
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<string>;
|
|
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (config: CloudFrontClientConfig) => {
|
|
|
22
22
|
region: string | import("@smithy/types").Provider<any>;
|
|
23
23
|
profile?: string | undefined;
|
|
24
24
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
25
|
-
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
25
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
26
26
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
27
27
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
28
28
|
logger: import("@smithy/types").Logger;
|
|
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: CloudFrontClientConfig) => {
|
|
|
31
31
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
32
32
|
userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
|
|
33
33
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
34
|
-
endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
|
|
34
|
+
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
35
35
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
36
36
|
logger?: import("@smithy/types").Logger | undefined;
|
|
37
37
|
}) => import("@smithy/types").EndpointV2;
|
|
@@ -6,9 +6,11 @@ export declare const getRuntimeConfig: (config: CloudFrontClientConfig) => {
|
|
|
6
6
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
7
7
|
>;
|
|
8
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
|
-
credentialDefaultProvider:
|
|
10
|
-
input: any
|
|
11
|
-
|
|
9
|
+
credentialDefaultProvider:
|
|
10
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
11
|
+
| ((
|
|
12
|
+
_: unknown
|
|
13
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
12
14
|
defaultUserAgentProvider: (
|
|
13
15
|
config?:
|
|
14
16
|
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
@@ -6,13 +6,15 @@ export declare const getRuntimeConfig: (config: CloudFrontClientConfig) => {
|
|
|
6
6
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
7
7
|
>;
|
|
8
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
|
-
credentialDefaultProvider:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
9
|
+
credentialDefaultProvider:
|
|
10
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
11
|
+
| ((
|
|
12
|
+
init?:
|
|
13
|
+
| import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
14
|
+
| undefined
|
|
15
|
+
) => import("@smithy/types").MemoizedProvider<
|
|
16
|
+
import("@smithy/types").AwsCredentialIdentity
|
|
17
|
+
>);
|
|
16
18
|
defaultUserAgentProvider: (
|
|
17
19
|
config?:
|
|
18
20
|
| import("@aws-sdk/util-user-agent-node").PreviouslyResolved
|
|
@@ -28,9 +28,11 @@ export declare const getRuntimeConfig: (config: CloudFrontClientConfig) => {
|
|
|
28
28
|
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
29
29
|
| undefined
|
|
30
30
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
31
|
-
credentialDefaultProvider:
|
|
32
|
-
input: any
|
|
33
|
-
|
|
31
|
+
credentialDefaultProvider:
|
|
32
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
33
|
+
| ((
|
|
34
|
+
_: unknown
|
|
35
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
34
36
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
35
37
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
36
38
|
logger: import("@smithy/types").Logger;
|
|
@@ -50,11 +52,21 @@ export declare const getRuntimeConfig: (config: CloudFrontClientConfig) => {
|
|
|
50
52
|
| import("@smithy/types").RetryStrategyV2
|
|
51
53
|
| undefined;
|
|
52
54
|
endpoint?:
|
|
53
|
-
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
55
|
+
| ((
|
|
56
|
+
| string
|
|
57
|
+
| import("@smithy/types").Endpoint
|
|
58
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
59
|
+
| import("@smithy/types").EndpointV2
|
|
60
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
61
|
+
) &
|
|
62
|
+
(
|
|
63
|
+
| string
|
|
64
|
+
| import("@smithy/types").Provider<string>
|
|
65
|
+
| import("@smithy/types").Endpoint
|
|
66
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
67
|
+
| import("@smithy/types").EndpointV2
|
|
68
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
69
|
+
))
|
|
58
70
|
| undefined;
|
|
59
71
|
endpointProvider: (
|
|
60
72
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|