@effect-aws/client-organizations 1.0.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 (69) hide show
  1. package/Errors/package.json +6 -0
  2. package/LICENSE +1 -1
  3. package/OrganizationsClientInstance/package.json +6 -0
  4. package/OrganizationsService/package.json +6 -0
  5. package/OrganizationsServiceConfig/package.json +6 -0
  6. package/{lib → dist/cjs}/Errors.d.ts +7 -12
  7. package/dist/cjs/Errors.d.ts.map +1 -0
  8. package/dist/cjs/Errors.js +55 -0
  9. package/dist/cjs/Errors.js.map +1 -0
  10. package/dist/cjs/OrganizationsClientInstance.d.ts +24 -0
  11. package/dist/cjs/OrganizationsClientInstance.d.ts.map +1 -0
  12. package/dist/cjs/OrganizationsClientInstance.js +50 -0
  13. package/dist/cjs/OrganizationsClientInstance.js.map +1 -0
  14. package/{lib → dist/cjs}/OrganizationsService.d.ts +18 -40
  15. package/dist/cjs/OrganizationsService.d.ts.map +1 -0
  16. package/dist/cjs/OrganizationsService.js +111 -0
  17. package/dist/cjs/OrganizationsService.js.map +1 -0
  18. package/dist/cjs/OrganizationsServiceConfig.d.ts +25 -0
  19. package/dist/cjs/OrganizationsServiceConfig.d.ts.map +1 -0
  20. package/dist/cjs/OrganizationsServiceConfig.js +35 -0
  21. package/dist/cjs/OrganizationsServiceConfig.js.map +1 -0
  22. package/dist/cjs/index.d.ts +39 -0
  23. package/dist/cjs/index.d.ts.map +1 -0
  24. package/dist/cjs/index.js +56 -0
  25. package/dist/cjs/index.js.map +1 -0
  26. package/dist/dts/Errors.d.ts +54 -0
  27. package/dist/dts/Errors.d.ts.map +1 -0
  28. package/dist/dts/OrganizationsClientInstance.d.ts +24 -0
  29. package/dist/dts/OrganizationsClientInstance.d.ts.map +1 -0
  30. package/dist/dts/OrganizationsService.d.ts +318 -0
  31. package/dist/dts/OrganizationsService.d.ts.map +1 -0
  32. package/dist/dts/OrganizationsServiceConfig.d.ts +25 -0
  33. package/dist/dts/OrganizationsServiceConfig.d.ts.map +1 -0
  34. package/dist/dts/index.d.ts +39 -0
  35. package/dist/dts/index.d.ts.map +1 -0
  36. package/dist/esm/Errors.js +52 -0
  37. package/dist/esm/Errors.js.map +1 -0
  38. package/dist/esm/OrganizationsClientInstance.js +23 -0
  39. package/dist/esm/OrganizationsClientInstance.js.map +1 -0
  40. package/dist/esm/OrganizationsService.js +84 -0
  41. package/dist/esm/OrganizationsService.js.map +1 -0
  42. package/dist/esm/OrganizationsServiceConfig.js +31 -0
  43. package/dist/esm/OrganizationsServiceConfig.js.map +1 -0
  44. package/dist/esm/index.js +27 -0
  45. package/dist/esm/index.js.map +1 -0
  46. package/dist/esm/package.json +4 -0
  47. package/package.json +60 -43
  48. package/src/Errors.ts +154 -0
  49. package/src/OrganizationsClientInstance.ts +33 -0
  50. package/src/OrganizationsService.ts +1382 -0
  51. package/src/OrganizationsServiceConfig.ts +52 -0
  52. package/src/index.ts +44 -0
  53. package/CHANGELOG.md +0 -7
  54. package/docgen.json +0 -8
  55. package/lib/Errors.js +0 -55
  56. package/lib/OrganizationsClientInstance.d.ts +0 -31
  57. package/lib/OrganizationsClientInstance.js +0 -57
  58. package/lib/OrganizationsClientInstanceConfig.d.ts +0 -23
  59. package/lib/OrganizationsClientInstanceConfig.js +0 -44
  60. package/lib/OrganizationsService.js +0 -143
  61. package/lib/esm/Errors.js +0 -52
  62. package/lib/esm/OrganizationsClientInstance.js +0 -30
  63. package/lib/esm/OrganizationsClientInstanceConfig.js +0 -40
  64. package/lib/esm/OrganizationsService.js +0 -139
  65. package/lib/esm/index.js +0 -5
  66. package/lib/index.d.ts +0 -4
  67. package/lib/index.js +0 -21
  68. package/project.json +0 -77
  69. package/vitest.config.ts +0 -3
