@aws-sdk/client-organizations 3.1110.0 → 3.1112.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 (76) hide show
  1. package/dist-cjs/index.js +7 -1
  2. package/dist-es/models/enums.js +6 -0
  3. package/dist-types/commands/AcceptHandshakeCommand.d.ts +35 -7
  4. package/dist-types/commands/AttachPolicyCommand.d.ts +20 -4
  5. package/dist-types/commands/CancelHandshakeCommand.d.ts +3 -3
  6. package/dist-types/commands/CloseAccountCommand.d.ts +20 -4
  7. package/dist-types/commands/CreateAccountCommand.d.ts +20 -4
  8. package/dist-types/commands/CreateGovCloudAccountCommand.d.ts +21 -5
  9. package/dist-types/commands/CreateOrganizationCommand.d.ts +20 -4
  10. package/dist-types/commands/CreateOrganizationalUnitCommand.d.ts +20 -4
  11. package/dist-types/commands/CreatePolicyCommand.d.ts +20 -4
  12. package/dist-types/commands/DeclineHandshakeCommand.d.ts +3 -3
  13. package/dist-types/commands/DeleteOrganizationCommand.d.ts +20 -4
  14. package/dist-types/commands/DeleteOrganizationalUnitCommand.d.ts +3 -3
  15. package/dist-types/commands/DeletePolicyCommand.d.ts +3 -3
  16. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +17 -1
  17. package/dist-types/commands/DeregisterDelegatedAdministratorCommand.d.ts +20 -4
  18. package/dist-types/commands/DescribeAccountCommand.d.ts +3 -3
  19. package/dist-types/commands/DescribeCreateAccountStatusCommand.d.ts +3 -3
  20. package/dist-types/commands/DescribeEffectivePolicyCommand.d.ts +20 -4
  21. package/dist-types/commands/DescribeHandshakeCommand.d.ts +3 -3
  22. package/dist-types/commands/DescribeOrganizationalUnitCommand.d.ts +3 -3
  23. package/dist-types/commands/DescribePolicyCommand.d.ts +3 -3
  24. package/dist-types/commands/DescribeResourcePolicyCommand.d.ts +17 -1
  25. package/dist-types/commands/DescribeResponsibilityTransferCommand.d.ts +3 -3
  26. package/dist-types/commands/DetachPolicyCommand.d.ts +20 -4
  27. package/dist-types/commands/DisableAWSServiceAccessCommand.d.ts +20 -4
  28. package/dist-types/commands/DisablePolicyTypeCommand.d.ts +20 -4
  29. package/dist-types/commands/EnableAWSServiceAccessCommand.d.ts +20 -4
  30. package/dist-types/commands/EnableAllFeaturesCommand.d.ts +30 -7
  31. package/dist-types/commands/EnablePolicyTypeCommand.d.ts +20 -4
  32. package/dist-types/commands/InviteAccountToOrganizationCommand.d.ts +30 -7
  33. package/dist-types/commands/InviteOrganizationToTransferResponsibilityCommand.d.ts +30 -7
  34. package/dist-types/commands/LeaveOrganizationCommand.d.ts +20 -4
  35. package/dist-types/commands/ListAWSServiceAccessForOrganizationCommand.d.ts +20 -4
  36. package/dist-types/commands/ListAccountsCommand.d.ts +3 -3
  37. package/dist-types/commands/ListAccountsForParentCommand.d.ts +3 -3
  38. package/dist-types/commands/ListAccountsWithInvalidEffectivePolicyCommand.d.ts +20 -4
  39. package/dist-types/commands/ListChildrenCommand.d.ts +3 -3
  40. package/dist-types/commands/ListCreateAccountStatusCommand.d.ts +3 -3
  41. package/dist-types/commands/ListDelegatedAdministratorsCommand.d.ts +20 -4
  42. package/dist-types/commands/ListDelegatedServicesForAccountCommand.d.ts +20 -4
  43. package/dist-types/commands/ListEffectivePolicyValidationErrorsCommand.d.ts +20 -4
  44. package/dist-types/commands/ListHandshakesForAccountCommand.d.ts +3 -3
  45. package/dist-types/commands/ListHandshakesForOrganizationCommand.d.ts +3 -3
  46. package/dist-types/commands/ListInboundResponsibilityTransfersCommand.d.ts +20 -4
  47. package/dist-types/commands/ListOrganizationalUnitsForParentCommand.d.ts +3 -3
  48. package/dist-types/commands/ListOutboundResponsibilityTransfersCommand.d.ts +20 -4
  49. package/dist-types/commands/ListParentsCommand.d.ts +3 -3
  50. package/dist-types/commands/ListPoliciesCommand.d.ts +3 -3
  51. package/dist-types/commands/ListPoliciesForTargetCommand.d.ts +3 -3
  52. package/dist-types/commands/ListRootsCommand.d.ts +3 -3
  53. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
  54. package/dist-types/commands/ListTargetsForPolicyCommand.d.ts +3 -3
  55. package/dist-types/commands/MoveAccountCommand.d.ts +3 -3
  56. package/dist-types/commands/PutResourcePolicyCommand.d.ts +20 -4
  57. package/dist-types/commands/RegisterDelegatedAdministratorCommand.d.ts +20 -4
  58. package/dist-types/commands/RemoveAccountFromOrganizationCommand.d.ts +20 -4
  59. package/dist-types/commands/TagResourceCommand.d.ts +20 -4
  60. package/dist-types/commands/TerminateResponsibilityTransferCommand.d.ts +25 -4
  61. package/dist-types/commands/UntagResourceCommand.d.ts +20 -4
  62. package/dist-types/commands/UpdateOrganizationalUnitCommand.d.ts +3 -3
  63. package/dist-types/commands/UpdatePolicyCommand.d.ts +20 -4
  64. package/dist-types/commands/UpdateResponsibilityTransferCommand.d.ts +20 -4
  65. package/dist-types/models/enums.d.ts +6 -0
  66. package/dist-types/models/errors.d.ts +30 -7
  67. package/dist-types/runtimeConfig.browser.d.ts +40 -40
  68. package/dist-types/runtimeConfig.d.ts +36 -36
  69. package/dist-types/runtimeConfig.native.d.ts +38 -38
  70. package/dist-types/runtimeConfig.shared.d.ts +2 -2
  71. package/dist-types/ts3.4/models/enums.d.ts +6 -0
  72. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +56 -58
  73. package/dist-types/ts3.4/runtimeConfig.d.ts +58 -58
  74. package/dist-types/ts3.4/runtimeConfig.native.d.ts +60 -62
  75. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
  76. package/package.json +5 -5
