distilled-aws 0.0.13 → 0.0.16

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.
Files changed (59) hide show
  1. package/lib/client/api.d.ts.map +1 -1
  2. package/lib/client/api.js +14 -3
  3. package/lib/client/api.js.map +1 -1
  4. package/lib/client/response-parser.d.ts.map +1 -1
  5. package/lib/client/response-parser.js +14 -2
  6. package/lib/client/response-parser.js.map +1 -1
  7. package/lib/debug/error-recorder.d.ts +22 -0
  8. package/lib/debug/error-recorder.d.ts.map +1 -0
  9. package/lib/debug/error-recorder.js +106 -0
  10. package/lib/debug/error-recorder.js.map +1 -0
  11. package/lib/patch/spec-schema.d.ts +65 -0
  12. package/lib/patch/spec-schema.d.ts.map +1 -1
  13. package/lib/patch/spec-schema.js +31 -0
  14. package/lib/patch/spec-schema.js.map +1 -1
  15. package/lib/services/bedrock-agentcore-control.d.ts +3 -0
  16. package/lib/services/bedrock-agentcore-control.d.ts.map +1 -1
  17. package/lib/services/bedrock-agentcore-control.js +5 -1
  18. package/lib/services/bedrock-agentcore-control.js.map +1 -1
  19. package/lib/services/cloudfront.d.ts +83 -83
  20. package/lib/services/cloudfront.d.ts.map +1 -1
  21. package/lib/services/cloudfront.js +160 -157
  22. package/lib/services/cloudfront.js.map +1 -1
  23. package/lib/services/ec2.d.ts +1539 -924
  24. package/lib/services/ec2.d.ts.map +1 -1
  25. package/lib/services/ec2.js +1321 -623
  26. package/lib/services/ec2.js.map +1 -1
  27. package/lib/services/glue.d.ts +587 -478
  28. package/lib/services/glue.d.ts.map +1 -1
  29. package/lib/services/glue.js +1644 -1509
  30. package/lib/services/glue.js.map +1 -1
  31. package/lib/services/iam.d.ts +6 -1
  32. package/lib/services/iam.d.ts.map +1 -1
  33. package/lib/services/iam.js +3 -1
  34. package/lib/services/iam.js.map +1 -1
  35. package/lib/services/medialive.d.ts +33 -0
  36. package/lib/services/medialive.d.ts.map +1 -1
  37. package/lib/services/medialive.js +11 -0
  38. package/lib/services/medialive.js.map +1 -1
  39. package/lib/services/s3.d.ts +74 -59
  40. package/lib/services/s3.d.ts.map +1 -1
  41. package/lib/services/s3.js +76 -53
  42. package/lib/services/s3.js.map +1 -1
  43. package/lib/services/sqs.d.ts +1 -1
  44. package/lib/services/sqs.d.ts.map +1 -1
  45. package/lib/services/sqs.js +1 -0
  46. package/lib/services/sqs.js.map +1 -1
  47. package/package.json +6 -4
  48. package/src/client/api.ts +22 -2
  49. package/src/client/response-parser.ts +15 -2
  50. package/src/debug/error-recorder.ts +143 -0
  51. package/src/patch/spec-schema.ts +35 -0
  52. package/src/services/bedrock-agentcore-control.ts +7 -1
  53. package/src/services/cloudfront.ts +300 -294
  54. package/src/services/ec2.ts +2891 -1486
  55. package/src/services/glue.ts +3550 -3250
  56. package/src/services/iam.ts +9 -2
  57. package/src/services/medialive.ts +53 -0
  58. package/src/services/s3.ts +159 -108
  59. package/src/services/sqs.ts +2 -0
@@ -7209,6 +7209,10 @@ export class InvalidPublicKeyException extends S.TaggedError<InvalidPublicKeyExc
7209
7209
  { message: S.optional(S.String) },
7210
7210
  T.AwsQueryError({ code: "InvalidPublicKey", httpResponseCode: 400 }),
7211
7211
  ).pipe(C.withBadRequestError) {}
