@distilled.cloud/aws 0.16.7 → 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.
- package/lib/services/acm.d.ts +22 -2
- package/lib/services/acm.d.ts.map +1 -1
- package/lib/services/acm.js +3 -3
- package/lib/services/acm.js.map +1 -1
- package/lib/services/cloudwatch-logs.d.ts +73 -13
- package/lib/services/cloudwatch-logs.d.ts.map +1 -1
- package/lib/services/cloudwatch-logs.js +13 -13
- package/lib/services/cloudwatch-logs.js.map +1 -1
- package/lib/services/dynamodb.d.ts +196 -28
- package/lib/services/dynamodb.d.ts.map +1 -1
- package/lib/services/dynamodb.js +33 -33
- package/lib/services/dynamodb.js.map +1 -1
- package/lib/services/ec2.d.ts +16 -5
- package/lib/services/ec2.d.ts.map +1 -1
- package/lib/services/ec2.js +7 -1
- package/lib/services/ec2.js.map +1 -1
- package/lib/services/ecr.d.ts +56 -8
- package/lib/services/ecr.d.ts.map +1 -1
- package/lib/services/ecr.js +9 -9
- package/lib/services/ecr.js.map +1 -1
- package/lib/services/ecs.d.ts +152 -28
- package/lib/services/ecs.d.ts.map +1 -1
- package/lib/services/ecs.js +28 -28
- package/lib/services/ecs.js.map +1 -1
- package/lib/services/eventbridge.d.ts +66 -14
- package/lib/services/eventbridge.d.ts.map +1 -1
- package/lib/services/eventbridge.js +18 -12
- package/lib/services/eventbridge.js.map +1 -1
- package/lib/services/iam.d.ts +24 -0
- package/lib/services/iam.d.ts.map +1 -1
- package/lib/services/iam.js +6 -6
- package/lib/services/iam.js.map +1 -1
- package/lib/services/kinesis.d.ts +90 -14
- package/lib/services/kinesis.d.ts.map +1 -1
- package/lib/services/kinesis.js +14 -14
- package/lib/services/kinesis.js.map +1 -1
- package/lib/services/rds.d.ts +44 -0
- package/lib/services/rds.d.ts.map +1 -1
- package/lib/services/rds.js +10 -10
- package/lib/services/rds.js.map +1 -1
- package/lib/services/route-53.d.ts +16 -0
- package/lib/services/route-53.d.ts.map +1 -1
- package/lib/services/route-53.js +2 -2
- package/lib/services/route-53.js.map +1 -1
- package/lib/services/s3.d.ts +58 -10
- package/lib/services/s3.d.ts.map +1 -1
- package/lib/services/s3.js +11 -11
- package/lib/services/s3.js.map +1 -1
- package/lib/services/scheduler.d.ts +4 -0
- package/lib/services/scheduler.d.ts.map +1 -1
- package/lib/services/scheduler.js +1 -1
- package/lib/services/scheduler.js.map +1 -1
- package/lib/services/secrets-manager.d.ts +68 -12
- package/lib/services/secrets-manager.d.ts.map +1 -1
- package/lib/services/secrets-manager.js +13 -12
- package/lib/services/secrets-manager.js.map +1 -1
- package/lib/services/sqs.d.ts +63 -7
- package/lib/services/sqs.d.ts.map +1 -1
- package/lib/services/sqs.js +11 -11
- package/lib/services/sqs.js.map +1 -1
- package/package.json +2 -2
- package/src/services/acm.ts +3 -3
- package/src/services/cloudwatch-logs.ts +13 -13
- package/src/services/dynamodb.ts +33 -33
- package/src/services/ec2.ts +13 -1
- package/src/services/ecr.ts +9 -9
- package/src/services/ecs.ts +28 -28
- package/src/services/eventbridge.ts +22 -12
- package/src/services/iam.ts +6 -6
- package/src/services/kinesis.ts +14 -14
- package/src/services/rds.ts +10 -10
- package/src/services/route-53.ts +2 -2
- package/src/services/s3.ts +11 -11
- package/src/services/scheduler.ts +1 -1
- package/src/services/secrets-manager.ts +13 -12
- package/src/services/sqs.ts +11 -11
|
@@ -4,6 +4,7 @@ import * as S from "effect/Schema";
|
|
|
4
4
|
import * as stream from "effect/Stream";
|
|
5
5
|
import * as API from "../client/api.ts";
|
|
6
6
|
import * as T from "../traits.ts";
|
|
7
|
+
import * as C from "../category.ts";
|
|
7
8
|
import type { Credentials } from "../credentials.ts";
|
|
8
9
|
import type { CommonErrors } from "../errors.ts";
|
|
9
10
|
import type { Region } from "../region.ts";
|
|
@@ -1157,51 +1158,51 @@ export const ValidateResourcePolicyResponse =
|
|
|
1157
1158
|
export class DecryptionFailure extends S.TaggedErrorClass<DecryptionFailure>()(
|
|
1158
1159
|
"DecryptionFailure",
|
|
1159
1160
|
{ Message: S.optional(S.String) },
|
|
1160
|
-
) {}
|
|
1161
|
+
).pipe(C.withServerError) {}
|
|
1161
1162
|
export class InternalServiceError extends S.TaggedErrorClass<InternalServiceError>()(
|
|
1162
1163
|
"InternalServiceError",
|
|
1163
1164
|
{ Message: S.optional(S.String) },
|
|
1164
|
-
) {}
|
|
1165
|
+
).pipe(C.withServerError, C.withRetryableError) {}
|
|
1165
1166
|
export class InvalidNextTokenException extends S.TaggedErrorClass<InvalidNextTokenException>()(
|
|
1166
1167
|
"InvalidNextTokenException",
|
|
1167
1168
|
{ Message: S.optional(S.String) },
|
|
1168
|
-
) {}
|
|
1169
|
+
).pipe(C.withBadRequestError) {}
|
|
1169
1170
|
export class InvalidParameterException extends S.TaggedErrorClass<InvalidParameterException>()(
|
|
1170
1171
|
"InvalidParameterException",
|
|
1171
1172
|
{ Message: S.optional(S.String) },
|
|
1172
|
-
) {}
|
|
1173
|
+
).pipe(C.withBadRequestError) {}
|
|
1173
1174
|
export class InvalidRequestException extends S.TaggedErrorClass<InvalidRequestException>()(
|
|
1174
1175
|
"InvalidRequestException",
|
|
1175
1176
|
{ Message: S.optional(S.String) },
|
|
1176
|
-
) {}
|
|
1177
|
+
).pipe(C.withBadRequestError) {}
|
|
1177
1178
|
export class ResourceNotFoundException extends S.TaggedErrorClass<ResourceNotFoundException>()(
|
|
1178
1179
|
"ResourceNotFoundException",
|
|
1179
1180
|
{ Message: S.optional(S.String) },
|
|
1180
|
-
) {}
|
|
1181
|
+
).pipe(C.withNotFoundError) {}
|
|
1181
1182
|
export class EncryptionFailure extends S.TaggedErrorClass<EncryptionFailure>()(
|
|
1182
1183
|
"EncryptionFailure",
|
|
1183
1184
|
{ Message: S.optional(S.String) },
|
|
1184
|
-
) {}
|
|
1185
|
+
).pipe(C.withServerError) {}
|
|
1185
1186
|
export class LimitExceededException extends S.TaggedErrorClass<LimitExceededException>()(
|
|
1186
1187
|
"LimitExceededException",
|
|
1187
1188
|
{ Message: S.optional(S.String) },
|
|
1188
|
-
) {}
|
|
1189
|
+
).pipe(C.withQuotaError) {}
|
|
1189
1190
|
export class MalformedPolicyDocumentException extends S.TaggedErrorClass<MalformedPolicyDocumentException>()(
|
|
1190
1191
|
"MalformedPolicyDocumentException",
|
|
1191
1192
|
{ Message: S.optional(S.String) },
|
|
1192
|
-
) {}
|
|
1193
|
+
).pipe(C.withBadRequestError) {}
|
|
1193
1194
|
export class PreconditionNotMetException extends S.TaggedErrorClass<PreconditionNotMetException>()(
|
|
1194
1195
|
"PreconditionNotMetException",
|
|
1195
1196
|
{ Message: S.optional(S.String) },
|
|
1196
|
-
) {}
|
|
1197
|
+
).pipe(C.withConflictError) {}
|
|
1197
1198
|
export class ResourceExistsException extends S.TaggedErrorClass<ResourceExistsException>()(
|
|
1198
1199
|
"ResourceExistsException",
|
|
1199
1200
|
{ Message: S.optional(S.String) },
|
|
1200
|
-
) {}
|
|
1201
|
+
).pipe(C.withConflictError, C.withAlreadyExistsError) {}
|
|
1201
1202
|
export class PublicPolicyException extends S.TaggedErrorClass<PublicPolicyException>()(
|
|
1202
1203
|
"PublicPolicyException",
|
|
1203
1204
|
{ Message: S.optional(S.String) },
|
|
1204
|
-
) {}
|
|
1205
|
+
).pipe(C.withBadRequestError) {}
|
|
1205
1206
|
|
|
1206
1207
|
//# Operations
|
|
1207
1208
|
export type BatchGetSecretValueError =
|
package/src/services/sqs.ts
CHANGED
|
@@ -1081,7 +1081,7 @@ export class OverLimit extends S.TaggedErrorClass<OverLimit>()(
|
|
|
1081
1081
|
"OverLimit",
|
|
1082
1082
|
{ message: S.optional(S.String) },
|
|
1083
1083
|
T.AwsQueryError({ code: "OverLimit", httpResponseCode: 403 }),
|
|
1084
|
-
).pipe(C.withAuthError) {}
|
|
1084
|
+
).pipe(C.withAuthError, C.withQuotaError) {}
|
|
1085
1085
|
export class QueueDoesNotExist extends S.TaggedErrorClass<QueueDoesNotExist>()(
|
|
1086
1086
|
"QueueDoesNotExist",
|
|
1087
1087
|
{ message: S.optional(S.String) },
|
|
@@ -1094,7 +1094,7 @@ export class RequestThrottled extends S.TaggedErrorClass<RequestThrottled>()(
|
|
|
1094
1094
|
"RequestThrottled",
|
|
1095
1095
|
{ message: S.optional(S.String) },
|
|
1096
1096
|
T.AwsQueryError({ code: "RequestThrottled", httpResponseCode: 403 }),
|
|
1097
|
-
).pipe(C.withAuthError) {}
|
|
1097
|
+
).pipe(C.withAuthError, C.withThrottlingError, C.withRetryableError) {}
|
|
1098
1098
|
export class UnsupportedOperation extends S.TaggedErrorClass<UnsupportedOperation>()(
|
|
1099
1099
|
"UnsupportedOperation",
|
|
1100
1100
|
{ message: S.optional(S.String) },
|
|
@@ -1115,7 +1115,7 @@ export class RequestLimitExceeded extends S.TaggedErrorClass<RequestLimitExceede
|
|
|
1115
1115
|
export class InvalidParameterValueException extends S.TaggedErrorClass<InvalidParameterValueException>()(
|
|
1116
1116
|
"InvalidParameterValueException",
|
|
1117
1117
|
{},
|
|
1118
|
-
) {}
|
|
1118
|
+
).pipe(C.withBadRequestError) {}
|
|
1119
1119
|
export class MessageNotInflight extends S.TaggedErrorClass<MessageNotInflight>()(
|
|
1120
1120
|
"MessageNotInflight",
|
|
1121
1121
|
{},
|
|
@@ -1164,11 +1164,11 @@ export class TooManyEntriesInBatchRequest extends S.TaggedErrorClass<TooManyEntr
|
|
|
1164
1164
|
export class InvalidAttributeName extends S.TaggedErrorClass<InvalidAttributeName>()(
|
|
1165
1165
|
"InvalidAttributeName",
|
|
1166
1166
|
{ message: S.optional(S.String) },
|
|
1167
|
-
) {}
|
|
1167
|
+
).pipe(C.withBadRequestError) {}
|
|
1168
1168
|
export class InvalidAttributeValue extends S.TaggedErrorClass<InvalidAttributeValue>()(
|
|
1169
1169
|
"InvalidAttributeValue",
|
|
1170
1170
|
{ message: S.optional(S.String) },
|
|
1171
|
-
) {}
|
|
1171
|
+
).pipe(C.withBadRequestError) {}
|
|
1172
1172
|
export class QueueDeletedRecently extends S.TaggedErrorClass<QueueDeletedRecently>()(
|
|
1173
1173
|
"QueueDeletedRecently",
|
|
1174
1174
|
{ message: S.optional(S.String) },
|
|
@@ -1185,7 +1185,7 @@ export class QueueNameExists extends S.TaggedErrorClass<QueueNameExists>()(
|
|
|
1185
1185
|
export class InvalidIdFormat extends S.TaggedErrorClass<InvalidIdFormat>()(
|
|
1186
1186
|
"InvalidIdFormat",
|
|
1187
1187
|
{},
|
|
1188
|
-
) {}
|
|
1188
|
+
).pipe(C.withBadRequestError) {}
|
|
1189
1189
|
export class PurgeQueueInProgress extends S.TaggedErrorClass<PurgeQueueInProgress>()(
|
|
1190
1190
|
"PurgeQueueInProgress",
|
|
1191
1191
|
{ message: S.optional(S.String) },
|
|
@@ -1193,7 +1193,7 @@ export class PurgeQueueInProgress extends S.TaggedErrorClass<PurgeQueueInProgres
|
|
|
1193
1193
|
code: "AWS.SimpleQueueService.PurgeQueueInProgress",
|
|
1194
1194
|
httpResponseCode: 403,
|
|
1195
1195
|
}),
|
|
1196
|
-
).pipe(C.withAuthError) {}
|
|
1196
|
+
).pipe(C.withAuthError, C.withConflictError, C.withRetryableError) {}
|
|
1197
1197
|
export class KmsAccessDenied extends S.TaggedErrorClass<KmsAccessDenied>()(
|
|
1198
1198
|
"KmsAccessDenied",
|
|
1199
1199
|
{ message: S.optional(S.String) },
|
|
@@ -1231,15 +1231,15 @@ export class KmsThrottled extends S.TaggedErrorClass<KmsThrottled>()(
|
|
|
1231
1231
|
"KmsThrottled",
|
|
1232
1232
|
{ message: S.optional(S.String) },
|
|
1233
1233
|
T.AwsQueryError({ code: "KMS.ThrottlingException", httpResponseCode: 400 }),
|
|
1234
|
-
).pipe(C.withBadRequestError) {}
|
|
1234
|
+
).pipe(C.withBadRequestError, C.withThrottlingError, C.withRetryableError) {}
|
|
1235
1235
|
export class InvalidMessageContents extends S.TaggedErrorClass<InvalidMessageContents>()(
|
|
1236
1236
|
"InvalidMessageContents",
|
|
1237
1237
|
{ message: S.optional(S.String) },
|
|
1238
|
-
) {}
|
|
1238
|
+
).pipe(C.withBadRequestError) {}
|
|
1239
1239
|
export class MissingRequiredParameterException extends S.TaggedErrorClass<MissingRequiredParameterException>()(
|
|
1240
1240
|
"MissingRequiredParameterException",
|
|
1241
1241
|
{},
|
|
1242
|
-
) {}
|
|
1242
|
+
).pipe(C.withBadRequestError) {}
|
|
1243
1243
|
export class BatchRequestTooLong extends S.TaggedErrorClass<BatchRequestTooLong>()(
|
|
1244
1244
|
"BatchRequestTooLong",
|
|
1245
1245
|
{ message: S.optional(S.String) },
|
|
@@ -1255,7 +1255,7 @@ export class ParseError extends S.TaggedErrorClass<ParseError>()(
|
|
|
1255
1255
|
export class CommonServiceException extends S.TaggedErrorClass<CommonServiceException>()(
|
|
1256
1256
|
"CommonServiceException",
|
|
1257
1257
|
{},
|
|
1258
|
-
) {}
|
|
1258
|
+
).pipe(C.withServerError) {}
|
|
1259
1259
|
|
|
1260
1260
|
//# Operations
|
|
1261
1261
|
export type AddPermissionError =
|