distilled-aws 0.0.16 → 0.0.17

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "distilled-aws",
3
3
  "module": "index.ts",
4
- "version": "0.0.16",
4
+ "version": "0.0.17",
5
5
  "type": "module",
6
6
  "publishConfig": {
7
7
  "access": "public"
@@ -69730,6 +69730,10 @@ export class InvalidRoleArnMalformed extends S.TaggedError<InvalidRoleArnMalform
69730
69730
  "InvalidRoleArn.Malformed",
69731
69731
  {},
69732
69732
  ) {}
69733
+ export class NatGatewayMalformed extends S.TaggedError<NatGatewayMalformed>()(
69734
+ "NatGatewayMalformed",
69735
+ {},
69736
+ ) {}
69733
69737
  export class NatGatewayNotFound extends S.TaggedError<NatGatewayNotFound>()(
69734
69738
  "NatGatewayNotFound",
69735
69739
  {},
@@ -69911,10 +69915,6 @@ export class InvalidLocalGatewayVirtualInterfaceGroupIDNotFound extends S.Tagged
69911
69915
  "InvalidLocalGatewayVirtualInterfaceGroupID.NotFound",
69912
69916
  {},
69913
69917
  ) {}
69914
- export class NatGatewayMalformed extends S.TaggedError<NatGatewayMalformed>()(
69915
- "NatGatewayMalformed",
69916
- {},
69917
- ) {}
69918
69918
  export class InvalidNetworkInsightsAccessScopeIdNotFound extends S.TaggedError<InvalidNetworkInsightsAccessScopeIdNotFound>()(
69919
69919
  "InvalidNetworkInsightsAccessScopeId.NotFound",
69920
69920
  {},
@@ -70452,6 +70452,7 @@ export const attachInternetGateway: (
70452
70452
  input: AttachInternetGatewayRequest,
70453
70453
  ) => effect.Effect<
70454
70454
  AttachInternetGatewayResponse,
70455
+ | InvalidVpcIDNotFound
70455
70456
  | InvalidInternetGatewayIDNotFound
70456
70457
  | InvalidInternetGatewayIdMalformed
70457
70458
  | InvalidVpcIdMalformed
@@ -70461,6 +70462,7 @@ export const attachInternetGateway: (
70461
70462
  input: AttachInternetGatewayRequest,
70462
70463
  output: AttachInternetGatewayResponse,
70463
70464
  errors: [
70465
+ InvalidVpcIDNotFound,
70464
70466
  InvalidInternetGatewayIDNotFound,
70465
70467
  InvalidInternetGatewayIdMalformed,
70466
70468
  InvalidVpcIdMalformed,
@@ -70591,6 +70593,7 @@ export const deleteNetworkAcl: (
70591
70593
  input: DeleteNetworkAclRequest,
70592
70594
  ) => effect.Effect<
70593
70595
  DeleteNetworkAclResponse,
70596
+ | DependencyViolation
70594
70597
  | DryRunOperation
70595
70598
  | InvalidNetworkAclIDNotFound
70596
70599
  | InvalidNetworkAclIdMalformed
@@ -70602,6 +70605,7 @@ export const deleteNetworkAcl: (
70602
70605
  input: DeleteNetworkAclRequest,
70603
70606
  output: DeleteNetworkAclResponse,
70604
70607
  errors: [
70608
+ DependencyViolation,
70605
70609
  DryRunOperation,
70606
70610
  InvalidNetworkAclIDNotFound,
70607
70611
  InvalidNetworkAclIdMalformed,
@@ -70932,6 +70936,7 @@ export const detachInternetGateway: (
70932
70936
  input: DetachInternetGatewayRequest,
70933
70937
  ) => effect.Effect<
70934
70938
  DetachInternetGatewayResponse,
70939
+ | DependencyViolation
70935
70940
  | GatewayNotAttached
70936
70941
  | InvalidInternetGatewayIDNotFound
70937
70942
  | InvalidInternetGatewayIdMalformed
@@ -70942,6 +70947,7 @@ export const detachInternetGateway: (
70942
70947
  input: DetachInternetGatewayRequest,
70943
70948
  output: DetachInternetGatewayResponse,
70944
70949
  errors: [
70950
+ DependencyViolation,
70945
70951
  GatewayNotAttached,
70946
70952
  InvalidInternetGatewayIDNotFound,
70947
70953
  InvalidInternetGatewayIdMalformed,
@@ -70955,6 +70961,7 @@ export const detachNetworkInterface: (
70955
70961
  input: DetachNetworkInterfaceRequest,
70956
70962
  ) => effect.Effect<
70957
70963
  DetachNetworkInterfaceResponse,
70964
+ | DependencyViolation
70958
70965
  | InvalidAttachmentIDNotFound
70959
70966
  | InvalidNetworkInterfaceAttachmentIdMalformed
70960
70967
  | CommonErrors,
@@ -70963,6 +70970,7 @@ export const detachNetworkInterface: (
70963
70970
  input: DetachNetworkInterfaceRequest,
70964
70971
  output: DetachNetworkInterfaceResponse,
70965
70972
  errors: [
70973
+ DependencyViolation,
70966
70974
  InvalidAttachmentIDNotFound,
70967
70975
  InvalidNetworkInterfaceAttachmentIdMalformed,
70968
70976
  ],
@@ -70990,12 +70998,21 @@ export const detachVolume: (
70990
70998
  input: DetachVolumeRequest,
70991
70999
  ) => effect.Effect<
70992
71000
  VolumeAttachment,
70993
- IncorrectState | InvalidParameterValue | InvalidVolumeNotFound | CommonErrors,
71001
+ | DependencyViolation
71002
+ | IncorrectState
71003
+ | InvalidParameterValue
71004
+ | InvalidVolumeNotFound
71005
+ | CommonErrors,
70994
71006
  Credentials | Rgn | HttpClient.HttpClient
70995
71007
  > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
70996
71008
  input: DetachVolumeRequest,
70997
71009
  output: VolumeAttachment,
70998
- errors: [IncorrectState, InvalidParameterValue, InvalidVolumeNotFound],
71010
+ errors: [
71011
+ DependencyViolation,
71012
+ IncorrectState,
71013
+ InvalidParameterValue,
71014
+ InvalidVolumeNotFound,
71015
+ ],
70999
71016
  }));
71000
71017
  /**
71001
71018
  * Detaches a virtual private gateway from a VPC. You do this if you're planning to turn
@@ -71738,12 +71755,12 @@ export const associateNatGatewayAddress: (
71738
71755
  input: AssociateNatGatewayAddressRequest,
71739
71756
  ) => effect.Effect<
71740
71757
  AssociateNatGatewayAddressResult,
71741
- MissingParameter | NatGatewayNotFound | CommonErrors,
71758
+ MissingParameter | NatGatewayMalformed | NatGatewayNotFound | CommonErrors,
71742
71759
  Credentials | Rgn | HttpClient.HttpClient
71743
71760
  > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
71744
71761
  input: AssociateNatGatewayAddressRequest,
71745
71762
  output: AssociateNatGatewayAddressResult,
71746
- errors: [MissingParameter, NatGatewayNotFound],
71763
+ errors: [MissingParameter, NatGatewayMalformed, NatGatewayNotFound],
71747
71764
  }));
71748
71765
  /**
71749
71766
  * Associates a security group with another VPC in the same Region. This enables you to use the same security group with network interfaces and instances in the specified VPC.
@@ -72946,6 +72963,7 @@ export const deleteNatGateway: (
72946
72963
  | InvalidParameter
72947
72964
  | MissingParameter
72948
72965
  | NatGatewayMalformed
72966
+ | NatGatewayNotFound
72949
72967
  | CommonErrors,
72950
72968
  Credentials | Rgn | HttpClient.HttpClient
72951
72969
  > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
@@ -72956,6 +72974,7 @@ export const deleteNatGateway: (
72956
72974
  InvalidParameter,
72957
72975
  MissingParameter,
72958
72976
  NatGatewayMalformed,
72977
+ NatGatewayNotFound,
72959
72978
  ],
72960
72979
  }));
72961
72980
  /**
@@ -76180,6 +76199,7 @@ export const detachClassicLinkVpc: (
76180
76199
  input: DetachClassicLinkVpcRequest,
76181
76200
  ) => effect.Effect<
76182
76201
  DetachClassicLinkVpcResult,
76202
+ | DependencyViolation
76183
76203
  | InvalidInstanceIDMalformed
76184
76204
  | InvalidVpcIDNotFound
76185
76205
  | MissingParameter
@@ -76188,7 +76208,12 @@ export const detachClassicLinkVpc: (
76188
76208
  > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
76189
76209
  input: DetachClassicLinkVpcRequest,
76190
76210
  output: DetachClassicLinkVpcResult,
76191
- errors: [InvalidInstanceIDMalformed, InvalidVpcIDNotFound, MissingParameter],
76211
+ errors: [
76212
+ DependencyViolation,
76213
+ InvalidInstanceIDMalformed,
76214
+ InvalidVpcIDNotFound,
76215
+ MissingParameter,
76216
+ ],
76192
76217
  }));
76193
76218
  /**
76194
76219
  * Detaches the specified Amazon Web Services Verified Access trust provider from the specified Amazon Web Services Verified Access instance.
@@ -76197,12 +76222,12 @@ export const detachVerifiedAccessTrustProvider: (
76197
76222
  input: DetachVerifiedAccessTrustProviderRequest,
76198
76223
  ) => effect.Effect<
76199
76224
  DetachVerifiedAccessTrustProviderResult,
76200
- InvalidVerifiedAccessInstanceIdNotFound | CommonErrors,
76225
+ DependencyViolation | InvalidVerifiedAccessInstanceIdNotFound | CommonErrors,
76201
76226
  Credentials | Rgn | HttpClient.HttpClient
76202
76227
  > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
76203
76228
  input: DetachVerifiedAccessTrustProviderRequest,
76204
76229
  output: DetachVerifiedAccessTrustProviderResult,
76205
- errors: [InvalidVerifiedAccessInstanceIdNotFound],
76230
+ errors: [DependencyViolation, InvalidVerifiedAccessInstanceIdNotFound],
76206
76231
  }));
76207
76232
  /**
76208
76233
  * Disables Elastic IP address transfer. For more information, see Transfer Elastic IP addresses in the *Amazon VPC User Guide*.
@@ -76637,12 +76662,12 @@ export const disassociateNatGatewayAddress: (
76637
76662
  input: DisassociateNatGatewayAddressRequest,
76638
76663
  ) => effect.Effect<
76639
76664
  DisassociateNatGatewayAddressResult,
76640
- MissingParameter | NatGatewayNotFound | CommonErrors,
76665
+ MissingParameter | NatGatewayMalformed | NatGatewayNotFound | CommonErrors,
76641
76666
  Credentials | Rgn | HttpClient.HttpClient
76642
76667
  > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
76643
76668
  input: DisassociateNatGatewayAddressRequest,
76644
76669
  output: DisassociateNatGatewayAddressResult,
76645
- errors: [MissingParameter, NatGatewayNotFound],
76670
+ errors: [MissingParameter, NatGatewayMalformed, NatGatewayNotFound],
76646
76671
  }));
76647
76672
  /**
76648
76673
  * Disassociates a route server from a VPC.
@@ -80056,6 +80081,7 @@ export const associateRouteTable: (
80056
80081
  | InvalidPublicIpv4PoolIDMalformed
80057
80082
  | InvalidPublicIpv4PoolIDNotFound
80058
80083
  | InvalidRouteTableIDNotFound
80084
+ | InvalidSubnetIDNotFound
80059
80085
  | MissingParameter
80060
80086
  | CommonErrors,
80061
80087
  Credentials | Rgn | HttpClient.HttpClient
@@ -80069,6 +80095,7 @@ export const associateRouteTable: (
80069
80095
  InvalidPublicIpv4PoolIDMalformed,
80070
80096
  InvalidPublicIpv4PoolIDNotFound,
80071
80097
  InvalidRouteTableIDNotFound,
80098
+ InvalidSubnetIDNotFound,
80072
80099
  MissingParameter,
80073
80100
  ],
80074
80101
  }));
@@ -83732,12 +83759,12 @@ export const disassociateInstanceEventWindow: (
83732
83759
  input: DisassociateInstanceEventWindowRequest,
83733
83760
  ) => effect.Effect<
83734
83761
  DisassociateInstanceEventWindowResult,
83735
- MissingParameter | CommonErrors,
83762
+ DependencyViolation | MissingParameter | CommonErrors,
83736
83763
  Credentials | Rgn | HttpClient.HttpClient
83737
83764
  > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
83738
83765
  input: DisassociateInstanceEventWindowRequest,
83739
83766
  output: DisassociateInstanceEventWindowResult,
83740
- errors: [MissingParameter],
83767
+ errors: [DependencyViolation, MissingParameter],
83741
83768
  }));
83742
83769
  /**
83743
83770
  * When you enable Windows fast launch for a Windows AMI, images are pre-provisioned, using
@@ -85312,6 +85339,7 @@ export const revokeSecurityGroupEgress: (
85312
85339
  | InvalidGroupIdMalformed
85313
85340
  | InvalidParameterValue
85314
85341
  | InvalidPrefixListIDNotFound
85342
+ | InvalidPermissionNotFound
85315
85343
  | InvalidSecurityGroupRuleIdMalformed
85316
85344
  | MissingParameter
85317
85345
  | UnknownParameter
@@ -85325,6 +85353,7 @@ export const revokeSecurityGroupEgress: (
85325
85353
  InvalidGroupIdMalformed,
85326
85354
  InvalidParameterValue,
85327
85355
  InvalidPrefixListIDNotFound,
85356
+ InvalidPermissionNotFound,
85328
85357
  InvalidSecurityGroupRuleIdMalformed,
85329
85358
  MissingParameter,
85330
85359
  UnknownParameter,
@@ -87205,6 +87234,7 @@ export const describeNatGateways: {
87205
87234
  | FilterLimitExceeded
87206
87235
  | InvalidParameter
87207
87236
  | NatGatewayMalformed
87237
+ | NatGatewayNotFound
87208
87238
  | ParseError
87209
87239
  | CommonErrors,
87210
87240
  Credentials | Rgn | HttpClient.HttpClient
@@ -87217,6 +87247,7 @@ export const describeNatGateways: {
87217
87247
  | FilterLimitExceeded
87218
87248
  | InvalidParameter
87219
87249
  | NatGatewayMalformed
87250
+ | NatGatewayNotFound
87220
87251
  | ParseError
87221
87252
  | CommonErrors,
87222
87253
  Credentials | Rgn | HttpClient.HttpClient
@@ -87229,6 +87260,7 @@ export const describeNatGateways: {
87229
87260
  | FilterLimitExceeded
87230
87261
  | InvalidParameter
87231
87262
  | NatGatewayMalformed
87263
+ | NatGatewayNotFound
87232
87264
  | ParseError
87233
87265
  | CommonErrors,
87234
87266
  Credentials | Rgn | HttpClient.HttpClient
@@ -87241,6 +87273,7 @@ export const describeNatGateways: {
87241
87273
  FilterLimitExceeded,
87242
87274
  InvalidParameter,
87243
87275
  NatGatewayMalformed,
87276
+ NatGatewayNotFound,
87244
87277
  ParseError,
87245
87278
  ],
87246
87279
  pagination: {