@effect-aws/client-scheduler 1.9.5 → 1.10.2
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/dist/cjs/Errors.d.ts +3 -3
- package/dist/cjs/Errors.d.ts.map +1 -1
- package/dist/cjs/Errors.js +1 -3
- package/dist/cjs/Errors.js.map +1 -1
- package/dist/cjs/SchedulerService.d.ts +16 -15
- package/dist/cjs/SchedulerService.d.ts.map +1 -1
- package/dist/cjs/SchedulerService.js +1 -1
- package/dist/cjs/SchedulerService.js.map +1 -1
- package/dist/dts/Errors.d.ts +3 -3
- package/dist/dts/Errors.d.ts.map +1 -1
- package/dist/dts/SchedulerService.d.ts +16 -15
- package/dist/dts/SchedulerService.d.ts.map +1 -1
- package/dist/esm/Errors.js +0 -2
- package/dist/esm/Errors.js.map +1 -1
- package/dist/esm/SchedulerService.js +1 -1
- package/dist/esm/SchedulerService.js.map +1 -1
- package/package.json +2 -2
- package/src/Errors.ts +1 -4
- package/src/SchedulerService.ts +52 -13
package/dist/cjs/Errors.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException } from "@aws-sdk/client-scheduler";
|
|
2
2
|
import type { TaggedException } from "@effect-aws/commons";
|
|
3
|
-
import { SdkError as CommonSdkError } from "@effect-aws/commons";
|
|
4
3
|
export declare const AllServiceErrors: readonly ["ConflictException", "InternalServerException", "ResourceNotFoundException", "ServiceQuotaExceededException", "ThrottlingException", "ValidationException"];
|
|
5
4
|
export type ConflictError = TaggedException<ConflictException>;
|
|
6
5
|
export type InternalServerError = TaggedException<InternalServerException>;
|
|
@@ -8,6 +7,7 @@ export type ResourceNotFoundError = TaggedException<ResourceNotFoundException>;
|
|
|
8
7
|
export type ServiceQuotaExceededError = TaggedException<ServiceQuotaExceededException>;
|
|
9
8
|
export type ThrottlingError = TaggedException<ThrottlingException>;
|
|
10
9
|
export type ValidationError = TaggedException<ValidationException>;
|
|
11
|
-
export type SdkError =
|
|
12
|
-
|
|
10
|
+
export type SdkError = TaggedException<Error & {
|
|
11
|
+
name: "SdkError";
|
|
12
|
+
}>;
|
|
13
13
|
//# sourceMappingURL=Errors.d.ts.map
|
package/dist/cjs/Errors.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Errors.d.ts","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iBAAiB,EACjB,uBAAuB,EACvB,yBAAyB,EACzB,6BAA6B,EAC7B,mBAAmB,EACnB,mBAAmB,EACpB,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"Errors.d.ts","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iBAAiB,EACjB,uBAAuB,EACvB,yBAAyB,EACzB,6BAA6B,EAC7B,mBAAmB,EACnB,mBAAmB,EACpB,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAE3D,eAAO,MAAM,gBAAgB,uKAOnB,CAAC;AAEX,MAAM,MAAM,aAAa,GAAG,eAAe,CAAC,iBAAiB,CAAC,CAAC;AAC/D,MAAM,MAAM,mBAAmB,GAAG,eAAe,CAAC,uBAAuB,CAAC,CAAC;AAC3E,MAAM,MAAM,qBAAqB,GAAG,eAAe,CAAC,yBAAyB,CAAC,CAAC;AAC/E,MAAM,MAAM,yBAAyB,GAAG,eAAe,CAAC,6BAA6B,CAAC,CAAC;AACvF,MAAM,MAAM,eAAe,GAAG,eAAe,CAAC,mBAAmB,CAAC,CAAC;AACnE,MAAM,MAAM,eAAe,GAAG,eAAe,CAAC,mBAAmB,CAAC,CAAC;AACnE,MAAM,MAAM,QAAQ,GAAG,eAAe,CAAC,KAAK,GAAG;IAAE,IAAI,EAAE,UAAU,CAAA;CAAE,CAAC,CAAC"}
|
package/dist/cjs/Errors.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
const commons_1 = require("@effect-aws/commons");
|
|
3
|
+
exports.AllServiceErrors = void 0;
|
|
5
4
|
exports.AllServiceErrors = [
|
|
6
5
|
"ConflictException",
|
|
7
6
|
"InternalServerException",
|
|
@@ -10,5 +9,4 @@ exports.AllServiceErrors = [
|
|
|
10
9
|
"ThrottlingException",
|
|
11
10
|
"ValidationException",
|
|
12
11
|
];
|
|
13
|
-
exports.SdkError = commons_1.SdkError;
|
|
14
12
|
//# sourceMappingURL=Errors.js.map
|
package/dist/cjs/Errors.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Errors.js","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"Errors.js","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":";;;AAUa,QAAA,gBAAgB,GAAG;IAC9B,mBAAmB;IACnB,yBAAyB;IACzB,2BAA2B;IAC3B,+BAA+B;IAC/B,qBAAqB;IACrB,qBAAqB;CACb,CAAC"}
|
|
@@ -2,60 +2,61 @@
|
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*/
|
|
4
4
|
import { type CreateScheduleCommandInput, type CreateScheduleCommandOutput, type CreateScheduleGroupCommandInput, type CreateScheduleGroupCommandOutput, type DeleteScheduleCommandInput, type DeleteScheduleCommandOutput, type DeleteScheduleGroupCommandInput, type DeleteScheduleGroupCommandOutput, type GetScheduleCommandInput, type GetScheduleCommandOutput, type GetScheduleGroupCommandInput, type GetScheduleGroupCommandOutput, type ListScheduleGroupsCommandInput, type ListScheduleGroupsCommandOutput, type ListSchedulesCommandInput, type ListSchedulesCommandOutput, type ListTagsForResourceCommandInput, type ListTagsForResourceCommandOutput, type SchedulerClient, type SchedulerClientConfig, type TagResourceCommandInput, type TagResourceCommandOutput, type UntagResourceCommandInput, type UntagResourceCommandOutput, type UpdateScheduleCommandInput, type UpdateScheduleCommandOutput } from "@aws-sdk/client-scheduler";
|
|
5
|
-
import type { HttpHandlerOptions,
|
|
5
|
+
import type { HttpHandlerOptions, ServiceLogger } from "@effect-aws/commons";
|
|
6
|
+
import type { Cause } from "effect";
|
|
6
7
|
import { Effect, Layer } from "effect";
|
|
7
|
-
import type { ConflictError, InternalServerError, ResourceNotFoundError, ServiceQuotaExceededError, ThrottlingError, ValidationError } from "./Errors.js";
|
|
8
|
+
import type { ConflictError, InternalServerError, ResourceNotFoundError, SdkError, ServiceQuotaExceededError, ThrottlingError, ValidationError } from "./Errors.js";
|
|
8
9
|
import * as Instance from "./SchedulerClientInstance.js";
|
|
9
10
|
interface SchedulerService$ {
|
|
10
11
|
readonly _: unique symbol;
|
|
11
12
|
/**
|
|
12
13
|
* @see {@link CreateScheduleCommand}
|
|
13
14
|
*/
|
|
14
|
-
createSchedule(args: CreateScheduleCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateScheduleCommandOutput, SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
|
|
15
|
+
createSchedule(args: CreateScheduleCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateScheduleCommandOutput, Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
|
|
15
16
|
/**
|
|
16
17
|
* @see {@link CreateScheduleGroupCommand}
|
|
17
18
|
*/
|
|
18
|
-
createScheduleGroup(args: CreateScheduleGroupCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateScheduleGroupCommandOutput, SdkError | ConflictError | InternalServerError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
|
|
19
|
+
createScheduleGroup(args: CreateScheduleGroupCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateScheduleGroupCommandOutput, Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
|
|
19
20
|
/**
|
|
20
21
|
* @see {@link DeleteScheduleCommand}
|
|
21
22
|
*/
|
|
22
|
-
deleteSchedule(args: DeleteScheduleCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteScheduleCommandOutput, SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
23
|
+
deleteSchedule(args: DeleteScheduleCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteScheduleCommandOutput, Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
23
24
|
/**
|
|
24
25
|
* @see {@link DeleteScheduleGroupCommand}
|
|
25
26
|
*/
|
|
26
|
-
deleteScheduleGroup(args: DeleteScheduleGroupCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteScheduleGroupCommandOutput, SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
27
|
+
deleteScheduleGroup(args: DeleteScheduleGroupCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteScheduleGroupCommandOutput, Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
27
28
|
/**
|
|
28
29
|
* @see {@link GetScheduleCommand}
|
|
29
30
|
*/
|
|
30
|
-
getSchedule(args: GetScheduleCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetScheduleCommandOutput, SdkError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
31
|
+
getSchedule(args: GetScheduleCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetScheduleCommandOutput, Cause.TimeoutException | SdkError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
31
32
|
/**
|
|
32
33
|
* @see {@link GetScheduleGroupCommand}
|
|
33
34
|
*/
|
|
34
|
-
getScheduleGroup(args: GetScheduleGroupCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetScheduleGroupCommandOutput, SdkError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
35
|
+
getScheduleGroup(args: GetScheduleGroupCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetScheduleGroupCommandOutput, Cause.TimeoutException | SdkError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
35
36
|
/**
|
|
36
37
|
* @see {@link ListScheduleGroupsCommand}
|
|
37
38
|
*/
|
|
38
|
-
listScheduleGroups(args: ListScheduleGroupsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListScheduleGroupsCommandOutput, SdkError | InternalServerError | ThrottlingError | ValidationError>;
|
|
39
|
+
listScheduleGroups(args: ListScheduleGroupsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListScheduleGroupsCommandOutput, Cause.TimeoutException | SdkError | InternalServerError | ThrottlingError | ValidationError>;
|
|
39
40
|
/**
|
|
40
41
|
* @see {@link ListSchedulesCommand}
|
|
41
42
|
*/
|
|
42
|
-
listSchedules(args: ListSchedulesCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListSchedulesCommandOutput, SdkError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
43
|
+
listSchedules(args: ListSchedulesCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListSchedulesCommandOutput, Cause.TimeoutException | SdkError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
43
44
|
/**
|
|
44
45
|
* @see {@link ListTagsForResourceCommand}
|
|
45
46
|
*/
|
|
46
|
-
listTagsForResource(args: ListTagsForResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListTagsForResourceCommandOutput, SdkError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
47
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListTagsForResourceCommandOutput, Cause.TimeoutException | SdkError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
47
48
|
/**
|
|
48
49
|
* @see {@link TagResourceCommand}
|
|
49
50
|
*/
|
|
50
|
-
tagResource(args: TagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<TagResourceCommandOutput, SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
51
|
+
tagResource(args: TagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<TagResourceCommandOutput, Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
51
52
|
/**
|
|
52
53
|
* @see {@link UntagResourceCommand}
|
|
53
54
|
*/
|
|
54
|
-
untagResource(args: UntagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<UntagResourceCommandOutput, SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
55
|
+
untagResource(args: UntagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<UntagResourceCommandOutput, Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
55
56
|
/**
|
|
56
57
|
* @see {@link UpdateScheduleCommand}
|
|
57
58
|
*/
|
|
58
|
-
updateSchedule(args: UpdateScheduleCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateScheduleCommandOutput, SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
59
|
+
updateSchedule(args: UpdateScheduleCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateScheduleCommandOutput, Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
59
60
|
}
|
|
60
61
|
/**
|
|
61
62
|
* @since 1.0.0
|
|
@@ -63,7 +64,7 @@ interface SchedulerService$ {
|
|
|
63
64
|
*/
|
|
64
65
|
export declare const makeSchedulerService: Effect.Effect<SchedulerService$, never, Instance.SchedulerClientInstance>;
|
|
65
66
|
declare const SchedulerService_base: import("effect/Context").TagClass<SchedulerService, "@effect-aws/client-scheduler/SchedulerService", SchedulerService$> & Effect.Tag.Proxy<SchedulerService, SchedulerService$> & {
|
|
66
|
-
use: <X>(body: (_: SchedulerService$) => X) => [X] extends [Effect.Effect<infer A, infer E, infer R>] ? Effect.Effect<A, E, SchedulerService | R> : [X] extends [PromiseLike<infer A_1>] ? Effect.Effect<A_1,
|
|
67
|
+
use: <X>(body: (_: SchedulerService$) => X) => [X] extends [Effect.Effect<infer A, infer E, infer R>] ? Effect.Effect<A, E, SchedulerService | R> : [X] extends [PromiseLike<infer A_1>] ? Effect.Effect<A_1, Cause.UnknownException, SchedulerService> : Effect.Effect<X, never, SchedulerService>;
|
|
67
68
|
};
|
|
68
69
|
/**
|
|
69
70
|
* @since 1.0.0
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SchedulerService.d.ts","sourceRoot":"","sources":["../../src/SchedulerService.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAEL,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,EAEhC,KAAK,+BAA+B,EACpC,KAAK,gCAAgC,EAErC,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,EAEhC,KAAK,+BAA+B,EACpC,KAAK,gCAAgC,EAErC,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAE7B,KAAK,4BAA4B,EACjC,KAAK,6BAA6B,EAElC,KAAK,8BAA8B,EACnC,KAAK,+BAA+B,EAEpC,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAE/B,KAAK,+BAA+B,EACpC,KAAK,gCAAgC,EACrC,KAAK,eAAe,EACpB,KAAK,qBAAqB,EAE1B,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAE7B,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B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AAgB,GACtB,QAAQ,GACR,aAAa,GACb,mBAAmB,GACnB,qBAAqB,GACrB,eAAe,GACf,eAAe,CAClB,CAAC;IAEF;;OAEG;IACH,cAAc,CACZ,IAAI,EAAE,0BAA0B,EAChC,OAAO,CAAC,EAAE,kBAAkB,GAC3B,MAAM,CAAC,MAAM,CACd,2BAA2B,EACzB,KAAK,CAAC,gBAAgB,GACtB,QAAQ,GACR,aAAa,GACb,mBAAmB,GACnB,qBAAqB,GACrB,eAAe,GACf,eAAe,CAClB,CAAC;CACH;AAED;;;GAGG;AACH,eAAO,MAAM,oBAAoB,2EAW/B,CAAC;;;;AAEH;;;GAGG;AACH,qBAAa,gBAAiB,SAAQ,qBAGnC;IACD,MAAM,CAAC,QAAQ,CAAC,YAAY,8CAAgF;IAC5G,MAAM,CAAC,QAAQ,CAAC,KAAK,WAAY,iBAAiB,MAAM,iDAIpD;IACJ,MAAM,CAAC,QAAQ,CAAC,SAAS,aACb,CAAC,aAAa,EAAE,qBAAqB,KAAK,eAAe,iDASjE;CACL;AAED;;GAEG;AACH,MAAM,CAAC,OAAO,WAAW,gBAAgB,CAAC;IACxC;;OAEG;IACH,UAAiB,MAAO,SAAQ,IAAI,CAAC,qBAAqB,EAAE,QAAQ,CAAC;QACnE,QAAQ,CAAC,MAAM,CAAC,EAAE,aAAa,CAAC,6BAA6B,GAAG,IAAI,CAAC;KACtE;CACF"}
|
|
@@ -53,7 +53,7 @@ const commands = {
|
|
|
53
53
|
*/
|
|
54
54
|
exports.makeSchedulerService = effect_1.Effect.gen(function* () {
|
|
55
55
|
const client = yield* Instance.SchedulerClientInstance;
|
|
56
|
-
return commons_1.Service.fromClientAndCommands(client, commands, {
|
|
56
|
+
return yield* commons_1.Service.fromClientAndCommands(client, commands, {
|
|
57
57
|
errorTags: Errors_js_1.AllServiceErrors,
|
|
58
58
|
resolveClientConfig: SchedulerServiceConfig.toSchedulerClientConfig,
|
|
59
59
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SchedulerService.js","sourceRoot":"","sources":["../../src/SchedulerService.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,gEAuCmC;AAEnC,iDAA8C;
|
|
1
|
+
{"version":3,"file":"SchedulerService.js","sourceRoot":"","sources":["../../src/SchedulerService.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,gEAuCmC;AAEnC,iDAA8C;AAE9C,mCAAuC;AAUvC,2CAA+C;AAC/C,uEAAyD;AACzD,oFAAsE;AAEtE,MAAM,QAAQ,GAAG;IACf,qBAAqB,EAArB,wCAAqB;IACrB,0BAA0B,EAA1B,6CAA0B;IAC1B,qBAAqB,EAArB,wCAAqB;IACrB,0BAA0B,EAA1B,6CAA0B;IAC1B,kBAAkB,EAAlB,qCAAkB;IAClB,uBAAuB,EAAvB,0CAAuB;IACvB,yBAAyB,EAAzB,4CAAyB;IACzB,oBAAoB,EAApB,uCAAoB;IACpB,0BAA0B,EAA1B,6CAA0B;IAC1B,kBAAkB,EAAlB,qCAAkB;IAClB,oBAAoB,EAApB,uCAAoB;IACpB,qBAAqB,EAArB,wCAAqB;CACtB,CAAC;AAqLF;;;GAGG;AACU,QAAA,oBAAoB,GAAG,eAAM,CAAC,GAAG,CAAC,QAAQ,CAAC;IACtD,MAAM,MAAM,GAAG,KAAK,CAAC,CAAC,QAAQ,CAAC,uBAAuB,CAAC;IAEvD,OAAO,KAAK,CAAC,CAAC,iBAAO,CAAC,qBAAqB,CACzC,MAAM,EACN,QAAQ,EACR;QACE,SAAS,EAAE,4BAAgB;QAC3B,mBAAmB,EAAE,sBAAsB,CAAC,uBAAuB;KACpE,CACF,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,MAAa,gBAAiB,SAAQ,eAAM,CAAC,GAAG,CAAC,+CAA+C,CAAC,EAG9F;IACD,MAAM,CAAU,YAAY,GAAG,cAAK,CAAC,MAAM,CAAC,IAAI,EAAE,4BAAoB,CAAC,CAAC,IAAI,CAAC,cAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC;IAC5G,MAAM,CAAU,KAAK,GAAG,CAAC,MAA+B,EAAE,EAAE,CAC1D,cAAK,CAAC,MAAM,CAAC,IAAI,EAAE,4BAAoB,CAAC,CAAC,IAAI,CAC3C,cAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,EAC7B,cAAK,CAAC,OAAO,CAAC,sBAAsB,CAAC,yBAAyB,CAAC,MAAM,CAAC,CAAC,CACxE,CAAC;IACJ,MAAM,CAAU,SAAS,GAAG,CAC1B,QAAmE,EACnE,EAAE,CACF,cAAK,CAAC,MAAM,CAAC,IAAI,EAAE,4BAAoB,CAAC,CAAC,IAAI,CAC3C,cAAK,CAAC,OAAO,CACX,cAAK,CAAC,MAAM,CACV,QAAQ,CAAC,uBAAuB,EAChC,eAAM,CAAC,GAAG,CAAC,sBAAsB,CAAC,uBAAuB,EAAE,QAAQ,CAAC,CACrE,CACF,CACF,CAAC;;AApBN,4CAqBC"}
|
package/dist/dts/Errors.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException } from "@aws-sdk/client-scheduler";
|
|
2
2
|
import type { TaggedException } from "@effect-aws/commons";
|
|
3
|
-
import { SdkError as CommonSdkError } from "@effect-aws/commons";
|
|
4
3
|
export declare const AllServiceErrors: readonly ["ConflictException", "InternalServerException", "ResourceNotFoundException", "ServiceQuotaExceededException", "ThrottlingException", "ValidationException"];
|
|
5
4
|
export type ConflictError = TaggedException<ConflictException>;
|
|
6
5
|
export type InternalServerError = TaggedException<InternalServerException>;
|
|
@@ -8,6 +7,7 @@ export type ResourceNotFoundError = TaggedException<ResourceNotFoundException>;
|
|
|
8
7
|
export type ServiceQuotaExceededError = TaggedException<ServiceQuotaExceededException>;
|
|
9
8
|
export type ThrottlingError = TaggedException<ThrottlingException>;
|
|
10
9
|
export type ValidationError = TaggedException<ValidationException>;
|
|
11
|
-
export type SdkError =
|
|
12
|
-
|
|
10
|
+
export type SdkError = TaggedException<Error & {
|
|
11
|
+
name: "SdkError";
|
|
12
|
+
}>;
|
|
13
13
|
//# sourceMappingURL=Errors.d.ts.map
|
package/dist/dts/Errors.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Errors.d.ts","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iBAAiB,EACjB,uBAAuB,EACvB,yBAAyB,EACzB,6BAA6B,EAC7B,mBAAmB,EACnB,mBAAmB,EACpB,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"Errors.d.ts","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iBAAiB,EACjB,uBAAuB,EACvB,yBAAyB,EACzB,6BAA6B,EAC7B,mBAAmB,EACnB,mBAAmB,EACpB,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAE3D,eAAO,MAAM,gBAAgB,uKAOnB,CAAC;AAEX,MAAM,MAAM,aAAa,GAAG,eAAe,CAAC,iBAAiB,CAAC,CAAC;AAC/D,MAAM,MAAM,mBAAmB,GAAG,eAAe,CAAC,uBAAuB,CAAC,CAAC;AAC3E,MAAM,MAAM,qBAAqB,GAAG,eAAe,CAAC,yBAAyB,CAAC,CAAC;AAC/E,MAAM,MAAM,yBAAyB,GAAG,eAAe,CAAC,6BAA6B,CAAC,CAAC;AACvF,MAAM,MAAM,eAAe,GAAG,eAAe,CAAC,mBAAmB,CAAC,CAAC;AACnE,MAAM,MAAM,eAAe,GAAG,eAAe,CAAC,mBAAmB,CAAC,CAAC;AACnE,MAAM,MAAM,QAAQ,GAAG,eAAe,CAAC,KAAK,GAAG;IAAE,IAAI,EAAE,UAAU,CAAA;CAAE,CAAC,CAAC"}
|
|
@@ -2,60 +2,61 @@
|
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*/
|
|
4
4
|
import { type CreateScheduleCommandInput, type CreateScheduleCommandOutput, type CreateScheduleGroupCommandInput, type CreateScheduleGroupCommandOutput, type DeleteScheduleCommandInput, type DeleteScheduleCommandOutput, type DeleteScheduleGroupCommandInput, type DeleteScheduleGroupCommandOutput, type GetScheduleCommandInput, type GetScheduleCommandOutput, type GetScheduleGroupCommandInput, type GetScheduleGroupCommandOutput, type ListScheduleGroupsCommandInput, type ListScheduleGroupsCommandOutput, type ListSchedulesCommandInput, type ListSchedulesCommandOutput, type ListTagsForResourceCommandInput, type ListTagsForResourceCommandOutput, type SchedulerClient, type SchedulerClientConfig, type TagResourceCommandInput, type TagResourceCommandOutput, type UntagResourceCommandInput, type UntagResourceCommandOutput, type UpdateScheduleCommandInput, type UpdateScheduleCommandOutput } from "@aws-sdk/client-scheduler";
|
|
5
|
-
import type { HttpHandlerOptions,
|
|
5
|
+
import type { HttpHandlerOptions, ServiceLogger } from "@effect-aws/commons";
|
|
6
|
+
import type { Cause } from "effect";
|
|
6
7
|
import { Effect, Layer } from "effect";
|
|
7
|
-
import type { ConflictError, InternalServerError, ResourceNotFoundError, ServiceQuotaExceededError, ThrottlingError, ValidationError } from "./Errors.js";
|
|
8
|
+
import type { ConflictError, InternalServerError, ResourceNotFoundError, SdkError, ServiceQuotaExceededError, ThrottlingError, ValidationError } from "./Errors.js";
|
|
8
9
|
import * as Instance from "./SchedulerClientInstance.js";
|
|
9
10
|
interface SchedulerService$ {
|
|
10
11
|
readonly _: unique symbol;
|
|
11
12
|
/**
|
|
12
13
|
* @see {@link CreateScheduleCommand}
|
|
13
14
|
*/
|
|
14
|
-
createSchedule(args: CreateScheduleCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateScheduleCommandOutput, SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
|
|
15
|
+
createSchedule(args: CreateScheduleCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateScheduleCommandOutput, Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
|
|
15
16
|
/**
|
|
16
17
|
* @see {@link CreateScheduleGroupCommand}
|
|
17
18
|
*/
|
|
18
|
-
createScheduleGroup(args: CreateScheduleGroupCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateScheduleGroupCommandOutput, SdkError | ConflictError | InternalServerError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
|
|
19
|
+
createScheduleGroup(args: CreateScheduleGroupCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateScheduleGroupCommandOutput, Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
|
|
19
20
|
/**
|
|
20
21
|
* @see {@link DeleteScheduleCommand}
|
|
21
22
|
*/
|
|
22
|
-
deleteSchedule(args: DeleteScheduleCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteScheduleCommandOutput, SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
23
|
+
deleteSchedule(args: DeleteScheduleCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteScheduleCommandOutput, Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
23
24
|
/**
|
|
24
25
|
* @see {@link DeleteScheduleGroupCommand}
|
|
25
26
|
*/
|
|
26
|
-
deleteScheduleGroup(args: DeleteScheduleGroupCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteScheduleGroupCommandOutput, SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
27
|
+
deleteScheduleGroup(args: DeleteScheduleGroupCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteScheduleGroupCommandOutput, Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
27
28
|
/**
|
|
28
29
|
* @see {@link GetScheduleCommand}
|
|
29
30
|
*/
|
|
30
|
-
getSchedule(args: GetScheduleCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetScheduleCommandOutput, SdkError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
31
|
+
getSchedule(args: GetScheduleCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetScheduleCommandOutput, Cause.TimeoutException | SdkError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
31
32
|
/**
|
|
32
33
|
* @see {@link GetScheduleGroupCommand}
|
|
33
34
|
*/
|
|
34
|
-
getScheduleGroup(args: GetScheduleGroupCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetScheduleGroupCommandOutput, SdkError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
35
|
+
getScheduleGroup(args: GetScheduleGroupCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetScheduleGroupCommandOutput, Cause.TimeoutException | SdkError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
35
36
|
/**
|
|
36
37
|
* @see {@link ListScheduleGroupsCommand}
|
|
37
38
|
*/
|
|
38
|
-
listScheduleGroups(args: ListScheduleGroupsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListScheduleGroupsCommandOutput, SdkError | InternalServerError | ThrottlingError | ValidationError>;
|
|
39
|
+
listScheduleGroups(args: ListScheduleGroupsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListScheduleGroupsCommandOutput, Cause.TimeoutException | SdkError | InternalServerError | ThrottlingError | ValidationError>;
|
|
39
40
|
/**
|
|
40
41
|
* @see {@link ListSchedulesCommand}
|
|
41
42
|
*/
|
|
42
|
-
listSchedules(args: ListSchedulesCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListSchedulesCommandOutput, SdkError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
43
|
+
listSchedules(args: ListSchedulesCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListSchedulesCommandOutput, Cause.TimeoutException | SdkError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
43
44
|
/**
|
|
44
45
|
* @see {@link ListTagsForResourceCommand}
|
|
45
46
|
*/
|
|
46
|
-
listTagsForResource(args: ListTagsForResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListTagsForResourceCommandOutput, SdkError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
47
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListTagsForResourceCommandOutput, Cause.TimeoutException | SdkError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
47
48
|
/**
|
|
48
49
|
* @see {@link TagResourceCommand}
|
|
49
50
|
*/
|
|
50
|
-
tagResource(args: TagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<TagResourceCommandOutput, SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
51
|
+
tagResource(args: TagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<TagResourceCommandOutput, Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
51
52
|
/**
|
|
52
53
|
* @see {@link UntagResourceCommand}
|
|
53
54
|
*/
|
|
54
|
-
untagResource(args: UntagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<UntagResourceCommandOutput, SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
55
|
+
untagResource(args: UntagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<UntagResourceCommandOutput, Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
55
56
|
/**
|
|
56
57
|
* @see {@link UpdateScheduleCommand}
|
|
57
58
|
*/
|
|
58
|
-
updateSchedule(args: UpdateScheduleCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateScheduleCommandOutput, SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
59
|
+
updateSchedule(args: UpdateScheduleCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateScheduleCommandOutput, Cause.TimeoutException | SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
|
|
59
60
|
}
|
|
60
61
|
/**
|
|
61
62
|
* @since 1.0.0
|
|
@@ -63,7 +64,7 @@ interface SchedulerService$ {
|
|
|
63
64
|
*/
|
|
64
65
|
export declare const makeSchedulerService: Effect.Effect<SchedulerService$, never, Instance.SchedulerClientInstance>;
|
|
65
66
|
declare const SchedulerService_base: import("effect/Context").TagClass<SchedulerService, "@effect-aws/client-scheduler/SchedulerService", SchedulerService$> & Effect.Tag.Proxy<SchedulerService, SchedulerService$> & {
|
|
66
|
-
use: <X>(body: (_: SchedulerService$) => X) => [X] extends [Effect.Effect<infer A, infer E, infer R>] ? Effect.Effect<A, E, SchedulerService | R> : [X] extends [PromiseLike<infer A_1>] ? Effect.Effect<A_1,
|
|
67
|
+
use: <X>(body: (_: SchedulerService$) => X) => [X] extends [Effect.Effect<infer A, infer E, infer R>] ? Effect.Effect<A, E, SchedulerService | R> : [X] extends [PromiseLike<infer A_1>] ? Effect.Effect<A_1, Cause.UnknownException, SchedulerService> : Effect.Effect<X, never, SchedulerService>;
|
|
67
68
|
};
|
|
68
69
|
/**
|
|
69
70
|
* @since 1.0.0
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SchedulerService.d.ts","sourceRoot":"","sources":["../../src/SchedulerService.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EA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AAQ,IAAI,CAAC,qBAAqB,EAAE,QAAQ,CAAC;QACnE,QAAQ,CAAC,MAAM,CAAC,EAAE,aAAa,CAAC,6BAA6B,GAAG,IAAI,CAAC;KACtE;CACF"}
|
package/dist/esm/Errors.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { SdkError as CommonSdkError } from "@effect-aws/commons";
|
|
2
1
|
export const AllServiceErrors = [
|
|
3
2
|
"ConflictException",
|
|
4
3
|
"InternalServerException",
|
|
@@ -7,5 +6,4 @@ export const AllServiceErrors = [
|
|
|
7
6
|
"ThrottlingException",
|
|
8
7
|
"ValidationException",
|
|
9
8
|
];
|
|
10
|
-
export const SdkError = CommonSdkError;
|
|
11
9
|
//# sourceMappingURL=Errors.js.map
|
package/dist/esm/Errors.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Errors.js","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Errors.js","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":"AAUA,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,mBAAmB;IACnB,yBAAyB;IACzB,2BAA2B;IAC3B,+BAA+B;IAC/B,qBAAqB;IACrB,qBAAqB;CACb,CAAC"}
|
|
@@ -27,7 +27,7 @@ const commands = {
|
|
|
27
27
|
*/
|
|
28
28
|
export const makeSchedulerService = Effect.gen(function* () {
|
|
29
29
|
const client = yield* Instance.SchedulerClientInstance;
|
|
30
|
-
return Service.fromClientAndCommands(client, commands, {
|
|
30
|
+
return yield* Service.fromClientAndCommands(client, commands, {
|
|
31
31
|
errorTags: AllServiceErrors,
|
|
32
32
|
resolveClientConfig: SchedulerServiceConfig.toSchedulerClientConfig,
|
|
33
33
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SchedulerService.js","sourceRoot":"","sources":["../../src/SchedulerService.ts"],"names":[],"mappings":"AAAA;;GAEG;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EvD,OAAO,KAAK,CAAC,CAAC,OAAO,CAAC,qBAAqB,CACzC,MAAM,EACN,QAAQ,EACR;QACE,SAAS,EAAE,gBAAgB;QAC3B,mBAAmB,EAAE,sBAAsB,CAAC,uBAAuB;KACpE,CACF,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,MAAM,OAAO,gBAAiB,SAAQ,MAAM,CAAC,GAAG,CAAC,+CAA+C,CAAC,EAG9F;IACD,MAAM,CAAU,YAAY,GAAG,KAAK,CAAC,MAAM,CAAC,IAAI,EAAE,oBAAoB,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC;IAC5G,MAAM,CAAU,KAAK,GAAG,CAAC,MAA+B,EAAE,EAAE,CAC1D,KAAK,CAAC,MAAM,CAAC,IAAI,EAAE,oBAAoB,CAAC,CAAC,IAAI,CAC3C,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,EAC7B,KAAK,CAAC,OAAO,CAAC,sBAAsB,CAAC,yBAAyB,CAAC,MAAM,CAAC,CAAC,CACxE,CAAC;IACJ,MAAM,CAAU,SAAS,GAAG,CAC1B,QAAmE,EACnE,EAAE,CACF,KAAK,CAAC,MAAM,CAAC,IAAI,EAAE,oBAAoB,CAAC,CAAC,IAAI,CAC3C,KAAK,CAAC,OAAO,CACX,KAAK,CAAC,MAAM,CACV,QAAQ,CAAC,uBAAuB,EAChC,MAAM,CAAC,GAAG,CAAC,sBAAsB,CAAC,uBAAuB,EAAE,QAAQ,CAAC,CACrE,CACF,CACF,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@effect-aws/client-scheduler",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.10.2",
|
|
4
4
|
"description": "Effectful AWS Scheduler client",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"homepage": "https://floydspace.github.io/effect-aws/docs/client-scheduler",
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@aws-sdk/client-scheduler": "^3",
|
|
19
|
-
"@effect-aws/commons": "^0.
|
|
19
|
+
"@effect-aws/commons": "^0.3.0"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
22
|
"effect": ">=3.0.4 <4.0.0"
|
package/src/Errors.ts
CHANGED
|
@@ -7,7 +7,6 @@ import type {
|
|
|
7
7
|
ValidationException,
|
|
8
8
|
} from "@aws-sdk/client-scheduler";
|
|
9
9
|
import type { TaggedException } from "@effect-aws/commons";
|
|
10
|
-
import { SdkError as CommonSdkError } from "@effect-aws/commons";
|
|
11
10
|
|
|
12
11
|
export const AllServiceErrors = [
|
|
13
12
|
"ConflictException",
|
|
@@ -24,6 +23,4 @@ export type ResourceNotFoundError = TaggedException<ResourceNotFoundException>;
|
|
|
24
23
|
export type ServiceQuotaExceededError = TaggedException<ServiceQuotaExceededException>;
|
|
25
24
|
export type ThrottlingError = TaggedException<ThrottlingException>;
|
|
26
25
|
export type ValidationError = TaggedException<ValidationException>;
|
|
27
|
-
|
|
28
|
-
export type SdkError = CommonSdkError;
|
|
29
|
-
export const SdkError = CommonSdkError;
|
|
26
|
+
export type SdkError = TaggedException<Error & { name: "SdkError" }>;
|
package/src/SchedulerService.ts
CHANGED
|
@@ -41,13 +41,15 @@ import {
|
|
|
41
41
|
type UpdateScheduleCommandInput,
|
|
42
42
|
type UpdateScheduleCommandOutput,
|
|
43
43
|
} from "@aws-sdk/client-scheduler";
|
|
44
|
-
import type { HttpHandlerOptions,
|
|
44
|
+
import type { HttpHandlerOptions, ServiceLogger } from "@effect-aws/commons";
|
|
45
45
|
import { Service } from "@effect-aws/commons";
|
|
46
|
+
import type { Cause } from "effect";
|
|
46
47
|
import { Effect, Layer } from "effect";
|
|
47
48
|
import type {
|
|
48
49
|
ConflictError,
|
|
49
50
|
InternalServerError,
|
|
50
51
|
ResourceNotFoundError,
|
|
52
|
+
SdkError,
|
|
51
53
|
ServiceQuotaExceededError,
|
|
52
54
|
ThrottlingError,
|
|
53
55
|
ValidationError,
|
|
@@ -82,6 +84,7 @@ interface SchedulerService$ {
|
|
|
82
84
|
options?: HttpHandlerOptions,
|
|
83
85
|
): Effect.Effect<
|
|
84
86
|
CreateScheduleCommandOutput,
|
|
87
|
+
| Cause.TimeoutException
|
|
85
88
|
| SdkError
|
|
86
89
|
| ConflictError
|
|
87
90
|
| InternalServerError
|
|
@@ -99,7 +102,13 @@ interface SchedulerService$ {
|
|
|
99
102
|
options?: HttpHandlerOptions,
|
|
100
103
|
): Effect.Effect<
|
|
101
104
|
CreateScheduleGroupCommandOutput,
|
|
102
|
-
|
|
105
|
+
| Cause.TimeoutException
|
|
106
|
+
| SdkError
|
|
107
|
+
| ConflictError
|
|
108
|
+
| InternalServerError
|
|
109
|
+
| ServiceQuotaExceededError
|
|
110
|
+
| ThrottlingError
|
|
111
|
+
| ValidationError
|
|
103
112
|
>;
|
|
104
113
|
|
|
105
114
|
/**
|
|
@@ -110,7 +119,13 @@ interface SchedulerService$ {
|
|
|
110
119
|
options?: HttpHandlerOptions,
|
|
111
120
|
): Effect.Effect<
|
|
112
121
|
DeleteScheduleCommandOutput,
|
|
113
|
-
|
|
122
|
+
| Cause.TimeoutException
|
|
123
|
+
| SdkError
|
|
124
|
+
| ConflictError
|
|
125
|
+
| InternalServerError
|
|
126
|
+
| ResourceNotFoundError
|
|
127
|
+
| ThrottlingError
|
|
128
|
+
| ValidationError
|
|
114
129
|
>;
|
|
115
130
|
|
|
116
131
|
/**
|
|
@@ -121,7 +136,13 @@ interface SchedulerService$ {
|
|
|
121
136
|
options?: HttpHandlerOptions,
|
|
122
137
|
): Effect.Effect<
|
|
123
138
|
DeleteScheduleGroupCommandOutput,
|
|
124
|
-
|
|
139
|
+
| Cause.TimeoutException
|
|
140
|
+
| SdkError
|
|
141
|
+
| ConflictError
|
|
142
|
+
| InternalServerError
|
|
143
|
+
| ResourceNotFoundError
|
|
144
|
+
| ThrottlingError
|
|
145
|
+
| ValidationError
|
|
125
146
|
>;
|
|
126
147
|
|
|
127
148
|
/**
|
|
@@ -132,7 +153,7 @@ interface SchedulerService$ {
|
|
|
132
153
|
options?: HttpHandlerOptions,
|
|
133
154
|
): Effect.Effect<
|
|
134
155
|
GetScheduleCommandOutput,
|
|
135
|
-
SdkError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError
|
|
156
|
+
Cause.TimeoutException | SdkError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError
|
|
136
157
|
>;
|
|
137
158
|
|
|
138
159
|
/**
|
|
@@ -143,7 +164,7 @@ interface SchedulerService$ {
|
|
|
143
164
|
options?: HttpHandlerOptions,
|
|
144
165
|
): Effect.Effect<
|
|
145
166
|
GetScheduleGroupCommandOutput,
|
|
146
|
-
SdkError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError
|
|
167
|
+
Cause.TimeoutException | SdkError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError
|
|
147
168
|
>;
|
|
148
169
|
|
|
149
170
|
/**
|
|
@@ -154,7 +175,7 @@ interface SchedulerService$ {
|
|
|
154
175
|
options?: HttpHandlerOptions,
|
|
155
176
|
): Effect.Effect<
|
|
156
177
|
ListScheduleGroupsCommandOutput,
|
|
157
|
-
SdkError | InternalServerError | ThrottlingError | ValidationError
|
|
178
|
+
Cause.TimeoutException | SdkError | InternalServerError | ThrottlingError | ValidationError
|
|
158
179
|
>;
|
|
159
180
|
|
|
160
181
|
/**
|
|
@@ -165,7 +186,7 @@ interface SchedulerService$ {
|
|
|
165
186
|
options?: HttpHandlerOptions,
|
|
166
187
|
): Effect.Effect<
|
|
167
188
|
ListSchedulesCommandOutput,
|
|
168
|
-
SdkError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError
|
|
189
|
+
Cause.TimeoutException | SdkError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError
|
|
169
190
|
>;
|
|
170
191
|
|
|
171
192
|
/**
|
|
@@ -176,7 +197,7 @@ interface SchedulerService$ {
|
|
|
176
197
|
options?: HttpHandlerOptions,
|
|
177
198
|
): Effect.Effect<
|
|
178
199
|
ListTagsForResourceCommandOutput,
|
|
179
|
-
SdkError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError
|
|
200
|
+
Cause.TimeoutException | SdkError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError
|
|
180
201
|
>;
|
|
181
202
|
|
|
182
203
|
/**
|
|
@@ -187,7 +208,13 @@ interface SchedulerService$ {
|
|
|
187
208
|
options?: HttpHandlerOptions,
|
|
188
209
|
): Effect.Effect<
|
|
189
210
|
TagResourceCommandOutput,
|
|
190
|
-
|
|
211
|
+
| Cause.TimeoutException
|
|
212
|
+
| SdkError
|
|
213
|
+
| ConflictError
|
|
214
|
+
| InternalServerError
|
|
215
|
+
| ResourceNotFoundError
|
|
216
|
+
| ThrottlingError
|
|
217
|
+
| ValidationError
|
|
191
218
|
>;
|
|
192
219
|
|
|
193
220
|
/**
|
|
@@ -198,7 +225,13 @@ interface SchedulerService$ {
|
|
|
198
225
|
options?: HttpHandlerOptions,
|
|
199
226
|
): Effect.Effect<
|
|
200
227
|
UntagResourceCommandOutput,
|
|
201
|
-
|
|
228
|
+
| Cause.TimeoutException
|
|
229
|
+
| SdkError
|
|
230
|
+
| ConflictError
|
|
231
|
+
| InternalServerError
|
|
232
|
+
| ResourceNotFoundError
|
|
233
|
+
| ThrottlingError
|
|
234
|
+
| ValidationError
|
|
202
235
|
>;
|
|
203
236
|
|
|
204
237
|
/**
|
|
@@ -209,7 +242,13 @@ interface SchedulerService$ {
|
|
|
209
242
|
options?: HttpHandlerOptions,
|
|
210
243
|
): Effect.Effect<
|
|
211
244
|
UpdateScheduleCommandOutput,
|
|
212
|
-
|
|
245
|
+
| Cause.TimeoutException
|
|
246
|
+
| SdkError
|
|
247
|
+
| ConflictError
|
|
248
|
+
| InternalServerError
|
|
249
|
+
| ResourceNotFoundError
|
|
250
|
+
| ThrottlingError
|
|
251
|
+
| ValidationError
|
|
213
252
|
>;
|
|
214
253
|
}
|
|
215
254
|
|
|
@@ -220,7 +259,7 @@ interface SchedulerService$ {
|
|
|
220
259
|
export const makeSchedulerService = Effect.gen(function*() {
|
|
221
260
|
const client = yield* Instance.SchedulerClientInstance;
|
|
222
261
|
|
|
223
|
-
return Service.fromClientAndCommands<SchedulerService$>(
|
|
262
|
+
return yield* Service.fromClientAndCommands<SchedulerService$>(
|
|
224
263
|
client,
|
|
225
264
|
commands,
|
|
226
265
|
{
|