@distilled.cloud/aws 0.16.8 → 0.16.9

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 (76) hide show
  1. package/lib/services/acm.d.ts +22 -2
  2. package/lib/services/acm.d.ts.map +1 -1
  3. package/lib/services/acm.js +3 -3
  4. package/lib/services/acm.js.map +1 -1
  5. package/lib/services/cloudwatch-logs.d.ts +73 -13
  6. package/lib/services/cloudwatch-logs.d.ts.map +1 -1
  7. package/lib/services/cloudwatch-logs.js +13 -13
  8. package/lib/services/cloudwatch-logs.js.map +1 -1
  9. package/lib/services/dynamodb.d.ts +196 -28
  10. package/lib/services/dynamodb.d.ts.map +1 -1
  11. package/lib/services/dynamodb.js +33 -33
  12. package/lib/services/dynamodb.js.map +1 -1
  13. package/lib/services/ec2.d.ts +16 -5
  14. package/lib/services/ec2.d.ts.map +1 -1
  15. package/lib/services/ec2.js +7 -1
  16. package/lib/services/ec2.js.map +1 -1
  17. package/lib/services/ecr.d.ts +56 -8
  18. package/lib/services/ecr.d.ts.map +1 -1
  19. package/lib/services/ecr.js +9 -9
  20. package/lib/services/ecr.js.map +1 -1
  21. package/lib/services/ecs.d.ts +152 -28
  22. package/lib/services/ecs.d.ts.map +1 -1
  23. package/lib/services/ecs.js +28 -28
  24. package/lib/services/ecs.js.map +1 -1
  25. package/lib/services/eventbridge.d.ts +66 -14
  26. package/lib/services/eventbridge.d.ts.map +1 -1
  27. package/lib/services/eventbridge.js +18 -12
  28. package/lib/services/eventbridge.js.map +1 -1
  29. package/lib/services/iam.d.ts +24 -0
  30. package/lib/services/iam.d.ts.map +1 -1
  31. package/lib/services/iam.js +6 -6
  32. package/lib/services/iam.js.map +1 -1
  33. package/lib/services/kinesis.d.ts +90 -14
  34. package/lib/services/kinesis.d.ts.map +1 -1
  35. package/lib/services/kinesis.js +14 -14
  36. package/lib/services/kinesis.js.map +1 -1
  37. package/lib/services/rds.d.ts +44 -0
  38. package/lib/services/rds.d.ts.map +1 -1
  39. package/lib/services/rds.js +10 -10
  40. package/lib/services/rds.js.map +1 -1
  41. package/lib/services/route-53.d.ts +16 -0
  42. package/lib/services/route-53.d.ts.map +1 -1
  43. package/lib/services/route-53.js +2 -2
  44. package/lib/services/route-53.js.map +1 -1
  45. package/lib/services/s3.d.ts +58 -10
  46. package/lib/services/s3.d.ts.map +1 -1
  47. package/lib/services/s3.js +11 -11
  48. package/lib/services/s3.js.map +1 -1
  49. package/lib/services/scheduler.d.ts +4 -0
  50. package/lib/services/scheduler.d.ts.map +1 -1
  51. package/lib/services/scheduler.js +1 -1
  52. package/lib/services/scheduler.js.map +1 -1
  53. package/lib/services/secrets-manager.d.ts +68 -12
  54. package/lib/services/secrets-manager.d.ts.map +1 -1
  55. package/lib/services/secrets-manager.js +13 -12
  56. package/lib/services/secrets-manager.js.map +1 -1
  57. package/lib/services/sqs.d.ts +63 -7
  58. package/lib/services/sqs.d.ts.map +1 -1
  59. package/lib/services/sqs.js +11 -11
  60. package/lib/services/sqs.js.map +1 -1
  61. package/package.json +2 -2
  62. package/src/services/acm.ts +3 -3
  63. package/src/services/cloudwatch-logs.ts +13 -13
  64. package/src/services/dynamodb.ts +33 -33
  65. package/src/services/ec2.ts +13 -1
  66. package/src/services/ecr.ts +9 -9
  67. package/src/services/ecs.ts +28 -28
  68. package/src/services/eventbridge.ts +22 -12
  69. package/src/services/iam.ts +6 -6
  70. package/src/services/kinesis.ts +14 -14
  71. package/src/services/rds.ts +10 -10
  72. package/src/services/route-53.ts +2 -2
  73. package/src/services/s3.ts +11 -11
  74. package/src/services/scheduler.ts +1 -1
  75. package/src/services/secrets-manager.ts +13 -12
  76. package/src/services/sqs.ts +11 -11
