distilled-aws 0.0.12 → 0.0.13

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.12",
4
+ "version": "0.0.13",
5
5
  "type": "module",
6
6
  "publishConfig": {
7
7
  "access": "public"
@@ -479,12 +479,21 @@ We need to discover the ACTUAL error codes returned by AWS APIs and compare them
479
479
  8. When you're satisfied you've found all discoverable errors and cleaned up, provide a summary of what you found.
480
480
 
481
481
  ## Important Notes
482
+ - This is a SANDBOX AWS account - ALL RESOURCES CAN BE SAFELY DELETED!
482
483
  - You're running against LocalStack, so you can safely make any API calls - CREATE RESOURCES FREELY!
483
484
  - Use ListOperations to find helper operations (CreateBucket, PutObject, DeleteBucket) for setting up test scenarios
484
485
  - Focus on discovering UNIQUE errors - don't repeat the same error condition
485
486
  - ALWAYS set up resources when testing state-dependent errors
486
487
  - Keep going until you've exhausted reasonable input variations AND state-based scenarios
487
488
  - Always provide ALL required fields, even if with dummy values
489
+
490
+ ## Handling Limit Errors
491
+ If you encounter errors indicating a limit has been exceeded (e.g., "LimitExceeded", "TooManyBuckets", "QuotaExceeded", "ResourceLimitExceeded", or similar), **DO NOT HESITATE TO DELETE EXISTING RESOURCES** to make room for your tests:
492
+ - List existing resources using appropriate List* operations
493
+ - Delete old/unused resources to free up quota
494
+ - Then retry your operation
495
+ - This is a sandbox environment - treat ALL resources as expendable and safe to remove
496
+ - Never let limit errors block your exploration - just clean up and continue
488
497
  `;
489
498
 
490
499
  const discover = Command.make(
@@ -69650,10 +69650,22 @@ export class AuthFailure extends S.TaggedError<AuthFailure>()(
69650
69650
  "AuthFailure",
69651
69651
  {},
69652
69652
  ) {}
69653
+ export class InvalidAddressNotFound extends S.TaggedError<InvalidAddressNotFound>()(
69654
+ "InvalidAddress.NotFound",
69655
+ {},
69656
+ ) {}
69653
69657
  export class InvalidAllocationIDNotFound extends S.TaggedError<InvalidAllocationIDNotFound>()(
69654
69658
  "InvalidAllocationID.NotFound",
69655
69659
  {},
69656
69660
  ) {}
69661
+ export class InvalidIPAddressInUse extends S.TaggedError<InvalidIPAddressInUse>()(
69662
+ "InvalidIPAddress.InUse",
69663
+ {},
69664
+ ) {}
69665
+ export class AddressLimitExceeded extends S.TaggedError<AddressLimitExceeded>()(
69666
+ "AddressLimitExceeded",
69667
+ {},
69668
+ ) {}
69657
69669
  export class InvalidAMIIDNotFound extends S.TaggedError<InvalidAMIIDNotFound>()(
69658
69670
  "InvalidAMIID.NotFound",
69659
69671
  {},
@@ -70745,7 +70757,9 @@ export const releaseAddress: (
70745
70757
  ReleaseAddressResponse,
70746
70758
  | AuthFailure
70747
70759
  | DryRunOperation
70760
+ | InvalidAddressNotFound
70748
70761
  | InvalidAllocationIDNotFound
70762
+ | InvalidIPAddressInUse
70749
70763
  | InvalidParameterCombination
70750
70764
  | InvalidParameterValue
70751
70765
  | MissingParameter
@@ -70757,7 +70771,9 @@ export const releaseAddress: (
70757
70771
  errors: [
70758
70772
  AuthFailure,
70759
70773
  DryRunOperation,
70774
+ InvalidAddressNotFound,
70760
70775
  InvalidAllocationIDNotFound,
70776
+ InvalidIPAddressInUse,
70761
70777
  InvalidParameterCombination,
70762
70778
  InvalidParameterValue,
70763
70779
  MissingParameter,
@@ -70979,12 +70995,12 @@ export const allocateAddress: (
70979
70995
  input: AllocateAddressRequest,
70980
70996
  ) => effect.Effect<
70981
70997
  AllocateAddressResult,
70982
- CommonErrors,
70998
+ AddressLimitExceeded | CommonErrors,
70983
70999
  Credentials | Rgn | HttpClient.HttpClient
70984
71000
  > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
70985
71001
  input: AllocateAddressRequest,
70986
71002
  output: AllocateAddressResult,
70987
- errors: [],
71003
+ errors: [AddressLimitExceeded],
70988
71004
  }));
70989
71005
  /**
70990
71006
  * Allocates a Dedicated Host to your account. At a minimum, specify the supported
@@ -86882,12 +86898,12 @@ export const runInstances: (
86882
86898
  input: RunInstancesRequest,
86883
86899
  ) => effect.Effect<
86884
86900
  Reservation,
86885
- ParseError | CommonErrors,
86901
+ InvalidAMIIDNotFound | ParseError | CommonErrors,
86886
86902
  Credentials | Rgn | HttpClient.HttpClient
86887
86903
  > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
86888
86904
  input: RunInstancesRequest,
86889
86905
  output: Reservation,
86890
- errors: [ParseError],
86906
+ errors: [InvalidAMIIDNotFound, ParseError],
86891
86907
  }));
86892
86908
  /**
86893
86909
  * Accept a VPC peering connection request. To accept a request, the VPC peering connection must