@aws-sdk/client-freetier 3.952.0 → 3.953.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 CHANGED
@@ -108,14 +108,14 @@ class FreeTierClient extends smithyClient.Client {
108
108
  }
109
109
  }
110
110
 
111
- let FreeTierServiceException$1 = class FreeTierServiceException extends smithyClient.ServiceException {
111
+ class FreeTierServiceException extends smithyClient.ServiceException {
112
112
  constructor(options) {
113
113
  super(options);
114
114
  Object.setPrototypeOf(this, FreeTierServiceException.prototype);
115
115
  }
116
- };
116
+ }
117
117
 
118
- let AccessDeniedException$1 = class AccessDeniedException extends FreeTierServiceException$1 {
118
+ class AccessDeniedException extends FreeTierServiceException {
119
119
  name = "AccessDeniedException";
120
120
  $fault = "client";
121
121
  constructor(opts) {
@@ -126,8 +126,8 @@ let AccessDeniedException$1 = class AccessDeniedException extends FreeTierServic
126
126
  });
127
127
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
128
128
  }
129
- };
130
- let InternalServerException$1 = class InternalServerException extends FreeTierServiceException$1 {
129
+ }
130
+ class InternalServerException extends FreeTierServiceException {
131
131
  name = "InternalServerException";
132
132
  $fault = "server";
133
133
  constructor(opts) {
@@ -138,8 +138,8 @@ let InternalServerException$1 = class InternalServerException extends FreeTierSe
138
138
  });
139
139
  Object.setPrototypeOf(this, InternalServerException.prototype);
140
140
  }
141
- };
142
- let ResourceNotFoundException$1 = class ResourceNotFoundException extends FreeTierServiceException$1 {
141
+ }
142
+ class ResourceNotFoundException extends FreeTierServiceException {
143
143
  name = "ResourceNotFoundException";
144
144
  $fault = "client";
145
145
  constructor(opts) {
@@ -150,8 +150,8 @@ let ResourceNotFoundException$1 = class ResourceNotFoundException extends FreeTi
150
150
  });
151
151
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
152
152
  }
153
- };
154
- let ThrottlingException$1 = class ThrottlingException extends FreeTierServiceException$1 {
153
+ }
154
+ class ThrottlingException extends FreeTierServiceException {
155
155
  name = "ThrottlingException";
156
156
  $fault = "client";
157
157
  constructor(opts) {
@@ -162,8 +162,8 @@ let ThrottlingException$1 = class ThrottlingException extends FreeTierServiceExc
162
162
  });
163
163
  Object.setPrototypeOf(this, ThrottlingException.prototype);
164
164
  }
165
- };
166
- let ValidationException$1 = class ValidationException extends FreeTierServiceException$1 {
165
+ }
166
+ class ValidationException extends FreeTierServiceException {
167
167
  name = "ValidationException";
168
168
  $fault = "client";
169
169
  constructor(opts) {
@@ -174,7 +174,7 @@ let ValidationException$1 = class ValidationException extends FreeTierServiceExc
174
174
  });
175
175
  Object.setPrototypeOf(this, ValidationException.prototype);
176
176
  }
177
- };
177
+ }
178
178
 
179
179
  const _A = "And";
180
180
  const _ADE = "AccessDeniedException";
@@ -252,19 +252,26 @@ const _t = "title";
252
252
  const _u = "unit";
253
253
  const _uT = "usageType";
254
254
  const n0 = "com.amazonaws.freetier";
255
- var AccessDeniedException = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_m], [0]];
256
- schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
257
- var ActivitySummary = [3, n0, _AS, 0, [_aI, _t, _r, _s], [0, 0, () => ActivityReward, 0]];
258
- var DimensionValues = [3, n0, _DV, 0, [_K, _V, _MO], [0, 64 | 0, 64 | 0]];
259
- var Expression = [
255
+ var AccessDeniedException$ = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_m], [0]];
256
+ schema.TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
257
+ var ActivitySummary$ = [
258
+ 3,
259
+ n0,
260
+ _AS,
261
+ 0,
262
+ [_aI, _t, _r, _s],
263
+ [0, 0, () => ActivityReward$, 0],
264
+ ];
265
+ var DimensionValues$ = [3, n0, _DV, 0, [_K, _V, _MO], [0, 64 | 0, 64 | 0]];
266
+ var Expression$ = [
260
267
  3,
261
268
  n0,
262
269
  _E,
263
270
  0,
264
271
  [_O, _A, _N, _D],
265
- [() => Expressions, () => Expressions, () => Expression, () => DimensionValues],
272
+ [() => Expressions, () => Expressions, () => Expression$, () => DimensionValues$],
266
273
  ];
