@effect-aws/client-account 1.2.0 → 1.9.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.
Files changed (68) hide show
  1. package/AccountClientInstance/package.json +6 -0
  2. package/AccountService/package.json +6 -0
  3. package/AccountServiceConfig/package.json +6 -0
  4. package/Errors/package.json +6 -0
  5. package/dist/cjs/AccountClientInstance.d.ts +24 -0
  6. package/dist/cjs/AccountClientInstance.d.ts.map +1 -0
  7. package/dist/cjs/AccountClientInstance.js +50 -0
  8. package/dist/cjs/AccountClientInstance.js.map +1 -0
  9. package/{lib → dist/cjs}/AccountService.d.ts +16 -38
  10. package/dist/cjs/AccountService.d.ts.map +1 -0
  11. package/dist/cjs/AccountService.js +68 -0
  12. package/dist/cjs/AccountService.js.map +1 -0
  13. package/dist/cjs/AccountServiceConfig.d.ts +25 -0
  14. package/dist/cjs/AccountServiceConfig.d.ts.map +1 -0
  15. package/dist/cjs/AccountServiceConfig.js +35 -0
  16. package/dist/cjs/AccountServiceConfig.js.map +1 -0
  17. package/{lib → dist/cjs}/Errors.d.ts +6 -11
  18. package/dist/cjs/Errors.d.ts.map +1 -0
  19. package/dist/cjs/Errors.js +14 -0
  20. package/dist/cjs/Errors.js.map +1 -0
  21. package/dist/cjs/index.d.ts +39 -0
  22. package/dist/cjs/index.d.ts.map +1 -0
  23. package/dist/cjs/index.js +56 -0
  24. package/dist/cjs/index.js.map +1 -0
  25. package/dist/dts/AccountClientInstance.d.ts +24 -0
  26. package/dist/dts/AccountClientInstance.d.ts.map +1 -0
  27. package/dist/dts/AccountService.d.ts +103 -0
  28. package/dist/dts/AccountService.d.ts.map +1 -0
  29. package/dist/dts/AccountServiceConfig.d.ts +25 -0
  30. package/dist/dts/AccountServiceConfig.d.ts.map +1 -0
  31. package/dist/dts/Errors.d.ts +13 -0
  32. package/dist/dts/Errors.d.ts.map +1 -0
  33. package/dist/dts/index.d.ts +39 -0
  34. package/dist/dts/index.d.ts.map +1 -0
  35. package/dist/esm/AccountClientInstance.js +23 -0
  36. package/dist/esm/AccountClientInstance.js.map +1 -0
  37. package/dist/esm/AccountService.js +41 -0
  38. package/dist/esm/AccountService.js.map +1 -0
  39. package/dist/esm/AccountServiceConfig.js +31 -0
  40. package/dist/esm/AccountServiceConfig.js.map +1 -0
  41. package/dist/esm/Errors.js +11 -0
  42. package/dist/esm/Errors.js.map +1 -0
  43. package/dist/esm/index.js +27 -0
  44. package/dist/esm/index.js.map +1 -0
  45. package/dist/esm/package.json +4 -0
  46. package/package.json +60 -43
  47. package/src/AccountClientInstance.ts +33 -0
  48. package/src/AccountService.ts +269 -0
  49. package/src/AccountServiceConfig.ts +52 -0
  50. package/src/Errors.ts +29 -0
  51. package/src/index.ts +44 -0
  52. package/CHANGELOG.md +0 -35
  53. package/docgen.json +0 -8
  54. package/lib/AccountClientInstance.d.ts +0 -31
  55. package/lib/AccountClientInstance.js +0 -57
  56. package/lib/AccountClientInstanceConfig.d.ts +0 -23
  57. package/lib/AccountClientInstanceConfig.js +0 -44
  58. package/lib/AccountService.js +0 -100
  59. package/lib/Errors.js +0 -14
  60. package/lib/esm/AccountClientInstance.js +0 -30
  61. package/lib/esm/AccountClientInstanceConfig.js +0 -40
  62. package/lib/esm/AccountService.js +0 -96
  63. package/lib/esm/Errors.js +0 -11
  64. package/lib/esm/index.js +0 -5
  65. package/lib/index.d.ts +0 -4
  66. package/lib/index.js +0 -21
  67. package/project.json +0 -77
  68. package/vitest.config.ts +0 -3
