@aws-sdk/client-organizations 3.53.0 → 3.55.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 (84) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist-cjs/OrganizationsClient.js +13 -13
  3. package/dist-cjs/commands/AcceptHandshakeCommand.js +3 -3
  4. package/dist-cjs/commands/AttachPolicyCommand.js +3 -3
  5. package/dist-cjs/commands/CancelHandshakeCommand.js +3 -3
  6. package/dist-cjs/commands/CreateAccountCommand.js +3 -3
  7. package/dist-cjs/commands/CreateGovCloudAccountCommand.js +3 -3
  8. package/dist-cjs/commands/CreateOrganizationCommand.js +3 -3
  9. package/dist-cjs/commands/CreateOrganizationalUnitCommand.js +3 -3
  10. package/dist-cjs/commands/CreatePolicyCommand.js +3 -3
  11. package/dist-cjs/commands/DeclineHandshakeCommand.js +3 -3
  12. package/dist-cjs/commands/DeleteOrganizationCommand.js +3 -3
  13. package/dist-cjs/commands/DeleteOrganizationalUnitCommand.js +3 -3
  14. package/dist-cjs/commands/DeletePolicyCommand.js +3 -3
  15. package/dist-cjs/commands/DeregisterDelegatedAdministratorCommand.js +3 -3
  16. package/dist-cjs/commands/DescribeAccountCommand.js +3 -3
  17. package/dist-cjs/commands/DescribeCreateAccountStatusCommand.js +3 -3
  18. package/dist-cjs/commands/DescribeEffectivePolicyCommand.js +3 -3
  19. package/dist-cjs/commands/DescribeHandshakeCommand.js +3 -3
  20. package/dist-cjs/commands/DescribeOrganizationCommand.js +3 -3
  21. package/dist-cjs/commands/DescribeOrganizationalUnitCommand.js +3 -3
  22. package/dist-cjs/commands/DescribePolicyCommand.js +3 -3
  23. package/dist-cjs/commands/DetachPolicyCommand.js +3 -3
  24. package/dist-cjs/commands/DisableAWSServiceAccessCommand.js +3 -3
  25. package/dist-cjs/commands/DisablePolicyTypeCommand.js +3 -3
  26. package/dist-cjs/commands/EnableAWSServiceAccessCommand.js +3 -3
  27. package/dist-cjs/commands/EnableAllFeaturesCommand.js +3 -3
  28. package/dist-cjs/commands/EnablePolicyTypeCommand.js +3 -3
  29. package/dist-cjs/commands/InviteAccountToOrganizationCommand.js +3 -3
  30. package/dist-cjs/commands/LeaveOrganizationCommand.js +3 -3
  31. package/dist-cjs/commands/ListAWSServiceAccessForOrganizationCommand.js +3 -3
  32. package/dist-cjs/commands/ListAccountsCommand.js +3 -3
  33. package/dist-cjs/commands/ListAccountsForParentCommand.js +3 -3
  34. package/dist-cjs/commands/ListChildrenCommand.js +3 -3
  35. package/dist-cjs/commands/ListCreateAccountStatusCommand.js +3 -3
  36. package/dist-cjs/commands/ListDelegatedAdministratorsCommand.js +3 -3
  37. package/dist-cjs/commands/ListDelegatedServicesForAccountCommand.js +3 -3
  38. package/dist-cjs/commands/ListHandshakesForAccountCommand.js +3 -3
  39. package/dist-cjs/commands/ListHandshakesForOrganizationCommand.js +3 -3
  40. package/dist-cjs/commands/ListOrganizationalUnitsForParentCommand.js +3 -3
  41. package/dist-cjs/commands/ListParentsCommand.js +3 -3
  42. package/dist-cjs/commands/ListPoliciesCommand.js +3 -3
  43. package/dist-cjs/commands/ListPoliciesForTargetCommand.js +3 -3
  44. package/dist-cjs/commands/ListRootsCommand.js +3 -3
  45. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  46. package/dist-cjs/commands/ListTargetsForPolicyCommand.js +3 -3
  47. package/dist-cjs/commands/MoveAccountCommand.js +3 -3
  48. package/dist-cjs/commands/RegisterDelegatedAdministratorCommand.js +3 -3
  49. package/dist-cjs/commands/RemoveAccountFromOrganizationCommand.js +3 -3
  50. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  51. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  52. package/dist-cjs/commands/UpdateOrganizationalUnitCommand.js +3 -3
  53. package/dist-cjs/commands/UpdatePolicyCommand.js +3 -3
  54. package/dist-cjs/endpoints.js +1 -1
  55. package/dist-cjs/protocols/Aws_json1_1.js +232 -232
  56. package/dist-cjs/runtimeConfig.browser.js +4 -4
  57. package/dist-cjs/runtimeConfig.js +9 -9
  58. package/dist-cjs/runtimeConfig.native.js +1 -1
  59. package/dist-es/Organizations.js +51 -51
  60. package/dist-es/pagination/ListAWSServiceAccessForOrganizationPaginator.js +4 -4
  61. package/dist-es/pagination/ListAccountsForParentPaginator.js +4 -4
  62. package/dist-es/pagination/ListAccountsPaginator.js +4 -4
  63. package/dist-es/pagination/ListChildrenPaginator.js +4 -4
  64. package/dist-es/pagination/ListCreateAccountStatusPaginator.js +4 -4
  65. package/dist-es/pagination/ListDelegatedAdministratorsPaginator.js +4 -4
  66. package/dist-es/pagination/ListDelegatedServicesForAccountPaginator.js +4 -4
  67. package/dist-es/pagination/ListHandshakesForAccountPaginator.js +4 -4
  68. package/dist-es/pagination/ListHandshakesForOrganizationPaginator.js +4 -4
  69. package/dist-es/pagination/ListOrganizationalUnitsForParentPaginator.js +4 -4
  70. package/dist-es/pagination/ListParentsPaginator.js +4 -4
  71. package/dist-es/pagination/ListPoliciesForTargetPaginator.js +4 -4
  72. package/dist-es/pagination/ListPoliciesPaginator.js +4 -4
  73. package/dist-es/pagination/ListRootsPaginator.js +4 -4
  74. package/dist-es/pagination/ListTagsForResourcePaginator.js +4 -4
  75. package/dist-es/pagination/ListTargetsForPolicyPaginator.js +4 -4
  76. package/dist-types/OrganizationsClient.d.ts +2 -2
  77. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  78. package/dist-types/runtimeConfig.d.ts +1 -1
  79. package/dist-types/runtimeConfig.native.d.ts +3 -3
  80. package/dist-types/ts3.4/OrganizationsClient.d.ts +2 -2
  81. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  82. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  83. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  84. package/package.json +34 -34