267
- var FreeTierUsage = [
274
+ var FreeTierUsage$ = [
268
275
  3,
269
276
  n0,
270
277
  _FTU,
@@ -272,33 +279,33 @@ var FreeTierUsage = [
272
279
  [_se, _o, _uT, _re, _aUA, _fUA, _l, _u, _d, _fTT],
273
280
  [0, 0, 0, 0, 1, 1, 1, 0, 0, 0],
274
281
  ];
275
- var GetAccountActivityRequest = [3, n0, _GAAR, 0, [_aI, _lC], [0, 0]];
276
- var GetAccountActivityResponse = [
282
+ var GetAccountActivityRequest$ = [3, n0, _GAAR, 0, [_aI, _lC], [0, 0]];
283
+ var GetAccountActivityResponse$ = [
277
284
  3,
278
285
  n0,
279
286
  _GAARe,
280
287
  0,
281
288
  [_aI, _t, _d, _s, _iU, _r, _eTTCIM, _eA, _sA, _cA],
282
- [0, 0, 0, 0, 0, () => ActivityReward, 1, 5, 5, 5],
289
+ [0, 0, 0, 0, 0, () => ActivityReward$, 1, 5, 5, 5],
283
290
  ];
284
- var GetAccountPlanStateRequest = [3, n0, _GAPSR, 0, [], []];
285
- var GetAccountPlanStateResponse = [
291
+ var GetAccountPlanStateRequest$ = [3, n0, _GAPSR, 0, [], []];
292
+ var GetAccountPlanStateResponse$ = [
286
293
  3,
287
294
  n0,
288
295
  _GAPSRe,
289
296
  0,
290
297
  [_aIc, _aPT, _aPS, _aPRC, _aPED],
291
- [0, 0, 0, () => MonetaryAmount, 5],
298
+ [0, 0, 0, () => MonetaryAmount$, 5],
292
299
  ];
293
- var GetFreeTierUsageRequest = [
300
+ var GetFreeTierUsageRequest$ = [
294
301
  3,
295
302
  n0,
296
303
  _GFTUR,
297
304
  0,
298
305
  [_f, _mR, _nT],
299
- [() => Expression, 1, 0],
306
+ [() => Expression$, 1, 0],
300
307
  ];
301
- var GetFreeTierUsageResponse = [
308
+ var GetFreeTierUsageResponse$ = [
302
309
  3,
303
310
  n0,
304
311
  _GFTURe,
@@ -306,9 +313,9 @@ var GetFreeTierUsageResponse = [
306
313
  [_fTU, _nT],
307
314
  [() => FreeTierUsages, 0],
308
315
  ];
309
- var InternalServerException = [-3, n0, _ISE, { [_e]: _ser, [_hE]: 500 }, [_m], [0]];
310
- schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
311
- var ListAccountActivitiesRequest = [
316
+ var InternalServerException$ = [-3, n0, _ISE, { [_e]: _ser, [_hE]: 500 }, [_m], [0]];
317
+ schema.TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
318
+ var ListAccountActivitiesRequest$ = [
312
319
  3,
313
320
  n0,
314
321
  _LAAR,
@@ -316,61 +323,61 @@ var ListAccountActivitiesRequest = [
316
323
  [_fAS, _nT, _mR, _lC],
317
324
  [64 | 0, 0, 1, 0],
318
325
  ];
319
- var ListAccountActivitiesResponse = [3, n0, _LAARi, 0, [_a, _nT], [() => Activities, 0]];
320
- var MonetaryAmount = [3, n0, _MA, 0, [_am, _u], [1, 0]];
321
- var ResourceNotFoundException = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]];
322
- schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
323
- var ThrottlingException = [-3, n0, _TE, { [_e]: _c, [_hE]: 429 }, [_m], [0]];
324
- schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
325
- var UpgradeAccountPlanRequest = [3, n0, _UAPR, 0, [_aPT], [0]];
326
- var UpgradeAccountPlanResponse = [3, n0, _UAPRp, 0, [_aIc, _aPT, _aPS], [0, 0, 0]];
327
- var ValidationException = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
328
- schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
329
- var FreeTierServiceException = [-3, _sm, "FreeTierServiceException", 0, [], []];
330
- schema.TypeRegistry.for(_sm).registerError(FreeTierServiceException, FreeTierServiceException$1);
331
- var Activities = [1, n0, _Ac, 0, () => ActivitySummary];
332
- var Expressions = [1, n0, _Ex, 0, () => Expression];
333
- var FreeTierUsages = [1, n0, _FTUr, 0, () => FreeTierUsage];
334
- var ActivityReward = [3, n0, _AR, 0, [_cr], [() => MonetaryAmount]];
335
- var GetAccountActivity = [
326
+ var ListAccountActivitiesResponse$ = [3, n0, _LAARi, 0, [_a, _nT], [() => Activities, 0]];
327
+ var MonetaryAmount$ = [3, n0, _MA, 0, [_am, _u], [1, 0]];
328
+ var ResourceNotFoundException$ = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]];
329
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
330
+ var ThrottlingException$ = [-3, n0, _TE, { [_e]: _c, [_hE]: 429 }, [_m], [0]];
331
+ schema.TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
332
+ var UpgradeAccountPlanRequest$ = [3, n0, _UAPR, 0, [_aPT], [0]];
333
+ var UpgradeAccountPlanResponse$ = [3, n0, _UAPRp, 0, [_aIc, _aPT, _aPS], [0, 0, 0]];
334
+ var ValidationException$ = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
335
+ schema.TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
336
+ var FreeTierServiceException$ = [-3, _sm, "FreeTierServiceException", 0, [], []];
337
+ schema.TypeRegistry.for(_sm).registerError(FreeTierServiceException$, FreeTierServiceException);
338
+ var Activities = [1, n0, _Ac, 0, () => ActivitySummary$];
339
+ var Expressions = [1, n0, _Ex, 0, () => Expression$];
340
+ var FreeTierUsages = [1, n0, _FTUr, 0, () => FreeTierUsage$];
341
+ var ActivityReward$ = [3, n0, _AR, 0, [_cr], [() => MonetaryAmount$]];
342
+ var GetAccountActivity$ = [
336
343
  9,
337
344
  n0,
338
345
  _GAA,
339
346
  0,
340
- () => GetAccountActivityRequest,
341
- () => GetAccountActivityResponse,
347
+ () => GetAccountActivityRequest$,
348
+ () => GetAccountActivityResponse$,
342
349
  ];
343
- var GetAccountPlanState = [
350
+ var GetAccountPlanState$ = [
344
351
  9,
345
352
  n0,
346
353
  _GAPS,
347
354
  0,
348
- () => GetAccountPlanStateRequest,
349
- () => GetAccountPlanStateResponse,
355
+ () => GetAccountPlanStateRequest$,
356
+ () => GetAccountPlanStateResponse$,
350
357
  ];
351
- var GetFreeTierUsage = [
358
+ var GetFreeTierUsage$ = [
352
359
  9,
353
360
  n0,
354
361
  _GFTU,
355
362
  0,
356
- () => GetFreeTierUsageRequest,
357
- () => GetFreeTierUsageResponse,
363
+ () => GetFreeTierUsageRequest$,
364
+ () => GetFreeTierUsageResponse$,
358
365
  ];
359
- var ListAccountActivities = [
366
+ var ListAccountActivities$ = [
360
367
  9,
361
368
  n0,
362
369
  _LAA,
363
370
  0,
364
- () => ListAccountActivitiesRequest,
365
- () => ListAccountActivitiesResponse,
371
+ () => ListAccountActivitiesRequest$,
372
+ () => ListAccountActivitiesResponse$,
366
373
  ];
367
- var UpgradeAccountPlan = [
374
+ var UpgradeAccountPlan$ = [
368
375
  9,
369
376
  n0,
370
377
  _UAP,
371
378
  0,
372
- () => UpgradeAccountPlanRequest,
373
- () => UpgradeAccountPlanResponse,
379
+ () => UpgradeAccountPlanRequest$,
380
+ () => UpgradeAccountPlanResponse$,
374
381
  ];
375
382
 
376
383
  class GetAccountActivityCommand extends smithyClient.Command
@@ -381,7 +388,7 @@ class GetAccountActivityCommand extends smithyClient.Command
381
388
  })
382
389
  .s("AWSFreeTierService", "GetAccountActivity", {})
383
390
  .n("FreeTierClient", "GetAccountActivityCommand")
384
- .sc(GetAccountActivity)
391
+ .sc(GetAccountActivity$)
385
392
  .build() {
386
393
  }
387
394
 
@@ -393,7 +400,7 @@ class GetAccountPlanStateCommand extends smithyClient.Command
393
400
  })
394
401
  .s("AWSFreeTierService", "GetAccountPlanState", {})
395
402
  .n("FreeTierClient", "GetAccountPlanStateCommand")
396
- .sc(GetAccountPlanState)
403
+ .sc(GetAccountPlanState$)
397
404
  .build() {
398
405
  }
399
406
 
@@ -405,7 +412,7 @@ class GetFreeTierUsageCommand extends smithyClient.Command
405
412
  })
406
413
  .s("AWSFreeTierService", "GetFreeTierUsage", {})
407
414
  .n("FreeTierClient", "GetFreeTierUsageCommand")
408
- .sc(GetFreeTierUsage)
415
+ .sc(GetFreeTierUsage$)
409
416
  .build() {
410
417
  }
411
418
 
@@ -417,7 +424,7 @@ class ListAccountActivitiesCommand extends smithyClient.Command
417
424
  })
418
425
  .s("AWSFreeTierService", "ListAccountActivities", {})
419
426
  .n("FreeTierClient", "ListAccountActivitiesCommand")
420
- .sc(ListAccountActivities)
427
+ .sc(ListAccountActivities$)
421
428
  .build() {
422
429
  }
423
430
 
@@ -429,7 +436,7 @@ class UpgradeAccountPlanCommand extends smithyClient.Command
429
436
  })
430
437
  .s("AWSFreeTierService", "UpgradeAccountPlan", {})
431
438
  .n("FreeTierClient", "UpgradeAccountPlanCommand")
432
- .sc(UpgradeAccountPlan)
439
+ .sc(UpgradeAccountPlan$)
433
440
  .build() {
434
441
  }
