@aws-sdk/client-organizations 3.183.0 → 3.185.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/CHANGELOG.md +11 -0
- package/dist-cjs/protocols/Aws_json1_1.js +2 -2
- package/dist-es/Organizations.js +217 -210
- package/dist-es/OrganizationsClient.js +28 -22
- package/dist-es/commands/AcceptHandshakeCommand.js +28 -21
- package/dist-es/commands/AttachPolicyCommand.js +29 -22
- package/dist-es/commands/CancelHandshakeCommand.js +28 -21
- package/dist-es/commands/CloseAccountCommand.js +29 -22
- package/dist-es/commands/CreateAccountCommand.js +28 -21
- package/dist-es/commands/CreateGovCloudAccountCommand.js +28 -21
- package/dist-es/commands/CreateOrganizationCommand.js +28 -21
- package/dist-es/commands/CreateOrganizationalUnitCommand.js +28 -21
- package/dist-es/commands/CreatePolicyCommand.js +28 -21
- package/dist-es/commands/DeclineHandshakeCommand.js +28 -21
- package/dist-es/commands/DeleteOrganizationCommand.js +30 -23
- package/dist-es/commands/DeleteOrganizationalUnitCommand.js +29 -22
- package/dist-es/commands/DeletePolicyCommand.js +29 -22
- package/dist-es/commands/DeregisterDelegatedAdministratorCommand.js +29 -22
- package/dist-es/commands/DescribeAccountCommand.js +28 -21
- package/dist-es/commands/DescribeCreateAccountStatusCommand.js +28 -21
- package/dist-es/commands/DescribeEffectivePolicyCommand.js +28 -21
- package/dist-es/commands/DescribeHandshakeCommand.js +28 -21
- package/dist-es/commands/DescribeOrganizationCommand.js +29 -22
- package/dist-es/commands/DescribeOrganizationalUnitCommand.js +28 -21
- package/dist-es/commands/DescribePolicyCommand.js +28 -21
- package/dist-es/commands/DetachPolicyCommand.js +29 -22
- package/dist-es/commands/DisableAWSServiceAccessCommand.js +29 -22
- package/dist-es/commands/DisablePolicyTypeCommand.js +28 -21
- package/dist-es/commands/EnableAWSServiceAccessCommand.js +29 -22
- package/dist-es/commands/EnableAllFeaturesCommand.js +28 -21
- package/dist-es/commands/EnablePolicyTypeCommand.js +28 -21
- package/dist-es/commands/InviteAccountToOrganizationCommand.js +28 -21
- package/dist-es/commands/LeaveOrganizationCommand.js +30 -23
- package/dist-es/commands/ListAWSServiceAccessForOrganizationCommand.js +28 -21
- package/dist-es/commands/ListAccountsCommand.js +28 -21
- package/dist-es/commands/ListAccountsForParentCommand.js +28 -21
- package/dist-es/commands/ListChildrenCommand.js +28 -21
- package/dist-es/commands/ListCreateAccountStatusCommand.js +28 -21
- package/dist-es/commands/ListDelegatedAdministratorsCommand.js +28 -21
- package/dist-es/commands/ListDelegatedServicesForAccountCommand.js +28 -21
- package/dist-es/commands/ListHandshakesForAccountCommand.js +28 -21
- package/dist-es/commands/ListHandshakesForOrganizationCommand.js +28 -21
- package/dist-es/commands/ListOrganizationalUnitsForParentCommand.js +28 -21
- package/dist-es/commands/ListParentsCommand.js +28 -21
- package/dist-es/commands/ListPoliciesCommand.js +28 -21
- package/dist-es/commands/ListPoliciesForTargetCommand.js +28 -21
- package/dist-es/commands/ListRootsCommand.js +28 -21
- package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
- package/dist-es/commands/ListTargetsForPolicyCommand.js +28 -21
- package/dist-es/commands/MoveAccountCommand.js +29 -22
- package/dist-es/commands/RegisterDelegatedAdministratorCommand.js +29 -22
- package/dist-es/commands/RemoveAccountFromOrganizationCommand.js +29 -22
- package/dist-es/commands/TagResourceCommand.js +29 -22
- package/dist-es/commands/UntagResourceCommand.js +29 -22
- package/dist-es/commands/UpdateOrganizationalUnitCommand.js +28 -21
- package/dist-es/commands/UpdatePolicyCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/OrganizationsServiceException.js +10 -5
- package/dist-es/models/models_0.js +720 -964
- package/dist-es/pagination/ListAWSServiceAccessForOrganizationPaginator.js +68 -25
- package/dist-es/pagination/ListAccountsForParentPaginator.js +68 -25
- package/dist-es/pagination/ListAccountsPaginator.js +68 -25
- package/dist-es/pagination/ListChildrenPaginator.js +68 -25
- package/dist-es/pagination/ListCreateAccountStatusPaginator.js +68 -25
- package/dist-es/pagination/ListDelegatedAdministratorsPaginator.js +68 -25
- package/dist-es/pagination/ListDelegatedServicesForAccountPaginator.js +68 -25
- package/dist-es/pagination/ListHandshakesForAccountPaginator.js +68 -25
- package/dist-es/pagination/ListHandshakesForOrganizationPaginator.js +68 -25
- package/dist-es/pagination/ListOrganizationalUnitsForParentPaginator.js +68 -25
- package/dist-es/pagination/ListParentsPaginator.js +68 -25
- package/dist-es/pagination/ListPoliciesForTargetPaginator.js +68 -25
- package/dist-es/pagination/ListPoliciesPaginator.js +68 -25
- package/dist-es/pagination/ListRootsPaginator.js +68 -25
- package/dist-es/pagination/ListTagsForResourcePaginator.js +67 -24
- package/dist-es/pagination/ListTargetsForPolicyPaginator.js +68 -25
- package/dist-es/protocols/Aws_json1_1.js +5453 -4139
- package/dist-es/runtimeConfig.browser.js +12 -26
- package/dist-es/runtimeConfig.js +12 -30
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/package.json +5 -5
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DeclineHandshakeRequestFilterSensitiveLog, DeclineHandshakeResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1DeclineHandshakeCommand, serializeAws_json1_1DeclineHandshakeCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DeclineHandshakeCommand = (function (_super) {
|
|
7
|
+
__extends(DeclineHandshakeCommand, _super);
|
|
8
|
+
function DeclineHandshakeCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DeclineHandshakeCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "OrganizationsClient";
|
|
18
|
+
var commandName = "DeclineHandshakeCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DeclineHandshakeRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DeclineHandshakeResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DeclineHandshakeCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1DeclineHandshakeCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DeclineHandshakeCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1DeclineHandshakeCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DeclineHandshakeCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DeclineHandshakeCommand };
|
|
@@ -1,31 +1,38 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { deserializeAws_json1_1DeleteOrganizationCommand, serializeAws_json1_1DeleteOrganizationCommand, } from "../protocols/Aws_json1_1";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
var DeleteOrganizationCommand = (function (_super) {
|
|
6
|
+
__extends(DeleteOrganizationCommand, _super);
|
|
7
|
+
function DeleteOrganizationCommand(input) {
|
|
8
|
+
var _this = _super.call(this) || this;
|
|
9
|
+
_this.input = input;
|
|
10
|
+
return _this;
|
|
8
11
|
}
|
|
9
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
12
|
+
DeleteOrganizationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
10
13
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
logger,
|
|
17
|
-
clientName,
|
|
18
|
-
commandName,
|
|
19
|
-
inputFilterSensitiveLog: (input)
|
|
20
|
-
outputFilterSensitiveLog: (output)
|
|
14
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
15
|
+
var logger = configuration.logger;
|
|
16
|
+
var clientName = "OrganizationsClient";
|
|
17
|
+
var commandName = "DeleteOrganizationCommand";
|
|
18
|
+
var handlerExecutionContext = {
|
|
19
|
+
logger: logger,
|
|
20
|
+
clientName: clientName,
|
|
21
|
+
commandName: commandName,
|
|
22
|
+
inputFilterSensitiveLog: function (input) { return input; },
|
|
23
|
+
outputFilterSensitiveLog: function (output) { return output; },
|
|
21
24
|
};
|
|
22
|
-
|
|
23
|
-
return stack.resolve((request)
|
|
24
|
-
|
|
25
|
-
|
|
25
|
+
var requestHandler = configuration.requestHandler;
|
|
26
|
+
return stack.resolve(function (request) {
|
|
27
|
+
return requestHandler.handle(request.request, options || {});
|
|
28
|
+
}, handlerExecutionContext);
|
|
29
|
+
};
|
|
30
|
+
DeleteOrganizationCommand.prototype.serialize = function (input, context) {
|
|
26
31
|
return serializeAws_json1_1DeleteOrganizationCommand(input, context);
|
|
27
|
-
}
|
|
28
|
-
deserialize(output, context) {
|
|
32
|
+
};
|
|
33
|
+
DeleteOrganizationCommand.prototype.deserialize = function (output, context) {
|
|
29
34
|
return deserializeAws_json1_1DeleteOrganizationCommand(output, context);
|
|
30
|
-
}
|
|
31
|
-
|
|
35
|
+
};
|
|
36
|
+
return DeleteOrganizationCommand;
|
|
37
|
+
}($Command));
|
|
38
|
+
export { DeleteOrganizationCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DeleteOrganizationalUnitRequestFilterSensitiveLog } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1DeleteOrganizationalUnitCommand, serializeAws_json1_1DeleteOrganizationalUnitCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DeleteOrganizationalUnitCommand = (function (_super) {
|
|
7
|
+
__extends(DeleteOrganizationalUnitCommand, _super);
|
|
8
|
+
function DeleteOrganizationalUnitCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DeleteOrganizationalUnitCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "OrganizationsClient";
|
|
18
|
+
var commandName = "DeleteOrganizationalUnitCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DeleteOrganizationalUnitRequestFilterSensitiveLog,
|
|
21
|
-
outputFilterSensitiveLog: (output)
|
|
24
|
+
outputFilterSensitiveLog: function (output) { return output; },
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DeleteOrganizationalUnitCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1DeleteOrganizationalUnitCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DeleteOrganizationalUnitCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1DeleteOrganizationalUnitCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DeleteOrganizationalUnitCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DeleteOrganizationalUnitCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DeletePolicyRequestFilterSensitiveLog } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1DeletePolicyCommand, serializeAws_json1_1DeletePolicyCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DeletePolicyCommand = (function (_super) {
|
|
7
|
+
__extends(DeletePolicyCommand, _super);
|
|
8
|
+
function DeletePolicyCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DeletePolicyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "OrganizationsClient";
|
|
18
|
+
var commandName = "DeletePolicyCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DeletePolicyRequestFilterSensitiveLog,
|
|
21
|
-
outputFilterSensitiveLog: (output)
|
|
24
|
+
outputFilterSensitiveLog: function (output) { return output; },
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DeletePolicyCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1DeletePolicyCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DeletePolicyCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1DeletePolicyCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DeletePolicyCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DeletePolicyCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DeregisterDelegatedAdministratorRequestFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1DeregisterDelegatedAdministratorCommand, serializeAws_json1_1DeregisterDelegatedAdministratorCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DeregisterDelegatedAdministratorCommand = (function (_super) {
|
|
7
|
+
__extends(DeregisterDelegatedAdministratorCommand, _super);
|
|
8
|
+
function DeregisterDelegatedAdministratorCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DeregisterDelegatedAdministratorCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "OrganizationsClient";
|
|
18
|
+
var commandName = "DeregisterDelegatedAdministratorCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DeregisterDelegatedAdministratorRequestFilterSensitiveLog,
|
|
21
|
-
outputFilterSensitiveLog: (output)
|
|
24
|
+
outputFilterSensitiveLog: function (output) { return output; },
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DeregisterDelegatedAdministratorCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1DeregisterDelegatedAdministratorCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DeregisterDelegatedAdministratorCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1DeregisterDelegatedAdministratorCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DeregisterDelegatedAdministratorCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DeregisterDelegatedAdministratorCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DescribeAccountRequestFilterSensitiveLog, DescribeAccountResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1DescribeAccountCommand, serializeAws_json1_1DescribeAccountCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DescribeAccountCommand = (function (_super) {
|
|
7
|
+
__extends(DescribeAccountCommand, _super);
|
|
8
|
+
function DescribeAccountCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DescribeAccountCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "OrganizationsClient";
|
|
18
|
+
var commandName = "DescribeAccountCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DescribeAccountRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DescribeAccountResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DescribeAccountCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1DescribeAccountCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DescribeAccountCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1DescribeAccountCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DescribeAccountCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribeAccountCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DescribeCreateAccountStatusRequestFilterSensitiveLog, DescribeCreateAccountStatusResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1DescribeCreateAccountStatusCommand, serializeAws_json1_1DescribeCreateAccountStatusCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DescribeCreateAccountStatusCommand = (function (_super) {
|
|
7
|
+
__extends(DescribeCreateAccountStatusCommand, _super);
|
|
8
|
+
function DescribeCreateAccountStatusCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DescribeCreateAccountStatusCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "OrganizationsClient";
|
|
18
|
+
var commandName = "DescribeCreateAccountStatusCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DescribeCreateAccountStatusRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DescribeCreateAccountStatusResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DescribeCreateAccountStatusCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1DescribeCreateAccountStatusCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DescribeCreateAccountStatusCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1DescribeCreateAccountStatusCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DescribeCreateAccountStatusCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribeCreateAccountStatusCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DescribeEffectivePolicyRequestFilterSensitiveLog, DescribeEffectivePolicyResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1DescribeEffectivePolicyCommand, serializeAws_json1_1DescribeEffectivePolicyCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DescribeEffectivePolicyCommand = (function (_super) {
|
|
7
|
+
__extends(DescribeEffectivePolicyCommand, _super);
|
|
8
|
+
function DescribeEffectivePolicyCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DescribeEffectivePolicyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "OrganizationsClient";
|
|
18
|
+
var commandName = "DescribeEffectivePolicyCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DescribeEffectivePolicyRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DescribeEffectivePolicyResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DescribeEffectivePolicyCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1DescribeEffectivePolicyCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DescribeEffectivePolicyCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1DescribeEffectivePolicyCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DescribeEffectivePolicyCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribeEffectivePolicyCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DescribeHandshakeRequestFilterSensitiveLog, DescribeHandshakeResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1DescribeHandshakeCommand, serializeAws_json1_1DescribeHandshakeCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DescribeHandshakeCommand = (function (_super) {
|
|
7
|
+
__extends(DescribeHandshakeCommand, _super);
|
|
8
|
+
function DescribeHandshakeCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DescribeHandshakeCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "OrganizationsClient";
|
|
18
|
+
var commandName = "DescribeHandshakeCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DescribeHandshakeRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DescribeHandshakeResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DescribeHandshakeCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1DescribeHandshakeCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DescribeHandshakeCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1DescribeHandshakeCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DescribeHandshakeCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribeHandshakeCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DescribeOrganizationResponseFilterSensitiveLog } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1DescribeOrganizationCommand, serializeAws_json1_1DescribeOrganizationCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DescribeOrganizationCommand = (function (_super) {
|
|
7
|
+
__extends(DescribeOrganizationCommand, _super);
|
|
8
|
+
function DescribeOrganizationCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DescribeOrganizationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
20
|
-
inputFilterSensitiveLog: (input)
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "OrganizationsClient";
|
|
18
|
+
var commandName = "DescribeOrganizationCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: function (input) { return input; },
|
|
21
24
|
outputFilterSensitiveLog: DescribeOrganizationResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DescribeOrganizationCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1DescribeOrganizationCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DescribeOrganizationCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1DescribeOrganizationCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DescribeOrganizationCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribeOrganizationCommand };
|