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
@@ -9795,8 +9795,8 @@ export class IllegalUpdate extends S.TaggedError<IllegalUpdate>()(
9795
9795
  "IllegalUpdate",
9796
9796
  { Message: S.optional(S.String) },
9797
9797
  ).pipe(C.withBadRequestError) {}
9798
- export class EntityNotFound extends S.TaggedError<EntityNotFound>()(
9799
- "EntityNotFound",
9798
+ export class EntityLimitExceeded extends S.TaggedError<EntityLimitExceeded>()(
9799
+ "EntityLimitExceeded",
9800
9800
  { Message: S.optional(S.String) },
9801
9801
  ).pipe(C.withBadRequestError) {}
9802
9802
  export class NoSuchResource extends S.TaggedError<NoSuchResource>()(
@@ -9807,6 +9807,10 @@ export class NoSuchFunctionExists extends S.TaggedError<NoSuchFunctionExists>()(
9807
9807
  "NoSuchFunctionExists",
9808
9808
  { Message: S.optional(S.String) },
9809
9809
  ).pipe(C.withBadRequestError) {}
9810
+ export class EntityNotFound extends S.TaggedError<EntityNotFound>()(
9811
+ "EntityNotFound",
9812
+ { Message: S.optional(S.String) },
9813
+ ).pipe(C.withBadRequestError) {}
9810
9814
  export class NoSuchCachePolicy extends S.TaggedError<NoSuchCachePolicy>()(
9811
9815
  "NoSuchCachePolicy",
9812
9816
  { Message: S.optional(S.String) },
@@ -9943,10 +9947,6 @@ export class TestFunctionFailed extends S.TaggedError<TestFunctionFailed>()(
9943
9947
  "TestFunctionFailed",
9944
9948
  { Message: S.optional(S.String) },
9945
9949
  ).pipe(C.withServerError) {}
9946
- export class EntityLimitExceeded extends S.TaggedError<EntityLimitExceeded>()(
9947
- "EntityLimitExceeded",
9948
- { Message: S.optional(S.String) },
9949
- ).pipe(C.withBadRequestError) {}
9950
9950
  export class FieldLevelEncryptionProfileSizeExceeded extends S.TaggedError<FieldLevelEncryptionProfileSizeExceeded>()(
9951
9951
  "FieldLevelEncryptionProfileSizeExceeded",
9952
9952
  { Message: S.optional(S.String) },
@@ -10002,6 +10002,10 @@ export class PublicKeyAlreadyExists extends S.TaggedError<PublicKeyAlreadyExists
10002
10002
  "PublicKeyAlreadyExists",
10003
10003
  { Message: S.optional(S.String) },
10004
10004
  ).pipe(C.withConflictError) {}
10005
+ export class InvalidAssociation extends S.TaggedError<InvalidAssociation>()(
10006
+ "InvalidAssociation",
10007
+ { Message: S.optional(S.String) },
10008
+ ).pipe(C.withConflictError) {}
10005
10009
  export class IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior extends S.TaggedError<IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior>()(
10006
10010
  "IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior",
10007
10011
  { Message: S.optional(S.String) },
@@ -10090,10 +10094,6 @@ export class RealtimeLogConfigInUse extends S.TaggedError<RealtimeLogConfigInUse
10090
10094
  "RealtimeLogConfigInUse",
10091
10095
  { Message: S.optional(S.String) },
10092
10096
  ).pipe(C.withBadRequestError) {}
10093
- export class InvalidAssociation extends S.TaggedError<InvalidAssociation>()(
10094
- "InvalidAssociation",
10095
- { Message: S.optional(S.String) },
10096
- ).pipe(C.withConflictError) {}
10097
10097
  export class InvalidDefaultRootObject extends S.TaggedError<InvalidDefaultRootObject>()(
10098
10098
  "InvalidDefaultRootObject",
10099
10099
  { Message: S.optional(S.String) },
@@ -10704,6 +10704,22 @@ export const verifyDnsConfiguration: (
10704
10704
  output: VerifyDnsConfigurationResult,
10705
10705
  errors: [AccessDenied, EntityNotFound, InvalidArgument],
10706
10706
  }));
10707
+ /**
10708
+ * Gets a key group configuration.
10709
+ *
10710
+ * To get a key group configuration, you must provide the key group's identifier. If the key group is referenced in a distribution's cache behavior, you can get the key group's identifier using `ListDistributions` or `GetDistribution`. If the key group is not referenced in a cache behavior, you can get the identifier using `ListKeyGroups`.
10711
+ */
10712
+ export const getKeyGroupConfig: (
10713
+ input: GetKeyGroupConfigRequest,
10714
+ ) => effect.Effect<
10715
+ GetKeyGroupConfigResult,
10716
+ NoSuchResource | CommonErrors,
10717
+ Credentials | Region | HttpClient.HttpClient
10718
+ > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
10719
+ input: GetKeyGroupConfigRequest,
10720
+ output: GetKeyGroupConfigResult,
10721
+ errors: [NoSuchResource],
10722
+ }));
10707
10723
  /**
10708
10724
  * Gets information about a connection group.
10709
10725
  */