@@ -0,0 +1,6 @@
1
+ {
2
+ "main": "../dist/cjs/AccountClientInstance.js",
3
+ "module": "../dist/esm/AccountClientInstance.js",
4
+ "types": "../dist/dts/AccountClientInstance.d.ts",
5
+ "sideEffects": []
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "main": "../dist/cjs/AccountService.js",
3
+ "module": "../dist/esm/AccountService.js",
4
+ "types": "../dist/dts/AccountService.d.ts",
5
+ "sideEffects": []
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "main": "../dist/cjs/AccountServiceConfig.js",
3
+ "module": "../dist/esm/AccountServiceConfig.js",
4
+ "types": "../dist/dts/AccountServiceConfig.d.ts",
5
+ "sideEffects": []
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "main": "../dist/cjs/Errors.js",
3
+ "module": "../dist/esm/Errors.js",
4
+ "types": "../dist/dts/Errors.d.ts",
5
+ "sideEffects": []
6
+ }
@@ -0,0 +1,24 @@
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
@@ -0,0 +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,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"}
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.layer = exports.make = exports.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
@@ -0,0 +1 @@
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,21 +1,11 @@
1
1
  /**
2
2
  * @since 1.0.0
3
3
  */
4
- import { type AccountClient, type AccountClientConfig, type AcceptPrimaryEmailUpdateCommandInput, type AcceptPrimaryEmailUpdateCommandOutput, type DeleteAlternateContactCommandInput, type DeleteAlternateContactCommandOutput, type DisableRegionCommandInput, type DisableRegionCommandOutput, type EnableRegionCommandInput, type EnableRegionCommandOutput, type GetAlternateContactCommandInput, type GetAlternateContactCommandOutput, type GetContactInformationCommandInput, type GetContactInformationCommandOutput, type GetPrimaryEmailCommandInput, type GetPrimaryEmailCommandOutput, type GetRegionOptStatusCommandInput, type GetRegionOptStatusCommandOutput, type ListRegionsCommandInput, type ListRegionsCommandOutput, type PutAlternateContactCommandInput, type PutAlternateContactCommandOutput, type PutContactInformationCommandInput, type PutContactInformationCommandOutput, type StartPrimaryEmailUpdateCommandInput, type StartPrimaryEmailUpdateCommandOutput } from "@aws-sdk/client-account";
4
+ import { type AcceptPrimaryEmailUpdateCommandInput, type AcceptPrimaryEmailUpdateCommandOutput, type AccountClient, type AccountClientConfig, type DeleteAlternateContactCommandInput, type DeleteAlternateContactCommandOutput, type DisableRegionCommandInput, type DisableRegionCommandOutput, type EnableRegionCommandInput, type EnableRegionCommandOutput, type GetAlternateContactCommandInput, type GetAlternateContactCommandOutput, type GetContactInformationCommandInput, type GetContactInformationCommandOutput, type GetPrimaryEmailCommandInput, type GetPrimaryEmailCommandOutput, type GetRegionOptStatusCommandInput, type GetRegionOptStatusCommandOutput, type ListRegionsCommandInput, type ListRegionsCommandOutput, type PutAlternateContactCommandInput, type PutAlternateContactCommandOutput, type PutContactInformationCommandInput, type PutContactInformationCommandOutput, type StartPrimaryEmailUpdateCommandInput, type StartPrimaryEmailUpdateCommandOutput } from "@aws-sdk/client-account";
5
+ import type { HttpHandlerOptions, SdkError, ServiceLogger } from "@effect-aws/commons";
5
6
  import { Effect, Layer } from "effect";