7212
+ export class InvalidInput extends S.TaggedError<InvalidInput>()(
7213
+ "InvalidInput",
7214
+ {},
7215
+ ) {}
7212
7216
  export class ServiceAccessNotEnabledException extends S.TaggedError<ServiceAccessNotEnabledException>()(
7213
7217
  "ServiceAccessNotEnabledException",
7214
7218
  { Message: S.optional(S.String) },
@@ -13218,12 +13222,15 @@ export const listServiceSpecificCredentials: (
13218
13222
  input: ListServiceSpecificCredentialsRequest,
13219
13223
  ) => effect.Effect<
13220
13224
  ListServiceSpecificCredentialsResponse,
13221
- NoSuchEntityException | ServiceNotSupportedException | CommonErrors,
13225
+ | NoSuchEntityException
13226
+ | ServiceNotSupportedException
13227
+ | InvalidInput
13228
+ | CommonErrors,
13222
13229
  Credentials | Region | HttpClient.HttpClient
13223
13230
  > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
13224
13231
  input: ListServiceSpecificCredentialsRequest,
13225
13232
  output: ListServiceSpecificCredentialsResponse,
13226
- errors: [NoSuchEntityException, ServiceNotSupportedException],
13233
+ errors: [NoSuchEntityException, ServiceNotSupportedException, InvalidInput],
13227
13234
  }));