@@ -10854,22 +10870,6 @@ export const listInvalidationsForDistributionTenant: {
10854
10870
  pageSize: "MaxItems",
10855
10871
  } as const,
10856
10872
  }));
10857
- /**
10858
- * Gets a key group configuration.
10859
- *
10860
- * To get a key group configuration, you must provide the key group's identifier. If the key group is referenced in a distribution's cache behavior, you can get the key group's identifier using `ListDistributions` or `GetDistribution`. If the key group is not referenced in a cache behavior, you can get the identifier using `ListKeyGroups`.
10861
- */
10862
- export const getKeyGroupConfig: (
10863
- input: GetKeyGroupConfigRequest,
10864
- ) => effect.Effect<
10865
- GetKeyGroupConfigResult,
10866
- NoSuchResource | CommonErrors,
10867
- Credentials | Region | HttpClient.HttpClient
10868
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
10869
- input: GetKeyGroupConfigRequest,
10870
- output: GetKeyGroupConfigResult,
10871
- errors: [NoSuchResource],
10872
- }));
10873
10873
  /**
10874
10874
  * Gets a cache policy, including the following metadata:
10875
10875
  *
@@ -11855,49 +11855,6 @@ export const updateOriginAccessControl: (
11855
11855
  PreconditionFailed,
11856
11856
  ],
11857
11857
  }));
11858
- /**
11859
- * Gets information about a specific invalidation for a distribution tenant.
11860
- */
11861
- export const getInvalidationForDistributionTenant: (
11862
- input: GetInvalidationForDistributionTenantRequest,
11863
- ) => effect.Effect<
11864
- GetInvalidationForDistributionTenantResult,
11865
- AccessDenied | EntityNotFound | NoSuchInvalidation | CommonErrors,
11866
- Credentials | Region | HttpClient.HttpClient
11867
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
11868
- input: GetInvalidationForDistributionTenantRequest,
11869
- output: GetInvalidationForDistributionTenantResult,
11870
- errors: [AccessDenied, EntityNotFound, NoSuchInvalidation],
11871
- }));
11872
- /**
11873
- * Updates a connection function.
11874
- */
11875
- export const updateConnectionFunction: (
11876
- input: UpdateConnectionFunctionRequest,
11877
- ) => effect.Effect<
11878
- UpdateConnectionFunctionResult,
11879
- | AccessDenied
11880
- | EntityNotFound
11881
- | EntitySizeLimitExceeded
11882
- | InvalidArgument
11883
- | InvalidIfMatchVersion
11884
- | PreconditionFailed
11885
- | UnsupportedOperation
11886
- | CommonErrors,
11887
- Credentials | Region | HttpClient.HttpClient
11888
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
11889
- input: UpdateConnectionFunctionRequest,
11890
- output: UpdateConnectionFunctionResult,
11891
- errors: [
11892
- AccessDenied,
11893
- EntityNotFound,
11894
- EntitySizeLimitExceeded,
11895
- InvalidArgument,
11896
- InvalidIfMatchVersion,
11897
- PreconditionFailed,
11898
- UnsupportedOperation,
11899
- ],
11900
- }));
11901
11858
  /**
11902
11859
  * Tests a connection function.
11903
11860
  */
@@ -11985,6 +11942,43 @@ export const updatePublicKey: (
11985
11942
  PreconditionFailed,
11986
11943
  ],
11987
11944
  }));
11945
+ /**
11946
+ * Update an Amazon CloudFront VPC origin in your account.
11947
+ */
11948
+ export const updateVpcOrigin: (
11949
+ input: UpdateVpcOriginRequest,
11950
+ ) => effect.Effect<
11951
+ UpdateVpcOriginResult,
11952
+ | AccessDenied
11953
+ | CannotUpdateEntityWhileInUse
11954
+ | EntityAlreadyExists
11955
+ | EntityLimitExceeded
11956
+ | EntityNotFound
11957
+ | IllegalUpdate
11958
+ | InconsistentQuantities
11959
+ | InvalidArgument
11960
+ | InvalidIfMatchVersion
11961
+ | PreconditionFailed
11962
+ | UnsupportedOperation
11963
+ | CommonErrors,
11964
+ Credentials | Region | HttpClient.HttpClient
11965
+ > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
11966
+ input: UpdateVpcOriginRequest,
11967
+ output: UpdateVpcOriginResult,
11968
+ errors: [
11969
+ AccessDenied,
11970
+ CannotUpdateEntityWhileInUse,
11971
+ EntityAlreadyExists,
11972
+ EntityLimitExceeded,
11973
+ EntityNotFound,
11974
+ IllegalUpdate,
11975
+ InconsistentQuantities,
11976
+ InvalidArgument,
11977
+ InvalidIfMatchVersion,
11978
+ PreconditionFailed,
11979
+ UnsupportedOperation,
11980
+ ],
11981
+ }));
11988
11982
  /**
11989
11983
  * Delete an origin access identity.
11990
11984
  */