@@ -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
+ }
package/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2024 Victor Korzunin
1
+ Copyright (c) 2025 Victor Korzunin
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  of this software and associated documentation files (the "Software"), to deal
@@ -0,0 +1,6 @@
1
+ {
2
+ "main": "../dist/cjs/OrganizationsClientInstance.js",
3
+ "module": "../dist/esm/OrganizationsClientInstance.js",
4
+ "types": "../dist/dts/OrganizationsClientInstance.d.ts",
5
+ "sideEffects": []
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "main": "../dist/cjs/OrganizationsService.js",
3
+ "module": "../dist/esm/OrganizationsService.js",
4
+ "types": "../dist/dts/OrganizationsService.d.ts",
5
+ "sideEffects": []
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "main": "../dist/cjs/OrganizationsServiceConfig.js",
3
+ "module": "../dist/esm/OrganizationsServiceConfig.js",
4
+ "types": "../dist/dts/OrganizationsServiceConfig.d.ts",
5
+ "sideEffects": []
6
+ }
@@ -1,11 +1,7 @@
1
- import type { AWSOrganizationsNotInUseException, AccessDeniedException, AccessDeniedForDependencyException, AccountAlreadyClosedException, AccountAlreadyRegisteredException, AccountNotFoundException, AccountNotRegisteredException, AccountOwnerNotVerifiedException, AlreadyInOrganizationException, ChildNotFoundException, ConcurrentModificationException, ConflictException, ConstraintViolationException, CreateAccountStatusNotFoundException, DestinationParentNotFoundException, DuplicateAccountException, DuplicateHandshakeException, DuplicateOrganizationalUnitException, DuplicatePolicyAttachmentException, DuplicatePolicyException, EffectivePolicyNotFoundException, FinalizingOrganizationException, HandshakeAlreadyInStateException, HandshakeConstraintViolationException, HandshakeNotFoundException, InvalidHandshakeTransitionException, InvalidInputException, MalformedPolicyDocumentException, MasterCannotLeaveOrganizationException, OrganizationNotEmptyException, OrganizationalUnitNotEmptyException, OrganizationalUnitNotFoundException, ParentNotFoundException, PolicyChangesInProgressException, PolicyInUseException, PolicyNotAttachedException, PolicyNotFoundException, PolicyTypeAlreadyEnabledException, PolicyTypeNotAvailableForOrganizationException, PolicyTypeNotEnabledException, ResourcePolicyNotFoundException, RootNotFoundException, ServiceException, SourceParentNotFoundException, TargetNotFoundException, TooManyRequestsException, UnsupportedAPIEndpointException } from "@aws-sdk/client-organizations";
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
- };
1
+ import type { AccessDeniedException, AccessDeniedForDependencyException, AccountAlreadyClosedException, AccountAlreadyRegisteredException, AccountNotFoundException, AccountNotRegisteredException, AccountOwnerNotVerifiedException, AlreadyInOrganizationException, AWSOrganizationsNotInUseException, ChildNotFoundException, ConcurrentModificationException, ConflictException, ConstraintViolationException, CreateAccountStatusNotFoundException, DestinationParentNotFoundException, DuplicateAccountException, DuplicateHandshakeException, DuplicateOrganizationalUnitException, DuplicatePolicyAttachmentException, DuplicatePolicyException, EffectivePolicyNotFoundException, FinalizingOrganizationException, HandshakeAlreadyInStateException, HandshakeConstraintViolationException, HandshakeNotFoundException, InvalidHandshakeTransitionException, InvalidInputException, MalformedPolicyDocumentException, MasterCannotLeaveOrganizationException, OrganizationalUnitNotEmptyException, OrganizationalUnitNotFoundException, OrganizationNotEmptyException, ParentNotFoundException, PolicyChangesInProgressException, PolicyInUseException, PolicyNotAttachedException, PolicyNotFoundException, PolicyTypeAlreadyEnabledException, PolicyTypeNotAvailableForOrganizationException, PolicyTypeNotEnabledException, ResourcePolicyNotFoundException, RootNotFoundException, ServiceException, SourceParentNotFoundException, TargetNotFoundException, TooManyRequestsException, UnsupportedAPIEndpointException } from "@aws-sdk/client-organizations";
2
+ import type { TaggedException } from "@effect-aws/commons";
3
+ import { SdkError as CommonSdkError } from "@effect-aws/commons";
4
+ export declare const AllServiceErrors: readonly ["AWSOrganizationsNotInUseException", "AccessDeniedException", "AccessDeniedForDependencyException", "AccountAlreadyClosedException", "AccountAlreadyRegisteredException", "AccountNotFoundException", "AccountNotRegisteredException", "AccountOwnerNotVerifiedException", "AlreadyInOrganizationException", "ChildNotFoundException", "ConcurrentModificationException", "ConflictException", "ConstraintViolationException", "CreateAccountStatusNotFoundException", "DestinationParentNotFoundException", "DuplicateAccountException", "DuplicateHandshakeException", "DuplicateOrganizationalUnitException", "DuplicatePolicyAttachmentException", "DuplicatePolicyException", "EffectivePolicyNotFoundException", "FinalizingOrganizationException", "HandshakeAlreadyInStateException", "HandshakeConstraintViolationException", "HandshakeNotFoundException", "InvalidHandshakeTransitionException", "InvalidInputException", "MalformedPolicyDocumentException", "MasterCannotLeaveOrganizationException", "OrganizationNotEmptyException", "OrganizationalUnitNotEmptyException", "OrganizationalUnitNotFoundException", "ParentNotFoundException", "PolicyChangesInProgressException", "PolicyInUseException", "PolicyNotAttachedException", "PolicyNotFoundException", "PolicyTypeAlreadyEnabledException", "PolicyTypeNotAvailableForOrganizationException", "PolicyTypeNotEnabledException", "ResourcePolicyNotFoundException", "RootNotFoundException", "ServiceException", "SourceParentNotFoundException", "TargetNotFoundException", "TooManyRequestsException", "UnsupportedAPIEndpointException"];
9
5
  export type AWSOrganizationsNotInUseError = TaggedException<AWSOrganizationsNotInUseException>;
10
6
  export type AccessDeniedError = TaggedException<AccessDeniedException>;
11
7
  export type AccessDeniedForDependencyError = TaggedException<AccessDeniedForDependencyException>;
@@ -53,7 +49,6 @@ export type SourceParentNotFoundError = TaggedException<SourceParentNotFoundExce
53
49
  export type TargetNotFoundError = TaggedException<TargetNotFoundException>;
54
50
  export type TooManyRequestsError = TaggedException<TooManyRequestsException>;
55
51
  export type UnsupportedAPIEndpointError = TaggedException<UnsupportedAPIEndpointException>;
