@effect-aws/client-scheduler 1.2.0 → 1.9.3

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 (69) hide show
  1. package/Errors/package.json +6 -0
  2. package/SchedulerClientInstance/package.json +6 -0
  3. package/SchedulerService/package.json +6 -0
  4. package/SchedulerServiceConfig/package.json +6 -0
  5. package/{lib → dist/cjs}/Errors.d.ts +6 -11
  6. package/dist/cjs/Errors.d.ts.map +1 -0
  7. package/dist/cjs/Errors.js +14 -0
  8. package/dist/cjs/Errors.js.map +1 -0
  9. package/dist/cjs/SchedulerClientInstance.d.ts +24 -0
  10. package/dist/cjs/SchedulerClientInstance.d.ts.map +1 -0
  11. package/dist/cjs/SchedulerClientInstance.js +50 -0
  12. package/dist/cjs/SchedulerClientInstance.js.map +1 -0
  13. package/dist/cjs/SchedulerService.d.ts +89 -0
  14. package/dist/cjs/SchedulerService.d.ts.map +1 -0
  15. package/dist/cjs/SchedulerService.js +71 -0
  16. package/dist/cjs/SchedulerService.js.map +1 -0
  17. package/dist/cjs/SchedulerServiceConfig.d.ts +25 -0
  18. package/dist/cjs/SchedulerServiceConfig.d.ts.map +1 -0
  19. package/dist/cjs/SchedulerServiceConfig.js +35 -0
  20. package/dist/cjs/SchedulerServiceConfig.js.map +1 -0
  21. package/dist/cjs/index.d.ts +39 -0
  22. package/dist/cjs/index.d.ts.map +1 -0
  23. package/dist/cjs/index.js +56 -0
  24. package/dist/cjs/index.js.map +1 -0
  25. package/dist/dts/Errors.d.ts +13 -0
  26. package/dist/dts/Errors.d.ts.map +1 -0
  27. package/dist/dts/SchedulerClientInstance.d.ts +24 -0
  28. package/dist/dts/SchedulerClientInstance.d.ts.map +1 -0
  29. package/dist/dts/SchedulerService.d.ts +89 -0
  30. package/dist/dts/SchedulerService.d.ts.map +1 -0
  31. package/dist/dts/SchedulerServiceConfig.d.ts +25 -0
  32. package/dist/dts/SchedulerServiceConfig.d.ts.map +1 -0
  33. package/dist/dts/index.d.ts +39 -0
  34. package/dist/dts/index.d.ts.map +1 -0
  35. package/dist/esm/Errors.js +11 -0
  36. package/dist/esm/Errors.js.map +1 -0
  37. package/dist/esm/SchedulerClientInstance.js +23 -0
  38. package/dist/esm/SchedulerClientInstance.js.map +1 -0
  39. package/dist/esm/SchedulerService.js +44 -0
  40. package/dist/esm/SchedulerService.js.map +1 -0
  41. package/dist/esm/SchedulerServiceConfig.js +31 -0
  42. package/dist/esm/SchedulerServiceConfig.js.map +1 -0
  43. package/dist/esm/index.js +27 -0
  44. package/dist/esm/index.js.map +1 -0
  45. package/dist/esm/package.json +4 -0
  46. package/package.json +60 -43
  47. package/src/Errors.ts +29 -0
  48. package/src/SchedulerClientInstance.ts +33 -0
  49. package/src/SchedulerService.ts +270 -0
  50. package/src/SchedulerServiceConfig.ts +52 -0
  51. package/src/index.ts +44 -0
  52. package/CHANGELOG.md +0 -31
  53. package/docgen.json +0 -8
  54. package/lib/Errors.js +0 -14
  55. package/lib/SchedulerClientInstance.d.ts +0 -31
  56. package/lib/SchedulerClientInstance.js +0 -57
  57. package/lib/SchedulerClientInstanceConfig.d.ts +0 -23
  58. package/lib/SchedulerClientInstanceConfig.js +0 -44
  59. package/lib/SchedulerService.d.ts +0 -125
  60. package/lib/SchedulerService.js +0 -100
  61. package/lib/esm/Errors.js +0 -11
  62. package/lib/esm/SchedulerClientInstance.js +0 -30
  63. package/lib/esm/SchedulerClientInstanceConfig.js +0 -40
  64. package/lib/esm/SchedulerService.js +0 -96
  65. package/lib/esm/index.js +0 -5
  66. package/lib/index.d.ts +0 -4
  67. package/lib/index.js +0 -21
  68. package/project.json +0 -77
  69. package/vitest.config.ts +0 -3