@@ -11,7 +11,7 @@ class EnableAllFeaturesCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "OrganizationsClient";
@@ -27,10 +27,10 @@ class EnableAllFeaturesCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1EnableAllFeaturesCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1EnableAllFeaturesCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1EnableAllFeaturesCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1EnableAllFeaturesCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.EnableAllFeaturesCommand = EnableAllFeaturesCommand;
@@ -11,7 +11,7 @@ class EnablePolicyTypeCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "OrganizationsClient";
@@ -27,10 +27,10 @@ class EnablePolicyTypeCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1EnablePolicyTypeCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1EnablePolicyTypeCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1EnablePolicyTypeCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1EnablePolicyTypeCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.EnablePolicyTypeCommand = EnablePolicyTypeCommand;
@@ -11,7 +11,7 @@ class InviteAccountToOrganizationCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "OrganizationsClient";
@@ -27,10 +27,10 @@ class InviteAccountToOrganizationCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1InviteAccountToOrganizationCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1InviteAccountToOrganizationCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1InviteAccountToOrganizationCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1InviteAccountToOrganizationCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.InviteAccountToOrganizationCommand = InviteAccountToOrganizationCommand;
@@ -10,7 +10,7 @@ class LeaveOrganizationCommand extends smithy_client_1.Command {
10
10
  this.input = input;
11
11
  }
12
12
  resolveMiddleware(clientStack, configuration, options) {
13
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
13
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
14
14
  const stack = clientStack.concat(this.middlewareStack);
15
15
  const { logger } = configuration;
16
16
  const clientName = "OrganizationsClient";
@@ -26,10 +26,10 @@ class LeaveOrganizationCommand extends smithy_client_1.Command {
26
26
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
27
27
  }
28
28
  serialize(input, context) {
29
- return Aws_json1_1_1.serializeAws_json1_1LeaveOrganizationCommand(input, context);
29
+ return (0, Aws_json1_1_1.serializeAws_json1_1LeaveOrganizationCommand)(input, context);
30
30
  }
31
31
  deserialize(output, context) {
32
- return Aws_json1_1_1.deserializeAws_json1_1LeaveOrganizationCommand(output, context);
32
+ return (0, Aws_json1_1_1.deserializeAws_json1_1LeaveOrganizationCommand)(output, context);
33
33
  }
34
34
  }