@@ -1,85 +1,29 @@
1
1
  import { OrganizationsClientConfig } from "./OrganizationsClient";
2
2
  export declare const getRuntimeConfig: (config: OrganizationsClientConfig) => {
3
- runtime: string;
4
- requestHandler:
5
- | import("@smithy/types").NodeHttpHandlerOptions
6
- | import("@smithy/types").FetchHttpHandlerOptions
7
- | Record<string, unknown>
8
- | import("@smithy/core/protocols").HttpHandler<any>
9
- | import("@smithy/fetch-http-handler").FetchHttpHandler;
10
3
  cacheMiddleware?: boolean;
11
- protocol:
12
- | import("@smithy/types").ClientProtocol<any, any>
13
- | import("@smithy/types").ClientProtocolCtor<any, any>
14
- | typeof import("@aws-sdk/core/protocols").AwsJson1_1Protocol;
15
- protocolSettings: {
16
- defaultNamespace?: string;
17
- [setting: string]: unknown;
18
- };
19
- apiVersion: string;
20
- sha256: import("@smithy/types").HashConstructor;
21
- urlParser: import("@smithy/types").UrlParser;
22
- bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
23
- streamCollector: (
24
- stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
25
- ) => Promise<Uint8Array>;
26
- base64Decoder: import("@smithy/types").Decoder;
27
- base64Encoder: (_input: Uint8Array | string) => string;
28
- utf8Decoder: import("@smithy/types").Decoder;
29
- utf8Encoder: (input: Uint8Array | string) => string;
30
- disableHostPrefix: boolean;
31
- serviceId: string;
32
- useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
33
- (boolean | import("@smithy/types").Provider<boolean | undefined>);
34
- useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
35
- (boolean | import("@smithy/types").Provider<boolean | undefined>);
36
- region: string | import("@smithy/types").Provider<any>;
37
- profile?: string;
38
- defaultUserAgentProvider: (
39
- config?: import("@aws-sdk/core/client").PreviouslyResolved,
40
- ) => Promise<import("@smithy/types").UserAgent>;
41
- credentialDefaultProvider:
42
- | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
43
- | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
44
- maxAttempts: number | import("@smithy/types").Provider<number>;
45
- retryMode: string | import("@smithy/types").Provider<string>;
46
- logger: import("@smithy/types").Logger;
47
- extensions: import("./runtimeExtensions").RuntimeExtension[];
48
- defaultsMode:
49
- | import("@smithy/core/client").DefaultsMode
50
- | import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
51
- customUserAgent?: string | import("@smithy/types").UserAgent;
52
- userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
53
- retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
54
4
  endpoint?:
55
5
  | ((
56
6
  | string
57
7
  | import("@smithy/types").Endpoint
58
- | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
59
8
  | import("@smithy/types").EndpointV2
9
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
60
10
  | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
61
11
  ) &
62
12
  (
63
13
  | string
64
- | import("@smithy/types").Provider<string>
65
14
  | import("@smithy/types").Endpoint
66
- | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
67
15
  | import("@smithy/types").EndpointV2
16
+ | import("@smithy/types").Provider<string>
17
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
68
18
  | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
69
19
  ))
70
20
  | undefined;
71
- endpointProvider: (
72
- endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
73
- context?: {
74
- logger?: import("@smithy/types").Logger;
75
- },
76
- ) => import("@smithy/types").EndpointV2;
77
21
  tls?: boolean;
78
22
  ignoreConfiguredEndpointUrls?: boolean;
79
23
  serviceConfiguredEndpoint?: never;
80
- authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
81
- httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
82
- httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").OrganizationsHttpAuthSchemeProvider;
24
+ customUserAgent?: string | import("@smithy/types").UserAgent;
25
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
26
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
83
27
  credentials?:
84
28
  | import("@smithy/types").AwsCredentialIdentity
85
29
  | import("@smithy/types").AwsCredentialIdentityProvider;
@@ -96,4 +40,58 @@ export declare const getRuntimeConfig: (config: OrganizationsClientConfig) => {
96
40
  import("@smithy/signature-v4").SignatureV4CryptoInit,
97
41
  ) => import("@smithy/types").RequestSigner;
98
42
  disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
43
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
44
+ apiVersion: string;
45
+ base64Decoder: import("@smithy/types").Decoder;
46
+ base64Encoder: (_input: Uint8Array | string) => string;
47
+ disableHostPrefix: boolean;
48
+ endpointProvider: (
49
+ params: import("./endpoint/EndpointParameters").EndpointParameters,
50
+ context?: {
51
+ logger?: import("@smithy/types").Logger;
52
+ },
53
+ ) => import("@smithy/types").EndpointV2;
54
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
55
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").OrganizationsHttpAuthSchemeProvider;
56
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
57
+ logger: import("@smithy/types").Logger;
58
+ protocol:
59
+ | import("@smithy/types").$ClientProtocol<any, any>
60
+ | import("@smithy/types").$ClientProtocolCtor<any, any>
61
+ | typeof import("@aws-sdk/core/protocols").AwsJson1_1Protocol;
62
+ protocolSettings: {
63
+ [setting: string]: unknown;
64
+ defaultNamespace?: string;
65
+ };
66
+ serviceId: string;
67
+ sha256: import("@smithy/types").HashConstructor;
68
+ urlParser: import("@smithy/types").UrlParser;
69
+ utf8Decoder: import("@smithy/types").Decoder;
70
+ utf8Encoder: (input: Uint8Array | string) => string;
71
+ profile?: string;
72
+ defaultsMode:
73
+ | import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>
74
+ | import("@smithy/core/client").DefaultsMode;
75
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
76
+ credentialDefaultProvider:
77
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
78
+ | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
79
+ defaultUserAgentProvider: (
80
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
81
+ ) => Promise<import("@smithy/types").UserAgent>;
82
+ maxAttempts: number | import("@smithy/types").Provider<number>;
83
+ region: string | import("@smithy/types").Provider<any>;
84
+ requestHandler:
85
+ | import("@smithy/fetch-http-handler").FetchHttpHandler
86
+ | import("@smithy/types").FetchHttpHandlerOptions
87
+ | import("@smithy/types").NodeHttpHandlerOptions
88
+ | Record<string, unknown>
89
+ | import("@smithy/core/protocols").HttpHandler<any>;
90
+ retryMode: string | import("@smithy/types").Provider<string>;
91
+ streamCollector: (
92
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
93
+ ) => Promise<Uint8Array>;
94
+ useDualstackEndpoint: boolean | (() => Promise<boolean>);
95
+ useFipsEndpoint: boolean | (() => Promise<boolean>);
96
+ runtime: string;
99
97
  };
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: OrganizationsClientConfig) => {
6
6
  base64Encoder: (_input: Uint8Array | string) => string;
7
7
  disableHostPrefix: boolean;
8
8
  endpointProvider: (
9
- endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
9
+ params: import("./endpoint/EndpointParameters").EndpointParameters,
10
10
  context?: {
11
11
  logger?: import("@smithy/types").Logger;
12
12
  },
@@ -16,8 +16,8 @@ export declare const getRuntimeConfig: (config: OrganizationsClientConfig) => {
16
16
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
17
17
  logger: import("@smithy/types").Logger;
18
18
  protocol:
19
- | import("@smithy/types").ClientProtocol<any, any>
20
- | import("@smithy/types").ClientProtocolCtor<any, any>
19
+ | import("@smithy/types").$ClientProtocol<any, any>
20
+ | import("@smithy/types").$ClientProtocolCtor<any, any>
21
21
  | typeof AwsJson1_1Protocol;
22
22
  protocolSettings: {
23
23
  [setting: string]: unknown;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-organizations",
3
- "version": "3.1110.0",
3
+ "version": "3.1112.0",
4
4
  "description": "AWS SDK for JavaScript Organizations Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-organizations",
6
6
  "license": "Apache-2.0",
@@ -46,9 +46,9 @@
46
46
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
47
47
  },
48
48
  "dependencies": {
49
- "@aws-sdk/core": "^3.977.7",
50
- "@aws-sdk/credential-provider-node": "^3.972.79",
51
- "@aws-sdk/types": "^3.974.3",
49
+ "@aws-sdk/core": "^3.977.8",
50
+ "@aws-sdk/credential-provider-node": "^3.972.80",
51
+ "@aws-sdk/types": "^3.974.4",
52
52
  "@smithy/core": "^3.31.1",
53
53
  "@smithy/fetch-http-handler": "^5.6.13",
54
54
  "@smithy/node-http-handler": "^4.9.13",
@@ -61,7 +61,7 @@
61
61
  "concurrently": "7.0.0",
62
62
  "downlevel-dts": "0.10.1",
63
63
  "premove": "4.0.0",
64
- "typescript": "~6.0.3"
64
+ "typescript": "~7.0.2"
65
65
  },
66
66
  "engines": {
67
67
  "node": ">=20.0.0"