6
- import { AccountClientInstance } from "./AccountClientInstance";
7
- import { AccountClientInstanceConfig } from "./AccountClientInstanceConfig";
8
- import { AccessDeniedError, ConflictError, InternalServerError, ResourceNotFoundError, TooManyRequestsError, ValidationError, SdkError } from "./Errors";
9
- /**
10
- * @since 1.0.0
11
- */
12
- export interface HttpHandlerOptions {
13
- /**
14
- * The maximum time in milliseconds that the connection phase of a request
15
- * may take before the connection attempt is abandoned.
16
- */
17
- requestTimeout?: number;
18
- }
7
+ import * as Instance from "./AccountClientInstance.js";
8
+ import type { AccessDeniedError, ConflictError, InternalServerError, ResourceNotFoundError, TooManyRequestsError, ValidationError } from "./Errors.js";
19
9
  interface AccountService$ {
20
10
  readonly _: unique symbol;
21
11
  /**
@@ -71,7 +61,7 @@ interface AccountService$ {
71
61
  * @since 1.0.0
72
62
  * @category constructors
73
63
  */
74
- export declare const makeAccountService: Effect.Effect<AccountService$, never, AccountClientInstance>;
64
+ export declare const makeAccountService: Effect.Effect<AccountService$, never, Instance.AccountClientInstance>;
75
65
  declare const AccountService_base: import("effect/Context").TagClass<AccountService, "@effect-aws/client-account/AccountService", AccountService$> & {
76
66
  readonly _: Effect.Effect<AccountService$["_"], never, AccountService>;
77
67
  acceptPrimaryEmailUpdate: (args: AcceptPrimaryEmailUpdateCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<AcceptPrimaryEmailUpdateCommandOutput, AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | TooManyRequestsError | ValidationError | SdkError, AccountService>;
@@ -87,7 +77,7 @@ declare const AccountService_base: import("effect/Context").TagClass<AccountServ
87
77
  putContactInformation: (args: PutContactInformationCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<PutContactInformationCommandOutput, AccessDeniedError | InternalServerError | TooManyRequestsError | ValidationError | SdkError, AccountService>;
88
78
  startPrimaryEmailUpdate: (args: StartPrimaryEmailUpdateCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<StartPrimaryEmailUpdateCommandOutput, AccessDeniedError | ConflictError | InternalServerError | ResourceNotFoundError | TooManyRequestsError | ValidationError | SdkError, AccountService>;
89
79
  } & {
90
- use: <X>(body: (_: AccountService$) => X) => X extends Effect.Effect<infer A, infer E, infer R> ? Effect.Effect<A, E, R | AccountService> : Effect.Effect<X, never, AccountService>;
80
+ use: <X>(body: (_: AccountService$) => X) => X extends Effect.Effect<infer A, infer E, infer R> ? Effect.Effect<A, E, AccountService | R> : Effect.Effect<X, never, AccountService>;
91
81
  };
92
82
  /**
93
83
  * @since 1.0.0
@@ -95,31 +85,19 @@ declare const AccountService_base: import("effect/Context").TagClass<AccountServ
95
85
  */
96
86
  export declare class AccountService extends AccountService_base {
97
87
  static readonly defaultLayer: Layer.Layer<AccountService, never, never>;
98
- static readonly layer: (config: AccountClientConfig) => Layer.Layer<AccountService, never, never>;
88
+ static readonly layer: (config: AccountService.Config) => Layer.Layer<AccountService, never, never>;
99
89
  static readonly baseLayer: (evaluate: (defaultConfig: AccountClientConfig) => AccountClient) => Layer.Layer<AccountService, never, never>;
100
90
  }
101
91
  /**
102
92
  * @since 1.0.0
103
- * @category models
104
- * @alias AccountService
105
- */
106
- export declare const Account: typeof AccountService;
107
- /**
108
- * @since 1.0.0
109
- * @category layers
110
- * @deprecated use Account.baseLayer instead
111
93
  */
112
- export declare const BaseAccountServiceLayer: Layer.Layer<AccountService, never, AccountClientInstance>;
113
- /**
114
- * @since 1.0.0
115
- * @category layers
116
- * @deprecated use Account.layer instead
117
- */
118
- export declare const AccountServiceLayer: Layer.Layer<AccountService, never, AccountClientInstanceConfig>;
119
- /**
120
- * @since 1.0.0
121
- * @category layers
122
- * @deprecated use Account.defaultLayer instead
123
- */
124
- export declare const DefaultAccountServiceLayer: Layer.Layer<AccountService, never, never>;
94
+ export declare namespace AccountService {
95
+ /**
96
+ * @since 1.0.0
97
+ */
98
+ interface Config extends Omit<AccountClientConfig, "logger"> {
99
+ readonly logger?: ServiceLogger.ServiceLoggerConstructorProps | true;
100
+ }
101
+ }
125
102
  export {};
103
+ //# sourceMappingURL=AccountService.d.ts.map
@@ -0,0 +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,+BAA+B,EACpC,KAAK,gCAAgC,EAErC,KAAK,iCAAiC,EACtC,KAAK,kCAAkC,EAEvC,KAAK,2BAA2B,EAChC,KAAK,4BAA4B,EAEjC,KAAK,8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Aa,CAAC,6BAA6B,GAAG,IAAI,CAAC;KACtE;CACF"}
@@ -0,0 +1,68 @@
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
+ GetAlternateContactCommand: client_account_1.GetAlternateContactCommand,
42
+ GetContactInformationCommand: client_account_1.GetContactInformationCommand,
43
+ GetPrimaryEmailCommand: client_account_1.GetPrimaryEmailCommand,
44
+ GetRegionOptStatusCommand: client_account_1.GetRegionOptStatusCommand,
45
+ ListRegionsCommand: client_account_1.ListRegionsCommand,
46
+ PutAlternateContactCommand: client_account_1.PutAlternateContactCommand,
47
+ PutContactInformationCommand: client_account_1.PutContactInformationCommand,
48
+ StartPrimaryEmailUpdateCommand: client_account_1.StartPrimaryEmailUpdateCommand,
49
+ };
50
+ /**
51
+ * @since 1.0.0
52
+ * @category constructors
53
+ */
54
+ exports.makeAccountService = effect_1.Effect.gen(function* () {
55
+ const client = yield* Instance.AccountClientInstance;
56
+ return commons_1.Service.fromClientAndCommands(client, commands, Errors_js_1.AllServiceErrors);
57
+ });
58
+ /**
59
+ * @since 1.0.0
60
+ * @category models
61
+ */
62
+ class AccountService extends effect_1.Effect.Tag("@effect-aws/client-account/AccountService")() {
63
+ static defaultLayer = effect_1.Layer.effect(this, exports.makeAccountService).pipe(effect_1.Layer.provide(Instance.layer));
64
+ static layer = (config) => effect_1.Layer.effect(this, exports.makeAccountService).pipe(effect_1.Layer.provide(Instance.layer), effect_1.Layer.provide(AccountServiceConfig.setAccountServiceConfig(config)));
65
+ 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))));
66
+ }
67
+ exports.AccountService = AccountService;
68
+ //# sourceMappingURL=AccountService.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AccountService.js","sourceRoot":"","sources":["../../src/AccountService.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,4DAuCiC;AAEjC,iDAA8C;AAC9C,mCAAuC;AACvC,qEAAuD;AACvD,gFAAkE;AASlE,2CAA+C;AAE/C,MAAM,QAAQ,GAAG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M,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"}
@@ -0,0 +1,25 @@
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
@@ -0,0 +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,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"}
@@ -0,0 +1,35 @@
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
@@ -0,0 +1 @@
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"}
@@ -1,18 +1,13 @@
1
1
  import type { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, TooManyRequestsException, ValidationException } from "@aws-sdk/client-account";
