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
@@ -3933,12 +3933,14 @@ export class InvalidIfMatchVersion extends S.TaggedError()("InvalidIfMatchVersio
3933
3933
  }
3934
3934
  export class IllegalUpdate extends S.TaggedError()("IllegalUpdate", { Message: S.optional(S.String) }).pipe(C.withBadRequestError) {
3935
3935
  }
3936
- export class EntityNotFound extends S.TaggedError()("EntityNotFound", { Message: S.optional(S.String) }).pipe(C.withBadRequestError) {
3936
+ export class EntityLimitExceeded extends S.TaggedError()("EntityLimitExceeded", { Message: S.optional(S.String) }).pipe(C.withBadRequestError) {
3937
3937
  }
3938
3938
  export class NoSuchResource extends S.TaggedError()("NoSuchResource", { Message: S.optional(S.String) }).pipe(C.withBadRequestError) {
3939
3939
  }
3940
3940
  export class NoSuchFunctionExists extends S.TaggedError()("NoSuchFunctionExists", { Message: S.optional(S.String) }).pipe(C.withBadRequestError) {
3941
3941
  }
3942
+ export class EntityNotFound extends S.TaggedError()("EntityNotFound", { Message: S.optional(S.String) }).pipe(C.withBadRequestError) {
3943
+ }
3942
3944
  export class NoSuchCachePolicy extends S.TaggedError()("NoSuchCachePolicy", { Message: S.optional(S.String) }).pipe(C.withBadRequestError) {
3943
3945
  }
3944
3946
  export class NoSuchCloudFrontOriginAccessIdentity extends S.TaggedError()("NoSuchCloudFrontOriginAccessIdentity", { Message: S.optional(S.String) }).pipe(C.withBadRequestError) {
@@ -4007,8 +4009,6 @@ export class NoSuchRealtimeLogConfig extends S.TaggedError()("NoSuchRealtimeLogC
4007
4009
  }
4008
4010
  export class TestFunctionFailed extends S.TaggedError()("TestFunctionFailed", { Message: S.optional(S.String) }).pipe(C.withServerError) {
4009
4011
  }
4010
- export class EntityLimitExceeded extends S.TaggedError()("EntityLimitExceeded", { Message: S.optional(S.String) }).pipe(C.withBadRequestError) {
4011
- }
4012
4012
  export class FieldLevelEncryptionProfileSizeExceeded extends S.TaggedError()("FieldLevelEncryptionProfileSizeExceeded", { Message: S.optional(S.String) }).pipe(C.withBadRequestError) {
4013
4013
  }
4014
4014
  export class OriginRequestPolicyInUse extends S.TaggedError()("OriginRequestPolicyInUse", { Message: S.optional(S.String) }).pipe(C.withConflictError) {
@@ -4039,6 +4039,8 @@ export class TooManyDistributionCNAMEs extends S.TaggedError()("TooManyDistribut
4039
4039
  }
4040
4040
  export class PublicKeyAlreadyExists extends S.TaggedError()("PublicKeyAlreadyExists", { Message: S.optional(S.String) }).pipe(C.withConflictError) {
4041
4041
  }
4042
+ export class InvalidAssociation extends S.TaggedError()("InvalidAssociation", { Message: S.optional(S.String) }).pipe(C.withConflictError) {
4043
+ }
4042
4044
  export class IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior extends S.TaggedError()("IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior", { Message: S.optional(S.String) }).pipe(C.withBadRequestError) {
4043
4045
  }
4044
4046
  export class InvalidOriginAccessControl extends S.TaggedError()("InvalidOriginAccessControl", { Message: S.optional(S.String) }).pipe(C.withBadRequestError) {
@@ -4083,8 +4085,6 @@ export class TooManyPublicKeys extends S.TaggedError()("TooManyPublicKeys", { Me
4083
4085
  }
4084
4086
  export class RealtimeLogConfigInUse extends S.TaggedError()("RealtimeLogConfigInUse", { Message: S.optional(S.String) }).pipe(C.withBadRequestError) {
4085
4087
  }
4086
- export class InvalidAssociation extends S.TaggedError()("InvalidAssociation", { Message: S.optional(S.String) }).pipe(C.withConflictError) {
4087
- }
4088
4088
  export class InvalidDefaultRootObject extends S.TaggedError()("InvalidDefaultRootObject", { Message: S.optional(S.String) }).pipe(C.withBadRequestError) {
4089
4089
  }
4090
4090
  export class InvalidOriginAccessIdentity extends S.TaggedError()("InvalidOriginAccessIdentity", { Message: S.optional(S.String) }).pipe(C.withBadRequestError) {
@@ -4398,6 +4398,16 @@ export const verifyDnsConfiguration = API.make(() => ({
4398
4398
  output: VerifyDnsConfigurationResult,
4399
4399
  errors: [AccessDenied, EntityNotFound, InvalidArgument],
4400
4400
  }));
4401
+ /**
4402
+ * Gets a key group configuration.
4403
+ *
4404
+ * 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`.
4405
+ */
4406
+ export const getKeyGroupConfig = API.make(() => ({
4407
+ input: GetKeyGroupConfigRequest,
4408
+ output: GetKeyGroupConfigResult,
4409
+ errors: [NoSuchResource],
4410
+ }));
4401
4411
  /**
4402
4412
  * Gets information about a connection group.
4403
4413
  */
@@ -4464,16 +4474,6 @@ export const listInvalidationsForDistributionTenant = API.makePaginated(() => ({
4464
4474
  pageSize: "MaxItems",
4465
4475
  },
4466
4476
  }));
4467
- /**
4468
- * Gets a key group configuration.
4469
- *
4470
- * 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`.
4471
- */
4472
- export const getKeyGroupConfig = API.make(() => ({
4473
- input: GetKeyGroupConfigRequest,
4474
- output: GetKeyGroupConfigResult,
4475
- errors: [NoSuchResource],
4476
- }));
4477
4477
  /**
4478
4478
  * Gets a cache policy, including the following metadata:
4479
4479
  *
@@ -5000,30 +5000,6 @@ export const updateOriginAccessControl = API.make(() => ({
5000
5000
  PreconditionFailed,
5001
5001
  ],
5002
5002
  }));
5003
- /**
5004
- * Gets information about a specific invalidation for a distribution tenant.
5005
- */
5006
- export const getInvalidationForDistributionTenant = API.make(() => ({
5007
- input: GetInvalidationForDistributionTenantRequest,
5008
- output: GetInvalidationForDistributionTenantResult,
5009
- errors: [AccessDenied, EntityNotFound, NoSuchInvalidation],
5010
- }));
5011
- /**
5012
- * Updates a connection function.
5013
- */
5014
- export const updateConnectionFunction = API.make(() => ({
5015
- input: UpdateConnectionFunctionRequest,
5016
- output: UpdateConnectionFunctionResult,
5017
- errors: [
5018
- AccessDenied,
5019
- EntityNotFound,
5020
- EntitySizeLimitExceeded,
5021
- InvalidArgument,
5022
- InvalidIfMatchVersion,
5023
- PreconditionFailed,
5024
- UnsupportedOperation,
5025
- ],
5026
- }));
5027
5003
  /**
5028
5004
  * Tests a connection function.
5029
5005
  */
@@ -5074,6 +5050,26 @@ export const updatePublicKey = API.make(() => ({
5074
5050
  PreconditionFailed,
5075
5051
  ],
5076
5052
  }));
5053
+ /**
5054
+ * Update an Amazon CloudFront VPC origin in your account.
5055
+ */
5056
+ export const updateVpcOrigin = API.make(() => ({
5057
+ input: UpdateVpcOriginRequest,
5058
+ output: UpdateVpcOriginResult,
5059
+ errors: [
5060
+ AccessDenied,
5061
+ CannotUpdateEntityWhileInUse,
5062
+ EntityAlreadyExists,
5063
+ EntityLimitExceeded,
5064
+ EntityNotFound,
5065
+ IllegalUpdate,
5066
+ InconsistentQuantities,
5067
+ InvalidArgument,
5068
+ InvalidIfMatchVersion,
5069
+ PreconditionFailed,
5070
+ UnsupportedOperation,
5071
+ ],
5072
+ }));
5077
5073
  /**
5078
5074
  * Delete an origin access identity.
5079
5075
  */
@@ -5141,6 +5137,7 @@ export const associateDistributionWebACL = API.make(() => ({
5141
5137
  output: AssociateDistributionWebACLResult,
5142
5138
  errors: [
5143
5139
  AccessDenied,
5140
+ EntityLimitExceeded,
5144
5141
  EntityNotFound,
5145
5142
  InvalidArgument,
5146
5143
  InvalidIfMatchVersion,
@@ -5148,17 +5145,21 @@ export const associateDistributionWebACL = API.make(() => ({
5148
5145
  ],
5149
5146
  }));
5150
5147
  /**
5151
- * Disassociates a distribution tenant from the WAF web ACL.
5148
+ * Deletes a CloudFront function.
5149
+ *
5150
+ * 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.
5151
+ *
5152
+ * 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`.
5152
5153
  */
5153
- export const disassociateDistributionTenantWebACL = API.make(() => ({
5154
- input: DisassociateDistributionTenantWebACLRequest,
5155
- output: DisassociateDistributionTenantWebACLResult,
5154
+ export const deleteFunction = API.make(() => ({
5155
+ input: DeleteFunctionRequest,
5156
+ output: DeleteFunctionResponse,
5156
5157
  errors: [
5157
- AccessDenied,
5158
- EntityNotFound,
5159
- InvalidArgument,
5158
+ FunctionInUse,
5160
5159
  InvalidIfMatchVersion,
5160
+ NoSuchFunctionExists,
5161
5161
  PreconditionFailed,
5162
+ UnsupportedOperation,
5162
5163
  ],
5163
5164
  }));
5164
5165
  /**
@@ -5286,21 +5287,18 @@ export const deleteResourcePolicy = API.make(() => ({
5286
5287
  ],
5287
5288
  }));
5288
5289
  /**
5289
- * Deletes a CloudFront function.
5290
- *
5291
- * 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.
5292
- *
5293
- * 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`.
5290
+ * Associates the WAF web ACL with a distribution tenant.
5294
5291
  */
5295
- export const deleteFunction = API.make(() => ({
5296
- input: DeleteFunctionRequest,
5297
- output: DeleteFunctionResponse,
5292
+ export const associateDistributionTenantWebACL = API.make(() => ({
5293
+ input: AssociateDistributionTenantWebACLRequest,
5294
+ output: AssociateDistributionTenantWebACLResult,
5298
5295
  errors: [
5299
- FunctionInUse,
5296
+ AccessDenied,
5297
+ EntityLimitExceeded,
5298
+ EntityNotFound,
5299
+ InvalidArgument,
5300
5300
  InvalidIfMatchVersion,
5301
- NoSuchFunctionExists,
5302
5301
  PreconditionFailed,
5303
- UnsupportedOperation,
5304
5302
  ],
5305
5303
  }));
5306
5304
  /**
@@ -5322,11 +5320,11 @@ export const publishFunction = API.make(() => ({
5322
5320
  ],
5323
5321
  }));
5324
5322
  /**
5325
- * Associates the WAF web ACL with a distribution tenant.
5323
+ * Disassociates a distribution tenant from the WAF web ACL.
5326
5324
  */
5327
- export const associateDistributionTenantWebACL = API.make(() => ({
5328
- input: AssociateDistributionTenantWebACLRequest,
5329
- output: AssociateDistributionTenantWebACLResult,
5325
+ export const disassociateDistributionTenantWebACL = API.make(() => ({
5326
+ input: DisassociateDistributionTenantWebACLRequest,
5327
+ output: DisassociateDistributionTenantWebACLResult,
5330
5328
  errors: [
5331
5329
  AccessDenied,
5332
5330
  EntityNotFound,
@@ -5474,6 +5472,16 @@ export const listKeyValueStores = API.makePaginated(() => ({
5474
5472
  pageSize: "MaxItems",
5475
5473
  },
5476
5474
  }));
5475
+ /**
5476
+ * Gets the code of a CloudFront function. To get configuration information and metadata about a function, use `DescribeFunction`.
5477
+ *
5478
+ * To get a function's code, you must provide the function's name and stage. To get these values, you can use `ListFunctions`.
5479
+ */
5480
+ export const getFunction = API.make(() => ({
5481
+ input: GetFunctionRequest,
5482
+ output: GetFunctionResult,
5483
+ errors: [NoSuchFunctionExists, UnsupportedOperation],
5484
+ }));
5477
5485
  /**
5478
5486
  * Gets a connection function.
5479
5487
  */
@@ -5514,16 +5522,6 @@ export const listDistributionsByVpcOriginId = API.make(() => ({
5514
5522
  output: ListDistributionsByVpcOriginIdResult,
5515
5523
  errors: [AccessDenied, EntityNotFound, InvalidArgument, UnsupportedOperation],
5516
5524
  }));
5517
- /**
5518
- * Gets the code of a CloudFront function. To get configuration information and metadata about a function, use `DescribeFunction`.
5519
- *
5520
- * To get a function's code, you must provide the function's name and stage. To get these values, you can use `ListFunctions`.
5521
- */
5522
- export const getFunction = API.make(() => ({
5523
- input: GetFunctionRequest,
5524
- output: GetFunctionResult,
5525
- errors: [NoSuchFunctionExists, UnsupportedOperation],
5526
- }));
5527
5525
  /**
5528
5526
  * Describes a connection function.
5529
5527
  */
@@ -5540,6 +5538,30 @@ export const describeKeyValueStore = API.make(() => ({
5540
5538
  output: DescribeKeyValueStoreResult,
5541
5539
  errors: [AccessDenied, EntityNotFound, InvalidArgument, UnsupportedOperation],
5542
5540
  }));
5541
+ /**
5542
+ * Gets information about a specific invalidation for a distribution tenant.
5543
+ */
5544
+ export const getInvalidationForDistributionTenant = API.make(() => ({
5545
+ input: GetInvalidationForDistributionTenantRequest,
5546
+ output: GetInvalidationForDistributionTenantResult,
5547
+ errors: [AccessDenied, EntityNotFound, NoSuchInvalidation],
5548
+ }));
5549
+ /**
5550
+ * Updates a connection function.
5551
+ */
5552
+ export const updateConnectionFunction = API.make(() => ({
5553
+ input: UpdateConnectionFunctionRequest,
5554
+ output: UpdateConnectionFunctionResult,
5555
+ errors: [
5556
+ AccessDenied,
5557
+ EntityNotFound,
5558
+ EntitySizeLimitExceeded,
5559
+ InvalidArgument,
5560
+ InvalidIfMatchVersion,
5561
+ PreconditionFailed,
5562
+ UnsupportedOperation,
5563
+ ],
5564
+ }));
5543
5565
  /**
5544
5566
  * Gets information about whether additional CloudWatch metrics are enabled for the specified CloudFront distribution.
5545
5567
  */
@@ -5636,39 +5658,30 @@ export const getRealtimeLogConfig = API.make(() => ({
5636
5658
  errors: [AccessDenied, InvalidArgument, NoSuchRealtimeLogConfig],
5637
5659
  }));
5638
5660
  /**
5639
- * Update an Amazon CloudFront VPC origin in your account.
5661
+ * Updates a distribution tenant.
5640
5662
  */
5641
- export const updateVpcOrigin = API.make(() => ({
5642
- input: UpdateVpcOriginRequest,
5643
- output: UpdateVpcOriginResult,
5663
+ export const updateDistributionTenant = API.make(() => ({
5664
+ input: UpdateDistributionTenantRequest,
5665
+ output: UpdateDistributionTenantResult,
5644
5666
  errors: [
5645
5667
  AccessDenied,
5646
- CannotUpdateEntityWhileInUse,
5668
+ CNAMEAlreadyExists,
5647
5669
  EntityAlreadyExists,
5648
5670
  EntityLimitExceeded,
5649
5671
  EntityNotFound,
5650
- IllegalUpdate,
5651
- InconsistentQuantities,
5652
5672
  InvalidArgument,
5673
+ InvalidAssociation,
5653
5674
  InvalidIfMatchVersion,
5654
5675
  PreconditionFailed,
5655
- UnsupportedOperation,
5656
5676
  ],
5657
5677
  }));
5658
5678
  /**
5659
- * Creates a connection group.
5679
+ * Get the information about an invalidation.
5660
5680
  */
5661
- export const createConnectionGroup = API.make(() => ({
5662
- input: CreateConnectionGroupRequest,
5663
- output: CreateConnectionGroupResult,
5664
- errors: [
5665
- AccessDenied,
5666
- EntityAlreadyExists,
5667
- EntityLimitExceeded,
5668
- EntityNotFound,
5669
- InvalidArgument,
5670
- InvalidTagging,
5671
- ],
5681
+ export const getInvalidation = API.make(() => ({
5682
+ input: GetInvalidationRequest,
5683
+ output: GetInvalidationResult,
5684
+ errors: [AccessDenied, NoSuchDistribution, NoSuchInvalidation],
5672
5685
  }));
5673
5686
  /**
5674
5687
  * 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.
@@ -5685,6 +5698,50 @@ export const createKeyValueStore = API.make(() => ({
5685
5698
  UnsupportedOperation,
5686
5699
  ],
5687
5700
  }));
5701
+ /**
5702
+ * Disables additional CloudWatch metrics for the specified CloudFront distribution.
5703
+ */
5704
+ export const deleteMonitoringSubscription = API.make(() => ({
5705
+ input: DeleteMonitoringSubscriptionRequest,
5706
+ output: DeleteMonitoringSubscriptionResult,
5707
+ errors: [
5708
+ AccessDenied,
5709
+ NoSuchDistribution,
5710
+ NoSuchMonitoringSubscription,
5711
+ UnsupportedOperation,
5712
+ ],
5713
+ }));
5714
+ /**
5715
+ * Remove tags from a CloudFront resource. For more information, see Tagging a distribution in the *Amazon CloudFront Developer Guide*.
5716
+ */
5717
+ export const untagResource = API.make(() => ({
5718
+ input: UntagResourceRequest,
5719
+ output: UntagResourceResponse,
5720
+ errors: [AccessDenied, InvalidArgument, InvalidTagging, NoSuchResource],
5721
+ }));
5722
+ /**
5723
+ * Add tags to a CloudFront resource. For more information, see Tagging a distribution in the *Amazon CloudFront Developer Guide*.
5724
+ */
5725
+ export const tagResource = API.make(() => ({
5726
+ input: TagResourceRequest,
5727
+ output: TagResourceResponse,
5728
+ errors: [AccessDenied, InvalidArgument, InvalidTagging, NoSuchResource],
5729
+ }));
5730
+ /**
5731
+ * Creates a connection group.
5732
+ */
5733
+ export const createConnectionGroup = API.make(() => ({
5734
+ input: CreateConnectionGroupRequest,
5735
+ output: CreateConnectionGroupResult,
5736
+ errors: [
5737
+ AccessDenied,
5738
+ EntityAlreadyExists,
5739
+ EntityLimitExceeded,
5740
+ EntityNotFound,
5741
+ InvalidArgument,
5742
+ InvalidTagging,
5743
+ ],
5744
+ }));
5688
5745
  /**
5689
5746
  * Creates an Anycast static IP list.
5690
5747
  */
@@ -5732,42 +5789,22 @@ export const createVpcOrigin = API.make(() => ({
5732
5789
  ],
5733
5790
  }));
5734
5791
  /**
5735
- * Get the information about an invalidation.
5736
- */
5737
- export const getInvalidation = API.make(() => ({
5738
- input: GetInvalidationRequest,
5739
- output: GetInvalidationResult,
5740
- errors: [AccessDenied, NoSuchDistribution, NoSuchInvalidation],
5741
- }));
5742
- /**
5743
- * Disables additional CloudWatch metrics for the specified CloudFront distribution.
5792
+ * Creates a distribution tenant.
5744
5793
  */
5745
- export const deleteMonitoringSubscription = API.make(() => ({
5746
- input: DeleteMonitoringSubscriptionRequest,
5747
- output: DeleteMonitoringSubscriptionResult,
5794
+ export const createDistributionTenant = API.make(() => ({
5795
+ input: CreateDistributionTenantRequest,
5796
+ output: CreateDistributionTenantResult,
5748
5797
  errors: [
5749
5798
  AccessDenied,
5750
- NoSuchDistribution,
5751
- NoSuchMonitoringSubscription,
5752
- UnsupportedOperation,
5799
+ CNAMEAlreadyExists,
5800
+ EntityAlreadyExists,
5801
+ EntityLimitExceeded,
5802
+ EntityNotFound,
5803
+ InvalidArgument,
5804
+ InvalidAssociation,
5805
+ InvalidTagging,
5753
5806
  ],
5754
5807
  }));
5755
- /**
5756
- * Remove tags from a CloudFront resource. For more information, see Tagging a distribution in the *Amazon CloudFront Developer Guide*.
5757
- */
5758
- export const untagResource = API.make(() => ({
5759
- input: UntagResourceRequest,
5760
- output: UntagResourceResponse,
5761
- errors: [AccessDenied, InvalidArgument, InvalidTagging, NoSuchResource],
5762
- }));
5763
- /**
5764
- * Add tags to a CloudFront resource. For more information, see Tagging a distribution in the *Amazon CloudFront Developer Guide*.
5765
- */
5766
- export const tagResource = API.make(() => ({
5767
- input: TagResourceRequest,
5768
- output: TagResourceResponse,
5769
- errors: [AccessDenied, InvalidArgument, InvalidTagging, NoSuchResource],
5770
- }));
5771
5808
  /**
5772
5809
  * Creates a connection function.
5773
5810
  */
@@ -6021,24 +6058,6 @@ export const deleteRealtimeLogConfig = API.make(() => ({
6021
6058
  RealtimeLogConfigInUse,
6022
6059
  ],
6023
6060
  }));
6024
- /**
6025
- * Updates a distribution tenant.
6026
- */
6027
- export const updateDistributionTenant = API.make(() => ({
6028
- input: UpdateDistributionTenantRequest,
6029
- output: UpdateDistributionTenantResult,
6030
- errors: [
6031
- AccessDenied,
6032
- CNAMEAlreadyExists,
6033
- EntityAlreadyExists,
6034
- EntityLimitExceeded,
6035
- EntityNotFound,
6036
- InvalidArgument,
6037
- InvalidAssociation,
6038
- InvalidIfMatchVersion,
6039
- PreconditionFailed,
6040
- ],
6041
- }));
6042
6061
  /**
6043
6062
  * 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*.
6044
6063
  */
@@ -6115,23 +6134,6 @@ export const createKeyGroup = API.make(() => ({
6115
6134
  TooManyPublicKeysInKeyGroup,
6116
6135
  ],
6117
6136
  }));
6118
- /**
6119
- * Creates a distribution tenant.
6120
- */
6121
- export const createDistributionTenant = API.make(() => ({
6122
- input: CreateDistributionTenantRequest,
6123
- output: CreateDistributionTenantResult,
6124
- errors: [
6125
- AccessDenied,
6126
- CNAMEAlreadyExists,
6127
- EntityAlreadyExists,
6128
- EntityLimitExceeded,
6129
- EntityNotFound,
6130
- InvalidArgument,
6131
- InvalidAssociation,
6132
- InvalidTagging,
6133
- ],
6134
- }));
6135
6137
  /**
6136
6138
  * Creates a CloudFront function.
6137
6139
  *
@@ -6515,6 +6517,7 @@ export const updateDistributionWithStagingConfig = API.make(() => ({
6515
6517
  errors: [
6516
6518
  AccessDenied,
6517
6519
  CNAMEAlreadyExists,
6520
+ EntityLimitExceeded,
6518
6521
  EntityNotFound,
6519
6522
  IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior,
6520
6523
  IllegalUpdate,