@aws-sdk/client-organizations 3.940.0 → 3.946.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 (108) hide show
  1. package/dist-cjs/index.js +50 -450
  2. package/dist-cjs/runtimeConfig.browser.js +2 -2
  3. package/dist-cjs/runtimeConfig.js +3 -4
  4. package/dist-es/OrganizationsClient.js +2 -2
  5. package/dist-es/runtimeConfig.browser.js +2 -2
  6. package/dist-es/runtimeConfig.js +2 -3
  7. package/dist-es/schemas/schemas_0.js +50 -450
  8. package/dist-types/Organizations.d.ts +1 -1
  9. package/dist-types/OrganizationsClient.d.ts +10 -10
  10. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +2 -2
  11. package/dist-types/auth/httpAuthSchemeProvider.d.ts +2 -2
  12. package/dist-types/commands/AcceptHandshakeCommand.d.ts +3 -3
  13. package/dist-types/commands/AttachPolicyCommand.d.ts +3 -3
  14. package/dist-types/commands/CancelHandshakeCommand.d.ts +3 -3
  15. package/dist-types/commands/CloseAccountCommand.d.ts +3 -3
  16. package/dist-types/commands/CreateAccountCommand.d.ts +3 -3
  17. package/dist-types/commands/CreateGovCloudAccountCommand.d.ts +3 -3
  18. package/dist-types/commands/CreateOrganizationCommand.d.ts +3 -3
  19. package/dist-types/commands/CreateOrganizationalUnitCommand.d.ts +3 -3
  20. package/dist-types/commands/CreatePolicyCommand.d.ts +3 -3
  21. package/dist-types/commands/DeclineHandshakeCommand.d.ts +3 -3
  22. package/dist-types/commands/DeleteOrganizationCommand.d.ts +2 -2
  23. package/dist-types/commands/DeleteOrganizationalUnitCommand.d.ts +3 -3
  24. package/dist-types/commands/DeletePolicyCommand.d.ts +3 -3
  25. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +2 -2
  26. package/dist-types/commands/DeregisterDelegatedAdministratorCommand.d.ts +3 -3
  27. package/dist-types/commands/DescribeAccountCommand.d.ts +3 -3
  28. package/dist-types/commands/DescribeCreateAccountStatusCommand.d.ts +3 -3
  29. package/dist-types/commands/DescribeEffectivePolicyCommand.d.ts +3 -3
  30. package/dist-types/commands/DescribeHandshakeCommand.d.ts +3 -3
  31. package/dist-types/commands/DescribeOrganizationCommand.d.ts +3 -3
  32. package/dist-types/commands/DescribeOrganizationalUnitCommand.d.ts +3 -3
  33. package/dist-types/commands/DescribePolicyCommand.d.ts +3 -3
  34. package/dist-types/commands/DescribeResourcePolicyCommand.d.ts +3 -3
  35. package/dist-types/commands/DescribeResponsibilityTransferCommand.d.ts +3 -3
  36. package/dist-types/commands/DetachPolicyCommand.d.ts +3 -3
  37. package/dist-types/commands/DisableAWSServiceAccessCommand.d.ts +3 -3
  38. package/dist-types/commands/DisablePolicyTypeCommand.d.ts +3 -3
  39. package/dist-types/commands/EnableAWSServiceAccessCommand.d.ts +3 -3
  40. package/dist-types/commands/EnableAllFeaturesCommand.d.ts +3 -3
  41. package/dist-types/commands/EnablePolicyTypeCommand.d.ts +3 -3
  42. package/dist-types/commands/InviteAccountToOrganizationCommand.d.ts +3 -3
  43. package/dist-types/commands/InviteOrganizationToTransferResponsibilityCommand.d.ts +3 -3
  44. package/dist-types/commands/LeaveOrganizationCommand.d.ts +2 -2
  45. package/dist-types/commands/ListAWSServiceAccessForOrganizationCommand.d.ts +3 -3
  46. package/dist-types/commands/ListAccountsCommand.d.ts +3 -3
  47. package/dist-types/commands/ListAccountsForParentCommand.d.ts +3 -3
  48. package/dist-types/commands/ListAccountsWithInvalidEffectivePolicyCommand.d.ts +3 -3
  49. package/dist-types/commands/ListChildrenCommand.d.ts +3 -3
  50. package/dist-types/commands/ListCreateAccountStatusCommand.d.ts +3 -3
  51. package/dist-types/commands/ListDelegatedAdministratorsCommand.d.ts +3 -3
  52. package/dist-types/commands/ListDelegatedServicesForAccountCommand.d.ts +3 -3
  53. package/dist-types/commands/ListEffectivePolicyValidationErrorsCommand.d.ts +3 -3
  54. package/dist-types/commands/ListHandshakesForAccountCommand.d.ts +3 -3
  55. package/dist-types/commands/ListHandshakesForOrganizationCommand.d.ts +3 -3
  56. package/dist-types/commands/ListInboundResponsibilityTransfersCommand.d.ts +3 -3
  57. package/dist-types/commands/ListOrganizationalUnitsForParentCommand.d.ts +3 -3
  58. package/dist-types/commands/ListOutboundResponsibilityTransfersCommand.d.ts +3 -3
  59. package/dist-types/commands/ListParentsCommand.d.ts +3 -3
  60. package/dist-types/commands/ListPoliciesCommand.d.ts +3 -3
  61. package/dist-types/commands/ListPoliciesForTargetCommand.d.ts +3 -3
  62. package/dist-types/commands/ListRootsCommand.d.ts +3 -3
  63. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
  64. package/dist-types/commands/ListTargetsForPolicyCommand.d.ts +3 -3
  65. package/dist-types/commands/MoveAccountCommand.d.ts +3 -3
  66. package/dist-types/commands/PutResourcePolicyCommand.d.ts +3 -3
  67. package/dist-types/commands/RegisterDelegatedAdministratorCommand.d.ts +3 -3
  68. package/dist-types/commands/RemoveAccountFromOrganizationCommand.d.ts +3 -3
  69. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  70. package/dist-types/commands/TerminateResponsibilityTransferCommand.d.ts +3 -3
  71. package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
  72. package/dist-types/commands/UpdateOrganizationalUnitCommand.d.ts +3 -3
  73. package/dist-types/commands/UpdatePolicyCommand.d.ts +3 -3
  74. package/dist-types/commands/UpdateResponsibilityTransferCommand.d.ts +3 -3
  75. package/dist-types/endpoint/EndpointParameters.d.ts +13 -1
  76. package/dist-types/endpoint/endpointResolver.d.ts +5 -2
  77. package/dist-types/extensionConfiguration.d.ts +4 -4
  78. package/dist-types/models/OrganizationsServiceException.d.ts +1 -1
  79. package/dist-types/models/errors.d.ts +1 -1
  80. package/dist-types/pagination/Interfaces.d.ts +1 -1
  81. package/dist-types/pagination/ListAWSServiceAccessForOrganizationPaginator.d.ts +1 -1
  82. package/dist-types/pagination/ListAccountsForParentPaginator.d.ts +1 -1
  83. package/dist-types/pagination/ListAccountsPaginator.d.ts +1 -1
  84. package/dist-types/pagination/ListAccountsWithInvalidEffectivePolicyPaginator.d.ts +1 -1
  85. package/dist-types/pagination/ListChildrenPaginator.d.ts +1 -1
  86. package/dist-types/pagination/ListCreateAccountStatusPaginator.d.ts +1 -1
  87. package/dist-types/pagination/ListDelegatedAdministratorsPaginator.d.ts +1 -1
  88. package/dist-types/pagination/ListDelegatedServicesForAccountPaginator.d.ts +1 -1
  89. package/dist-types/pagination/ListEffectivePolicyValidationErrorsPaginator.d.ts +1 -1
  90. package/dist-types/pagination/ListHandshakesForAccountPaginator.d.ts +1 -1
  91. package/dist-types/pagination/ListHandshakesForOrganizationPaginator.d.ts +1 -1
  92. package/dist-types/pagination/ListOrganizationalUnitsForParentPaginator.d.ts +1 -1
  93. package/dist-types/pagination/ListParentsPaginator.d.ts +1 -1
  94. package/dist-types/pagination/ListPoliciesForTargetPaginator.d.ts +1 -1
  95. package/dist-types/pagination/ListPoliciesPaginator.d.ts +1 -1
  96. package/dist-types/pagination/ListRootsPaginator.d.ts +1 -1
  97. package/dist-types/pagination/ListTagsForResourcePaginator.d.ts +1 -1
  98. package/dist-types/pagination/ListTargetsForPolicyPaginator.d.ts +1 -1
  99. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  100. package/dist-types/runtimeConfig.d.ts +1 -1
  101. package/dist-types/runtimeConfig.native.d.ts +1 -1
  102. package/dist-types/runtimeConfig.shared.d.ts +1 -1
  103. package/dist-types/runtimeExtensions.d.ts +1 -1
  104. package/dist-types/schemas/schemas_0.d.ts +1 -1
  105. package/dist-types/ts3.4/OrganizationsClient.d.ts +3 -3
  106. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  107. package/dist-types/ts3.4/models/OrganizationsServiceException.d.ts +1 -1
  108. package/package.json +13 -12
