@aws-sdk/client-organizations 3.926.0 → 3.928.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/dist-cjs/index.js +1881 -2595
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/OrganizationsClient.js +2 -0
  4. package/dist-es/commands/AcceptHandshakeCommand.js +3 -10
  5. package/dist-es/commands/AttachPolicyCommand.js +3 -9
  6. package/dist-es/commands/CancelHandshakeCommand.js +3 -10
  7. package/dist-es/commands/CloseAccountCommand.js +3 -9
  8. package/dist-es/commands/CreateAccountCommand.js +3 -10
  9. package/dist-es/commands/CreateGovCloudAccountCommand.js +3 -10
  10. package/dist-es/commands/CreateOrganizationCommand.js +3 -10
  11. package/dist-es/commands/CreateOrganizationalUnitCommand.js +3 -9
  12. package/dist-es/commands/CreatePolicyCommand.js +3 -9
  13. package/dist-es/commands/DeclineHandshakeCommand.js +3 -10
  14. package/dist-es/commands/DeleteOrganizationCommand.js +3 -9
  15. package/dist-es/commands/DeleteOrganizationalUnitCommand.js +3 -9
  16. package/dist-es/commands/DeletePolicyCommand.js +3 -9
  17. package/dist-es/commands/DeleteResourcePolicyCommand.js +3 -9
  18. package/dist-es/commands/DeregisterDelegatedAdministratorCommand.js +3 -9
  19. package/dist-es/commands/DescribeAccountCommand.js +3 -10
  20. package/dist-es/commands/DescribeCreateAccountStatusCommand.js +3 -10
  21. package/dist-es/commands/DescribeEffectivePolicyCommand.js +3 -9
  22. package/dist-es/commands/DescribeHandshakeCommand.js +3 -10
  23. package/dist-es/commands/DescribeOrganizationCommand.js +3 -10
  24. package/dist-es/commands/DescribeOrganizationalUnitCommand.js +3 -9
  25. package/dist-es/commands/DescribePolicyCommand.js +3 -9
  26. package/dist-es/commands/DescribeResourcePolicyCommand.js +3 -9
  27. package/dist-es/commands/DetachPolicyCommand.js +3 -9
  28. package/dist-es/commands/DisableAWSServiceAccessCommand.js +3 -9
  29. package/dist-es/commands/DisablePolicyTypeCommand.js +3 -9
  30. package/dist-es/commands/EnableAWSServiceAccessCommand.js +3 -9
  31. package/dist-es/commands/EnableAllFeaturesCommand.js +3 -10
  32. package/dist-es/commands/EnablePolicyTypeCommand.js +3 -9
  33. package/dist-es/commands/InviteAccountToOrganizationCommand.js +3 -10
  34. package/dist-es/commands/LeaveOrganizationCommand.js +3 -9
  35. package/dist-es/commands/ListAWSServiceAccessForOrganizationCommand.js +3 -9
  36. package/dist-es/commands/ListAccountsCommand.js +3 -10
  37. package/dist-es/commands/ListAccountsForParentCommand.js +3 -10
  38. package/dist-es/commands/ListAccountsWithInvalidEffectivePolicyCommand.js +3 -10
  39. package/dist-es/commands/ListChildrenCommand.js +3 -9
  40. package/dist-es/commands/ListCreateAccountStatusCommand.js +3 -10
  41. package/dist-es/commands/ListDelegatedAdministratorsCommand.js +3 -10
  42. package/dist-es/commands/ListDelegatedServicesForAccountCommand.js +3 -9
  43. package/dist-es/commands/ListEffectivePolicyValidationErrorsCommand.js +3 -9
  44. package/dist-es/commands/ListHandshakesForAccountCommand.js +3 -10
  45. package/dist-es/commands/ListHandshakesForOrganizationCommand.js +3 -10
  46. package/dist-es/commands/ListOrganizationalUnitsForParentCommand.js +3 -9
  47. package/dist-es/commands/ListParentsCommand.js +3 -9
  48. package/dist-es/commands/ListPoliciesCommand.js +3 -9
  49. package/dist-es/commands/ListPoliciesForTargetCommand.js +3 -9
  50. package/dist-es/commands/ListRootsCommand.js +3 -9
  51. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  52. package/dist-es/commands/ListTargetsForPolicyCommand.js +3 -9
  53. package/dist-es/commands/MoveAccountCommand.js +3 -9
  54. package/dist-es/commands/PutResourcePolicyCommand.js +3 -9
  55. package/dist-es/commands/RegisterDelegatedAdministratorCommand.js +3 -9
  56. package/dist-es/commands/RemoveAccountFromOrganizationCommand.js +3 -9
  57. package/dist-es/commands/TagResourceCommand.js +3 -9
  58. package/dist-es/commands/UntagResourceCommand.js +3 -9
  59. package/dist-es/commands/UpdateOrganizationalUnitCommand.js +3 -9
  60. package/dist-es/commands/UpdatePolicyCommand.js +3 -9
  61. package/dist-es/models/models_0.js +0 -132
  62. package/dist-es/runtimeConfig.shared.js +7 -0
  63. package/dist-es/schemas/schemas_0.js +1627 -0
  64. package/dist-types/OrganizationsClient.d.ts +10 -1
  65. package/dist-types/models/models_0.d.ts +0 -116
  66. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  67. package/dist-types/runtimeConfig.d.ts +1 -0
  68. package/dist-types/runtimeConfig.native.d.ts +1 -0
  69. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  70. package/dist-types/schemas/schemas_0.d.ts +249 -0
  71. package/dist-types/ts3.4/OrganizationsClient.d.ts +4 -0
  72. package/dist-types/ts3.4/models/models_0.d.ts +0 -81
  73. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  74. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  75. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  76. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  77. package/dist-types/ts3.4/schemas/schemas_0.d.ts +255 -0
  78. package/package.json +5 -5
  79. package/dist-es/protocols/Aws_json1_1.js +0 -1899
  80. package/dist-types/protocols/Aws_json1_1.d.ts +0 -515
  81. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -689
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DescribeResourcePolicyCommand, se_DescribeResourcePolicyCommand } from "../protocols/Aws_json1_1";
4
+ import { DescribeResourcePolicy } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeResourcePolicyCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSOrganizationsV20161128", "DescribeResourcePolicy", {})
17
13
  .n("OrganizationsClient", "DescribeResourcePolicyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeResourcePolicyCommand)
20
- .de(de_DescribeResourcePolicyCommand)
14
+ .sc(DescribeResourcePolicy)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DetachPolicyCommand, se_DetachPolicyCommand } from "../protocols/Aws_json1_1";
4
+ import { DetachPolicy } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DetachPolicyCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSOrganizationsV20161128", "DetachPolicy", {})
17
13
  .n("OrganizationsClient", "DetachPolicyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DetachPolicyCommand)
20
- .de(de_DetachPolicyCommand)
14
+ .sc(DetachPolicy)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DisableAWSServiceAccessCommand, se_DisableAWSServiceAccessCommand } from "../protocols/Aws_json1_1";
4
+ import { DisableAWSServiceAccess } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DisableAWSServiceAccessCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSOrganizationsV20161128", "DisableAWSServiceAccess", {})
17
13
  .n("OrganizationsClient", "DisableAWSServiceAccessCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DisableAWSServiceAccessCommand)
20
- .de(de_DisableAWSServiceAccessCommand)
14
+ .sc(DisableAWSServiceAccess)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DisablePolicyTypeCommand, se_DisablePolicyTypeCommand } from "../protocols/Aws_json1_1";
4
+ import { DisablePolicyType } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DisablePolicyTypeCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSOrganizationsV20161128", "DisablePolicyType", {})
17
13
  .n("OrganizationsClient", "DisablePolicyTypeCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DisablePolicyTypeCommand)
20
- .de(de_DisablePolicyTypeCommand)
14
+ .sc(DisablePolicyType)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_EnableAWSServiceAccessCommand, se_EnableAWSServiceAccessCommand } from "../protocols/Aws_json1_1";
4
+ import { EnableAWSServiceAccess } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class EnableAWSServiceAccessCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSOrganizationsV20161128", "EnableAWSServiceAccess", {})
17
13
  .n("OrganizationsClient", "EnableAWSServiceAccessCommand")