435
442
 
@@ -506,25 +513,52 @@ Object.defineProperty(exports, "__Client", {
506
513
  enumerable: true,
507
514
  get: function () { return smithyClient.Client; }
508
515
  });
509
- exports.AccessDeniedException = AccessDeniedException$1;
516
+ exports.AccessDeniedException = AccessDeniedException;
517
+ exports.AccessDeniedException$ = AccessDeniedException$;
510
518
  exports.AccountPlanStatus = AccountPlanStatus;
511
519
  exports.AccountPlanType = AccountPlanType;
520
+ exports.ActivityReward$ = ActivityReward$;
512
521
  exports.ActivityStatus = ActivityStatus;
522
+ exports.ActivitySummary$ = ActivitySummary$;
513
523
  exports.CurrencyCode = CurrencyCode;
514
524
  exports.Dimension = Dimension;
525
+ exports.DimensionValues$ = DimensionValues$;
526
+ exports.Expression$ = Expression$;
515
527
  exports.FreeTier = FreeTier;
516
528
  exports.FreeTierClient = FreeTierClient;
517
- exports.FreeTierServiceException = FreeTierServiceException$1;
529
+ exports.FreeTierServiceException = FreeTierServiceException;
530
+ exports.FreeTierServiceException$ = FreeTierServiceException$;
531
+ exports.FreeTierUsage$ = FreeTierUsage$;
532
+ exports.GetAccountActivity$ = GetAccountActivity$;
518
533
  exports.GetAccountActivityCommand = GetAccountActivityCommand;
534
+ exports.GetAccountActivityRequest$ = GetAccountActivityRequest$;
535
+ exports.GetAccountActivityResponse$ = GetAccountActivityResponse$;
536
+ exports.GetAccountPlanState$ = GetAccountPlanState$;
519
537
  exports.GetAccountPlanStateCommand = GetAccountPlanStateCommand;
538
+ exports.GetAccountPlanStateRequest$ = GetAccountPlanStateRequest$;
539
+ exports.GetAccountPlanStateResponse$ = GetAccountPlanStateResponse$;
540
+ exports.GetFreeTierUsage$ = GetFreeTierUsage$;
520
541
  exports.GetFreeTierUsageCommand = GetFreeTierUsageCommand;
521
- exports.InternalServerException = InternalServerException$1;
542
+ exports.GetFreeTierUsageRequest$ = GetFreeTierUsageRequest$;
543
+ exports.GetFreeTierUsageResponse$ = GetFreeTierUsageResponse$;
544
+ exports.InternalServerException = InternalServerException;
545
+ exports.InternalServerException$ = InternalServerException$;
522
546
  exports.LanguageCode = LanguageCode;
547
+ exports.ListAccountActivities$ = ListAccountActivities$;
523
548
  exports.ListAccountActivitiesCommand = ListAccountActivitiesCommand;
549
+ exports.ListAccountActivitiesRequest$ = ListAccountActivitiesRequest$;
550
+ exports.ListAccountActivitiesResponse$ = ListAccountActivitiesResponse$;
524
551
  exports.MatchOption = MatchOption;
525
- exports.ResourceNotFoundException = ResourceNotFoundException$1;
526
- exports.ThrottlingException = ThrottlingException$1;
552
+ exports.MonetaryAmount$ = MonetaryAmount$;
553
+ exports.ResourceNotFoundException = ResourceNotFoundException;
554
+ exports.ResourceNotFoundException$ = ResourceNotFoundException$;
555
+ exports.ThrottlingException = ThrottlingException;
556
+ exports.ThrottlingException$ = ThrottlingException$;
557
+ exports.UpgradeAccountPlan$ = UpgradeAccountPlan$;
527
558
  exports.UpgradeAccountPlanCommand = UpgradeAccountPlanCommand;
528
- exports.ValidationException = ValidationException$1;
559
+ exports.UpgradeAccountPlanRequest$ = UpgradeAccountPlanRequest$;
560
+ exports.UpgradeAccountPlanResponse$ = UpgradeAccountPlanResponse$;
561
+ exports.ValidationException = ValidationException;
562
+ exports.ValidationException$ = ValidationException$;
529
563
  exports.paginateGetFreeTierUsage = paginateGetFreeTierUsage;
530
564
  exports.paginateListAccountActivities = paginateListAccountActivities;
@@ -26,12 +26,12 @@ const getRuntimeConfig = (config) => {
26
26
  },
27
27
  ],
28
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
- protocol: config?.protocol ??
30
- new protocols_1.AwsJson1_0Protocol({
31
- defaultNamespace: "com.amazonaws.freetier",
32
- serviceTarget: "AWSFreeTierService",
33
- awsQueryCompatible: false,
34
- }),
29
+ protocol: config?.protocol ?? protocols_1.AwsJson1_0Protocol,
30
+ protocolSettings: config?.protocolSettings ?? {
31
+ defaultNamespace: "com.amazonaws.freetier",
32
+ version: "2023-09-07",
33
+ serviceTarget: "AWSFreeTierService",
34
+ },
35
35
  serviceId: config?.serviceId ?? "FreeTier",
36
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
37
37
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetAccountActivity } from "../schemas/schemas_0";
4
+ import { GetAccountActivity$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetAccountActivityCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetAccountActivityCommand extends $Command
11
11
  })
12
12
  .s("AWSFreeTierService", "GetAccountActivity", {})
13
13
  .n("FreeTierClient", "GetAccountActivityCommand")
14
- .sc(GetAccountActivity)
14
+ .sc(GetAccountActivity$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetAccountPlanState } from "../schemas/schemas_0";
4
+ import { GetAccountPlanState$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetAccountPlanStateCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetAccountPlanStateCommand extends $Command
11
11
  })
12
12
  .s("AWSFreeTierService", "GetAccountPlanState", {})
13
13
  .n("FreeTierClient", "GetAccountPlanStateCommand")
14
- .sc(GetAccountPlanState)
14
+ .sc(GetAccountPlanState$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetFreeTierUsage } from "../schemas/schemas_0";
4
+ import { GetFreeTierUsage$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetFreeTierUsageCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetFreeTierUsageCommand extends $Command
11
11
  })
12
12
  .s("AWSFreeTierService", "GetFreeTierUsage", {})
13
13
  .n("FreeTierClient", "GetFreeTierUsageCommand")
14
- .sc(GetFreeTierUsage)
14
+ .sc(GetFreeTierUsage$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListAccountActivities } from "../schemas/schemas_0";
4
+ import { ListAccountActivities$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListAccountActivitiesCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListAccountActivitiesCommand extends $Command
11
11
  })
12
12
  .s("AWSFreeTierService", "ListAccountActivities", {})
13
13
  .n("FreeTierClient", "ListAccountActivitiesCommand")
14
- .sc(ListAccountActivities)
14
+ .sc(ListAccountActivities$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpgradeAccountPlan } from "../schemas/schemas_0";
4
+ import { UpgradeAccountPlan$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpgradeAccountPlanCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpgradeAccountPlanCommand extends $Command
11
11
  })
12
12
  .s("AWSFreeTierService", "UpgradeAccountPlan", {})
13
13
  .n("FreeTierClient", "UpgradeAccountPlanCommand")
14
- .sc(UpgradeAccountPlan)
14
+ .sc(UpgradeAccountPlan$)
15
15
  .build() {
16
16
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./FreeTierClient";
2
2
  export * from "./FreeTier";
3
3
  export * from "./commands";
4
+ export * from "./schemas/schemas_0";
4
5
  export * from "./pagination";
5
6
  export * from "./models/enums";
6
7
  export * from "./models/errors";
@@ -23,12 +23,12 @@ export const getRuntimeConfig = (config) => {
23
23
  },
24
24
  ],
