@aws-sdk/client-organizations 3.478.0 → 3.481.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.
- package/dist-cjs/commands/AcceptHandshakeCommand.js +18 -41
- package/dist-cjs/commands/AttachPolicyCommand.js +18 -41
- package/dist-cjs/commands/CancelHandshakeCommand.js +18 -41
- package/dist-cjs/commands/CloseAccountCommand.js +18 -41
- package/dist-cjs/commands/CreateAccountCommand.js +18 -41
- package/dist-cjs/commands/CreateGovCloudAccountCommand.js +18 -41
- package/dist-cjs/commands/CreateOrganizationCommand.js +18 -41
- package/dist-cjs/commands/CreateOrganizationalUnitCommand.js +18 -41
- package/dist-cjs/commands/CreatePolicyCommand.js +18 -41
- package/dist-cjs/commands/DeclineHandshakeCommand.js +18 -41
- package/dist-cjs/commands/DeleteOrganizationCommand.js +18 -41
- package/dist-cjs/commands/DeleteOrganizationalUnitCommand.js +18 -41
- package/dist-cjs/commands/DeletePolicyCommand.js +18 -41
- package/dist-cjs/commands/DeleteResourcePolicyCommand.js +18 -41
- package/dist-cjs/commands/DeregisterDelegatedAdministratorCommand.js +18 -41
- package/dist-cjs/commands/DescribeAccountCommand.js +18 -41
- package/dist-cjs/commands/DescribeCreateAccountStatusCommand.js +18 -41
- package/dist-cjs/commands/DescribeEffectivePolicyCommand.js +18 -41
- package/dist-cjs/commands/DescribeHandshakeCommand.js +18 -41
- package/dist-cjs/commands/DescribeOrganizationCommand.js +18 -41
- package/dist-cjs/commands/DescribeOrganizationalUnitCommand.js +18 -41
- package/dist-cjs/commands/DescribePolicyCommand.js +18 -41
- package/dist-cjs/commands/DescribeResourcePolicyCommand.js +18 -41
- package/dist-cjs/commands/DetachPolicyCommand.js +18 -41
- package/dist-cjs/commands/DisableAWSServiceAccessCommand.js +18 -41
- package/dist-cjs/commands/DisablePolicyTypeCommand.js +18 -41
- package/dist-cjs/commands/EnableAWSServiceAccessCommand.js +18 -41
- package/dist-cjs/commands/EnableAllFeaturesCommand.js +18 -41
- package/dist-cjs/commands/EnablePolicyTypeCommand.js +18 -41
- package/dist-cjs/commands/InviteAccountToOrganizationCommand.js +18 -41
- package/dist-cjs/commands/LeaveOrganizationCommand.js +18 -41
- package/dist-cjs/commands/ListAWSServiceAccessForOrganizationCommand.js +18 -41
- package/dist-cjs/commands/ListAccountsCommand.js +18 -41
- package/dist-cjs/commands/ListAccountsForParentCommand.js +18 -41
- package/dist-cjs/commands/ListChildrenCommand.js +18 -41
- package/dist-cjs/commands/ListCreateAccountStatusCommand.js +18 -41
- package/dist-cjs/commands/ListDelegatedAdministratorsCommand.js +18 -41
- package/dist-cjs/commands/ListDelegatedServicesForAccountCommand.js +18 -41
- package/dist-cjs/commands/ListHandshakesForAccountCommand.js +18 -41
- package/dist-cjs/commands/ListHandshakesForOrganizationCommand.js +18 -41
- package/dist-cjs/commands/ListOrganizationalUnitsForParentCommand.js +18 -41
- package/dist-cjs/commands/ListParentsCommand.js +18 -41
- package/dist-cjs/commands/ListPoliciesCommand.js +18 -41
- package/dist-cjs/commands/ListPoliciesForTargetCommand.js +18 -41
- package/dist-cjs/commands/ListRootsCommand.js +18 -41
- package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-cjs/commands/ListTargetsForPolicyCommand.js +18 -41
- package/dist-cjs/commands/MoveAccountCommand.js +18 -41
- package/dist-cjs/commands/PutResourcePolicyCommand.js +18 -41
- package/dist-cjs/commands/RegisterDelegatedAdministratorCommand.js +18 -41
- package/dist-cjs/commands/RemoveAccountFromOrganizationCommand.js +18 -41
- package/dist-cjs/commands/TagResourceCommand.js +18 -41
- package/dist-cjs/commands/UntagResourceCommand.js +18 -41
- package/dist-cjs/commands/UpdateOrganizationalUnitCommand.js +18 -41
- package/dist-cjs/commands/UpdatePolicyCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-es/commands/AcceptHandshakeCommand.js +18 -41
- package/dist-es/commands/AttachPolicyCommand.js +18 -41
- package/dist-es/commands/CancelHandshakeCommand.js +18 -41
- package/dist-es/commands/CloseAccountCommand.js +18 -41
- package/dist-es/commands/CreateAccountCommand.js +18 -41
- package/dist-es/commands/CreateGovCloudAccountCommand.js +18 -41
- package/dist-es/commands/CreateOrganizationCommand.js +18 -41
- package/dist-es/commands/CreateOrganizationalUnitCommand.js +18 -41
- package/dist-es/commands/CreatePolicyCommand.js +18 -41
- package/dist-es/commands/DeclineHandshakeCommand.js +18 -41
- package/dist-es/commands/DeleteOrganizationCommand.js +18 -41
- package/dist-es/commands/DeleteOrganizationalUnitCommand.js +18 -41
- package/dist-es/commands/DeletePolicyCommand.js +18 -41
- package/dist-es/commands/DeleteResourcePolicyCommand.js +18 -41
- package/dist-es/commands/DeregisterDelegatedAdministratorCommand.js +18 -41
- package/dist-es/commands/DescribeAccountCommand.js +18 -41
- package/dist-es/commands/DescribeCreateAccountStatusCommand.js +18 -41
- package/dist-es/commands/DescribeEffectivePolicyCommand.js +18 -41
- package/dist-es/commands/DescribeHandshakeCommand.js +18 -41
- package/dist-es/commands/DescribeOrganizationCommand.js +18 -41
- package/dist-es/commands/DescribeOrganizationalUnitCommand.js +18 -41
- package/dist-es/commands/DescribePolicyCommand.js +18 -41
- package/dist-es/commands/DescribeResourcePolicyCommand.js +18 -41
- package/dist-es/commands/DetachPolicyCommand.js +18 -41
- package/dist-es/commands/DisableAWSServiceAccessCommand.js +18 -41
- package/dist-es/commands/DisablePolicyTypeCommand.js +18 -41
- package/dist-es/commands/EnableAWSServiceAccessCommand.js +18 -41
- package/dist-es/commands/EnableAllFeaturesCommand.js +18 -41
- package/dist-es/commands/EnablePolicyTypeCommand.js +18 -41
- package/dist-es/commands/InviteAccountToOrganizationCommand.js +18 -41
- package/dist-es/commands/LeaveOrganizationCommand.js +18 -41
- package/dist-es/commands/ListAWSServiceAccessForOrganizationCommand.js +18 -41
- package/dist-es/commands/ListAccountsCommand.js +18 -41
- package/dist-es/commands/ListAccountsForParentCommand.js +18 -41
- package/dist-es/commands/ListChildrenCommand.js +18 -41
- package/dist-es/commands/ListCreateAccountStatusCommand.js +18 -41
- package/dist-es/commands/ListDelegatedAdministratorsCommand.js +18 -41
- package/dist-es/commands/ListDelegatedServicesForAccountCommand.js +18 -41
- package/dist-es/commands/ListHandshakesForAccountCommand.js +18 -41
- package/dist-es/commands/ListHandshakesForOrganizationCommand.js +18 -41
- package/dist-es/commands/ListOrganizationalUnitsForParentCommand.js +18 -41
- package/dist-es/commands/ListParentsCommand.js +18 -41
- package/dist-es/commands/ListPoliciesCommand.js +18 -41
- package/dist-es/commands/ListPoliciesForTargetCommand.js +18 -41
- package/dist-es/commands/ListRootsCommand.js +18 -41
- package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-es/commands/ListTargetsForPolicyCommand.js +18 -41
- package/dist-es/commands/MoveAccountCommand.js +18 -41
- package/dist-es/commands/PutResourcePolicyCommand.js +18 -41
- package/dist-es/commands/RegisterDelegatedAdministratorCommand.js +18 -41
- package/dist-es/commands/RemoveAccountFromOrganizationCommand.js +18 -41
- package/dist-es/commands/TagResourceCommand.js +18 -41
- package/dist-es/commands/UntagResourceCommand.js +18 -41
- package/dist-es/commands/UpdateOrganizationalUnitCommand.js +18 -41
- package/dist-es/commands/UpdatePolicyCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-types/commands/AcceptHandshakeCommand.d.ts +6 -21
- package/dist-types/commands/AttachPolicyCommand.d.ts +6 -21
- package/dist-types/commands/CancelHandshakeCommand.d.ts +6 -21
- package/dist-types/commands/CloseAccountCommand.d.ts +6 -21
- package/dist-types/commands/CreateAccountCommand.d.ts +6 -21
- package/dist-types/commands/CreateGovCloudAccountCommand.d.ts +6 -21
- package/dist-types/commands/CreateOrganizationCommand.d.ts +6 -21
- package/dist-types/commands/CreateOrganizationalUnitCommand.d.ts +6 -21
- package/dist-types/commands/CreatePolicyCommand.d.ts +6 -21
- package/dist-types/commands/DeclineHandshakeCommand.d.ts +6 -21
- package/dist-types/commands/DeleteOrganizationCommand.d.ts +6 -21
- package/dist-types/commands/DeleteOrganizationalUnitCommand.d.ts +6 -21
- package/dist-types/commands/DeletePolicyCommand.d.ts +6 -21
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +6 -21
- package/dist-types/commands/DeregisterDelegatedAdministratorCommand.d.ts +6 -21
- package/dist-types/commands/DescribeAccountCommand.d.ts +6 -21
- package/dist-types/commands/DescribeCreateAccountStatusCommand.d.ts +6 -21
- package/dist-types/commands/DescribeEffectivePolicyCommand.d.ts +6 -21
- package/dist-types/commands/DescribeHandshakeCommand.d.ts +6 -21
- package/dist-types/commands/DescribeOrganizationCommand.d.ts +6 -21
- package/dist-types/commands/DescribeOrganizationalUnitCommand.d.ts +6 -21
- package/dist-types/commands/DescribePolicyCommand.d.ts +6 -21
- package/dist-types/commands/DescribeResourcePolicyCommand.d.ts +6 -21
- package/dist-types/commands/DetachPolicyCommand.d.ts +6 -21
- package/dist-types/commands/DisableAWSServiceAccessCommand.d.ts +6 -21
- package/dist-types/commands/DisablePolicyTypeCommand.d.ts +6 -21
- package/dist-types/commands/EnableAWSServiceAccessCommand.d.ts +6 -21
- package/dist-types/commands/EnableAllFeaturesCommand.d.ts +6 -21
- package/dist-types/commands/EnablePolicyTypeCommand.d.ts +6 -21
- package/dist-types/commands/InviteAccountToOrganizationCommand.d.ts +6 -21
- package/dist-types/commands/LeaveOrganizationCommand.d.ts +6 -21
- package/dist-types/commands/ListAWSServiceAccessForOrganizationCommand.d.ts +6 -21
- package/dist-types/commands/ListAccountsCommand.d.ts +6 -21
- package/dist-types/commands/ListAccountsForParentCommand.d.ts +6 -21
- package/dist-types/commands/ListChildrenCommand.d.ts +6 -21
- package/dist-types/commands/ListCreateAccountStatusCommand.d.ts +6 -21
- package/dist-types/commands/ListDelegatedAdministratorsCommand.d.ts +6 -21
- package/dist-types/commands/ListDelegatedServicesForAccountCommand.d.ts +6 -21
- package/dist-types/commands/ListHandshakesForAccountCommand.d.ts +6 -21
- package/dist-types/commands/ListHandshakesForOrganizationCommand.d.ts +6 -21
- package/dist-types/commands/ListOrganizationalUnitsForParentCommand.d.ts +6 -21
- package/dist-types/commands/ListParentsCommand.d.ts +6 -21
- package/dist-types/commands/ListPoliciesCommand.d.ts +6 -21
- package/dist-types/commands/ListPoliciesForTargetCommand.d.ts +6 -21
- package/dist-types/commands/ListRootsCommand.d.ts +6 -21
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
- package/dist-types/commands/ListTargetsForPolicyCommand.d.ts +6 -21
- package/dist-types/commands/MoveAccountCommand.d.ts +6 -21
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +6 -21
- package/dist-types/commands/RegisterDelegatedAdministratorCommand.d.ts +6 -21
- package/dist-types/commands/RemoveAccountFromOrganizationCommand.d.ts +6 -21
- package/dist-types/commands/TagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UpdateOrganizationalUnitCommand.d.ts +6 -21
- package/dist-types/commands/UpdatePolicyCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/commands/AcceptHandshakeCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/AttachPolicyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CancelHandshakeCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CloseAccountCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateAccountCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateGovCloudAccountCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateOrganizationCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateOrganizationalUnitCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreatePolicyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeclineHandshakeCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteOrganizationCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteOrganizationalUnitCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeletePolicyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeregisterDelegatedAdministratorCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeAccountCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeCreateAccountStatusCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeEffectivePolicyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeHandshakeCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeOrganizationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeOrganizationalUnitCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribePolicyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeResourcePolicyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DetachPolicyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DisableAWSServiceAccessCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DisablePolicyTypeCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/EnableAWSServiceAccessCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/EnableAllFeaturesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/EnablePolicyTypeCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/InviteAccountToOrganizationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/LeaveOrganizationCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListAWSServiceAccessForOrganizationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListAccountsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListAccountsForParentCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListChildrenCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListCreateAccountStatusCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListDelegatedAdministratorsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListDelegatedServicesForAccountCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListHandshakesForAccountCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListHandshakesForOrganizationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListOrganizationalUnitsForParentCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListParentsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListPoliciesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListPoliciesForTargetCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListRootsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListTargetsForPolicyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/MoveAccountCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/RegisterDelegatedAdministratorCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/RemoveAccountFromOrganizationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateOrganizationalUnitCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdatePolicyCommand.d.ts +14 -23
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/package.json +9 -9
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class UpdatePolicyCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "OrganizationsClient";
|
|
29
|
-
const commandName = "UpdatePolicyCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AWSOrganizationsV20161128",
|
|
38
|
-
operation: "UpdatePolicy",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_UpdatePolicyCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_UpdatePolicyCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdatePolicyCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AWSOrganizationsV20161128", "UpdatePolicy", {})
|
|
22
|
+
.n("OrganizationsClient", "UpdatePolicyCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_UpdatePolicyCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_UpdatePolicyCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdatePolicyCommand = UpdatePolicyCommand;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.resolveClientEndpointParameters = void 0;
|
|
3
|
+
exports.commonParams = exports.resolveClientEndpointParameters = void 0;
|
|
4
4
|
const resolveClientEndpointParameters = (options) => {
|
|
5
5
|
return {
|
|
6
6
|
...options,
|
|
@@ -10,3 +10,9 @@ const resolveClientEndpointParameters = (options) => {
|
|
|
10
10
|
};
|
|
11
11
|
};
|
|
12
12
|
exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
|
|
13
|
+
exports.commonParams = {
|
|
14
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
15
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
16
|
+
Region: { type: "builtInParams", name: "region" },
|
|
17
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
18
|
+
};
|
|
@@ -1,48 +1,25 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { AcceptHandshakeResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
6
|
import { de_AcceptHandshakeCommand, se_AcceptHandshakeCommand } from "../protocols/Aws_json1_1";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class AcceptHandshakeCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "OrganizationsClient";
|
|
27
|
-
const commandName = "AcceptHandshakeCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: (_) => _,
|
|
33
|
-
outputFilterSensitiveLog: AcceptHandshakeResponseFilterSensitiveLog,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "AWSOrganizationsV20161128",
|
|
36
|
-
operation: "AcceptHandshake",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_AcceptHandshakeCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_AcceptHandshakeCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class AcceptHandshakeCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("AWSOrganizationsV20161128", "AcceptHandshake", {})
|
|
20
|
+
.n("OrganizationsClient", "AcceptHandshakeCommand")
|
|
21
|
+
.f(void 0, AcceptHandshakeResponseFilterSensitiveLog)
|
|
22
|
+
.ser(se_AcceptHandshakeCommand)
|
|
23
|
+
.de(de_AcceptHandshakeCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_AttachPolicyCommand, se_AttachPolicyCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class AttachPolicyCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "OrganizationsClient";
|
|
26
|
-
const commandName = "AttachPolicyCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AWSOrganizationsV20161128",
|
|
35
|
-
operation: "AttachPolicy",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_AttachPolicyCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_AttachPolicyCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class AttachPolicyCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AWSOrganizationsV20161128", "AttachPolicy", {})
|
|
19
|
+
.n("OrganizationsClient", "AttachPolicyCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_AttachPolicyCommand)
|
|
22
|
+
.de(de_AttachPolicyCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,48 +1,25 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { CancelHandshakeResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
6
|
import { de_CancelHandshakeCommand, se_CancelHandshakeCommand } from "../protocols/Aws_json1_1";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class CancelHandshakeCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "OrganizationsClient";
|
|
27
|
-
const commandName = "CancelHandshakeCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: (_) => _,
|
|
33
|
-
outputFilterSensitiveLog: CancelHandshakeResponseFilterSensitiveLog,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "AWSOrganizationsV20161128",
|
|
36
|
-
operation: "CancelHandshake",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_CancelHandshakeCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_CancelHandshakeCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class CancelHandshakeCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("AWSOrganizationsV20161128", "CancelHandshake", {})
|
|
20
|
+
.n("OrganizationsClient", "CancelHandshakeCommand")
|
|
21
|
+
.f(void 0, CancelHandshakeResponseFilterSensitiveLog)
|
|
22
|
+
.ser(se_CancelHandshakeCommand)
|
|
23
|
+
.de(de_CancelHandshakeCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_CloseAccountCommand, se_CloseAccountCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class CloseAccountCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "OrganizationsClient";
|
|
26
|
-
const commandName = "CloseAccountCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AWSOrganizationsV20161128",
|
|
35
|
-
operation: "CloseAccount",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_CloseAccountCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_CloseAccountCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class CloseAccountCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AWSOrganizationsV20161128", "CloseAccount", {})
|
|
19
|
+
.n("OrganizationsClient", "CloseAccountCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_CloseAccountCommand)
|
|
22
|
+
.de(de_CloseAccountCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,48 +1,25 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { CreateAccountRequestFilterSensitiveLog, CreateAccountResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
6
|
import { de_CreateAccountCommand, se_CreateAccountCommand } from "../protocols/Aws_json1_1";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class CreateAccountCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "OrganizationsClient";
|
|
27
|
-
const commandName = "CreateAccountCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: CreateAccountRequestFilterSensitiveLog,
|
|
33
|
-
outputFilterSensitiveLog: CreateAccountResponseFilterSensitiveLog,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "AWSOrganizationsV20161128",
|
|
36
|
-
operation: "CreateAccount",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_CreateAccountCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_CreateAccountCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class CreateAccountCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("AWSOrganizationsV20161128", "CreateAccount", {})
|
|
20
|
+
.n("OrganizationsClient", "CreateAccountCommand")
|
|
21
|
+
.f(CreateAccountRequestFilterSensitiveLog, CreateAccountResponseFilterSensitiveLog)
|
|
22
|
+
.ser(se_CreateAccountCommand)
|
|
23
|
+
.de(de_CreateAccountCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -1,48 +1,25 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { CreateGovCloudAccountRequestFilterSensitiveLog, CreateGovCloudAccountResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
6
|
import { de_CreateGovCloudAccountCommand, se_CreateGovCloudAccountCommand } from "../protocols/Aws_json1_1";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class CreateGovCloudAccountCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "OrganizationsClient";
|
|
27
|
-
const commandName = "CreateGovCloudAccountCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: CreateGovCloudAccountRequestFilterSensitiveLog,
|
|
33
|
-
outputFilterSensitiveLog: CreateGovCloudAccountResponseFilterSensitiveLog,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "AWSOrganizationsV20161128",
|
|
36
|
-
operation: "CreateGovCloudAccount",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_CreateGovCloudAccountCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_CreateGovCloudAccountCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class CreateGovCloudAccountCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("AWSOrganizationsV20161128", "CreateGovCloudAccount", {})
|
|
20
|
+
.n("OrganizationsClient", "CreateGovCloudAccountCommand")
|
|
21
|
+
.f(CreateGovCloudAccountRequestFilterSensitiveLog, CreateGovCloudAccountResponseFilterSensitiveLog)
|
|
22
|
+
.ser(se_CreateGovCloudAccountCommand)
|
|
23
|
+
.de(de_CreateGovCloudAccountCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -1,48 +1,25 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { CreateOrganizationResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
6
|
import { de_CreateOrganizationCommand, se_CreateOrganizationCommand } from "../protocols/Aws_json1_1";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class CreateOrganizationCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "OrganizationsClient";
|
|
27
|
-
const commandName = "CreateOrganizationCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: (_) => _,
|
|
33
|
-
outputFilterSensitiveLog: CreateOrganizationResponseFilterSensitiveLog,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "AWSOrganizationsV20161128",
|
|
36
|
-
operation: "CreateOrganization",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_CreateOrganizationCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_CreateOrganizationCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class CreateOrganizationCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("AWSOrganizationsV20161128", "CreateOrganization", {})
|
|
20
|
+
.n("OrganizationsClient", "CreateOrganizationCommand")
|
|
21
|
+
.f(void 0, CreateOrganizationResponseFilterSensitiveLog)
|
|
22
|
+
.ser(se_CreateOrganizationCommand)
|
|
23
|
+
.de(de_CreateOrganizationCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_CreateOrganizationalUnitCommand, se_CreateOrganizationalUnitCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class CreateOrganizationalUnitCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "OrganizationsClient";
|
|
26
|
-
const commandName = "CreateOrganizationalUnitCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AWSOrganizationsV20161128",
|
|
35
|
-
operation: "CreateOrganizationalUnit",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_CreateOrganizationalUnitCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_CreateOrganizationalUnitCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class CreateOrganizationalUnitCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AWSOrganizationsV20161128", "CreateOrganizationalUnit", {})
|
|
19
|
+
.n("OrganizationsClient", "CreateOrganizationalUnitCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_CreateOrganizationalUnitCommand)
|
|
22
|
+
.de(de_CreateOrganizationalUnitCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|