@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 DescribeHandshakeCommand 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 = "DescribeHandshakeCommand";
|
|
31
|
-
const handlerExecutionContext = {
|
|
32
|
-
logger,
|
|
33
|
-
clientName,
|
|
34
|
-
commandName,
|
|
35
|
-
inputFilterSensitiveLog: (_) => _,
|
|
36
|
-
outputFilterSensitiveLog: models_0_1.DescribeHandshakeResponseFilterSensitiveLog,
|
|
37
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
-
service: "AWSOrganizationsV20161128",
|
|
39
|
-
operation: "DescribeHandshake",
|
|
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_DescribeHandshakeCommand)(input, context);
|
|
47
|
-
}
|
|
48
|
-
deserialize(output, context) {
|
|
49
|
-
return (0, Aws_json1_1_1.de_DescribeHandshakeCommand)(output, context);
|
|
50
|
-
}
|
|
11
|
+
class DescribeHandshakeCommand 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", "DescribeHandshake", {})
|
|
23
|
+
.n("OrganizationsClient", "DescribeHandshakeCommand")
|
|
24
|
+
.f(void 0, models_0_1.DescribeHandshakeResponseFilterSensitiveLog)
|
|
25
|
+
.ser(Aws_json1_1_1.se_DescribeHandshakeCommand)
|
|
26
|
+
.de(Aws_json1_1_1.de_DescribeHandshakeCommand)
|
|
27
|
+
.build() {
|
|
51
28
|
}
|
|
52
29
|
exports.DescribeHandshakeCommand = DescribeHandshakeCommand;
|
|
@@ -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 DescribeOrganizationCommand 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 = "DescribeOrganizationCommand";
|
|
31
|
-
const handlerExecutionContext = {
|
|
32
|
-
logger,
|
|
33
|
-
clientName,
|
|
34
|
-
commandName,
|
|
35
|
-
inputFilterSensitiveLog: (_) => _,
|
|
36
|
-
outputFilterSensitiveLog: models_0_1.DescribeOrganizationResponseFilterSensitiveLog,
|
|
37
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
-
service: "AWSOrganizationsV20161128",
|
|
39
|
-
operation: "DescribeOrganization",
|
|
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_DescribeOrganizationCommand)(input, context);
|
|
47
|
-
}
|
|
48
|
-
deserialize(output, context) {
|
|
49
|
-
return (0, Aws_json1_1_1.de_DescribeOrganizationCommand)(output, context);
|
|
50
|
-
}
|
|
11
|
+
class DescribeOrganizationCommand 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", "DescribeOrganization", {})
|
|
23
|
+
.n("OrganizationsClient", "DescribeOrganizationCommand")
|
|
24
|
+
.f(void 0, models_0_1.DescribeOrganizationResponseFilterSensitiveLog)
|
|
25
|
+
.ser(Aws_json1_1_1.se_DescribeOrganizationCommand)
|
|
26
|
+
.de(Aws_json1_1_1.de_DescribeOrganizationCommand)
|
|
27
|
+
.build() {
|
|
51
28
|
}
|
|
52
29
|
exports.DescribeOrganizationCommand = DescribeOrganizationCommand;
|
|
@@ -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 DescribeOrganizationalUnitCommand 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 = "DescribeOrganizationalUnitCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AWSOrganizationsV20161128",
|
|
38
|
-
operation: "DescribeOrganizationalUnit",
|
|
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_DescribeOrganizationalUnitCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_DescribeOrganizationalUnitCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class DescribeOrganizationalUnitCommand 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", "DescribeOrganizationalUnit", {})
|
|
22
|
+
.n("OrganizationsClient", "DescribeOrganizationalUnitCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_DescribeOrganizationalUnitCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_DescribeOrganizationalUnitCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.DescribeOrganizationalUnitCommand = DescribeOrganizationalUnitCommand;
|
|
@@ -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 DescribePolicyCommand 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 = "DescribePolicyCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AWSOrganizationsV20161128",
|
|
38
|
-
operation: "DescribePolicy",
|
|
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_DescribePolicyCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_DescribePolicyCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class DescribePolicyCommand 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", "DescribePolicy", {})
|
|
22
|
+
.n("OrganizationsClient", "DescribePolicyCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_DescribePolicyCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_DescribePolicyCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.DescribePolicyCommand = DescribePolicyCommand;
|
|
@@ -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 DescribeResourcePolicyCommand 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 = "DescribeResourcePolicyCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AWSOrganizationsV20161128",
|
|
38
|
-
operation: "DescribeResourcePolicy",
|
|
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_DescribeResourcePolicyCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_DescribeResourcePolicyCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class DescribeResourcePolicyCommand 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", "DescribeResourcePolicy", {})
|
|
22
|
+
.n("OrganizationsClient", "DescribeResourcePolicyCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_DescribeResourcePolicyCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_DescribeResourcePolicyCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.DescribeResourcePolicyCommand = DescribeResourcePolicyCommand;
|
|
@@ -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 DetachPolicyCommand 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 = "DetachPolicyCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AWSOrganizationsV20161128",
|
|
38
|
-
operation: "DetachPolicy",
|
|
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_DetachPolicyCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_DetachPolicyCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class DetachPolicyCommand 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", "DetachPolicy", {})
|
|
22
|
+
.n("OrganizationsClient", "DetachPolicyCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_DetachPolicyCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_DetachPolicyCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.DetachPolicyCommand = DetachPolicyCommand;
|
|
@@ -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 DisableAWSServiceAccessCommand 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 = "DisableAWSServiceAccessCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AWSOrganizationsV20161128",
|
|
38
|
-
operation: "DisableAWSServiceAccess",
|
|
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_DisableAWSServiceAccessCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_DisableAWSServiceAccessCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class DisableAWSServiceAccessCommand 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", "DisableAWSServiceAccess", {})
|
|
22
|
+
.n("OrganizationsClient", "DisableAWSServiceAccessCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_DisableAWSServiceAccessCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_DisableAWSServiceAccessCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.DisableAWSServiceAccessCommand = DisableAWSServiceAccessCommand;
|
|
@@ -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 DisablePolicyTypeCommand 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 = "DisablePolicyTypeCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AWSOrganizationsV20161128",
|
|
38
|
-
operation: "DisablePolicyType",
|
|
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_DisablePolicyTypeCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_DisablePolicyTypeCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class DisablePolicyTypeCommand 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", "DisablePolicyType", {})
|
|
22
|
+
.n("OrganizationsClient", "DisablePolicyTypeCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_DisablePolicyTypeCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_DisablePolicyTypeCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.DisablePolicyTypeCommand = DisablePolicyTypeCommand;
|
|
@@ -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 EnableAWSServiceAccessCommand 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 = "EnableAWSServiceAccessCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AWSOrganizationsV20161128",
|
|
38
|
-
operation: "EnableAWSServiceAccess",
|
|
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_EnableAWSServiceAccessCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_EnableAWSServiceAccessCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class EnableAWSServiceAccessCommand 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", "EnableAWSServiceAccess", {})
|
|
22
|
+
.n("OrganizationsClient", "EnableAWSServiceAccessCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_EnableAWSServiceAccessCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_EnableAWSServiceAccessCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.EnableAWSServiceAccessCommand = EnableAWSServiceAccessCommand;
|