@@ -2972,97 +2972,185 @@ export declare class AccessDeniedException extends AccessDeniedException_base {
2972
2972
  }
2973
2973
  declare const ClientException_base: S.Class<ClientException, S.TaggedStruct<"ClientException", {
2974
2974
  readonly message: S.optional<S.String>;
2975
- }>, import("effect/Cause").YieldableError>;
2975
+ }>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
2976
+ "@distilled.cloud/error/categories": {
2977
+ BadRequestError: true;
2978
+ };
2979
+ });
2976
2980
  export declare class ClientException extends ClientException_base {
2977
2981
  }
2978
2982
  declare const InvalidParameterException_base: S.Class<InvalidParameterException, S.TaggedStruct<"InvalidParameterException", {
2979
2983
  readonly message: S.optional<S.String>;
2980
- }>, import("effect/Cause").YieldableError>;
2984
+ }>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
2985
+ "@distilled.cloud/error/categories": {
2986
+ BadRequestError: true;
2987
+ };
2988
+ });
2981
2989
  export declare class InvalidParameterException extends InvalidParameterException_base {
2982
2990
  }
2983
2991
  declare const ServerException_base: S.Class<ServerException, S.TaggedStruct<"ServerException", {
2984
2992
  readonly message: S.optional<S.String>;
2985
- }>, import("effect/Cause").YieldableError>;
2993
+ }>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
2994
+ "@distilled.cloud/error/categories": {
2995
+ ServerError: true;
2996
+ };
2997
+ }) & (new (...args: any[]) => {
2998
+ "@distilled.cloud/error/categories": {
2999
+ RetryableError: true;
3000
+ };
3001
+ });
2986
3002
  export declare class ServerException extends ServerException_base {
2987
3003
  }
2988
3004
  declare const NamespaceNotFoundException_base: S.Class<NamespaceNotFoundException, S.TaggedStruct<"NamespaceNotFoundException", {
2989
3005
  readonly message: S.optional<S.String>;
2990
- }>, import("effect/Cause").YieldableError>;
3006
+ }>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
3007
+ "@distilled.cloud/error/categories": {
3008
+ NotFoundError: true;
3009
+ };
3010
+ });
2991
3011
  export declare class NamespaceNotFoundException extends NamespaceNotFoundException_base {
2992
3012
  }
2993
3013
  declare const ClusterNotFoundException_base: S.Class<ClusterNotFoundException, S.TaggedStruct<"ClusterNotFoundException", {
2994
3014
  readonly message: S.optional<S.String>;
2995
- }>, import("effect/Cause").YieldableError>;
3015
+ }>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
3016
+ "@distilled.cloud/error/categories": {
3017
+ NotFoundError: true;
3018
+ };
3019
+ });
2996
3020
  export declare class ClusterNotFoundException extends ClusterNotFoundException_base {
2997
3021
  }
2998
3022
  declare const LimitExceededException_base: S.Class<LimitExceededException, S.TaggedStruct<"LimitExceededException", {
2999
3023
  readonly message: S.optional<S.String>;
3000
- }>, import("effect/Cause").YieldableError>;
3024
+ }>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
3025
+ "@distilled.cloud/error/categories": {
3026
+ QuotaError: true;
3027
+ };
3028
+ });
3001
3029
  export declare class LimitExceededException extends LimitExceededException_base {
3002
3030
  }
3003
3031
  declare const ResourceNotFoundException_base: S.Class<ResourceNotFoundException, S.TaggedStruct<"ResourceNotFoundException", {
3004
3032
  readonly message: S.optional<S.String>;
3005
- }>, import("effect/Cause").YieldableError>;
3033
+ }>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
3034
+ "@distilled.cloud/error/categories": {
3035
+ NotFoundError: true;
3036
+ };
3037
+ });
3006
3038
  export declare class ResourceNotFoundException extends ResourceNotFoundException_base {
3007
3039
  }