@@ -12097,6 +12091,7 @@ export const associateDistributionWebACL: (
12097
12091
  ) => effect.Effect<
12098
12092
  AssociateDistributionWebACLResult,
12099
12093
  | AccessDenied
12094
+ | EntityLimitExceeded
12100
12095
  | EntityNotFound
12101
12096
  | InvalidArgument
12102
12097
  | InvalidIfMatchVersion
@@ -12108,6 +12103,7 @@ export const associateDistributionWebACL: (
12108
12103
  output: AssociateDistributionWebACLResult,
12109
12104
  errors: [
12110
12105
  AccessDenied,
12106
+ EntityLimitExceeded,
12111
12107
  EntityNotFound,
12112
12108
  InvalidArgument,
12113
12109
  InvalidIfMatchVersion,
@@ -12115,28 +12111,32 @@ export const associateDistributionWebACL: (
12115
12111
  ],
12116
12112
  }));
12117
12113
  /**
12118
- * Disassociates a distribution tenant from the WAF web ACL.
12114
+ * Deletes a CloudFront function.
12115
+ *
12116
+ * You cannot delete a function if it's associated with a cache behavior. First, update your distributions to remove the function association from all cache behaviors, then delete the function.
12117
+ *
12118
+ * To delete a function, you must provide the function's name and version (`ETag` value). To get these values, you can use `ListFunctions` and `DescribeFunction`.
12119
12119
  */
12120
- export const disassociateDistributionTenantWebACL: (
12121
- input: DisassociateDistributionTenantWebACLRequest,
12120
+ export const deleteFunction: (
12121
+ input: DeleteFunctionRequest,
12122
12122
  ) => effect.Effect<
12123
- DisassociateDistributionTenantWebACLResult,
12124
- | AccessDenied
12125
- | EntityNotFound
12126
- | InvalidArgument
12123
+ DeleteFunctionResponse,
12124
+ | FunctionInUse
12127
12125
  | InvalidIfMatchVersion
12126
+ | NoSuchFunctionExists
12128
12127
  | PreconditionFailed
12128
+ | UnsupportedOperation
12129
12129
  | CommonErrors,
12130
12130
  Credentials | Region | HttpClient.HttpClient
12131
12131
  > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
12132
- input: DisassociateDistributionTenantWebACLRequest,
12133
- output: DisassociateDistributionTenantWebACLResult,
12132
+ input: DeleteFunctionRequest,
12133
+ output: DeleteFunctionResponse,
12134
12134
  errors: [
12135
- AccessDenied,
12136
- EntityNotFound,
12137
- InvalidArgument,
12135
+ FunctionInUse,
12138
12136
  InvalidIfMatchVersion,
12137
+ NoSuchFunctionExists,
12139
12138
  PreconditionFailed,
12139
+ UnsupportedOperation,
12140
12140
  ],
12141
12141
  }));
12142
12142
  /**
@@ -12358,32 +12358,30 @@ export const deleteResourcePolicy: (
12358
12358
  ],
12359
12359
  }));
12360
12360
  /**
12361
- * Deletes a CloudFront function.
12362
- *
12363
- * You cannot delete a function if it's associated with a cache behavior. First, update your distributions to remove the function association from all cache behaviors, then delete the function.
12364
- *
12365
- * To delete a function, you must provide the function's name and version (`ETag` value). To get these values, you can use `ListFunctions` and `DescribeFunction`.
12361
+ * Associates the WAF web ACL with a distribution tenant.
12366
12362
  */
12367
- export const deleteFunction: (
12368
- input: DeleteFunctionRequest,
12363
+ export const associateDistributionTenantWebACL: (
12364
+ input: AssociateDistributionTenantWebACLRequest,
12369
12365
  ) => effect.Effect<
12370
- DeleteFunctionResponse,
12371
- | FunctionInUse
12366
+ AssociateDistributionTenantWebACLResult,
12367
+ | AccessDenied
12368
+ | EntityLimitExceeded
12369
+ | EntityNotFound
12370
+ | InvalidArgument
12372
12371
  | InvalidIfMatchVersion
12373
- | NoSuchFunctionExists
12374
12372
  | PreconditionFailed
12375
- | UnsupportedOperation
12376
12373
  | CommonErrors,
12377
12374
  Credentials | Region | HttpClient.HttpClient
12378
12375
  > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
12379
- input: DeleteFunctionRequest,
12380
- output: DeleteFunctionResponse,
12376
+ input: AssociateDistributionTenantWebACLRequest,
12377
+ output: AssociateDistributionTenantWebACLResult,
12381
12378
  errors: [
12382
- FunctionInUse,
12379
+ AccessDenied,
12380
+ EntityLimitExceeded,
12381
+ EntityNotFound,
12382
+ InvalidArgument,
12383
12383
  InvalidIfMatchVersion,
12384
- NoSuchFunctionExists,
12385
12384
  PreconditionFailed,
12386
- UnsupportedOperation,
12387
12385
  ],
12388
12386
  }));