@@ -0,0 +1,6 @@
1
+ {
2
+ "main": "../dist/cjs/Errors.js",
3
+ "module": "../dist/esm/Errors.js",
4
+ "types": "../dist/dts/Errors.d.ts",
5
+ "sideEffects": []
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "main": "../dist/cjs/SchedulerClientInstance.js",
3
+ "module": "../dist/esm/SchedulerClientInstance.js",
4
+ "types": "../dist/dts/SchedulerClientInstance.d.ts",
5
+ "sideEffects": []
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "main": "../dist/cjs/SchedulerService.js",
3
+ "module": "../dist/esm/SchedulerService.js",
4
+ "types": "../dist/dts/SchedulerService.d.ts",
5
+ "sideEffects": []
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "main": "../dist/cjs/SchedulerServiceConfig.js",
3
+ "module": "../dist/esm/SchedulerServiceConfig.js",
4
+ "types": "../dist/dts/SchedulerServiceConfig.d.ts",
5
+ "sideEffects": []
6
+ }
@@ -1,18 +1,13 @@
1
1
  import type { ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException } from "@aws-sdk/client-scheduler";
2
- import { Data } from "effect";
3
- export declare const AllServiceErrors: string[];
4
- export type TaggedException<T extends {
5
- name: string;
6
- }> = T & {
7
- readonly _tag: T["name"];
8
- };
2
+ import type { TaggedException } from "@effect-aws/commons";
3
+ import { SdkError as CommonSdkError } from "@effect-aws/commons";
4
+ export declare const AllServiceErrors: readonly ["ConflictException", "InternalServerException", "ResourceNotFoundException", "ServiceQuotaExceededException", "ThrottlingException", "ValidationException"];
9
5
  export type ConflictError = TaggedException<ConflictException>;
10
6
  export type InternalServerError = TaggedException<InternalServerException>;
11
7
  export type ResourceNotFoundError = TaggedException<ResourceNotFoundException>;
12
8
  export type ServiceQuotaExceededError = TaggedException<ServiceQuotaExceededException>;
13
9
  export type ThrottlingError = TaggedException<ThrottlingException>;
14
10
  export type ValidationError = TaggedException<ValidationException>;
