@effect-aws/client-mq 1.9.5 → 1.10.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/dist/cjs/MqService.d.ts +30 -25
- 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/MqService.d.ts +30 -25
- package/dist/dts/MqService.d.ts.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/MqService.ts +76 -24
package/dist/cjs/MqService.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
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";
|
|
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
5
|
import type { HttpHandlerOptions, SdkError, ServiceLogger } from "@effect-aws/commons";
|
|
6
|
+
import type { Cause } from "effect";
|
|
6
7
|
import { Effect, Layer } from "effect";
|
|
7
8
|
import type { BadRequestError, ConflictError, ForbiddenError, InternalServerError, NotFoundError, UnauthorizedError } from "./Errors.js";
|
|
8
9
|
import * as Instance from "./MqClientInstance.js";
|
|
@@ -11,95 +12,99 @@ interface MqService$ {
|
|
|
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>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M,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;AASvC,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,EAAnB,+BAAmB;IACnB,mBAAmB,EAAnB,+BAAmB;IACnB,0BAA0B,EAA1B,sCAA0B;IAC1B,iBAAiB,EAAjB,6BAAiB;CAClB,CAAC;AAkTF;;;GAGG;AACU,QAAA,aAAa,GAAG,eAAM,CAAC,GAAG,CAAC,QAAQ,CAAC;IAC/C,MAAM,MAAM,GAAG,KAAK,CAAC,CAAC,QAAQ,CAAC,gBAAgB,CAAC;IAEhD,OAAO,KAAK,CAAC,CAAC,iBAAO,CAAC,qBAAqB,CACzC,MAAM,EACN,QAAQ,EACR;QACE,SAAS,EAAE,4BAAgB;QAC3B,mBAAmB,EAAE,eAAe,CAAC,gBAAgB;KACtD,CACF,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,MAAa,SAAU,SAAQ,eAAM,CAAC,GAAG,CAAC,iCAAiC,CAAC,EAGzE;IACD,MAAM,CAAU,YAAY,GAAG,cAAK,CAAC,MAAM,CAAC,IAAI,EAAE,qBAAa,CAAC,CAAC,IAAI,CAAC,cAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC;IACrG,MAAM,CAAU,KAAK,GAAG,CAAC,MAAwB,EAAE,EAAE,CACnD,cAAK,CAAC,MAAM,CAAC,IAAI,EAAE,qBAAa,CAAC,CAAC,IAAI,CACpC,cAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,EAC7B,cAAK,CAAC,OAAO,CAAC,eAAe,CAAC,kBAAkB,CAAC,MAAM,CAAC,CAAC,CAC1D,CAAC;IACJ,MAAM,CAAU,SAAS,GAAG,CAC1B,QAAqD,EACrD,EAAE,CACF,cAAK,CAAC,MAAM,CAAC,IAAI,EAAE,qBAAa,CAAC,CAAC,IAAI,CACpC,cAAK,CAAC,OAAO,CACX,cAAK,CAAC,MAAM,CACV,QAAQ,CAAC,gBAAgB,EACzB,eAAM,CAAC,GAAG,CAAC,eAAe,CAAC,gBAAgB,EAAE,QAAQ,CAAC,CACvD,CACF,CACF,CAAC;;AApBN,8BAqBC"}
|
package/dist/dts/MqService.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
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";
|
|
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
5
|
import type { HttpHandlerOptions, SdkError, ServiceLogger } from "@effect-aws/commons";
|
|
6
|
+
import type { Cause } from "effect";
|
|
6
7
|
import { Effect, Layer } from "effect";
|
|
7
8
|
import type { BadRequestError, ConflictError, ForbiddenError, InternalServerError, NotFoundError, UnauthorizedError } from "./Errors.js";
|
|
8
9
|
import * as Instance from "./MqClientInstance.js";
|
|
@@ -11,95 +12,99 @@ interface MqService$ {
|
|
|
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,0CAA0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-
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,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;AAE9C,OAAO,EAAE,MA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AAM,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.0",
|
|
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/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,
|
|
@@ -76,6 +79,7 @@ import {
|
|
|
76
79
|
} from "@aws-sdk/client-mq";
|
|
77
80
|
import type { HttpHandlerOptions, SdkError, 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,
|
|
@@ -95,6 +99,7 @@ const commands = {
|
|
|
95
99
|
CreateTagsCommand,
|
|
96
100
|
CreateUserCommand,
|
|
97
101
|
DeleteBrokerCommand,
|
|
102
|
+
DeleteConfigurationCommand,
|
|
98
103
|
DeleteTagsCommand,
|
|
99
104
|
DeleteUserCommand,
|
|
100
105
|
DescribeBrokerCommand,
|
|
@@ -126,7 +131,13 @@ interface MqService$ {
|
|
|
126
131
|
options?: HttpHandlerOptions,
|
|
127
132
|
): Effect.Effect<
|
|
128
133
|
CreateBrokerCommandOutput,
|
|
129
|
-
|
|
134
|
+
| Cause.TimeoutException
|
|
135
|
+
| SdkError
|
|
136
|
+
| BadRequestError
|
|
137
|
+
| ConflictError
|
|
138
|
+
| ForbiddenError
|
|
139
|
+
| InternalServerError
|
|
140
|
+
| UnauthorizedError
|
|
130
141
|
>;
|
|
131
142
|
|
|
132
143
|
/**
|
|
@@ -137,7 +148,7 @@ interface MqService$ {
|
|
|
137
148
|
options?: HttpHandlerOptions,
|
|
138
149
|
): Effect.Effect<
|
|
139
150
|
CreateConfigurationCommandOutput,
|
|
140
|
-
SdkError | BadRequestError | ConflictError | ForbiddenError | InternalServerError
|
|
151
|
+
Cause.TimeoutException | SdkError | BadRequestError | ConflictError | ForbiddenError | InternalServerError
|
|
141
152
|
>;
|
|
142
153
|
|
|
143
154
|
/**
|
|
@@ -148,7 +159,7 @@ interface MqService$ {
|
|
|
148
159
|
options?: HttpHandlerOptions,
|
|
149
160
|
): Effect.Effect<
|
|
150
161
|
CreateTagsCommandOutput,
|
|
151
|
-
SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError
|
|
162
|
+
Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError
|
|
152
163
|
>;
|
|
153
164
|
|
|
154
165
|
/**
|
|
@@ -159,7 +170,13 @@ interface MqService$ {
|
|
|
159
170
|
options?: HttpHandlerOptions,
|
|
160
171
|
): Effect.Effect<
|
|
161
172
|
CreateUserCommandOutput,
|
|
162
|
-
|
|
173
|
+
| Cause.TimeoutException
|
|
174
|
+
| SdkError
|
|
175
|
+
| BadRequestError
|
|
176
|
+
| ConflictError
|
|
177
|
+
| ForbiddenError
|
|
178
|
+
| InternalServerError
|
|
179
|
+
| NotFoundError
|
|
163
180
|
>;
|
|
164
181
|
|
|
165
182
|
/**
|
|
@@ -170,7 +187,24 @@ interface MqService$ {
|
|
|
170
187
|
options?: HttpHandlerOptions,
|
|
171
188
|
): Effect.Effect<
|
|
172
189
|
DeleteBrokerCommandOutput,
|
|
173
|
-
SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError
|
|
190
|
+
Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError
|
|
191
|
+
>;
|
|
192
|
+
|
|
193
|
+
/**
|
|
194
|
+
* @see {@link DeleteConfigurationCommand}
|
|
195
|
+
*/
|
|
196
|
+
deleteConfiguration(
|
|
197
|
+
args: DeleteConfigurationCommandInput,
|
|
198
|
+
options?: HttpHandlerOptions,
|
|
199
|
+
): Effect.Effect<
|
|
200
|
+
DeleteConfigurationCommandOutput,
|
|
201
|
+
| Cause.TimeoutException
|
|
202
|
+
| SdkError
|
|
203
|
+
| BadRequestError
|
|
204
|
+
| ConflictError
|
|
205
|
+
| ForbiddenError
|
|
206
|
+
| InternalServerError
|
|
207
|
+
| NotFoundError
|
|
174
208
|
>;
|
|
175
209
|
|
|
176
210
|
/**
|
|
@@ -181,7 +215,7 @@ interface MqService$ {
|
|
|
181
215
|
options?: HttpHandlerOptions,
|
|
182
216
|
): Effect.Effect<
|
|
183
217
|
DeleteTagsCommandOutput,
|
|
184
|
-
SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError
|
|
218
|
+
Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError
|
|
185
219
|
>;
|
|
186
220
|
|
|
187
221
|
/**
|
|
@@ -192,7 +226,7 @@ interface MqService$ {
|
|
|
192
226
|
options?: HttpHandlerOptions,
|
|
193
227
|
): Effect.Effect<
|
|
194
228
|
DeleteUserCommandOutput,
|
|
195
|
-
SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError
|
|
229
|
+
Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError
|
|
196
230
|
>;
|
|
197
231
|
|
|
198
232
|
/**
|
|
@@ -203,7 +237,7 @@ interface MqService$ {
|
|
|
203
237
|
options?: HttpHandlerOptions,
|
|
204
238
|
): Effect.Effect<
|
|
205
239
|
DescribeBrokerCommandOutput,
|
|
206
|
-
SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError
|
|
240
|
+
Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError
|
|
207
241
|
>;
|
|
208
242
|
|
|
209
243
|
/**
|
|
@@ -214,7 +248,7 @@ interface MqService$ {
|
|
|
214
248
|
options?: HttpHandlerOptions,
|
|
215
249
|
): Effect.Effect<
|
|
216
250
|
DescribeBrokerEngineTypesCommandOutput,
|
|
217
|
-
SdkError | BadRequestError | ForbiddenError | InternalServerError
|
|
251
|
+
Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError
|
|
218
252
|
>;
|
|
219
253
|
|
|
220
254
|
/**
|
|
@@ -225,7 +259,7 @@ interface MqService$ {
|
|
|
225
259
|
options?: HttpHandlerOptions,
|
|
226
260
|
): Effect.Effect<
|
|
227
261
|
DescribeBrokerInstanceOptionsCommandOutput,
|
|
228
|
-
SdkError | BadRequestError | ForbiddenError | InternalServerError
|
|
262
|
+
Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError
|
|
229
263
|
>;
|
|
230
264
|
|
|
231
265
|
/**
|
|
@@ -236,7 +270,7 @@ interface MqService$ {
|
|
|
236
270
|
options?: HttpHandlerOptions,
|
|
237
271
|
): Effect.Effect<
|
|
238
272
|
DescribeConfigurationCommandOutput,
|
|
239
|
-
SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError
|
|
273
|
+
Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError
|
|
240
274
|
>;
|
|
241
275
|
|
|
242
276
|
/**
|
|
@@ -247,7 +281,7 @@ interface MqService$ {
|
|
|
247
281
|
options?: HttpHandlerOptions,
|
|
248
282
|
): Effect.Effect<
|
|
249
283
|
DescribeConfigurationRevisionCommandOutput,
|
|
250
|
-
SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError
|
|
284
|
+
Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError
|
|
251
285
|
>;
|
|
252
286
|
|
|
253
287
|
/**
|
|
@@ -258,7 +292,7 @@ interface MqService$ {
|
|
|
258
292
|
options?: HttpHandlerOptions,
|
|
259
293
|
): Effect.Effect<
|
|
260
294
|
DescribeUserCommandOutput,
|
|
261
|
-
SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError
|
|
295
|
+
Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError
|
|
262
296
|
>;
|
|
263
297
|
|
|
264
298
|
/**
|
|
@@ -269,7 +303,7 @@ interface MqService$ {
|
|
|
269
303
|
options?: HttpHandlerOptions,
|
|
270
304
|
): Effect.Effect<
|
|
271
305
|
ListBrokersCommandOutput,
|
|
272
|
-
SdkError | BadRequestError | ForbiddenError | InternalServerError
|
|
306
|
+
Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError
|
|
273
307
|
>;
|
|
274
308
|
|
|
275
309
|
/**
|
|
@@ -280,7 +314,7 @@ interface MqService$ {
|
|
|
280
314
|
options?: HttpHandlerOptions,
|
|
281
315
|
): Effect.Effect<
|
|
282
316
|
ListConfigurationRevisionsCommandOutput,
|
|
283
|
-
SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError
|
|
317
|
+
Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError
|
|
284
318
|
>;
|
|
285
319
|
|
|
286
320
|
/**
|
|
@@ -291,7 +325,7 @@ interface MqService$ {
|
|
|
291
325
|
options?: HttpHandlerOptions,
|
|
292
326
|
): Effect.Effect<
|
|
293
327
|
ListConfigurationsCommandOutput,
|
|
294
|
-
SdkError | BadRequestError | ForbiddenError | InternalServerError
|
|
328
|
+
Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError
|
|
295
329
|
>;
|
|
296
330
|
|
|
297
331
|
/**
|
|
@@ -302,7 +336,7 @@ interface MqService$ {
|
|
|
302
336
|
options?: HttpHandlerOptions,
|
|
303
337
|
): Effect.Effect<
|
|
304
338
|
ListTagsCommandOutput,
|
|
305
|
-
SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError
|
|
339
|
+
Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError
|
|
306
340
|
>;
|
|
307
341
|
|
|
308
342
|
/**
|
|
@@ -313,7 +347,7 @@ interface MqService$ {
|
|
|
313
347
|
options?: HttpHandlerOptions,
|
|
314
348
|
): Effect.Effect<
|
|
315
349
|
ListUsersCommandOutput,
|
|
316
|
-
SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError
|
|
350
|
+
Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError
|
|
317
351
|
>;
|
|
318
352
|
|
|
319
353
|
/**
|
|
@@ -324,7 +358,7 @@ interface MqService$ {
|
|
|
324
358
|
options?: HttpHandlerOptions,
|
|
325
359
|
): Effect.Effect<
|
|
326
360
|
PromoteCommandOutput,
|
|
327
|
-
SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError
|
|
361
|
+
Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError
|
|
328
362
|
>;
|
|
329
363
|
|
|
330
364
|
/**
|
|
@@ -335,7 +369,7 @@ interface MqService$ {
|
|
|
335
369
|
options?: HttpHandlerOptions,
|
|
336
370
|
): Effect.Effect<
|
|
337
371
|
RebootBrokerCommandOutput,
|
|
338
|
-
SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError
|
|
372
|
+
Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError
|
|
339
373
|
>;
|
|
340
374
|
|
|
341
375
|
/**
|
|
@@ -346,7 +380,13 @@ interface MqService$ {
|
|
|
346
380
|
options?: HttpHandlerOptions,
|
|
347
381
|
): Effect.Effect<
|
|
348
382
|
UpdateBrokerCommandOutput,
|
|
349
|
-
|
|
383
|
+
| Cause.TimeoutException
|
|
384
|
+
| SdkError
|
|
385
|
+
| BadRequestError
|
|
386
|
+
| ConflictError
|
|
387
|
+
| ForbiddenError
|
|
388
|
+
| InternalServerError
|
|
389
|
+
| NotFoundError
|
|
350
390
|
>;
|
|
351
391
|
|
|
352
392
|
/**
|
|
@@ -357,7 +397,13 @@ interface MqService$ {
|
|
|
357
397
|
options?: HttpHandlerOptions,
|
|
358
398
|
): Effect.Effect<
|
|
359
399
|
UpdateConfigurationCommandOutput,
|
|
360
|
-
|
|
400
|
+
| Cause.TimeoutException
|
|
401
|
+
| SdkError
|
|
402
|
+
| BadRequestError
|
|
403
|
+
| ConflictError
|
|
404
|
+
| ForbiddenError
|
|
405
|
+
| InternalServerError
|
|
406
|
+
| NotFoundError
|
|
361
407
|
>;
|
|
362
408
|
|
|
363
409
|
/**
|
|
@@ -368,7 +414,13 @@ interface MqService$ {
|
|
|
368
414
|
options?: HttpHandlerOptions,
|
|
369
415
|
): Effect.Effect<
|
|
370
416
|
UpdateUserCommandOutput,
|
|
371
|
-
|
|
417
|
+
| Cause.TimeoutException
|
|
418
|
+
| SdkError
|
|
419
|
+
| BadRequestError
|
|
420
|
+
| ConflictError
|
|
421
|
+
| ForbiddenError
|
|
422
|
+
| InternalServerError
|
|
423
|
+
| NotFoundError
|
|
372
424
|
>;
|
|
373
425
|
}
|
|
374
426
|
|
|
@@ -379,7 +431,7 @@ interface MqService$ {
|
|
|
379
431
|
export const makeMqService = Effect.gen(function*() {
|
|
380
432
|
const client = yield* Instance.MqClientInstance;
|
|
381
433
|
|
|
382
|
-
return Service.fromClientAndCommands<MqService$>(
|
|
434
|
+
return yield* Service.fromClientAndCommands<MqService$>(
|
|
383
435
|
client,
|
|
384
436
|
commands,
|
|
385
437
|
{
|