3008
3040
  declare const UnsupportedFeatureException_base: S.Class<UnsupportedFeatureException, S.TaggedStruct<"UnsupportedFeatureException", {
3009
3041
  readonly message: S.optional<S.String>;
3010
- }>, import("effect/Cause").YieldableError>;
3042
+ }>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
3043
+ "@distilled.cloud/error/categories": {
3044
+ BadRequestError: true;
3045
+ };
3046
+ });
3011
3047
  export declare class UnsupportedFeatureException extends UnsupportedFeatureException_base {
3012
3048
  }
3013
3049
  declare const UpdateInProgressException_base: S.Class<UpdateInProgressException, S.TaggedStruct<"UpdateInProgressException", {
3014
3050
  readonly message: S.optional<S.String>;
3015
- }>, import("effect/Cause").YieldableError>;
3051
+ }>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
3052
+ "@distilled.cloud/error/categories": {
3053
+ ConflictError: true;
3054
+ };
3055
+ }) & (new (...args: any[]) => {
3056
+ "@distilled.cloud/error/categories": {
3057
+ RetryableError: true;
3058
+ };
3059
+ });
3016
3060
  export declare class UpdateInProgressException extends UpdateInProgressException_base {
3017
3061
  }
3018
3062
  declare const ClusterContainsCapacityProviderException_base: S.Class<ClusterContainsCapacityProviderException, S.TaggedStruct<"ClusterContainsCapacityProviderException", {
3019
3063
  readonly message: S.optional<S.String>;
3020
- }>, import("effect/Cause").YieldableError>;
3064
+ }>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
3065
+ "@distilled.cloud/error/categories": {
3066
+ DependencyViolationError: true;
3067
+ };
3068
+ });
3021
3069
  export declare class ClusterContainsCapacityProviderException extends ClusterContainsCapacityProviderException_base {
3022
3070
  }
3023
3071
  declare const ClusterContainsContainerInstancesException_base: S.Class<ClusterContainsContainerInstancesException, S.TaggedStruct<"ClusterContainsContainerInstancesException", {
3024
3072
  readonly message: S.optional<S.String>;
3025
- }>, import("effect/Cause").YieldableError>;
3073
+ }>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
3074
+ "@distilled.cloud/error/categories": {
3075
+ DependencyViolationError: true;
3076
+ };
3077
+ });
3026
3078
  export declare class ClusterContainsContainerInstancesException extends ClusterContainsContainerInstancesException_base {
3027
3079
  }
3028
3080
  declare const ClusterContainsServicesException_base: S.Class<ClusterContainsServicesException, S.TaggedStruct<"ClusterContainsServicesException", {
3029
3081
  readonly message: S.optional<S.String>;
3030
- }>, import("effect/Cause").YieldableError>;
3082
+ }>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
3083
+ "@distilled.cloud/error/categories": {
3084
+ DependencyViolationError: true;
3085
+ };
3086
+ });
3031
3087
  export declare class ClusterContainsServicesException extends ClusterContainsServicesException_base {
3032
3088
  }
3033
3089
  declare const ClusterContainsTasksException_base: S.Class<ClusterContainsTasksException, S.TaggedStruct<"ClusterContainsTasksException", {
3034
3090
  readonly message: S.optional<S.String>;
3035
- }>, import("effect/Cause").YieldableError>;
3091
+ }>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
3092
+ "@distilled.cloud/error/categories": {
3093
+ DependencyViolationError: true;
3094
+ };
3095
+ });
3036
3096
  export declare class ClusterContainsTasksException extends ClusterContainsTasksException_base {
3037
3097
  }
3038
3098
  declare const ResourceInUseException_base: S.Class<ResourceInUseException, S.TaggedStruct<"ResourceInUseException", {
3039
3099
  readonly message: S.optional<S.String>;
3040
- }>, import("effect/Cause").YieldableError>;
3100
+ }>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
3101
+ "@distilled.cloud/error/categories": {
3102
+ ConflictError: true;
3103
+ };
3104
+ }) & (new (...args: any[]) => {
3105
+ "@distilled.cloud/error/categories": {
3106
+ RetryableError: true;
3107
+ };
3108
+ });
3041
3109
  export declare class ResourceInUseException extends ResourceInUseException_base {
3042
3110
  }