12389
12387
  /**
@@ -12416,12 +12414,12 @@ export const publishFunction: (
12416
12414
  ],
12417
12415
  }));
12418
12416
  /**
12419
- * Associates the WAF web ACL with a distribution tenant.
12417
+ * Disassociates a distribution tenant from the WAF web ACL.
12420
12418
  */
12421
- export const associateDistributionTenantWebACL: (
12422
- input: AssociateDistributionTenantWebACLRequest,
12419
+ export const disassociateDistributionTenantWebACL: (
12420
+ input: DisassociateDistributionTenantWebACLRequest,
12423
12421
  ) => effect.Effect<
12424
- AssociateDistributionTenantWebACLResult,
12422
+ DisassociateDistributionTenantWebACLResult,
12425
12423
  | AccessDenied
12426
12424
  | EntityNotFound
12427
12425
  | InvalidArgument
@@ -12430,8 +12428,8 @@ export const associateDistributionTenantWebACL: (
12430
12428
  | CommonErrors,
12431
12429
  Credentials | Region | HttpClient.HttpClient
12432
12430
  > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
12433
- input: AssociateDistributionTenantWebACLRequest,
12434
- output: AssociateDistributionTenantWebACLResult,
12431
+ input: DisassociateDistributionTenantWebACLRequest,
12432
+ output: DisassociateDistributionTenantWebACLResult,
12435
12433
  errors: [
12436
12434
  AccessDenied,
12437
12435
  EntityNotFound,
@@ -12706,6 +12704,22 @@ export const listKeyValueStores: {
12706
12704
  pageSize: "MaxItems",
12707
12705
  } as const,
12708
12706
  }));
12707
+ /**
12708
+ * Gets the code of a CloudFront function. To get configuration information and metadata about a function, use `DescribeFunction`.
12709
+ *
12710
+ * To get a function's code, you must provide the function's name and stage. To get these values, you can use `ListFunctions`.
12711
+ */
12712
+ export const getFunction: (
12713
+ input: GetFunctionRequest,
12714
+ ) => effect.Effect<
12715
+ GetFunctionResult,
12716
+ NoSuchFunctionExists | UnsupportedOperation | CommonErrors,
12717
+ Credentials | Region | HttpClient.HttpClient
12718
+ > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
12719
+ input: GetFunctionRequest,
12720
+ output: GetFunctionResult,
12721
+ errors: [NoSuchFunctionExists, UnsupportedOperation],
12722
+ }));
12709
12723
  /**
12710
12724
  * Gets a connection function.
12711
12725
  */
@@ -12792,22 +12806,6 @@ export const listDistributionsByVpcOriginId: (
12792
12806
  output: ListDistributionsByVpcOriginIdResult,
12793
12807
  errors: [AccessDenied, EntityNotFound, InvalidArgument, UnsupportedOperation],
12794
12808
  }));
12795
- /**
12796
- * Gets the code of a CloudFront function. To get configuration information and metadata about a function, use `DescribeFunction`.
12797
- *
12798
- * To get a function's code, you must provide the function's name and stage. To get these values, you can use `ListFunctions`.
12799
- */
12800
- export const getFunction: (
12801
- input: GetFunctionRequest,
12802
- ) => effect.Effect<
12803
- GetFunctionResult,
12804
- NoSuchFunctionExists | UnsupportedOperation | CommonErrors,
12805
- Credentials | Region | HttpClient.HttpClient
12806
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
12807
- input: GetFunctionRequest,
12808
- output: GetFunctionResult,
12809
- errors: [NoSuchFunctionExists, UnsupportedOperation],
12810
- }));
12811
12809
  /**
12812
12810
  * Describes a connection function.
12813
12811
  */
@@ -12845,25 +12843,68 @@ export const describeKeyValueStore: (
12845
12843
  errors: [AccessDenied, EntityNotFound, InvalidArgument, UnsupportedOperation],
12846
12844
  }));
12847
12845
  /**
12848
- * Gets information about whether additional CloudWatch metrics are enabled for the specified CloudFront distribution.
12846
+ * Gets information about a specific invalidation for a distribution tenant.
12849
12847
  */