15
- export type SdkError = TaggedException<Error & {
16
- name: "SdkError";
17
- }>;
18
- export declare const SdkError: Data.Case.Constructor<SdkError, "_tag">;
11
+ export type SdkError = CommonSdkError;
12
+ export declare const SdkError: import("effect/Data").Case.Constructor<CommonSdkError, "_tag">;
13
+ //# sourceMappingURL=Errors.d.ts.map
@@ -0,0 +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;AAC3D,OAAO,EAAE,QAAQ,IAAI,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAEjE,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;AAEnE,MAAM,MAAM,QAAQ,GAAG,cAAc,CAAC;AACtC,eAAO,MAAM,QAAQ,gEAAiB,CAAC"}
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SdkError = exports.AllServiceErrors = void 0;
4
+ const commons_1 = require("@effect-aws/commons");
5
+ exports.AllServiceErrors = [
6
+ "ConflictException",
7
+ "InternalServerException",
8
+ "ResourceNotFoundException",
9
+ "ServiceQuotaExceededException",
10
+ "ThrottlingException",
11
+ "ValidationException",
12
+ ];
13
+ exports.SdkError = commons_1.SdkError;
14
+ //# sourceMappingURL=Errors.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Errors.js","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":";;;AASA,iDAAiE;AAEpD,QAAA,gBAAgB,GAAG;IAC9B,mBAAmB;IACnB,yBAAyB;IACzB,2BAA2B;IAC3B,+BAA+B;IAC/B,qBAAqB;IACrB,qBAAqB;CACb,CAAC;AAUE,QAAA,QAAQ,GAAG,kBAAc,CAAC"}
@@ -0,0 +1,24 @@
1
+ /**
2
+ * @since 1.0.0
3
+ */
4
+ import { SchedulerClient } from "@aws-sdk/client-scheduler";
5
+ import { Context, Effect, Layer } from "effect";
6
+ declare const SchedulerClientInstance_base: Context.TagClass<SchedulerClientInstance, "@effect-aws/client-scheduler/SchedulerClientInstance", SchedulerClient>;
7
+ /**
8
+ * @since 1.0.0
9
+ * @category tags
10
+ */
11
+ export declare class SchedulerClientInstance extends SchedulerClientInstance_base {
12
+ }
13
+ /**
14
+ * @since 1.0.0
15
+ * @category constructors
16
+ */
17
+ export declare const make: Effect.Effect<SchedulerClient, never, import("effect/Scope").Scope>;
18
+ /**
19
+ * @since 1.0.0
20
+ * @category layers
21
+ */
22
+ export declare const layer: Layer.Layer<SchedulerClientInstance, never, never>;
23
+ export {};
24
+ //# sourceMappingURL=SchedulerClientInstance.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SchedulerClientInstance.d.ts","sourceRoot":"","sources":["../../src/SchedulerClientInstance.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;;AAGhD;;;GAGG;AACH,qBAAa,uBAAwB,SAAQ,4BAEA;CAAG;AAEhD;;;GAGG;AACH,eAAO,MAAM,IAAI,qEAOhB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,KAAK,oDAA8C,CAAC"}
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.layer = exports.make = exports.SchedulerClientInstance = void 0;
27
+ /**
28
+ * @since 1.0.0
29
+ */
30
+ const client_scheduler_1 = require("@aws-sdk/client-scheduler");
31
+ const effect_1 = require("effect");
32
+ const SchedulerServiceConfig = __importStar(require("./SchedulerServiceConfig.js"));
33
+ /**
34
+ * @since 1.0.0
35
+ * @category tags
36
+ */
37
+ class SchedulerClientInstance extends effect_1.Context.Tag("@effect-aws/client-scheduler/SchedulerClientInstance")() {
38
+ }
39
+ exports.SchedulerClientInstance = SchedulerClientInstance;
40
+ /**
41
+ * @since 1.0.0
42
+ * @category constructors
43
+ */
44
+ exports.make = effect_1.Effect.flatMap(SchedulerServiceConfig.toSchedulerClientConfig, (config) => effect_1.Effect.acquireRelease(effect_1.Effect.sync(() => new client_scheduler_1.SchedulerClient(config)), (client) => effect_1.Effect.sync(() => client.destroy())));
45
+ /**
46
+ * @since 1.0.0
47
+ * @category layers
48
+ */
49
+ exports.layer = effect_1.Layer.scoped(SchedulerClientInstance, exports.make);
50
+ //# sourceMappingURL=SchedulerClientInstance.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SchedulerClientInstance.js","sourceRoot":"","sources":["../../src/SchedulerClientInstance.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,gEAA4D;AAC5D,mCAAgD;AAChD,oFAAsE;AAEtE;;;GAGG;AACH,MAAa,uBAAwB,SAAQ,gBAAO,CAAC,GAAG,CACtD,sDAAsD,CACvD,EAA4C;CAAG;AAFhD,0DAEgD;AAEhD;;;GAGG;AACU,QAAA,IAAI,GAAG,eAAM,CAAC,OAAO,CAChC,sBAAsB,CAAC,uBAAuB,EAC9C,CAAC,MAAM,EAAE,EAAE,CACT,eAAM,CAAC,cAAc,CACnB,eAAM,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,IAAI,kCAAe,CAAC,MAAM,CAAC,CAAC,EAC9C,CAAC,MAAM,EAAE,EAAE,CAAC,eAAM,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC,CAChD,CACJ,CAAC;AAEF;;;GAGG;AACU,QAAA,KAAK,GAAG,cAAK,CAAC,MAAM,CAAC,uBAAuB,EAAE,YAAI,CAAC,CAAC"}
@@ -0,0 +1,89 @@
1
+ /**
2
+ * @since 1.0.0
3
+ */
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, SdkError, ServiceLogger } from "@effect-aws/commons";
6
+ import { Effect, Layer } from "effect";
7
+ import type { ConflictError, InternalServerError, ResourceNotFoundError, ServiceQuotaExceededError, ThrottlingError, ValidationError } from "./Errors.js";
8
+ import * as Instance from "./SchedulerClientInstance.js";
9
+ interface SchedulerService$ {
10
+ readonly _: unique symbol;
11
+ /**
12
+ * @see {@link CreateScheduleCommand}
13
+ */
14
+ createSchedule(args: CreateScheduleCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateScheduleCommandOutput, SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
15
+ /**
16
+ * @see {@link CreateScheduleGroupCommand}
17
+ */
18
+ createScheduleGroup(args: CreateScheduleGroupCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateScheduleGroupCommandOutput, SdkError | ConflictError | InternalServerError | ServiceQuotaExceededError | ThrottlingError | ValidationError>;
19
+ /**
20
+ * @see {@link DeleteScheduleCommand}
21
+ */
22
+ deleteSchedule(args: DeleteScheduleCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteScheduleCommandOutput, SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
23
+ /**
24
+ * @see {@link DeleteScheduleGroupCommand}
25
+ */
26
+ deleteScheduleGroup(args: DeleteScheduleGroupCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteScheduleGroupCommandOutput, SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
27
+ /**
28
+ * @see {@link GetScheduleCommand}
29
+ */
30
+ getSchedule(args: GetScheduleCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetScheduleCommandOutput, SdkError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
31
+ /**
32
+ * @see {@link GetScheduleGroupCommand}
33
+ */
34
+ getScheduleGroup(args: GetScheduleGroupCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetScheduleGroupCommandOutput, SdkError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
35
+ /**
36
+ * @see {@link ListScheduleGroupsCommand}
37
+ */
38
+ listScheduleGroups(args: ListScheduleGroupsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListScheduleGroupsCommandOutput, SdkError | InternalServerError | ThrottlingError | ValidationError>;
39
+ /**
40
+ * @see {@link ListSchedulesCommand}
41
+ */
42
+ listSchedules(args: ListSchedulesCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListSchedulesCommandOutput, SdkError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
43
+ /**
44
+ * @see {@link ListTagsForResourceCommand}
45
+ */
46
+ listTagsForResource(args: ListTagsForResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListTagsForResourceCommandOutput, SdkError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
47
+ /**
48
+ * @see {@link TagResourceCommand}
49
+ */
50
+ tagResource(args: TagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<TagResourceCommandOutput, SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
51
+ /**
52
+ * @see {@link UntagResourceCommand}
53
+ */
54
+ untagResource(args: UntagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<UntagResourceCommandOutput, SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
55
+ /**
56
+ * @see {@link UpdateScheduleCommand}
57
+ */
58
+ updateSchedule(args: UpdateScheduleCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateScheduleCommandOutput, SdkError | ConflictError | InternalServerError | ResourceNotFoundError | ThrottlingError | ValidationError>;
59
+ }
60
+ /**
61
+ * @since 1.0.0
62
+ * @category constructors
63
+ */
64
+ export declare const makeSchedulerService: Effect.Effect<SchedulerService$, never, Instance.SchedulerClientInstance>;
65
+ 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, import("effect/Cause").UnknownException, SchedulerService> : Effect.Effect<X, never, SchedulerService>;
67
+ };
68
+ /**
69
+ * @since 1.0.0
70
+ * @category models
71
+ */
72
+ export declare class SchedulerService extends SchedulerService_base {
73
+ static readonly defaultLayer: Layer.Layer<SchedulerService, never, never>;
74
+ static readonly layer: (config: SchedulerService.Config) => Layer.Layer<SchedulerService, never, never>;
75
+ static readonly baseLayer: (evaluate: (defaultConfig: SchedulerClientConfig) => SchedulerClient) => Layer.Layer<SchedulerService, never, never>;
76
+ }
77
+ /**
78
+ * @since 1.0.0
79
+ */
80
+ export declare namespace SchedulerService {
81
+ /**
82
+ * @since 1.0.0
83
+ */
84
+ interface Config extends Omit<SchedulerClientConfig, "logger"> {
85
+ readonly logger?: ServiceLogger.ServiceLoggerConstructorProps | true;
86
+ }
87
+ }
88
+ export {};
89
+ //# sourceMappingURL=SchedulerService.d.ts.map
@@ -0,0 +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,E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AAC,MAAM,CAAC,EAAE,aAAa,CAAC,6BAA6B,GAAG,IAAI,CAAC;KACtE;CACF"}
@@ -0,0 +1,71 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.SchedulerService = exports.makeSchedulerService = void 0;
27
+ /**
28
+ * @since 1.0.0
29
+ */
30
+ const client_scheduler_1 = require("@aws-sdk/client-scheduler");
31
+ const commons_1 = require("@effect-aws/commons");
32
+ const effect_1 = require("effect");
33
+ const Errors_js_1 = require("./Errors.js");
34
+ const Instance = __importStar(require("./SchedulerClientInstance.js"));
35
+ const SchedulerServiceConfig = __importStar(require("./SchedulerServiceConfig.js"));
36
+ const commands = {
37
+ CreateScheduleCommand: client_scheduler_1.CreateScheduleCommand,
38
+ CreateScheduleGroupCommand: client_scheduler_1.CreateScheduleGroupCommand,
39
+ DeleteScheduleCommand: client_scheduler_1.DeleteScheduleCommand,
40
+ DeleteScheduleGroupCommand: client_scheduler_1.DeleteScheduleGroupCommand,
41
+ GetScheduleCommand: client_scheduler_1.GetScheduleCommand,
42
+ GetScheduleGroupCommand: client_scheduler_1.GetScheduleGroupCommand,
43
+ ListScheduleGroupsCommand: client_scheduler_1.ListScheduleGroupsCommand,
44
+ ListSchedulesCommand: client_scheduler_1.ListSchedulesCommand,
45
+ ListTagsForResourceCommand: client_scheduler_1.ListTagsForResourceCommand,
46
+ TagResourceCommand: client_scheduler_1.TagResourceCommand,
47
+ UntagResourceCommand: client_scheduler_1.UntagResourceCommand,
48
+ UpdateScheduleCommand: client_scheduler_1.UpdateScheduleCommand,
49
+ };
50
+ /**
51
+ * @since 1.0.0
52
+ * @category constructors
53
+ */
54
+ exports.makeSchedulerService = effect_1.Effect.gen(function* () {
55
+ const client = yield* Instance.SchedulerClientInstance;
56
+ return commons_1.Service.fromClientAndCommands(client, commands, {
57
+ errorTags: Errors_js_1.AllServiceErrors,
58
+ resolveClientConfig: SchedulerServiceConfig.toSchedulerClientConfig,
59
+ });
60
+ });
61
+ /**
62
+ * @since 1.0.0
63
+ * @category models
64
+ */
65
+ class SchedulerService extends effect_1.Effect.Tag("@effect-aws/client-scheduler/SchedulerService")() {
66
+ static defaultLayer = effect_1.Layer.effect(this, exports.makeSchedulerService).pipe(effect_1.Layer.provide(Instance.layer));
67
+ static layer = (config) => effect_1.Layer.effect(this, exports.makeSchedulerService).pipe(effect_1.Layer.provide(Instance.layer), effect_1.Layer.provide(SchedulerServiceConfig.setSchedulerServiceConfig(config)));
68
+ static baseLayer = (evaluate) => effect_1.Layer.effect(this, exports.makeSchedulerService).pipe(effect_1.Layer.provide(effect_1.Layer.effect(Instance.SchedulerClientInstance, effect_1.Effect.map(SchedulerServiceConfig.toSchedulerClientConfig, evaluate))));
69
+ }
70
+ exports.SchedulerService = SchedulerService;
71
+ //# sourceMappingURL=SchedulerService.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SchedulerService.js","sourceRoot":"","sources":["../../src/SchedulerService.ts"],"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AI,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"}
@@ -0,0 +1,25 @@
1
+ /**
2
+ * @since 1.0.0
3
+ */
4
+ import type { SchedulerClientConfig } from "@aws-sdk/client-scheduler";
5
+ import { Effect, Layer } from "effect";
6
+ import type { SchedulerService } from "./SchedulerService.js";
7
+ /**
8
+ * @since 1.0.0
9
+ * @category scheduler service config
10
+ */
11
+ export declare const withSchedulerServiceConfig: {
12
+ (config: SchedulerService.Config): <A, E, R>(effect: Effect.Effect<A, E, R>) => Effect.Effect<A, E, R>;
13
+ <A, E, R>(effect: Effect.Effect<A, E, R>, config: SchedulerService.Config): Effect.Effect<A, E, R>;
14
+ };
15
+ /**
16
+ * @since 1.0.0
17
+ * @category scheduler service config
18
+ */
19
+ export declare const setSchedulerServiceConfig: (config: SchedulerService.Config) => Layer.Layer<never, never, never>;
20
+ /**
21
+ * @since 1.0.0
22
+ * @category adapters
23
+ */
24
+ export declare const toSchedulerClientConfig: Effect.Effect<SchedulerClientConfig>;
25
+ //# sourceMappingURL=SchedulerServiceConfig.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SchedulerServiceConfig.d.ts","sourceRoot":"","sources":["../../src/SchedulerServiceConfig.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAEvE,OAAO,EAAE,MAAM,EAAY,KAAK,EAAE,MAAM,QAAQ,CAAC;AAGjD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAW9D;;;GAGG;AACH,eAAO,MAAM,0BAA0B,EAAE;IACvC,CAAC,MAAM,EAAE,gBAAgB,CAAC,MAAM,GAAG,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,KAAK,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;IACvG,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,gBAAgB,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;CAKpG,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,yBAAyB,WAAY,iBAAiB,MAAM,qCACb,CAAC;AAE7D;;;GAGG;AACH,eAAO,MAAM,uBAAuB,EAAE,MAAM,CAAC,MAAM,CAAC,qBAAqB,CAQvE,CAAC"}
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.toSchedulerClientConfig = exports.setSchedulerServiceConfig = exports.withSchedulerServiceConfig = void 0;
4
+ const commons_1 = require("@effect-aws/commons");
5
+ const effect_1 = require("effect");
6
+ const Function_1 = require("effect/Function");
7
+ const GlobalValue_1 = require("effect/GlobalValue");
8
+ /**
9
+ * @since 1.0.0
10
+ * @category scheduler service config
11
+ */
12
+ const currentSchedulerServiceConfig = (0, GlobalValue_1.globalValue)("@effect-aws/client-scheduler/currentSchedulerServiceConfig", () => effect_1.FiberRef.unsafeMake({}));
13
+ /**
14
+ * @since 1.0.0
15
+ * @category scheduler service config
16
+ */
17
+ exports.withSchedulerServiceConfig = (0, Function_1.dual)(2, (effect, config) => effect_1.Effect.locally(effect, currentSchedulerServiceConfig, config));
18
+ /**
19
+ * @since 1.0.0
20
+ * @category scheduler service config
21
+ */
22
+ const setSchedulerServiceConfig = (config) => effect_1.Layer.locallyScoped(currentSchedulerServiceConfig, config);
23
+ exports.setSchedulerServiceConfig = setSchedulerServiceConfig;
24
+ /**
25
+ * @since 1.0.0
26
+ * @category adapters
27
+ */
28
+ exports.toSchedulerClientConfig = effect_1.Effect.gen(function* () {
29
+ const { logger: serviceLogger, ...config } = yield* effect_1.FiberRef.get(currentSchedulerServiceConfig);
30
+ const logger = serviceLogger === true
31
+ ? yield* commons_1.ServiceLogger.toClientLogger(commons_1.ServiceLogger.defaultServiceLogger)
32
+ : (serviceLogger ? yield* commons_1.ServiceLogger.toClientLogger(commons_1.ServiceLogger.make(serviceLogger)) : undefined);
33
+ return { logger, ...config };
34
+ });
35
+ //# sourceMappingURL=SchedulerServiceConfig.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SchedulerServiceConfig.js","sourceRoot":"","sources":["../../src/SchedulerServiceConfig.ts"],"names":[],"mappings":";;;AAIA,iDAAoD;AACpD,mCAAiD;AACjD,8CAAuC;AACvC,oDAAiD;AAGjD;;;GAGG;AACH,MAAM,6BAA6B,GAAG,IAAA,yBAAW,EAC/C,4DAA4D,EAC5D,GAAG,EAAE,CAAC,iBAAQ,CAAC,UAAU,CAA0B,EAAE,CAAC,CACvD,CAAC;AAEF;;;GAGG;AACU,QAAA,0BAA0B,GAGnC,IAAA,eAAI,EACN,CAAC,EACD,CAAU,MAA8B,EAAE,MAA+B,EAA0B,EAAE,CACnG,eAAM,CAAC,OAAO,CAAC,MAAM,EAAE,6BAA6B,EAAE,MAAM,CAAC,CAChE,CAAC;AAEF;;;GAGG;AACI,MAAM,yBAAyB,GAAG,CAAC,MAA+B,EAAE,EAAE,CAC3E,cAAK,CAAC,aAAa,CAAC,6BAA6B,EAAE,MAAM,CAAC,CAAC;AADhD,QAAA,yBAAyB,6BACuB;AAE7D;;;GAGG;AACU,QAAA,uBAAuB,GAAyC,eAAM,CAAC,GAAG,CAAC,QAAQ,CAAC;IAC/F,MAAM,EAAE,MAAM,EAAE,aAAa,EAAE,GAAG,MAAM,EAAE,GAAG,KAAK,CAAC,CAAC,iBAAQ,CAAC,GAAG,CAAC,6BAA6B,CAAC,CAAC;IAEhG,MAAM,MAAM,GAAG,aAAa,KAAK,IAAI;QACnC,CAAC,CAAC,KAAK,CAAC,CAAC,uBAAa,CAAC,cAAc,CAAC,uBAAa,CAAC,oBAAoB,CAAC;QACzE,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,uBAAa,CAAC,cAAc,CAAC,uBAAa,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;IAEzG,OAAO,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,CAAC;AAC/B,CAAC,CAAC,CAAC"}
@@ -0,0 +1,39 @@
1
+ /**
2
+ * @since 1.0.0
3
+ */
4
+ import { SchedulerService } from "./SchedulerService.js";
5
+ /**
6
+ * @since 1.0.0
7
+ */
8
+ export * from "./Errors.js";
9
+ /**
10
+ * @since 1.0.0
11
+ */
12
+ export * as SchedulerClientInstance from "./SchedulerClientInstance.js";
13
+ /**
14
+ * @since 1.0.0
15
+ */
16
+ export * as SchedulerServiceConfig from "./SchedulerServiceConfig.js";
17
+ /**
18
+ * @since 1.0.0
19
+ */
20
+ export * from "./SchedulerService.js";
21
+ /**
22
+ * @since 1.0.0
23
+ * @category exports
24
+ * @alias SchedulerService
25
+ */
26
+ export declare namespace Scheduler {
27
+ /**
28
+ * @since 1.0.0
29
+ * @alias SchedulerService.Config
30
+ */
31
+ type Config = SchedulerService.Config;
32
+ }
33
+ /**
34
+ * @since 1.0.0
35
+ * @category exports
36
+ * @alias SchedulerService
37
+ */
38
+ export declare const Scheduler: typeof SchedulerService;
39
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAEzD;;GAEG;AACH,cAAc,aAAa,CAAC;AAE5B;;GAEG;AACH,OAAO,KAAK,uBAAuB,MAAM,8BAA8B,CAAC;AAExE;;GAEG;AACH,OAAO,KAAK,sBAAsB,MAAM,6BAA6B,CAAC;AAEtE;;GAEG;AACH,cAAc,uBAAuB,CAAC;AAEtC;;;;GAIG;AACH,MAAM,CAAC,OAAO,WAAW,SAAS,CAAC;IACjC;;;OAGG;IACH,KAAY,MAAM,GAAG,gBAAgB,CAAC,MAAM,CAAC;CAC9C;AAED;;;;GAIG;AACH,eAAO,MAAM,SAAS,yBAAmB,CAAC"}
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
19
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
20
+ };
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.Scheduler = exports.SchedulerServiceConfig = exports.SchedulerClientInstance = void 0;
30
+ /**
31
+ * @since 1.0.0
32
+ */
33
+ const SchedulerService_js_1 = require("./SchedulerService.js");
34
+ /**
35
+ * @since 1.0.0
36
+ */
37
+ __exportStar(require("./Errors.js"), exports);
38
+ /**
39
+ * @since 1.0.0
40
+ */
41
+ exports.SchedulerClientInstance = __importStar(require("./SchedulerClientInstance.js"));
42
+ /**
43
+ * @since 1.0.0
44
+ */
45
+ exports.SchedulerServiceConfig = __importStar(require("./SchedulerServiceConfig.js"));
46
+ /**
47
+ * @since 1.0.0
48
+ */
49
+ __exportStar(require("./SchedulerService.js"), exports);
50
+ /**
51
+ * @since 1.0.0
52
+ * @category exports
53
+ * @alias SchedulerService
54
+ */
55
+ exports.Scheduler = SchedulerService_js_1.SchedulerService;
56
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,+DAAyD;AAEzD;;GAEG;AACH,8CAA4B;AAE5B;;GAEG;AACH,wFAAwE;AAExE;;GAEG;AACH,sFAAsE;AAEtE;;GAEG;AACH,wDAAsC;AAetC;;;;GAIG;AACU,QAAA,SAAS,GAAG,sCAAgB,CAAC"}
@@ -0,0 +1,13 @@
1
+ import type { ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException } from "@aws-sdk/client-scheduler";
2
+ import type { TaggedException } from "@effect-aws/commons";
3
+ import { SdkError as CommonSdkError } from "@effect-aws/commons";
4
+ export declare const AllServiceErrors: readonly ["ConflictException", "InternalServerException", "ResourceNotFoundException", "ServiceQuotaExceededException", "ThrottlingException", "ValidationException"];
5
+ export type ConflictError = TaggedException<ConflictException>;
6
+ export type InternalServerError = TaggedException<InternalServerException>;
7
+ export type ResourceNotFoundError = TaggedException<ResourceNotFoundException>;
8
+ export type ServiceQuotaExceededError = TaggedException<ServiceQuotaExceededException>;
9
+ export type ThrottlingError = TaggedException<ThrottlingException>;
10
+ export type ValidationError = TaggedException<ValidationException>;
11
+ export type SdkError = CommonSdkError;
12
+ export declare const SdkError: import("effect/Data").Case.Constructor<CommonSdkError, "_tag">;
13
+ //# sourceMappingURL=Errors.d.ts.map
@@ -0,0 +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;AAC3D,OAAO,EAAE,QAAQ,IAAI,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAEjE,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;AAEnE,MAAM,MAAM,QAAQ,GAAG,cAAc,CAAC;AACtC,eAAO,MAAM,QAAQ,gEAAiB,CAAC"}
@@ -0,0 +1,24 @@
1
+ /**
2
+ * @since 1.0.0
3
+ */
4
+ import { SchedulerClient } from "@aws-sdk/client-scheduler";
5
+ import { Context, Effect, Layer } from "effect";
6
+ declare const SchedulerClientInstance_base: Context.TagClass<SchedulerClientInstance, "@effect-aws/client-scheduler/SchedulerClientInstance", SchedulerClient>;
7
+ /**
8
+ * @since 1.0.0
9
+ * @category tags
10
+ */
11
+ export declare class SchedulerClientInstance extends SchedulerClientInstance_base {
12
+ }
13
+ /**
14
+ * @since 1.0.0
15
+ * @category constructors
16
+ */
17
+ export declare const make: Effect.Effect<SchedulerClient, never, import("effect/Scope").Scope>;
18
+ /**
19
+ * @since 1.0.0
20
+ * @category layers
21
+ */
22
+ export declare const layer: Layer.Layer<SchedulerClientInstance, never, never>;
23
+ export {};
24
+ //# sourceMappingURL=SchedulerClientInstance.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SchedulerClientInstance.d.ts","sourceRoot":"","sources":["../../src/SchedulerClientInstance.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;;AAGhD;;;GAGG;AACH,qBAAa,uBAAwB,SAAQ,4BAEA;CAAG;AAEhD;;;GAGG;AACH,eAAO,MAAM,IAAI,qEAOhB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,KAAK,oDAA8C,CAAC"}