3043
3111
  declare const TargetNotConnectedException_base: S.Class<TargetNotConnectedException, S.TaggedStruct<"TargetNotConnectedException", {
3044
3112
  readonly message: S.optional<S.String>;
3045
- }>, import("effect/Cause").YieldableError>;
3113
+ }>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
3114
+ "@distilled.cloud/error/categories": {
3115
+ ConflictError: true;
3116
+ };
3117
+ });
3046
3118
  export declare class TargetNotConnectedException extends TargetNotConnectedException_base {
3047
3119
  }
3048
3120
  declare const TargetNotFoundException_base: S.Class<TargetNotFoundException, S.TaggedStruct<"TargetNotFoundException", {
3049
3121
  readonly message: S.optional<S.String>;
3050
- }>, import("effect/Cause").YieldableError>;
3122
+ }>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
3123
+ "@distilled.cloud/error/categories": {
3124
+ NotFoundError: true;
3125
+ };
3126
+ });
3051
3127
  export declare class TargetNotFoundException extends TargetNotFoundException_base {
3052
3128
  }
3053
3129
  declare const ServiceNotFoundException_base: S.Class<ServiceNotFoundException, S.TaggedStruct<"ServiceNotFoundException", {
3054
3130
  readonly message: S.optional<S.String>;
3055
- }>, import("effect/Cause").YieldableError>;
3131
+ }>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
3132
+ "@distilled.cloud/error/categories": {
3133
+ NotFoundError: true;
3134
+ };
3135
+ });
3056
3136
  export declare class ServiceNotFoundException extends ServiceNotFoundException_base {
3057
3137
  }
3058
3138
  declare const AttributeLimitExceededException_base: S.Class<AttributeLimitExceededException, S.TaggedStruct<"AttributeLimitExceededException", {
3059
3139
  readonly message: S.optional<S.String>;
3060
- }>, import("effect/Cause").YieldableError>;
3140
+ }>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
3141
+ "@distilled.cloud/error/categories": {
3142
+ QuotaError: true;
3143
+ };
3144
+ });
3061
3145
  export declare class AttributeLimitExceededException extends AttributeLimitExceededException_base {
3062
3146
  }
3063
3147
  declare const MissingVersionException_base: S.Class<MissingVersionException, S.TaggedStruct<"MissingVersionException", {
3064
3148
  readonly message: S.optional<S.String>;
3065
- }>, import("effect/Cause").YieldableError>;
3149
+ }>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
3150
+ "@distilled.cloud/error/categories": {
3151
+ BadRequestError: true;
3152
+ };
3153
+ });
3066
3154
  export declare class MissingVersionException extends MissingVersionException_base {
3067
3155
  }
3068
3156
  declare const NoUpdateAvailableException_base: S.Class<NoUpdateAvailableException, S.TaggedStruct<"NoUpdateAvailableException", {
@@ -3072,48 +3160,84 @@ export declare class NoUpdateAvailableException extends NoUpdateAvailableExcepti
3072
3160
  }
3073
3161
  declare const PlatformUnknownException_base: S.Class<PlatformUnknownException, S.TaggedStruct<"PlatformUnknownException", {
3074
3162
  readonly message: S.optional<S.String>;
3075
- }>, import("effect/Cause").YieldableError>;
3163
+ }>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
3164
+ "@distilled.cloud/error/categories": {
3165
+ BadRequestError: true;
3166
+ };
3167
+ });
3076
3168
  export declare class PlatformUnknownException extends PlatformUnknownException_base {
3077
3169
  }
3078
3170
  declare const DaemonNotActiveException_base: S.Class<DaemonNotActiveException, S.TaggedStruct<"DaemonNotActiveException", {
3079
3171
  readonly message: S.optional<S.String>;
3080
- }>, import("effect/Cause").YieldableError>;
3172
+ }>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
3173
+ "@distilled.cloud/error/categories": {
3174
+ ConflictError: true;
3175
+ };
3176
+ });
3081
3177
  export declare class DaemonNotActiveException extends DaemonNotActiveException_base {
3082
3178
  }