2
- import { Data } from "effect";
3
- export declare const AllServiceErrors: string[];
4
- export type TaggedException<T extends {
5
- name: string;
6
- }> = T & {
7
- readonly _tag: T["name"];
8
- };
2
+ import type { TaggedException } from "@effect-aws/commons";
3
+ import { SdkError as CommonSdkError } from "@effect-aws/commons";
4
+ export declare const AllServiceErrors: readonly ["AccessDeniedException", "ConflictException", "InternalServerException", "ResourceNotFoundException", "TooManyRequestsException", "ValidationException"];
9
5
  export type AccessDeniedError = TaggedException<AccessDeniedException>;
10
6
  export type ConflictError = TaggedException<ConflictException>;
11
7
  export type InternalServerError = TaggedException<InternalServerException>;
12
8
  export type ResourceNotFoundError = TaggedException<ResourceNotFoundException>;
13
9
  export type TooManyRequestsError = TaggedException<TooManyRequestsException>;
14
10
  export type ValidationError = TaggedException<ValidationException>;
15
- export type SdkError = TaggedException<Error & {
16
- name: "SdkError";
17
- }>;
18
- export declare const SdkError: Data.Case.Constructor<SdkError, "_tag">;
11
+ export type SdkError = CommonSdkError;
12
+ export declare const SdkError: import("effect/Data").Case.Constructor<CommonSdkError, "_tag">;
13
+ //# sourceMappingURL=Errors.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Errors.d.ts","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,qBAAqB,EACrB,iBAAiB,EACjB,uBAAuB,EACvB,yBAAyB,EACzB,wBAAwB,EACxB,mBAAmB,EACpB,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,EAAE,QAAQ,IAAI,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAEjE,eAAO,MAAM,gBAAgB,oKAOnB,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,oBAAoB,GAAG,eAAe,CAAC,wBAAwB,CAAC,CAAC;AAC7E,MAAM,MAAM,eAAe,GAAG,eAAe,CAAC,mBAAmB,CAAC,CAAC;AAEnE,MAAM,MAAM,QAAQ,GAAG,cAAc,CAAC;AACtC,eAAO,MAAM,QAAQ,gEAAiB,CAAC"}
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SdkError = exports.AllServiceErrors = void 0;
4
+ const commons_1 = require("@effect-aws/commons");
5
+ exports.AllServiceErrors = [
6
+ "AccessDeniedException",
7
+ "ConflictException",
8
+ "InternalServerException",
9
+ "ResourceNotFoundException",
10
+ "TooManyRequestsException",
11
+ "ValidationException",
12
+ ];
13
+ exports.SdkError = commons_1.SdkError;
14
+ //# sourceMappingURL=Errors.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Errors.js","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":";;;AASA,iDAAiE;AAEpD,QAAA,gBAAgB,GAAG;IAC9B,uBAAuB;IACvB,mBAAmB;IACnB,yBAAyB;IACzB,2BAA2B;IAC3B,0BAA0B;IAC1B,qBAAqB;CACb,CAAC;AAUE,QAAA,QAAQ,GAAG,kBAAc,CAAC"}
@@ -0,0 +1,39 @@
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
+ /**
34
+ * @since 1.0.0
35
+ * @category exports
36
+ * @alias AccountService
37
+ */
38
+ export declare const Account: typeof AccountService;
39
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,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;CAC5C;AAED;;;;GAIG;AACH,eAAO,MAAM,OAAO,uBAAiB,CAAC"}
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
19
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
20
+ };
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.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
@@ -0,0 +1 @@
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;AAepC;;;;GAIG;AACU,QAAA,OAAO,GAAG,kCAAc,CAAC"}
@@ -0,0 +1,24 @@
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
@@ -0,0 +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,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"}