@effect-aws/client-data-pipeline 1.10.6 → 2.0.0-beta.0
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/LICENSE +1 -1
- package/README.md +3 -3
- package/dist/dts/DataPipelineClientInstance.d.ts +2 -2
- package/dist/dts/DataPipelineClientInstance.d.ts.map +1 -1
- package/dist/dts/DataPipelineService.d.ts +21 -23
- package/dist/dts/DataPipelineService.d.ts.map +1 -1
- package/dist/dts/DataPipelineServiceConfig.d.ts.map +1 -1
- package/dist/esm/DataPipelineClientInstance.js +3 -3
- package/dist/esm/DataPipelineClientInstance.js.map +1 -1
- package/dist/esm/DataPipelineService.js +2 -2
- package/dist/esm/DataPipelineService.js.map +1 -1
- package/dist/esm/DataPipelineServiceConfig.js +5 -6
- package/dist/esm/DataPipelineServiceConfig.js.map +1 -1
- package/package.json +8 -14
- package/src/DataPipelineClientInstance.ts +4 -4
- package/src/DataPipelineService.ts +22 -22
- package/src/DataPipelineServiceConfig.ts +6 -7
- package/dist/cjs/DataPipelineClientInstance.d.ts +0 -24
- package/dist/cjs/DataPipelineClientInstance.d.ts.map +0 -1
- package/dist/cjs/DataPipelineClientInstance.js +0 -50
- package/dist/cjs/DataPipelineClientInstance.js.map +0 -1
- package/dist/cjs/DataPipelineService.d.ts +0 -122
- package/dist/cjs/DataPipelineService.d.ts.map +0 -1
- package/dist/cjs/DataPipelineService.js +0 -78
- package/dist/cjs/DataPipelineService.js.map +0 -1
- package/dist/cjs/DataPipelineServiceConfig.d.ts +0 -25
- package/dist/cjs/DataPipelineServiceConfig.d.ts.map +0 -1
- package/dist/cjs/DataPipelineServiceConfig.js +0 -35
- package/dist/cjs/DataPipelineServiceConfig.js.map +0 -1
- package/dist/cjs/Errors.d.ts +0 -12
- package/dist/cjs/Errors.d.ts.map +0 -1
- package/dist/cjs/Errors.js +0 -11
- package/dist/cjs/Errors.js.map +0 -1
- package/dist/cjs/index.d.ts +0 -44
- package/dist/cjs/index.d.ts.map +0 -1
- package/dist/cjs/index.js +0 -56
- package/dist/cjs/index.js.map +0 -1
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -16,7 +16,7 @@ With default DataPipelineClient instance:
|
|
|
16
16
|
```typescript
|
|
17
17
|
import { DataPipeline } from "@effect-aws/client-data-pipeline";
|
|
18
18
|
|
|
19
|
-
const program = DataPipeline.listPipelines(args);
|
|
19
|
+
const program = DataPipeline.use((svc) => svc.listPipelines(args));
|
|
20
20
|
|
|
21
21
|
const result = pipe(
|
|
22
22
|
program,
|
|
@@ -30,7 +30,7 @@ With custom DataPipelineClient instance:
|
|
|
30
30
|
```typescript
|
|
31
31
|
import { DataPipeline } from "@effect-aws/client-data-pipeline";
|
|
32
32
|
|
|
33
|
-
const program = DataPipeline.listPipelines(args);
|
|
33
|
+
const program = DataPipeline.use((svc) => svc.listPipelines(args));
|
|
34
34
|
|
|
35
35
|
const result = await pipe(
|
|
36
36
|
program,
|
|
@@ -46,7 +46,7 @@ With custom DataPipelineClient configuration:
|
|
|
46
46
|
```typescript
|
|
47
47
|
import { DataPipeline } from "@effect-aws/client-data-pipeline";
|
|
48
48
|
|
|
49
|
-
const program = DataPipeline.listPipelines(args);
|
|
49
|
+
const program = DataPipeline.use((svc) => svc.listPipelines(args));
|
|
50
50
|
|
|
51
51
|
const result = await pipe(
|
|
52
52
|
program,
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*/
|
|
4
4
|
import { DataPipelineClient } from "@aws-sdk/client-data-pipeline";
|
|
5
|
-
import {
|
|
6
|
-
declare const DataPipelineClientInstance_base:
|
|
5
|
+
import { Effect, Layer, ServiceMap } from "effect";
|
|
6
|
+
declare const DataPipelineClientInstance_base: ServiceMap.ServiceClass<DataPipelineClientInstance, "@effect-aws/client-data-pipeline/DataPipelineClientInstance", DataPipelineClient>;
|
|
7
7
|
/**
|
|
8
8
|
* @since 1.0.0
|
|
9
9
|
* @category tags
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataPipelineClientInstance.d.ts","sourceRoot":"","sources":["../../src/DataPipelineClientInstance.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AACnE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"DataPipelineClientInstance.d.ts","sourceRoot":"","sources":["../../src/DataPipelineClientInstance.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AACnE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;;AAGnD;;;GAGG;AACH,qBAAa,0BAA2B,SAAQ,+BAE/C;CAAG;AAEJ;;;GAGG;AACH,eAAO,MAAM,IAAI,wEAOhB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,KAAK,uDAAiD,CAAC"}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import { type ActivatePipelineCommandInput, type ActivatePipelineCommandOutput, type AddTagsCommandInput, type AddTagsCommandOutput, type CreatePipelineCommandInput, type CreatePipelineCommandOutput, type DataPipelineClient, type DataPipelineClientConfig, type DeactivatePipelineCommandInput, type DeactivatePipelineCommandOutput, type DeletePipelineCommandInput, type DeletePipelineCommandOutput, type DescribeObjectsCommandInput, type DescribeObjectsCommandOutput, type DescribePipelinesCommandInput, type DescribePipelinesCommandOutput, type EvaluateExpressionCommandInput, type EvaluateExpressionCommandOutput, type GetPipelineDefinitionCommandInput, type GetPipelineDefinitionCommandOutput, type ListPipelinesCommandInput, type ListPipelinesCommandOutput, type PollForTaskCommandInput, type PollForTaskCommandOutput, type PutPipelineDefinitionCommandInput, type PutPipelineDefinitionCommandOutput, type QueryObjectsCommandInput, type QueryObjectsCommandOutput, type RemoveTagsCommandInput, type RemoveTagsCommandOutput, type ReportTaskProgressCommandInput, type ReportTaskProgressCommandOutput, type ReportTaskRunnerHeartbeatCommandInput, type ReportTaskRunnerHeartbeatCommandOutput, type SetStatusCommandInput, type SetStatusCommandOutput, type SetTaskStatusCommandInput, type SetTaskStatusCommandOutput, type ValidatePipelineDefinitionCommandInput, type ValidatePipelineDefinitionCommandOutput } from "@aws-sdk/client-data-pipeline";
|
|
5
5
|
import type { HttpHandlerOptions, ServiceLogger } from "@effect-aws/commons";
|
|
6
6
|
import type { Cause } from "effect";
|
|
7
|
-
import { Effect, Layer } from "effect";
|
|
7
|
+
import { Effect, Layer, ServiceMap } from "effect";
|
|
8
8
|
import * as Instance from "./DataPipelineClientInstance.js";
|
|
9
9
|
import type { InternalServiceError, InvalidRequestError, PipelineDeletedError, PipelineNotFoundError, SdkError, TaskNotFoundError } from "./Errors.js";
|
|
10
10
|
interface DataPipelineService$ {
|
|
@@ -12,88 +12,86 @@ interface DataPipelineService$ {
|
|
|
12
12
|
/**
|
|
13
13
|
* @see {@link ActivatePipelineCommand}
|
|
14
14
|
*/
|
|
15
|
-
activatePipeline(args: ActivatePipelineCommandInput, options?: HttpHandlerOptions): Effect.Effect<ActivatePipelineCommandOutput, Cause.
|
|
15
|
+
activatePipeline(args: ActivatePipelineCommandInput, options?: HttpHandlerOptions): Effect.Effect<ActivatePipelineCommandOutput, Cause.TimeoutError | SdkError | InternalServiceError | InvalidRequestError | PipelineDeletedError | PipelineNotFoundError>;
|
|
16
16
|
/**
|
|
17
17
|
* @see {@link AddTagsCommand}
|
|
18
18
|
*/
|
|
19
|
-
addTags(args: AddTagsCommandInput, options?: HttpHandlerOptions): Effect.Effect<AddTagsCommandOutput, Cause.
|
|
19
|
+
addTags(args: AddTagsCommandInput, options?: HttpHandlerOptions): Effect.Effect<AddTagsCommandOutput, Cause.TimeoutError | SdkError | InternalServiceError | InvalidRequestError | PipelineDeletedError | PipelineNotFoundError>;
|
|
20
20
|
/**
|
|
21
21
|
* @see {@link CreatePipelineCommand}
|
|
22
22
|
*/
|
|
23
|
-
createPipeline(args: CreatePipelineCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreatePipelineCommandOutput, Cause.
|
|
23
|
+
createPipeline(args: CreatePipelineCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreatePipelineCommandOutput, Cause.TimeoutError | SdkError | InternalServiceError | InvalidRequestError>;
|
|
24
24
|
/**
|
|
25
25
|
* @see {@link DeactivatePipelineCommand}
|
|
26
26
|
*/
|
|
27
|
-
deactivatePipeline(args: DeactivatePipelineCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeactivatePipelineCommandOutput, Cause.
|
|
27
|
+
deactivatePipeline(args: DeactivatePipelineCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeactivatePipelineCommandOutput, Cause.TimeoutError | SdkError | InternalServiceError | InvalidRequestError | PipelineDeletedError | PipelineNotFoundError>;
|
|
28
28
|
/**
|
|
29
29
|
* @see {@link DeletePipelineCommand}
|
|
30
30
|
*/
|
|
31
|
-
deletePipeline(args: DeletePipelineCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeletePipelineCommandOutput, Cause.
|
|
31
|
+
deletePipeline(args: DeletePipelineCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeletePipelineCommandOutput, Cause.TimeoutError | SdkError | InternalServiceError | InvalidRequestError | PipelineNotFoundError>;
|
|
32
32
|
/**
|
|
33
33
|
* @see {@link DescribeObjectsCommand}
|
|
34
34
|
*/
|
|
35
|
-
describeObjects(args: DescribeObjectsCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeObjectsCommandOutput, Cause.
|
|
35
|
+
describeObjects(args: DescribeObjectsCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeObjectsCommandOutput, Cause.TimeoutError | SdkError | InternalServiceError | InvalidRequestError | PipelineDeletedError | PipelineNotFoundError>;
|
|
36
36
|
/**
|
|
37
37
|
* @see {@link DescribePipelinesCommand}
|
|
38
38
|
*/
|
|
39
|
-
describePipelines(args: DescribePipelinesCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribePipelinesCommandOutput, Cause.
|
|
39
|
+
describePipelines(args: DescribePipelinesCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribePipelinesCommandOutput, Cause.TimeoutError | SdkError | InternalServiceError | InvalidRequestError | PipelineDeletedError | PipelineNotFoundError>;
|
|
40
40
|
/**
|
|
41
41
|
* @see {@link EvaluateExpressionCommand}
|
|
42
42
|
*/
|
|
43
|
-
evaluateExpression(args: EvaluateExpressionCommandInput, options?: HttpHandlerOptions): Effect.Effect<EvaluateExpressionCommandOutput, Cause.
|
|
43
|
+
evaluateExpression(args: EvaluateExpressionCommandInput, options?: HttpHandlerOptions): Effect.Effect<EvaluateExpressionCommandOutput, Cause.TimeoutError | SdkError | InternalServiceError | InvalidRequestError | PipelineDeletedError | PipelineNotFoundError | TaskNotFoundError>;
|
|
44
44
|
/**
|
|
45
45
|
* @see {@link GetPipelineDefinitionCommand}
|
|
46
46
|
*/
|
|
47
|
-
getPipelineDefinition(args: GetPipelineDefinitionCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetPipelineDefinitionCommandOutput, Cause.
|
|
47
|
+
getPipelineDefinition(args: GetPipelineDefinitionCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetPipelineDefinitionCommandOutput, Cause.TimeoutError | SdkError | InternalServiceError | InvalidRequestError | PipelineDeletedError | PipelineNotFoundError>;
|
|
48
48
|
/**
|
|
49
49
|
* @see {@link ListPipelinesCommand}
|
|
50
50
|
*/
|
|
51
|
-
listPipelines(args: ListPipelinesCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListPipelinesCommandOutput, Cause.
|
|
51
|
+
listPipelines(args: ListPipelinesCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListPipelinesCommandOutput, Cause.TimeoutError | SdkError | InternalServiceError | InvalidRequestError>;
|
|
52
52
|
/**
|
|
53
53
|
* @see {@link PollForTaskCommand}
|
|
54
54
|
*/
|
|
55
|
-
pollForTask(args: PollForTaskCommandInput, options?: HttpHandlerOptions): Effect.Effect<PollForTaskCommandOutput, Cause.
|
|
55
|
+
pollForTask(args: PollForTaskCommandInput, options?: HttpHandlerOptions): Effect.Effect<PollForTaskCommandOutput, Cause.TimeoutError | SdkError | InternalServiceError | InvalidRequestError | TaskNotFoundError>;
|
|
56
56
|
/**
|
|
57
57
|
* @see {@link PutPipelineDefinitionCommand}
|
|
58
58
|
*/
|
|
59
|
-
putPipelineDefinition(args: PutPipelineDefinitionCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutPipelineDefinitionCommandOutput, Cause.
|
|
59
|
+
putPipelineDefinition(args: PutPipelineDefinitionCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutPipelineDefinitionCommandOutput, Cause.TimeoutError | SdkError | InternalServiceError | InvalidRequestError | PipelineDeletedError | PipelineNotFoundError>;
|
|
60
60
|
/**
|
|
61
61
|
* @see {@link QueryObjectsCommand}
|
|
62
62
|
*/
|
|
63
|
-
queryObjects(args: QueryObjectsCommandInput, options?: HttpHandlerOptions): Effect.Effect<QueryObjectsCommandOutput, Cause.
|
|
63
|
+
queryObjects(args: QueryObjectsCommandInput, options?: HttpHandlerOptions): Effect.Effect<QueryObjectsCommandOutput, Cause.TimeoutError | SdkError | InternalServiceError | InvalidRequestError | PipelineDeletedError | PipelineNotFoundError>;
|
|
64
64
|
/**
|
|
65
65
|
* @see {@link RemoveTagsCommand}
|
|
66
66
|
*/
|
|
67
|
-
removeTags(args: RemoveTagsCommandInput, options?: HttpHandlerOptions): Effect.Effect<RemoveTagsCommandOutput, Cause.
|
|
67
|
+
removeTags(args: RemoveTagsCommandInput, options?: HttpHandlerOptions): Effect.Effect<RemoveTagsCommandOutput, Cause.TimeoutError | SdkError | InternalServiceError | InvalidRequestError | PipelineDeletedError | PipelineNotFoundError>;
|
|
68
68
|
/**
|
|
69
69
|
* @see {@link ReportTaskProgressCommand}
|
|
70
70
|
*/
|
|
71
|
-
reportTaskProgress(args: ReportTaskProgressCommandInput, options?: HttpHandlerOptions): Effect.Effect<ReportTaskProgressCommandOutput, Cause.
|
|
71
|
+
reportTaskProgress(args: ReportTaskProgressCommandInput, options?: HttpHandlerOptions): Effect.Effect<ReportTaskProgressCommandOutput, Cause.TimeoutError | SdkError | InternalServiceError | InvalidRequestError | PipelineDeletedError | PipelineNotFoundError | TaskNotFoundError>;
|
|
72
72
|
/**
|
|
73
73
|
* @see {@link ReportTaskRunnerHeartbeatCommand}
|
|
74
74
|
*/
|
|
75
|
-
reportTaskRunnerHeartbeat(args: ReportTaskRunnerHeartbeatCommandInput, options?: HttpHandlerOptions): Effect.Effect<ReportTaskRunnerHeartbeatCommandOutput, Cause.
|
|
75
|
+
reportTaskRunnerHeartbeat(args: ReportTaskRunnerHeartbeatCommandInput, options?: HttpHandlerOptions): Effect.Effect<ReportTaskRunnerHeartbeatCommandOutput, Cause.TimeoutError | SdkError | InternalServiceError | InvalidRequestError>;
|
|
76
76
|
/**
|
|
77
77
|
* @see {@link SetStatusCommand}
|
|
78
78
|
*/
|
|
79
|
-
setStatus(args: SetStatusCommandInput, options?: HttpHandlerOptions): Effect.Effect<SetStatusCommandOutput, Cause.
|
|
79
|
+
setStatus(args: SetStatusCommandInput, options?: HttpHandlerOptions): Effect.Effect<SetStatusCommandOutput, Cause.TimeoutError | SdkError | InternalServiceError | InvalidRequestError | PipelineDeletedError | PipelineNotFoundError>;
|
|
80
80
|
/**
|
|
81
81
|
* @see {@link SetTaskStatusCommand}
|
|
82
82
|
*/
|
|
83
|
-
setTaskStatus(args: SetTaskStatusCommandInput, options?: HttpHandlerOptions): Effect.Effect<SetTaskStatusCommandOutput, Cause.
|
|
83
|
+
setTaskStatus(args: SetTaskStatusCommandInput, options?: HttpHandlerOptions): Effect.Effect<SetTaskStatusCommandOutput, Cause.TimeoutError | SdkError | InternalServiceError | InvalidRequestError | PipelineDeletedError | PipelineNotFoundError | TaskNotFoundError>;
|
|
84
84
|
/**
|
|
85
85
|
* @see {@link ValidatePipelineDefinitionCommand}
|
|
86
86
|
*/
|
|
87
|
-
validatePipelineDefinition(args: ValidatePipelineDefinitionCommandInput, options?: HttpHandlerOptions): Effect.Effect<ValidatePipelineDefinitionCommandOutput, Cause.
|
|
87
|
+
validatePipelineDefinition(args: ValidatePipelineDefinitionCommandInput, options?: HttpHandlerOptions): Effect.Effect<ValidatePipelineDefinitionCommandOutput, Cause.TimeoutError | SdkError | InternalServiceError | InvalidRequestError | PipelineDeletedError | PipelineNotFoundError>;
|
|
88
88
|
}
|
|
89
89
|
/**
|
|
90
90
|
* @since 1.0.0
|
|
91
91
|
* @category constructors
|
|
92
92
|
*/
|
|
93
93
|
export declare const makeDataPipelineService: Effect.Effect<DataPipelineService$, never, Instance.DataPipelineClientInstance>;
|
|
94
|
-
declare const DataPipelineService_base:
|
|
95
|
-
use: <X>(body: (_: DataPipelineService$) => X) => [X] extends [Effect.Effect<infer A, infer E, infer R>] ? Effect.Effect<A, E, DataPipelineService | R> : [X] extends [PromiseLike<infer A_1>] ? Effect.Effect<A_1, Cause.UnknownException, DataPipelineService> : Effect.Effect<X, never, DataPipelineService>;
|
|
96
|
-
};
|
|
94
|
+
declare const DataPipelineService_base: ServiceMap.ServiceClass<DataPipelineService, "@effect-aws/client-data-pipeline/DataPipelineService", DataPipelineService$>;
|
|
97
95
|
/**
|
|
98
96
|
* @since 1.0.0
|
|
99
97
|
* @category models
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataPipelineService.d.ts","sourceRoot":"","sources":["../../src/DataPipelineService.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAEL,KAAK,4BAA4B,EACjC,KAAK,6BAA6B,EAElC,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EAEzB,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,EAChC,KAAK,kBAAkB,EACvB,KAAK,wBAAwB,EAE7B,KAAK,8BAA8B,EACnC,KAAK,+BAA+B,EAEpC,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,EAEhC,KAAK,2BAA2B,EAChC,KAAK,4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xB,KAAK,CAAC,YAAY,GAClB,QAAQ,GACR,oBAAoB,GACpB,mBAAmB,GACnB,oBAAoB,GACpB,qBAAqB,GACrB,iBAAiB,CACpB,CAAC;IAEF;;OAEG;IACH,0BAA0B,CACxB,IAAI,EAAE,sCAAsC,EAC5C,OAAO,CAAC,EAAE,kBAAkB,GAC3B,MAAM,CAAC,MAAM,CACd,uCAAuC,EACrC,KAAK,CAAC,YAAY,GAClB,QAAQ,GACR,oBAAoB,GACpB,mBAAmB,GACnB,oBAAoB,GACpB,qBAAqB,CACxB,CAAC;CACH;AAED;;;GAGG;AACH,eAAO,MAAM,uBAAuB,iFAWlC,CAAC;;AAEH;;;GAGG;AACH,qBAAa,mBAAoB,SAAQ,wBAGkB;IACzD,MAAM,CAAC,QAAQ,CAAC,YAAY,iDAAmF;IAC/G,MAAM,CAAC,QAAQ,CAAC,KAAK,WAAY,oBAAoB,MAAM,oDAIvD;IACJ,MAAM,CAAC,QAAQ,CAAC,SAAS,aACb,CAAC,aAAa,EAAE,wBAAwB,KAAK,kBAAkB,oDASvE;CACL;AAED;;GAEG;AACH,MAAM,CAAC,OAAO,WAAW,mBAAmB,CAAC;IAC3C;;OAEG;IACH,UAAiB,MAAO,SAAQ,IAAI,CAAC,wBAAwB,EAAE,QAAQ,CAAC;QACtE,QAAQ,CAAC,MAAM,CAAC,EAAE,aAAa,CAAC,6BAA6B,GAAG,IAAI,CAAC;KACtE;IAED;;OAEG;IACH,KAAY,IAAI,GAAG,oBAAoB,CAAC;CACzC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataPipelineServiceConfig.d.ts","sourceRoot":"","sources":["../../src/DataPipelineServiceConfig.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAE9E,OAAO,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"DataPipelineServiceConfig.d.ts","sourceRoot":"","sources":["../../src/DataPipelineServiceConfig.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAE9E,OAAO,EAAE,MAAM,EAAE,KAAK,EAAc,MAAM,QAAQ,CAAC;AAEnD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAWpE;;;GAGG;AACH,eAAO,MAAM,6BAA6B,EAAE;IAC1C,CAAC,MAAM,EAAE,mBAAmB,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;IAC1G,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,mBAAmB,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;CAKvG,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,4BAA4B,WAAY,oBAAoB,MAAM,qCACtB,CAAC;AAE1D;;;GAGG;AACH,eAAO,MAAM,0BAA0B,EAAE,MAAM,CAAC,MAAM,CAAC,wBAAwB,CAQ7E,CAAC"}
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*/
|
|
4
4
|
import { DataPipelineClient } from "@aws-sdk/client-data-pipeline";
|
|
5
|
-
import {
|
|
5
|
+
import { Effect, Layer, ServiceMap } from "effect";
|
|
6
6
|
import * as DataPipelineServiceConfig from "./DataPipelineServiceConfig.js";
|
|
7
7
|
/**
|
|
8
8
|
* @since 1.0.0
|
|
9
9
|
* @category tags
|
|
10
10
|
*/
|
|
11
|
-
export class DataPipelineClientInstance extends
|
|
11
|
+
export class DataPipelineClientInstance extends ServiceMap.Service()("@effect-aws/client-data-pipeline/DataPipelineClientInstance") {
|
|
12
12
|
}
|
|
13
13
|
/**
|
|
14
14
|
* @since 1.0.0
|
|
@@ -19,5 +19,5 @@ export const make = Effect.flatMap(DataPipelineServiceConfig.toDataPipelineClien
|
|
|
19
19
|
* @since 1.0.0
|
|
20
20
|
* @category layers
|
|
21
21
|
*/
|
|
22
|
-
export const layer = Layer.
|
|
22
|
+
export const layer = Layer.effect(DataPipelineClientInstance, make);
|
|
23
23
|
//# sourceMappingURL=DataPipelineClientInstance.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataPipelineClientInstance.js","sourceRoot":"","sources":["../../src/DataPipelineClientInstance.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AACnE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"DataPipelineClientInstance.js","sourceRoot":"","sources":["../../src/DataPipelineClientInstance.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AACnE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AACnD,OAAO,KAAK,yBAAyB,MAAM,gCAAgC,CAAC;AAE5E;;;GAGG;AACH,MAAM,OAAO,0BAA2B,SAAQ,UAAU,CAAC,OAAO,EAAkD,CAClH,6DAA6D,CAC9D;CAAG;AAEJ;;;GAGG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG,MAAM,CAAC,OAAO,CAChC,yBAAyB,CAAC,0BAA0B,EACpD,CAAC,MAAM,EAAE,EAAE,CACT,MAAM,CAAC,cAAc,CACnB,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,IAAI,kBAAkB,CAAC,MAAM,CAAC,CAAC,EACjD,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC,CAChD,CACJ,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,KAAK,GAAG,KAAK,CAAC,MAAM,CAAC,0BAA0B,EAAE,IAAI,CAAC,CAAC"}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { ActivatePipelineCommand, AddTagsCommand, CreatePipelineCommand, DeactivatePipelineCommand, DeletePipelineCommand, DescribeObjectsCommand, DescribePipelinesCommand, EvaluateExpressionCommand, GetPipelineDefinitionCommand, ListPipelinesCommand, PollForTaskCommand, PutPipelineDefinitionCommand, QueryObjectsCommand, RemoveTagsCommand, ReportTaskProgressCommand, ReportTaskRunnerHeartbeatCommand, SetStatusCommand, SetTaskStatusCommand, ValidatePipelineDefinitionCommand, } from "@aws-sdk/client-data-pipeline";
|
|
5
5
|
import { Service } from "@effect-aws/commons";
|
|
6
|
-
import { Effect, Layer } from "effect";
|
|
6
|
+
import { Effect, Layer, ServiceMap } from "effect";
|
|
7
7
|
import * as Instance from "./DataPipelineClientInstance.js";
|
|
8
8
|
import * as DataPipelineServiceConfig from "./DataPipelineServiceConfig.js";
|
|
9
9
|
import { AllServiceErrors } from "./Errors.js";
|
|
@@ -43,7 +43,7 @@ export const makeDataPipelineService = Effect.gen(function* () {
|
|
|
43
43
|
* @since 1.0.0
|
|
44
44
|
* @category models
|
|
45
45
|
*/
|
|
46
|
-
export class DataPipelineService extends
|
|
46
|
+
export class DataPipelineService extends ServiceMap.Service()("@effect-aws/client-data-pipeline/DataPipelineService") {
|
|
47
47
|
static defaultLayer = Layer.effect(this, makeDataPipelineService).pipe(Layer.provide(Instance.layer));
|
|
48
48
|
static layer = (config) => Layer.effect(this, makeDataPipelineService).pipe(Layer.provide(Instance.layer), Layer.provide(DataPipelineServiceConfig.setDataPipelineServiceConfig(config)));
|
|
49
49
|
static baseLayer = (evaluate) => Layer.effect(this, makeDataPipelineService).pipe(Layer.provide(Layer.effect(Instance.DataPipelineClientInstance, Effect.map(DataPipelineServiceConfig.toDataPipelineClientConfig, evaluate))));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataPipelineService.js","sourceRoot":"","sources":["../../src/DataPipelineService.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EACL,uBAAuB,EAGvB,cAAc,EAGd,qBAAqB,EAKrB,yBAAyB,EAGzB,qBAAqB,EAGrB,sBAAsB,EAGtB,wBAAwB,EAGxB,yBAAyB,EAGzB,4BAA4B,EAG5B,oBAAoB,EAGpB,kBAAkB,EAGlB,4BAA4B,EAG5B,mBAAmB,EAGnB,iBAAiB,EAGjB,yBAAyB,EAGzB,gCAAgC,EAGhC,gBAAgB,EAGhB,oBAAoB,EAGpB,iCAAiC,GAGlC,MAAM,+BAA+B,CAAC;AAEvC,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE9C,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"DataPipelineService.js","sourceRoot":"","sources":["../../src/DataPipelineService.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EACL,uBAAuB,EAGvB,cAAc,EAGd,qBAAqB,EAKrB,yBAAyB,EAGzB,qBAAqB,EAGrB,sBAAsB,EAGtB,wBAAwB,EAGxB,yBAAyB,EAGzB,4BAA4B,EAG5B,oBAAoB,EAGpB,kBAAkB,EAGlB,4BAA4B,EAG5B,mBAAmB,EAGnB,iBAAiB,EAGjB,yBAAyB,EAGzB,gCAAgC,EAGhC,gBAAgB,EAGhB,oBAAoB,EAGpB,iCAAiC,GAGlC,MAAM,+BAA+B,CAAC;AAEvC,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE9C,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;A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AAK,CAAC,EAC7B,KAAK,CAAC,OAAO,CAAC,yBAAyB,CAAC,4BAA4B,CAAC,MAAM,CAAC,CAAC,CAC9E,CAAC;IACJ,MAAM,CAAU,SAAS,GAAG,CAC1B,QAAyE,EACzE,EAAE,CACF,KAAK,CAAC,MAAM,CAAC,IAAI,EAAE,uBAAuB,CAAC,CAAC,IAAI,CAC9C,KAAK,CAAC,OAAO,CACX,KAAK,CAAC,MAAM,CACV,QAAQ,CAAC,0BAA0B,EACnC,MAAM,CAAC,GAAG,CAAC,yBAAyB,CAAC,0BAA0B,EAAE,QAAQ,CAAC,CAC3E,CACF,CACF,CAAC"}
|
|
@@ -1,28 +1,27 @@
|
|
|
1
1
|
import { ServiceLogger } from "@effect-aws/commons";
|
|
2
|
-
import { Effect,
|
|
2
|
+
import { Effect, Layer, ServiceMap } from "effect";
|
|
3
3
|
import { dual } from "effect/Function";
|
|
4
|
-
import { globalValue } from "effect/GlobalValue";
|
|
5
4
|
/**
|
|
6
5
|
* @since 1.0.0
|
|
7
6
|
* @category data-pipeline service config
|
|
8
7
|
*/
|
|
9
|
-
const currentDataPipelineServiceConfig =
|
|
8
|
+
const currentDataPipelineServiceConfig = ServiceMap.Reference("@effect-aws/client-data-pipeline/currentDataPipelineServiceConfig", { defaultValue: () => ({}) });
|
|
10
9
|
/**
|
|
11
10
|
* @since 1.0.0
|
|
12
11
|
* @category data-pipeline service config
|
|
13
12
|
*/
|
|
14
|
-
export const withDataPipelineServiceConfig = dual(2, (effect, config) => Effect.
|
|
13
|
+
export const withDataPipelineServiceConfig = dual(2, (effect, config) => Effect.provideService(effect, currentDataPipelineServiceConfig, config));
|
|
15
14
|
/**
|
|
16
15
|
* @since 1.0.0
|
|
17
16
|
* @category data-pipeline service config
|
|
18
17
|
*/
|
|
19
|
-
export const setDataPipelineServiceConfig = (config) => Layer.
|
|
18
|
+
export const setDataPipelineServiceConfig = (config) => Layer.succeed(currentDataPipelineServiceConfig, config);
|
|
20
19
|
/**
|
|
21
20
|
* @since 1.0.0
|
|
22
21
|
* @category adapters
|
|
23
22
|
*/
|
|
24
23
|
export const toDataPipelineClientConfig = Effect.gen(function* () {
|
|
25
|
-
const { logger: serviceLogger, ...config } = yield*
|
|
24
|
+
const { logger: serviceLogger, ...config } = yield* currentDataPipelineServiceConfig;
|
|
26
25
|
const logger = serviceLogger === true
|
|
27
26
|
? yield* ServiceLogger.toClientLogger(ServiceLogger.defaultServiceLogger)
|
|
28
27
|
: (serviceLogger ? yield* ServiceLogger.toClientLogger(ServiceLogger.make(serviceLogger)) : undefined);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataPipelineServiceConfig.js","sourceRoot":"","sources":["../../src/DataPipelineServiceConfig.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"DataPipelineServiceConfig.js","sourceRoot":"","sources":["../../src/DataPipelineServiceConfig.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AACnD,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAGvC;;;GAGG;AACH,MAAM,gCAAgC,GAAG,UAAU,CAAC,SAAS,CAC3D,mEAAmE,EACnE,EAAE,YAAY,EAAE,GAAG,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAC7B,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAGtC,IAAI,CACN,CAAC,EACD,CAAU,MAA8B,EAAE,MAAkC,EAA0B,EAAE,CACtG,MAAM,CAAC,cAAc,CAAC,MAAM,EAAE,gCAAgC,EAAE,MAAM,CAAC,CAC1E,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,MAAkC,EAAE,EAAE,CACjF,KAAK,CAAC,OAAO,CAAC,gCAAgC,EAAE,MAAM,CAAC,CAAC;AAE1D;;;GAGG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAA4C,MAAM,CAAC,GAAG,CAAC,QAAQ,CAAC;IACrG,MAAM,EAAE,MAAM,EAAE,aAAa,EAAE,GAAG,MAAM,EAAE,GAAG,KAAK,CAAC,CAAC,gCAAgC,CAAC;IAErF,MAAM,MAAM,GAAG,aAAa,KAAK,IAAI;QACnC,CAAC,CAAC,KAAK,CAAC,CAAC,aAAa,CAAC,cAAc,CAAC,aAAa,CAAC,oBAAoB,CAAC;QACzE,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,aAAa,CAAC,cAAc,CAAC,aAAa,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"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@effect-aws/client-data-pipeline",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0-beta.0",
|
|
4
4
|
"description": "Effectful AWS Data Pipeline client",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -16,40 +16,34 @@
|
|
|
16
16
|
"homepage": "https://floydspace.github.io/effect-aws/docs/client-data-pipeline",
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@aws-sdk/client-data-pipeline": "^3",
|
|
19
|
-
"@effect-aws/commons": "^0.
|
|
19
|
+
"@effect-aws/commons": "^1.0.0-beta.0"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
|
-
"effect": ">=
|
|
22
|
+
"effect": ">=4.0.0 <5.0.0"
|
|
23
23
|
},
|
|
24
|
-
"main": "./dist/cjs/index.js",
|
|
25
24
|
"module": "./dist/esm/index.js",
|
|
26
25
|
"types": "./dist/dts/index.d.ts",
|
|
27
26
|
"exports": {
|
|
28
27
|
"./package.json": "./package.json",
|
|
29
28
|
".": {
|
|
30
29
|
"types": "./dist/dts/index.d.ts",
|
|
31
|
-
"import": "./dist/esm/index.js"
|
|
32
|
-
"default": "./dist/cjs/index.js"
|
|
30
|
+
"import": "./dist/esm/index.js"
|
|
33
31
|
},
|
|
34
32
|
"./DataPipelineClientInstance": {
|
|
35
33
|
"types": "./dist/dts/DataPipelineClientInstance.d.ts",
|
|
36
|
-
"import": "./dist/esm/DataPipelineClientInstance.js"
|
|
37
|
-
"default": "./dist/cjs/DataPipelineClientInstance.js"
|
|
34
|
+
"import": "./dist/esm/DataPipelineClientInstance.js"
|
|
38
35
|
},
|
|
39
36
|
"./DataPipelineService": {
|
|
40
37
|
"types": "./dist/dts/DataPipelineService.d.ts",
|
|
41
|
-
"import": "./dist/esm/DataPipelineService.js"
|
|
42
|
-
"default": "./dist/cjs/DataPipelineService.js"
|
|
38
|
+
"import": "./dist/esm/DataPipelineService.js"
|
|
43
39
|
},
|
|
44
40
|
"./DataPipelineServiceConfig": {
|
|
45
41
|
"types": "./dist/dts/DataPipelineServiceConfig.d.ts",
|
|
46
|
-
"import": "./dist/esm/DataPipelineServiceConfig.js"
|
|
47
|
-
"default": "./dist/cjs/DataPipelineServiceConfig.js"
|
|
42
|
+
"import": "./dist/esm/DataPipelineServiceConfig.js"
|
|
48
43
|
},
|
|
49
44
|
"./Errors": {
|
|
50
45
|
"types": "./dist/dts/Errors.d.ts",
|
|
51
|
-
"import": "./dist/esm/Errors.js"
|
|
52
|
-
"default": "./dist/cjs/Errors.js"
|
|
46
|
+
"import": "./dist/esm/Errors.js"
|
|
53
47
|
}
|
|
54
48
|
},
|
|
55
49
|
"typesVersions": {
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*/
|
|
4
4
|
import { DataPipelineClient } from "@aws-sdk/client-data-pipeline";
|
|
5
|
-
import {
|
|
5
|
+
import { Effect, Layer, ServiceMap } from "effect";
|
|
6
6
|
import * as DataPipelineServiceConfig from "./DataPipelineServiceConfig.js";
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* @since 1.0.0
|
|
10
10
|
* @category tags
|
|
11
11
|
*/
|
|
12
|
-
export class DataPipelineClientInstance extends
|
|
12
|
+
export class DataPipelineClientInstance extends ServiceMap.Service<DataPipelineClientInstance, DataPipelineClient>()(
|
|
13
13
|
"@effect-aws/client-data-pipeline/DataPipelineClientInstance",
|
|
14
|
-
)
|
|
14
|
+
) {}
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
17
|
* @since 1.0.0
|
|
@@ -30,4 +30,4 @@ export const make = Effect.flatMap(
|
|
|
30
30
|
* @since 1.0.0
|
|
31
31
|
* @category layers
|
|
32
32
|
*/
|
|
33
|
-
export const layer = Layer.
|
|
33
|
+
export const layer = Layer.effect(DataPipelineClientInstance, make);
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
import type { HttpHandlerOptions, ServiceLogger } from "@effect-aws/commons";
|
|
66
66
|
import { Service } from "@effect-aws/commons";
|
|
67
67
|
import type { Cause } from "effect";
|
|
68
|
-
import { Effect, Layer } from "effect";
|
|
68
|
+
import { Effect, Layer, ServiceMap } from "effect";
|
|
69
69
|
import * as Instance from "./DataPipelineClientInstance.js";
|
|
70
70
|
import * as DataPipelineServiceConfig from "./DataPipelineServiceConfig.js";
|
|
71
71
|
import type {
|
|
@@ -111,7 +111,7 @@ interface DataPipelineService$ {
|
|
|
111
111
|
options?: HttpHandlerOptions,
|
|
112
112
|
): Effect.Effect<
|
|
113
113
|
ActivatePipelineCommandOutput,
|
|
114
|
-
| Cause.
|
|
114
|
+
| Cause.TimeoutError
|
|
115
115
|
| SdkError
|
|
116
116
|
| InternalServiceError
|
|
117
117
|
| InvalidRequestError
|
|
@@ -127,7 +127,7 @@ interface DataPipelineService$ {
|
|
|
127
127
|
options?: HttpHandlerOptions,
|
|
128
128
|
): Effect.Effect<
|
|
129
129
|
AddTagsCommandOutput,
|
|
130
|
-
| Cause.
|
|
130
|
+
| Cause.TimeoutError
|
|
131
131
|
| SdkError
|
|
132
132
|
| InternalServiceError
|
|
133
133
|
| InvalidRequestError
|
|
@@ -143,7 +143,7 @@ interface DataPipelineService$ {
|
|
|
143
143
|
options?: HttpHandlerOptions,
|
|
144
144
|
): Effect.Effect<
|
|
145
145
|
CreatePipelineCommandOutput,
|
|
146
|
-
Cause.
|
|
146
|
+
Cause.TimeoutError | SdkError | InternalServiceError | InvalidRequestError
|
|
147
147
|
>;
|
|
148
148
|
|
|
149
149
|
/**
|
|
@@ -154,7 +154,7 @@ interface DataPipelineService$ {
|
|
|
154
154
|
options?: HttpHandlerOptions,
|
|
155
155
|
): Effect.Effect<
|
|
156
156
|
DeactivatePipelineCommandOutput,
|
|
157
|
-
| Cause.
|
|
157
|
+
| Cause.TimeoutError
|
|
158
158
|
| SdkError
|
|
159
159
|
| InternalServiceError
|
|
160
160
|
| InvalidRequestError
|
|
@@ -170,7 +170,7 @@ interface DataPipelineService$ {
|
|
|
170
170
|
options?: HttpHandlerOptions,
|
|
171
171
|
): Effect.Effect<
|
|
172
172
|
DeletePipelineCommandOutput,
|
|
173
|
-
Cause.
|
|
173
|
+
Cause.TimeoutError | SdkError | InternalServiceError | InvalidRequestError | PipelineNotFoundError
|
|
174
174
|
>;
|
|
175
175
|
|
|
176
176
|
/**
|
|
@@ -181,7 +181,7 @@ interface DataPipelineService$ {
|
|
|
181
181
|
options?: HttpHandlerOptions,
|
|
182
182
|
): Effect.Effect<
|
|
183
183
|
DescribeObjectsCommandOutput,
|
|
184
|
-
| Cause.
|
|
184
|
+
| Cause.TimeoutError
|
|
185
185
|
| SdkError
|
|
186
186
|
| InternalServiceError
|
|
187
187
|
| InvalidRequestError
|
|
@@ -197,7 +197,7 @@ interface DataPipelineService$ {
|
|
|
197
197
|
options?: HttpHandlerOptions,
|
|
198
198
|
): Effect.Effect<
|
|
199
199
|
DescribePipelinesCommandOutput,
|
|
200
|
-
| Cause.
|
|
200
|
+
| Cause.TimeoutError
|
|
201
201
|
| SdkError
|
|
202
202
|
| InternalServiceError
|
|
203
203
|
| InvalidRequestError
|
|
@@ -213,7 +213,7 @@ interface DataPipelineService$ {
|
|
|
213
213
|
options?: HttpHandlerOptions,
|
|
214
214
|
): Effect.Effect<
|
|
215
215
|
EvaluateExpressionCommandOutput,
|
|
216
|
-
| Cause.
|
|
216
|
+
| Cause.TimeoutError
|
|
217
217
|
| SdkError
|
|
218
218
|
| InternalServiceError
|
|
219
219
|
| InvalidRequestError
|
|
@@ -230,7 +230,7 @@ interface DataPipelineService$ {
|
|
|
230
230
|
options?: HttpHandlerOptions,
|
|
231
231
|
): Effect.Effect<
|
|
232
232
|
GetPipelineDefinitionCommandOutput,
|
|
233
|
-
| Cause.
|
|
233
|
+
| Cause.TimeoutError
|
|
234
234
|
| SdkError
|
|
235
235
|
| InternalServiceError
|
|
236
236
|
| InvalidRequestError
|
|
@@ -246,7 +246,7 @@ interface DataPipelineService$ {
|
|
|
246
246
|
options?: HttpHandlerOptions,
|
|
247
247
|
): Effect.Effect<
|
|
248
248
|
ListPipelinesCommandOutput,
|
|
249
|
-
Cause.
|
|
249
|
+
Cause.TimeoutError | SdkError | InternalServiceError | InvalidRequestError
|
|
250
250
|
>;
|
|
251
251
|
|
|
252
252
|
/**
|
|
@@ -257,7 +257,7 @@ interface DataPipelineService$ {
|
|
|
257
257
|
options?: HttpHandlerOptions,
|
|
258
258
|
): Effect.Effect<
|
|
259
259
|
PollForTaskCommandOutput,
|
|
260
|
-
Cause.
|
|
260
|
+
Cause.TimeoutError | SdkError | InternalServiceError | InvalidRequestError | TaskNotFoundError
|
|
261
261
|
>;
|
|
262
262
|
|
|
263
263
|
/**
|
|
@@ -268,7 +268,7 @@ interface DataPipelineService$ {
|
|
|
268
268
|
options?: HttpHandlerOptions,
|
|
269
269
|
): Effect.Effect<
|
|
270
270
|
PutPipelineDefinitionCommandOutput,
|
|
271
|
-
| Cause.
|
|
271
|
+
| Cause.TimeoutError
|
|
272
272
|
| SdkError
|
|
273
273
|
| InternalServiceError
|
|
274
274
|
| InvalidRequestError
|
|
@@ -284,7 +284,7 @@ interface DataPipelineService$ {
|
|
|
284
284
|
options?: HttpHandlerOptions,
|
|
285
285
|
): Effect.Effect<
|
|
286
286
|
QueryObjectsCommandOutput,
|
|
287
|
-
| Cause.
|
|
287
|
+
| Cause.TimeoutError
|
|
288
288
|
| SdkError
|
|
289
289
|
| InternalServiceError
|
|
290
290
|
| InvalidRequestError
|
|
@@ -300,7 +300,7 @@ interface DataPipelineService$ {
|
|
|
300
300
|
options?: HttpHandlerOptions,
|
|
301
301
|
): Effect.Effect<
|
|
302
302
|
RemoveTagsCommandOutput,
|
|
303
|
-
| Cause.
|
|
303
|
+
| Cause.TimeoutError
|
|
304
304
|
| SdkError
|
|
305
305
|
| InternalServiceError
|
|
306
306
|
| InvalidRequestError
|
|
@@ -316,7 +316,7 @@ interface DataPipelineService$ {
|
|
|
316
316
|
options?: HttpHandlerOptions,
|
|
317
317
|
): Effect.Effect<
|
|
318
318
|
ReportTaskProgressCommandOutput,
|
|
319
|
-
| Cause.
|
|
319
|
+
| Cause.TimeoutError
|
|
320
320
|
| SdkError
|
|
321
321
|
| InternalServiceError
|
|
322
322
|
| InvalidRequestError
|
|
@@ -333,7 +333,7 @@ interface DataPipelineService$ {
|
|
|
333
333
|
options?: HttpHandlerOptions,
|
|
334
334
|
): Effect.Effect<
|
|
335
335
|
ReportTaskRunnerHeartbeatCommandOutput,
|
|
336
|
-
Cause.
|
|
336
|
+
Cause.TimeoutError | SdkError | InternalServiceError | InvalidRequestError
|
|
337
337
|
>;
|
|
338
338
|
|
|
339
339
|
/**
|
|
@@ -344,7 +344,7 @@ interface DataPipelineService$ {
|
|
|
344
344
|
options?: HttpHandlerOptions,
|
|
345
345
|
): Effect.Effect<
|
|
346
346
|
SetStatusCommandOutput,
|
|
347
|
-
| Cause.
|
|
347
|
+
| Cause.TimeoutError
|
|
348
348
|
| SdkError
|
|
349
349
|
| InternalServiceError
|
|
350
350
|
| InvalidRequestError
|
|
@@ -360,7 +360,7 @@ interface DataPipelineService$ {
|
|
|
360
360
|
options?: HttpHandlerOptions,
|
|
361
361
|
): Effect.Effect<
|
|
362
362
|
SetTaskStatusCommandOutput,
|
|
363
|
-
| Cause.
|
|
363
|
+
| Cause.TimeoutError
|
|
364
364
|
| SdkError
|
|
365
365
|
| InternalServiceError
|
|
366
366
|
| InvalidRequestError
|
|
@@ -377,7 +377,7 @@ interface DataPipelineService$ {
|
|
|
377
377
|
options?: HttpHandlerOptions,
|
|
378
378
|
): Effect.Effect<
|
|
379
379
|
ValidatePipelineDefinitionCommandOutput,
|
|
380
|
-
| Cause.
|
|
380
|
+
| Cause.TimeoutError
|
|
381
381
|
| SdkError
|
|
382
382
|
| InternalServiceError
|
|
383
383
|
| InvalidRequestError
|
|
@@ -407,10 +407,10 @@ export const makeDataPipelineService = Effect.gen(function*() {
|
|
|
407
407
|
* @since 1.0.0
|
|
408
408
|
* @category models
|
|
409
409
|
*/
|
|
410
|
-
export class DataPipelineService extends
|
|
410
|
+
export class DataPipelineService extends ServiceMap.Service<
|
|
411
411
|
DataPipelineService,
|
|
412
412
|
DataPipelineService$
|
|
413
|
-
>() {
|
|
413
|
+
>()("@effect-aws/client-data-pipeline/DataPipelineService") {
|
|
414
414
|
static readonly defaultLayer = Layer.effect(this, makeDataPipelineService).pipe(Layer.provide(Instance.layer));
|
|
415
415
|
static readonly layer = (config: DataPipelineService.Config) =>
|
|
416
416
|
Layer.effect(this, makeDataPipelineService).pipe(
|
|
@@ -3,18 +3,17 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import type { DataPipelineClientConfig } from "@aws-sdk/client-data-pipeline";
|
|
5
5
|
import { ServiceLogger } from "@effect-aws/commons";
|
|
6
|
-
import { Effect,
|
|
6
|
+
import { Effect, Layer, ServiceMap } from "effect";
|
|
7
7
|
import { dual } from "effect/Function";
|
|
8
|
-
import { globalValue } from "effect/GlobalValue";
|
|
9
8
|
import type { DataPipelineService } from "./DataPipelineService.js";
|
|
10
9
|
|
|
11
10
|
/**
|
|
12
11
|
* @since 1.0.0
|
|
13
12
|
* @category data-pipeline service config
|
|
14
13
|
*/
|
|
15
|
-
const currentDataPipelineServiceConfig =
|
|
14
|
+
const currentDataPipelineServiceConfig = ServiceMap.Reference<DataPipelineService.Config>(
|
|
16
15
|
"@effect-aws/client-data-pipeline/currentDataPipelineServiceConfig",
|
|
17
|
-
() =>
|
|
16
|
+
{ defaultValue: () => ({}) },
|
|
18
17
|
);
|
|
19
18
|
|
|
20
19
|
/**
|
|
@@ -27,7 +26,7 @@ export const withDataPipelineServiceConfig: {
|
|
|
27
26
|
} = dual(
|
|
28
27
|
2,
|
|
29
28
|
<A, E, R>(effect: Effect.Effect<A, E, R>, config: DataPipelineService.Config): Effect.Effect<A, E, R> =>
|
|
30
|
-
Effect.
|
|
29
|
+
Effect.provideService(effect, currentDataPipelineServiceConfig, config),
|
|
31
30
|
);
|
|
32
31
|
|
|
33
32
|
/**
|
|
@@ -35,14 +34,14 @@ export const withDataPipelineServiceConfig: {
|
|
|
35
34
|
* @category data-pipeline service config
|
|
36
35
|
*/
|
|
37
36
|
export const setDataPipelineServiceConfig = (config: DataPipelineService.Config) =>
|
|
38
|
-
Layer.
|
|
37
|
+
Layer.succeed(currentDataPipelineServiceConfig, config);
|
|
39
38
|
|
|
40
39
|
/**
|
|
41
40
|
* @since 1.0.0
|
|
42
41
|
* @category adapters
|
|
43
42
|
*/
|
|
44
43
|
export const toDataPipelineClientConfig: Effect.Effect<DataPipelineClientConfig> = Effect.gen(function*() {
|
|
45
|
-
const { logger: serviceLogger, ...config } = yield*
|
|
44
|
+
const { logger: serviceLogger, ...config } = yield* currentDataPipelineServiceConfig;
|
|
46
45
|
|
|
47
46
|
const logger = serviceLogger === true
|
|
48
47
|
? yield* ServiceLogger.toClientLogger(ServiceLogger.defaultServiceLogger)
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @since 1.0.0
|
|
3
|
-
*/
|
|
4
|
-
import { DataPipelineClient } from "@aws-sdk/client-data-pipeline";
|
|
5
|
-
import { Context, Effect, Layer } from "effect";
|
|
6
|
-
declare const DataPipelineClientInstance_base: Context.TagClass<DataPipelineClientInstance, "@effect-aws/client-data-pipeline/DataPipelineClientInstance", DataPipelineClient>;
|
|
7
|
-
/**
|
|
8
|
-
* @since 1.0.0
|
|
9
|
-
* @category tags
|
|
10
|
-
*/
|
|
11
|
-
export declare class DataPipelineClientInstance extends DataPipelineClientInstance_base {
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* @since 1.0.0
|
|
15
|
-
* @category constructors
|
|
16
|
-
*/
|
|
17
|
-
export declare const make: Effect.Effect<DataPipelineClient, never, import("effect/Scope").Scope>;
|
|
18
|
-
/**
|
|
19
|
-
* @since 1.0.0
|
|
20
|
-
* @category layers
|
|
21
|
-
*/
|
|
22
|
-
export declare const layer: Layer.Layer<DataPipelineClientInstance, never, never>;
|
|
23
|
-
export {};
|
|
24
|
-
//# sourceMappingURL=DataPipelineClientInstance.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DataPipelineClientInstance.d.ts","sourceRoot":"","sources":["../../src/DataPipelineClientInstance.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AACnE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;;AAGhD;;;GAGG;AACH,qBAAa,0BAA2B,SAAQ,+BAEG;CAAG;AAEtD;;;GAGG;AACH,eAAO,MAAM,IAAI,wEAOhB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,KAAK,uDAAiD,CAAC"}
|
|
@@ -1,50 +0,0 @@
|
|
|
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.DataPipelineClientInstance = void 0;
|
|
27
|
-
/**
|
|
28
|
-
* @since 1.0.0
|
|
29
|
-
*/
|
|
30
|
-
const client_data_pipeline_1 = require("@aws-sdk/client-data-pipeline");
|
|
31
|
-
const effect_1 = require("effect");
|
|
32
|
-
const DataPipelineServiceConfig = __importStar(require("./DataPipelineServiceConfig.js"));
|
|
33
|
-
/**
|
|
34
|
-
* @since 1.0.0
|
|
35
|
-
* @category tags
|
|
36
|
-
*/
|
|
37
|
-
class DataPipelineClientInstance extends effect_1.Context.Tag("@effect-aws/client-data-pipeline/DataPipelineClientInstance")() {
|
|
38
|
-
}
|
|
39
|
-
exports.DataPipelineClientInstance = DataPipelineClientInstance;
|
|
40
|
-
/**
|
|
41
|
-
* @since 1.0.0
|
|
42
|
-
* @category constructors
|
|
43
|
-
*/
|
|
44
|
-
exports.make = effect_1.Effect.flatMap(DataPipelineServiceConfig.toDataPipelineClientConfig, (config) => effect_1.Effect.acquireRelease(effect_1.Effect.sync(() => new client_data_pipeline_1.DataPipelineClient(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(DataPipelineClientInstance, exports.make);
|
|
50
|
-
//# sourceMappingURL=DataPipelineClientInstance.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DataPipelineClientInstance.js","sourceRoot":"","sources":["../../src/DataPipelineClientInstance.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,wEAAmE;AACnE,mCAAgD;AAChD,0FAA4E;AAE5E;;;GAGG;AACH,MAAa,0BAA2B,SAAQ,gBAAO,CAAC,GAAG,CACzD,6DAA6D,CAC9D,EAAkD;CAAG;AAFtD,gEAEsD;AAEtD;;;GAGG;AACU,QAAA,IAAI,GAAG,eAAM,CAAC,OAAO,CAChC,yBAAyB,CAAC,0BAA0B,EACpD,CAAC,MAAM,EAAE,EAAE,CACT,eAAM,CAAC,cAAc,CACnB,eAAM,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,IAAI,yCAAkB,CAAC,MAAM,CAAC,CAAC,EACjD,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,0BAA0B,EAAE,YAAI,CAAC,CAAC"}
|
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @since 1.0.0
|
|
3
|
-
*/
|
|
4
|
-
import { type ActivatePipelineCommandInput, type ActivatePipelineCommandOutput, type AddTagsCommandInput, type AddTagsCommandOutput, type CreatePipelineCommandInput, type CreatePipelineCommandOutput, type DataPipelineClient, type DataPipelineClientConfig, type DeactivatePipelineCommandInput, type DeactivatePipelineCommandOutput, type DeletePipelineCommandInput, type DeletePipelineCommandOutput, type DescribeObjectsCommandInput, type DescribeObjectsCommandOutput, type DescribePipelinesCommandInput, type DescribePipelinesCommandOutput, type EvaluateExpressionCommandInput, type EvaluateExpressionCommandOutput, type GetPipelineDefinitionCommandInput, type GetPipelineDefinitionCommandOutput, type ListPipelinesCommandInput, type ListPipelinesCommandOutput, type PollForTaskCommandInput, type PollForTaskCommandOutput, type PutPipelineDefinitionCommandInput, type PutPipelineDefinitionCommandOutput, type QueryObjectsCommandInput, type QueryObjectsCommandOutput, type RemoveTagsCommandInput, type RemoveTagsCommandOutput, type ReportTaskProgressCommandInput, type ReportTaskProgressCommandOutput, type ReportTaskRunnerHeartbeatCommandInput, type ReportTaskRunnerHeartbeatCommandOutput, type SetStatusCommandInput, type SetStatusCommandOutput, type SetTaskStatusCommandInput, type SetTaskStatusCommandOutput, type ValidatePipelineDefinitionCommandInput, type ValidatePipelineDefinitionCommandOutput } from "@aws-sdk/client-data-pipeline";
|
|
5
|
-
import type { HttpHandlerOptions, ServiceLogger } from "@effect-aws/commons";
|
|
6
|
-
import type { Cause } from "effect";
|
|
7
|
-
import { Effect, Layer } from "effect";
|
|
8
|
-
import * as Instance from "./DataPipelineClientInstance.js";
|
|
9
|
-
import type { InternalServiceError, InvalidRequestError, PipelineDeletedError, PipelineNotFoundError, SdkError, TaskNotFoundError } from "./Errors.js";
|
|
10
|
-
interface DataPipelineService$ {
|
|
11
|
-
readonly _: unique symbol;
|
|
12
|
-
/**
|
|
13
|
-
* @see {@link ActivatePipelineCommand}
|
|
14
|
-
*/
|
|
15
|
-
activatePipeline(args: ActivatePipelineCommandInput, options?: HttpHandlerOptions): Effect.Effect<ActivatePipelineCommandOutput, Cause.TimeoutException | SdkError | InternalServiceError | InvalidRequestError | PipelineDeletedError | PipelineNotFoundError>;
|
|
16
|
-
/**
|
|
17
|
-
* @see {@link AddTagsCommand}
|
|
18
|
-
*/
|
|
19
|
-
addTags(args: AddTagsCommandInput, options?: HttpHandlerOptions): Effect.Effect<AddTagsCommandOutput, Cause.TimeoutException | SdkError | InternalServiceError | InvalidRequestError | PipelineDeletedError | PipelineNotFoundError>;
|
|
20
|
-
/**
|
|
21
|
-
* @see {@link CreatePipelineCommand}
|
|
22
|
-
*/
|
|
23
|
-
createPipeline(args: CreatePipelineCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreatePipelineCommandOutput, Cause.TimeoutException | SdkError | InternalServiceError | InvalidRequestError>;
|
|
24
|
-
/**
|
|
25
|
-
* @see {@link DeactivatePipelineCommand}
|
|
26
|
-
*/
|
|
27
|
-
deactivatePipeline(args: DeactivatePipelineCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeactivatePipelineCommandOutput, Cause.TimeoutException | SdkError | InternalServiceError | InvalidRequestError | PipelineDeletedError | PipelineNotFoundError>;
|
|
28
|
-
/**
|
|
29
|
-
* @see {@link DeletePipelineCommand}
|
|
30
|
-
*/
|
|
31
|
-
deletePipeline(args: DeletePipelineCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeletePipelineCommandOutput, Cause.TimeoutException | SdkError | InternalServiceError | InvalidRequestError | PipelineNotFoundError>;
|
|
32
|
-
/**
|
|
33
|
-
* @see {@link DescribeObjectsCommand}
|
|
34
|
-
*/
|
|
35
|
-
describeObjects(args: DescribeObjectsCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeObjectsCommandOutput, Cause.TimeoutException | SdkError | InternalServiceError | InvalidRequestError | PipelineDeletedError | PipelineNotFoundError>;
|
|
36
|
-
/**
|
|
37
|
-
* @see {@link DescribePipelinesCommand}
|
|
38
|
-
*/
|
|
39
|
-
describePipelines(args: DescribePipelinesCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribePipelinesCommandOutput, Cause.TimeoutException | SdkError | InternalServiceError | InvalidRequestError | PipelineDeletedError | PipelineNotFoundError>;
|
|
40
|
-
/**
|
|
41
|
-
* @see {@link EvaluateExpressionCommand}
|
|
42
|
-
*/
|
|
43
|
-
evaluateExpression(args: EvaluateExpressionCommandInput, options?: HttpHandlerOptions): Effect.Effect<EvaluateExpressionCommandOutput, Cause.TimeoutException | SdkError | InternalServiceError | InvalidRequestError | PipelineDeletedError | PipelineNotFoundError | TaskNotFoundError>;
|
|
44
|
-
/**
|
|
45
|
-
* @see {@link GetPipelineDefinitionCommand}
|
|
46
|
-
*/
|
|
47
|
-
getPipelineDefinition(args: GetPipelineDefinitionCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetPipelineDefinitionCommandOutput, Cause.TimeoutException | SdkError | InternalServiceError | InvalidRequestError | PipelineDeletedError | PipelineNotFoundError>;
|
|
48
|
-
/**
|
|
49
|
-
* @see {@link ListPipelinesCommand}
|
|
50
|
-
*/
|
|
51
|
-
listPipelines(args: ListPipelinesCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListPipelinesCommandOutput, Cause.TimeoutException | SdkError | InternalServiceError | InvalidRequestError>;
|
|
52
|
-
/**
|
|
53
|
-
* @see {@link PollForTaskCommand}
|
|
54
|
-
*/
|
|
55
|
-
pollForTask(args: PollForTaskCommandInput, options?: HttpHandlerOptions): Effect.Effect<PollForTaskCommandOutput, Cause.TimeoutException | SdkError | InternalServiceError | InvalidRequestError | TaskNotFoundError>;
|
|
56
|
-
/**
|
|
57
|
-
* @see {@link PutPipelineDefinitionCommand}
|
|
58
|
-
*/
|
|
59
|
-
putPipelineDefinition(args: PutPipelineDefinitionCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutPipelineDefinitionCommandOutput, Cause.TimeoutException | SdkError | InternalServiceError | InvalidRequestError | PipelineDeletedError | PipelineNotFoundError>;
|
|
60
|
-
/**
|
|
61
|
-
* @see {@link QueryObjectsCommand}
|
|
62
|
-
*/
|
|
63
|
-
queryObjects(args: QueryObjectsCommandInput, options?: HttpHandlerOptions): Effect.Effect<QueryObjectsCommandOutput, Cause.TimeoutException | SdkError | InternalServiceError | InvalidRequestError | PipelineDeletedError | PipelineNotFoundError>;
|
|
64
|
-
/**
|
|
65
|
-
* @see {@link RemoveTagsCommand}
|
|
66
|
-
*/
|
|
67
|
-
removeTags(args: RemoveTagsCommandInput, options?: HttpHandlerOptions): Effect.Effect<RemoveTagsCommandOutput, Cause.TimeoutException | SdkError | InternalServiceError | InvalidRequestError | PipelineDeletedError | PipelineNotFoundError>;
|
|
68
|
-
/**
|
|
69
|
-
* @see {@link ReportTaskProgressCommand}
|
|
70
|
-
*/
|
|
71
|
-
reportTaskProgress(args: ReportTaskProgressCommandInput, options?: HttpHandlerOptions): Effect.Effect<ReportTaskProgressCommandOutput, Cause.TimeoutException | SdkError | InternalServiceError | InvalidRequestError | PipelineDeletedError | PipelineNotFoundError | TaskNotFoundError>;
|
|
72
|
-
/**
|
|
73
|
-
* @see {@link ReportTaskRunnerHeartbeatCommand}
|
|
74
|
-
*/
|
|
75
|
-
reportTaskRunnerHeartbeat(args: ReportTaskRunnerHeartbeatCommandInput, options?: HttpHandlerOptions): Effect.Effect<ReportTaskRunnerHeartbeatCommandOutput, Cause.TimeoutException | SdkError | InternalServiceError | InvalidRequestError>;
|
|
76
|
-
/**
|
|
77
|
-
* @see {@link SetStatusCommand}
|
|
78
|
-
*/
|
|
79
|
-
setStatus(args: SetStatusCommandInput, options?: HttpHandlerOptions): Effect.Effect<SetStatusCommandOutput, Cause.TimeoutException | SdkError | InternalServiceError | InvalidRequestError | PipelineDeletedError | PipelineNotFoundError>;
|
|
80
|
-
/**
|
|
81
|
-
* @see {@link SetTaskStatusCommand}
|
|
82
|
-
*/
|
|
83
|
-
setTaskStatus(args: SetTaskStatusCommandInput, options?: HttpHandlerOptions): Effect.Effect<SetTaskStatusCommandOutput, Cause.TimeoutException | SdkError | InternalServiceError | InvalidRequestError | PipelineDeletedError | PipelineNotFoundError | TaskNotFoundError>;
|
|
84
|
-
/**
|
|
85
|
-
* @see {@link ValidatePipelineDefinitionCommand}
|
|
86
|
-
*/
|
|
87
|
-
validatePipelineDefinition(args: ValidatePipelineDefinitionCommandInput, options?: HttpHandlerOptions): Effect.Effect<ValidatePipelineDefinitionCommandOutput, Cause.TimeoutException | SdkError | InternalServiceError | InvalidRequestError | PipelineDeletedError | PipelineNotFoundError>;
|
|
88
|
-
}
|
|
89
|
-
/**
|
|
90
|
-
* @since 1.0.0
|
|
91
|
-
* @category constructors
|
|
92
|
-
*/
|
|
93
|
-
export declare const makeDataPipelineService: Effect.Effect<DataPipelineService$, never, Instance.DataPipelineClientInstance>;
|
|
94
|
-
declare const DataPipelineService_base: import("effect/Context").TagClass<DataPipelineService, "@effect-aws/client-data-pipeline/DataPipelineService", DataPipelineService$> & Effect.Tag.Proxy<DataPipelineService, DataPipelineService$> & {
|
|
95
|
-
use: <X>(body: (_: DataPipelineService$) => X) => [X] extends [Effect.Effect<infer A, infer E, infer R>] ? Effect.Effect<A, E, DataPipelineService | R> : [X] extends [PromiseLike<infer A_1>] ? Effect.Effect<A_1, Cause.UnknownException, DataPipelineService> : Effect.Effect<X, never, DataPipelineService>;
|
|
96
|
-
};
|
|
97
|
-
/**
|
|
98
|
-
* @since 1.0.0
|
|
99
|
-
* @category models
|
|
100
|
-
*/
|
|
101
|
-
export declare class DataPipelineService extends DataPipelineService_base {
|
|
102
|
-
static readonly defaultLayer: Layer.Layer<DataPipelineService, never, never>;
|
|
103
|
-
static readonly layer: (config: DataPipelineService.Config) => Layer.Layer<DataPipelineService, never, never>;
|
|
104
|
-
static readonly baseLayer: (evaluate: (defaultConfig: DataPipelineClientConfig) => DataPipelineClient) => Layer.Layer<DataPipelineService, never, never>;
|
|
105
|
-
}
|
|
106
|
-
/**
|
|
107
|
-
* @since 1.0.0
|
|
108
|
-
*/
|
|
109
|
-
export declare namespace DataPipelineService {
|
|
110
|
-
/**
|
|
111
|
-
* @since 1.0.0
|
|
112
|
-
*/
|
|
113
|
-
interface Config extends Omit<DataPipelineClientConfig, "logger"> {
|
|
114
|
-
readonly logger?: ServiceLogger.ServiceLoggerConstructorProps | true;
|
|
115
|
-
}
|
|
116
|
-
/**
|
|
117
|
-
* @since 1.0.0
|
|
118
|
-
*/
|
|
119
|
-
type Type = DataPipelineService$;
|
|
120
|
-
}
|
|
121
|
-
export {};
|
|
122
|
-
//# sourceMappingURL=DataPipelineService.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DataPipelineService.d.ts","sourceRoot":"","sources":["../../src/DataPipelineService.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAEL,KAAK,4BAA4B,EACjC,KAAK,6BAA6B,EAElC,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EAEzB,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,EAChC,KAAK,kBAAkB,EACvB,KAAK,wBAAwB,EAE7B,KAAK,8BAA8B,EACnC,KAAK,+BAA+B,EAEpC,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,EAEhC,KAAK,2BAA2B,EAChC,KAAK,4BAA4B,EAEjC,KAAK,6BAA6B,EAClC,KAAK,8BAA8B,EAEnC,KAAK,8BAA8B,EACnC,KAAK,+BAA+B,EAEpC,KAAK,iCAAiC,EACtC,KAAK,kCAAkC,EAEvC,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAE/B,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAE7B,KAAK,iCAAiC,EACtC,KAAK,kCAAkC,EAEvC,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAE9B,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAE5B,KAAK,8BAA8B,EACnC,K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GACpB,mBAAmB,GACnB,oBAAoB,GACpB,qBAAqB,CACxB,CAAC;CACH;AAED;;;GAGG;AACH,eAAO,MAAM,uBAAuB,iFAWlC,CAAC;;;;AAEH;;;GAGG;AACH,qBAAa,mBAAoB,SAAQ,wBAGtC;IACD,MAAM,CAAC,QAAQ,CAAC,YAAY,iDAAmF;IAC/G,MAAM,CAAC,QAAQ,CAAC,KAAK,WAAY,oBAAoB,MAAM,oDAIvD;IACJ,MAAM,CAAC,QAAQ,CAAC,SAAS,aACb,CAAC,aAAa,EAAE,wBAAwB,KAAK,kBAAkB,oDASvE;CACL;AAED;;GAEG;AACH,MAAM,CAAC,OAAO,WAAW,mBAAmB,CAAC;IAC3C;;OAEG;IACH,UAAiB,MAAO,SAAQ,IAAI,CAAC,wBAAwB,EAAE,QAAQ,CAAC;QACtE,QAAQ,CAAC,MAAM,CAAC,EAAE,aAAa,CAAC,6BAA6B,GAAG,IAAI,CAAC;KACtE;IAED;;OAEG;IACH,KAAY,IAAI,GAAG,oBAAoB,CAAC;CACzC"}
|
|
@@ -1,78 +0,0 @@
|
|
|
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.DataPipelineService = exports.makeDataPipelineService = void 0;
|
|
27
|
-
/**
|
|
28
|
-
* @since 1.0.0
|
|
29
|
-
*/
|
|
30
|
-
const client_data_pipeline_1 = require("@aws-sdk/client-data-pipeline");
|
|
31
|
-
const commons_1 = require("@effect-aws/commons");
|
|
32
|
-
const effect_1 = require("effect");
|
|
33
|
-
const Instance = __importStar(require("./DataPipelineClientInstance.js"));
|
|
34
|
-
const DataPipelineServiceConfig = __importStar(require("./DataPipelineServiceConfig.js"));
|
|
35
|
-
const Errors_js_1 = require("./Errors.js");
|
|
36
|
-
const commands = {
|
|
37
|
-
ActivatePipelineCommand: client_data_pipeline_1.ActivatePipelineCommand,
|
|
38
|
-
AddTagsCommand: client_data_pipeline_1.AddTagsCommand,
|
|
39
|
-
CreatePipelineCommand: client_data_pipeline_1.CreatePipelineCommand,
|
|
40
|
-
DeactivatePipelineCommand: client_data_pipeline_1.DeactivatePipelineCommand,
|
|
41
|
-
DeletePipelineCommand: client_data_pipeline_1.DeletePipelineCommand,
|
|
42
|
-
DescribeObjectsCommand: client_data_pipeline_1.DescribeObjectsCommand,
|
|
43
|
-
DescribePipelinesCommand: client_data_pipeline_1.DescribePipelinesCommand,
|
|
44
|
-
EvaluateExpressionCommand: client_data_pipeline_1.EvaluateExpressionCommand,
|
|
45
|
-
GetPipelineDefinitionCommand: client_data_pipeline_1.GetPipelineDefinitionCommand,
|
|
46
|
-
ListPipelinesCommand: client_data_pipeline_1.ListPipelinesCommand,
|
|
47
|
-
PollForTaskCommand: client_data_pipeline_1.PollForTaskCommand,
|
|
48
|
-
PutPipelineDefinitionCommand: client_data_pipeline_1.PutPipelineDefinitionCommand,
|
|
49
|
-
QueryObjectsCommand: client_data_pipeline_1.QueryObjectsCommand,
|
|
50
|
-
RemoveTagsCommand: client_data_pipeline_1.RemoveTagsCommand,
|
|
51
|
-
ReportTaskProgressCommand: client_data_pipeline_1.ReportTaskProgressCommand,
|
|
52
|
-
ReportTaskRunnerHeartbeatCommand: client_data_pipeline_1.ReportTaskRunnerHeartbeatCommand,
|
|
53
|
-
SetStatusCommand: client_data_pipeline_1.SetStatusCommand,
|
|
54
|
-
SetTaskStatusCommand: client_data_pipeline_1.SetTaskStatusCommand,
|
|
55
|
-
ValidatePipelineDefinitionCommand: client_data_pipeline_1.ValidatePipelineDefinitionCommand,
|
|
56
|
-
};
|
|
57
|
-
/**
|
|
58
|
-
* @since 1.0.0
|
|
59
|
-
* @category constructors
|
|
60
|
-
*/
|
|
61
|
-
exports.makeDataPipelineService = effect_1.Effect.gen(function* () {
|
|
62
|
-
const client = yield* Instance.DataPipelineClientInstance;
|
|
63
|
-
return yield* commons_1.Service.fromClientAndCommands(client, commands, {
|
|
64
|
-
errorTags: Errors_js_1.AllServiceErrors,
|
|
65
|
-
resolveClientConfig: DataPipelineServiceConfig.toDataPipelineClientConfig,
|
|
66
|
-
});
|
|
67
|
-
});
|
|
68
|
-
/**
|
|
69
|
-
* @since 1.0.0
|
|
70
|
-
* @category models
|
|
71
|
-
*/
|
|
72
|
-
class DataPipelineService extends effect_1.Effect.Tag("@effect-aws/client-data-pipeline/DataPipelineService")() {
|
|
73
|
-
static defaultLayer = effect_1.Layer.effect(this, exports.makeDataPipelineService).pipe(effect_1.Layer.provide(Instance.layer));
|
|
74
|
-
static layer = (config) => effect_1.Layer.effect(this, exports.makeDataPipelineService).pipe(effect_1.Layer.provide(Instance.layer), effect_1.Layer.provide(DataPipelineServiceConfig.setDataPipelineServiceConfig(config)));
|
|
75
|
-
static baseLayer = (evaluate) => effect_1.Layer.effect(this, exports.makeDataPipelineService).pipe(effect_1.Layer.provide(effect_1.Layer.effect(Instance.DataPipelineClientInstance, effect_1.Effect.map(DataPipelineServiceConfig.toDataPipelineClientConfig, evaluate))));
|
|
76
|
-
}
|
|
77
|
-
exports.DataPipelineService = DataPipelineService;
|
|
78
|
-
//# sourceMappingURL=DataPipelineService.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DataPipelineService.js","sourceRoot":"","sources":["../../src/DataPipelineService.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,wEA4DuC;AAEvC,iDAA8C;AAE9C,mCAAuC;AACvC,0EAA4D;AAC5D,0FAA4E;AAS5E,2CAA+C;AAE/C,MAAM,QAAQ,GAAG;IACf,uBAAuB,EAAvB,8CAAuB;IACvB,cAAc,EAAd,qCAAc;IACd,qBAAqB,EAArB,4CAAqB;IACrB,yBAAyB,EAAzB,gDAAyB;IACzB,qBAAqB,EAArB,4CAAqB;IACrB,sBAAsB,EAAtB,6CAAsB;IACtB,wBAAwB,EAAxB,+CAAwB;IACxB,yBAAyB,EAAzB,gDAAyB;IACzB,4BAA4B,EAA5B,mDAA4B;IAC5B,oBAAoB,EAApB,2CAAoB;IACpB,kBAAkB,EAAlB,yCAAkB;IAClB,4BAA4B,EAA5B,mDAA4B;IAC5B,mBAAmB,EAAnB,0CAAmB;IACnB,iBAAiB,EAAjB,wCAAiB;IACjB,yBAAyB,EAAzB,gDAAyB;IACzB,gCAAgC,EAAhC,uDAAgC;IAChC,gBAAgB,EAAhB,uCAAgB;IAChB,oBAAoB,EAApB,2CAAoB;IACpB,iCAAiC,EAAjC,wDAAiC;CAClC,CAAC;AAgSF;;;GAGG;AACU,QAAA,uBAAuB,GAAG,eAAM,CAAC,GAAG,CAAC,QAAQ,CAAC;IACzD,MAAM,MAAM,GAAG,KAAK,CAAC,CAAC,QAAQ,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ipelineService } from "./DataPipelineService.js";
|
|
7
|
-
/**
|
|
8
|
-
* @since 1.0.0
|
|
9
|
-
* @category data-pipeline service config
|
|
10
|
-
*/
|
|
11
|
-
export declare const withDataPipelineServiceConfig: {
|
|
12
|
-
(config: DataPipelineService.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: DataPipelineService.Config): Effect.Effect<A, E, R>;
|
|
14
|
-
};
|
|
15
|
-
/**
|
|
16
|
-
* @since 1.0.0
|
|
17
|
-
* @category data-pipeline service config
|
|
18
|
-
*/
|
|
19
|
-
export declare const setDataPipelineServiceConfig: (config: DataPipelineService.Config) => Layer.Layer<never, never, never>;
|
|
20
|
-
/**
|
|
21
|
-
* @since 1.0.0
|
|
22
|
-
* @category adapters
|
|
23
|
-
*/
|
|
24
|
-
export declare const toDataPipelineClientConfig: Effect.Effect<DataPipelineClientConfig>;
|
|
25
|
-
//# sourceMappingURL=DataPipelineServiceConfig.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DataPipelineServiceConfig.d.ts","sourceRoot":"","sources":["../../src/DataPipelineServiceConfig.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAE9E,OAAO,EAAE,MAAM,EAAY,KAAK,EAAE,MAAM,QAAQ,CAAC;AAGjD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAWpE;;;GAGG;AACH,eAAO,MAAM,6BAA6B,EAAE;IAC1C,CAAC,MAAM,EAAE,mBAAmB,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;IAC1G,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,mBAAmB,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;CAKvG,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,4BAA4B,WAAY,oBAAoB,MAAM,qCAChB,CAAC;AAEhE;;;GAGG;AACH,eAAO,MAAM,0BAA0B,EAAE,MAAM,CAAC,MAAM,CAAC,wBAAwB,CAQ7E,CAAC"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.toDataPipelineClientConfig = exports.setDataPipelineServiceConfig = exports.withDataPipelineServiceConfig = 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 data-pipeline service config
|
|
11
|
-
*/
|
|
12
|
-
const currentDataPipelineServiceConfig = (0, GlobalValue_1.globalValue)("@effect-aws/client-data-pipeline/currentDataPipelineServiceConfig", () => effect_1.FiberRef.unsafeMake({}));
|
|
13
|
-
/**
|
|
14
|
-
* @since 1.0.0
|
|
15
|
-
* @category data-pipeline service config
|
|
16
|
-
*/
|
|
17
|
-
exports.withDataPipelineServiceConfig = (0, Function_1.dual)(2, (effect, config) => effect_1.Effect.locally(effect, currentDataPipelineServiceConfig, config));
|
|
18
|
-
/**
|
|
19
|
-
* @since 1.0.0
|
|
20
|
-
* @category data-pipeline service config
|
|
21
|
-
*/
|
|
22
|
-
const setDataPipelineServiceConfig = (config) => effect_1.Layer.locallyScoped(currentDataPipelineServiceConfig, config);
|
|
23
|
-
exports.setDataPipelineServiceConfig = setDataPipelineServiceConfig;
|
|
24
|
-
/**
|
|
25
|
-
* @since 1.0.0
|
|
26
|
-
* @category adapters
|
|
27
|
-
*/
|
|
28
|
-
exports.toDataPipelineClientConfig = effect_1.Effect.gen(function* () {
|
|
29
|
-
const { logger: serviceLogger, ...config } = yield* effect_1.FiberRef.get(currentDataPipelineServiceConfig);
|
|
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=DataPipelineServiceConfig.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DataPipelineServiceConfig.js","sourceRoot":"","sources":["../../src/DataPipelineServiceConfig.ts"],"names":[],"mappings":";;;AAIA,iDAAoD;AACpD,mCAAiD;AACjD,8CAAuC;AACvC,oDAAiD;AAGjD;;;GAGG;AACH,MAAM,gCAAgC,GAAG,IAAA,yBAAW,EAClD,mEAAmE,EACnE,GAAG,EAAE,CAAC,iBAAQ,CAAC,UAAU,CAA6B,EAAE,CAAC,CAC1D,CAAC;AAEF;;;GAGG;AACU,QAAA,6BAA6B,GAGtC,IAAA,eAAI,EACN,CAAC,EACD,CAAU,MAA8B,EAAE,MAAkC,EAA0B,EAAE,CACtG,eAAM,CAAC,OAAO,CAAC,MAAM,EAAE,gCAAgC,EAAE,MAAM,CAAC,CACnE,CAAC;AAEF;;;GAGG;AACI,MAAM,4BAA4B,GAAG,CAAC,MAAkC,EAAE,EAAE,CACjF,cAAK,CAAC,aAAa,CAAC,gCAAgC,EAAE,MAAM,CAAC,CAAC;AADnD,QAAA,4BAA4B,gCACuB;AAEhE;;;GAGG;AACU,QAAA,0BAA0B,GAA4C,eAAM,CAAC,GAAG,CAAC,QAAQ,CAAC;IACrG,MAAM,EAAE,MAAM,EAAE,aAAa,EAAE,GAAG,MAAM,EAAE,GAAG,KAAK,CAAC,CAAC,iBAAQ,CAAC,GAAG,CAAC,gCAAgC,CAAC,CAAC;IAEnG,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"}
|
package/dist/cjs/Errors.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { InternalServiceError as InternalServiceException, InvalidRequestException, PipelineDeletedException, PipelineNotFoundException, TaskNotFoundException } from "@aws-sdk/client-data-pipeline";
|
|
2
|
-
import type { TaggedException } from "@effect-aws/commons";
|
|
3
|
-
export declare const AllServiceErrors: readonly ["InternalServiceError", "InvalidRequestException", "PipelineDeletedException", "PipelineNotFoundException", "TaskNotFoundException"];
|
|
4
|
-
export type InternalServiceError = TaggedException<InternalServiceException>;
|
|
5
|
-
export type InvalidRequestError = TaggedException<InvalidRequestException>;
|
|
6
|
-
export type PipelineDeletedError = TaggedException<PipelineDeletedException>;
|
|
7
|
-
export type PipelineNotFoundError = TaggedException<PipelineNotFoundException>;
|
|
8
|
-
export type TaskNotFoundError = TaggedException<TaskNotFoundException>;
|
|
9
|
-
export type SdkError = TaggedException<Error & {
|
|
10
|
-
name: "SdkError";
|
|
11
|
-
}>;
|
|
12
|
-
//# sourceMappingURL=Errors.d.ts.map
|
package/dist/cjs/Errors.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Errors.d.ts","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,oBAAoB,IAAI,wBAAwB,EAChD,uBAAuB,EACvB,wBAAwB,EACxB,yBAAyB,EACzB,qBAAqB,EACtB,MAAM,+BAA+B,CAAC;AACvC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAE3D,eAAO,MAAM,gBAAgB,gJAMnB,CAAC;AAEX,MAAM,MAAM,oBAAoB,GAAG,eAAe,CAAC,wBAAwB,CAAC,CAAC;AAC7E,MAAM,MAAM,mBAAmB,GAAG,eAAe,CAAC,uBAAuB,CAAC,CAAC;AAC3E,MAAM,MAAM,oBAAoB,GAAG,eAAe,CAAC,wBAAwB,CAAC,CAAC;AAC7E,MAAM,MAAM,qBAAqB,GAAG,eAAe,CAAC,yBAAyB,CAAC,CAAC;AAC/E,MAAM,MAAM,iBAAiB,GAAG,eAAe,CAAC,qBAAqB,CAAC,CAAC;AACvE,MAAM,MAAM,QAAQ,GAAG,eAAe,CAAC,KAAK,GAAG;IAAE,IAAI,EAAE,UAAU,CAAA;CAAE,CAAC,CAAC"}
|
package/dist/cjs/Errors.js
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AllServiceErrors = void 0;
|
|
4
|
-
exports.AllServiceErrors = [
|
|
5
|
-
"InternalServiceError",
|
|
6
|
-
"InvalidRequestException",
|
|
7
|
-
"PipelineDeletedException",
|
|
8
|
-
"PipelineNotFoundException",
|
|
9
|
-
"TaskNotFoundException",
|
|
10
|
-
];
|
|
11
|
-
//# sourceMappingURL=Errors.js.map
|
package/dist/cjs/Errors.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Errors.js","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":";;;AASa,QAAA,gBAAgB,GAAG;IAC9B,sBAAsB;IACtB,yBAAyB;IACzB,0BAA0B;IAC1B,2BAA2B;IAC3B,uBAAuB;CACf,CAAC"}
|
package/dist/cjs/index.d.ts
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @since 1.0.0
|
|
3
|
-
*/
|
|
4
|
-
import { DataPipelineService } from "./DataPipelineService.js";
|
|
5
|
-
/**
|
|
6
|
-
* @since 1.0.0
|
|
7
|
-
*/
|
|
8
|
-
export * from "./Errors.js";
|
|
9
|
-
/**
|
|
10
|
-
* @since 1.0.0
|
|
11
|
-
*/
|
|
12
|
-
export * as DataPipelineClientInstance from "./DataPipelineClientInstance.js";
|
|
13
|
-
/**
|
|
14
|
-
* @since 1.0.0
|
|
15
|
-
*/
|
|
16
|
-
export * as DataPipelineServiceConfig from "./DataPipelineServiceConfig.js";
|
|
17
|
-
/**
|
|
18
|
-
* @since 1.0.0
|
|
19
|
-
*/
|
|
20
|
-
export * from "./DataPipelineService.js";
|
|
21
|
-
/**
|
|
22
|
-
* @since 1.0.0
|
|
23
|
-
* @category exports
|
|
24
|
-
* @alias DataPipelineService
|
|
25
|
-
*/
|
|
26
|
-
export declare namespace DataPipeline {
|
|
27
|
-
/**
|
|
28
|
-
* @since 1.0.0
|
|
29
|
-
* @alias DataPipelineService.Config
|
|
30
|
-
*/
|
|
31
|
-
type Config = DataPipelineService.Config;
|
|
32
|
-
/**
|
|
33
|
-
* @since 1.0.0
|
|
34
|
-
* @alias DataPipelineService.Type
|
|
35
|
-
*/
|
|
36
|
-
type Type = DataPipelineService.Type;
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* @since 1.0.0
|
|
40
|
-
* @category exports
|
|
41
|
-
* @alias DataPipelineService
|
|
42
|
-
*/
|
|
43
|
-
export declare const DataPipeline: typeof DataPipelineService;
|
|
44
|
-
//# sourceMappingURL=index.d.ts.map
|
package/dist/cjs/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAE/D;;GAEG;AACH,cAAc,aAAa,CAAC;AAE5B;;GAEG;AACH,OAAO,KAAK,0BAA0B,MAAM,iCAAiC,CAAC;AAE9E;;GAEG;AACH,OAAO,KAAK,yBAAyB,MAAM,gCAAgC,CAAC;AAE5E;;GAEG;AACH,cAAc,0BAA0B,CAAC;AAEzC;;;;GAIG;AACH,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC;;;OAGG;IACH,KAAY,MAAM,GAAG,mBAAmB,CAAC,MAAM,CAAC;IAEhD;;;OAGG;IACH,KAAY,IAAI,GAAG,mBAAmB,CAAC,IAAI,CAAC;CAC7C;AAED;;;;GAIG;AACH,eAAO,MAAM,YAAY,4BAAsB,CAAC"}
|
package/dist/cjs/index.js
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
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.DataPipeline = exports.DataPipelineServiceConfig = exports.DataPipelineClientInstance = void 0;
|
|
30
|
-
/**
|
|
31
|
-
* @since 1.0.0
|
|
32
|
-
*/
|
|
33
|
-
const DataPipelineService_js_1 = require("./DataPipelineService.js");
|
|
34
|
-
/**
|
|
35
|
-
* @since 1.0.0
|
|
36
|
-
*/
|
|
37
|
-
__exportStar(require("./Errors.js"), exports);
|
|
38
|
-
/**
|
|
39
|
-
* @since 1.0.0
|
|
40
|
-
*/
|
|
41
|
-
exports.DataPipelineClientInstance = __importStar(require("./DataPipelineClientInstance.js"));
|
|
42
|
-
/**
|
|
43
|
-
* @since 1.0.0
|
|
44
|
-
*/
|
|
45
|
-
exports.DataPipelineServiceConfig = __importStar(require("./DataPipelineServiceConfig.js"));
|
|
46
|
-
/**
|
|
47
|
-
* @since 1.0.0
|
|
48
|
-
*/
|
|
49
|
-
__exportStar(require("./DataPipelineService.js"), exports);
|
|
50
|
-
/**
|
|
51
|
-
* @since 1.0.0
|
|
52
|
-
* @category exports
|
|
53
|
-
* @alias DataPipelineService
|
|
54
|
-
*/
|
|
55
|
-
exports.DataPipeline = DataPipelineService_js_1.DataPipelineService;
|
|
56
|
-
//# sourceMappingURL=index.js.map
|
package/dist/cjs/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,qEAA+D;AAE/D;;GAEG;AACH,8CAA4B;AAE5B;;GAEG;AACH,8FAA8E;AAE9E;;GAEG;AACH,4FAA4E;AAE5E;;GAEG;AACH,2DAAyC;AAqBzC;;;;GAIG;AACU,QAAA,YAAY,GAAG,4CAAmB,CAAC"}
|