56
- export type SdkError = TaggedException<Error & {
57
- name: "SdkError";
58
- }>;
59
- export declare const SdkError: Data.Case.Constructor<SdkError, "_tag">;
52
+ export type SdkError = CommonSdkError;
53
+ export declare const SdkError: import("effect/Data").Case.Constructor<CommonSdkError, "_tag">;
54
+ //# sourceMappingURL=Errors.d.ts.map
@@ -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AAG,eAAe,CAAC,qBAAqB,CAAC,CAAC;AACvE,MAAM,MAAM,YAAY,GAAG,eAAe,CAAC,gBAAgB,CAAC,CAAC;AAC7D,MAAM,MAAM,yBAAyB,GAAG,eAAe,CAAC,6BAA6B,CAAC,CAAC;AACvF,MAAM,MAAM,mBAAmB,GAAG,eAAe,CAAC,uBAAuB,CAAC,CAAC;AAC3E,MAAM,MAAM,oBAAoB,GAAG,eAAe,CAAC,wBAAwB,CAAC,CAAC;AAC7E,MAAM,MAAM,2BAA2B,GAAG,eAAe,CAAC,+BAA+B,CAAC,CAAC;AAE3F,MAAM,MAAM,QAAQ,GAAG,cAAc,CAAC;AACtC,eAAO,MAAM,QAAQ,gEAAiB,CAAC"}
@@ -0,0 +1,55 @@
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
+ "AWSOrganizationsNotInUseException",
7
+ "AccessDeniedException",
8
+ "AccessDeniedForDependencyException",
9
+ "AccountAlreadyClosedException",
10
+ "AccountAlreadyRegisteredException",
11
+ "AccountNotFoundException",
12
+ "AccountNotRegisteredException",
13
+ "AccountOwnerNotVerifiedException",
14
+ "AlreadyInOrganizationException",
15
+ "ChildNotFoundException",
16
+ "ConcurrentModificationException",
17
+ "ConflictException",
18
+ "ConstraintViolationException",
19
+ "CreateAccountStatusNotFoundException",
20
+ "DestinationParentNotFoundException",
21
+ "DuplicateAccountException",
22
+ "DuplicateHandshakeException",
23
+ "DuplicateOrganizationalUnitException",
24
+ "DuplicatePolicyAttachmentException",
25
+ "DuplicatePolicyException",
26
+ "EffectivePolicyNotFoundException",
27
+ "FinalizingOrganizationException",
28
+ "HandshakeAlreadyInStateException",
29
+ "HandshakeConstraintViolationException",
30
+ "HandshakeNotFoundException",
31
+ "InvalidHandshakeTransitionException",
32
+ "InvalidInputException",
33
+ "MalformedPolicyDocumentException",
34
+ "MasterCannotLeaveOrganizationException",
35
+ "OrganizationNotEmptyException",
36
+ "OrganizationalUnitNotEmptyException",
37
+ "OrganizationalUnitNotFoundException",
38
+ "ParentNotFoundException",
39
+ "PolicyChangesInProgressException",
40
+ "PolicyInUseException",
41
+ "PolicyNotAttachedException",
42
+ "PolicyNotFoundException",
43
+ "PolicyTypeAlreadyEnabledException",
44
+ "PolicyTypeNotAvailableForOrganizationException",
45
+ "PolicyTypeNotEnabledException",
46
+ "ResourcePolicyNotFoundException",
47
+ "RootNotFoundException",
48
+ "ServiceException",
49
+ "SourceParentNotFoundException",
50
+ "TargetNotFoundException",
51
+ "TooManyRequestsException",
52
+ "UnsupportedAPIEndpointException",
53
+ ];
54
+ exports.SdkError = commons_1.SdkError;
55
+ //# sourceMappingURL=Errors.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Errors.js","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":";;;AAkDA,iDAAiE;AAEpD,QAAA,gBAAgB,GAAG;IAC9B,mCAAmC;IACnC,uBAAuB;IACvB,oCAAoC;IACpC,+BAA+B;IAC/B,mCAAmC;IACnC,0BAA0B;IAC1B,+BAA+B;IAC/B,kCAAkC;IAClC,gCAAgC;IAChC,wBAAwB;IACxB,iCAAiC;IACjC,mBAAmB;IACnB,8BAA8B;IAC9B,sCAAsC;IACtC,oCAAoC;IACpC,2BAA2B;IAC3B,6BAA6B;IAC7B,sCAAsC;IACtC,oCAAoC;IACpC,0BAA0B;IAC1B,kCAAkC;IAClC,iCAAiC;IACjC,kCAAkC;IAClC,uCAAuC;IACvC,4BAA4B;IAC5B,qCAAqC;IACrC,uBAAuB;IACvB,kCAAkC;IAClC,wCAAwC;IACxC,+BAA+B;IAC/B,qCAAqC;IACrC,qCAAqC;IACrC,yBAAyB;IACzB,kCAAkC;IAClC,sBAAsB;IACtB,4BAA4B;IAC5B,yBAAyB;IACzB,mCAAmC;IACnC,gDAAgD;IAChD,+BAA+B;IAC/B,iCAAiC;IACjC,uBAAuB;IACvB,kBAAkB;IAClB,+BAA+B;IAC/B,yBAAyB;IACzB,0BAA0B;IAC1B,iCAAiC;CACzB,CAAC;AAqDE,QAAA,QAAQ,GAAG,kBAAc,CAAC"}
@@ -0,0 +1,24 @@
1
+ /**
2
+ * @since 1.0.0
3
+ */
4
+ import { OrganizationsClient } from "@aws-sdk/client-organizations";
5
+ import { Context, Effect, Layer } from "effect";
6
+ declare const OrganizationsClientInstance_base: Context.TagClass<OrganizationsClientInstance, "@effect-aws/client-organizations/OrganizationsClientInstance", OrganizationsClient>;
7
+ /**
8
+ * @since 1.0.0
9
+ * @category tags
10
+ */
11
+ export declare class OrganizationsClientInstance extends OrganizationsClientInstance_base {
12
+ }
13
+ /**
14
+ * @since 1.0.0
15
+ * @category constructors
16
+ */
17
+ export declare const make: Effect.Effect<OrganizationsClient, never, import("effect/Scope").Scope>;
18
+ /**
19
+ * @since 1.0.0
20
+ * @category layers
21
+ */
22
+ export declare const layer: Layer.Layer<OrganizationsClientInstance, never, never>;
23
+ export {};
24
+ //# sourceMappingURL=OrganizationsClientInstance.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OrganizationsClientInstance.d.ts","sourceRoot":"","sources":["../../src/OrganizationsClientInstance.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;;AAGhD;;;GAGG;AACH,qBAAa,2BAA4B,SAAQ,gCAEI;CAAG;AAExD;;;GAGG;AACH,eAAO,MAAM,IAAI,yEAOhB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,KAAK,wDAAkD,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.OrganizationsClientInstance = void 0;
27
+ /**
28
+ * @since 1.0.0
29
+ */
30
+ const client_organizations_1 = require("@aws-sdk/client-organizations");
31
+ const effect_1 = require("effect");
32
+ const OrganizationsServiceConfig = __importStar(require("./OrganizationsServiceConfig.js"));
33
+ /**
34
+ * @since 1.0.0
35
+ * @category tags
36
+ */
37
+ class OrganizationsClientInstance extends effect_1.Context.Tag("@effect-aws/client-organizations/OrganizationsClientInstance")() {
38
+ }
39
+ exports.OrganizationsClientInstance = OrganizationsClientInstance;
40
+ /**
41
+ * @since 1.0.0
42
+ * @category constructors
43
+ */
44
+ exports.make = effect_1.Effect.flatMap(OrganizationsServiceConfig.toOrganizationsClientConfig, (config) => effect_1.Effect.acquireRelease(effect_1.Effect.sync(() => new client_organizations_1.OrganizationsClient(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(OrganizationsClientInstance, exports.make);
50
+ //# sourceMappingURL=OrganizationsClientInstance.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OrganizationsClientInstance.js","sourceRoot":"","sources":["../../src/OrganizationsClientInstance.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,wEAAoE;AACpE,mCAAgD;AAChD,4FAA8E;AAE9E;;;GAGG;AACH,MAAa,2BAA4B,SAAQ,gBAAO,CAAC,GAAG,CAC1D,8DAA8D,CAC/D,EAAoD;CAAG;AAFxD,kEAEwD;AAExD;;;GAGG;AACU,QAAA,IAAI,GAAG,eAAM,CAAC,OAAO,CAChC,0BAA0B,CAAC,2BAA2B,EACtD,CAAC,MAAM,EAAE,EAAE,CACT,eAAM,CAAC,cAAc,CACnB,eAAM,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,IAAI,0CAAmB,CAAC,MAAM,CAAC,CAAC,EAClD,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,2BAA2B,EAAE,YAAI,CAAC,CAAC"}
@@ -1,21 +1,11 @@
1
1
  /**
2
2
  * @since 1.0.0
3
3
  */
4
- import { type OrganizationsClient, type OrganizationsClientConfig, type AcceptHandshakeCommandInput, type AcceptHandshakeCommandOutput, type AttachPolicyCommandInput, type AttachPolicyCommandOutput, type CancelHandshakeCommandInput, type CancelHandshakeCommandOutput, type CloseAccountCommandInput, type CloseAccountCommandOutput, type CreateAccountCommandInput, type CreateAccountCommandOutput, type CreateGovCloudAccountCommandInput, type CreateGovCloudAccountCommandOutput, type CreateOrganizationCommandInput, type CreateOrganizationCommandOutput, type CreateOrganizationalUnitCommandInput, type CreateOrganizationalUnitCommandOutput, type CreatePolicyCommandInput, type CreatePolicyCommandOutput, type DeclineHandshakeCommandInput, type DeclineHandshakeCommandOutput, type DeleteOrganizationCommandInput, type DeleteOrganizationCommandOutput, type DeleteOrganizationalUnitCommandInput, type DeleteOrganizationalUnitCommandOutput, type DeletePolicyCommandInput, type DeletePolicyCommandOutput, type DeleteResourcePolicyCommandInput, type DeleteResourcePolicyCommandOutput, type DeregisterDelegatedAdministratorCommandInput, type DeregisterDelegatedAdministratorCommandOutput, type DescribeAccountCommandInput, type DescribeAccountCommandOutput, type DescribeCreateAccountStatusCommandInput, type DescribeCreateAccountStatusCommandOutput, type DescribeEffectivePolicyCommandInput, type DescribeEffectivePolicyCommandOutput, type DescribeHandshakeCommandInput, type DescribeHandshakeCommandOutput, type DescribeOrganizationCommandInput, type DescribeOrganizationCommandOutput, type DescribeOrganizationalUnitCommandInput, type DescribeOrganizationalUnitCommandOutput, type DescribePolicyCommandInput, type DescribePolicyCommandOutput, type DescribeResourcePolicyCommandInput, type DescribeResourcePolicyCommandOutput, type DetachPolicyCommandInput, type DetachPolicyCommandOutput, type DisableAWSServiceAccessCommandInput, type DisableAWSServiceAccessCommandOutput, type DisablePolicyTypeCommandInput, type DisablePolicyTypeCommandOutput, type EnableAWSServiceAccessCommandInput, type EnableAWSServiceAccessCommandOutput, type EnableAllFeaturesCommandInput, type EnableAllFeaturesCommandOutput, type EnablePolicyTypeCommandInput, type EnablePolicyTypeCommandOutput, type InviteAccountToOrganizationCommandInput, type InviteAccountToOrganizationCommandOutput, type LeaveOrganizationCommandInput, type LeaveOrganizationCommandOutput, type ListAWSServiceAccessForOrganizationCommandInput, type ListAWSServiceAccessForOrganizationCommandOutput, type ListAccountsCommandInput, type ListAccountsCommandOutput, type ListAccountsForParentCommandInput, type ListAccountsForParentCommandOutput, type ListChildrenCommandInput, type ListChildrenCommandOutput, type ListCreateAccountStatusCommandInput, type ListCreateAccountStatusCommandOutput, type ListDelegatedAdministratorsCommandInput, type ListDelegatedAdministratorsCommandOutput, type ListDelegatedServicesForAccountCommandInput, type ListDelegatedServicesForAccountCommandOutput, type ListHandshakesForAccountCommandInput, type ListHandshakesForAccountCommandOutput, type ListHandshakesForOrganizationCommandInput, type ListHandshakesForOrganizationCommandOutput, type ListOrganizationalUnitsForParentCommandInput, type ListOrganizationalUnitsForParentCommandOutput, type ListParentsCommandInput, type ListParentsCommandOutput, type ListPoliciesCommandInput, type ListPoliciesCommandOutput, type ListPoliciesForTargetCommandInput, type ListPoliciesForTargetCommandOutput, type ListRootsCommandInput, type ListRootsCommandOutput, type ListTagsForResourceCommandInput, type ListTagsForResourceCommandOutput, type ListTargetsForPolicyCommandInput, type ListTargetsForPolicyCommandOutput, type MoveAccountCommandInput, type MoveAccountCommandOutput, type PutResourcePolicyCommandInput, type PutResourcePolicyCommandOutput, type RegisterDelegatedAdministratorCommandInput, type RegisterDelegatedAdministratorCommandOutput, type RemoveAccountFromOrganizationCommandInput, type RemoveAccountFromOrganizationCommandOutput, type TagResourceCommandInput, type TagResourceCommandOutput, type UntagResourceCommandInput, type UntagResourceCommandOutput, type UpdateOrganizationalUnitCommandInput, type UpdateOrganizationalUnitCommandOutput, type UpdatePolicyCommandInput, type UpdatePolicyCommandOutput } from "@aws-sdk/client-organizations";
4
+ import { type AcceptHandshakeCommandInput, type AcceptHandshakeCommandOutput, type AttachPolicyCommandInput, type AttachPolicyCommandOutput, type CancelHandshakeCommandInput, type CancelHandshakeCommandOutput, type CloseAccountCommandInput, type CloseAccountCommandOutput, type CreateAccountCommandInput, type CreateAccountCommandOutput, type CreateGovCloudAccountCommandInput, type CreateGovCloudAccountCommandOutput, type CreateOrganizationalUnitCommandInput, type CreateOrganizationalUnitCommandOutput, type CreateOrganizationCommandInput, type CreateOrganizationCommandOutput, type CreatePolicyCommandInput, type CreatePolicyCommandOutput, type DeclineHandshakeCommandInput, type DeclineHandshakeCommandOutput, type DeleteOrganizationalUnitCommandInput, type DeleteOrganizationalUnitCommandOutput, type DeleteOrganizationCommandInput, type DeleteOrganizationCommandOutput, type DeletePolicyCommandInput, type DeletePolicyCommandOutput, type DeleteResourcePolicyCommandInput, type DeleteResourcePolicyCommandOutput, type DeregisterDelegatedAdministratorCommandInput, type DeregisterDelegatedAdministratorCommandOutput, type DescribeAccountCommandInput, type DescribeAccountCommandOutput, type DescribeCreateAccountStatusCommandInput, type DescribeCreateAccountStatusCommandOutput, type DescribeEffectivePolicyCommandInput, type DescribeEffectivePolicyCommandOutput, type DescribeHandshakeCommandInput, type DescribeHandshakeCommandOutput, type DescribeOrganizationalUnitCommandInput, type DescribeOrganizationalUnitCommandOutput, type DescribeOrganizationCommandInput, type DescribeOrganizationCommandOutput, type DescribePolicyCommandInput, type DescribePolicyCommandOutput, type DescribeResourcePolicyCommandInput, type DescribeResourcePolicyCommandOutput, type DetachPolicyCommandInput, type DetachPolicyCommandOutput, type DisableAWSServiceAccessCommandInput, type DisableAWSServiceAccessCommandOutput, type DisablePolicyTypeCommandInput, type DisablePolicyTypeCommandOutput, type EnableAllFeaturesCommandInput, type EnableAllFeaturesCommandOutput, type EnableAWSServiceAccessCommandInput, type EnableAWSServiceAccessCommandOutput, type EnablePolicyTypeCommandInput, type EnablePolicyTypeCommandOutput, type InviteAccountToOrganizationCommandInput, type InviteAccountToOrganizationCommandOutput, type LeaveOrganizationCommandInput, type LeaveOrganizationCommandOutput, type ListAccountsCommandInput, type ListAccountsCommandOutput, type ListAccountsForParentCommandInput, type ListAccountsForParentCommandOutput, type ListAWSServiceAccessForOrganizationCommandInput, type ListAWSServiceAccessForOrganizationCommandOutput, type ListChildrenCommandInput, type ListChildrenCommandOutput, type ListCreateAccountStatusCommandInput, type ListCreateAccountStatusCommandOutput, type ListDelegatedAdministratorsCommandInput, type ListDelegatedAdministratorsCommandOutput, type ListDelegatedServicesForAccountCommandInput, type ListDelegatedServicesForAccountCommandOutput, type ListHandshakesForAccountCommandInput, type ListHandshakesForAccountCommandOutput, type ListHandshakesForOrganizationCommandInput, type ListHandshakesForOrganizationCommandOutput, type ListOrganizationalUnitsForParentCommandInput, type ListOrganizationalUnitsForParentCommandOutput, type ListParentsCommandInput, type ListParentsCommandOutput, type ListPoliciesCommandInput, type ListPoliciesCommandOutput, type ListPoliciesForTargetCommandInput, type ListPoliciesForTargetCommandOutput, type ListRootsCommandInput, type ListRootsCommandOutput, type ListTagsForResourceCommandInput, type ListTagsForResourceCommandOutput, type ListTargetsForPolicyCommandInput, type ListTargetsForPolicyCommandOutput, type MoveAccountCommandInput, type MoveAccountCommandOutput, type OrganizationsClient, type OrganizationsClientConfig, type PutResourcePolicyCommandInput, type PutResourcePolicyCommandOutput, type RegisterDelegatedAdministratorCommandInput, type RegisterDelegatedAdministratorCommandOutput, type RemoveAccountFromOrganizationCommandInput, type RemoveAccountFromOrganizationCommandOutput, type TagResourceCommandInput, type TagResourceCommandOutput, type UntagResourceCommandInput, type UntagResourceCommandOutput, type UpdateOrganizationalUnitCommandInput, type UpdateOrganizationalUnitCommandOutput, type UpdatePolicyCommandInput, type UpdatePolicyCommandOutput } from "@aws-sdk/client-organizations";
5
+ import type { HttpHandlerOptions, SdkError, ServiceLogger } from "@effect-aws/commons";
5
6
  import { Effect, Layer } from "effect";
6
- import { AWSOrganizationsNotInUseError, AccessDeniedError, AccessDeniedForDependencyError, AccountAlreadyClosedError, AccountAlreadyRegisteredError, AccountNotFoundError, AccountNotRegisteredError, AccountOwnerNotVerifiedError, AlreadyInOrganizationError, ChildNotFoundError, ConcurrentModificationError, ConflictError, ConstraintViolationError, CreateAccountStatusNotFoundError, DestinationParentNotFoundError, DuplicateAccountError, DuplicateHandshakeError, DuplicateOrganizationalUnitError, DuplicatePolicyAttachmentError, DuplicatePolicyError, EffectivePolicyNotFoundError, FinalizingOrganizationError, HandshakeAlreadyInStateError, HandshakeConstraintViolationError, HandshakeNotFoundError, InvalidHandshakeTransitionError, InvalidInputError, MalformedPolicyDocumentError, MasterCannotLeaveOrganizationError, OrganizationNotEmptyError, OrganizationalUnitNotEmptyError, OrganizationalUnitNotFoundError, ParentNotFoundError, PolicyChangesInProgressError, PolicyInUseError, PolicyNotAttachedError, PolicyNotFoundError, PolicyTypeAlreadyEnabledError, PolicyTypeNotAvailableForOrganizationError, PolicyTypeNotEnabledError, ResourcePolicyNotFoundError, RootNotFoundError, ServiceError, SourceParentNotFoundError, TargetNotFoundError, TooManyRequestsError, UnsupportedAPIEndpointError, SdkError } from "./Errors";
7
- import { OrganizationsClientInstance } from "./OrganizationsClientInstance";
8
- import { OrganizationsClientInstanceConfig } from "./OrganizationsClientInstanceConfig";
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 type { AccessDeniedError, AccessDeniedForDependencyError, AccountAlreadyClosedError, AccountAlreadyRegisteredError, AccountNotFoundError, AccountNotRegisteredError, AccountOwnerNotVerifiedError, AlreadyInOrganizationError, AWSOrganizationsNotInUseError, ChildNotFoundError, ConcurrentModificationError, ConflictError, ConstraintViolationError, CreateAccountStatusNotFoundError, DestinationParentNotFoundError, DuplicateAccountError, DuplicateHandshakeError, DuplicateOrganizationalUnitError, DuplicatePolicyAttachmentError, DuplicatePolicyError, EffectivePolicyNotFoundError, FinalizingOrganizationError, HandshakeAlreadyInStateError, HandshakeConstraintViolationError, HandshakeNotFoundError, InvalidHandshakeTransitionError, InvalidInputError, MalformedPolicyDocumentError, MasterCannotLeaveOrganizationError, OrganizationalUnitNotEmptyError, OrganizationalUnitNotFoundError, OrganizationNotEmptyError, ParentNotFoundError, PolicyChangesInProgressError, PolicyInUseError, PolicyNotAttachedError, PolicyNotFoundError, PolicyTypeAlreadyEnabledError, PolicyTypeNotAvailableForOrganizationError, PolicyTypeNotEnabledError, ResourcePolicyNotFoundError, RootNotFoundError, ServiceError, SourceParentNotFoundError, TargetNotFoundError, TooManyRequestsError, UnsupportedAPIEndpointError } from "./Errors.js";
8
+ import * as Instance from "./OrganizationsClientInstance.js";
19
9
  interface OrganizationsService$ {
20
10
  readonly _: unique symbol;
21
11
  /**
@@ -129,7 +119,7 @@ interface OrganizationsService$ {
129
119
  /**
130
120
  * @see {@link EnableAllFeaturesCommand}
131
121
  */
132
- enableAllFeatures(args: EnableAllFeaturesCommandInput, options?: HttpHandlerOptions): Effect.Effect<EnableAllFeaturesCommandOutput, SdkError | AccessDeniedError | AWSOrganizationsNotInUseError | ConcurrentModificationError | HandshakeConstraintViolationError | InvalidInputError | ServiceError | TooManyRequestsError>;
122
+ enableAllFeatures(args: EnableAllFeaturesCommandInput, options?: HttpHandlerOptions): Effect.Effect<EnableAllFeaturesCommandOutput, SdkError | AccessDeniedError | AWSOrganizationsNotInUseError | ConcurrentModificationError | ConstraintViolationError | HandshakeConstraintViolationError | InvalidInputError | ServiceError | TooManyRequestsError>;
133
123
  /**
134
124
  * @see {@link EnablePolicyTypeCommand}
135
125
  */
@@ -243,7 +233,7 @@ interface OrganizationsService$ {
243
233
  * @since 1.0.0
244
234
  * @category constructors
245
235
  */
246
- export declare const makeOrganizationsService: Effect.Effect<OrganizationsService$, never, OrganizationsClientInstance>;
236
+ export declare const makeOrganizationsService: Effect.Effect<OrganizationsService$, never, Instance.OrganizationsClientInstance>;
247
237
  declare const OrganizationsService_base: import("effect/Context").TagClass<OrganizationsService, "@effect-aws/client-organizations/OrganizationsService", OrganizationsService$> & {
248
238
  readonly _: Effect.Effect<OrganizationsService$["_"], never, OrganizationsService>;
249
239
  acceptHandshake: (args: AcceptHandshakeCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<AcceptHandshakeCommandOutput, AWSOrganizationsNotInUseError | AccessDeniedError | AccessDeniedForDependencyError | ConcurrentModificationError | HandshakeAlreadyInStateError | HandshakeConstraintViolationError | HandshakeNotFoundError | InvalidHandshakeTransitionError | InvalidInputError | ServiceError | TooManyRequestsError | SdkError, OrganizationsService>;
@@ -273,7 +263,7 @@ declare const OrganizationsService_base: import("effect/Context").TagClass<Organ
273
263
  disableAWSServiceAccess: (args: DisableAWSServiceAccessCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DisableAWSServiceAccessCommandOutput, AWSOrganizationsNotInUseError | AccessDeniedError | ConcurrentModificationError | ConstraintViolationError | InvalidInputError | ServiceError | TooManyRequestsError | UnsupportedAPIEndpointError | SdkError, OrganizationsService>;
274
264
  disablePolicyType: (args: DisablePolicyTypeCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<DisablePolicyTypeCommandOutput, AWSOrganizationsNotInUseError | AccessDeniedError | ConcurrentModificationError | ConstraintViolationError | InvalidInputError | PolicyChangesInProgressError | PolicyTypeNotEnabledError | RootNotFoundError | ServiceError | TooManyRequestsError | UnsupportedAPIEndpointError | SdkError, OrganizationsService>;
275
265
  enableAWSServiceAccess: (args: EnableAWSServiceAccessCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<EnableAWSServiceAccessCommandOutput, AWSOrganizationsNotInUseError | AccessDeniedError | ConcurrentModificationError | ConstraintViolationError | InvalidInputError | ServiceError | TooManyRequestsError | UnsupportedAPIEndpointError | SdkError, OrganizationsService>;
276
- enableAllFeatures: (args: EnableAllFeaturesCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<EnableAllFeaturesCommandOutput, AWSOrganizationsNotInUseError | AccessDeniedError | ConcurrentModificationError | HandshakeConstraintViolationError | InvalidInputError | ServiceError | TooManyRequestsError | SdkError, OrganizationsService>;
266
+ enableAllFeatures: (args: EnableAllFeaturesCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<EnableAllFeaturesCommandOutput, AWSOrganizationsNotInUseError | AccessDeniedError | ConcurrentModificationError | ConstraintViolationError | HandshakeConstraintViolationError | InvalidInputError | ServiceError | TooManyRequestsError | SdkError, OrganizationsService>;
277
267
  enablePolicyType: (args: EnablePolicyTypeCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<EnablePolicyTypeCommandOutput, AWSOrganizationsNotInUseError | AccessDeniedError | ConcurrentModificationError | ConstraintViolationError | InvalidInputError | PolicyChangesInProgressError | PolicyTypeAlreadyEnabledError | PolicyTypeNotAvailableForOrganizationError | RootNotFoundError | ServiceError | TooManyRequestsError | UnsupportedAPIEndpointError | SdkError, OrganizationsService>;
278
268
  inviteAccountToOrganization: (args: InviteAccountToOrganizationCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<InviteAccountToOrganizationCommandOutput, AWSOrganizationsNotInUseError | AccessDeniedError | AccountOwnerNotVerifiedError | ConcurrentModificationError | ConstraintViolationError | DuplicateHandshakeError | FinalizingOrganizationError | HandshakeConstraintViolationError | InvalidInputError | ServiceError | TooManyRequestsError | SdkError, OrganizationsService>;
279
269
  leaveOrganization: (args: LeaveOrganizationCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<LeaveOrganizationCommandOutput, AWSOrganizationsNotInUseError | AccessDeniedError | AccountNotFoundError | ConcurrentModificationError | ConstraintViolationError | InvalidInputError | MasterCannotLeaveOrganizationError | ServiceError | TooManyRequestsError | SdkError, OrganizationsService>;
@@ -302,7 +292,7 @@ declare const OrganizationsService_base: import("effect/Context").TagClass<Organ
302
292
  updateOrganizationalUnit: (args: UpdateOrganizationalUnitCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<UpdateOrganizationalUnitCommandOutput, AWSOrganizationsNotInUseError | AccessDeniedError | ConcurrentModificationError | DuplicateOrganizationalUnitError | InvalidInputError | OrganizationalUnitNotFoundError | ServiceError | TooManyRequestsError | SdkError, OrganizationsService>;
303
293
  updatePolicy: (args: UpdatePolicyCommandInput, options?: HttpHandlerOptions | undefined) => Effect.Effect<UpdatePolicyCommandOutput, AWSOrganizationsNotInUseError | AccessDeniedError | ConcurrentModificationError | ConstraintViolationError | DuplicatePolicyError | InvalidInputError | MalformedPolicyDocumentError | PolicyChangesInProgressError | PolicyNotFoundError | ServiceError | TooManyRequestsError | UnsupportedAPIEndpointError | SdkError, OrganizationsService>;
304
294
  } & {
305
- use: <X>(body: (_: OrganizationsService$) => X) => X extends Effect.Effect<infer A, infer E, infer R> ? Effect.Effect<A, E, R | OrganizationsService> : Effect.Effect<X, never, OrganizationsService>;
295
+ use: <X>(body: (_: OrganizationsService$) => X) => X extends Effect.Effect<infer A, infer E, infer R> ? Effect.Effect<A, E, OrganizationsService | R> : Effect.Effect<X, never, OrganizationsService>;
306
296
  };
307
297
  /**
308
298
  * @since 1.0.0
@@ -310,31 +300,19 @@ declare const OrganizationsService_base: import("effect/Context").TagClass<Organ
310
300
  */
311
301
  export declare class OrganizationsService extends OrganizationsService_base {
312
302
  static readonly defaultLayer: Layer.Layer<OrganizationsService, never, never>;
313
- static readonly layer: (config: OrganizationsClientConfig) => Layer.Layer<OrganizationsService, never, never>;
303
+ static readonly layer: (config: OrganizationsService.Config) => Layer.Layer<OrganizationsService, never, never>;
314
304
  static readonly baseLayer: (evaluate: (defaultConfig: OrganizationsClientConfig) => OrganizationsClient) => Layer.Layer<OrganizationsService, never, never>;
315
305
  }
316
306
  /**
317
307
  * @since 1.0.0
318
- * @category models
319
- * @alias OrganizationsService
320
- */
321
- export declare const Organizations: typeof OrganizationsService;
322
- /**
323
- * @since 1.0.0
324
- * @category layers
325
- * @deprecated use Organizations.baseLayer instead
326
308
  */
327
- export declare const BaseOrganizationsServiceLayer: Layer.Layer<OrganizationsService, never, OrganizationsClientInstance>;
328
- /**
329
- * @since 1.0.0
330
- * @category layers
331
- * @deprecated use Organizations.layer instead
332
- */
333
- export declare const OrganizationsServiceLayer: Layer.Layer<OrganizationsService, never, OrganizationsClientInstanceConfig>;
334
- /**
335
- * @since 1.0.0
336
- * @category layers
337
- * @deprecated use Organizations.defaultLayer instead
338
- */
339
- export declare const DefaultOrganizationsServiceLayer: Layer.Layer<OrganizationsService, never, never>;
309
+ export declare namespace OrganizationsService {
310
+ /**
311
+ * @since 1.0.0
312
+ */
313
+ interface Config extends Omit<OrganizationsClientConfig, "logger"> {
314
+ readonly logger?: ServiceLogger.ServiceLoggerConstructorProps | true;
315
+ }
316
+ }
340
317
  export {};
318
+ //# sourceMappingURL=OrganizationsService.d.ts.map
@@ -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L;AAED;;GAEG;AACH,MAAM,CAAC,OAAO,WAAW,oBAAoB,CAAC;IAC5C;;OAEG;IACH,UAAiB,MAAO,SAAQ,IAAI,CAAC,yBAAyB,EAAE,QAAQ,CAAC;QACvE,QAAQ,CAAC,MAAM,CAAC,EAAE,aAAa,CAAC,6BAA6B,GAAG,IAAI,CAAC;KACtE;CACF"}
@@ -0,0 +1,111 @@
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.OrganizationsService = exports.makeOrganizationsService = void 0;
27
+ /**
28
+ * @since 1.0.0
29
+ */
30
+ const client_organizations_1 = require("@aws-sdk/client-organizations");
31
+ const commons_1 = require("@effect-aws/commons");
32
+ const effect_1 = require("effect");
33
+ const Errors_js_1 = require("./Errors.js");
34
+ const Instance = __importStar(require("./OrganizationsClientInstance.js"));
35
+ const OrganizationsServiceConfig = __importStar(require("./OrganizationsServiceConfig.js"));
36
+ const commands = {
37
+ AcceptHandshakeCommand: client_organizations_1.AcceptHandshakeCommand,
38
+ AttachPolicyCommand: client_organizations_1.AttachPolicyCommand,
39
+ CancelHandshakeCommand: client_organizations_1.CancelHandshakeCommand,
40
+ CloseAccountCommand: client_organizations_1.CloseAccountCommand,
41
+ CreateAccountCommand: client_organizations_1.CreateAccountCommand,
42
+ CreateGovCloudAccountCommand: client_organizations_1.CreateGovCloudAccountCommand,
43
+ CreateOrganizationCommand: client_organizations_1.CreateOrganizationCommand,
44
+ CreateOrganizationalUnitCommand: client_organizations_1.CreateOrganizationalUnitCommand,
45
+ CreatePolicyCommand: client_organizations_1.CreatePolicyCommand,
46
+ DeclineHandshakeCommand: client_organizations_1.DeclineHandshakeCommand,
47
+ DeleteOrganizationCommand: client_organizations_1.DeleteOrganizationCommand,
48
+ DeleteOrganizationalUnitCommand: client_organizations_1.DeleteOrganizationalUnitCommand,
49
+ DeletePolicyCommand: client_organizations_1.DeletePolicyCommand,
50
+ DeleteResourcePolicyCommand: client_organizations_1.DeleteResourcePolicyCommand,
51
+ DeregisterDelegatedAdministratorCommand: client_organizations_1.DeregisterDelegatedAdministratorCommand,
52
+ DescribeAccountCommand: client_organizations_1.DescribeAccountCommand,
53
+ DescribeCreateAccountStatusCommand: client_organizations_1.DescribeCreateAccountStatusCommand,
54
+ DescribeEffectivePolicyCommand: client_organizations_1.DescribeEffectivePolicyCommand,
55
+ DescribeHandshakeCommand: client_organizations_1.DescribeHandshakeCommand,
56
+ DescribeOrganizationCommand: client_organizations_1.DescribeOrganizationCommand,
57
+ DescribeOrganizationalUnitCommand: client_organizations_1.DescribeOrganizationalUnitCommand,
58
+ DescribePolicyCommand: client_organizations_1.DescribePolicyCommand,
59
+ DescribeResourcePolicyCommand: client_organizations_1.DescribeResourcePolicyCommand,
60
+ DetachPolicyCommand: client_organizations_1.DetachPolicyCommand,
61
+ DisableAWSServiceAccessCommand: client_organizations_1.DisableAWSServiceAccessCommand,
62
+ DisablePolicyTypeCommand: client_organizations_1.DisablePolicyTypeCommand,
63
+ EnableAWSServiceAccessCommand: client_organizations_1.EnableAWSServiceAccessCommand,
64
+ EnableAllFeaturesCommand: client_organizations_1.EnableAllFeaturesCommand,
65
+ EnablePolicyTypeCommand: client_organizations_1.EnablePolicyTypeCommand,
66
+ InviteAccountToOrganizationCommand: client_organizations_1.InviteAccountToOrganizationCommand,
67
+ LeaveOrganizationCommand: client_organizations_1.LeaveOrganizationCommand,
68
+ ListAWSServiceAccessForOrganizationCommand: client_organizations_1.ListAWSServiceAccessForOrganizationCommand,
69
+ ListAccountsCommand: client_organizations_1.ListAccountsCommand,
70
+ ListAccountsForParentCommand: client_organizations_1.ListAccountsForParentCommand,
71
+ ListChildrenCommand: client_organizations_1.ListChildrenCommand,
72
+ ListCreateAccountStatusCommand: client_organizations_1.ListCreateAccountStatusCommand,
73
+ ListDelegatedAdministratorsCommand: client_organizations_1.ListDelegatedAdministratorsCommand,
74
+ ListDelegatedServicesForAccountCommand: client_organizations_1.ListDelegatedServicesForAccountCommand,
75
+ ListHandshakesForAccountCommand: client_organizations_1.ListHandshakesForAccountCommand,
76
+ ListHandshakesForOrganizationCommand: client_organizations_1.ListHandshakesForOrganizationCommand,
77
+ ListOrganizationalUnitsForParentCommand: client_organizations_1.ListOrganizationalUnitsForParentCommand,
78
+ ListParentsCommand: client_organizations_1.ListParentsCommand,
79
+ ListPoliciesCommand: client_organizations_1.ListPoliciesCommand,
80
+ ListPoliciesForTargetCommand: client_organizations_1.ListPoliciesForTargetCommand,
81
+ ListRootsCommand: client_organizations_1.ListRootsCommand,
82
+ ListTagsForResourceCommand: client_organizations_1.ListTagsForResourceCommand,
83
+ ListTargetsForPolicyCommand: client_organizations_1.ListTargetsForPolicyCommand,
84
+ MoveAccountCommand: client_organizations_1.MoveAccountCommand,
85
+ PutResourcePolicyCommand: client_organizations_1.PutResourcePolicyCommand,
86
+ RegisterDelegatedAdministratorCommand: client_organizations_1.RegisterDelegatedAdministratorCommand,
87
+ RemoveAccountFromOrganizationCommand: client_organizations_1.RemoveAccountFromOrganizationCommand,
88
+ TagResourceCommand: client_organizations_1.TagResourceCommand,
89
+ UntagResourceCommand: client_organizations_1.UntagResourceCommand,
90
+ UpdateOrganizationalUnitCommand: client_organizations_1.UpdateOrganizationalUnitCommand,
91
+ UpdatePolicyCommand: client_organizations_1.UpdatePolicyCommand,
92
+ };
93
+ /**
94
+ * @since 1.0.0
95
+ * @category constructors
96
+ */
97
+ exports.makeOrganizationsService = effect_1.Effect.gen(function* () {
98
+ const client = yield* Instance.OrganizationsClientInstance;
99
+ return commons_1.Service.fromClientAndCommands(client, commands, Errors_js_1.AllServiceErrors);
100
+ });
101
+ /**
102
+ * @since 1.0.0
103
+ * @category models
104
+ */
105
+ class OrganizationsService extends effect_1.Effect.Tag("@effect-aws/client-organizations/OrganizationsService")() {
106
+ static defaultLayer = effect_1.Layer.effect(this, exports.makeOrganizationsService).pipe(effect_1.Layer.provide(Instance.layer));
107
+ static layer = (config) => effect_1.Layer.effect(this, exports.makeOrganizationsService).pipe(effect_1.Layer.provide(Instance.layer), effect_1.Layer.provide(OrganizationsServiceConfig.setOrganizationsServiceConfig(config)));
108
+ static baseLayer = (evaluate) => effect_1.Layer.effect(this, exports.makeOrganizationsService).pipe(effect_1.Layer.provide(effect_1.Layer.effect(Instance.OrganizationsClientInstance, effect_1.Effect.map(OrganizationsServiceConfig.toOrganizationsClientConfig, evaluate))));
109
+ }
110
+ exports.OrganizationsService = OrganizationsService;
111
+ //# sourceMappingURL=OrganizationsService.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OrganizationsService.js","sourceRoot":"","sources":["../../src/OrganizationsService.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,wEAwKuC;AAEvC,iDAA8C;AAC9C,mCAAuC;AAkDvC,2CAA+C;AAC/C,2EAA6D;AAC7D,4FAA8E;AAE9E,MAAM,QAAQ,GAAG;IACf,sBAAsB,EAAtB,6CAAsB;IACtB,mBAAmB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3E,EAAE,CACF,cAAK,CAAC,MAAM,CAAC,IAAI,EAAE,gCAAwB,CAAC,CAAC,IAAI,CAC/C,cAAK,CAAC,OAAO,CACX,cAAK,CAAC,MAAM,CACV,QAAQ,CAAC,2BAA2B,EACpC,eAAM,CAAC,GAAG,CAAC,0BAA0B,CAAC,2BAA2B,EAAE,QAAQ,CAAC,CAC7E,CACF,CACF,CAAC;;AApBN,oDAqBC"}
@@ -0,0 +1,25 @@
1
+ /**
2
+ * @since 1.0.0
3
+ */
4
+ import type { OrganizationsClientConfig } from "@aws-sdk/client-organizations";
5
+ import { Effect, Layer } from "effect";
6
+ import type { OrganizationsService } from "./OrganizationsService.js";
7
+ /**
8
+ * @since 1.0.0
9
+ * @category organizations service config
10
+ */
11
+ export declare const withOrganizationsServiceConfig: {
12
+ (config: OrganizationsService.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: OrganizationsService.Config): Effect.Effect<A, E, R>;
14
+ };
15
+ /**
16
+ * @since 1.0.0
17
+ * @category organizations service config
18
+ */
19
+ export declare const setOrganizationsServiceConfig: (config: OrganizationsService.Config) => Layer.Layer<never, never, never>;
20
+ /**
21
+ * @since 1.0.0
22
+ * @category adapters
23
+ */
24
+ export declare const toOrganizationsClientConfig: Effect.Effect<OrganizationsClientConfig>;
25
+ //# sourceMappingURL=OrganizationsServiceConfig.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OrganizationsServiceConfig.d.ts","sourceRoot":"","sources":["../../src/OrganizationsServiceConfig.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AAE/E,OAAO,EAAE,MAAM,EAAY,KAAK,EAAE,MAAM,QAAQ,CAAC;AAGjD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAWtE;;;GAGG;AACH,eAAO,MAAM,8BAA8B,EAAE;IAC3C,CAAC,MAAM,EAAE,oBAAoB,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;IAC3G,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,oBAAoB,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;CAKxG,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,6BAA6B,WAAY,qBAAqB,MAAM,qCACjB,CAAC;AAEjE;;;GAGG;AACH,eAAO,MAAM,2BAA2B,EAAE,MAAM,CAAC,MAAM,CAAC,yBAAyB,CAQ/E,CAAC"}
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.toOrganizationsClientConfig = exports.setOrganizationsServiceConfig = exports.withOrganizationsServiceConfig = 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 organizations service config
11
+ */
12
+ const currentOrganizationsServiceConfig = (0, GlobalValue_1.globalValue)("@effect-aws/client-organizations/currentOrganizationsServiceConfig", () => effect_1.FiberRef.unsafeMake({}));
13
+ /**
14
+ * @since 1.0.0
15
+ * @category organizations service config
16
+ */
17
+ exports.withOrganizationsServiceConfig = (0, Function_1.dual)(2, (effect, config) => effect_1.Effect.locally(effect, currentOrganizationsServiceConfig, config));
18
+ /**
19
+ * @since 1.0.0
20
+ * @category organizations service config
21
+ */
22
+ const setOrganizationsServiceConfig = (config) => effect_1.Layer.locallyScoped(currentOrganizationsServiceConfig, config);
23
+ exports.setOrganizationsServiceConfig = setOrganizationsServiceConfig;
24
+ /**
25
+ * @since 1.0.0
26
+ * @category adapters
27
+ */
28
+ exports.toOrganizationsClientConfig = effect_1.Effect.gen(function* () {
29
+ const { logger: serviceLogger, ...config } = yield* effect_1.FiberRef.get(currentOrganizationsServiceConfig);
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=OrganizationsServiceConfig.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OrganizationsServiceConfig.js","sourceRoot":"","sources":["../../src/OrganizationsServiceConfig.ts"],"names":[],"mappings":";;;AAIA,iDAAoD;AACpD,mCAAiD;AACjD,8CAAuC;AACvC,oDAAiD;AAGjD;;;GAGG;AACH,MAAM,iCAAiC,GAAG,IAAA,yBAAW,EACnD,oEAAoE,EACpE,GAAG,EAAE,CAAC,iBAAQ,CAAC,UAAU,CAA8B,EAAE,CAAC,CAC3D,CAAC;AAEF;;;GAGG;AACU,QAAA,8BAA8B,GAGvC,IAAA,eAAI,EACN,CAAC,EACD,CAAU,MAA8B,EAAE,MAAmC,EAA0B,EAAE,CACvG,eAAM,CAAC,OAAO,CAAC,MAAM,EAAE,iCAAiC,EAAE,MAAM,CAAC,CACpE,CAAC;AAEF;;;GAGG;AACI,MAAM,6BAA6B,GAAG,CAAC,MAAmC,EAAE,EAAE,CACnF,cAAK,CAAC,aAAa,CAAC,iCAAiC,EAAE,MAAM,CAAC,CAAC;AADpD,QAAA,6BAA6B,iCACuB;AAEjE;;;GAGG;AACU,QAAA,2BAA2B,GAA6C,eAAM,CAAC,GAAG,C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