12850
- export const getMonitoringSubscription: (
12851
- input: GetMonitoringSubscriptionRequest,
12848
+ export const getInvalidationForDistributionTenant: (
12849
+ input: GetInvalidationForDistributionTenantRequest,
12852
12850
  ) => effect.Effect<
12853
- GetMonitoringSubscriptionResult,
12854
- | AccessDenied
12855
- | NoSuchDistribution
12856
- | NoSuchMonitoringSubscription
12857
- | UnsupportedOperation
12858
- | CommonErrors,
12851
+ GetInvalidationForDistributionTenantResult,
12852
+ AccessDenied | EntityNotFound | NoSuchInvalidation | CommonErrors,
12859
12853
  Credentials | Region | HttpClient.HttpClient
12860
12854
  > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
12861
- input: GetMonitoringSubscriptionRequest,
12862
- output: GetMonitoringSubscriptionResult,
12863
- errors: [
12864
- AccessDenied,
12865
- NoSuchDistribution,
12866
- NoSuchMonitoringSubscription,
12855
+ input: GetInvalidationForDistributionTenantRequest,
12856
+ output: GetInvalidationForDistributionTenantResult,
12857
+ errors: [AccessDenied, EntityNotFound, NoSuchInvalidation],
12858
+ }));
12859
+ /**
12860
+ * Updates a connection function.
12861
+ */
12862
+ export const updateConnectionFunction: (
12863
+ input: UpdateConnectionFunctionRequest,
12864
+ ) => effect.Effect<
12865
+ UpdateConnectionFunctionResult,
12866
+ | AccessDenied
12867
+ | EntityNotFound
12868
+ | EntitySizeLimitExceeded
12869
+ | InvalidArgument
12870
+ | InvalidIfMatchVersion
12871
+ | PreconditionFailed
12872
+ | UnsupportedOperation
12873
+ | CommonErrors,
12874
+ Credentials | Region | HttpClient.HttpClient
12875
+ > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
12876
+ input: UpdateConnectionFunctionRequest,
12877
+ output: UpdateConnectionFunctionResult,
12878
+ errors: [
12879
+ AccessDenied,
12880
+ EntityNotFound,
12881
+ EntitySizeLimitExceeded,
12882
+ InvalidArgument,
12883
+ InvalidIfMatchVersion,
12884
+ PreconditionFailed,
12885
+ UnsupportedOperation,
12886
+ ],
12887
+ }));
12888
+ /**
12889
+ * Gets information about whether additional CloudWatch metrics are enabled for the specified CloudFront distribution.
12890
+ */
12891
+ export const getMonitoringSubscription: (
12892
+ input: GetMonitoringSubscriptionRequest,
12893
+ ) => effect.Effect<
12894
+ GetMonitoringSubscriptionResult,
12895
+ | AccessDenied
12896
+ | NoSuchDistribution
12897
+ | NoSuchMonitoringSubscription
12898
+ | UnsupportedOperation
12899
+ | CommonErrors,
12900
+ Credentials | Region | HttpClient.HttpClient
12901
+ > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
12902
+ input: GetMonitoringSubscriptionRequest,
12903
+ output: GetMonitoringSubscriptionResult,
12904
+ errors: [
12905
+ AccessDenied,
12906
+ NoSuchDistribution,
12907
+ NoSuchMonitoringSubscription,
12867
12908
  UnsupportedOperation,
12868
12909
  ],
12869
12910
  }));
@@ -13000,94 +13041,163 @@ export const getRealtimeLogConfig: (
13000
13041
  errors: [AccessDenied, InvalidArgument, NoSuchRealtimeLogConfig],
13001
13042
  }));
13002
13043
  /**
13003
- * Update an Amazon CloudFront VPC origin in your account.
13044
+ * Updates a distribution tenant.
13004
13045
  */
13005
- export const updateVpcOrigin: (
13006
- input: UpdateVpcOriginRequest,
13046
+ export const updateDistributionTenant: (
13047
+ input: UpdateDistributionTenantRequest,
13007
13048
  ) => effect.Effect<
13008
- UpdateVpcOriginResult,
13049
+ UpdateDistributionTenantResult,
13009
13050
  | AccessDenied
13010
- | CannotUpdateEntityWhileInUse
13051
+ | CNAMEAlreadyExists
13011
13052
  | EntityAlreadyExists
13012
13053
  | EntityLimitExceeded
13013
13054
  | EntityNotFound
13014
- | IllegalUpdate
13015
- | InconsistentQuantities
13016
13055
  | InvalidArgument
13056
+ | InvalidAssociation
13017
13057
  | InvalidIfMatchVersion
13018
13058
  | PreconditionFailed
13019
- | UnsupportedOperation
13020
13059
  | CommonErrors,
13021
13060
  Credentials | Region | HttpClient.HttpClient
13022
13061
  > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
13023
- input: UpdateVpcOriginRequest,
13024
- output: UpdateVpcOriginResult,
13062
+ input: UpdateDistributionTenantRequest,
13063
+ output: UpdateDistributionTenantResult,
13025
13064
  errors: [
13026
13065
  AccessDenied,
13027
- CannotUpdateEntityWhileInUse,
13066
+ CNAMEAlreadyExists,
13028
13067
  EntityAlreadyExists,
13029
13068
  EntityLimitExceeded,
13030
13069
  EntityNotFound,
13031
- IllegalUpdate,
13032
- InconsistentQuantities,
13033
13070
  InvalidArgument,
13071
+ InvalidAssociation,
13034
13072
  InvalidIfMatchVersion,
13035
13073
  PreconditionFailed,
13036
- UnsupportedOperation,
13037
13074
  ],
13038
13075
  }));
