@effect-aws/client-mq 1.9.5 → 1.10.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/Errors.d.ts +3 -3
- package/dist/cjs/Errors.d.ts.map +1 -1
- package/dist/cjs/Errors.js +1 -3
- package/dist/cjs/Errors.js.map +1 -1
- package/dist/cjs/MqService.d.ts +32 -27
- package/dist/cjs/MqService.d.ts.map +1 -1
- package/dist/cjs/MqService.js +2 -1
- package/dist/cjs/MqService.js.map +1 -1
- package/dist/dts/Errors.d.ts +3 -3
- package/dist/dts/Errors.d.ts.map +1 -1
- package/dist/dts/MqService.d.ts +32 -27
- package/dist/dts/MqService.d.ts.map +1 -1
- package/dist/esm/Errors.js +0 -2
- package/dist/esm/Errors.js.map +1 -1
- package/dist/esm/MqService.js +3 -2
- package/dist/esm/MqService.js.map +1 -1
- package/package.json +2 -2
- package/src/Errors.ts +1 -4
- package/src/MqService.ts +78 -25
package/dist/cjs/Errors.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { BadRequestException, ConflictException, ForbiddenException, InternalServerErrorException, NotFoundException, UnauthorizedException } from "@aws-sdk/client-mq";
|
|
2
2
|
import type { TaggedException } from "@effect-aws/commons";
|
|
3
|
-
import { SdkError as CommonSdkError } from "@effect-aws/commons";
|
|
4
3
|
export declare const AllServiceErrors: readonly ["BadRequestException", "ConflictException", "ForbiddenException", "InternalServerErrorException", "NotFoundException", "UnauthorizedException"];
|
|
5
4
|
export type BadRequestError = TaggedException<BadRequestException>;
|
|
6
5
|
export type ConflictError = TaggedException<ConflictException>;
|
|
@@ -8,6 +7,7 @@ export type ForbiddenError = TaggedException<ForbiddenException>;
|
|
|
8
7
|
export type InternalServerError = TaggedException<InternalServerErrorException>;
|
|
9
8
|
export type NotFoundError = TaggedException<NotFoundException>;
|
|
10
9
|
export type UnauthorizedError = TaggedException<UnauthorizedException>;
|
|
11
|
-
export type SdkError =
|
|
12
|
-
|
|
10
|
+
export type SdkError = TaggedException<Error & {
|
|
11
|
+
name: "SdkError";
|
|
12
|
+
}>;
|
|
13
13
|
//# sourceMappingURL=Errors.d.ts.map
|
package/dist/cjs/Errors.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Errors.d.ts","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,mBAAmB,EACnB,iBAAiB,EACjB,kBAAkB,EAClB,4BAA4B,EAC5B,iBAAiB,EACjB,qBAAqB,EACtB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"Errors.d.ts","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,mBAAmB,EACnB,iBAAiB,EACjB,kBAAkB,EAClB,4BAA4B,EAC5B,iBAAiB,EACjB,qBAAqB,EACtB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAE3D,eAAO,MAAM,gBAAgB,2JAOnB,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG,eAAe,CAAC,mBAAmB,CAAC,CAAC;AACnE,MAAM,MAAM,aAAa,GAAG,eAAe,CAAC,iBAAiB,CAAC,CAAC;AAC/D,MAAM,MAAM,cAAc,GAAG,eAAe,CAAC,kBAAkB,CAAC,CAAC;AACjE,MAAM,MAAM,mBAAmB,GAAG,eAAe,CAAC,4BAA4B,CAAC,CAAC;AAChF,MAAM,MAAM,aAAa,GAAG,eAAe,CAAC,iBAAiB,CAAC,CAAC;AAC/D,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
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
const commons_1 = require("@effect-aws/commons");
|
|
3
|
+
exports.AllServiceErrors = void 0;
|
|
5
4
|
exports.AllServiceErrors = [
|
|
6
5
|
"BadRequestException",
|
|
7
6
|
"ConflictException",
|
|
@@ -10,5 +9,4 @@ exports.AllServiceErrors = [
|
|
|
10
9
|
"NotFoundException",
|
|
11
10
|
"UnauthorizedException",
|
|
12
11
|
];
|
|
13
|
-
exports.SdkError = commons_1.SdkError;
|
|
14
12
|
//# sourceMappingURL=Errors.js.map
|
package/dist/cjs/Errors.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Errors.js","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"Errors.js","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":";;;AAUa,QAAA,gBAAgB,GAAG;IAC9B,qBAAqB;IACrB,mBAAmB;IACnB,oBAAoB;IACpB,8BAA8B;IAC9B,mBAAmB;IACnB,uBAAuB;CACf,CAAC"}
|
package/dist/cjs/MqService.d.ts
CHANGED
|
@@ -1,105 +1,110 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*/
|
|
4
|
-
import { type CreateBrokerCommandInput, type CreateBrokerCommandOutput, type CreateConfigurationCommandInput, type CreateConfigurationCommandOutput, type CreateTagsCommandInput, type CreateTagsCommandOutput, type CreateUserCommandInput, type CreateUserCommandOutput, type DeleteBrokerCommandInput, type DeleteBrokerCommandOutput, type DeleteTagsCommandInput, type DeleteTagsCommandOutput, type DeleteUserCommandInput, type DeleteUserCommandOutput, type DescribeBrokerCommandInput, type DescribeBrokerCommandOutput, type DescribeBrokerEngineTypesCommandInput, type DescribeBrokerEngineTypesCommandOutput, type DescribeBrokerInstanceOptionsCommandInput, type DescribeBrokerInstanceOptionsCommandOutput, type DescribeConfigurationCommandInput, type DescribeConfigurationCommandOutput, type DescribeConfigurationRevisionCommandInput, type DescribeConfigurationRevisionCommandOutput, type DescribeUserCommandInput, type DescribeUserCommandOutput, type ListBrokersCommandInput, type ListBrokersCommandOutput, type ListConfigurationRevisionsCommandInput, type ListConfigurationRevisionsCommandOutput, type ListConfigurationsCommandInput, type ListConfigurationsCommandOutput, type ListTagsCommandInput, type ListTagsCommandOutput, type ListUsersCommandInput, type ListUsersCommandOutput, type MqClient, type MqClientConfig, type PromoteCommandInput, type PromoteCommandOutput, type RebootBrokerCommandInput, type RebootBrokerCommandOutput, type UpdateBrokerCommandInput, type UpdateBrokerCommandOutput, type UpdateConfigurationCommandInput, type UpdateConfigurationCommandOutput, type UpdateUserCommandInput, type UpdateUserCommandOutput } from "@aws-sdk/client-mq";
|
|
5
|
-
import type { HttpHandlerOptions,
|
|
4
|
+
import { type CreateBrokerCommandInput, type CreateBrokerCommandOutput, type CreateConfigurationCommandInput, type CreateConfigurationCommandOutput, type CreateTagsCommandInput, type CreateTagsCommandOutput, type CreateUserCommandInput, type CreateUserCommandOutput, type DeleteBrokerCommandInput, type DeleteBrokerCommandOutput, type DeleteConfigurationCommandInput, type DeleteConfigurationCommandOutput, type DeleteTagsCommandInput, type DeleteTagsCommandOutput, type DeleteUserCommandInput, type DeleteUserCommandOutput, type DescribeBrokerCommandInput, type DescribeBrokerCommandOutput, type DescribeBrokerEngineTypesCommandInput, type DescribeBrokerEngineTypesCommandOutput, type DescribeBrokerInstanceOptionsCommandInput, type DescribeBrokerInstanceOptionsCommandOutput, type DescribeConfigurationCommandInput, type DescribeConfigurationCommandOutput, type DescribeConfigurationRevisionCommandInput, type DescribeConfigurationRevisionCommandOutput, type DescribeUserCommandInput, type DescribeUserCommandOutput, type ListBrokersCommandInput, type ListBrokersCommandOutput, type ListConfigurationRevisionsCommandInput, type ListConfigurationRevisionsCommandOutput, type ListConfigurationsCommandInput, type ListConfigurationsCommandOutput, type ListTagsCommandInput, type ListTagsCommandOutput, type ListUsersCommandInput, type ListUsersCommandOutput, type MqClient, type MqClientConfig, type PromoteCommandInput, type PromoteCommandOutput, type RebootBrokerCommandInput, type RebootBrokerCommandOutput, type UpdateBrokerCommandInput, type UpdateBrokerCommandOutput, type UpdateConfigurationCommandInput, type UpdateConfigurationCommandOutput, type UpdateUserCommandInput, type UpdateUserCommandOutput } from "@aws-sdk/client-mq";
|
|
5
|
+
import type { HttpHandlerOptions, ServiceLogger } from "@effect-aws/commons";
|
|
6
|
+
import type { Cause } from "effect";
|
|
6
7
|
import { Effect, Layer } from "effect";
|
|
7
|
-
import type { BadRequestError, ConflictError, ForbiddenError, InternalServerError, NotFoundError, UnauthorizedError } from "./Errors.js";
|
|
8
|
+
import type { BadRequestError, ConflictError, ForbiddenError, InternalServerError, NotFoundError, SdkError, UnauthorizedError } from "./Errors.js";
|
|
8
9
|
import * as Instance from "./MqClientInstance.js";
|
|
9
10
|
interface MqService$ {
|
|
10
11
|
readonly _: unique symbol;
|
|
11
12
|
/**
|
|
12
13
|
* @see {@link CreateBrokerCommand}
|
|
13
14
|
*/
|
|
14
|
-
createBroker(args: CreateBrokerCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateBrokerCommandOutput, SdkError | BadRequestError | ConflictError | ForbiddenError | InternalServerError | UnauthorizedError>;
|
|
15
|
+
createBroker(args: CreateBrokerCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateBrokerCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ConflictError | ForbiddenError | InternalServerError | UnauthorizedError>;
|
|
15
16
|
/**
|
|
16
17
|
* @see {@link CreateConfigurationCommand}
|
|
17
18
|
*/
|
|
18
|
-
createConfiguration(args: CreateConfigurationCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateConfigurationCommandOutput, SdkError | BadRequestError | ConflictError | ForbiddenError | InternalServerError>;
|
|
19
|
+
createConfiguration(args: CreateConfigurationCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateConfigurationCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ConflictError | ForbiddenError | InternalServerError>;
|
|
19
20
|
/**
|
|
20
21
|
* @see {@link CreateTagsCommand}
|
|
21
22
|
*/
|
|
22
|
-
createTags(args: CreateTagsCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateTagsCommandOutput, SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError>;
|
|
23
|
+
createTags(args: CreateTagsCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateTagsCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError>;
|
|
23
24
|
/**
|
|
24
25
|
* @see {@link CreateUserCommand}
|
|
25
26
|
*/
|
|
26
|
-
createUser(args: CreateUserCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateUserCommandOutput, SdkError | BadRequestError | ConflictError | ForbiddenError | InternalServerError | NotFoundError>;
|
|
27
|
+
createUser(args: CreateUserCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateUserCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ConflictError | ForbiddenError | InternalServerError | NotFoundError>;
|
|
27
28
|
/**
|
|
28
29
|
* @see {@link DeleteBrokerCommand}
|
|
29
30
|
*/
|
|
30
|
-
deleteBroker(args: DeleteBrokerCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteBrokerCommandOutput, SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError>;
|
|
31
|
+
deleteBroker(args: DeleteBrokerCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteBrokerCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError>;
|
|
32
|
+
/**
|
|
33
|
+
* @see {@link DeleteConfigurationCommand}
|
|
34
|
+
*/
|
|
35
|
+
deleteConfiguration(args: DeleteConfigurationCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteConfigurationCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ConflictError | ForbiddenError | InternalServerError | NotFoundError>;
|
|
31
36
|
/**
|
|
32
37
|
* @see {@link DeleteTagsCommand}
|
|
33
38
|
*/
|
|
34
|
-
deleteTags(args: DeleteTagsCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteTagsCommandOutput, SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError>;
|
|
39
|
+
deleteTags(args: DeleteTagsCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteTagsCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError>;
|
|
35
40
|
/**
|
|
36
41
|
* @see {@link DeleteUserCommand}
|
|
37
42
|
*/
|
|
38
|
-
deleteUser(args: DeleteUserCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteUserCommandOutput, SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError>;
|
|
43
|
+
deleteUser(args: DeleteUserCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteUserCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError>;
|
|
39
44
|
/**
|
|
40
45
|
* @see {@link DescribeBrokerCommand}
|
|
41
46
|
*/
|
|
42
|
-
describeBroker(args: DescribeBrokerCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeBrokerCommandOutput, SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError>;
|
|
47
|
+
describeBroker(args: DescribeBrokerCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeBrokerCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError>;
|
|
43
48
|
/**
|
|
44
49
|
* @see {@link DescribeBrokerEngineTypesCommand}
|
|
45
50
|
*/
|
|
46
|
-
describeBrokerEngineTypes(args: DescribeBrokerEngineTypesCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeBrokerEngineTypesCommandOutput, SdkError | BadRequestError | ForbiddenError | InternalServerError>;
|
|
51
|
+
describeBrokerEngineTypes(args: DescribeBrokerEngineTypesCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeBrokerEngineTypesCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError>;
|
|
47
52
|
/**
|
|
48
53
|
* @see {@link DescribeBrokerInstanceOptionsCommand}
|
|
49
54
|
*/
|
|
50
|
-
describeBrokerInstanceOptions(args: DescribeBrokerInstanceOptionsCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeBrokerInstanceOptionsCommandOutput, SdkError | BadRequestError | ForbiddenError | InternalServerError>;
|
|
55
|
+
describeBrokerInstanceOptions(args: DescribeBrokerInstanceOptionsCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeBrokerInstanceOptionsCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError>;
|
|
51
56
|
/**
|
|
52
57
|
* @see {@link DescribeConfigurationCommand}
|
|
53
58
|
*/
|
|
54
|
-
describeConfiguration(args: DescribeConfigurationCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeConfigurationCommandOutput, SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError>;
|
|
59
|
+
describeConfiguration(args: DescribeConfigurationCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeConfigurationCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError>;
|
|
55
60
|
/**
|
|
56
61
|
* @see {@link DescribeConfigurationRevisionCommand}
|
|
57
62
|
*/
|
|
58
|
-
describeConfigurationRevision(args: DescribeConfigurationRevisionCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeConfigurationRevisionCommandOutput, SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError>;
|
|
63
|
+
describeConfigurationRevision(args: DescribeConfigurationRevisionCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeConfigurationRevisionCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError>;
|
|
59
64
|
/**
|
|
60
65
|
* @see {@link DescribeUserCommand}
|
|
61
66
|
*/
|
|
62
|
-
describeUser(args: DescribeUserCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeUserCommandOutput, SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError>;
|
|
67
|
+
describeUser(args: DescribeUserCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeUserCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError>;
|
|
63
68
|
/**
|
|
64
69
|
* @see {@link ListBrokersCommand}
|
|
65
70
|
*/
|
|
66
|
-
listBrokers(args: ListBrokersCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListBrokersCommandOutput, SdkError | BadRequestError | ForbiddenError | InternalServerError>;
|
|
71
|
+
listBrokers(args: ListBrokersCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListBrokersCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError>;
|
|
67
72
|
/**
|
|
68
73
|
* @see {@link ListConfigurationRevisionsCommand}
|
|
69
74
|
*/
|
|
70
|
-
listConfigurationRevisions(args: ListConfigurationRevisionsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListConfigurationRevisionsCommandOutput, SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError>;
|
|
75
|
+
listConfigurationRevisions(args: ListConfigurationRevisionsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListConfigurationRevisionsCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError>;
|
|
71
76
|
/**
|
|
72
77
|
* @see {@link ListConfigurationsCommand}
|
|
73
78
|
*/
|
|
74
|
-
listConfigurations(args: ListConfigurationsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListConfigurationsCommandOutput, SdkError | BadRequestError | ForbiddenError | InternalServerError>;
|
|
79
|
+
listConfigurations(args: ListConfigurationsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListConfigurationsCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError>;
|
|
75
80
|
/**
|
|
76
81
|
* @see {@link ListTagsCommand}
|
|
77
82
|
*/
|
|
78
|
-
listTags(args: ListTagsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListTagsCommandOutput, SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError>;
|
|
83
|
+
listTags(args: ListTagsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListTagsCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError>;
|
|
79
84
|
/**
|
|
80
85
|
* @see {@link ListUsersCommand}
|
|
81
86
|
*/
|
|
82
|
-
listUsers(args: ListUsersCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListUsersCommandOutput, SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError>;
|
|
87
|
+
listUsers(args: ListUsersCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListUsersCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError>;
|
|
83
88
|
/**
|
|
84
89
|
* @see {@link PromoteCommand}
|
|
85
90
|
*/
|
|
86
|
-
promote(args: PromoteCommandInput, options?: HttpHandlerOptions): Effect.Effect<PromoteCommandOutput, SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError>;
|
|
91
|
+
promote(args: PromoteCommandInput, options?: HttpHandlerOptions): Effect.Effect<PromoteCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError>;
|
|
87
92
|
/**
|
|
88
93
|
* @see {@link RebootBrokerCommand}
|
|
89
94
|
*/
|
|
90
|
-
rebootBroker(args: RebootBrokerCommandInput, options?: HttpHandlerOptions): Effect.Effect<RebootBrokerCommandOutput, SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError>;
|
|
95
|
+
rebootBroker(args: RebootBrokerCommandInput, options?: HttpHandlerOptions): Effect.Effect<RebootBrokerCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError>;
|
|
91
96
|
/**
|
|
92
97
|
* @see {@link UpdateBrokerCommand}
|
|
93
98
|
*/
|
|
94
|
-
updateBroker(args: UpdateBrokerCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateBrokerCommandOutput, SdkError | BadRequestError | ConflictError | ForbiddenError | InternalServerError | NotFoundError>;
|
|
99
|
+
updateBroker(args: UpdateBrokerCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateBrokerCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ConflictError | ForbiddenError | InternalServerError | NotFoundError>;
|
|
95
100
|
/**
|
|
96
101
|
* @see {@link UpdateConfigurationCommand}
|
|
97
102
|
*/
|
|
98
|
-
updateConfiguration(args: UpdateConfigurationCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateConfigurationCommandOutput, SdkError | BadRequestError | ConflictError | ForbiddenError | InternalServerError | NotFoundError>;
|
|
103
|
+
updateConfiguration(args: UpdateConfigurationCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateConfigurationCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ConflictError | ForbiddenError | InternalServerError | NotFoundError>;
|
|
99
104
|
/**
|
|
100
105
|
* @see {@link UpdateUserCommand}
|
|
101
106
|
*/
|
|
102
|
-
updateUser(args: UpdateUserCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateUserCommandOutput, SdkError | BadRequestError | ConflictError | ForbiddenError | InternalServerError | NotFoundError>;
|
|
107
|
+
updateUser(args: UpdateUserCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateUserCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ConflictError | ForbiddenError | InternalServerError | NotFoundError>;
|
|
103
108
|
}
|
|
104
109
|
/**
|
|
105
110
|
* @since 1.0.0
|
|
@@ -107,7 +112,7 @@ interface MqService$ {
|
|
|
107
112
|
*/
|
|
108
113
|
export declare const makeMqService: Effect.Effect<MqService$, never, Instance.MqClientInstance>;
|
|
109
114
|
declare const MqService_base: import("effect/Context").TagClass<MqService, "@effect-aws/client-mq/MqService", MqService$> & Effect.Tag.Proxy<MqService, MqService$> & {
|
|
110
|
-
use: <X>(body: (_: MqService$) => X) => [X] extends [Effect.Effect<infer A, infer E, infer R>] ? Effect.Effect<A, E, MqService | R> : [X] extends [PromiseLike<infer A_1>] ? Effect.Effect<A_1,
|
|
115
|
+
use: <X>(body: (_: MqService$) => X) => [X] extends [Effect.Effect<infer A, infer E, infer R>] ? Effect.Effect<A, E, MqService | R> : [X] extends [PromiseLike<infer A_1>] ? Effect.Effect<A_1, Cause.UnknownException, MqService> : Effect.Effect<X, never, MqService>;
|
|
111
116
|
};
|
|
112
117
|
/**
|
|
113
118
|
* @since 1.0.0
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MqService.d.ts","sourceRoot":"","sources":["../../src/MqService.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAEL,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAE9B,KAAK,+BAA+B,EACpC,KAAK,gCAAgC,EAErC,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAE5B,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAE5B,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAE9B,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAE5B,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAE5B,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,EAEhC,KAAK,qCAAqC,EAC1C,KAAK,sCAAsC,EAE3C,KAAK,yCAAyC,EAC9C,KAAK,0CAA0C,EAE/C,KAAK,iCAAiC,EACtC,KAAK,kCAAkC,EAEvC,KAAK,yCAAyC,EAC9C,KAAK,0C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AChB,CAAC;IAEF;;OAEG;IACH,UAAU,CACR,IAAI,EAAE,sBAAsB,EAC5B,OAAO,CAAC,EAAE,kBAAkB,GAC3B,MAAM,CAAC,MAAM,CACd,uBAAuB,EACrB,KAAK,CAAC,gBAAgB,GACtB,QAAQ,GACR,eAAe,GACf,aAAa,GACb,cAAc,GACd,mBAAmB,GACnB,aAAa,CAChB,CAAC;CACH;AAED;;;GAGG;AACH,eAAO,MAAM,aAAa,6DAWxB,CAAC;;;;AAEH;;;GAGG;AACH,qBAAa,SAAU,SAAQ,cAG5B;IACD,MAAM,CAAC,QAAQ,CAAC,YAAY,uCAAyE;IACrG,MAAM,CAAC,QAAQ,CAAC,KAAK,WAAY,UAAU,MAAM,0CAI7C;IACJ,MAAM,CAAC,QAAQ,CAAC,SAAS,aACb,CAAC,aAAa,EAAE,cAAc,KAAK,QAAQ,0CASnD;CACL;AAED;;GAEG;AACH,MAAM,CAAC,OAAO,WAAW,SAAS,CAAC;IACjC;;OAEG;IACH,UAAiB,MAAO,SAAQ,IAAI,CAAC,cAAc,EAAE,QAAQ,CAAC;QAC5D,QAAQ,CAAC,MAAM,CAAC,EAAE,aAAa,CAAC,6BAA6B,GAAG,IAAI,CAAC;KACtE;CACF"}
|
package/dist/cjs/MqService.js
CHANGED
|
@@ -39,6 +39,7 @@ const commands = {
|
|
|
39
39
|
CreateTagsCommand: client_mq_1.CreateTagsCommand,
|
|
40
40
|
CreateUserCommand: client_mq_1.CreateUserCommand,
|
|
41
41
|
DeleteBrokerCommand: client_mq_1.DeleteBrokerCommand,
|
|
42
|
+
DeleteConfigurationCommand: client_mq_1.DeleteConfigurationCommand,
|
|
42
43
|
DeleteTagsCommand: client_mq_1.DeleteTagsCommand,
|
|
43
44
|
DeleteUserCommand: client_mq_1.DeleteUserCommand,
|
|
44
45
|
DescribeBrokerCommand: client_mq_1.DescribeBrokerCommand,
|
|
@@ -64,7 +65,7 @@ const commands = {
|
|
|
64
65
|
*/
|
|
65
66
|
exports.makeMqService = effect_1.Effect.gen(function* () {
|
|
66
67
|
const client = yield* Instance.MqClientInstance;
|
|
67
|
-
return commons_1.Service.fromClientAndCommands(client, commands, {
|
|
68
|
+
return yield* commons_1.Service.fromClientAndCommands(client, commands, {
|
|
68
69
|
errorTags: Errors_js_1.AllServiceErrors,
|
|
69
70
|
resolveClientConfig: MqServiceConfig.toMqClientConfig,
|
|
70
71
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MqService.js","sourceRoot":"","sources":["../../src/MqService.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,
|
|
1
|
+
{"version":3,"file":"MqService.js","sourceRoot":"","sources":["../../src/MqService.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,kDA2E4B;AAE5B,iDAA8C;AAE9C,mCAAuC;AAUvC,2CAA+C;AAC/C,gEAAkD;AAClD,sEAAwD;AAExD,MAAM,QAAQ,GAAG;IACf,mBAAmB,EAAnB,+BAAmB;IACnB,0BAA0B,EAA1B,sCAA0B;IAC1B,iBAAiB,EAAjB,6BAAiB;IACjB,iBAAiB,EAAjB,6BAAiB;IACjB,mBAAmB,EAAnB,+BAAmB;IACnB,0BAA0B,EAA1B,sCAA0B;IAC1B,iBAAiB,EAAjB,6BAAiB;IACjB,iBAAiB,EAAjB,6BAAiB;IACjB,qBAAqB,EAArB,iCAAqB;IACrB,gCAAgC,EAAhC,4CAAgC;IAChC,oCAAoC,EAApC,gDAAoC;IACpC,4BAA4B,EAA5B,wCAA4B;IAC5B,oCAAoC,EAApC,gDAAoC;IACpC,mBAAmB,EAAnB,+BAAmB;IACnB,kBAAkB,EAAlB,8BAAkB;IAClB,iCAAiC,EAAjC,6CAAiC;IACjC,yBAAyB,EAAzB,qCAAyB;IACzB,eAAe,EAAf,2BAAe;IACf,gBAAgB,EAAhB,4BAAgB;IAChB,cAAc,EAAd,0BAAc;IACd,mBAAmB,E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vD,CACF,CACF,CAAC;;AApBN,8BAqBC"}
|
package/dist/dts/Errors.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { BadRequestException, ConflictException, ForbiddenException, InternalServerErrorException, NotFoundException, UnauthorizedException } from "@aws-sdk/client-mq";
|
|
2
2
|
import type { TaggedException } from "@effect-aws/commons";
|
|
3
|
-
import { SdkError as CommonSdkError } from "@effect-aws/commons";
|
|
4
3
|
export declare const AllServiceErrors: readonly ["BadRequestException", "ConflictException", "ForbiddenException", "InternalServerErrorException", "NotFoundException", "UnauthorizedException"];
|
|
5
4
|
export type BadRequestError = TaggedException<BadRequestException>;
|
|
6
5
|
export type ConflictError = TaggedException<ConflictException>;
|
|
@@ -8,6 +7,7 @@ export type ForbiddenError = TaggedException<ForbiddenException>;
|
|
|
8
7
|
export type InternalServerError = TaggedException<InternalServerErrorException>;
|
|
9
8
|
export type NotFoundError = TaggedException<NotFoundException>;
|
|
10
9
|
export type UnauthorizedError = TaggedException<UnauthorizedException>;
|
|
11
|
-
export type SdkError =
|
|
12
|
-
|
|
10
|
+
export type SdkError = TaggedException<Error & {
|
|
11
|
+
name: "SdkError";
|
|
12
|
+
}>;
|
|
13
13
|
//# sourceMappingURL=Errors.d.ts.map
|
package/dist/dts/Errors.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Errors.d.ts","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,mBAAmB,EACnB,iBAAiB,EACjB,kBAAkB,EAClB,4BAA4B,EAC5B,iBAAiB,EACjB,qBAAqB,EACtB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"Errors.d.ts","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,mBAAmB,EACnB,iBAAiB,EACjB,kBAAkB,EAClB,4BAA4B,EAC5B,iBAAiB,EACjB,qBAAqB,EACtB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAE3D,eAAO,MAAM,gBAAgB,2JAOnB,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG,eAAe,CAAC,mBAAmB,CAAC,CAAC;AACnE,MAAM,MAAM,aAAa,GAAG,eAAe,CAAC,iBAAiB,CAAC,CAAC;AAC/D,MAAM,MAAM,cAAc,GAAG,eAAe,CAAC,kBAAkB,CAAC,CAAC;AACjE,MAAM,MAAM,mBAAmB,GAAG,eAAe,CAAC,4BAA4B,CAAC,CAAC;AAChF,MAAM,MAAM,aAAa,GAAG,eAAe,CAAC,iBAAiB,CAAC,CAAC;AAC/D,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/dts/MqService.d.ts
CHANGED
|
@@ -1,105 +1,110 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*/
|
|
4
|
-
import { type CreateBrokerCommandInput, type CreateBrokerCommandOutput, type CreateConfigurationCommandInput, type CreateConfigurationCommandOutput, type CreateTagsCommandInput, type CreateTagsCommandOutput, type CreateUserCommandInput, type CreateUserCommandOutput, type DeleteBrokerCommandInput, type DeleteBrokerCommandOutput, type DeleteTagsCommandInput, type DeleteTagsCommandOutput, type DeleteUserCommandInput, type DeleteUserCommandOutput, type DescribeBrokerCommandInput, type DescribeBrokerCommandOutput, type DescribeBrokerEngineTypesCommandInput, type DescribeBrokerEngineTypesCommandOutput, type DescribeBrokerInstanceOptionsCommandInput, type DescribeBrokerInstanceOptionsCommandOutput, type DescribeConfigurationCommandInput, type DescribeConfigurationCommandOutput, type DescribeConfigurationRevisionCommandInput, type DescribeConfigurationRevisionCommandOutput, type DescribeUserCommandInput, type DescribeUserCommandOutput, type ListBrokersCommandInput, type ListBrokersCommandOutput, type ListConfigurationRevisionsCommandInput, type ListConfigurationRevisionsCommandOutput, type ListConfigurationsCommandInput, type ListConfigurationsCommandOutput, type ListTagsCommandInput, type ListTagsCommandOutput, type ListUsersCommandInput, type ListUsersCommandOutput, type MqClient, type MqClientConfig, type PromoteCommandInput, type PromoteCommandOutput, type RebootBrokerCommandInput, type RebootBrokerCommandOutput, type UpdateBrokerCommandInput, type UpdateBrokerCommandOutput, type UpdateConfigurationCommandInput, type UpdateConfigurationCommandOutput, type UpdateUserCommandInput, type UpdateUserCommandOutput } from "@aws-sdk/client-mq";
|
|
5
|
-
import type { HttpHandlerOptions,
|
|
4
|
+
import { type CreateBrokerCommandInput, type CreateBrokerCommandOutput, type CreateConfigurationCommandInput, type CreateConfigurationCommandOutput, type CreateTagsCommandInput, type CreateTagsCommandOutput, type CreateUserCommandInput, type CreateUserCommandOutput, type DeleteBrokerCommandInput, type DeleteBrokerCommandOutput, type DeleteConfigurationCommandInput, type DeleteConfigurationCommandOutput, type DeleteTagsCommandInput, type DeleteTagsCommandOutput, type DeleteUserCommandInput, type DeleteUserCommandOutput, type DescribeBrokerCommandInput, type DescribeBrokerCommandOutput, type DescribeBrokerEngineTypesCommandInput, type DescribeBrokerEngineTypesCommandOutput, type DescribeBrokerInstanceOptionsCommandInput, type DescribeBrokerInstanceOptionsCommandOutput, type DescribeConfigurationCommandInput, type DescribeConfigurationCommandOutput, type DescribeConfigurationRevisionCommandInput, type DescribeConfigurationRevisionCommandOutput, type DescribeUserCommandInput, type DescribeUserCommandOutput, type ListBrokersCommandInput, type ListBrokersCommandOutput, type ListConfigurationRevisionsCommandInput, type ListConfigurationRevisionsCommandOutput, type ListConfigurationsCommandInput, type ListConfigurationsCommandOutput, type ListTagsCommandInput, type ListTagsCommandOutput, type ListUsersCommandInput, type ListUsersCommandOutput, type MqClient, type MqClientConfig, type PromoteCommandInput, type PromoteCommandOutput, type RebootBrokerCommandInput, type RebootBrokerCommandOutput, type UpdateBrokerCommandInput, type UpdateBrokerCommandOutput, type UpdateConfigurationCommandInput, type UpdateConfigurationCommandOutput, type UpdateUserCommandInput, type UpdateUserCommandOutput } from "@aws-sdk/client-mq";
|
|
5
|
+
import type { HttpHandlerOptions, ServiceLogger } from "@effect-aws/commons";
|
|
6
|
+
import type { Cause } from "effect";
|
|
6
7
|
import { Effect, Layer } from "effect";
|
|
7
|
-
import type { BadRequestError, ConflictError, ForbiddenError, InternalServerError, NotFoundError, UnauthorizedError } from "./Errors.js";
|
|
8
|
+
import type { BadRequestError, ConflictError, ForbiddenError, InternalServerError, NotFoundError, SdkError, UnauthorizedError } from "./Errors.js";
|
|
8
9
|
import * as Instance from "./MqClientInstance.js";
|
|
9
10
|
interface MqService$ {
|
|
10
11
|
readonly _: unique symbol;
|
|
11
12
|
/**
|
|
12
13
|
* @see {@link CreateBrokerCommand}
|
|
13
14
|
*/
|
|
14
|
-
createBroker(args: CreateBrokerCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateBrokerCommandOutput, SdkError | BadRequestError | ConflictError | ForbiddenError | InternalServerError | UnauthorizedError>;
|
|
15
|
+
createBroker(args: CreateBrokerCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateBrokerCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ConflictError | ForbiddenError | InternalServerError | UnauthorizedError>;
|
|
15
16
|
/**
|
|
16
17
|
* @see {@link CreateConfigurationCommand}
|
|
17
18
|
*/
|
|
18
|
-
createConfiguration(args: CreateConfigurationCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateConfigurationCommandOutput, SdkError | BadRequestError | ConflictError | ForbiddenError | InternalServerError>;
|
|
19
|
+
createConfiguration(args: CreateConfigurationCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateConfigurationCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ConflictError | ForbiddenError | InternalServerError>;
|
|
19
20
|
/**
|
|
20
21
|
* @see {@link CreateTagsCommand}
|
|
21
22
|
*/
|
|
22
|
-
createTags(args: CreateTagsCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateTagsCommandOutput, SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError>;
|
|
23
|
+
createTags(args: CreateTagsCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateTagsCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError>;
|
|
23
24
|
/**
|
|
24
25
|
* @see {@link CreateUserCommand}
|
|
25
26
|
*/
|
|
26
|
-
createUser(args: CreateUserCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateUserCommandOutput, SdkError | BadRequestError | ConflictError | ForbiddenError | InternalServerError | NotFoundError>;
|
|
27
|
+
createUser(args: CreateUserCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateUserCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ConflictError | ForbiddenError | InternalServerError | NotFoundError>;
|
|
27
28
|
/**
|
|
28
29
|
* @see {@link DeleteBrokerCommand}
|
|
29
30
|
*/
|
|
30
|
-
deleteBroker(args: DeleteBrokerCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteBrokerCommandOutput, SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError>;
|
|
31
|
+
deleteBroker(args: DeleteBrokerCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteBrokerCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError>;
|
|
32
|
+
/**
|
|
33
|
+
* @see {@link DeleteConfigurationCommand}
|
|
34
|
+
*/
|
|
35
|
+
deleteConfiguration(args: DeleteConfigurationCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteConfigurationCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ConflictError | ForbiddenError | InternalServerError | NotFoundError>;
|
|
31
36
|
/**
|
|
32
37
|
* @see {@link DeleteTagsCommand}
|
|
33
38
|
*/
|
|
34
|
-
deleteTags(args: DeleteTagsCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteTagsCommandOutput, SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError>;
|
|
39
|
+
deleteTags(args: DeleteTagsCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteTagsCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError>;
|
|
35
40
|
/**
|
|
36
41
|
* @see {@link DeleteUserCommand}
|
|
37
42
|
*/
|
|
38
|
-
deleteUser(args: DeleteUserCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteUserCommandOutput, SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError>;
|
|
43
|
+
deleteUser(args: DeleteUserCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteUserCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError>;
|
|
39
44
|
/**
|
|
40
45
|
* @see {@link DescribeBrokerCommand}
|
|
41
46
|
*/
|
|
42
|
-
describeBroker(args: DescribeBrokerCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeBrokerCommandOutput, SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError>;
|
|
47
|
+
describeBroker(args: DescribeBrokerCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeBrokerCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError>;
|
|
43
48
|
/**
|
|
44
49
|
* @see {@link DescribeBrokerEngineTypesCommand}
|
|
45
50
|
*/
|
|
46
|
-
describeBrokerEngineTypes(args: DescribeBrokerEngineTypesCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeBrokerEngineTypesCommandOutput, SdkError | BadRequestError | ForbiddenError | InternalServerError>;
|
|
51
|
+
describeBrokerEngineTypes(args: DescribeBrokerEngineTypesCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeBrokerEngineTypesCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError>;
|
|
47
52
|
/**
|
|
48
53
|
* @see {@link DescribeBrokerInstanceOptionsCommand}
|
|
49
54
|
*/
|
|
50
|
-
describeBrokerInstanceOptions(args: DescribeBrokerInstanceOptionsCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeBrokerInstanceOptionsCommandOutput, SdkError | BadRequestError | ForbiddenError | InternalServerError>;
|
|
55
|
+
describeBrokerInstanceOptions(args: DescribeBrokerInstanceOptionsCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeBrokerInstanceOptionsCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError>;
|
|
51
56
|
/**
|
|
52
57
|
* @see {@link DescribeConfigurationCommand}
|
|
53
58
|
*/
|
|
54
|
-
describeConfiguration(args: DescribeConfigurationCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeConfigurationCommandOutput, SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError>;
|
|
59
|
+
describeConfiguration(args: DescribeConfigurationCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeConfigurationCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError>;
|
|
55
60
|
/**
|
|
56
61
|
* @see {@link DescribeConfigurationRevisionCommand}
|
|
57
62
|
*/
|
|
58
|
-
describeConfigurationRevision(args: DescribeConfigurationRevisionCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeConfigurationRevisionCommandOutput, SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError>;
|
|
63
|
+
describeConfigurationRevision(args: DescribeConfigurationRevisionCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeConfigurationRevisionCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError>;
|
|
59
64
|
/**
|
|
60
65
|
* @see {@link DescribeUserCommand}
|
|
61
66
|
*/
|
|
62
|
-
describeUser(args: DescribeUserCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeUserCommandOutput, SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError>;
|
|
67
|
+
describeUser(args: DescribeUserCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeUserCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError>;
|
|
63
68
|
/**
|
|
64
69
|
* @see {@link ListBrokersCommand}
|
|
65
70
|
*/
|
|
66
|
-
listBrokers(args: ListBrokersCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListBrokersCommandOutput, SdkError | BadRequestError | ForbiddenError | InternalServerError>;
|
|
71
|
+
listBrokers(args: ListBrokersCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListBrokersCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError>;
|
|
67
72
|
/**
|
|
68
73
|
* @see {@link ListConfigurationRevisionsCommand}
|
|
69
74
|
*/
|
|
70
|
-
listConfigurationRevisions(args: ListConfigurationRevisionsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListConfigurationRevisionsCommandOutput, SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError>;
|
|
75
|
+
listConfigurationRevisions(args: ListConfigurationRevisionsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListConfigurationRevisionsCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError>;
|
|
71
76
|
/**
|
|
72
77
|
* @see {@link ListConfigurationsCommand}
|
|
73
78
|
*/
|
|
74
|
-
listConfigurations(args: ListConfigurationsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListConfigurationsCommandOutput, SdkError | BadRequestError | ForbiddenError | InternalServerError>;
|
|
79
|
+
listConfigurations(args: ListConfigurationsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListConfigurationsCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError>;
|
|
75
80
|
/**
|
|
76
81
|
* @see {@link ListTagsCommand}
|
|
77
82
|
*/
|
|
78
|
-
listTags(args: ListTagsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListTagsCommandOutput, SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError>;
|
|
83
|
+
listTags(args: ListTagsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListTagsCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError>;
|
|
79
84
|
/**
|
|
80
85
|
* @see {@link ListUsersCommand}
|
|
81
86
|
*/
|
|
82
|
-
listUsers(args: ListUsersCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListUsersCommandOutput, SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError>;
|
|
87
|
+
listUsers(args: ListUsersCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListUsersCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError>;
|
|
83
88
|
/**
|
|
84
89
|
* @see {@link PromoteCommand}
|
|
85
90
|
*/
|
|
86
|
-
promote(args: PromoteCommandInput, options?: HttpHandlerOptions): Effect.Effect<PromoteCommandOutput, SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError>;
|
|
91
|
+
promote(args: PromoteCommandInput, options?: HttpHandlerOptions): Effect.Effect<PromoteCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError>;
|
|
87
92
|
/**
|
|
88
93
|
* @see {@link RebootBrokerCommand}
|
|
89
94
|
*/
|
|
90
|
-
rebootBroker(args: RebootBrokerCommandInput, options?: HttpHandlerOptions): Effect.Effect<RebootBrokerCommandOutput, SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError>;
|
|
95
|
+
rebootBroker(args: RebootBrokerCommandInput, options?: HttpHandlerOptions): Effect.Effect<RebootBrokerCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError>;
|
|
91
96
|
/**
|
|
92
97
|
* @see {@link UpdateBrokerCommand}
|
|
93
98
|
*/
|
|
94
|
-
updateBroker(args: UpdateBrokerCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateBrokerCommandOutput, SdkError | BadRequestError | ConflictError | ForbiddenError | InternalServerError | NotFoundError>;
|
|
99
|
+
updateBroker(args: UpdateBrokerCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateBrokerCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ConflictError | ForbiddenError | InternalServerError | NotFoundError>;
|
|
95
100
|
/**
|
|
96
101
|
* @see {@link UpdateConfigurationCommand}
|
|
97
102
|
*/
|
|
98
|
-
updateConfiguration(args: UpdateConfigurationCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateConfigurationCommandOutput, SdkError | BadRequestError | ConflictError | ForbiddenError | InternalServerError | NotFoundError>;
|
|
103
|
+
updateConfiguration(args: UpdateConfigurationCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateConfigurationCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ConflictError | ForbiddenError | InternalServerError | NotFoundError>;
|
|
99
104
|
/**
|
|
100
105
|
* @see {@link UpdateUserCommand}
|
|
101
106
|
*/
|
|
102
|
-
updateUser(args: UpdateUserCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateUserCommandOutput, SdkError | BadRequestError | ConflictError | ForbiddenError | InternalServerError | NotFoundError>;
|
|
107
|
+
updateUser(args: UpdateUserCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateUserCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ConflictError | ForbiddenError | InternalServerError | NotFoundError>;
|
|
103
108
|
}
|
|
104
109
|
/**
|
|
105
110
|
* @since 1.0.0
|
|
@@ -107,7 +112,7 @@ interface MqService$ {
|
|
|
107
112
|
*/
|
|
108
113
|
export declare const makeMqService: Effect.Effect<MqService$, never, Instance.MqClientInstance>;
|
|
109
114
|
declare const MqService_base: import("effect/Context").TagClass<MqService, "@effect-aws/client-mq/MqService", MqService$> & Effect.Tag.Proxy<MqService, MqService$> & {
|
|
110
|
-
use: <X>(body: (_: MqService$) => X) => [X] extends [Effect.Effect<infer A, infer E, infer R>] ? Effect.Effect<A, E, MqService | R> : [X] extends [PromiseLike<infer A_1>] ? Effect.Effect<A_1,
|
|
115
|
+
use: <X>(body: (_: MqService$) => X) => [X] extends [Effect.Effect<infer A, infer E, infer R>] ? Effect.Effect<A, E, MqService | R> : [X] extends [PromiseLike<infer A_1>] ? Effect.Effect<A_1, Cause.UnknownException, MqService> : Effect.Effect<X, never, MqService>;
|
|
111
116
|
};
|
|
112
117
|
/**
|
|
113
118
|
* @since 1.0.0
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MqService.d.ts","sourceRoot":"","sources":["../../src/MqService.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAEL,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAE9B,KAAK,+BAA+B,EACpC,KAAK,gCAAgC,EAErC,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAE5B,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAE5B,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAE9B,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAE5B,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAE5B,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,EAEhC,KAAK,qCAAqC,EAC1C,KAAK,sCAAsC,EAE3C,KAAK,yCAAyC,EAC9C,KAAK,0CAA0C,EAE/C,KAAK,iCAAiC,EACtC,KAAK,kCAAkC,EAEvC,KAAK,yCAAyC,EAC9C,KAAK,0CAA0C,EAE/C,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAE9B,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAE7B,KAAK,sCAAsC,EAC3C,KA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uBAAuB,EACrB,KAAK,CAAC,gBAAgB,GACtB,QAAQ,GACR,eAAe,GACf,aAAa,GACb,cAAc,GACd,mBAAmB,GACnB,aAAa,CAChB,CAAC;CACH;AAED;;;GAGG;AACH,eAAO,MAAM,aAAa,6DAWxB,CAAC;;;;AAEH;;;GAGG;AACH,qBAAa,SAAU,SAAQ,cAG5B;IACD,MAAM,CAAC,QAAQ,CAAC,YAAY,uCAAyE;IACrG,MAAM,CAAC,QAAQ,CAAC,KAAK,WAAY,UAAU,MAAM,0CAI7C;IACJ,MAAM,CAAC,QAAQ,CAAC,SAAS,aACb,CAAC,aAAa,EAAE,cAAc,KAAK,QAAQ,0CASnD;CACL;AAED;;GAEG;AACH,MAAM,CAAC,OAAO,WAAW,SAAS,CAAC;IACjC;;OAEG;IACH,UAAiB,MAAO,SAAQ,IAAI,CAAC,cAAc,EAAE,QAAQ,CAAC;QAC5D,QAAQ,CAAC,MAAM,CAAC,EAAE,aAAa,CAAC,6BAA6B,GAAG,IAAI,CAAC;KACtE;CACF"}
|
package/dist/esm/Errors.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { SdkError as CommonSdkError } from "@effect-aws/commons";
|
|
2
1
|
export const AllServiceErrors = [
|
|
3
2
|
"BadRequestException",
|
|
4
3
|
"ConflictException",
|
|
@@ -7,5 +6,4 @@ export const AllServiceErrors = [
|
|
|
7
6
|
"NotFoundException",
|
|
8
7
|
"UnauthorizedException",
|
|
9
8
|
];
|
|
10
|
-
export const SdkError = CommonSdkError;
|
|
11
9
|
//# sourceMappingURL=Errors.js.map
|
package/dist/esm/Errors.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Errors.js","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Errors.js","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":"AAUA,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,qBAAqB;IACrB,mBAAmB;IACnB,oBAAoB;IACpB,8BAA8B;IAC9B,mBAAmB;IACnB,uBAAuB;CACf,CAAC"}
|
package/dist/esm/MqService.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*/
|
|
4
|
-
import { CreateBrokerCommand, CreateConfigurationCommand, CreateTagsCommand, CreateUserCommand, DeleteBrokerCommand, DeleteTagsCommand, DeleteUserCommand, DescribeBrokerCommand, DescribeBrokerEngineTypesCommand, DescribeBrokerInstanceOptionsCommand, DescribeConfigurationCommand, DescribeConfigurationRevisionCommand, DescribeUserCommand, ListBrokersCommand, ListConfigurationRevisionsCommand, ListConfigurationsCommand, ListTagsCommand, ListUsersCommand, PromoteCommand, RebootBrokerCommand, UpdateBrokerCommand, UpdateConfigurationCommand, UpdateUserCommand, } from "@aws-sdk/client-mq";
|
|
4
|
+
import { CreateBrokerCommand, CreateConfigurationCommand, CreateTagsCommand, CreateUserCommand, DeleteBrokerCommand, DeleteConfigurationCommand, DeleteTagsCommand, DeleteUserCommand, DescribeBrokerCommand, DescribeBrokerEngineTypesCommand, DescribeBrokerInstanceOptionsCommand, DescribeConfigurationCommand, DescribeConfigurationRevisionCommand, DescribeUserCommand, ListBrokersCommand, ListConfigurationRevisionsCommand, ListConfigurationsCommand, ListTagsCommand, ListUsersCommand, PromoteCommand, RebootBrokerCommand, UpdateBrokerCommand, UpdateConfigurationCommand, UpdateUserCommand, } from "@aws-sdk/client-mq";
|
|
5
5
|
import { Service } from "@effect-aws/commons";
|
|
6
6
|
import { Effect, Layer } from "effect";
|
|
7
7
|
import { AllServiceErrors } from "./Errors.js";
|
|
@@ -13,6 +13,7 @@ const commands = {
|
|
|
13
13
|
CreateTagsCommand,
|
|
14
14
|
CreateUserCommand,
|
|
15
15
|
DeleteBrokerCommand,
|
|
16
|
+
DeleteConfigurationCommand,
|
|
16
17
|
DeleteTagsCommand,
|
|
17
18
|
DeleteUserCommand,
|
|
18
19
|
DescribeBrokerCommand,
|
|
@@ -38,7 +39,7 @@ const commands = {
|
|
|
38
39
|
*/
|
|
39
40
|
export const makeMqService = Effect.gen(function* () {
|
|
40
41
|
const client = yield* Instance.MqClientInstance;
|
|
41
|
-
return Service.fromClientAndCommands(client, commands, {
|
|
42
|
+
return yield* Service.fromClientAndCommands(client, commands, {
|
|
42
43
|
errorTags: AllServiceErrors,
|
|
43
44
|
resolveClientConfig: MqServiceConfig.toMqClientConfig,
|
|
44
45
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MqService.js","sourceRoot":"","sources":["../../src/MqService.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EACL,mBAAmB,EAGnB,0BAA0B,EAG1B,iBAAiB,EAGjB,iBAAiB,EAGjB,mBAAmB,EAGnB,iBAAiB,EAGjB,iBAAiB,EAGjB,qBAAqB,EAGrB,gCAAgC,EAGhC,oCAAoC,EAGpC,4BAA4B,EAG5B,oCAAoC,EAGpC,mBAAmB,EAGnB,kBAAkB,EAGlB,iCAAiC,EAGjC,yBAAyB,EAGzB,eAAe,EAGf,gBAAgB,EAKhB,cAAc,EAGd,mBAAmB,EAGnB,mBAAmB,EAGnB,0BAA0B,EAG1B,iBAAiB,GAGlB,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"MqService.js","sourceRoot":"","sources":["../../src/MqService.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EACL,mBAAmB,EAGnB,0BAA0B,EAG1B,iBAAiB,EAGjB,iBAAiB,EAGjB,mBAAmB,EAGnB,0BAA0B,EAG1B,iBAAiB,EAGjB,iBAAiB,EAGjB,qBAAqB,EAGrB,gCAAgC,EAGhC,oCAAoC,EAGpC,4BAA4B,EAG5B,oCAAoC,EAGpC,mBAAmB,EAGnB,kBAAkB,EAGlB,iCAAiC,EAGjC,yBAAyB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AG,KAAK,CAAC,MAAM,CAAC,IAAI,EAAE,aAAa,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC;IACrG,MAAM,CAAU,KAAK,GAAG,CAAC,MAAwB,EAAE,EAAE,CACnD,KAAK,CAAC,MAAM,CAAC,IAAI,EAAE,aAAa,CAAC,CAAC,IAAI,CACpC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,EAC7B,KAAK,CAAC,OAAO,CAAC,eAAe,CAAC,kBAAkB,CAAC,MAAM,CAAC,CAAC,CAC1D,CAAC;IACJ,MAAM,CAAU,SAAS,GAAG,CAC1B,QAAqD,EACrD,EAAE,CACF,KAAK,CAAC,MAAM,CAAC,IAAI,EAAE,aAAa,CAAC,CAAC,IAAI,CACpC,KAAK,CAAC,OAAO,CACX,KAAK,CAAC,MAAM,CACV,QAAQ,CAAC,gBAAgB,EACzB,MAAM,CAAC,GAAG,CAAC,eAAe,CAAC,gBAAgB,EAAE,QAAQ,CAAC,CACvD,CACF,CACF,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@effect-aws/client-mq",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.10.2",
|
|
4
4
|
"description": "Effectful AWS MQ client",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"homepage": "https://floydspace.github.io/effect-aws/docs/client-mq",
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@aws-sdk/client-mq": "^3",
|
|
19
|
-
"@effect-aws/commons": "^0.
|
|
19
|
+
"@effect-aws/commons": "^0.3.0"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
22
|
"effect": ">=3.0.4 <4.0.0"
|
package/src/Errors.ts
CHANGED
|
@@ -7,7 +7,6 @@ import type {
|
|
|
7
7
|
UnauthorizedException,
|
|
8
8
|
} from "@aws-sdk/client-mq";
|
|
9
9
|
import type { TaggedException } from "@effect-aws/commons";
|
|
10
|
-
import { SdkError as CommonSdkError } from "@effect-aws/commons";
|
|
11
10
|
|
|
12
11
|
export const AllServiceErrors = [
|
|
13
12
|
"BadRequestException",
|
|
@@ -24,6 +23,4 @@ export type ForbiddenError = TaggedException<ForbiddenException>;
|
|
|
24
23
|
export type InternalServerError = TaggedException<InternalServerErrorException>;
|
|
25
24
|
export type NotFoundError = TaggedException<NotFoundException>;
|
|
26
25
|
export type UnauthorizedError = TaggedException<UnauthorizedException>;
|
|
27
|
-
|
|
28
|
-
export type SdkError = CommonSdkError;
|
|
29
|
-
export const SdkError = CommonSdkError;
|
|
26
|
+
export type SdkError = TaggedException<Error & { name: "SdkError" }>;
|
package/src/MqService.ts
CHANGED
|
@@ -17,6 +17,9 @@ import {
|
|
|
17
17
|
DeleteBrokerCommand,
|
|
18
18
|
type DeleteBrokerCommandInput,
|
|
19
19
|
type DeleteBrokerCommandOutput,
|
|
20
|
+
DeleteConfigurationCommand,
|
|
21
|
+
type DeleteConfigurationCommandInput,
|
|
22
|
+
type DeleteConfigurationCommandOutput,
|
|
20
23
|
DeleteTagsCommand,
|
|
21
24
|
type DeleteTagsCommandInput,
|
|
22
25
|
type DeleteTagsCommandOutput,
|
|
@@ -74,8 +77,9 @@ import {
|
|
|
74
77
|
type UpdateUserCommandInput,
|
|
75
78
|
type UpdateUserCommandOutput,
|
|
76
79
|
} from "@aws-sdk/client-mq";
|
|
77
|
-
import type { HttpHandlerOptions,
|
|
80
|
+
import type { HttpHandlerOptions, ServiceLogger } from "@effect-aws/commons";
|
|
78
81
|
import { Service } from "@effect-aws/commons";
|
|
82
|
+
import type { Cause } from "effect";
|
|
79
83
|
import { Effect, Layer } from "effect";
|
|
80
84
|
import type {
|
|
81
85
|
BadRequestError,
|
|
@@ -83,6 +87,7 @@ import type {
|
|
|
83
87
|
ForbiddenError,
|
|
84
88
|
InternalServerError,
|
|
85
89
|
NotFoundError,
|
|
90
|
+
SdkError,
|
|
86
91
|
UnauthorizedError,
|
|
87
92
|
} from "./Errors.js";
|
|
88
93
|
import { AllServiceErrors } from "./Errors.js";
|
|
@@ -95,6 +100,7 @@ const commands = {
|
|
|
95
100
|
CreateTagsCommand,
|
|
96
101
|
CreateUserCommand,
|
|
97
102
|
DeleteBrokerCommand,
|
|
103
|
+
DeleteConfigurationCommand,
|
|
98
104
|
DeleteTagsCommand,
|
|
99
105
|
DeleteUserCommand,
|
|
100
106
|
DescribeBrokerCommand,
|
|
@@ -126,7 +132,13 @@ interface MqService$ {
|
|
|
126
132
|
options?: HttpHandlerOptions,
|
|
127
133
|
): Effect.Effect<
|
|
128
134
|
CreateBrokerCommandOutput,
|
|
129
|
-
|
|
135
|
+
| Cause.TimeoutException
|
|
136
|
+
| SdkError
|
|
137
|
+
| BadRequestError
|
|
138
|
+
| ConflictError
|
|
139
|
+
| ForbiddenError
|
|
140
|
+
| InternalServerError
|
|
141
|
+
| UnauthorizedError
|
|
130
142
|
>;
|
|
131
143
|
|
|
132
144
|
/**
|
|
@@ -137,7 +149,7 @@ interface MqService$ {
|
|
|
137
149
|
options?: HttpHandlerOptions,
|
|
138
150
|
): Effect.Effect<
|
|
139
151
|
CreateConfigurationCommandOutput,
|
|
140
|
-
SdkError | BadRequestError | ConflictError | ForbiddenError | InternalServerError
|
|
152
|
+
Cause.TimeoutException | SdkError | BadRequestError | ConflictError | ForbiddenError | InternalServerError
|
|
141
153
|
>;
|
|
142
154
|
|
|
143
155
|
/**
|
|
@@ -148,7 +160,7 @@ interface MqService$ {
|
|
|
148
160
|
options?: HttpHandlerOptions,
|
|
149
161
|
): Effect.Effect<
|
|
150
162
|
CreateTagsCommandOutput,
|
|
151
|
-
SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError
|
|
163
|
+
Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError
|
|
152
164
|
>;
|
|
153
165
|
|
|
154
166
|
/**
|
|
@@ -159,7 +171,13 @@ interface MqService$ {
|
|
|
159
171
|
options?: HttpHandlerOptions,
|
|
160
172
|
): Effect.Effect<
|
|
161
173
|
CreateUserCommandOutput,
|
|
162
|
-
|
|
174
|
+
| Cause.TimeoutException
|
|
175
|
+
| SdkError
|
|
176
|
+
| BadRequestError
|
|
177
|
+
| ConflictError
|
|
178
|
+
| ForbiddenError
|
|
179
|
+
| InternalServerError
|
|
180
|
+
| NotFoundError
|
|
163
181
|
>;
|
|
164
182
|
|
|
165
183
|
/**
|
|
@@ -170,7 +188,24 @@ interface MqService$ {
|
|
|
170
188
|
options?: HttpHandlerOptions,
|
|
171
189
|
): Effect.Effect<
|
|
172
190
|
DeleteBrokerCommandOutput,
|
|
173
|
-
SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError
|
|
191
|
+
Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError
|
|
192
|
+
>;
|
|
193
|
+
|
|
194
|
+
/**
|
|
195
|
+
* @see {@link DeleteConfigurationCommand}
|
|
196
|
+
*/
|
|
197
|
+
deleteConfiguration(
|
|
198
|
+
args: DeleteConfigurationCommandInput,
|
|
199
|
+
options?: HttpHandlerOptions,
|
|
200
|
+
): Effect.Effect<
|
|
201
|
+
DeleteConfigurationCommandOutput,
|
|
202
|
+
| Cause.TimeoutException
|
|
203
|
+
| SdkError
|
|
204
|
+
| BadRequestError
|
|
205
|
+
| ConflictError
|
|
206
|
+
| ForbiddenError
|
|
207
|
+
| InternalServerError
|
|
208
|
+
| NotFoundError
|
|
174
209
|
>;
|
|
175
210
|
|
|
176
211
|
/**
|
|
@@ -181,7 +216,7 @@ interface MqService$ {
|
|
|
181
216
|
options?: HttpHandlerOptions,
|
|
182
217
|
): Effect.Effect<
|
|
183
218
|
DeleteTagsCommandOutput,
|
|
184
|
-
SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError
|
|
219
|
+
Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError
|
|
185
220
|
>;
|
|
186
221
|
|
|
187
222
|
/**
|
|
@@ -192,7 +227,7 @@ interface MqService$ {
|
|
|
192
227
|
options?: HttpHandlerOptions,
|
|
193
228
|
): Effect.Effect<
|
|
194
229
|
DeleteUserCommandOutput,
|
|
195
|
-
SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError
|
|
230
|
+
Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError
|
|
196
231
|
>;
|
|
197
232
|
|
|
198
233
|
/**
|
|
@@ -203,7 +238,7 @@ interface MqService$ {
|
|
|
203
238
|
options?: HttpHandlerOptions,
|
|
204
239
|
): Effect.Effect<
|
|
205
240
|
DescribeBrokerCommandOutput,
|
|
206
|
-
SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError
|
|
241
|
+
Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError
|
|
207
242
|
>;
|
|
208
243
|
|
|
209
244
|
/**
|
|
@@ -214,7 +249,7 @@ interface MqService$ {
|
|
|
214
249
|
options?: HttpHandlerOptions,
|
|
215
250
|
): Effect.Effect<
|
|
216
251
|
DescribeBrokerEngineTypesCommandOutput,
|
|
217
|
-
SdkError | BadRequestError | ForbiddenError | InternalServerError
|
|
252
|
+
Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError
|
|
218
253
|
>;
|
|
219
254
|
|
|
220
255
|
/**
|
|
@@ -225,7 +260,7 @@ interface MqService$ {
|
|
|
225
260
|
options?: HttpHandlerOptions,
|
|
226
261
|
): Effect.Effect<
|
|
227
262
|
DescribeBrokerInstanceOptionsCommandOutput,
|
|
228
|
-
SdkError | BadRequestError | ForbiddenError | InternalServerError
|
|
263
|
+
Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError
|
|
229
264
|
>;
|
|
230
265
|
|
|
231
266
|
/**
|
|
@@ -236,7 +271,7 @@ interface MqService$ {
|
|
|
236
271
|
options?: HttpHandlerOptions,
|
|
237
272
|
): Effect.Effect<
|
|
238
273
|
DescribeConfigurationCommandOutput,
|
|
239
|
-
SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError
|
|
274
|
+
Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError
|
|
240
275
|
>;
|
|
241
276
|
|
|
242
277
|
/**
|
|
@@ -247,7 +282,7 @@ interface MqService$ {
|
|
|
247
282
|
options?: HttpHandlerOptions,
|
|
248
283
|
): Effect.Effect<
|
|
249
284
|
DescribeConfigurationRevisionCommandOutput,
|
|
250
|
-
SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError
|
|
285
|
+
Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError
|
|
251
286
|
>;
|
|
252
287
|
|
|
253
288
|
/**
|
|
@@ -258,7 +293,7 @@ interface MqService$ {
|
|
|
258
293
|
options?: HttpHandlerOptions,
|
|
259
294
|
): Effect.Effect<
|
|
260
295
|
DescribeUserCommandOutput,
|
|
261
|
-
SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError
|
|
296
|
+
Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError
|
|
262
297
|
>;
|
|
263
298
|
|
|
264
299
|
/**
|
|
@@ -269,7 +304,7 @@ interface MqService$ {
|
|
|
269
304
|
options?: HttpHandlerOptions,
|
|
270
305
|
): Effect.Effect<
|
|
271
306
|
ListBrokersCommandOutput,
|
|
272
|
-
SdkError | BadRequestError | ForbiddenError | InternalServerError
|
|
307
|
+
Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError
|
|
273
308
|
>;
|
|
274
309
|
|
|
275
310
|
/**
|
|
@@ -280,7 +315,7 @@ interface MqService$ {
|
|
|
280
315
|
options?: HttpHandlerOptions,
|
|
281
316
|
): Effect.Effect<
|
|
282
317
|
ListConfigurationRevisionsCommandOutput,
|
|
283
|
-
SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError
|
|
318
|
+
Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError
|
|
284
319
|
>;
|
|
285
320
|
|
|
286
321
|
/**
|
|
@@ -291,7 +326,7 @@ interface MqService$ {
|
|
|
291
326
|
options?: HttpHandlerOptions,
|
|
292
327
|
): Effect.Effect<
|
|
293
328
|
ListConfigurationsCommandOutput,
|
|
294
|
-
SdkError | BadRequestError | ForbiddenError | InternalServerError
|
|
329
|
+
Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError
|
|
295
330
|
>;
|
|
296
331
|
|
|
297
332
|
/**
|
|
@@ -302,7 +337,7 @@ interface MqService$ {
|
|
|
302
337
|
options?: HttpHandlerOptions,
|
|
303
338
|
): Effect.Effect<
|
|
304
339
|
ListTagsCommandOutput,
|
|
305
|
-
SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError
|
|
340
|
+
Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError
|
|
306
341
|
>;
|
|
307
342
|
|
|
308
343
|
/**
|
|
@@ -313,7 +348,7 @@ interface MqService$ {
|
|
|
313
348
|
options?: HttpHandlerOptions,
|
|
314
349
|
): Effect.Effect<
|
|
315
350
|
ListUsersCommandOutput,
|
|
316
|
-
SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError
|
|
351
|
+
Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError
|
|
317
352
|
>;
|
|
318
353
|
|
|
319
354
|
/**
|
|
@@ -324,7 +359,7 @@ interface MqService$ {
|
|
|
324
359
|
options?: HttpHandlerOptions,
|
|
325
360
|
): Effect.Effect<
|
|
326
361
|
PromoteCommandOutput,
|
|
327
|
-
SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError
|
|
362
|
+
Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError
|
|
328
363
|
>;
|
|
329
364
|
|
|
330
365
|
/**
|
|
@@ -335,7 +370,7 @@ interface MqService$ {
|
|
|
335
370
|
options?: HttpHandlerOptions,
|
|
336
371
|
): Effect.Effect<
|
|
337
372
|
RebootBrokerCommandOutput,
|
|
338
|
-
SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError
|
|
373
|
+
Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError
|
|
339
374
|
>;
|
|
340
375
|
|
|
341
376
|
/**
|
|
@@ -346,7 +381,13 @@ interface MqService$ {
|
|
|
346
381
|
options?: HttpHandlerOptions,
|
|
347
382
|
): Effect.Effect<
|
|
348
383
|
UpdateBrokerCommandOutput,
|
|
349
|
-
|
|
384
|
+
| Cause.TimeoutException
|
|
385
|
+
| SdkError
|
|
386
|
+
| BadRequestError
|
|
387
|
+
| ConflictError
|
|
388
|
+
| ForbiddenError
|
|
389
|
+
| InternalServerError
|
|
390
|
+
| NotFoundError
|
|
350
391
|
>;
|
|
351
392
|
|
|
352
393
|
/**
|
|
@@ -357,7 +398,13 @@ interface MqService$ {
|
|
|
357
398
|
options?: HttpHandlerOptions,
|
|
358
399
|
): Effect.Effect<
|
|
359
400
|
UpdateConfigurationCommandOutput,
|
|
360
|
-
|
|
401
|
+
| Cause.TimeoutException
|
|
402
|
+
| SdkError
|
|
403
|
+
| BadRequestError
|
|
404
|
+
| ConflictError
|
|
405
|
+
| ForbiddenError
|
|
406
|
+
| InternalServerError
|
|
407
|
+
| NotFoundError
|
|
361
408
|
>;
|
|
362
409
|
|
|
363
410
|
/**
|
|
@@ -368,7 +415,13 @@ interface MqService$ {
|
|
|
368
415
|
options?: HttpHandlerOptions,
|
|
369
416
|
): Effect.Effect<
|
|
370
417
|
UpdateUserCommandOutput,
|
|
371
|
-
|
|
418
|
+
| Cause.TimeoutException
|
|
419
|
+
| SdkError
|
|
420
|
+
| BadRequestError
|
|
421
|
+
| ConflictError
|
|
422
|
+
| ForbiddenError
|
|
423
|
+
| InternalServerError
|
|
424
|
+
| NotFoundError
|
|
372
425
|
>;
|
|
373
426
|
}
|
|
374
427
|
|
|
@@ -379,7 +432,7 @@ interface MqService$ {
|
|
|
379
432
|
export const makeMqService = Effect.gen(function*() {
|
|
380
433
|
const client = yield* Instance.MqClientInstance;
|
|
381
434
|
|
|
382
|
-
return Service.fromClientAndCommands<MqService$>(
|
|
435
|
+
return yield* Service.fromClientAndCommands<MqService$>(
|
|
383
436
|
client,
|
|
384
437
|
commands,
|
|
385
438
|
{
|