@effect-aws/client-account 1.10.9 → 2.0.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.md +3 -3
- package/dist/dts/AccountClientInstance.d.ts +2 -2
- package/dist/dts/AccountClientInstance.d.ts.map +1 -1
- package/dist/dts/AccountService.d.ts +17 -19
- package/dist/dts/AccountService.d.ts.map +1 -1
- package/dist/dts/AccountServiceConfig.d.ts.map +1 -1
- package/dist/esm/AccountClientInstance.js +3 -3
- package/dist/esm/AccountClientInstance.js.map +1 -1
- package/dist/esm/AccountService.js +2 -2
- package/dist/esm/AccountService.js.map +1 -1
- package/dist/esm/AccountServiceConfig.js +5 -6
- package/dist/esm/AccountServiceConfig.js.map +1 -1
- package/package.json +8 -14
- package/src/AccountClientInstance.ts +4 -4
- package/src/AccountService.ts +18 -18
- package/src/AccountServiceConfig.ts +6 -7
- package/dist/cjs/AccountClientInstance.d.ts +0 -24
- package/dist/cjs/AccountClientInstance.d.ts.map +0 -1
- package/dist/cjs/AccountClientInstance.js +0 -50
- package/dist/cjs/AccountClientInstance.js.map +0 -1
- package/dist/cjs/AccountService.d.ts +0 -106
- package/dist/cjs/AccountService.d.ts.map +0 -1
- package/dist/cjs/AccountService.js +0 -74
- package/dist/cjs/AccountService.js.map +0 -1
- package/dist/cjs/AccountServiceConfig.d.ts +0 -25
- package/dist/cjs/AccountServiceConfig.d.ts.map +0 -1
- package/dist/cjs/AccountServiceConfig.js +0 -35
- package/dist/cjs/AccountServiceConfig.js.map +0 -1
- package/dist/cjs/Errors.d.ts +0 -14
- package/dist/cjs/Errors.d.ts.map +0 -1
- package/dist/cjs/Errors.js +0 -13
- package/dist/cjs/Errors.js.map +0 -1
- package/dist/cjs/index.d.ts +0 -44
- package/dist/cjs/index.d.ts.map +0 -1
- package/dist/cjs/index.js +0 -56
- package/dist/cjs/index.js.map +0 -1
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -16,7 +16,7 @@ With default AccountClient instance:
|
|
|
16
16
|
```typescript
|
|
17
17
|
import { Account } from "@effect-aws/client-account";
|
|
18
18
|
|
|
19
|
-
const program = Account.listRegions(args);
|
|
19
|
+
const program = Account.use((svc) => svc.listRegions(args));
|
|
20
20
|
|
|
21
21
|
const result = pipe(
|
|
22
22
|
program,
|
|
@@ -30,7 +30,7 @@ With custom AccountClient instance:
|
|
|
30
30
|
```typescript
|
|
31
31
|
import { Account } from "@effect-aws/client-account";
|
|
32
32
|
|
|
33
|
-
const program = Account.listRegions(args);
|
|
33
|
+
const program = Account.use((svc) => svc.listRegions(args));
|
|
34
34
|
|
|
35
35
|
const result = await pipe(
|
|
36
36
|
program,
|
|
@@ -46,7 +46,7 @@ With custom AccountClient configuration:
|
|
|
46
46
|
```typescript
|
|
47
47
|
import { Account } from "@effect-aws/client-account";
|
|
48
48
|
|
|
49
|
-
const program = Account.listRegions(args);
|
|
49
|
+
const program = Account.use((svc) => svc.listRegions(args));
|
|
50
50
|
|
|
51
51
|
const result = await pipe(
|
|
52
52
|
program,
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*/
|
|
4
4
|
import { AccountClient } from "@aws-sdk/client-account";
|
|
5
|
-
import {
|
|
6
|
-
declare const AccountClientInstance_base:
|
|
5
|
+
import { Effect, Layer, ServiceMap } from "effect";
|
|
6
|
+
declare const AccountClientInstance_base: ServiceMap.ServiceClass<AccountClientInstance, "@effect-aws/client-account/AccountClientInstance", AccountClient>;
|
|
7
7
|
/**
|
|
8
8
|
* @since 1.0.0
|
|
9
9
|
* @category tags
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AccountClientInstance.d.ts","sourceRoot":"","sources":["../../src/AccountClientInstance.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"AccountClientInstance.d.ts","sourceRoot":"","sources":["../../src/AccountClientInstance.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;;AAGnD;;;GAGG;AACH,qBAAa,qBAAsB,SAAQ,0BAE1C;CAAG;AAEJ;;;GAGG;AACH,eAAO,MAAM,IAAI,mEAOhB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,KAAK,kDAA4C,CAAC"}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import { type AcceptPrimaryEmailUpdateCommandInput, type AcceptPrimaryEmailUpdateCommandOutput, type AccountClient, type AccountClientConfig, type DeleteAlternateContactCommandInput, type DeleteAlternateContactCommandOutput, type DisableRegionCommandInput, type DisableRegionCommandOutput, type EnableRegionCommandInput, type EnableRegionCommandOutput, type GetAccountInformationCommandInput, type GetAccountInformationCommandOutput, type GetAlternateContactCommandInput, type GetAlternateContactCommandOutput, type GetContactInformationCommandInput, type GetContactInformationCommandOutput, type GetGovCloudAccountInformationCommandInput, type GetGovCloudAccountInformationCommandOutput, type GetPrimaryEmailCommandInput, type GetPrimaryEmailCommandOutput, type GetRegionOptStatusCommandInput, type GetRegionOptStatusCommandOutput, type ListRegionsCommandInput, type ListRegionsCommandOutput, type PutAccountNameCommandInput, type PutAccountNameCommandOutput, type PutAlternateContactCommandInput, type PutAlternateContactCommandOutput, type PutContactInformationCommandInput, type PutContactInformationCommandOutput, type StartPrimaryEmailUpdateCommandInput, type StartPrimaryEmailUpdateCommandOutput } from "@aws-sdk/client-account";
|
|
5
5
|
import type { HttpHandlerOptions, ServiceLogger } from "@effect-aws/commons";
|
|
6
6
|
import type { Cause } from "effect";
|
|
7
|
-
import { Effect, Layer } from "effect";
|
|
7
|
+
import { Effect, Layer, ServiceMap } from "effect";
|
|
8
8
|
import * as Instance from "./AccountClientInstance.js";
|
|
9
9
|
import type { AccessDeniedError, ConflictError, InternalServerError, ResourceNotFoundError, ResourceUnavailableError, SdkError, TooManyRequestsError, ValidationError } from "./Errors.js";
|
|
10
10
|
interface AccountService$ {
|
|
@@ -12,72 +12,70 @@ interface AccountService$ {
|
|
|
12
12
|
/**
|
|
13
13
|
* @see {@link AcceptPrimaryEmailUpdateCommand}
|
|
14
14
|
*/
|
|
15
|
-
acceptPrimaryEmailUpdate(args: AcceptPrimaryEmailUpdateCommandInput, options?: HttpHandlerOptions): Effect.Effect<AcceptPrimaryEmailUpdateCommandOutput, Cause.
|
|
15
|
+
acceptPrimaryEmailUpdate(args: AcceptPrimaryEmailUpdateCommandInput, options?: HttpHandlerOptions): Effect.Effect<AcceptPrimaryEmailUpdateCommandOutput, Cause.TimeoutError | SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | TooManyRequestsError | ValidationError>;
|
|
16
16
|
/**
|
|
17
17
|
* @see {@link DeleteAlternateContactCommand}
|
|
18
18
|
*/
|
|
19
|
-
deleteAlternateContact(args: DeleteAlternateContactCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteAlternateContactCommandOutput, Cause.
|
|
19
|
+
deleteAlternateContact(args: DeleteAlternateContactCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteAlternateContactCommandOutput, Cause.TimeoutError | SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | TooManyRequestsError | ValidationError>;
|
|
20
20
|
/**
|
|
21
21
|
* @see {@link DisableRegionCommand}
|
|
22
22
|
*/
|
|
23
|
-
disableRegion(args: DisableRegionCommandInput, options?: HttpHandlerOptions): Effect.Effect<DisableRegionCommandOutput, Cause.
|
|
23
|
+
disableRegion(args: DisableRegionCommandInput, options?: HttpHandlerOptions): Effect.Effect<DisableRegionCommandOutput, Cause.TimeoutError | SdkError | AccessDeniedError | ConflictError | InternalServerError | TooManyRequestsError | ValidationError>;
|
|
24
24
|
/**
|
|
25
25
|
* @see {@link EnableRegionCommand}
|
|
26
26
|
*/
|
|
27
|
-
enableRegion(args: EnableRegionCommandInput, options?: HttpHandlerOptions): Effect.Effect<EnableRegionCommandOutput, Cause.
|
|
27
|
+
enableRegion(args: EnableRegionCommandInput, options?: HttpHandlerOptions): Effect.Effect<EnableRegionCommandOutput, Cause.TimeoutError | SdkError | AccessDeniedError | ConflictError | InternalServerError | TooManyRequestsError | ValidationError>;
|
|
28
28
|
/**
|
|
29
29
|
* @see {@link GetAccountInformationCommand}
|
|
30
30
|
*/
|
|
31
|
-
getAccountInformation(args: GetAccountInformationCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetAccountInformationCommandOutput, Cause.
|
|
31
|
+
getAccountInformation(args: GetAccountInformationCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetAccountInformationCommandOutput, Cause.TimeoutError | SdkError | AccessDeniedError | InternalServerError | TooManyRequestsError | ValidationError>;
|
|
32
32
|
/**
|
|
33
33
|
* @see {@link GetAlternateContactCommand}
|
|
34
34
|
*/
|
|
35
|
-
getAlternateContact(args: GetAlternateContactCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetAlternateContactCommandOutput, Cause.
|
|
35
|
+
getAlternateContact(args: GetAlternateContactCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetAlternateContactCommandOutput, Cause.TimeoutError | SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | TooManyRequestsError | ValidationError>;
|
|
36
36
|
/**
|
|
37
37
|
* @see {@link GetContactInformationCommand}
|
|
38
38
|
*/
|
|
39
|
-
getContactInformation(args: GetContactInformationCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetContactInformationCommandOutput, Cause.
|
|
39
|
+
getContactInformation(args: GetContactInformationCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetContactInformationCommandOutput, Cause.TimeoutError | SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | TooManyRequestsError | ValidationError>;
|
|
40
40
|
/**
|
|
41
41
|
* @see {@link GetGovCloudAccountInformationCommand}
|
|
42
42
|
*/
|
|
43
|
-
getGovCloudAccountInformation(args: GetGovCloudAccountInformationCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetGovCloudAccountInformationCommandOutput, Cause.
|
|
43
|
+
getGovCloudAccountInformation(args: GetGovCloudAccountInformationCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetGovCloudAccountInformationCommandOutput, Cause.TimeoutError | SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ResourceUnavailableError | TooManyRequestsError | ValidationError>;
|
|
44
44
|
/**
|
|
45
45
|
* @see {@link GetPrimaryEmailCommand}
|
|
46
46
|
*/
|
|
47
|
-
getPrimaryEmail(args: GetPrimaryEmailCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetPrimaryEmailCommandOutput, Cause.
|
|
47
|
+
getPrimaryEmail(args: GetPrimaryEmailCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetPrimaryEmailCommandOutput, Cause.TimeoutError | SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | TooManyRequestsError | ValidationError>;
|
|
48
48
|
/**
|
|
49
49
|
* @see {@link GetRegionOptStatusCommand}
|
|
50
50
|
*/
|
|
51
|
-
getRegionOptStatus(args: GetRegionOptStatusCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetRegionOptStatusCommandOutput, Cause.
|
|
51
|
+
getRegionOptStatus(args: GetRegionOptStatusCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetRegionOptStatusCommandOutput, Cause.TimeoutError | SdkError | AccessDeniedError | InternalServerError | TooManyRequestsError | ValidationError>;
|
|
52
52
|
/**
|
|
53
53
|
* @see {@link ListRegionsCommand}
|
|
54
54
|
*/
|
|
55
|
-
listRegions(args: ListRegionsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListRegionsCommandOutput, Cause.
|
|
55
|
+
listRegions(args: ListRegionsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListRegionsCommandOutput, Cause.TimeoutError | SdkError | AccessDeniedError | InternalServerError | TooManyRequestsError | ValidationError>;
|
|
56
56
|
/**
|
|
57
57
|
* @see {@link PutAccountNameCommand}
|
|
58
58
|
*/
|
|
59
|
-
putAccountName(args: PutAccountNameCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutAccountNameCommandOutput, Cause.
|
|
59
|
+
putAccountName(args: PutAccountNameCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutAccountNameCommandOutput, Cause.TimeoutError | SdkError | AccessDeniedError | InternalServerError | TooManyRequestsError | ValidationError>;
|
|
60
60
|
/**
|
|
61
61
|
* @see {@link PutAlternateContactCommand}
|
|
62
62
|
*/
|
|
63
|
-
putAlternateContact(args: PutAlternateContactCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutAlternateContactCommandOutput, Cause.
|
|
63
|
+
putAlternateContact(args: PutAlternateContactCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutAlternateContactCommandOutput, Cause.TimeoutError | SdkError | AccessDeniedError | InternalServerError | TooManyRequestsError | ValidationError>;
|
|
64
64
|
/**
|
|
65
65
|
* @see {@link PutContactInformationCommand}
|
|
66
66
|
*/
|
|
67
|
-
putContactInformation(args: PutContactInformationCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutContactInformationCommandOutput, Cause.
|
|
67
|
+
putContactInformation(args: PutContactInformationCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutContactInformationCommandOutput, Cause.TimeoutError | SdkError | AccessDeniedError | InternalServerError | TooManyRequestsError | ValidationError>;
|
|
68
68
|
/**
|
|
69
69
|
* @see {@link StartPrimaryEmailUpdateCommand}
|
|
70
70
|
*/
|
|
71
|
-
startPrimaryEmailUpdate(args: StartPrimaryEmailUpdateCommandInput, options?: HttpHandlerOptions): Effect.Effect<StartPrimaryEmailUpdateCommandOutput, Cause.
|
|
71
|
+
startPrimaryEmailUpdate(args: StartPrimaryEmailUpdateCommandInput, options?: HttpHandlerOptions): Effect.Effect<StartPrimaryEmailUpdateCommandOutput, Cause.TimeoutError | SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | TooManyRequestsError | ValidationError>;
|
|
72
72
|
}
|
|
73
73
|
/**
|
|
74
74
|
* @since 1.0.0
|
|
75
75
|
* @category constructors
|
|
76
76
|
*/
|
|
77
77
|
export declare const makeAccountService: Effect.Effect<AccountService$, never, Instance.AccountClientInstance>;
|
|
78
|
-
declare const AccountService_base:
|
|
79
|
-
use: <X>(body: (_: AccountService$) => X) => [X] extends [Effect.Effect<infer A, infer E, infer R>] ? Effect.Effect<A, E, AccountService | R> : [X] extends [PromiseLike<infer A_1>] ? Effect.Effect<A_1, Cause.UnknownException, AccountService> : Effect.Effect<X, never, AccountService>;
|
|
80
|
-
};
|
|
78
|
+
declare const AccountService_base: ServiceMap.ServiceClass<AccountService, "@effect-aws/client-account/AccountService", AccountService$>;
|
|
81
79
|
/**
|
|
82
80
|
* @since 1.0.0
|
|
83
81
|
* @category models
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AccountService.d.ts","sourceRoot":"","sources":["../../src/AccountService.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAEL,KAAK,oCAAoC,EACzC,KAAK,qCAAqC,EAC1C,KAAK,aAAa,EAClB,KAAK,mBAAmB,EAExB,KAAK,kCAAkC,EACvC,KAAK,mCAAmC,EAExC,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAE/B,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAE9B,KAAK,iCAAiC,EACtC,KAAK,kCAAkC,EAEvC,KAAK,+BAA+B,EACpC,KAAK,gCAAgC,EAErC,KAAK,iCAAiC,EACtC,KAAK,kCAAkC,EAEvC,KAAK,yCAAyC,EAC9C,KAAK,0CAA0C,EAE/C,KAAK,2BAA2B,EAChC,KAAK,4BAA4B,EAEjC,KAAK,8BAA8B,EACnC,KAAK,+BAA+B,EAEpC,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAE7B,KAAK,0BAA0B,EAC/B,KAAK,2BAA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H,CAAC;IAEF;;OAEG;IACH,uBAAuB,CACrB,IAAI,EAAE,mCAAmC,EACzC,OAAO,CAAC,EAAE,kBAAkB,GAC3B,MAAM,CAAC,MAAM,CACd,oCAAoC,EAClC,KAAK,CAAC,YAAY,GAClB,QAAQ,GACR,iBAAiB,GACjB,aAAa,GACb,mBAAmB,GACnB,qBAAqB,GACrB,oBAAoB,GACpB,eAAe,CAClB,CAAC;CACH;AAED;;;GAGG;AACH,eAAO,MAAM,kBAAkB,uEAW7B,CAAC;;AAEH;;;GAGG;AACH,qBAAa,cAAe,SAAQ,mBAGY;IAC9C,MAAM,CAAC,QAAQ,CAAC,YAAY,4CAA8E;IAC1G,MAAM,CAAC,QAAQ,CAAC,KAAK,WAAY,eAAe,MAAM,+CAIlD;IACJ,MAAM,CAAC,QAAQ,CAAC,SAAS,aACb,CAAC,aAAa,EAAE,mBAAmB,KAAK,aAAa,+CAS7D;CACL;AAED;;GAEG;AACH,MAAM,CAAC,OAAO,WAAW,cAAc,CAAC;IACtC;;OAEG;IACH,UAAiB,MAAO,SAAQ,IAAI,CAAC,mBAAmB,EAAE,QAAQ,CAAC;QACjE,QAAQ,CAAC,MAAM,CAAC,EAAE,aAAa,CAAC,6BAA6B,GAAG,IAAI,CAAC;KACtE;IAED;;OAEG;IACH,KAAY,IAAI,GAAG,eAAe,CAAC;CACpC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AccountServiceConfig.d.ts","sourceRoot":"","sources":["../../src/AccountServiceConfig.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAEnE,OAAO,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"AccountServiceConfig.d.ts","sourceRoot":"","sources":["../../src/AccountServiceConfig.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAEnE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAc,MAAM,QAAQ,CAAC;AAEnD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAW1D;;;GAGG;AACH,eAAO,MAAM,wBAAwB,EAAE;IACrC,CAAC,MAAM,EAAE,cAAc,CAAC,MAAM,GAAG,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,KAAK,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;IACrG,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,cAAc,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;CAKlG,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,uBAAuB,WAAY,eAAe,MAAM,qCACjB,CAAC;AAErD;;;GAGG;AACH,eAAO,MAAM,qBAAqB,EAAE,MAAM,CAAC,MAAM,CAAC,mBAAmB,CAQnE,CAAC"}
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*/
|
|
4
4
|
import { AccountClient } from "@aws-sdk/client-account";
|
|
5
|
-
import {
|
|
5
|
+
import { Effect, Layer, ServiceMap } from "effect";
|
|
6
6
|
import * as AccountServiceConfig from "./AccountServiceConfig.js";
|
|
7
7
|
/**
|
|
8
8
|
* @since 1.0.0
|
|
9
9
|
* @category tags
|
|
10
10
|
*/
|
|
11
|
-
export class AccountClientInstance extends
|
|
11
|
+
export class AccountClientInstance extends ServiceMap.Service()("@effect-aws/client-account/AccountClientInstance") {
|
|
12
12
|
}
|
|
13
13
|
/**
|
|
14
14
|
* @since 1.0.0
|
|
@@ -19,5 +19,5 @@ export const make = Effect.flatMap(AccountServiceConfig.toAccountClientConfig, (
|
|
|
19
19
|
* @since 1.0.0
|
|
20
20
|
* @category layers
|
|
21
21
|
*/
|
|
22
|
-
export const layer = Layer.
|
|
22
|
+
export const layer = Layer.effect(AccountClientInstance, make);
|
|
23
23
|
//# sourceMappingURL=AccountClientInstance.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AccountClientInstance.js","sourceRoot":"","sources":["../../src/AccountClientInstance.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"AccountClientInstance.js","sourceRoot":"","sources":["../../src/AccountClientInstance.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AACnD,OAAO,KAAK,oBAAoB,MAAM,2BAA2B,CAAC;AAElE;;;GAGG;AACH,MAAM,OAAO,qBAAsB,SAAQ,UAAU,CAAC,OAAO,EAAwC,CACnG,kDAAkD,CACnD;CAAG;AAEJ;;;GAGG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG,MAAM,CAAC,OAAO,CAChC,oBAAoB,CAAC,qBAAqB,EAC1C,CAAC,MAAM,EAAE,EAAE,CACT,MAAM,CAAC,cAAc,CACnB,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,IAAI,aAAa,CAAC,MAAM,CAAC,CAAC,EAC5C,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC,CAChD,CACJ,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,KAAK,GAAG,KAAK,CAAC,MAAM,CAAC,qBAAqB,EAAE,IAAI,CAAC,CAAC"}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { AcceptPrimaryEmailUpdateCommand, DeleteAlternateContactCommand, DisableRegionCommand, EnableRegionCommand, GetAccountInformationCommand, GetAlternateContactCommand, GetContactInformationCommand, GetGovCloudAccountInformationCommand, GetPrimaryEmailCommand, GetRegionOptStatusCommand, ListRegionsCommand, PutAccountNameCommand, PutAlternateContactCommand, PutContactInformationCommand, StartPrimaryEmailUpdateCommand, } from "@aws-sdk/client-account";
|
|
5
5
|
import { Service } from "@effect-aws/commons";
|
|
6
|
-
import { Effect, Layer } from "effect";
|
|
6
|
+
import { Effect, Layer, ServiceMap } from "effect";
|
|
7
7
|
import * as Instance from "./AccountClientInstance.js";
|
|
8
8
|
import * as AccountServiceConfig from "./AccountServiceConfig.js";
|
|
9
9
|
import { AllServiceErrors } from "./Errors.js";
|
|
@@ -39,7 +39,7 @@ export const makeAccountService = Effect.gen(function* () {
|
|
|
39
39
|
* @since 1.0.0
|
|
40
40
|
* @category models
|
|
41
41
|
*/
|
|
42
|
-
export class AccountService extends
|
|
42
|
+
export class AccountService extends ServiceMap.Service()("@effect-aws/client-account/AccountService") {
|
|
43
43
|
static defaultLayer = Layer.effect(this, makeAccountService).pipe(Layer.provide(Instance.layer));
|
|
44
44
|
static layer = (config) => Layer.effect(this, makeAccountService).pipe(Layer.provide(Instance.layer), Layer.provide(AccountServiceConfig.setAccountServiceConfig(config)));
|
|
45
45
|
static baseLayer = (evaluate) => Layer.effect(this, makeAccountService).pipe(Layer.provide(Layer.effect(Instance.AccountClientInstance, Effect.map(AccountServiceConfig.toAccountClientConfig, evaluate))));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AccountService.js","sourceRoot":"","sources":["../../src/AccountService.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EACL,+BAA+B,EAK/B,6BAA6B,EAG7B,oBAAoB,EAGpB,mBAAmB,EAGnB,4BAA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
import { Effect, Layer, ServiceMap } from "effect";
|
|
3
3
|
import { dual } from "effect/Function";
|
|
4
|
-
import { globalValue } from "effect/GlobalValue";
|
|
5
4
|
/**
|
|
6
5
|
* @since 1.0.0
|
|
7
6
|
* @category account service config
|
|
8
7
|
*/
|
|
9
|
-
const currentAccountServiceConfig =
|
|
8
|
+
const currentAccountServiceConfig = ServiceMap.Reference("@effect-aws/client-account/currentAccountServiceConfig", { defaultValue: () => ({}) });
|
|
10
9
|
/**
|
|
11
10
|
* @since 1.0.0
|
|
12
11
|
* @category account service config
|
|
13
12
|
*/
|
|
14
|
-
export const withAccountServiceConfig = dual(2, (effect, config) => Effect.
|
|
13
|
+
export const withAccountServiceConfig = dual(2, (effect, config) => Effect.provideService(effect, currentAccountServiceConfig, config));
|
|
15
14
|
/**
|
|
16
15
|
* @since 1.0.0
|
|
17
16
|
* @category account service config
|
|
18
17
|
*/
|
|
19
|
-
export const setAccountServiceConfig = (config) => Layer.
|
|
18
|
+
export const setAccountServiceConfig = (config) => Layer.succeed(currentAccountServiceConfig, config);
|
|
20
19
|
/**
|
|
21
20
|
* @since 1.0.0
|
|
22
21
|
* @category adapters
|
|
23
22
|
*/
|
|
24
23
|
export const toAccountClientConfig = Effect.gen(function* () {
|
|
25
|
-
const { logger: serviceLogger, ...config } = yield*
|
|
24
|
+
const { logger: serviceLogger, ...config } = yield* currentAccountServiceConfig;
|
|
26
25
|
const logger = serviceLogger === true
|
|
27
26
|
? yield* ServiceLogger.toClientLogger(ServiceLogger.defaultServiceLogger)
|
|
28
27
|
: (serviceLogger ? yield* ServiceLogger.toClientLogger(ServiceLogger.make(serviceLogger)) : undefined);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AccountServiceConfig.js","sourceRoot":"","sources":["../../src/AccountServiceConfig.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,MAAM,EAAE,
|
|
1
|
+
{"version":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AO,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,CAAC;AAC/B,CAAC,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@effect-aws/client-account",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0-beta.0",
|
|
4
4
|
"description": "Effectful AWS Account client",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -16,40 +16,34 @@
|
|
|
16
16
|
"homepage": "https://floydspace.github.io/effect-aws/docs/client-account",
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@aws-sdk/client-account": "^3",
|
|
19
|
-
"@effect-aws/commons": "^0.
|
|
19
|
+
"@effect-aws/commons": "^1.0.0-beta.0"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
|
-
"effect": ">=
|
|
22
|
+
"effect": ">=4.0.0 <5.0.0"
|
|
23
23
|
},
|
|
24
|
-
"main": "./dist/cjs/index.js",
|
|
25
24
|
"module": "./dist/esm/index.js",
|
|
26
25
|
"types": "./dist/dts/index.d.ts",
|
|
27
26
|
"exports": {
|
|
28
27
|
"./package.json": "./package.json",
|
|
29
28
|
".": {
|
|
30
29
|
"types": "./dist/dts/index.d.ts",
|
|
31
|
-
"import": "./dist/esm/index.js"
|
|
32
|
-
"default": "./dist/cjs/index.js"
|
|
30
|
+
"import": "./dist/esm/index.js"
|
|
33
31
|
},
|
|
34
32
|
"./AccountClientInstance": {
|
|
35
33
|
"types": "./dist/dts/AccountClientInstance.d.ts",
|
|
36
|
-
"import": "./dist/esm/AccountClientInstance.js"
|
|
37
|
-
"default": "./dist/cjs/AccountClientInstance.js"
|
|
34
|
+
"import": "./dist/esm/AccountClientInstance.js"
|
|
38
35
|
},
|
|
39
36
|
"./AccountService": {
|
|
40
37
|
"types": "./dist/dts/AccountService.d.ts",
|
|
41
|
-
"import": "./dist/esm/AccountService.js"
|
|
42
|
-
"default": "./dist/cjs/AccountService.js"
|
|
38
|
+
"import": "./dist/esm/AccountService.js"
|
|
43
39
|
},
|
|
44
40
|
"./AccountServiceConfig": {
|
|
45
41
|
"types": "./dist/dts/AccountServiceConfig.d.ts",
|
|
46
|
-
"import": "./dist/esm/AccountServiceConfig.js"
|
|
47
|
-
"default": "./dist/cjs/AccountServiceConfig.js"
|
|
42
|
+
"import": "./dist/esm/AccountServiceConfig.js"
|
|
48
43
|
},
|
|
49
44
|
"./Errors": {
|
|
50
45
|
"types": "./dist/dts/Errors.d.ts",
|
|
51
|
-
"import": "./dist/esm/Errors.js"
|
|
52
|
-
"default": "./dist/cjs/Errors.js"
|
|
46
|
+
"import": "./dist/esm/Errors.js"
|
|
53
47
|
}
|
|
54
48
|
},
|
|
55
49
|
"typesVersions": {
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*/
|
|
4
4
|
import { AccountClient } from "@aws-sdk/client-account";
|
|
5
|
-
import {
|
|
5
|
+
import { Effect, Layer, ServiceMap } from "effect";
|
|
6
6
|
import * as AccountServiceConfig from "./AccountServiceConfig.js";
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* @since 1.0.0
|
|
10
10
|
* @category tags
|
|
11
11
|
*/
|
|
12
|
-
export class AccountClientInstance extends
|
|
12
|
+
export class AccountClientInstance extends ServiceMap.Service<AccountClientInstance, AccountClient>()(
|
|
13
13
|
"@effect-aws/client-account/AccountClientInstance",
|
|
14
|
-
)
|
|
14
|
+
) {}
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
17
|
* @since 1.0.0
|
|
@@ -30,4 +30,4 @@ export const make = Effect.flatMap(
|
|
|
30
30
|
* @since 1.0.0
|
|
31
31
|
* @category layers
|
|
32
32
|
*/
|
|
33
|
-
export const layer = Layer.
|
|
33
|
+
export const layer = Layer.effect(AccountClientInstance, make);
|
package/src/AccountService.ts
CHANGED
|
@@ -53,7 +53,7 @@ import {
|
|
|
53
53
|
import type { HttpHandlerOptions, ServiceLogger } from "@effect-aws/commons";
|
|
54
54
|
import { Service } from "@effect-aws/commons";
|
|
55
55
|
import type { Cause } from "effect";
|
|
56
|
-
import { Effect, Layer } from "effect";
|
|
56
|
+
import { Effect, Layer, ServiceMap } from "effect";
|
|
57
57
|
import * as Instance from "./AccountClientInstance.js";
|
|
58
58
|
import * as AccountServiceConfig from "./AccountServiceConfig.js";
|
|
59
59
|
import type {
|
|
@@ -97,7 +97,7 @@ interface AccountService$ {
|
|
|
97
97
|
options?: HttpHandlerOptions,
|
|
98
98
|
): Effect.Effect<
|
|
99
99
|
AcceptPrimaryEmailUpdateCommandOutput,
|
|
100
|
-
| Cause.
|
|
100
|
+
| Cause.TimeoutError
|
|
101
101
|
| SdkError
|
|
102
102
|
| AccessDeniedError
|
|
103
103
|
| ConflictError
|
|
@@ -115,7 +115,7 @@ interface AccountService$ {
|
|
|
115
115
|
options?: HttpHandlerOptions,
|
|
116
116
|
): Effect.Effect<
|
|
117
117
|
DeleteAlternateContactCommandOutput,
|
|
118
|
-
| Cause.
|
|
118
|
+
| Cause.TimeoutError
|
|
119
119
|
| SdkError
|
|
120
120
|
| AccessDeniedError
|
|
121
121
|
| InternalServerError
|
|
@@ -132,7 +132,7 @@ interface AccountService$ {
|
|
|
132
132
|
options?: HttpHandlerOptions,
|
|
133
133
|
): Effect.Effect<
|
|
134
134
|
DisableRegionCommandOutput,
|
|
135
|
-
| Cause.
|
|
135
|
+
| Cause.TimeoutError
|
|
136
136
|
| SdkError
|
|
137
137
|
| AccessDeniedError
|
|
138
138
|
| ConflictError
|
|
@@ -149,7 +149,7 @@ interface AccountService$ {
|
|
|
149
149
|
options?: HttpHandlerOptions,
|
|
150
150
|
): Effect.Effect<
|
|
151
151
|
EnableRegionCommandOutput,
|
|
152
|
-
| Cause.
|
|
152
|
+
| Cause.TimeoutError
|
|
153
153
|
| SdkError
|
|
154
154
|
| AccessDeniedError
|
|
155
155
|
| ConflictError
|
|
@@ -166,7 +166,7 @@ interface AccountService$ {
|
|
|
166
166
|
options?: HttpHandlerOptions,
|
|
167
167
|
): Effect.Effect<
|
|
168
168
|
GetAccountInformationCommandOutput,
|
|
169
|
-
Cause.
|
|
169
|
+
Cause.TimeoutError | SdkError | AccessDeniedError | InternalServerError | TooManyRequestsError | ValidationError
|
|
170
170
|
>;
|
|
171
171
|
|
|
172
172
|
/**
|
|
@@ -177,7 +177,7 @@ interface AccountService$ {
|
|
|
177
177
|
options?: HttpHandlerOptions,
|
|
178
178
|
): Effect.Effect<
|
|
179
179
|
GetAlternateContactCommandOutput,
|
|
180
|
-
| Cause.
|
|
180
|
+
| Cause.TimeoutError
|
|
181
181
|
| SdkError
|
|
182
182
|
| AccessDeniedError
|
|
183
183
|
| InternalServerError
|
|
@@ -194,7 +194,7 @@ interface AccountService$ {
|
|
|
194
194
|
options?: HttpHandlerOptions,
|
|
195
195
|
): Effect.Effect<
|
|
196
196
|
GetContactInformationCommandOutput,
|
|
197
|
-
| Cause.
|
|
197
|
+
| Cause.TimeoutError
|
|
198
198
|
| SdkError
|
|
199
199
|
| AccessDeniedError
|
|
200
200
|
| InternalServerError
|
|
@@ -211,7 +211,7 @@ interface AccountService$ {
|
|
|
211
211
|
options?: HttpHandlerOptions,
|
|
212
212
|
): Effect.Effect<
|
|
213
213
|
GetGovCloudAccountInformationCommandOutput,
|
|
214
|
-
| Cause.
|
|
214
|
+
| Cause.TimeoutError
|
|
215
215
|
| SdkError
|
|
216
216
|
| AccessDeniedError
|
|
217
217
|
| InternalServerError
|
|
@@ -229,7 +229,7 @@ interface AccountService$ {
|
|
|
229
229
|
options?: HttpHandlerOptions,
|
|
230
230
|
): Effect.Effect<
|
|
231
231
|
GetPrimaryEmailCommandOutput,
|
|
232
|
-
| Cause.
|
|
232
|
+
| Cause.TimeoutError
|
|
233
233
|
| SdkError
|
|
234
234
|
| AccessDeniedError
|
|
235
235
|
| InternalServerError
|
|
@@ -246,7 +246,7 @@ interface AccountService$ {
|
|
|
246
246
|
options?: HttpHandlerOptions,
|
|
247
247
|
): Effect.Effect<
|
|
248
248
|
GetRegionOptStatusCommandOutput,
|
|
249
|
-
Cause.
|
|
249
|
+
Cause.TimeoutError | SdkError | AccessDeniedError | InternalServerError | TooManyRequestsError | ValidationError
|
|
250
250
|
>;
|
|
251
251
|
|
|
252
252
|
/**
|
|
@@ -257,7 +257,7 @@ interface AccountService$ {
|
|
|
257
257
|
options?: HttpHandlerOptions,
|
|
258
258
|
): Effect.Effect<
|
|
259
259
|
ListRegionsCommandOutput,
|
|
260
|
-
Cause.
|
|
260
|
+
Cause.TimeoutError | SdkError | AccessDeniedError | InternalServerError | TooManyRequestsError | ValidationError
|
|
261
261
|
>;
|
|
262
262
|
|
|
263
263
|
/**
|
|
@@ -268,7 +268,7 @@ interface AccountService$ {
|
|
|
268
268
|
options?: HttpHandlerOptions,
|
|
269
269
|
): Effect.Effect<
|
|
270
270
|
PutAccountNameCommandOutput,
|
|
271
|
-
Cause.
|
|
271
|
+
Cause.TimeoutError | SdkError | AccessDeniedError | InternalServerError | TooManyRequestsError | ValidationError
|
|
272
272
|
>;
|
|
273
273
|
|
|
274
274
|
/**
|
|
@@ -279,7 +279,7 @@ interface AccountService$ {
|
|
|
279
279
|
options?: HttpHandlerOptions,
|
|
280
280
|
): Effect.Effect<
|
|
281
281
|
PutAlternateContactCommandOutput,
|
|
282
|
-
Cause.
|
|
282
|
+
Cause.TimeoutError | SdkError | AccessDeniedError | InternalServerError | TooManyRequestsError | ValidationError
|
|
283
283
|
>;
|
|
284
284
|
|
|
285
285
|
/**
|
|
@@ -290,7 +290,7 @@ interface AccountService$ {
|
|
|
290
290
|
options?: HttpHandlerOptions,
|
|
291
291
|
): Effect.Effect<
|
|
292
292
|
PutContactInformationCommandOutput,
|
|
293
|
-
Cause.
|
|
293
|
+
Cause.TimeoutError | SdkError | AccessDeniedError | InternalServerError | TooManyRequestsError | ValidationError
|
|
294
294
|
>;
|
|
295
295
|
|
|
296
296
|
/**
|
|
@@ -301,7 +301,7 @@ interface AccountService$ {
|
|
|
301
301
|
options?: HttpHandlerOptions,
|
|
302
302
|
): Effect.Effect<
|
|
303
303
|
StartPrimaryEmailUpdateCommandOutput,
|
|
304
|
-
| Cause.
|
|
304
|
+
| Cause.TimeoutError
|
|
305
305
|
| SdkError
|
|
306
306
|
| AccessDeniedError
|
|
307
307
|
| ConflictError
|
|
@@ -333,10 +333,10 @@ export const makeAccountService = Effect.gen(function*() {
|
|
|
333
333
|
* @since 1.0.0
|
|
334
334
|
* @category models
|
|
335
335
|
*/
|
|
336
|
-
export class AccountService extends
|
|
336
|
+
export class AccountService extends ServiceMap.Service<
|
|
337
337
|
AccountService,
|
|
338
338
|
AccountService$
|
|
339
|
-
>() {
|
|
339
|
+
>()("@effect-aws/client-account/AccountService") {
|
|
340
340
|
static readonly defaultLayer = Layer.effect(this, makeAccountService).pipe(Layer.provide(Instance.layer));
|
|
341
341
|
static readonly layer = (config: AccountService.Config) =>
|
|
342
342
|
Layer.effect(this, makeAccountService).pipe(
|
|
@@ -3,18 +3,17 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import type { AccountClientConfig } from "@aws-sdk/client-account";
|
|
5
5
|
import { ServiceLogger } from "@effect-aws/commons";
|
|
6
|
-
import { Effect,
|
|
6
|
+
import { Effect, Layer, ServiceMap } from "effect";
|
|
7
7
|
import { dual } from "effect/Function";
|
|
8
|
-
import { globalValue } from "effect/GlobalValue";
|
|
9
8
|
import type { AccountService } from "./AccountService.js";
|
|
10
9
|
|
|
11
10
|
/**
|
|
12
11
|
* @since 1.0.0
|
|
13
12
|
* @category account service config
|
|
14
13
|
*/
|
|
15
|
-
const currentAccountServiceConfig =
|
|
14
|
+
const currentAccountServiceConfig = ServiceMap.Reference<AccountService.Config>(
|
|
16
15
|
"@effect-aws/client-account/currentAccountServiceConfig",
|
|
17
|
-
() =>
|
|
16
|
+
{ defaultValue: () => ({}) },
|
|
18
17
|
);
|
|
19
18
|
|
|
20
19
|
/**
|
|
@@ -27,7 +26,7 @@ export const withAccountServiceConfig: {
|
|
|
27
26
|
} = dual(
|
|
28
27
|
2,
|
|
29
28
|
<A, E, R>(effect: Effect.Effect<A, E, R>, config: AccountService.Config): Effect.Effect<A, E, R> =>
|
|
30
|
-
Effect.
|
|
29
|
+
Effect.provideService(effect, currentAccountServiceConfig, config),
|
|
31
30
|
);
|
|
32
31
|
|
|
33
32
|
/**
|
|
@@ -35,14 +34,14 @@ export const withAccountServiceConfig: {
|
|
|
35
34
|
* @category account service config
|
|
36
35
|
*/
|
|
37
36
|
export const setAccountServiceConfig = (config: AccountService.Config) =>
|
|
38
|
-
Layer.
|
|
37
|
+
Layer.succeed(currentAccountServiceConfig, config);
|
|
39
38
|
|
|
40
39
|
/**
|
|
41
40
|
* @since 1.0.0
|
|
42
41
|
* @category adapters
|
|
43
42
|
*/
|
|
44
43
|
export const toAccountClientConfig: Effect.Effect<AccountClientConfig> = Effect.gen(function*() {
|
|
45
|
-
const { logger: serviceLogger, ...config } = yield*
|
|
44
|
+
const { logger: serviceLogger, ...config } = yield* currentAccountServiceConfig;
|
|
46
45
|
|
|
47
46
|
const logger = serviceLogger === true
|
|
48
47
|
? yield* ServiceLogger.toClientLogger(ServiceLogger.defaultServiceLogger)
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @since 1.0.0
|
|
3
|
-
*/
|
|
4
|
-
import { AccountClient } from "@aws-sdk/client-account";
|
|
5
|
-
import { Context, Effect, Layer } from "effect";
|
|
6
|
-
declare const AccountClientInstance_base: Context.TagClass<AccountClientInstance, "@effect-aws/client-account/AccountClientInstance", AccountClient>;
|
|
7
|
-
/**
|
|
8
|
-
* @since 1.0.0
|
|
9
|
-
* @category tags
|
|
10
|
-
*/
|
|
11
|
-
export declare class AccountClientInstance extends AccountClientInstance_base {
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* @since 1.0.0
|
|
15
|
-
* @category constructors
|
|
16
|
-
*/
|
|
17
|
-
export declare const make: Effect.Effect<AccountClient, never, import("effect/Scope").Scope>;
|
|
18
|
-
/**
|
|
19
|
-
* @since 1.0.0
|
|
20
|
-
* @category layers
|
|
21
|
-
*/
|
|
22
|
-
export declare const layer: Layer.Layer<AccountClientInstance, never, never>;
|
|
23
|
-
export {};
|
|
24
|
-
//# sourceMappingURL=AccountClientInstance.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AccountClientInstance.d.ts","sourceRoot":"","sources":["../../src/AccountClientInstance.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;;AAGhD;;;GAGG;AACH,qBAAa,qBAAsB,SAAQ,0BAEF;CAAG;AAE5C;;;GAGG;AACH,eAAO,MAAM,IAAI,mEAOhB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,KAAK,kDAA4C,CAAC"}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.layer = exports.make = exports.AccountClientInstance = void 0;
|
|
27
|
-
/**
|
|
28
|
-
* @since 1.0.0
|
|
29
|
-
*/
|
|
30
|
-
const client_account_1 = require("@aws-sdk/client-account");
|
|
31
|
-
const effect_1 = require("effect");
|
|
32
|
-
const AccountServiceConfig = __importStar(require("./AccountServiceConfig.js"));
|
|
33
|
-
/**
|
|
34
|
-
* @since 1.0.0
|
|
35
|
-
* @category tags
|
|
36
|
-
*/
|
|
37
|
-
class AccountClientInstance extends effect_1.Context.Tag("@effect-aws/client-account/AccountClientInstance")() {
|
|
38
|
-
}
|
|
39
|
-
exports.AccountClientInstance = AccountClientInstance;
|
|
40
|
-
/**
|
|
41
|
-
* @since 1.0.0
|
|
42
|
-
* @category constructors
|
|
43
|
-
*/
|
|
44
|
-
exports.make = effect_1.Effect.flatMap(AccountServiceConfig.toAccountClientConfig, (config) => effect_1.Effect.acquireRelease(effect_1.Effect.sync(() => new client_account_1.AccountClient(config)), (client) => effect_1.Effect.sync(() => client.destroy())));
|
|
45
|
-
/**
|
|
46
|
-
* @since 1.0.0
|
|
47
|
-
* @category layers
|
|
48
|
-
*/
|
|
49
|
-
exports.layer = effect_1.Layer.scoped(AccountClientInstance, exports.make);
|
|
50
|
-
//# sourceMappingURL=AccountClientInstance.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AccountClientInstance.js","sourceRoot":"","sources":["../../src/AccountClientInstance.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,4DAAwD;AACxD,mCAAgD;AAChD,gFAAkE;AAElE;;;GAGG;AACH,MAAa,qBAAsB,SAAQ,gBAAO,CAAC,GAAG,CACpD,kDAAkD,CACnD,EAAwC;CAAG;AAF5C,sDAE4C;AAE5C;;;GAGG;AACU,QAAA,IAAI,GAAG,eAAM,CAAC,OAAO,CAChC,oBAAoB,CAAC,qBAAqB,EAC1C,CAAC,MAAM,EAAE,EAAE,CACT,eAAM,CAAC,cAAc,CACnB,eAAM,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,IAAI,8BAAa,CAAC,MAAM,CAAC,CAAC,EAC5C,CAAC,MAAM,EAAE,EAAE,CAAC,eAAM,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC,CAChD,CACJ,CAAC;AAEF;;;GAGG;AACU,QAAA,KAAK,GAAG,cAAK,CAAC,MAAM,CAAC,qBAAqB,EAAE,YAAI,CAAC,CAAC"}
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @since 1.0.0
|
|
3
|
-
*/
|
|
4
|
-
import { type AcceptPrimaryEmailUpdateCommandInput, type AcceptPrimaryEmailUpdateCommandOutput, type AccountClient, type AccountClientConfig, type DeleteAlternateContactCommandInput, type DeleteAlternateContactCommandOutput, type DisableRegionCommandInput, type DisableRegionCommandOutput, type EnableRegionCommandInput, type EnableRegionCommandOutput, type GetAccountInformationCommandInput, type GetAccountInformationCommandOutput, type GetAlternateContactCommandInput, type GetAlternateContactCommandOutput, type GetContactInformationCommandInput, type GetContactInformationCommandOutput, type GetGovCloudAccountInformationCommandInput, type GetGovCloudAccountInformationCommandOutput, type GetPrimaryEmailCommandInput, type GetPrimaryEmailCommandOutput, type GetRegionOptStatusCommandInput, type GetRegionOptStatusCommandOutput, type ListRegionsCommandInput, type ListRegionsCommandOutput, type PutAccountNameCommandInput, type PutAccountNameCommandOutput, type PutAlternateContactCommandInput, type PutAlternateContactCommandOutput, type PutContactInformationCommandInput, type PutContactInformationCommandOutput, type StartPrimaryEmailUpdateCommandInput, type StartPrimaryEmailUpdateCommandOutput } from "@aws-sdk/client-account";
|
|
5
|
-
import type { HttpHandlerOptions, ServiceLogger } from "@effect-aws/commons";
|
|
6
|
-
import type { Cause } from "effect";
|
|
7
|
-
import { Effect, Layer } from "effect";
|
|
8
|
-
import * as Instance from "./AccountClientInstance.js";
|
|
9
|
-
import type { AccessDeniedError, ConflictError, InternalServerError, ResourceNotFoundError, ResourceUnavailableError, SdkError, TooManyRequestsError, ValidationError } from "./Errors.js";
|
|
10
|
-
interface AccountService$ {
|
|
11
|
-
readonly _: unique symbol;
|
|
12
|
-
/**
|
|
13
|
-
* @see {@link AcceptPrimaryEmailUpdateCommand}
|
|
14
|
-
*/
|
|
15
|
-
acceptPrimaryEmailUpdate(args: AcceptPrimaryEmailUpdateCommandInput, options?: HttpHandlerOptions): Effect.Effect<AcceptPrimaryEmailUpdateCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | TooManyRequestsError | ValidationError>;
|
|
16
|
-
/**
|
|
17
|
-
* @see {@link DeleteAlternateContactCommand}
|
|
18
|
-
*/
|
|
19
|
-
deleteAlternateContact(args: DeleteAlternateContactCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteAlternateContactCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | TooManyRequestsError | ValidationError>;
|
|
20
|
-
/**
|
|
21
|
-
* @see {@link DisableRegionCommand}
|
|
22
|
-
*/
|
|
23
|
-
disableRegion(args: DisableRegionCommandInput, options?: HttpHandlerOptions): Effect.Effect<DisableRegionCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | ConflictError | InternalServerError | TooManyRequestsError | ValidationError>;
|
|
24
|
-
/**
|
|
25
|
-
* @see {@link EnableRegionCommand}
|
|
26
|
-
*/
|
|
27
|
-
enableRegion(args: EnableRegionCommandInput, options?: HttpHandlerOptions): Effect.Effect<EnableRegionCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | ConflictError | InternalServerError | TooManyRequestsError | ValidationError>;
|
|
28
|
-
/**
|
|
29
|
-
* @see {@link GetAccountInformationCommand}
|
|
30
|
-
*/
|
|
31
|
-
getAccountInformation(args: GetAccountInformationCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetAccountInformationCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | TooManyRequestsError | ValidationError>;
|
|
32
|
-
/**
|
|
33
|
-
* @see {@link GetAlternateContactCommand}
|
|
34
|
-
*/
|
|
35
|
-
getAlternateContact(args: GetAlternateContactCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetAlternateContactCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | TooManyRequestsError | ValidationError>;
|
|
36
|
-
/**
|
|
37
|
-
* @see {@link GetContactInformationCommand}
|
|
38
|
-
*/
|
|
39
|
-
getContactInformation(args: GetContactInformationCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetContactInformationCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | TooManyRequestsError | ValidationError>;
|
|
40
|
-
/**
|
|
41
|
-
* @see {@link GetGovCloudAccountInformationCommand}
|
|
42
|
-
*/
|
|
43
|
-
getGovCloudAccountInformation(args: GetGovCloudAccountInformationCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetGovCloudAccountInformationCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | ResourceUnavailableError | TooManyRequestsError | ValidationError>;
|
|
44
|
-
/**
|
|
45
|
-
* @see {@link GetPrimaryEmailCommand}
|
|
46
|
-
*/
|
|
47
|
-
getPrimaryEmail(args: GetPrimaryEmailCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetPrimaryEmailCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ResourceNotFoundError | TooManyRequestsError | ValidationError>;
|
|
48
|
-
/**
|
|
49
|
-
* @see {@link GetRegionOptStatusCommand}
|
|
50
|
-
*/
|
|
51
|
-
getRegionOptStatus(args: GetRegionOptStatusCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetRegionOptStatusCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | TooManyRequestsError | ValidationError>;
|
|
52
|
-
/**
|
|
53
|
-
* @see {@link ListRegionsCommand}
|
|
54
|
-
*/
|
|
55
|
-
listRegions(args: ListRegionsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListRegionsCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | TooManyRequestsError | ValidationError>;
|
|
56
|
-
/**
|
|
57
|
-
* @see {@link PutAccountNameCommand}
|
|
58
|
-
*/
|
|
59
|
-
putAccountName(args: PutAccountNameCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutAccountNameCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | TooManyRequestsError | ValidationError>;
|
|
60
|
-
/**
|
|
61
|
-
* @see {@link PutAlternateContactCommand}
|
|
62
|
-
*/
|
|
63
|
-
putAlternateContact(args: PutAlternateContactCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutAlternateContactCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | TooManyRequestsError | ValidationError>;
|
|
64
|
-
/**
|
|
65
|
-
* @see {@link PutContactInformationCommand}
|
|
66
|
-
*/
|
|
67
|
-
putContactInformation(args: PutContactInformationCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutContactInformationCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | TooManyRequestsError | ValidationError>;
|
|
68
|
-
/**
|
|
69
|
-
* @see {@link StartPrimaryEmailUpdateCommand}
|
|
70
|
-
*/
|
|
71
|
-
startPrimaryEmailUpdate(args: StartPrimaryEmailUpdateCommandInput, options?: HttpHandlerOptions): Effect.Effect<StartPrimaryEmailUpdateCommandOutput, Cause.TimeoutException | SdkError | AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | TooManyRequestsError | ValidationError>;
|
|
72
|
-
}
|
|
73
|
-
/**
|
|
74
|
-
* @since 1.0.0
|
|
75
|
-
* @category constructors
|
|
76
|
-
*/
|
|
77
|
-
export declare const makeAccountService: Effect.Effect<AccountService$, never, Instance.AccountClientInstance>;
|
|
78
|
-
declare const AccountService_base: import("effect/Context").TagClass<AccountService, "@effect-aws/client-account/AccountService", AccountService$> & Effect.Tag.Proxy<AccountService, AccountService$> & {
|
|
79
|
-
use: <X>(body: (_: AccountService$) => X) => [X] extends [Effect.Effect<infer A, infer E, infer R>] ? Effect.Effect<A, E, AccountService | R> : [X] extends [PromiseLike<infer A_1>] ? Effect.Effect<A_1, Cause.UnknownException, AccountService> : Effect.Effect<X, never, AccountService>;
|
|
80
|
-
};
|
|
81
|
-
/**
|
|
82
|
-
* @since 1.0.0
|
|
83
|
-
* @category models
|
|
84
|
-
*/
|
|
85
|
-
export declare class AccountService extends AccountService_base {
|
|
86
|
-
static readonly defaultLayer: Layer.Layer<AccountService, never, never>;
|
|
87
|
-
static readonly layer: (config: AccountService.Config) => Layer.Layer<AccountService, never, never>;
|
|
88
|
-
static readonly baseLayer: (evaluate: (defaultConfig: AccountClientConfig) => AccountClient) => Layer.Layer<AccountService, never, never>;
|
|
89
|
-
}
|
|
90
|
-
/**
|
|
91
|
-
* @since 1.0.0
|
|
92
|
-
*/
|
|
93
|
-
export declare namespace AccountService {
|
|
94
|
-
/**
|
|
95
|
-
* @since 1.0.0
|
|
96
|
-
*/
|
|
97
|
-
interface Config extends Omit<AccountClientConfig, "logger"> {
|
|
98
|
-
readonly logger?: ServiceLogger.ServiceLoggerConstructorProps | true;
|
|
99
|
-
}
|
|
100
|
-
/**
|
|
101
|
-
* @since 1.0.0
|
|
102
|
-
*/
|
|
103
|
-
type Type = AccountService$;
|
|
104
|
-
}
|
|
105
|
-
export {};
|
|
106
|
-
//# sourceMappingURL=AccountService.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AccountService.d.ts","sourceRoot":"","sources":["../../src/AccountService.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAEL,KAAK,oCAAoC,EACzC,KAAK,qCAAqC,EAC1C,KAAK,aAAa,EAClB,KAAK,mBAAmB,EAExB,KAAK,kCAAkC,EACvC,KAAK,mCAAmC,EAExC,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAE/B,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAE9B,KAAK,iCAAiC,EACtC,KAAK,kCAAkC,EAEvC,KAAK,+BAA+B,EACpC,KAAK,gCAAgC,EAErC,KAAK,iCAAiC,EACtC,KAAK,kCAAkC,EAEvC,KAAK,yCAAyC,EAC9C,KAAK,0CAA0C,EAE/C,KAAK,2BAA2B,EAChC,KAAK,4BAA4B,EAEjC,KAAK,8BAA8B,EACnC,KAAK,+BAA+B,EAEpC,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAE7B,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,EAEhC,KAAK,+BAA+B,EACpC,KAAK,gCAAgC,EAErC,KAAK,iCAAiC,EACtC,KAAK,kCAAkC,EAEvC,KAAK,mCAAmC,EACxC,KAAK,oCAAoC,EAC1C,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAE7E,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AACpC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AACvC,OAAO,KAAK,QAAQ,MAAM,4BAA4B,CAAC;AAEvD,OAAO,KAAK,EACV,iBAAiB,EACjB,aAAa,EACb,mBAAmB,EACnB,qBAAqB,EACrB,wBAAwB,EACxB,QAAQ,EACR,oBAAoB,EACpB,eA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AClB,CAAC;CACH;AAED;;;GAGG;AACH,eAAO,MAAM,kBAAkB,uEAW7B,CAAC;;;;AAEH;;;GAGG;AACH,qBAAa,cAAe,SAAQ,mBAGjC;IACD,MAAM,CAAC,QAAQ,CAAC,YAAY,4CAA8E;IAC1G,MAAM,CAAC,QAAQ,CAAC,KAAK,WAAY,eAAe,MAAM,+CAIlD;IACJ,MAAM,CAAC,QAAQ,CAAC,SAAS,aACb,CAAC,aAAa,EAAE,mBAAmB,KAAK,aAAa,+CAS7D;CACL;AAED;;GAEG;AACH,MAAM,CAAC,OAAO,WAAW,cAAc,CAAC;IACtC;;OAEG;IACH,UAAiB,MAAO,SAAQ,IAAI,CAAC,mBAAmB,EAAE,QAAQ,CAAC;QACjE,QAAQ,CAAC,MAAM,CAAC,EAAE,aAAa,CAAC,6BAA6B,GAAG,IAAI,CAAC;KACtE;IAED;;OAEG;IACH,KAAY,IAAI,GAAG,eAAe,CAAC;CACpC"}
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.AccountService = exports.makeAccountService = void 0;
|
|
27
|
-
/**
|
|
28
|
-
* @since 1.0.0
|
|
29
|
-
*/
|
|
30
|
-
const client_account_1 = require("@aws-sdk/client-account");
|
|
31
|
-
const commons_1 = require("@effect-aws/commons");
|
|
32
|
-
const effect_1 = require("effect");
|
|
33
|
-
const Instance = __importStar(require("./AccountClientInstance.js"));
|
|
34
|
-
const AccountServiceConfig = __importStar(require("./AccountServiceConfig.js"));
|
|
35
|
-
const Errors_js_1 = require("./Errors.js");
|
|
36
|
-
const commands = {
|
|
37
|
-
AcceptPrimaryEmailUpdateCommand: client_account_1.AcceptPrimaryEmailUpdateCommand,
|
|
38
|
-
DeleteAlternateContactCommand: client_account_1.DeleteAlternateContactCommand,
|
|
39
|
-
DisableRegionCommand: client_account_1.DisableRegionCommand,
|
|
40
|
-
EnableRegionCommand: client_account_1.EnableRegionCommand,
|
|
41
|
-
GetAccountInformationCommand: client_account_1.GetAccountInformationCommand,
|
|
42
|
-
GetAlternateContactCommand: client_account_1.GetAlternateContactCommand,
|
|
43
|
-
GetContactInformationCommand: client_account_1.GetContactInformationCommand,
|
|
44
|
-
GetGovCloudAccountInformationCommand: client_account_1.GetGovCloudAccountInformationCommand,
|
|
45
|
-
GetPrimaryEmailCommand: client_account_1.GetPrimaryEmailCommand,
|
|
46
|
-
GetRegionOptStatusCommand: client_account_1.GetRegionOptStatusCommand,
|
|
47
|
-
ListRegionsCommand: client_account_1.ListRegionsCommand,
|
|
48
|
-
PutAccountNameCommand: client_account_1.PutAccountNameCommand,
|
|
49
|
-
PutAlternateContactCommand: client_account_1.PutAlternateContactCommand,
|
|
50
|
-
PutContactInformationCommand: client_account_1.PutContactInformationCommand,
|
|
51
|
-
StartPrimaryEmailUpdateCommand: client_account_1.StartPrimaryEmailUpdateCommand,
|
|
52
|
-
};
|
|
53
|
-
/**
|
|
54
|
-
* @since 1.0.0
|
|
55
|
-
* @category constructors
|
|
56
|
-
*/
|
|
57
|
-
exports.makeAccountService = effect_1.Effect.gen(function* () {
|
|
58
|
-
const client = yield* Instance.AccountClientInstance;
|
|
59
|
-
return yield* commons_1.Service.fromClientAndCommands(client, commands, {
|
|
60
|
-
errorTags: Errors_js_1.AllServiceErrors,
|
|
61
|
-
resolveClientConfig: AccountServiceConfig.toAccountClientConfig,
|
|
62
|
-
});
|
|
63
|
-
});
|
|
64
|
-
/**
|
|
65
|
-
* @since 1.0.0
|
|
66
|
-
* @category models
|
|
67
|
-
*/
|
|
68
|
-
class AccountService extends effect_1.Effect.Tag("@effect-aws/client-account/AccountService")() {
|
|
69
|
-
static defaultLayer = effect_1.Layer.effect(this, exports.makeAccountService).pipe(effect_1.Layer.provide(Instance.layer));
|
|
70
|
-
static layer = (config) => effect_1.Layer.effect(this, exports.makeAccountService).pipe(effect_1.Layer.provide(Instance.layer), effect_1.Layer.provide(AccountServiceConfig.setAccountServiceConfig(config)));
|
|
71
|
-
static baseLayer = (evaluate) => effect_1.Layer.effect(this, exports.makeAccountService).pipe(effect_1.Layer.provide(effect_1.Layer.effect(Instance.AccountClientInstance, effect_1.Effect.map(AccountServiceConfig.toAccountClientConfig, evaluate))));
|
|
72
|
-
}
|
|
73
|
-
exports.AccountService = AccountService;
|
|
74
|
-
//# sourceMappingURL=AccountService.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AccountService.js","sourceRoot":"","sources":["../../src/AccountService.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,4DAgDiC;AAEjC,iDAA8C;AAE9C,mCAAu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AAC,CAAC,IAAI,CACzC,cAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,EAC7B,cAAK,CAAC,OAAO,CAAC,oBAAoB,CAAC,uBAAuB,CAAC,MAAM,CAAC,CAAC,CACpE,CAAC;IACJ,MAAM,CAAU,SAAS,GAAG,CAC1B,QAA+D,EAC/D,EAAE,CACF,cAAK,CAAC,MAAM,CAAC,IAAI,EAAE,0BAAkB,CAAC,CAAC,IAAI,CACzC,cAAK,CAAC,OAAO,CACX,cAAK,CAAC,MAAM,CACV,QAAQ,CAAC,qBAAqB,EAC9B,eAAM,CAAC,GAAG,CAAC,oBAAoB,CAAC,qBAAqB,EAAE,QAAQ,CAAC,CACjE,CACF,CACF,CAAC;;AApBN,wCAqBC"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @since 1.0.0
|
|
3
|
-
*/
|
|
4
|
-
import type { AccountClientConfig } from "@aws-sdk/client-account";
|
|
5
|
-
import { Effect, Layer } from "effect";
|
|
6
|
-
import type { AccountService } from "./AccountService.js";
|
|
7
|
-
/**
|
|
8
|
-
* @since 1.0.0
|
|
9
|
-
* @category account service config
|
|
10
|
-
*/
|
|
11
|
-
export declare const withAccountServiceConfig: {
|
|
12
|
-
(config: AccountService.Config): <A, E, R>(effect: Effect.Effect<A, E, R>) => Effect.Effect<A, E, R>;
|
|
13
|
-
<A, E, R>(effect: Effect.Effect<A, E, R>, config: AccountService.Config): Effect.Effect<A, E, R>;
|
|
14
|
-
};
|
|
15
|
-
/**
|
|
16
|
-
* @since 1.0.0
|
|
17
|
-
* @category account service config
|
|
18
|
-
*/
|
|
19
|
-
export declare const setAccountServiceConfig: (config: AccountService.Config) => Layer.Layer<never, never, never>;
|
|
20
|
-
/**
|
|
21
|
-
* @since 1.0.0
|
|
22
|
-
* @category adapters
|
|
23
|
-
*/
|
|
24
|
-
export declare const toAccountClientConfig: Effect.Effect<AccountClientConfig>;
|
|
25
|
-
//# sourceMappingURL=AccountServiceConfig.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AccountServiceConfig.d.ts","sourceRoot":"","sources":["../../src/AccountServiceConfig.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAEnE,OAAO,EAAE,MAAM,EAAY,KAAK,EAAE,MAAM,QAAQ,CAAC;AAGjD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAW1D;;;GAGG;AACH,eAAO,MAAM,wBAAwB,EAAE;IACrC,CAAC,MAAM,EAAE,cAAc,CAAC,MAAM,GAAG,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,KAAK,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;IACrG,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,cAAc,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;CAKlG,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,uBAAuB,WAAY,eAAe,MAAM,qCACX,CAAC;AAE3D;;;GAGG;AACH,eAAO,MAAM,qBAAqB,EAAE,MAAM,CAAC,MAAM,CAAC,mBAAmB,CAQnE,CAAC"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.toAccountClientConfig = exports.setAccountServiceConfig = exports.withAccountServiceConfig = void 0;
|
|
4
|
-
const commons_1 = require("@effect-aws/commons");
|
|
5
|
-
const effect_1 = require("effect");
|
|
6
|
-
const Function_1 = require("effect/Function");
|
|
7
|
-
const GlobalValue_1 = require("effect/GlobalValue");
|
|
8
|
-
/**
|
|
9
|
-
* @since 1.0.0
|
|
10
|
-
* @category account service config
|
|
11
|
-
*/
|
|
12
|
-
const currentAccountServiceConfig = (0, GlobalValue_1.globalValue)("@effect-aws/client-account/currentAccountServiceConfig", () => effect_1.FiberRef.unsafeMake({}));
|
|
13
|
-
/**
|
|
14
|
-
* @since 1.0.0
|
|
15
|
-
* @category account service config
|
|
16
|
-
*/
|
|
17
|
-
exports.withAccountServiceConfig = (0, Function_1.dual)(2, (effect, config) => effect_1.Effect.locally(effect, currentAccountServiceConfig, config));
|
|
18
|
-
/**
|
|
19
|
-
* @since 1.0.0
|
|
20
|
-
* @category account service config
|
|
21
|
-
*/
|
|
22
|
-
const setAccountServiceConfig = (config) => effect_1.Layer.locallyScoped(currentAccountServiceConfig, config);
|
|
23
|
-
exports.setAccountServiceConfig = setAccountServiceConfig;
|
|
24
|
-
/**
|
|
25
|
-
* @since 1.0.0
|
|
26
|
-
* @category adapters
|
|
27
|
-
*/
|
|
28
|
-
exports.toAccountClientConfig = effect_1.Effect.gen(function* () {
|
|
29
|
-
const { logger: serviceLogger, ...config } = yield* effect_1.FiberRef.get(currentAccountServiceConfig);
|
|
30
|
-
const logger = serviceLogger === true
|
|
31
|
-
? yield* commons_1.ServiceLogger.toClientLogger(commons_1.ServiceLogger.defaultServiceLogger)
|
|
32
|
-
: (serviceLogger ? yield* commons_1.ServiceLogger.toClientLogger(commons_1.ServiceLogger.make(serviceLogger)) : undefined);
|
|
33
|
-
return { logger, ...config };
|
|
34
|
-
});
|
|
35
|
-
//# sourceMappingURL=AccountServiceConfig.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AccountServiceConfig.js","sourceRoot":"","sources":["../../src/AccountServiceConfig.ts"],"names":[],"mappings":";;;AAIA,iDAAoD;AACpD,mCAAiD;AACjD,8CAAuC;AACvC,oDAAiD;AAGjD;;;GAGG;AACH,MAAM,2BAA2B,GAAG,IAAA,yBAAW,EAC7C,wDAAwD,EACxD,GAAG,EAAE,CAAC,iBAAQ,CAAC,UAAU,CAAwB,EAAE,CAAC,CACrD,CAAC;AAEF;;;GAGG;AACU,QAAA,wBAAwB,GAGjC,IAAA,eAAI,EACN,CAAC,EACD,CAAU,MAA8B,EAAE,MAA6B,EAA0B,EAAE,CACjG,eAAM,CAAC,OAAO,CAAC,MAAM,EAAE,2BAA2B,EAAE,MAAM,CAAC,CAC9D,CAAC;AAEF;;;GAGG;AACI,MAAM,uBAAuB,GAAG,CAAC,MAA6B,EAAE,EAAE,CACvE,cAAK,CAAC,aAAa,CAAC,2BAA2B,EAAE,MAAM,CAAC,CAAC;AAD9C,QAAA,uBAAuB,2BACuB;AAE3D;;;GAGG;AACU,QAAA,qBAAqB,GAAuC,eAAM,CAAC,GAAG,CAAC,QAAQ,CAAC;IAC3F,MAAM,EAAE,MAAM,EAAE,aAAa,EAAE,GAAG,MAAM,EAAE,GAAG,KAAK,CAAC,CAAC,iBAAQ,CAAC,GAAG,CAAC,2BAA2B,CAAC,CAAC;IAE9F,MAAM,MAAM,GAAG,aAAa,KAAK,IAAI;QACnC,CAAC,CAAC,KAAK,CAAC,CAAC,uBAAa,CAAC,cAAc,CAAC,uBAAa,CAAC,oBAAoB,CAAC;QACzE,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,uBAAa,CAAC,cAAc,CAAC,uBAAa,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;IAEzG,OAAO,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,CAAC;AAC/B,CAAC,CAAC,CAAC"}
|
package/dist/cjs/Errors.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ResourceUnavailableException, TooManyRequestsException, ValidationException } from "@aws-sdk/client-account";
|
|
2
|
-
import type { TaggedException } from "@effect-aws/commons";
|
|
3
|
-
export declare const AllServiceErrors: readonly ["AccessDeniedException", "ConflictException", "InternalServerException", "ResourceNotFoundException", "ResourceUnavailableException", "TooManyRequestsException", "ValidationException"];
|
|
4
|
-
export type AccessDeniedError = TaggedException<AccessDeniedException>;
|
|
5
|
-
export type ConflictError = TaggedException<ConflictException>;
|
|
6
|
-
export type InternalServerError = TaggedException<InternalServerException>;
|
|
7
|
-
export type ResourceNotFoundError = TaggedException<ResourceNotFoundException>;
|
|
8
|
-
export type ResourceUnavailableError = TaggedException<ResourceUnavailableException>;
|
|
9
|
-
export type TooManyRequestsError = TaggedException<TooManyRequestsException>;
|
|
10
|
-
export type ValidationError = TaggedException<ValidationException>;
|
|
11
|
-
export type SdkError = TaggedException<Error & {
|
|
12
|
-
name: "SdkError";
|
|
13
|
-
}>;
|
|
14
|
-
//# sourceMappingURL=Errors.d.ts.map
|
package/dist/cjs/Errors.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Errors.d.ts","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,qBAAqB,EACrB,iBAAiB,EACjB,uBAAuB,EACvB,yBAAyB,EACzB,4BAA4B,EAC5B,wBAAwB,EACxB,mBAAmB,EACpB,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAE3D,eAAO,MAAM,gBAAgB,oMAQnB,CAAC;AAEX,MAAM,MAAM,iBAAiB,GAAG,eAAe,CAAC,qBAAqB,CAAC,CAAC;AACvE,MAAM,MAAM,aAAa,GAAG,eAAe,CAAC,iBAAiB,CAAC,CAAC;AAC/D,MAAM,MAAM,mBAAmB,GAAG,eAAe,CAAC,uBAAuB,CAAC,CAAC;AAC3E,MAAM,MAAM,qBAAqB,GAAG,eAAe,CAAC,yBAAyB,CAAC,CAAC;AAC/E,MAAM,MAAM,wBAAwB,GAAG,eAAe,CAAC,4BAA4B,CAAC,CAAC;AACrF,MAAM,MAAM,oBAAoB,GAAG,eAAe,CAAC,wBAAwB,CAAC,CAAC;AAC7E,MAAM,MAAM,eAAe,GAAG,eAAe,CAAC,mBAAmB,CAAC,CAAC;AACnE,MAAM,MAAM,QAAQ,GAAG,eAAe,CAAC,KAAK,GAAG;IAAE,IAAI,EAAE,UAAU,CAAA;CAAE,CAAC,CAAC"}
|
package/dist/cjs/Errors.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AllServiceErrors = void 0;
|
|
4
|
-
exports.AllServiceErrors = [
|
|
5
|
-
"AccessDeniedException",
|
|
6
|
-
"ConflictException",
|
|
7
|
-
"InternalServerException",
|
|
8
|
-
"ResourceNotFoundException",
|
|
9
|
-
"ResourceUnavailableException",
|
|
10
|
-
"TooManyRequestsException",
|
|
11
|
-
"ValidationException",
|
|
12
|
-
];
|
|
13
|
-
//# sourceMappingURL=Errors.js.map
|
package/dist/cjs/Errors.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Errors.js","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":";;;AAWa,QAAA,gBAAgB,GAAG;IAC9B,uBAAuB;IACvB,mBAAmB;IACnB,yBAAyB;IACzB,2BAA2B;IAC3B,8BAA8B;IAC9B,0BAA0B;IAC1B,qBAAqB;CACb,CAAC"}
|
package/dist/cjs/index.d.ts
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @since 1.0.0
|
|
3
|
-
*/
|
|
4
|
-
import { AccountService } from "./AccountService.js";
|
|
5
|
-
/**
|
|
6
|
-
* @since 1.0.0
|
|
7
|
-
*/
|
|
8
|
-
export * from "./Errors.js";
|
|
9
|
-
/**
|
|
10
|
-
* @since 1.0.0
|
|
11
|
-
*/
|
|
12
|
-
export * as AccountClientInstance from "./AccountClientInstance.js";
|
|
13
|
-
/**
|
|
14
|
-
* @since 1.0.0
|
|
15
|
-
*/
|
|
16
|
-
export * as AccountServiceConfig from "./AccountServiceConfig.js";
|
|
17
|
-
/**
|
|
18
|
-
* @since 1.0.0
|
|
19
|
-
*/
|
|
20
|
-
export * from "./AccountService.js";
|
|
21
|
-
/**
|
|
22
|
-
* @since 1.0.0
|
|
23
|
-
* @category exports
|
|
24
|
-
* @alias AccountService
|
|
25
|
-
*/
|
|
26
|
-
export declare namespace Account {
|
|
27
|
-
/**
|
|
28
|
-
* @since 1.0.0
|
|
29
|
-
* @alias AccountService.Config
|
|
30
|
-
*/
|
|
31
|
-
type Config = AccountService.Config;
|
|
32
|
-
/**
|
|
33
|
-
* @since 1.0.0
|
|
34
|
-
* @alias AccountService.Type
|
|
35
|
-
*/
|
|
36
|
-
type Type = AccountService.Type;
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* @since 1.0.0
|
|
40
|
-
* @category exports
|
|
41
|
-
* @alias AccountService
|
|
42
|
-
*/
|
|
43
|
-
export declare const Account: typeof AccountService;
|
|
44
|
-
//# sourceMappingURL=index.d.ts.map
|
package/dist/cjs/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAErD;;GAEG;AACH,cAAc,aAAa,CAAC;AAE5B;;GAEG;AACH,OAAO,KAAK,qBAAqB,MAAM,4BAA4B,CAAC;AAEpE;;GAEG;AACH,OAAO,KAAK,oBAAoB,MAAM,2BAA2B,CAAC;AAElE;;GAEG;AACH,cAAc,qBAAqB,CAAC;AAEpC;;;;GAIG;AACH,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B;;;OAGG;IACH,KAAY,MAAM,GAAG,cAAc,CAAC,MAAM,CAAC;IAE3C;;;OAGG;IACH,KAAY,IAAI,GAAG,cAAc,CAAC,IAAI,CAAC;CACxC;AAED;;;;GAIG;AACH,eAAO,MAAM,OAAO,uBAAiB,CAAC"}
|
package/dist/cjs/index.js
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
19
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
20
|
-
};
|
|
21
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
-
if (mod && mod.__esModule) return mod;
|
|
23
|
-
var result = {};
|
|
24
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
-
__setModuleDefault(result, mod);
|
|
26
|
-
return result;
|
|
27
|
-
};
|
|
28
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.Account = exports.AccountServiceConfig = exports.AccountClientInstance = void 0;
|
|
30
|
-
/**
|
|
31
|
-
* @since 1.0.0
|
|
32
|
-
*/
|
|
33
|
-
const AccountService_js_1 = require("./AccountService.js");
|
|
34
|
-
/**
|
|
35
|
-
* @since 1.0.0
|
|
36
|
-
*/
|
|
37
|
-
__exportStar(require("./Errors.js"), exports);
|
|
38
|
-
/**
|
|
39
|
-
* @since 1.0.0
|
|
40
|
-
*/
|
|
41
|
-
exports.AccountClientInstance = __importStar(require("./AccountClientInstance.js"));
|
|
42
|
-
/**
|
|
43
|
-
* @since 1.0.0
|
|
44
|
-
*/
|
|
45
|
-
exports.AccountServiceConfig = __importStar(require("./AccountServiceConfig.js"));
|
|
46
|
-
/**
|
|
47
|
-
* @since 1.0.0
|
|
48
|
-
*/
|
|
49
|
-
__exportStar(require("./AccountService.js"), exports);
|
|
50
|
-
/**
|
|
51
|
-
* @since 1.0.0
|
|
52
|
-
* @category exports
|
|
53
|
-
* @alias AccountService
|
|
54
|
-
*/
|
|
55
|
-
exports.Account = AccountService_js_1.AccountService;
|
|
56
|
-
//# sourceMappingURL=index.js.map
|
package/dist/cjs/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,2DAAqD;AAErD;;GAEG;AACH,8CAA4B;AAE5B;;GAEG;AACH,oFAAoE;AAEpE;;GAEG;AACH,kFAAkE;AAElE;;GAEG;AACH,sDAAoC;AAqBpC;;;;GAIG;AACU,QAAA,OAAO,GAAG,kCAAc,CAAC"}
|