13039
13076
  /**
13040
- * Creates a connection group.
13077
+ * Get the information about an invalidation.
13041
13078
  */
13042
- export const createConnectionGroup: (
13043
- input: CreateConnectionGroupRequest,
13079
+ export const getInvalidation: (
13080
+ input: GetInvalidationRequest,
13044
13081
  ) => effect.Effect<
13045
- CreateConnectionGroupResult,
13082
+ GetInvalidationResult,
13083
+ AccessDenied | NoSuchDistribution | NoSuchInvalidation | CommonErrors,
13084
+ Credentials | Region | HttpClient.HttpClient
13085
+ > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
13086
+ input: GetInvalidationRequest,
13087
+ output: GetInvalidationResult,
13088
+ errors: [AccessDenied, NoSuchDistribution, NoSuchInvalidation],
13089
+ }));
13090
+ /**
13091
+ * Specifies the key value store resource to add to your account. In your account, the key value store names must be unique. You can also import key value store data in JSON format from an S3 bucket by providing a valid `ImportSource` that you own.
13092
+ */
13093
+ export const createKeyValueStore: (
13094
+ input: CreateKeyValueStoreRequest,
13095
+ ) => effect.Effect<
13096
+ CreateKeyValueStoreResult,
13046
13097
  | AccessDenied
13047
13098
  | EntityAlreadyExists
13048
13099
  | EntityLimitExceeded
13049
- | EntityNotFound
13100
+ | EntitySizeLimitExceeded
13050
13101
  | InvalidArgument
13051
- | InvalidTagging
13102
+ | UnsupportedOperation
13052
13103
  | CommonErrors,
13053
13104
  Credentials | Region | HttpClient.HttpClient
13054
13105
  > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
13055
- input: CreateConnectionGroupRequest,
13056
- output: CreateConnectionGroupResult,
13106
+ input: CreateKeyValueStoreRequest,
13107
+ output: CreateKeyValueStoreResult,
13057
13108
  errors: [
13058
13109
  AccessDenied,
13059
13110
  EntityAlreadyExists,
13060
13111
  EntityLimitExceeded,
13061
- EntityNotFound,
13112
+ EntitySizeLimitExceeded,
13062
13113
  InvalidArgument,
13063
- InvalidTagging,
13114
+ UnsupportedOperation,
13064
13115
  ],
13065
13116
  }));
13066
13117
  /**
13067
- * Specifies the key value store resource to add to your account. In your account, the key value store names must be unique. You can also import key value store data in JSON format from an S3 bucket by providing a valid `ImportSource` that you own.
13118
+ * Disables additional CloudWatch metrics for the specified CloudFront distribution.
13068
13119
  */
13069
- export const createKeyValueStore: (
13070
- input: CreateKeyValueStoreRequest,
13120
+ export const deleteMonitoringSubscription: (
13121
+ input: DeleteMonitoringSubscriptionRequest,
13071
13122
  ) => effect.Effect<
13072
- CreateKeyValueStoreResult,
13123
+ DeleteMonitoringSubscriptionResult,
13124
+ | AccessDenied
13125
+ | NoSuchDistribution
13126
+ | NoSuchMonitoringSubscription
13127
+ | UnsupportedOperation
13128
+ | CommonErrors,
13129
+ Credentials | Region | HttpClient.HttpClient
13130
+ > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
13131
+ input: DeleteMonitoringSubscriptionRequest,
13132
+ output: DeleteMonitoringSubscriptionResult,
13133
+ errors: [
13134
+ AccessDenied,
13135
+ NoSuchDistribution,
13136
+ NoSuchMonitoringSubscription,
13137
+ UnsupportedOperation,
13138
+ ],
13139
+ }));
13140
+ /**
13141
+ * Remove tags from a CloudFront resource. For more information, see Tagging a distribution in the *Amazon CloudFront Developer Guide*.
13142
+ */
13143
+ export const untagResource: (
13144
+ input: UntagResourceRequest,
13145
+ ) => effect.Effect<
13146
+ UntagResourceResponse,
13147
+ | AccessDenied
13148
+ | InvalidArgument
13149
+ | InvalidTagging
13150
+ | NoSuchResource
13151
+ | CommonErrors,
13152
+ Credentials | Region | HttpClient.HttpClient
13153
+ > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
13154
+ input: UntagResourceRequest,
13155
+ output: UntagResourceResponse,
13156
+ errors: [AccessDenied, InvalidArgument, InvalidTagging, NoSuchResource],
13157
+ }));
13158
+ /**
13159
+ * Add tags to a CloudFront resource. For more information, see Tagging a distribution in the *Amazon CloudFront Developer Guide*.
13160
+ */
13161
+ export const tagResource: (
13162
+ input: TagResourceRequest,
13163
+ ) => effect.Effect<
13164
+ TagResourceResponse,
13165
+ | AccessDenied
13166
+ | InvalidArgument
13167
+ | InvalidTagging
13168
+ | NoSuchResource
13169
+ | CommonErrors,
13170
+ Credentials | Region | HttpClient.HttpClient
13171
+ > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
13172
+ input: TagResourceRequest,
13173
+ output: TagResourceResponse,
13174
+ errors: [AccessDenied, InvalidArgument, InvalidTagging, NoSuchResource],
13175
+ }));
13176
+ /**
13177
+ * Creates a connection group.
13178
+ */
13179
+ export const createConnectionGroup: (
13180
+ input: CreateConnectionGroupRequest,
13181
+ ) => effect.Effect<
13182
+ CreateConnectionGroupResult,
13073
13183
  | AccessDenied