25
25
  logger: config?.logger ?? new NoOpLogger(),
26
- protocol: config?.protocol ??
27
- new AwsJson1_0Protocol({
28
- defaultNamespace: "com.amazonaws.freetier",
29
- serviceTarget: "AWSFreeTierService",
30
- awsQueryCompatible: false,
31
- }),
26
+ protocol: config?.protocol ?? AwsJson1_0Protocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.freetier",
29
+ version: "2023-09-07",
30
+ serviceTarget: "AWSFreeTierService",
31
+ },
32
32
  serviceId: config?.serviceId ?? "FreeTier",
33
33
  urlParser: config?.urlParser ?? parseUrl,
34
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
@@ -75,21 +75,28 @@ const _u = "unit";
75
75
  const _uT = "usageType";
76
76
  const n0 = "com.amazonaws.freetier";
77
77
  import { TypeRegistry } from "@smithy/core/schema";
78
- import { AccessDeniedException as __AccessDeniedException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/errors";
79
- import { FreeTierServiceException as __FreeTierServiceException } from "../models/FreeTierServiceException";
80
- export var AccessDeniedException = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_m], [0]];
81
- TypeRegistry.for(n0).registerError(AccessDeniedException, __AccessDeniedException);
82
- export var ActivitySummary = [3, n0, _AS, 0, [_aI, _t, _r, _s], [0, 0, () => ActivityReward, 0]];
83
- export var DimensionValues = [3, n0, _DV, 0, [_K, _V, _MO], [0, 64 | 0, 64 | 0]];
84
- export var Expression = [
78
+ import { AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, } from "../models/errors";
79
+ import { FreeTierServiceException } from "../models/FreeTierServiceException";
80
+ export var AccessDeniedException$ = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_m], [0]];
81
+ TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
82
+ export var ActivitySummary$ = [
83
+ 3,
84
+ n0,
85
+ _AS,
86
+ 0,
87
+ [_aI, _t, _r, _s],
88
+ [0, 0, () => ActivityReward$, 0],
89
+ ];
90
+ export var DimensionValues$ = [3, n0, _DV, 0, [_K, _V, _MO], [0, 64 | 0, 64 | 0]];
91
+ export var Expression$ = [
85
92
  3,
86
93
  n0,
87
94
  _E,
88
95
  0,
89
96
  [_O, _A, _N, _D],
90
- [() => Expressions, () => Expressions, () => Expression, () => DimensionValues],
97
+ [() => Expressions, () => Expressions, () => Expression$, () => DimensionValues$],
91
98
  ];