13228
13235
  /**
13229
13236
  * Disables the management of privileged root user credentials across member accounts in
@@ -2467,12 +2467,20 @@ export interface MediaPackageOutputDestinationSettings {
2467
2467
  ChannelId?: string;
2468
2468
  ChannelGroup?: string;
2469
2469
  ChannelName?: string;
2470
+ ChannelEndpointId?: string;
2471
+ MediaPackageRegionName?: string;
2470
2472
  }
2471
2473
  export const MediaPackageOutputDestinationSettings = S.suspend(() =>
2472
2474
  S.Struct({
2473
2475
  ChannelId: S.optional(S.String).pipe(T.JsonName("channelId")),
2474
2476
  ChannelGroup: S.optional(S.String).pipe(T.JsonName("channelGroup")),
2475
2477
  ChannelName: S.optional(S.String).pipe(T.JsonName("channelName")),
2478
+ ChannelEndpointId: S.optional(S.String).pipe(
2479
+ T.JsonName("channelEndpointId"),
2480
+ ),
2481
+ MediaPackageRegionName: S.optional(S.String).pipe(
2482
+ T.JsonName("mediaPackageRegionName"),
2483
+ ),
2476
2484
  }),
2477
2485
  ).annotations({
2478
2486
  identifier: "MediaPackageOutputDestinationSettings",
@@ -6362,6 +6370,23 @@ export type CmafTimedMetadataPassthrough =
6362
6370
  | "ENABLED"
6363
6371
  | (string & {});
6364
6372
  export const CmafTimedMetadataPassthrough = S.String;
6373
+ export interface MediaPackageAdditionalDestinations {
6374
+ Destination?: OutputLocationRef;
6375
+ }
6376
+ export const MediaPackageAdditionalDestinations = S.suspend(() =>
6377
+ S.Struct({
6378
+ Destination: S.optional(OutputLocationRef)
6379
+ .pipe(T.JsonName("destination"))
6380
+ .annotations({ identifier: "OutputLocationRef" }),
6381
+ }),
6382
+ ).annotations({
6383
+ identifier: "MediaPackageAdditionalDestinations",
6384
+ }) as any as S.Schema<MediaPackageAdditionalDestinations>;
6385
+ export type __listOfMediaPackageAdditionalDestinations =
6386
+ MediaPackageAdditionalDestinations[];
6387
+ export const __listOfMediaPackageAdditionalDestinations = S.Array(
6388
+ MediaPackageAdditionalDestinations,
6389
+ );
6365
6390
  export interface MediaPackageV2GroupSettings {
6366
6391
  CaptionLanguageMappings?: CaptionLanguageMapping[];
6367
6392
  Id3Behavior?: CmafId3Behavior;
@@ -6373,6 +6398,7 @@ export interface MediaPackageV2GroupSettings {
6373
6398
  TimedMetadataId3Frame?: CmafTimedMetadataId3Frame;
6374
6399
  TimedMetadataId3Period?: number;
6375
6400
  TimedMetadataPassthrough?: CmafTimedMetadataPassthrough;
6401
+ AdditionalDestinations?: MediaPackageAdditionalDestinations[];
6376
6402
  }
6377
6403
  export const MediaPackageV2GroupSettings = S.suspend(() =>
6378
6404
  S.Struct({
@@ -6398,6 +6424,9 @@ export const MediaPackageV2GroupSettings = S.suspend(() =>
6398
6424
  TimedMetadataPassthrough: S.optional(CmafTimedMetadataPassthrough).pipe(
6399
6425
  T.JsonName("timedMetadataPassthrough"),
6400
6426
  ),
6427
+ AdditionalDestinations: S.optional(
6428
+ __listOfMediaPackageAdditionalDestinations,
6429
+ ).pipe(T.JsonName("additionalDestinations")),
6401
6430
  }),
6402
6431
  ).annotations({
6403
6432
  identifier: "MediaPackageV2GroupSettings",
@@ -9512,6 +9541,9 @@ export interface DescribeChannelResponse {
9512
9541
  LanguageCode: __stringMin3Max3;
9513
9542
  LanguageDescription: __stringMin1;
9514
9543
  })[];
9544
+ AdditionalDestinations: (MediaPackageAdditionalDestinations & {
9545
+ Destination: OutputLocationRef;
9546
+ })[];
9515
9547
  };
9516
9548
  };
9517
9549
  MsSmoothGroupSettings: MsSmoothGroupSettings & {
@@ -11489,6 +11521,9 @@ export interface RestartChannelPipelinesResponse {
11489
11521
  LanguageCode: __stringMin3Max3;
11490
11522
  LanguageDescription: __stringMin1;
11491
11523
  })[];
11524
+ AdditionalDestinations: (MediaPackageAdditionalDestinations & {
11525
+ Destination: OutputLocationRef;
11526
+ })[];
11492
11527
  };
11493
11528
  };
11494
11529
  MsSmoothGroupSettings: MsSmoothGroupSettings & {
@@ -11825,6 +11860,9 @@ export interface StartChannelResponse {
11825
11860
  LanguageCode: __stringMin3Max3;
11826
11861
  LanguageDescription: __stringMin1;
11827
11862
  })[];
11863
+ AdditionalDestinations: (MediaPackageAdditionalDestinations & {
11864
+ Destination: OutputLocationRef;
11865
+ })[];
11828
11866
  };
11829
11867
  };
11830
11868
  MsSmoothGroupSettings: MsSmoothGroupSettings & {
@@ -12475,6 +12513,9 @@ export interface StopChannelResponse {
12475
12513
  LanguageCode: __stringMin3Max3;
12476
12514
  LanguageDescription: __stringMin1;
12477
12515
  })[];
12516
+ AdditionalDestinations: (MediaPackageAdditionalDestinations & {
12517
+ Destination: OutputLocationRef;
12518
+ })[];
12478
12519
  };
12479
12520
  };
12480
12521
  MsSmoothGroupSettings: MsSmoothGroupSettings & {
@@ -15323,6 +15364,9 @@ export interface UpdateChannelResponse {
15323
15364
  LanguageCode: __stringMin3Max3;
15324
15365
  LanguageDescription: __stringMin1;
15325
15366
  })[];
15367
+ AdditionalDestinations: (MediaPackageAdditionalDestinations & {
15368
+ Destination: OutputLocationRef;
15369
+ })[];
15326
15370
  };
15327
15371
  };
15328
15372
  MsSmoothGroupSettings: MsSmoothGroupSettings & {
@@ -15598,6 +15642,9 @@ export interface UpdateChannelClassResponse {
15598
15642
  LanguageCode: __stringMin3Max3;
15599
15643
  LanguageDescription: __stringMin1;
15600
15644
  })[];
15645
+ AdditionalDestinations: (MediaPackageAdditionalDestinations & {
15646
+ Destination: OutputLocationRef;
15647
+ })[];
15601
15648
  };
15602
15649
  };
15603
15650
  MsSmoothGroupSettings: MsSmoothGroupSettings & {
@@ -16329,6 +16376,9 @@ export interface DeleteChannelResponse {
16329
16376
  LanguageCode: __stringMin3Max3;
16330
16377
  LanguageDescription: __stringMin1;
16331
16378
  })[];
16379
+ AdditionalDestinations: (MediaPackageAdditionalDestinations & {
16380
+ Destination: OutputLocationRef;
16381
+ })[];
16332
16382
  };
16333
16383
  };
16334
16384
  MsSmoothGroupSettings: MsSmoothGroupSettings & {
@@ -17327,6 +17377,9 @@ export interface CreateChannelResponse {
17327
17377
  LanguageCode: __stringMin3Max3;
17328
17378
  LanguageDescription: __stringMin1;
17329
17379
  })[];
17380
+ AdditionalDestinations: (MediaPackageAdditionalDestinations & {
17381
+ Destination: OutputLocationRef;
17382
+ })[];
17330
17383
  };
17331
17384
  };
17332
17385
  MsSmoothGroupSettings: MsSmoothGroupSettings & {