35
35
  exports.LeaveOrganizationCommand = LeaveOrganizationCommand;
@@ -11,7 +11,7 @@ class ListAWSServiceAccessForOrganizationCommand extends smithy_client_1.Command
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "OrganizationsClient";
@@ -27,10 +27,10 @@ class ListAWSServiceAccessForOrganizationCommand extends smithy_client_1.Command
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1ListAWSServiceAccessForOrganizationCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1ListAWSServiceAccessForOrganizationCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1ListAWSServiceAccessForOrganizationCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1ListAWSServiceAccessForOrganizationCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListAWSServiceAccessForOrganizationCommand = ListAWSServiceAccessForOrganizationCommand;
@@ -11,7 +11,7 @@ class ListAccountsCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "OrganizationsClient";
@@ -27,10 +27,10 @@ class ListAccountsCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1ListAccountsCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1ListAccountsCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1ListAccountsCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1ListAccountsCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListAccountsCommand = ListAccountsCommand;
@@ -11,7 +11,7 @@ class ListAccountsForParentCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "OrganizationsClient";
@@ -27,10 +27,10 @@ class ListAccountsForParentCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1ListAccountsForParentCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1ListAccountsForParentCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1ListAccountsForParentCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1ListAccountsForParentCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListAccountsForParentCommand = ListAccountsForParentCommand;
@@ -11,7 +11,7 @@ class ListChildrenCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "OrganizationsClient";
@@ -27,10 +27,10 @@ class ListChildrenCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1ListChildrenCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1ListChildrenCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1ListChildrenCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1ListChildrenCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListChildrenCommand = ListChildrenCommand;
@@ -11,7 +11,7 @@ class ListCreateAccountStatusCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "OrganizationsClient";
@@ -27,10 +27,10 @@ class ListCreateAccountStatusCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1ListCreateAccountStatusCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1ListCreateAccountStatusCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1ListCreateAccountStatusCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1ListCreateAccountStatusCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListCreateAccountStatusCommand = ListCreateAccountStatusCommand;
@@ -11,7 +11,7 @@ class ListDelegatedAdministratorsCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "OrganizationsClient";
@@ -27,10 +27,10 @@ class ListDelegatedAdministratorsCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1ListDelegatedAdministratorsCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1ListDelegatedAdministratorsCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1ListDelegatedAdministratorsCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1ListDelegatedAdministratorsCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListDelegatedAdministratorsCommand = ListDelegatedAdministratorsCommand;
@@ -11,7 +11,7 @@ class ListDelegatedServicesForAccountCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "OrganizationsClient";
@@ -27,10 +27,10 @@ class ListDelegatedServicesForAccountCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1ListDelegatedServicesForAccountCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1ListDelegatedServicesForAccountCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1ListDelegatedServicesForAccountCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1ListDelegatedServicesForAccountCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListDelegatedServicesForAccountCommand = ListDelegatedServicesForAccountCommand;
@@ -11,7 +11,7 @@ class ListHandshakesForAccountCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "OrganizationsClient";
@@ -27,10 +27,10 @@ class ListHandshakesForAccountCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1ListHandshakesForAccountCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1ListHandshakesForAccountCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1ListHandshakesForAccountCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1ListHandshakesForAccountCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListHandshakesForAccountCommand = ListHandshakesForAccountCommand;
@@ -11,7 +11,7 @@ class ListHandshakesForOrganizationCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "OrganizationsClient";
@@ -27,10 +27,10 @@ class ListHandshakesForOrganizationCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1ListHandshakesForOrganizationCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1ListHandshakesForOrganizationCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1ListHandshakesForOrganizationCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1ListHandshakesForOrganizationCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListHandshakesForOrganizationCommand = ListHandshakesForOrganizationCommand;
@@ -11,7 +11,7 @@ class ListOrganizationalUnitsForParentCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "OrganizationsClient";
@@ -27,10 +27,10 @@ class ListOrganizationalUnitsForParentCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1ListOrganizationalUnitsForParentCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1ListOrganizationalUnitsForParentCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1ListOrganizationalUnitsForParentCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1ListOrganizationalUnitsForParentCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListOrganizationalUnitsForParentCommand = ListOrganizationalUnitsForParentCommand;
@@ -11,7 +11,7 @@ class ListParentsCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "OrganizationsClient";
@@ -27,10 +27,10 @@ class ListParentsCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1ListParentsCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1ListParentsCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1ListParentsCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1ListParentsCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListParentsCommand = ListParentsCommand;
@@ -11,7 +11,7 @@ class ListPoliciesCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "OrganizationsClient";
@@ -27,10 +27,10 @@ class ListPoliciesCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1ListPoliciesCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1ListPoliciesCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1ListPoliciesCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1ListPoliciesCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListPoliciesCommand = ListPoliciesCommand;
@@ -11,7 +11,7 @@ class ListPoliciesForTargetCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "OrganizationsClient";
@@ -27,10 +27,10 @@ class ListPoliciesForTargetCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1ListPoliciesForTargetCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1ListPoliciesForTargetCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1ListPoliciesForTargetCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1ListPoliciesForTargetCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListPoliciesForTargetCommand = ListPoliciesForTargetCommand;
@@ -11,7 +11,7 @@ class ListRootsCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "OrganizationsClient";
@@ -27,10 +27,10 @@ class ListRootsCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1ListRootsCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1ListRootsCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1ListRootsCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1ListRootsCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListRootsCommand = ListRootsCommand;
@@ -11,7 +11,7 @@ class ListTagsForResourceCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "OrganizationsClient";
@@ -27,10 +27,10 @@ class ListTagsForResourceCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1ListTagsForResourceCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1ListTagsForResourceCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1ListTagsForResourceCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1ListTagsForResourceCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
@@ -11,7 +11,7 @@ class ListTargetsForPolicyCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "OrganizationsClient";
@@ -27,10 +27,10 @@ class ListTargetsForPolicyCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1ListTargetsForPolicyCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1ListTargetsForPolicyCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1ListTargetsForPolicyCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1ListTargetsForPolicyCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListTargetsForPolicyCommand = ListTargetsForPolicyCommand;
@@ -11,7 +11,7 @@ class MoveAccountCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "OrganizationsClient";
@@ -27,10 +27,10 @@ class MoveAccountCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1MoveAccountCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1MoveAccountCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1MoveAccountCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1MoveAccountCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.MoveAccountCommand = MoveAccountCommand;
@@ -11,7 +11,7 @@ class RegisterDelegatedAdministratorCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "OrganizationsClient";
@@ -27,10 +27,10 @@ class RegisterDelegatedAdministratorCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1RegisterDelegatedAdministratorCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1RegisterDelegatedAdministratorCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1RegisterDelegatedAdministratorCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1RegisterDelegatedAdministratorCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.RegisterDelegatedAdministratorCommand = RegisterDelegatedAdministratorCommand;
@@ -11,7 +11,7 @@ class RemoveAccountFromOrganizationCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "OrganizationsClient";
@@ -27,10 +27,10 @@ class RemoveAccountFromOrganizationCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1RemoveAccountFromOrganizationCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1RemoveAccountFromOrganizationCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1RemoveAccountFromOrganizationCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1RemoveAccountFromOrganizationCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.RemoveAccountFromOrganizationCommand = RemoveAccountFromOrganizationCommand;
@@ -11,7 +11,7 @@ class TagResourceCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "OrganizationsClient";
@@ -27,10 +27,10 @@ class TagResourceCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1TagResourceCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1TagResourceCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1TagResourceCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1TagResourceCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.TagResourceCommand = TagResourceCommand;
@@ -11,7 +11,7 @@ class UntagResourceCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "OrganizationsClient";
@@ -27,10 +27,10 @@ class UntagResourceCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1UntagResourceCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1UntagResourceCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1UntagResourceCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1UntagResourceCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.UntagResourceCommand = UntagResourceCommand;
@@ -11,7 +11,7 @@ class UpdateOrganizationalUnitCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "OrganizationsClient";
@@ -27,10 +27,10 @@ class UpdateOrganizationalUnitCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1UpdateOrganizationalUnitCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1UpdateOrganizationalUnitCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1UpdateOrganizationalUnitCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1UpdateOrganizationalUnitCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.UpdateOrganizationalUnitCommand = UpdateOrganizationalUnitCommand;
@@ -11,7 +11,7 @@ class UpdatePolicyCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "OrganizationsClient";
@@ -27,10 +27,10 @@ class UpdatePolicyCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1UpdatePolicyCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1UpdatePolicyCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1UpdatePolicyCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1UpdatePolicyCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.UpdatePolicyCommand = UpdatePolicyCommand;
@@ -163,7 +163,7 @@ const partitionHash = {
163
163
  endpoint: "aws-us-gov-global",
164
164
  },
165
165
  };
166
- const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, {
166
+ const defaultRegionInfoProvider = async (region, options) => (0, config_resolver_1.getRegionInfo)(region, {
167
167
  ...options,
168
168
  signingService: "organizations",
169
169
  regionHash,