@aws-sdk/client-organizations 3.183.0 → 3.185.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 (81) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/protocols/Aws_json1_1.js +2 -2
  3. package/dist-es/Organizations.js +217 -210
  4. package/dist-es/OrganizationsClient.js +28 -22
  5. package/dist-es/commands/AcceptHandshakeCommand.js +28 -21
  6. package/dist-es/commands/AttachPolicyCommand.js +29 -22
  7. package/dist-es/commands/CancelHandshakeCommand.js +28 -21
  8. package/dist-es/commands/CloseAccountCommand.js +29 -22
  9. package/dist-es/commands/CreateAccountCommand.js +28 -21
  10. package/dist-es/commands/CreateGovCloudAccountCommand.js +28 -21
  11. package/dist-es/commands/CreateOrganizationCommand.js +28 -21
  12. package/dist-es/commands/CreateOrganizationalUnitCommand.js +28 -21
  13. package/dist-es/commands/CreatePolicyCommand.js +28 -21
  14. package/dist-es/commands/DeclineHandshakeCommand.js +28 -21
  15. package/dist-es/commands/DeleteOrganizationCommand.js +30 -23
  16. package/dist-es/commands/DeleteOrganizationalUnitCommand.js +29 -22
  17. package/dist-es/commands/DeletePolicyCommand.js +29 -22
  18. package/dist-es/commands/DeregisterDelegatedAdministratorCommand.js +29 -22
  19. package/dist-es/commands/DescribeAccountCommand.js +28 -21
  20. package/dist-es/commands/DescribeCreateAccountStatusCommand.js +28 -21
  21. package/dist-es/commands/DescribeEffectivePolicyCommand.js +28 -21
  22. package/dist-es/commands/DescribeHandshakeCommand.js +28 -21
  23. package/dist-es/commands/DescribeOrganizationCommand.js +29 -22
  24. package/dist-es/commands/DescribeOrganizationalUnitCommand.js +28 -21
  25. package/dist-es/commands/DescribePolicyCommand.js +28 -21
  26. package/dist-es/commands/DetachPolicyCommand.js +29 -22
  27. package/dist-es/commands/DisableAWSServiceAccessCommand.js +29 -22
  28. package/dist-es/commands/DisablePolicyTypeCommand.js +28 -21
  29. package/dist-es/commands/EnableAWSServiceAccessCommand.js +29 -22
  30. package/dist-es/commands/EnableAllFeaturesCommand.js +28 -21
  31. package/dist-es/commands/EnablePolicyTypeCommand.js +28 -21
  32. package/dist-es/commands/InviteAccountToOrganizationCommand.js +28 -21
  33. package/dist-es/commands/LeaveOrganizationCommand.js +30 -23
  34. package/dist-es/commands/ListAWSServiceAccessForOrganizationCommand.js +28 -21
  35. package/dist-es/commands/ListAccountsCommand.js +28 -21
  36. package/dist-es/commands/ListAccountsForParentCommand.js +28 -21
  37. package/dist-es/commands/ListChildrenCommand.js +28 -21
  38. package/dist-es/commands/ListCreateAccountStatusCommand.js +28 -21
  39. package/dist-es/commands/ListDelegatedAdministratorsCommand.js +28 -21
  40. package/dist-es/commands/ListDelegatedServicesForAccountCommand.js +28 -21
  41. package/dist-es/commands/ListHandshakesForAccountCommand.js +28 -21
  42. package/dist-es/commands/ListHandshakesForOrganizationCommand.js +28 -21
  43. package/dist-es/commands/ListOrganizationalUnitsForParentCommand.js +28 -21
  44. package/dist-es/commands/ListParentsCommand.js +28 -21
  45. package/dist-es/commands/ListPoliciesCommand.js +28 -21
  46. package/dist-es/commands/ListPoliciesForTargetCommand.js +28 -21
  47. package/dist-es/commands/ListRootsCommand.js +28 -21
  48. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  49. package/dist-es/commands/ListTargetsForPolicyCommand.js +28 -21
  50. package/dist-es/commands/MoveAccountCommand.js +29 -22
  51. package/dist-es/commands/RegisterDelegatedAdministratorCommand.js +29 -22
  52. package/dist-es/commands/RemoveAccountFromOrganizationCommand.js +29 -22
  53. package/dist-es/commands/TagResourceCommand.js +29 -22
  54. package/dist-es/commands/UntagResourceCommand.js +29 -22
  55. package/dist-es/commands/UpdateOrganizationalUnitCommand.js +28 -21
  56. package/dist-es/commands/UpdatePolicyCommand.js +28 -21
  57. package/dist-es/endpoints.js +8 -8
  58. package/dist-es/models/OrganizationsServiceException.js +10 -5
  59. package/dist-es/models/models_0.js +720 -964
  60. package/dist-es/pagination/ListAWSServiceAccessForOrganizationPaginator.js +68 -25
  61. package/dist-es/pagination/ListAccountsForParentPaginator.js +68 -25
  62. package/dist-es/pagination/ListAccountsPaginator.js +68 -25
  63. package/dist-es/pagination/ListChildrenPaginator.js +68 -25
  64. package/dist-es/pagination/ListCreateAccountStatusPaginator.js +68 -25
  65. package/dist-es/pagination/ListDelegatedAdministratorsPaginator.js +68 -25
  66. package/dist-es/pagination/ListDelegatedServicesForAccountPaginator.js +68 -25
  67. package/dist-es/pagination/ListHandshakesForAccountPaginator.js +68 -25
  68. package/dist-es/pagination/ListHandshakesForOrganizationPaginator.js +68 -25
  69. package/dist-es/pagination/ListOrganizationalUnitsForParentPaginator.js +68 -25
  70. package/dist-es/pagination/ListParentsPaginator.js +68 -25
  71. package/dist-es/pagination/ListPoliciesForTargetPaginator.js +68 -25
  72. package/dist-es/pagination/ListPoliciesPaginator.js +68 -25
  73. package/dist-es/pagination/ListRootsPaginator.js +68 -25
  74. package/dist-es/pagination/ListTagsForResourcePaginator.js +67 -24
  75. package/dist-es/pagination/ListTargetsForPolicyPaginator.js +68 -25
  76. package/dist-es/protocols/Aws_json1_1.js +5453 -4139
  77. package/dist-es/runtimeConfig.browser.js +12 -26
  78. package/dist-es/runtimeConfig.js +12 -30
  79. package/dist-es/runtimeConfig.native.js +5 -8
  80. package/dist-es/runtimeConfig.shared.js +11 -8
  81. package/package.json +5 -5
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeclineHandshakeRequestFilterSensitiveLog, DeclineHandshakeResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeclineHandshakeCommand, serializeAws_json1_1DeclineHandshakeCommand, } from "../protocols/Aws_json1_1";
5
- export class DeclineHandshakeCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeclineHandshakeCommand = (function (_super) {
7
+ __extends(DeclineHandshakeCommand, _super);
8
+ function DeclineHandshakeCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeclineHandshakeCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "OrganizationsClient";
15
- const commandName = "DeclineHandshakeCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "OrganizationsClient";
18
+ var commandName = "DeclineHandshakeCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeclineHandshakeRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeclineHandshakeResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeclineHandshakeCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeclineHandshakeCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeclineHandshakeCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeclineHandshakeCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeclineHandshakeCommand;
38
+ }($Command));
39
+ export { DeclineHandshakeCommand };
@@ -1,31 +1,38 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { deserializeAws_json1_1DeleteOrganizationCommand, serializeAws_json1_1DeleteOrganizationCommand, } from "../protocols/Aws_json1_1";
4
- export class DeleteOrganizationCommand extends $Command {
5
- constructor(input) {
6
- super();
7
- this.input = input;
5
+ var DeleteOrganizationCommand = (function (_super) {
6
+ __extends(DeleteOrganizationCommand, _super);
7
+ function DeleteOrganizationCommand(input) {
8
+ var _this = _super.call(this) || this;
9
+ _this.input = input;
10
+ return _this;
8
11
  }
9
- resolveMiddleware(clientStack, configuration, options) {
12
+ DeleteOrganizationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
13
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
11
- const stack = clientStack.concat(this.middlewareStack);
12
- const { logger } = configuration;
13
- const clientName = "OrganizationsClient";
14
- const commandName = "DeleteOrganizationCommand";
15
- const handlerExecutionContext = {
16
- logger,
17
- clientName,
18
- commandName,
19
- inputFilterSensitiveLog: (input) => input,
20
- outputFilterSensitiveLog: (output) => output,
14
+ var stack = clientStack.concat(this.middlewareStack);
15
+ var logger = configuration.logger;
16
+ var clientName = "OrganizationsClient";
17
+ var commandName = "DeleteOrganizationCommand";
18
+ var handlerExecutionContext = {
19
+ logger: logger,
20
+ clientName: clientName,
21
+ commandName: commandName,
22
+ inputFilterSensitiveLog: function (input) { return input; },
23
+ outputFilterSensitiveLog: function (output) { return output; },
21
24
  };
22
- const { requestHandler } = configuration;
23
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
24
- }
25
- serialize(input, context) {
25
+ var requestHandler = configuration.requestHandler;
26
+ return stack.resolve(function (request) {
27
+ return requestHandler.handle(request.request, options || {});
28
+ }, handlerExecutionContext);
29
+ };
30
+ DeleteOrganizationCommand.prototype.serialize = function (input, context) {
26
31
  return serializeAws_json1_1DeleteOrganizationCommand(input, context);
27
- }
28
- deserialize(output, context) {
32
+ };
33
+ DeleteOrganizationCommand.prototype.deserialize = function (output, context) {
29
34
  return deserializeAws_json1_1DeleteOrganizationCommand(output, context);
30
- }
31
- }
35
+ };
36
+ return DeleteOrganizationCommand;
37
+ }($Command));
38
+ export { DeleteOrganizationCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteOrganizationalUnitRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteOrganizationalUnitCommand, serializeAws_json1_1DeleteOrganizationalUnitCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteOrganizationalUnitCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteOrganizationalUnitCommand = (function (_super) {
7
+ __extends(DeleteOrganizationalUnitCommand, _super);
8
+ function DeleteOrganizationalUnitCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteOrganizationalUnitCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "OrganizationsClient";
15
- const commandName = "DeleteOrganizationalUnitCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "OrganizationsClient";
18
+ var commandName = "DeleteOrganizationalUnitCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteOrganizationalUnitRequestFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteOrganizationalUnitCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteOrganizationalUnitCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteOrganizationalUnitCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteOrganizationalUnitCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteOrganizationalUnitCommand;
38
+ }($Command));
39
+ export { DeleteOrganizationalUnitCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeletePolicyRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeletePolicyCommand, serializeAws_json1_1DeletePolicyCommand, } from "../protocols/Aws_json1_1";
5
- export class DeletePolicyCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeletePolicyCommand = (function (_super) {
7
+ __extends(DeletePolicyCommand, _super);
8
+ function DeletePolicyCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeletePolicyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "OrganizationsClient";
15
- const commandName = "DeletePolicyCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "OrganizationsClient";
18
+ var commandName = "DeletePolicyCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeletePolicyRequestFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeletePolicyCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeletePolicyCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeletePolicyCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeletePolicyCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeletePolicyCommand;
38
+ }($Command));
39
+ export { DeletePolicyCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeregisterDelegatedAdministratorRequestFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeregisterDelegatedAdministratorCommand, serializeAws_json1_1DeregisterDelegatedAdministratorCommand, } from "../protocols/Aws_json1_1";
5
- export class DeregisterDelegatedAdministratorCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeregisterDelegatedAdministratorCommand = (function (_super) {
7
+ __extends(DeregisterDelegatedAdministratorCommand, _super);
8
+ function DeregisterDelegatedAdministratorCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeregisterDelegatedAdministratorCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "OrganizationsClient";
15
- const commandName = "DeregisterDelegatedAdministratorCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "OrganizationsClient";
18
+ var commandName = "DeregisterDelegatedAdministratorCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeregisterDelegatedAdministratorRequestFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeregisterDelegatedAdministratorCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeregisterDelegatedAdministratorCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeregisterDelegatedAdministratorCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeregisterDelegatedAdministratorCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeregisterDelegatedAdministratorCommand;
38
+ }($Command));
39
+ export { DeregisterDelegatedAdministratorCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeAccountRequestFilterSensitiveLog, DescribeAccountResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DescribeAccountCommand, serializeAws_json1_1DescribeAccountCommand, } from "../protocols/Aws_json1_1";
5
- export class DescribeAccountCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeAccountCommand = (function (_super) {
7
+ __extends(DescribeAccountCommand, _super);
8
+ function DescribeAccountCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeAccountCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "OrganizationsClient";
15
- const commandName = "DescribeAccountCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "OrganizationsClient";
18
+ var commandName = "DescribeAccountCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeAccountRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeAccountResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DescribeAccountCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DescribeAccountCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeAccountCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DescribeAccountCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeAccountCommand;
38
+ }($Command));
39
+ export { DescribeAccountCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeCreateAccountStatusRequestFilterSensitiveLog, DescribeCreateAccountStatusResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DescribeCreateAccountStatusCommand, serializeAws_json1_1DescribeCreateAccountStatusCommand, } from "../protocols/Aws_json1_1";
5
- export class DescribeCreateAccountStatusCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeCreateAccountStatusCommand = (function (_super) {
7
+ __extends(DescribeCreateAccountStatusCommand, _super);
8
+ function DescribeCreateAccountStatusCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeCreateAccountStatusCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "OrganizationsClient";
15
- const commandName = "DescribeCreateAccountStatusCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "OrganizationsClient";
18
+ var commandName = "DescribeCreateAccountStatusCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeCreateAccountStatusRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeCreateAccountStatusResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DescribeCreateAccountStatusCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DescribeCreateAccountStatusCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeCreateAccountStatusCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DescribeCreateAccountStatusCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeCreateAccountStatusCommand;
38
+ }($Command));
39
+ export { DescribeCreateAccountStatusCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeEffectivePolicyRequestFilterSensitiveLog, DescribeEffectivePolicyResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DescribeEffectivePolicyCommand, serializeAws_json1_1DescribeEffectivePolicyCommand, } from "../protocols/Aws_json1_1";
5
- export class DescribeEffectivePolicyCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeEffectivePolicyCommand = (function (_super) {
7
+ __extends(DescribeEffectivePolicyCommand, _super);
8
+ function DescribeEffectivePolicyCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeEffectivePolicyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "OrganizationsClient";
15
- const commandName = "DescribeEffectivePolicyCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "OrganizationsClient";
18
+ var commandName = "DescribeEffectivePolicyCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeEffectivePolicyRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeEffectivePolicyResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DescribeEffectivePolicyCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DescribeEffectivePolicyCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeEffectivePolicyCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DescribeEffectivePolicyCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeEffectivePolicyCommand;
38
+ }($Command));
39
+ export { DescribeEffectivePolicyCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeHandshakeRequestFilterSensitiveLog, DescribeHandshakeResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DescribeHandshakeCommand, serializeAws_json1_1DescribeHandshakeCommand, } from "../protocols/Aws_json1_1";
5
- export class DescribeHandshakeCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeHandshakeCommand = (function (_super) {
7
+ __extends(DescribeHandshakeCommand, _super);
8
+ function DescribeHandshakeCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeHandshakeCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "OrganizationsClient";
15
- const commandName = "DescribeHandshakeCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "OrganizationsClient";
18
+ var commandName = "DescribeHandshakeCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeHandshakeRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeHandshakeResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DescribeHandshakeCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DescribeHandshakeCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeHandshakeCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DescribeHandshakeCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeHandshakeCommand;
38
+ }($Command));
39
+ export { DescribeHandshakeCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeOrganizationResponseFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DescribeOrganizationCommand, serializeAws_json1_1DescribeOrganizationCommand, } from "../protocols/Aws_json1_1";
5
- export class DescribeOrganizationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeOrganizationCommand = (function (_super) {
7
+ __extends(DescribeOrganizationCommand, _super);
8
+ function DescribeOrganizationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeOrganizationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "OrganizationsClient";
15
- const commandName = "DescribeOrganizationCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
20
- inputFilterSensitiveLog: (input) => input,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "OrganizationsClient";
18
+ var commandName = "DescribeOrganizationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: function (input) { return input; },
21
24
  outputFilterSensitiveLog: DescribeOrganizationResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DescribeOrganizationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DescribeOrganizationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeOrganizationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DescribeOrganizationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeOrganizationCommand;
38
+ }($Command));
39
+ export { DescribeOrganizationCommand };