@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,48 +5,25 @@ 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 models_0_1 = require("../models/models_0");
|
|
10
10
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
11
|
-
class ListDelegatedAdministratorsCommand extends smithy_client_1.Command
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
const { logger } = configuration;
|
|
29
|
-
const clientName = "OrganizationsClient";
|
|
30
|
-
const commandName = "ListDelegatedAdministratorsCommand";
|
|
31
|
-
const handlerExecutionContext = {
|
|
32
|
-
logger,
|
|
33
|
-
clientName,
|
|
34
|
-
commandName,
|
|
35
|
-
inputFilterSensitiveLog: (_) => _,
|
|
36
|
-
outputFilterSensitiveLog: models_0_1.ListDelegatedAdministratorsResponseFilterSensitiveLog,
|
|
37
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
-
service: "AWSOrganizationsV20161128",
|
|
39
|
-
operation: "ListDelegatedAdministrators",
|
|
40
|
-
},
|
|
41
|
-
};
|
|
42
|
-
const { requestHandler } = configuration;
|
|
43
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
44
|
-
}
|
|
45
|
-
serialize(input, context) {
|
|
46
|
-
return (0, Aws_json1_1_1.se_ListDelegatedAdministratorsCommand)(input, context);
|
|
47
|
-
}
|
|
48
|
-
deserialize(output, context) {
|
|
49
|
-
return (0, Aws_json1_1_1.de_ListDelegatedAdministratorsCommand)(output, context);
|
|
50
|
-
}
|
|
11
|
+
class ListDelegatedAdministratorsCommand extends smithy_client_1.Command
|
|
12
|
+
.classBuilder()
|
|
13
|
+
.ep({
|
|
14
|
+
...EndpointParameters_1.commonParams,
|
|
15
|
+
})
|
|
16
|
+
.m(function (Command, cs, config, o) {
|
|
17
|
+
return [
|
|
18
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
19
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
20
|
+
];
|
|
21
|
+
})
|
|
22
|
+
.s("AWSOrganizationsV20161128", "ListDelegatedAdministrators", {})
|
|
23
|
+
.n("OrganizationsClient", "ListDelegatedAdministratorsCommand")
|
|
24
|
+
.f(void 0, models_0_1.ListDelegatedAdministratorsResponseFilterSensitiveLog)
|
|
25
|
+
.ser(Aws_json1_1_1.se_ListDelegatedAdministratorsCommand)
|
|
26
|
+
.de(Aws_json1_1_1.de_ListDelegatedAdministratorsCommand)
|
|
27
|
+
.build() {
|
|
51
28
|
}
|
|
52
29
|
exports.ListDelegatedAdministratorsCommand = ListDelegatedAdministratorsCommand;
|
|
@@ -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 ListDelegatedServicesForAccountCommand 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 = "ListDelegatedServicesForAccountCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AWSOrganizationsV20161128",
|
|
38
|
-
operation: "ListDelegatedServicesForAccount",
|
|
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_ListDelegatedServicesForAccountCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_ListDelegatedServicesForAccountCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class ListDelegatedServicesForAccountCommand 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", "ListDelegatedServicesForAccount", {})
|
|
22
|
+
.n("OrganizationsClient", "ListDelegatedServicesForAccountCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_ListDelegatedServicesForAccountCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_ListDelegatedServicesForAccountCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.ListDelegatedServicesForAccountCommand = ListDelegatedServicesForAccountCommand;
|
|
@@ -5,48 +5,25 @@ 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 models_0_1 = require("../models/models_0");
|
|
10
10
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
11
|
-
class ListHandshakesForAccountCommand extends smithy_client_1.Command
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
const { logger } = configuration;
|
|
29
|
-
const clientName = "OrganizationsClient";
|
|
30
|
-
const commandName = "ListHandshakesForAccountCommand";
|
|
31
|
-
const handlerExecutionContext = {
|
|
32
|
-
logger,
|
|
33
|
-
clientName,
|
|
34
|
-
commandName,
|
|
35
|
-
inputFilterSensitiveLog: (_) => _,
|
|
36
|
-
outputFilterSensitiveLog: models_0_1.ListHandshakesForAccountResponseFilterSensitiveLog,
|
|
37
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
-
service: "AWSOrganizationsV20161128",
|
|
39
|
-
operation: "ListHandshakesForAccount",
|
|
40
|
-
},
|
|
41
|
-
};
|
|
42
|
-
const { requestHandler } = configuration;
|
|
43
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
44
|
-
}
|
|
45
|
-
serialize(input, context) {
|
|
46
|
-
return (0, Aws_json1_1_1.se_ListHandshakesForAccountCommand)(input, context);
|
|
47
|
-
}
|
|
48
|
-
deserialize(output, context) {
|
|
49
|
-
return (0, Aws_json1_1_1.de_ListHandshakesForAccountCommand)(output, context);
|
|
50
|
-
}
|
|
11
|
+
class ListHandshakesForAccountCommand extends smithy_client_1.Command
|
|
12
|
+
.classBuilder()
|
|
13
|
+
.ep({
|
|
14
|
+
...EndpointParameters_1.commonParams,
|
|
15
|
+
})
|
|
16
|
+
.m(function (Command, cs, config, o) {
|
|
17
|
+
return [
|
|
18
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
19
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
20
|
+
];
|
|
21
|
+
})
|
|
22
|
+
.s("AWSOrganizationsV20161128", "ListHandshakesForAccount", {})
|
|
23
|
+
.n("OrganizationsClient", "ListHandshakesForAccountCommand")
|
|
24
|
+
.f(void 0, models_0_1.ListHandshakesForAccountResponseFilterSensitiveLog)
|
|
25
|
+
.ser(Aws_json1_1_1.se_ListHandshakesForAccountCommand)
|
|
26
|
+
.de(Aws_json1_1_1.de_ListHandshakesForAccountCommand)
|
|
27
|
+
.build() {
|
|
51
28
|
}
|
|
52
29
|
exports.ListHandshakesForAccountCommand = ListHandshakesForAccountCommand;
|
|
@@ -5,48 +5,25 @@ 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 models_0_1 = require("../models/models_0");
|
|
10
10
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
11
|
-
class ListHandshakesForOrganizationCommand extends smithy_client_1.Command
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
const { logger } = configuration;
|
|
29
|
-
const clientName = "OrganizationsClient";
|
|
30
|
-
const commandName = "ListHandshakesForOrganizationCommand";
|
|
31
|
-
const handlerExecutionContext = {
|
|
32
|
-
logger,
|
|
33
|
-
clientName,
|
|
34
|
-
commandName,
|
|
35
|
-
inputFilterSensitiveLog: (_) => _,
|
|
36
|
-
outputFilterSensitiveLog: models_0_1.ListHandshakesForOrganizationResponseFilterSensitiveLog,
|
|
37
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
-
service: "AWSOrganizationsV20161128",
|
|
39
|
-
operation: "ListHandshakesForOrganization",
|
|
40
|
-
},
|
|
41
|
-
};
|
|
42
|
-
const { requestHandler } = configuration;
|
|
43
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
44
|
-
}
|
|
45
|
-
serialize(input, context) {
|
|
46
|
-
return (0, Aws_json1_1_1.se_ListHandshakesForOrganizationCommand)(input, context);
|
|
47
|
-
}
|
|
48
|
-
deserialize(output, context) {
|
|
49
|
-
return (0, Aws_json1_1_1.de_ListHandshakesForOrganizationCommand)(output, context);
|
|
50
|
-
}
|
|
11
|
+
class ListHandshakesForOrganizationCommand extends smithy_client_1.Command
|
|
12
|
+
.classBuilder()
|
|
13
|
+
.ep({
|
|
14
|
+
...EndpointParameters_1.commonParams,
|
|
15
|
+
})
|
|
16
|
+
.m(function (Command, cs, config, o) {
|
|
17
|
+
return [
|
|
18
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
19
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
20
|
+
];
|
|
21
|
+
})
|
|
22
|
+
.s("AWSOrganizationsV20161128", "ListHandshakesForOrganization", {})
|
|
23
|
+
.n("OrganizationsClient", "ListHandshakesForOrganizationCommand")
|
|
24
|
+
.f(void 0, models_0_1.ListHandshakesForOrganizationResponseFilterSensitiveLog)
|
|
25
|
+
.ser(Aws_json1_1_1.se_ListHandshakesForOrganizationCommand)
|
|
26
|
+
.de(Aws_json1_1_1.de_ListHandshakesForOrganizationCommand)
|
|
27
|
+
.build() {
|
|
51
28
|
}
|
|
52
29
|
exports.ListHandshakesForOrganizationCommand = ListHandshakesForOrganizationCommand;
|
|
@@ -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 ListOrganizationalUnitsForParentCommand 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 = "ListOrganizationalUnitsForParentCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AWSOrganizationsV20161128",
|
|
38
|
-
operation: "ListOrganizationalUnitsForParent",
|
|
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_ListOrganizationalUnitsForParentCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_ListOrganizationalUnitsForParentCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class ListOrganizationalUnitsForParentCommand 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", "ListOrganizationalUnitsForParent", {})
|
|
22
|
+
.n("OrganizationsClient", "ListOrganizationalUnitsForParentCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_ListOrganizationalUnitsForParentCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_ListOrganizationalUnitsForParentCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.ListOrganizationalUnitsForParentCommand = ListOrganizationalUnitsForParentCommand;
|
|
@@ -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 ListParentsCommand 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 = "ListParentsCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AWSOrganizationsV20161128",
|
|
38
|
-
operation: "ListParents",
|
|
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_ListParentsCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_ListParentsCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class ListParentsCommand 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", "ListParents", {})
|
|
22
|
+
.n("OrganizationsClient", "ListParentsCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_ListParentsCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_ListParentsCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.ListParentsCommand = ListParentsCommand;
|
|
@@ -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 ListPoliciesCommand 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 = "ListPoliciesCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AWSOrganizationsV20161128",
|
|
38
|
-
operation: "ListPolicies",
|
|
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_ListPoliciesCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_ListPoliciesCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class ListPoliciesCommand 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", "ListPolicies", {})
|
|
22
|
+
.n("OrganizationsClient", "ListPoliciesCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_ListPoliciesCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_ListPoliciesCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.ListPoliciesCommand = ListPoliciesCommand;
|
|
@@ -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 ListPoliciesForTargetCommand 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 = "ListPoliciesForTargetCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AWSOrganizationsV20161128",
|
|
38
|
-
operation: "ListPoliciesForTarget",
|
|
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_ListPoliciesForTargetCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_ListPoliciesForTargetCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class ListPoliciesForTargetCommand 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", "ListPoliciesForTarget", {})
|
|
22
|
+
.n("OrganizationsClient", "ListPoliciesForTargetCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_ListPoliciesForTargetCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_ListPoliciesForTargetCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.ListPoliciesForTargetCommand = ListPoliciesForTargetCommand;
|
|
@@ -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 ListRootsCommand 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 = "ListRootsCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AWSOrganizationsV20161128",
|
|
38
|
-
operation: "ListRoots",
|
|
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_ListRootsCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_ListRootsCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class ListRootsCommand 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", "ListRoots", {})
|
|
22
|
+
.n("OrganizationsClient", "ListRootsCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_ListRootsCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_ListRootsCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.ListRootsCommand = ListRootsCommand;
|