@@ -11,14 +11,13 @@ const hash_node_1 = require("@smithy/hash-node");
11
11
  const middleware_retry_1 = require("@smithy/middleware-retry");
12
12
  const node_config_provider_1 = require("@smithy/node-config-provider");
13
13
  const node_http_handler_1 = require("@smithy/node-http-handler");
14
+ const smithy_client_1 = require("@smithy/smithy-client");
14
15
  const util_body_length_node_1 = require("@smithy/util-body-length-node");
16
+ const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
15
17
  const util_retry_1 = require("@smithy/util-retry");
16
18
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
17
- const smithy_client_1 = require("@smithy/smithy-client");
18
- const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
19
- const smithy_client_2 = require("@smithy/smithy-client");
20
19
  const getRuntimeConfig = (config) => {
21
- (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);
20
+ (0, smithy_client_1.emitWarningIfUnsupportedVersion)(process.version);
22
21
  const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
23
22
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
24
23
  const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
@@ -6,8 +6,8 @@ import { resolveRegionConfig } from "@smithy/config-resolver";
6
6
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
7
  import { getSchemaSerdePlugin } from "@smithy/core/schema";
8
8
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
9
- import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
10
- import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
9
+ import { resolveEndpointConfig, } from "@smithy/middleware-endpoint";
10
+ import { getRetryPlugin, resolveRetryConfig, } from "@smithy/middleware-retry";
11
11
  import { Client as __Client, } from "@smithy/smithy-client";
12
12
  import { defaultOrganizationsHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
13
13
  import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
@@ -4,11 +4,11 @@ import { createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-browser
4
4
  import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver";
5
5
  import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
6
6
  import { invalidProvider } from "@smithy/invalid-dependency";
7
+ import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
7
8
  import { calculateBodyLength } from "@smithy/util-body-length-browser";
9
+ import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
8
10
  import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry";
9
11
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
10
- import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
11
- import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
12
12
  export const getRuntimeConfig = (config) => {
13
13
  const defaultsMode = resolveDefaultsModeConfig(config);
14
14
  const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
@@ -7,12 +7,11 @@ import { Hash } from "@smithy/hash-node";
7
7
  import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
8
8
  import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider";
9
9
  import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
10
+ import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/smithy-client";
10
11
  import { calculateBodyLength } from "@smithy/util-body-length-node";
12
+ import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
11
13
  import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
12
14
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
13
- import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
14
- import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
15
- import { emitWarningIfUnsupportedVersion } from "@smithy/smithy-client";
16
15
  export const getRuntimeConfig = (config) => {
17
16
  emitWarningIfUnsupportedVersion(process.version);
18
17
  const defaultsMode = resolveDefaultsModeConfig(config);