3083
3179
  declare const DaemonNotFoundException_base: S.Class<DaemonNotFoundException, S.TaggedStruct<"DaemonNotFoundException", {
3084
3180
  readonly message: S.optional<S.String>;
3085
- }>, import("effect/Cause").YieldableError>;
3181
+ }>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
3182
+ "@distilled.cloud/error/categories": {
3183
+ NotFoundError: true;
3184
+ };
3185
+ });
3086
3186
  export declare class DaemonNotFoundException extends DaemonNotFoundException_base {
3087
3187
  }
3088
3188
  declare const ServiceNotActiveException_base: S.Class<ServiceNotActiveException, S.TaggedStruct<"ServiceNotActiveException", {
3089
3189
  readonly message: S.optional<S.String>;
3090
- }>, import("effect/Cause").YieldableError>;
3190
+ }>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
3191
+ "@distilled.cloud/error/categories": {
3192
+ ConflictError: true;
3193
+ };
3194
+ });
3091
3195
  export declare class ServiceNotActiveException extends ServiceNotActiveException_base {
3092
3196
  }
3093
3197
  declare const TaskSetNotFoundException_base: S.Class<TaskSetNotFoundException, S.TaggedStruct<"TaskSetNotFoundException", {
3094
3198
  readonly message: S.optional<S.String>;
3095
- }>, import("effect/Cause").YieldableError>;
3199
+ }>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
3200
+ "@distilled.cloud/error/categories": {
3201
+ NotFoundError: true;
3202
+ };
3203
+ });
3096
3204
  export declare class TaskSetNotFoundException extends TaskSetNotFoundException_base {
3097
3205
  }
3098
3206
  declare const PlatformTaskDefinitionIncompatibilityException_base: S.Class<PlatformTaskDefinitionIncompatibilityException, S.TaggedStruct<"PlatformTaskDefinitionIncompatibilityException", {
3099
3207
  readonly message: S.optional<S.String>;
3100
- }>, import("effect/Cause").YieldableError>;
3208
+ }>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
3209
+ "@distilled.cloud/error/categories": {
3210
+ BadRequestError: true;
3211
+ };
3212
+ });
3101
3213
  export declare class PlatformTaskDefinitionIncompatibilityException extends PlatformTaskDefinitionIncompatibilityException_base {
3102
3214
  }
3103
3215
  declare const ConflictException_base: S.Class<ConflictException, S.TaggedStruct<"ConflictException", {
3104
3216
  readonly resourceIds: S.optional<S.$Array<S.String>>;
3105
3217
  readonly message: S.optional<S.String>;
3106
- }>, import("effect/Cause").YieldableError>;
3218
+ }>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
3219
+ "@distilled.cloud/error/categories": {
3220
+ ConflictError: true;
3221
+ };
3222
+ });
3107
3223
  export declare class ConflictException extends ConflictException_base {
3108
3224
  }
3109
3225
  declare const ServiceDeploymentNotFoundException_base: S.Class<ServiceDeploymentNotFoundException, S.TaggedStruct<"ServiceDeploymentNotFoundException", {
3110
3226
  readonly message: S.optional<S.String>;
3111
- }>, import("effect/Cause").YieldableError>;
3227
+ }>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
3228
+ "@distilled.cloud/error/categories": {
3229
+ NotFoundError: true;
3230
+ };
3231
+ });
3112
3232
  export declare class ServiceDeploymentNotFoundException extends ServiceDeploymentNotFoundException_base {
3113
3233
  }
3114
3234
  declare const BlockedException_base: S.Class<BlockedException, S.TaggedStruct<"BlockedException", {
3115
3235
  readonly message: S.optional<S.String>;
3116
- }>, import("effect/Cause").YieldableError>;
3236
+ }>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
3237
+ "@distilled.cloud/error/categories": {
3238
+ BadRequestError: true;
3239
+ };
3240
+ });
3117
3241
  export declare class BlockedException extends BlockedException_base {
3118
3242
  }
3119
3243
  export type DeleteAccountSettingError = AccessDeniedException | ClientException | InvalidParameterException | ServerException | CommonErrors;