92
- export var FreeTierUsage = [
99
+ export var FreeTierUsage$ = [
93
100
  3,
94
101
  n0,
95
102
  _FTU,
@@ -97,33 +104,33 @@ export var FreeTierUsage = [
97
104
  [_se, _o, _uT, _re, _aUA, _fUA, _l, _u, _d, _fTT],
98
105
  [0, 0, 0, 0, 1, 1, 1, 0, 0, 0],
99
106
  ];
100
- export var GetAccountActivityRequest = [3, n0, _GAAR, 0, [_aI, _lC], [0, 0]];
101
- export var GetAccountActivityResponse = [
107
+ export var GetAccountActivityRequest$ = [3, n0, _GAAR, 0, [_aI, _lC], [0, 0]];
108
+ export var GetAccountActivityResponse$ = [
102
109
  3,
103
110
  n0,
104
111
  _GAARe,
105
112
  0,
106
113
  [_aI, _t, _d, _s, _iU, _r, _eTTCIM, _eA, _sA, _cA],
107
- [0, 0, 0, 0, 0, () => ActivityReward, 1, 5, 5, 5],
114
+ [0, 0, 0, 0, 0, () => ActivityReward$, 1, 5, 5, 5],
108
115
  ];
109
- export var GetAccountPlanStateRequest = [3, n0, _GAPSR, 0, [], []];
110
- export var GetAccountPlanStateResponse = [
116
+ export var GetAccountPlanStateRequest$ = [3, n0, _GAPSR, 0, [], []];
117
+ export var GetAccountPlanStateResponse$ = [
111
118
  3,
112
119
  n0,
113
120
  _GAPSRe,
114
121
  0,
115
122
  [_aIc, _aPT, _aPS, _aPRC, _aPED],
116
- [0, 0, 0, () => MonetaryAmount, 5],
123
+ [0, 0, 0, () => MonetaryAmount$, 5],
117
124
  ];
118
- export var GetFreeTierUsageRequest = [
125
+ export var GetFreeTierUsageRequest$ = [
119
126
  3,
120
127
  n0,
121
128
  _GFTUR,
122
129
  0,
123
130
  [_f, _mR, _nT],
124
- [() => Expression, 1, 0],
131
+ [() => Expression$, 1, 0],
125
132
  ];
126
- export var GetFreeTierUsageResponse = [
133
+ export var GetFreeTierUsageResponse$ = [
127
134
  3,
128
135
  n0,
129
136
  _GFTURe,
@@ -131,9 +138,9 @@ export var GetFreeTierUsageResponse = [
131
138
  [_fTU, _nT],
132
139
  [() => FreeTierUsages, 0],
133
140
  ];
134
- export var InternalServerException = [-3, n0, _ISE, { [_e]: _ser, [_hE]: 500 }, [_m], [0]];
135
- TypeRegistry.for(n0).registerError(InternalServerException, __InternalServerException);
136
- export var ListAccountActivitiesRequest = [
141
+ export var InternalServerException$ = [-3, n0, _ISE, { [_e]: _ser, [_hE]: 500 }, [_m], [0]];
142
+ TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
143
+ export var ListAccountActivitiesRequest$ = [
137
144
  3,
138
145
  n0,
139
146
  _LAAR,
@@ -141,62 +148,62 @@ export var ListAccountActivitiesRequest = [
141
148
  [_fAS, _nT, _mR, _lC],
142
149
  [64 | 0, 0, 1, 0],
143
150
  ];
144
- export var ListAccountActivitiesResponse = [3, n0, _LAARi, 0, [_a, _nT], [() => Activities, 0]];
145
- export var MonetaryAmount = [3, n0, _MA, 0, [_am, _u], [1, 0]];
146
- export var ResourceNotFoundException = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]];
147
- TypeRegistry.for(n0).registerError(ResourceNotFoundException, __ResourceNotFoundException);
148
- export var ThrottlingException = [-3, n0, _TE, { [_e]: _c, [_hE]: 429 }, [_m], [0]];
149
- TypeRegistry.for(n0).registerError(ThrottlingException, __ThrottlingException);
150
- export var UpgradeAccountPlanRequest = [3, n0, _UAPR, 0, [_aPT], [0]];
151
- export var UpgradeAccountPlanResponse = [3, n0, _UAPRp, 0, [_aIc, _aPT, _aPS], [0, 0, 0]];
152
- export var ValidationException = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
153
- TypeRegistry.for(n0).registerError(ValidationException, __ValidationException);
154
- export var FreeTierServiceException = [-3, _sm, "FreeTierServiceException", 0, [], []];
155
- TypeRegistry.for(_sm).registerError(FreeTierServiceException, __FreeTierServiceException);
156
- export var Activities = [1, n0, _Ac, 0, () => ActivitySummary];
157
- export var Expressions = [1, n0, _Ex, 0, () => Expression];
158
- export var FilterActivityStatuses = 64 | 0;
159
- export var FreeTierUsages = [1, n0, _FTUr, 0, () => FreeTierUsage];
160
- export var MatchOptions = 64 | 0;
161
- export var Values = 64 | 0;
162
- export var ActivityReward = [3, n0, _AR, 0, [_cr], [() => MonetaryAmount]];
163
- export var GetAccountActivity = [
151
+ export var ListAccountActivitiesResponse$ = [3, n0, _LAARi, 0, [_a, _nT], [() => Activities, 0]];
152
+ export var MonetaryAmount$ = [3, n0, _MA, 0, [_am, _u], [1, 0]];
153
+ export var ResourceNotFoundException$ = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]];
154
+ TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
155
+ export var ThrottlingException$ = [-3, n0, _TE, { [_e]: _c, [_hE]: 429 }, [_m], [0]];
156
+ TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
157
+ export var UpgradeAccountPlanRequest$ = [3, n0, _UAPR, 0, [_aPT], [0]];
158
+ export var UpgradeAccountPlanResponse$ = [3, n0, _UAPRp, 0, [_aIc, _aPT, _aPS], [0, 0, 0]];
159
+ export var ValidationException$ = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
160
+ TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
161
+ export var FreeTierServiceException$ = [-3, _sm, "FreeTierServiceException", 0, [], []];
162
+ TypeRegistry.for(_sm).registerError(FreeTierServiceException$, FreeTierServiceException);
163
+ var Activities = [1, n0, _Ac, 0, () => ActivitySummary$];
164
+ var Expressions = [1, n0, _Ex, 0, () => Expression$];
165
+ var FilterActivityStatuses = 64 | 0;
166
+ var FreeTierUsages = [1, n0, _FTUr, 0, () => FreeTierUsage$];
167
+ var MatchOptions = 64 | 0;
168
+ var Values = 64 | 0;
169
+ export var ActivityReward$ = [3, n0, _AR, 0, [_cr], [() => MonetaryAmount$]];
170
+ export var GetAccountActivity$ = [
164
171
  9,
165
172
  n0,
166
173
  _GAA,
167
174
  0,
168
- () => GetAccountActivityRequest,
169
- () => GetAccountActivityResponse,
175
+ () => GetAccountActivityRequest$,
176
+ () => GetAccountActivityResponse$,
170
177
  ];
171
- export var GetAccountPlanState = [
178
+ export var GetAccountPlanState$ = [
172
179
  9,
173
180
  n0,
174
181
  _GAPS,
175
182
  0,
176
- () => GetAccountPlanStateRequest,
177
- () => GetAccountPlanStateResponse,
183
+ () => GetAccountPlanStateRequest$,
184
+ () => GetAccountPlanStateResponse$,
178
185
  ];
179
- export var GetFreeTierUsage = [
186
+ export var GetFreeTierUsage$ = [
180
187
  9,
181
188
  n0,
182
189
  _GFTU,
183
190
  0,
184
- () => GetFreeTierUsageRequest,
185
- () => GetFreeTierUsageResponse,
191
+ () => GetFreeTierUsageRequest$,
192
+ () => GetFreeTierUsageResponse$,
186
193
  ];
187
- export var ListAccountActivities = [
194
+ export var ListAccountActivities$ = [
188
195
  9,
189
196
  n0,
190
197
  _LAA,
191
198
  0,
192
- () => ListAccountActivitiesRequest,
193
- () => ListAccountActivitiesResponse,
199
+ () => ListAccountActivitiesRequest$,
200
+ () => ListAccountActivitiesResponse$,
194
201
  ];
195
- export var UpgradeAccountPlan = [
202
+ export var UpgradeAccountPlan$ = [
196
203
  9,
197
204
  n0,
198
205
  _UAP,
199
206
  0,
200
- () => UpgradeAccountPlanRequest,
201
- () => UpgradeAccountPlanResponse,
207
+ () => UpgradeAccountPlanRequest$,
208
+ () => UpgradeAccountPlanResponse$,
202
209
  ];
@@ -5,7 +5,7 @@ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/m
5
5
  import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
6
6
  import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
7
  import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
8
- import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type ClientProtocol, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type HttpRequest, type HttpResponse, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
8
+ import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
9
9
  import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
10
  import { GetAccountActivityCommandInput, GetAccountActivityCommandOutput } from "./commands/GetAccountActivityCommand";
11
11
  import { GetAccountPlanStateCommandInput, GetAccountPlanStateCommandOutput } from "./commands/GetAccountPlanStateCommand";
@@ -146,15 +146,6 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
146
146
  * Optional extensions
147
147
  */
148
148
  extensions?: RuntimeExtension[];
149
- /**
150
- * The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
151
- * may be overridden. A default will always be set by the client.
152
- * Available options depend on the service's supported protocols and will not be validated by
153
- * the client.
154
- * @alpha
155
- *
156
- */
157
- protocol?: ClientProtocol<HttpRequest, HttpResponse>;
158
149
  /**
159
150
  * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
160
151
  */
@@ -9,6 +9,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
9
9
  export type { RuntimeExtension } from "./runtimeExtensions";
10
10
  export type { FreeTierExtensionConfiguration } from "./extensionConfiguration";
11
11
  export * from "./commands";
12
+ export * from "./schemas/schemas_0";
12
13
  export * from "./pagination";
13
14
  export * from "./models/enums";
14
15
  export * from "./models/errors";
@@ -17,8 +17,13 @@ export declare const getRuntimeConfig: (config: FreeTierClientConfig) => {
17
17
  streamCollector: import("@smithy/types").StreamCollector;
18
18
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
19
19
  useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
20
- apiVersion: string;
21
20
  cacheMiddleware?: boolean | undefined;
21
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsJson1_0Protocol;
22
+ protocolSettings: {
23
+ defaultNamespace?: string;
24
+ [setting: string]: unknown;
25
+ };
26
+ apiVersion: string;
22
27
  urlParser: import("@smithy/types").UrlParser;
23
28
  base64Decoder: import("@smithy/types").Decoder;
24
29
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -29,7 +34,6 @@ export declare const getRuntimeConfig: (config: FreeTierClientConfig) => {
29
34
  profile?: string;
30
35
  logger: import("@smithy/types").Logger;
31
36
  extensions: import("./runtimeExtensions").RuntimeExtension[];
32
- protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
33
37
  customUserAgent?: string | import("@smithy/types").UserAgent;
34
38
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
35
39
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
@@ -19,8 +19,13 @@ export declare const getRuntimeConfig: (config: FreeTierClientConfig) => {
19
19
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
20
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
21
  userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
22
- apiVersion: string;
23
22
  cacheMiddleware?: boolean | undefined;
23
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsJson1_0Protocol;
24
+ protocolSettings: {
25
+ defaultNamespace?: string;
26
+ [setting: string]: unknown;
27
+ };
28
+ apiVersion: string;
24
29
  urlParser: import("@smithy/types").UrlParser;
25
30
  base64Decoder: import("@smithy/types").Decoder;
26
31
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -31,7 +36,6 @@ export declare const getRuntimeConfig: (config: FreeTierClientConfig) => {
31
36
  profile?: string;
32
37
  logger: import("@smithy/types").Logger;
33
38
  extensions: import("./runtimeExtensions").RuntimeExtension[];
34
- protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
35
39
  customUserAgent?: string | import("@smithy/types").UserAgent;
36
40
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
37
41
  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;
@@ -6,8 +6,13 @@ export declare const getRuntimeConfig: (config: FreeTierClientConfig) => {
6
6
  runtime: string;
7
7
  sha256: import("@smithy/types").HashConstructor;
8
8
  requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
9
- apiVersion: string;
10
9
  cacheMiddleware?: boolean;
10
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsJson1_0Protocol;
11
+ protocolSettings: {
12
+ defaultNamespace?: string;
13
+ [setting: string]: unknown;
14
+ };
15
+ apiVersion: string;
11
16
  urlParser: import("@smithy/types").UrlParser;
12
17
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
13
18
  streamCollector: import("@smithy/types").StreamCollector;
@@ -27,7 +32,6 @@ export declare const getRuntimeConfig: (config: FreeTierClientConfig) => {
27
32
  retryMode: string | import("@smithy/types").Provider<string>;
28
33
  logger: import("@smithy/types").Logger;
29
34
  extensions: import("./runtimeExtensions").RuntimeExtension[];
30
- protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
31
35
  defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
32
36
  customUserAgent?: string | import("@smithy/types").UserAgent;
33
37
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
@@ -1,3 +1,4 @@
1
+ import { AwsJson1_0Protocol } from "@aws-sdk/core/protocols";
1
2
  import type { FreeTierClientConfig } from "./FreeTierClient";
2
3
  /**
3
4
  * @internal
@@ -14,7 +15,11 @@ export declare const getRuntimeConfig: (config: FreeTierClientConfig) => {
14
15
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").FreeTierHttpAuthSchemeProvider;
15
16
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
16
17
  logger: import("@smithy/types").Logger;
17
- protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
18
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof AwsJson1_0Protocol;
19
+ protocolSettings: {
20
+ [setting: string]: unknown;
21
+ defaultNamespace?: string;
22
+ };
18
23
  serviceId: string;
19
24
  urlParser: import("@smithy/types").UrlParser;
20
25
  utf8Decoder: import("@smithy/types").Decoder;
@@ -1,34 +1,28 @@
1
- import type { StaticErrorSchema, StaticListSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
2
- export declare var AccessDeniedException: StaticErrorSchema;
3
- export declare var ActivitySummary: StaticStructureSchema;
4
- export declare var DimensionValues: StaticStructureSchema;
5
- export declare var Expression: StaticStructureSchema;
6
- export declare var FreeTierUsage: StaticStructureSchema;
7
- export declare var GetAccountActivityRequest: StaticStructureSchema;
8
- export declare var GetAccountActivityResponse: StaticStructureSchema;
9
- export declare var GetAccountPlanStateRequest: StaticStructureSchema;
10
- export declare var GetAccountPlanStateResponse: StaticStructureSchema;
11
- export declare var GetFreeTierUsageRequest: StaticStructureSchema;
12
- export declare var GetFreeTierUsageResponse: StaticStructureSchema;
13
- export declare var InternalServerException: StaticErrorSchema;
14
- export declare var ListAccountActivitiesRequest: StaticStructureSchema;
15
- export declare var ListAccountActivitiesResponse: StaticStructureSchema;
16
- export declare var MonetaryAmount: StaticStructureSchema;
17
- export declare var ResourceNotFoundException: StaticErrorSchema;
18
- export declare var ThrottlingException: StaticErrorSchema;
19
- export declare var UpgradeAccountPlanRequest: StaticStructureSchema;
20
- export declare var UpgradeAccountPlanResponse: StaticStructureSchema;
21
- export declare var ValidationException: StaticErrorSchema;
22
- export declare var FreeTierServiceException: StaticErrorSchema;
23
- export declare var Activities: StaticListSchema;
24
- export declare var Expressions: StaticListSchema;
25
- export declare var FilterActivityStatuses: number;
26
- export declare var FreeTierUsages: StaticListSchema;
27
- export declare var MatchOptions: number;
28
- export declare var Values: number;
29
- export declare var ActivityReward: StaticStructureSchema;
30
- export declare var GetAccountActivity: StaticOperationSchema;
31
- export declare var GetAccountPlanState: StaticOperationSchema;
32
- export declare var GetFreeTierUsage: StaticOperationSchema;
33
- export declare var ListAccountActivities: StaticOperationSchema;
34
- export declare var UpgradeAccountPlan: StaticOperationSchema;
1
+ import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
2
+ export declare var AccessDeniedException$: StaticErrorSchema;
3
+ export declare var ActivitySummary$: StaticStructureSchema;
4
+ export declare var DimensionValues$: StaticStructureSchema;
5
+ export declare var Expression$: StaticStructureSchema;
6
+ export declare var FreeTierUsage$: StaticStructureSchema;
7
+ export declare var GetAccountActivityRequest$: StaticStructureSchema;
8
+ export declare var GetAccountActivityResponse$: StaticStructureSchema;
9
+ export declare var GetAccountPlanStateRequest$: StaticStructureSchema;
10
+ export declare var GetAccountPlanStateResponse$: StaticStructureSchema;
11
+ export declare var GetFreeTierUsageRequest$: StaticStructureSchema;
12
+ export declare var GetFreeTierUsageResponse$: StaticStructureSchema;
13
+ export declare var InternalServerException$: StaticErrorSchema;
14
+ export declare var ListAccountActivitiesRequest$: StaticStructureSchema;
15
+ export declare var ListAccountActivitiesResponse$: StaticStructureSchema;
16
+ export declare var MonetaryAmount$: StaticStructureSchema;
17
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
18
+ export declare var ThrottlingException$: StaticErrorSchema;
19
+ export declare var UpgradeAccountPlanRequest$: StaticStructureSchema;
20
+ export declare var UpgradeAccountPlanResponse$: StaticStructureSchema;
21
+ export declare var ValidationException$: StaticErrorSchema;
22
+ export declare var FreeTierServiceException$: StaticErrorSchema;
23
+ export declare var ActivityReward$: StaticStructureSchema;
24
+ export declare var GetAccountActivity$: StaticOperationSchema;
25
+ export declare var GetAccountPlanState$: StaticOperationSchema;
26
+ export declare var GetFreeTierUsage$: StaticOperationSchema;
27
+ export declare var ListAccountActivities$: StaticOperationSchema;
28
+ export declare var UpgradeAccountPlan$: StaticOperationSchema;
@@ -29,13 +29,10 @@ import {
29
29
  BodyLengthCalculator as __BodyLengthCalculator,
30
30
  CheckOptionalClientConfig as __CheckOptionalClientConfig,
31
31
  ChecksumConstructor as __ChecksumConstructor,
32
- ClientProtocol,
33
32
  Decoder as __Decoder,
34
33
  Encoder as __Encoder,
35
34
  HashConstructor as __HashConstructor,
36
35
  HttpHandlerOptions as __HttpHandlerOptions,
37
- HttpRequest,
38
- HttpResponse,
39
36
  Logger as __Logger,
40
37
  Provider as __Provider,
41
38
  StreamCollector as __StreamCollector,
@@ -111,7 +108,6 @@ export interface ClientDefaults
111
108
  retryMode?: string | __Provider<string>;
112
109
  logger?: __Logger;
113
110
  extensions?: RuntimeExtension[];
114
- protocol?: ClientProtocol<HttpRequest, HttpResponse>;
115
111
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
116
112
  }
117
113
  export type FreeTierClientConfigType = Partial<
@@ -4,6 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
4
  export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { FreeTierExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
+ export * from "./schemas/schemas_0";
7
8
  export * from "./pagination";
8
9
  export * from "./models/enums";
9
10
  export * from "./models/errors";
@@ -25,8 +25,16 @@ export declare const getRuntimeConfig: (config: FreeTierClientConfig) => {
25
25
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
26
26
  useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
27
27
  (boolean | import("@smithy/types").Provider<boolean | undefined>);
28
- apiVersion: string;
29
28
  cacheMiddleware?: boolean | undefined;
29
+ protocol:
30
+ | import("@smithy/types").ClientProtocol<any, any>
31
+ | import("@smithy/types").ClientProtocolCtor<any, any>
32
+ | typeof import("@aws-sdk/core").AwsJson1_0Protocol;
33
+ protocolSettings: {
34
+ defaultNamespace?: string;
35
+ [setting: string]: unknown;
36
+ };
37
+ apiVersion: string;
30
38
  urlParser: import("@smithy/types").UrlParser;
31
39
  base64Decoder: import("@smithy/types").Decoder;
32
40
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -37,10 +45,6 @@ export declare const getRuntimeConfig: (config: FreeTierClientConfig) => {
37
45
  profile?: string;
38
46
  logger: import("@smithy/types").Logger;
39
47
  extensions: import("./runtimeExtensions").RuntimeExtension[];
40
- protocol: import("@smithy/types").ClientProtocol<
41
- import("@smithy/types").HttpRequest,
42
- import("@smithy/types").HttpResponse
43
- >;
44
48
  customUserAgent?: string | import("@smithy/types").UserAgent;
45
49
  userAgentAppId?:
46
50
  | string
@@ -26,8 +26,16 @@ export declare const getRuntimeConfig: (config: FreeTierClientConfig) => {
26
26
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
27
27
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
28
28
  userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
29
- apiVersion: string;
30
29
  cacheMiddleware?: boolean | undefined;
30
+ protocol:
31
+ | import("@smithy/types").ClientProtocol<any, any>
32
+ | import("@smithy/types").ClientProtocolCtor<any, any>
33
+ | typeof import("@aws-sdk/core").AwsJson1_0Protocol;
34
+ protocolSettings: {
35
+ defaultNamespace?: string;
36
+ [setting: string]: unknown;
37
+ };
38
+ apiVersion: string;
31
39
  urlParser: import("@smithy/types").UrlParser;
32
40
  base64Decoder: import("@smithy/types").Decoder;
33
41
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -38,10 +46,6 @@ export declare const getRuntimeConfig: (config: FreeTierClientConfig) => {
38
46
  profile?: string;
39
47
  logger: import("@smithy/types").Logger;
40
48
  extensions: import("./runtimeExtensions").RuntimeExtension[];
41
- protocol: import("@smithy/types").ClientProtocol<
42
- import("@smithy/types").HttpRequest,
43
- import("@smithy/types").HttpResponse
44
- >;
45
49
  customUserAgent?: string | import("@smithy/types").UserAgent;
46
50
  retryStrategy?:
47
51
  | import("@smithy/types").RetryStrategy
@@ -8,8 +8,16 @@ export declare const getRuntimeConfig: (config: FreeTierClientConfig) => {
8
8
  | Record<string, unknown>
9
9
  | import("@smithy/protocol-http").HttpHandler<any>
10
10
  | import("@smithy/fetch-http-handler").FetchHttpHandler;
11
- apiVersion: string;
12
11
  cacheMiddleware?: boolean;
12
+ protocol:
13
+ | import("@smithy/types").ClientProtocol<any, any>
14
+ | import("@smithy/types").ClientProtocolCtor<any, any>
15
+ | typeof import("@aws-sdk/core").AwsJson1_0Protocol;
16
+ protocolSettings: {
17
+ defaultNamespace?: string;
18
+ [setting: string]: unknown;
19
+ };
20
+ apiVersion: string;
13
21
  urlParser: import("@smithy/types").UrlParser;
14
22
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
15
23
  streamCollector: import("@smithy/types").StreamCollector;
@@ -36,10 +44,6 @@ export declare const getRuntimeConfig: (config: FreeTierClientConfig) => {
36
44
  retryMode: string | import("@smithy/types").Provider<string>;
37
45
  logger: import("@smithy/types").Logger;
38
46
  extensions: import("./runtimeExtensions").RuntimeExtension[];
39
- protocol: import("@smithy/types").ClientProtocol<
40
- import("@smithy/types").HttpRequest,
41
- import("@smithy/types").HttpResponse
42
- >;
43
47
  defaultsMode:
44
48
  | import("@smithy/smithy-client").DefaultsMode
45
49
  | import("@smithy/types").Provider<
@@ -1,3 +1,4 @@
1
+ import { AwsJson1_0Protocol } from "@aws-sdk/core/protocols";
1
2
  import { FreeTierClientConfig } from "./FreeTierClient";
2
3
  export declare const getRuntimeConfig: (config: FreeTierClientConfig) => {
3
4
  apiVersion: string;
@@ -14,10 +15,14 @@ export declare const getRuntimeConfig: (config: FreeTierClientConfig) => {
14
15
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").FreeTierHttpAuthSchemeProvider;
15
16
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
16
17
  logger: import("@smithy/types").Logger;
17
- protocol: import("@smithy/types").ClientProtocol<
18
- import("@smithy/types").HttpRequest,
19
- import("@smithy/types").HttpResponse
20
- >;
18
+ protocol:
19
+ | import("@smithy/types").ClientProtocol<any, any>
20
+ | import("@smithy/types").ClientProtocolCtor<any, any>
21
+ | typeof AwsJson1_0Protocol;
22
+ protocolSettings: {
23
+ [setting: string]: unknown;
24
+ defaultNamespace?: string;
25
+ };
21
26
  serviceId: string;
22
27
  urlParser: import("@smithy/types").UrlParser;
23
28
  utf8Decoder: import("@smithy/types").Decoder;
@@ -1,39 +1,32 @@
1
1
  import {
2
2
  StaticErrorSchema,
3
- StaticListSchema,
4
3
  StaticOperationSchema,
5
4
  StaticStructureSchema,
6
5
  } from "@smithy/types";
7
- export declare var AccessDeniedException: StaticErrorSchema;
8
- export declare var ActivitySummary: StaticStructureSchema;
9
- export declare var DimensionValues: StaticStructureSchema;
10
- export declare var Expression: StaticStructureSchema;
11
- export declare var FreeTierUsage: StaticStructureSchema;
12
- export declare var GetAccountActivityRequest: StaticStructureSchema;
13
- export declare var GetAccountActivityResponse: StaticStructureSchema;
14
- export declare var GetAccountPlanStateRequest: StaticStructureSchema;
15
- export declare var GetAccountPlanStateResponse: StaticStructureSchema;
16
- export declare var GetFreeTierUsageRequest: StaticStructureSchema;
17
- export declare var GetFreeTierUsageResponse: StaticStructureSchema;
18
- export declare var InternalServerException: StaticErrorSchema;
19
- export declare var ListAccountActivitiesRequest: StaticStructureSchema;
20
- export declare var ListAccountActivitiesResponse: StaticStructureSchema;
21
- export declare var MonetaryAmount: StaticStructureSchema;
22
- export declare var ResourceNotFoundException: StaticErrorSchema;
23
- export declare var ThrottlingException: StaticErrorSchema;
24
- export declare var UpgradeAccountPlanRequest: StaticStructureSchema;
25
- export declare var UpgradeAccountPlanResponse: StaticStructureSchema;
26
- export declare var ValidationException: StaticErrorSchema;
27
- export declare var FreeTierServiceException: StaticErrorSchema;
28
- export declare var Activities: StaticListSchema;
29
- export declare var Expressions: StaticListSchema;
30
- export declare var FilterActivityStatuses: number;
31
- export declare var FreeTierUsages: StaticListSchema;
32
- export declare var MatchOptions: number;
33
- export declare var Values: number;
34
- export declare var ActivityReward: StaticStructureSchema;
35
- export declare var GetAccountActivity: StaticOperationSchema;
36
- export declare var GetAccountPlanState: StaticOperationSchema;
37
- export declare var GetFreeTierUsage: StaticOperationSchema;
38
- export declare var ListAccountActivities: StaticOperationSchema;
39
- export declare var UpgradeAccountPlan: StaticOperationSchema;
6
+ export declare var AccessDeniedException$: StaticErrorSchema;
7
+ export declare var ActivitySummary$: StaticStructureSchema;
8
+ export declare var DimensionValues$: StaticStructureSchema;
9
+ export declare var Expression$: StaticStructureSchema;
10
+ export declare var FreeTierUsage$: StaticStructureSchema;
11
+ export declare var GetAccountActivityRequest$: StaticStructureSchema;
12
+ export declare var GetAccountActivityResponse$: StaticStructureSchema;
13
+ export declare var GetAccountPlanStateRequest$: StaticStructureSchema;
14
+ export declare var GetAccountPlanStateResponse$: StaticStructureSchema;
15
+ export declare var GetFreeTierUsageRequest$: StaticStructureSchema;
16
+ export declare var GetFreeTierUsageResponse$: StaticStructureSchema;
17
+ export declare var InternalServerException$: StaticErrorSchema;
18
+ export declare var ListAccountActivitiesRequest$: StaticStructureSchema;
19
+ export declare var ListAccountActivitiesResponse$: StaticStructureSchema;
20
+ export declare var MonetaryAmount$: StaticStructureSchema;
21
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
22
+ export declare var ThrottlingException$: StaticErrorSchema;
23
+ export declare var UpgradeAccountPlanRequest$: StaticStructureSchema;
24
+ export declare var UpgradeAccountPlanResponse$: StaticStructureSchema;
25
+ export declare var ValidationException$: StaticErrorSchema;
26
+ export declare var FreeTierServiceException$: StaticErrorSchema;
27
+ export declare var ActivityReward$: StaticStructureSchema;
28
+ export declare var GetAccountActivity$: StaticOperationSchema;
29
+ export declare var GetAccountPlanState$: StaticOperationSchema;
30
+ export declare var GetFreeTierUsage$: StaticOperationSchema;
31
+ export declare var ListAccountActivities$: StaticOperationSchema;
32
+ export declare var UpgradeAccountPlan$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-freetier",
3
3
  "description": "AWS SDK for JavaScript Freetier Client for Node.js, Browser and React Native",
4
- "version": "3.952.0",
4
+ "version": "3.953.0",
5
5
  "scripts": {
6
- "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
+ "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-freetier",
8
8
  "build:es": "tsc -p tsconfig.es.json",
9
9
  "build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
@@ -21,41 +21,41 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "3.947.0",
25
- "@aws-sdk/credential-provider-node": "3.952.0",
26
- "@aws-sdk/middleware-host-header": "3.936.0",
27
- "@aws-sdk/middleware-logger": "3.936.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.948.0",
29
- "@aws-sdk/middleware-user-agent": "3.947.0",
30
- "@aws-sdk/region-config-resolver": "3.936.0",
31
- "@aws-sdk/types": "3.936.0",
32
- "@aws-sdk/util-endpoints": "3.936.0",
33
- "@aws-sdk/util-user-agent-browser": "3.936.0",
34
- "@aws-sdk/util-user-agent-node": "3.947.0",
35
- "@smithy/config-resolver": "^4.4.3",
36
- "@smithy/core": "^3.18.7",
37
- "@smithy/fetch-http-handler": "^5.3.6",
38
- "@smithy/hash-node": "^4.2.5",
39
- "@smithy/invalid-dependency": "^4.2.5",
40
- "@smithy/middleware-content-length": "^4.2.5",
41
- "@smithy/middleware-endpoint": "^4.3.14",
42
- "@smithy/middleware-retry": "^4.4.14",
43
- "@smithy/middleware-serde": "^4.2.6",
44
- "@smithy/middleware-stack": "^4.2.5",
45
- "@smithy/node-config-provider": "^4.3.5",
46
- "@smithy/node-http-handler": "^4.4.5",
47
- "@smithy/protocol-http": "^5.3.5",
48
- "@smithy/smithy-client": "^4.9.10",
49
- "@smithy/types": "^4.9.0",
50
- "@smithy/url-parser": "^4.2.5",
24
+ "@aws-sdk/core": "3.953.0",
25
+ "@aws-sdk/credential-provider-node": "3.953.0",
26
+ "@aws-sdk/middleware-host-header": "3.953.0",
27
+ "@aws-sdk/middleware-logger": "3.953.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.953.0",
29
+ "@aws-sdk/middleware-user-agent": "3.953.0",
30
+ "@aws-sdk/region-config-resolver": "3.953.0",
31
+ "@aws-sdk/types": "3.953.0",
32
+ "@aws-sdk/util-endpoints": "3.953.0",
33
+ "@aws-sdk/util-user-agent-browser": "3.953.0",
34
+ "@aws-sdk/util-user-agent-node": "3.953.0",
35
+ "@smithy/config-resolver": "^4.4.4",
36
+ "@smithy/core": "^3.19.0",
37
+ "@smithy/fetch-http-handler": "^5.3.7",
38
+ "@smithy/hash-node": "^4.2.6",
39
+ "@smithy/invalid-dependency": "^4.2.6",
40
+ "@smithy/middleware-content-length": "^4.2.6",
41
+ "@smithy/middleware-endpoint": "^4.3.15",
42
+ "@smithy/middleware-retry": "^4.4.15",
43
+ "@smithy/middleware-serde": "^4.2.7",
44
+ "@smithy/middleware-stack": "^4.2.6",
45
+ "@smithy/node-config-provider": "^4.3.6",
46
+ "@smithy/node-http-handler": "^4.4.6",
47
+ "@smithy/protocol-http": "^5.3.6",
48
+ "@smithy/smithy-client": "^4.10.0",
49
+ "@smithy/types": "^4.10.0",
50
+ "@smithy/url-parser": "^4.2.6",
51
51
  "@smithy/util-base64": "^4.3.0",
52
52
  "@smithy/util-body-length-browser": "^4.2.0",
53
53
  "@smithy/util-body-length-node": "^4.2.1",
54
- "@smithy/util-defaults-mode-browser": "^4.3.13",
55
- "@smithy/util-defaults-mode-node": "^4.2.16",
56
- "@smithy/util-endpoints": "^3.2.5",
57
- "@smithy/util-middleware": "^4.2.5",
58
- "@smithy/util-retry": "^4.2.5",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.14",
55
+ "@smithy/util-defaults-mode-node": "^4.2.17",
56
+ "@smithy/util-endpoints": "^3.2.6",
57
+ "@smithy/util-middleware": "^4.2.6",
58
+ "@smithy/util-retry": "^4.2.6",
59
59
  "@smithy/util-utf8": "^4.2.0",
60
60
  "tslib": "^2.6.2"
61
61
  },