@aws-sdk/client-organizations 3.478.0 → 3.484.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 +11 -11
|
@@ -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 ListTagsForResourceCommand 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 = "ListTagsForResourceCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AWSOrganizationsV20161128",
|
|
38
|
-
operation: "ListTagsForResource",
|
|
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_ListTagsForResourceCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_ListTagsForResourceCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class ListTagsForResourceCommand 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", "ListTagsForResource", {})
|
|
22
|
+
.n("OrganizationsClient", "ListTagsForResourceCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_ListTagsForResourceCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_ListTagsForResourceCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
@@ -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 ListTargetsForPolicyCommand 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 = "ListTargetsForPolicyCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AWSOrganizationsV20161128",
|
|
38
|
-
operation: "ListTargetsForPolicy",
|
|
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_ListTargetsForPolicyCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_ListTargetsForPolicyCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class ListTargetsForPolicyCommand 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", "ListTargetsForPolicy", {})
|
|
22
|
+
.n("OrganizationsClient", "ListTargetsForPolicyCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_ListTargetsForPolicyCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_ListTargetsForPolicyCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.ListTargetsForPolicyCommand = ListTargetsForPolicyCommand;
|
|
@@ -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 MoveAccountCommand 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 = "MoveAccountCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AWSOrganizationsV20161128",
|
|
38
|
-
operation: "MoveAccount",
|
|
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_MoveAccountCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_MoveAccountCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class MoveAccountCommand 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", "MoveAccount", {})
|
|
22
|
+
.n("OrganizationsClient", "MoveAccountCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_MoveAccountCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_MoveAccountCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.MoveAccountCommand = MoveAccountCommand;
|
|
@@ -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 PutResourcePolicyCommand 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 = "PutResourcePolicyCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AWSOrganizationsV20161128",
|
|
38
|
-
operation: "PutResourcePolicy",
|
|
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_PutResourcePolicyCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_PutResourcePolicyCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class PutResourcePolicyCommand 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", "PutResourcePolicy", {})
|
|
22
|
+
.n("OrganizationsClient", "PutResourcePolicyCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_PutResourcePolicyCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_PutResourcePolicyCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.PutResourcePolicyCommand = PutResourcePolicyCommand;
|
|
@@ -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 RegisterDelegatedAdministratorCommand 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 = "RegisterDelegatedAdministratorCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AWSOrganizationsV20161128",
|
|
38
|
-
operation: "RegisterDelegatedAdministrator",
|
|
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_RegisterDelegatedAdministratorCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_RegisterDelegatedAdministratorCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class RegisterDelegatedAdministratorCommand 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", "RegisterDelegatedAdministrator", {})
|
|
22
|
+
.n("OrganizationsClient", "RegisterDelegatedAdministratorCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_RegisterDelegatedAdministratorCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_RegisterDelegatedAdministratorCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.RegisterDelegatedAdministratorCommand = RegisterDelegatedAdministratorCommand;
|
|
@@ -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 RemoveAccountFromOrganizationCommand 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 = "RemoveAccountFromOrganizationCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AWSOrganizationsV20161128",
|
|
38
|
-
operation: "RemoveAccountFromOrganization",
|
|
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_RemoveAccountFromOrganizationCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_RemoveAccountFromOrganizationCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class RemoveAccountFromOrganizationCommand 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", "RemoveAccountFromOrganization", {})
|
|
22
|
+
.n("OrganizationsClient", "RemoveAccountFromOrganizationCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_RemoveAccountFromOrganizationCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_RemoveAccountFromOrganizationCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.RemoveAccountFromOrganizationCommand = RemoveAccountFromOrganizationCommand;
|
|
@@ -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 TagResourceCommand 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 = "TagResourceCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AWSOrganizationsV20161128",
|
|
38
|
-
operation: "TagResource",
|
|
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_TagResourceCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_TagResourceCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class TagResourceCommand 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", "TagResource", {})
|
|
22
|
+
.n("OrganizationsClient", "TagResourceCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_TagResourceCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_TagResourceCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.TagResourceCommand = TagResourceCommand;
|
|
@@ -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 UntagResourceCommand 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 = "UntagResourceCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AWSOrganizationsV20161128",
|
|
38
|
-
operation: "UntagResource",
|
|
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_UntagResourceCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_UntagResourceCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UntagResourceCommand 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", "UntagResource", {})
|
|
22
|
+
.n("OrganizationsClient", "UntagResourceCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_UntagResourceCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_UntagResourceCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
@@ -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 UpdateOrganizationalUnitCommand 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 = "UpdateOrganizationalUnitCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AWSOrganizationsV20161128",
|
|
38
|
-
operation: "UpdateOrganizationalUnit",
|
|
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_UpdateOrganizationalUnitCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_UpdateOrganizationalUnitCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateOrganizationalUnitCommand 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", "UpdateOrganizationalUnit", {})
|
|
22
|
+
.n("OrganizationsClient", "UpdateOrganizationalUnitCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_UpdateOrganizationalUnitCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_UpdateOrganizationalUnitCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateOrganizationalUnitCommand = UpdateOrganizationalUnitCommand;
|