13074
13184
  | EntityAlreadyExists
13075
13185
  | EntityLimitExceeded
13076
- | EntitySizeLimitExceeded
13186
+ | EntityNotFound
13077
13187
  | InvalidArgument
13078
- | UnsupportedOperation
13188
+ | InvalidTagging
13079
13189
  | CommonErrors,
13080
13190
  Credentials | Region | HttpClient.HttpClient
13081
13191
  > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
13082
- input: CreateKeyValueStoreRequest,
13083
- output: CreateKeyValueStoreResult,
13192
+ input: CreateConnectionGroupRequest,
13193
+ output: CreateConnectionGroupResult,
13084
13194
  errors: [
13085
13195
  AccessDenied,
13086
13196
  EntityAlreadyExists,
13087
13197
  EntityLimitExceeded,
13088
- EntitySizeLimitExceeded,
13198
+ EntityNotFound,
13089
13199
  InvalidArgument,
13090
- UnsupportedOperation,
13200
+ InvalidTagging,
13091
13201
  ],
13092
13202
  }));
13093
13203
  /**
@@ -13174,78 +13284,36 @@ export const createVpcOrigin: (
13174
13284
  ],
13175
13285
  }));
13176
13286
  /**
13177
- * Get the information about an invalidation.
13178
- */
13179
- export const getInvalidation: (
13180
- input: GetInvalidationRequest,
13181
- ) => effect.Effect<
13182
- GetInvalidationResult,
13183
- AccessDenied | NoSuchDistribution | NoSuchInvalidation | CommonErrors,
13184
- Credentials | Region | HttpClient.HttpClient
13185
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
13186
- input: GetInvalidationRequest,
13187
- output: GetInvalidationResult,
13188
- errors: [AccessDenied, NoSuchDistribution, NoSuchInvalidation],
13189
- }));
13190
- /**
13191
- * Disables additional CloudWatch metrics for the specified CloudFront distribution.
13287
+ * Creates a distribution tenant.
13192
13288
  */
13193
- export const deleteMonitoringSubscription: (
13194
- input: DeleteMonitoringSubscriptionRequest,
13289
+ export const createDistributionTenant: (
13290
+ input: CreateDistributionTenantRequest,
13195
13291
  ) => effect.Effect<
13196
- DeleteMonitoringSubscriptionResult,
13292
+ CreateDistributionTenantResult,
13197
13293
  | AccessDenied
13198
- | NoSuchDistribution
13199
- | NoSuchMonitoringSubscription
13200
- | UnsupportedOperation
13294
+ | CNAMEAlreadyExists
13295
+ | EntityAlreadyExists
13296
+ | EntityLimitExceeded
13297
+ | EntityNotFound
13298
+ | InvalidArgument
13299
+ | InvalidAssociation
13300
+ | InvalidTagging
13201
13301
  | CommonErrors,
13202
13302
  Credentials | Region | HttpClient.HttpClient
13203
13303
  > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
13204
- input: DeleteMonitoringSubscriptionRequest,
13205
- output: DeleteMonitoringSubscriptionResult,
13304
+ input: CreateDistributionTenantRequest,
13305
+ output: CreateDistributionTenantResult,
13206
13306
  errors: [
13207
13307
  AccessDenied,
13208
- NoSuchDistribution,
13209
- NoSuchMonitoringSubscription,
13210
- UnsupportedOperation,
13308
+ CNAMEAlreadyExists,
13309
+ EntityAlreadyExists,
13310
+ EntityLimitExceeded,
13311
+ EntityNotFound,
13312
+ InvalidArgument,
13313
+ InvalidAssociation,
13314
+ InvalidTagging,
13211
13315
  ],
13212
13316
  }));