18
- .f(void 0, void 0)
19
- .ser(se_EnableAWSServiceAccessCommand)
20
- .de(de_EnableAWSServiceAccessCommand)
14
+ .sc(EnableAWSServiceAccess)
21
15
  .build() {
22
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { EnableAllFeaturesResponseFilterSensitiveLog, } from "../models/models_0";
6
- import { de_EnableAllFeaturesCommand, se_EnableAllFeaturesCommand } from "../protocols/Aws_json1_1";
4
+ import { EnableAllFeatures } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class EnableAllFeaturesCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("AWSOrganizationsV20161128", "EnableAllFeatures", {})
18
13
  .n("OrganizationsClient", "EnableAllFeaturesCommand")
19
- .f(void 0, EnableAllFeaturesResponseFilterSensitiveLog)
20
- .ser(se_EnableAllFeaturesCommand)
21
- .de(de_EnableAllFeaturesCommand)
14
+ .sc(EnableAllFeatures)
22
15
  .build() {
23
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_EnablePolicyTypeCommand, se_EnablePolicyTypeCommand } from "../protocols/Aws_json1_1";
4
+ import { EnablePolicyType } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class EnablePolicyTypeCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSOrganizationsV20161128", "EnablePolicyType", {})
17
13
  .n("OrganizationsClient", "EnablePolicyTypeCommand")
18
- .f(void 0, void 0)
19
- .ser(se_EnablePolicyTypeCommand)
20
- .de(de_EnablePolicyTypeCommand)
14
+ .sc(EnablePolicyType)
21
15
  .build() {
22
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { InviteAccountToOrganizationRequestFilterSensitiveLog, InviteAccountToOrganizationResponseFilterSensitiveLog, } from "../models/models_0";
6
- import { de_InviteAccountToOrganizationCommand, se_InviteAccountToOrganizationCommand } from "../protocols/Aws_json1_1";
4
+ import { InviteAccountToOrganization } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class InviteAccountToOrganizationCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("AWSOrganizationsV20161128", "InviteAccountToOrganization", {})
18
13
  .n("OrganizationsClient", "InviteAccountToOrganizationCommand")
19
- .f(InviteAccountToOrganizationRequestFilterSensitiveLog, InviteAccountToOrganizationResponseFilterSensitiveLog)
20
- .ser(se_InviteAccountToOrganizationCommand)
21
- .de(de_InviteAccountToOrganizationCommand)
14
+ .sc(InviteAccountToOrganization)
22
15
  .build() {
23
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_LeaveOrganizationCommand, se_LeaveOrganizationCommand } from "../protocols/Aws_json1_1";
4
+ import { LeaveOrganization } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class LeaveOrganizationCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSOrganizationsV20161128", "LeaveOrganization", {})
17
13
  .n("OrganizationsClient", "LeaveOrganizationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_LeaveOrganizationCommand)
20
- .de(de_LeaveOrganizationCommand)
14
+ .sc(LeaveOrganization)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListAWSServiceAccessForOrganizationCommand, se_ListAWSServiceAccessForOrganizationCommand, } from "../protocols/Aws_json1_1";
4
+ import { ListAWSServiceAccessForOrganization } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListAWSServiceAccessForOrganizationCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSOrganizationsV20161128", "ListAWSServiceAccessForOrganization", {})
17
13
  .n("OrganizationsClient", "ListAWSServiceAccessForOrganizationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListAWSServiceAccessForOrganizationCommand)
20
- .de(de_ListAWSServiceAccessForOrganizationCommand)
14
+ .sc(ListAWSServiceAccessForOrganization)
21
15
  .build() {
22
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { ListAccountsResponseFilterSensitiveLog } from "../models/models_0";
6
- import { de_ListAccountsCommand, se_ListAccountsCommand } from "../protocols/Aws_json1_1";
4
+ import { ListAccounts } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class ListAccountsCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("AWSOrganizationsV20161128", "ListAccounts", {})
18
13
  .n("OrganizationsClient", "ListAccountsCommand")
19
- .f(void 0, ListAccountsResponseFilterSensitiveLog)
20
- .ser(se_ListAccountsCommand)
21
- .de(de_ListAccountsCommand)
14
+ .sc(ListAccounts)
22
15
  .build() {
23
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { ListAccountsForParentResponseFilterSensitiveLog, } from "../models/models_0";
6
- import { de_ListAccountsForParentCommand, se_ListAccountsForParentCommand } from "../protocols/Aws_json1_1";
4
+ import { ListAccountsForParent } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class ListAccountsForParentCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("AWSOrganizationsV20161128", "ListAccountsForParent", {})
18
13
  .n("OrganizationsClient", "ListAccountsForParentCommand")
19
- .f(void 0, ListAccountsForParentResponseFilterSensitiveLog)
20
- .ser(se_ListAccountsForParentCommand)
21
- .de(de_ListAccountsForParentCommand)
14
+ .sc(ListAccountsForParent)
22
15
  .build() {
23
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { ListAccountsWithInvalidEffectivePolicyResponseFilterSensitiveLog, } from "../models/models_0";
6
- import { de_ListAccountsWithInvalidEffectivePolicyCommand, se_ListAccountsWithInvalidEffectivePolicyCommand, } from "../protocols/Aws_json1_1";
4
+ import { ListAccountsWithInvalidEffectivePolicy } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class ListAccountsWithInvalidEffectivePolicyCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("AWSOrganizationsV20161128", "ListAccountsWithInvalidEffectivePolicy", {})
18
13
  .n("OrganizationsClient", "ListAccountsWithInvalidEffectivePolicyCommand")
19
- .f(void 0, ListAccountsWithInvalidEffectivePolicyResponseFilterSensitiveLog)
20
- .ser(se_ListAccountsWithInvalidEffectivePolicyCommand)
21
- .de(de_ListAccountsWithInvalidEffectivePolicyCommand)
14
+ .sc(ListAccountsWithInvalidEffectivePolicy)
22
15
  .build() {
23
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListChildrenCommand, se_ListChildrenCommand } from "../protocols/Aws_json1_1";
4
+ import { ListChildren } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListChildrenCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSOrganizationsV20161128", "ListChildren", {})
17
13
  .n("OrganizationsClient", "ListChildrenCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListChildrenCommand)
20
- .de(de_ListChildrenCommand)
14
+ .sc(ListChildren)
21
15
  .build() {
22
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { ListCreateAccountStatusResponseFilterSensitiveLog, } from "../models/models_0";
6
- import { de_ListCreateAccountStatusCommand, se_ListCreateAccountStatusCommand } from "../protocols/Aws_json1_1";
4
+ import { ListCreateAccountStatus } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class ListCreateAccountStatusCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("AWSOrganizationsV20161128", "ListCreateAccountStatus", {})
18
13
  .n("OrganizationsClient", "ListCreateAccountStatusCommand")
19
- .f(void 0, ListCreateAccountStatusResponseFilterSensitiveLog)
20
- .ser(se_ListCreateAccountStatusCommand)
21
- .de(de_ListCreateAccountStatusCommand)
14
+ .sc(ListCreateAccountStatus)
22
15
  .build() {
23
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { ListDelegatedAdministratorsResponseFilterSensitiveLog, } from "../models/models_0";
6
- import { de_ListDelegatedAdministratorsCommand, se_ListDelegatedAdministratorsCommand } from "../protocols/Aws_json1_1";
4
+ import { ListDelegatedAdministrators } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class ListDelegatedAdministratorsCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("AWSOrganizationsV20161128", "ListDelegatedAdministrators", {})
18
13
  .n("OrganizationsClient", "ListDelegatedAdministratorsCommand")
19
- .f(void 0, ListDelegatedAdministratorsResponseFilterSensitiveLog)
20
- .ser(se_ListDelegatedAdministratorsCommand)
21
- .de(de_ListDelegatedAdministratorsCommand)
14
+ .sc(ListDelegatedAdministrators)
22
15
  .build() {
23
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListDelegatedServicesForAccountCommand, se_ListDelegatedServicesForAccountCommand, } from "../protocols/Aws_json1_1";
4
+ import { ListDelegatedServicesForAccount } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListDelegatedServicesForAccountCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSOrganizationsV20161128", "ListDelegatedServicesForAccount", {})
17
13
  .n("OrganizationsClient", "ListDelegatedServicesForAccountCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListDelegatedServicesForAccountCommand)
20
- .de(de_ListDelegatedServicesForAccountCommand)
14
+ .sc(ListDelegatedServicesForAccount)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListEffectivePolicyValidationErrorsCommand, se_ListEffectivePolicyValidationErrorsCommand, } from "../protocols/Aws_json1_1";
4
+ import { ListEffectivePolicyValidationErrors } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListEffectivePolicyValidationErrorsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSOrganizationsV20161128", "ListEffectivePolicyValidationErrors", {})
17
13
  .n("OrganizationsClient", "ListEffectivePolicyValidationErrorsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListEffectivePolicyValidationErrorsCommand)
20
- .de(de_ListEffectivePolicyValidationErrorsCommand)
14
+ .sc(ListEffectivePolicyValidationErrors)
21
15
  .build() {
22
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { ListHandshakesForAccountResponseFilterSensitiveLog, } from "../models/models_0";
6
- import { de_ListHandshakesForAccountCommand, se_ListHandshakesForAccountCommand } from "../protocols/Aws_json1_1";
4
+ import { ListHandshakesForAccount } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class ListHandshakesForAccountCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("AWSOrganizationsV20161128", "ListHandshakesForAccount", {})
18
13
  .n("OrganizationsClient", "ListHandshakesForAccountCommand")
19
- .f(void 0, ListHandshakesForAccountResponseFilterSensitiveLog)
20
- .ser(se_ListHandshakesForAccountCommand)
21
- .de(de_ListHandshakesForAccountCommand)
14
+ .sc(ListHandshakesForAccount)
22
15
  .build() {
23
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { ListHandshakesForOrganizationResponseFilterSensitiveLog, } from "../models/models_0";
6
- import { de_ListHandshakesForOrganizationCommand, se_ListHandshakesForOrganizationCommand, } from "../protocols/Aws_json1_1";
4
+ import { ListHandshakesForOrganization } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class ListHandshakesForOrganizationCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("AWSOrganizationsV20161128", "ListHandshakesForOrganization", {})
18
13
  .n("OrganizationsClient", "ListHandshakesForOrganizationCommand")
19
- .f(void 0, ListHandshakesForOrganizationResponseFilterSensitiveLog)
20
- .ser(se_ListHandshakesForOrganizationCommand)
21
- .de(de_ListHandshakesForOrganizationCommand)
14
+ .sc(ListHandshakesForOrganization)
22
15
  .build() {
23
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListOrganizationalUnitsForParentCommand, se_ListOrganizationalUnitsForParentCommand, } from "../protocols/Aws_json1_1";
4
+ import { ListOrganizationalUnitsForParent } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListOrganizationalUnitsForParentCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSOrganizationsV20161128", "ListOrganizationalUnitsForParent", {})
17
13
  .n("OrganizationsClient", "ListOrganizationalUnitsForParentCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListOrganizationalUnitsForParentCommand)
20
- .de(de_ListOrganizationalUnitsForParentCommand)
14
+ .sc(ListOrganizationalUnitsForParent)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListParentsCommand, se_ListParentsCommand } from "../protocols/Aws_json1_1";
4
+ import { ListParents } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListParentsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSOrganizationsV20161128", "ListParents", {})
17
13
  .n("OrganizationsClient", "ListParentsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListParentsCommand)
20
- .de(de_ListParentsCommand)
14
+ .sc(ListParents)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListPoliciesCommand, se_ListPoliciesCommand } from "../protocols/Aws_json1_1";
4
+ import { ListPolicies } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListPoliciesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSOrganizationsV20161128", "ListPolicies", {})
17
13
  .n("OrganizationsClient", "ListPoliciesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListPoliciesCommand)
20
- .de(de_ListPoliciesCommand)
14
+ .sc(ListPolicies)
21
15
  .build() {
22
16
  }