13213
- /**
13214
- * Remove tags from a CloudFront resource. For more information, see Tagging a distribution in the *Amazon CloudFront Developer Guide*.
13215
- */
13216
- export const untagResource: (
13217
- input: UntagResourceRequest,
13218
- ) => effect.Effect<
13219
- UntagResourceResponse,
13220
- | AccessDenied
13221
- | InvalidArgument
13222
- | InvalidTagging
13223
- | NoSuchResource
13224
- | CommonErrors,
13225
- Credentials | Region | HttpClient.HttpClient
13226
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
13227
- input: UntagResourceRequest,
13228
- output: UntagResourceResponse,
13229
- errors: [AccessDenied, InvalidArgument, InvalidTagging, NoSuchResource],
13230
- }));
13231
- /**
13232
- * Add tags to a CloudFront resource. For more information, see Tagging a distribution in the *Amazon CloudFront Developer Guide*.
13233
- */
13234
- export const tagResource: (
13235
- input: TagResourceRequest,
13236
- ) => effect.Effect<
13237
- TagResourceResponse,
13238
- | AccessDenied
13239
- | InvalidArgument
13240
- | InvalidTagging
13241
- | NoSuchResource
13242
- | CommonErrors,
13243
- Credentials | Region | HttpClient.HttpClient
13244
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
13245
- input: TagResourceRequest,
13246
- output: TagResourceResponse,
13247
- errors: [AccessDenied, InvalidArgument, InvalidTagging, NoSuchResource],
13248
- }));
13249
13317
  /**
13250
13318
  * Creates a connection function.
13251
13319
  */
@@ -13657,39 +13725,6 @@ export const deleteRealtimeLogConfig: (
13657
13725
  RealtimeLogConfigInUse,
13658
13726
  ],
13659
13727
  }));
13660
- /**
13661
- * Updates a distribution tenant.
13662
- */
13663
- export const updateDistributionTenant: (
13664
- input: UpdateDistributionTenantRequest,
13665
- ) => effect.Effect<
13666
- UpdateDistributionTenantResult,
13667
- | AccessDenied
13668
- | CNAMEAlreadyExists
13669
- | EntityAlreadyExists
13670
- | EntityLimitExceeded
13671
- | EntityNotFound
13672
- | InvalidArgument
13673
- | InvalidAssociation
13674
- | InvalidIfMatchVersion
13675
- | PreconditionFailed
13676
- | CommonErrors,
13677
- Credentials | Region | HttpClient.HttpClient
13678
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
13679
- input: UpdateDistributionTenantRequest,
13680
- output: UpdateDistributionTenantResult,
13681
- errors: [
13682
- AccessDenied,
13683
- CNAMEAlreadyExists,
13684
- EntityAlreadyExists,
13685
- EntityLimitExceeded,
13686
- EntityNotFound,
13687
- InvalidArgument,
13688
- InvalidAssociation,
13689
- InvalidIfMatchVersion,
13690
- PreconditionFailed,
13691
- ],
13692
- }));
13693
13728
  /**
13694
13729
  * Creates a new origin access identity. If you're using Amazon S3 for your origin, you can use an origin access identity to require users to access your content using a CloudFront URL instead of the Amazon S3 URL. For more information about how to use origin access identities, see Serving Private Content through CloudFront in the *Amazon CloudFront Developer Guide*.
13695
13730
  */
@@ -13821,37 +13856,6 @@ export const createKeyGroup: (
13821
13856
  TooManyPublicKeysInKeyGroup,
13822
13857
  ],
13823
13858
  }));
13824
- /**
13825
- * Creates a distribution tenant.
13826
- */
13827
- export const createDistributionTenant: (
13828
- input: CreateDistributionTenantRequest,
13829
- ) => effect.Effect<
13830
- CreateDistributionTenantResult,
13831
- | AccessDenied
13832
- | CNAMEAlreadyExists
13833
- | EntityAlreadyExists
13834
- | EntityLimitExceeded
13835
- | EntityNotFound
13836
- | InvalidArgument
13837
- | InvalidAssociation
13838
- | InvalidTagging
13839
- | CommonErrors,
13840
- Credentials | Region | HttpClient.HttpClient
13841
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
13842
- input: CreateDistributionTenantRequest,
13843
- output: CreateDistributionTenantResult,
13844
- errors: [
13845
- AccessDenied,
13846
- CNAMEAlreadyExists,
13847
- EntityAlreadyExists,
13848
- EntityLimitExceeded,
13849
- EntityNotFound,
13850
- InvalidArgument,
13851
- InvalidAssociation,
13852
- InvalidTagging,
13853
- ],
13854
- }));
13855
13859
  /**
13856
13860
  * Creates a CloudFront function.
13857
13861
  *
@@ -14483,6 +14487,7 @@ export const updateDistributionWithStagingConfig: (
14483
14487
  UpdateDistributionWithStagingConfigResult,
14484
14488
  | AccessDenied
14485
14489
  | CNAMEAlreadyExists
14490
+ | EntityLimitExceeded
14486
14491
  | EntityNotFound
14487
14492
  | IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior
14488
14493
  | IllegalUpdate
@@ -14551,6 +14556,7 @@ export const updateDistributionWithStagingConfig: (
14551
14556
  errors: [
14552
14557
  AccessDenied,
14553
14558
  CNAMEAlreadyExists,
14559
+ EntityLimitExceeded,
14554
14560
  EntityNotFound,
14555
14561
  IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior,
14556
14562
  IllegalUpdate,