@aws-sdk/client-organizations 3.927.0 → 3.928.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/index.js +1881 -2595
- package/dist-cjs/runtimeConfig.shared.js +7 -0
- package/dist-es/OrganizationsClient.js +2 -0
- package/dist-es/commands/AcceptHandshakeCommand.js +3 -10
- package/dist-es/commands/AttachPolicyCommand.js +3 -9
- package/dist-es/commands/CancelHandshakeCommand.js +3 -10
- package/dist-es/commands/CloseAccountCommand.js +3 -9
- package/dist-es/commands/CreateAccountCommand.js +3 -10
- package/dist-es/commands/CreateGovCloudAccountCommand.js +3 -10
- package/dist-es/commands/CreateOrganizationCommand.js +3 -10
- package/dist-es/commands/CreateOrganizationalUnitCommand.js +3 -9
- package/dist-es/commands/CreatePolicyCommand.js +3 -9
- package/dist-es/commands/DeclineHandshakeCommand.js +3 -10
- package/dist-es/commands/DeleteOrganizationCommand.js +3 -9
- package/dist-es/commands/DeleteOrganizationalUnitCommand.js +3 -9
- package/dist-es/commands/DeletePolicyCommand.js +3 -9
- package/dist-es/commands/DeleteResourcePolicyCommand.js +3 -9
- package/dist-es/commands/DeregisterDelegatedAdministratorCommand.js +3 -9
- package/dist-es/commands/DescribeAccountCommand.js +3 -10
- package/dist-es/commands/DescribeCreateAccountStatusCommand.js +3 -10
- package/dist-es/commands/DescribeEffectivePolicyCommand.js +3 -9
- package/dist-es/commands/DescribeHandshakeCommand.js +3 -10
- package/dist-es/commands/DescribeOrganizationCommand.js +3 -10
- package/dist-es/commands/DescribeOrganizationalUnitCommand.js +3 -9
- package/dist-es/commands/DescribePolicyCommand.js +3 -9
- package/dist-es/commands/DescribeResourcePolicyCommand.js +3 -9
- package/dist-es/commands/DetachPolicyCommand.js +3 -9
- package/dist-es/commands/DisableAWSServiceAccessCommand.js +3 -9
- package/dist-es/commands/DisablePolicyTypeCommand.js +3 -9
- package/dist-es/commands/EnableAWSServiceAccessCommand.js +3 -9
- package/dist-es/commands/EnableAllFeaturesCommand.js +3 -10
- package/dist-es/commands/EnablePolicyTypeCommand.js +3 -9
- package/dist-es/commands/InviteAccountToOrganizationCommand.js +3 -10
- package/dist-es/commands/LeaveOrganizationCommand.js +3 -9
- package/dist-es/commands/ListAWSServiceAccessForOrganizationCommand.js +3 -9
- package/dist-es/commands/ListAccountsCommand.js +3 -10
- package/dist-es/commands/ListAccountsForParentCommand.js +3 -10
- package/dist-es/commands/ListAccountsWithInvalidEffectivePolicyCommand.js +3 -10
- package/dist-es/commands/ListChildrenCommand.js +3 -9
- package/dist-es/commands/ListCreateAccountStatusCommand.js +3 -10
- package/dist-es/commands/ListDelegatedAdministratorsCommand.js +3 -10
- package/dist-es/commands/ListDelegatedServicesForAccountCommand.js +3 -9
- package/dist-es/commands/ListEffectivePolicyValidationErrorsCommand.js +3 -9
- package/dist-es/commands/ListHandshakesForAccountCommand.js +3 -10
- package/dist-es/commands/ListHandshakesForOrganizationCommand.js +3 -10
- package/dist-es/commands/ListOrganizationalUnitsForParentCommand.js +3 -9
- package/dist-es/commands/ListParentsCommand.js +3 -9
- package/dist-es/commands/ListPoliciesCommand.js +3 -9
- package/dist-es/commands/ListPoliciesForTargetCommand.js +3 -9
- package/dist-es/commands/ListRootsCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/ListTargetsForPolicyCommand.js +3 -9
- package/dist-es/commands/MoveAccountCommand.js +3 -9
- package/dist-es/commands/PutResourcePolicyCommand.js +3 -9
- package/dist-es/commands/RegisterDelegatedAdministratorCommand.js +3 -9
- package/dist-es/commands/RemoveAccountFromOrganizationCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateOrganizationalUnitCommand.js +3 -9
- package/dist-es/commands/UpdatePolicyCommand.js +3 -9
- package/dist-es/models/models_0.js +0 -132
- package/dist-es/runtimeConfig.shared.js +7 -0
- package/dist-es/schemas/schemas_0.js +1627 -0
- package/dist-types/OrganizationsClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -116
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +249 -0
- package/dist-types/ts3.4/OrganizationsClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -81
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +255 -0
- package/package.json +5 -5
- package/dist-es/protocols/Aws_json1_1.js +0 -1899
- package/dist-types/protocols/Aws_json1_1.d.ts +0 -515
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -689
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const core_1 = require("@aws-sdk/core");
|
|
5
|
+
const protocols_1 = require("@aws-sdk/core/protocols");
|
|
5
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
7
|
const url_parser_1 = require("@smithy/url-parser");
|
|
7
8
|
const util_base64_1 = require("@smithy/util-base64");
|
|
@@ -25,6 +26,12 @@ const getRuntimeConfig = (config) => {
|
|
|
25
26
|
},
|
|
26
27
|
],
|
|
27
28
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
29
|
+
protocol: config?.protocol ??
|
|
30
|
+
new protocols_1.AwsJson1_1Protocol({
|
|
31
|
+
defaultNamespace: "com.amazonaws.organizations",
|
|
32
|
+
serviceTarget: "AWSOrganizationsV20161128",
|
|
33
|
+
awsQueryCompatible: false,
|
|
34
|
+
}),
|
|
28
35
|
serviceId: config?.serviceId ?? "Organizations",
|
|
29
36
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
30
37
|
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
|
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
|
|
|
4
4
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
5
5
|
import { resolveRegionConfig } from "@smithy/config-resolver";
|
|
6
6
|
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
7
|
+
import { getSchemaSerdePlugin } from "@smithy/core/schema";
|
|
7
8
|
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
|
|
8
9
|
import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
|
|
9
10
|
import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
|
|
@@ -28,6 +29,7 @@ export class OrganizationsClient extends __Client {
|
|
|
28
29
|
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
|
|
29
30
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
30
31
|
this.config = _config_8;
|
|
32
|
+
this.middlewareStack.use(getSchemaSerdePlugin(this.config));
|
|
31
33
|
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
32
34
|
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
33
35
|
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_AcceptHandshakeCommand, se_AcceptHandshakeCommand } from "../protocols/Aws_json1_1";
|
|
4
|
+
import { AcceptHandshake } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class AcceptHandshakeCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AWSOrganizationsV20161128", "AcceptHandshake", {})
|
|
18
13
|
.n("OrganizationsClient", "AcceptHandshakeCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_AcceptHandshakeCommand)
|
|
21
|
-
.de(de_AcceptHandshakeCommand)
|
|
14
|
+
.sc(AcceptHandshake)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { AttachPolicy } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class AttachPolicyCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSOrganizationsV20161128", "AttachPolicy", {})
|
|
17
13
|
.n("OrganizationsClient", "AttachPolicyCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_AttachPolicyCommand)
|
|
20
|
-
.de(de_AttachPolicyCommand)
|
|
14
|
+
.sc(AttachPolicy)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_CancelHandshakeCommand, se_CancelHandshakeCommand } from "../protocols/Aws_json1_1";
|
|
4
|
+
import { CancelHandshake } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class CancelHandshakeCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AWSOrganizationsV20161128", "CancelHandshake", {})
|
|
18
13
|
.n("OrganizationsClient", "CancelHandshakeCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_CancelHandshakeCommand)
|
|
21
|
-
.de(de_CancelHandshakeCommand)
|
|
14
|
+
.sc(CancelHandshake)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { CloseAccount } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class CloseAccountCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSOrganizationsV20161128", "CloseAccount", {})
|
|
17
13
|
.n("OrganizationsClient", "CloseAccountCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_CloseAccountCommand)
|
|
20
|
-
.de(de_CloseAccountCommand)
|
|
14
|
+
.sc(CloseAccount)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_CreateAccountCommand, se_CreateAccountCommand } from "../protocols/Aws_json1_1";
|
|
4
|
+
import { CreateAccount } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class CreateAccountCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AWSOrganizationsV20161128", "CreateAccount", {})
|
|
18
13
|
.n("OrganizationsClient", "CreateAccountCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_CreateAccountCommand)
|
|
21
|
-
.de(de_CreateAccountCommand)
|
|
14
|
+
.sc(CreateAccount)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_CreateGovCloudAccountCommand, se_CreateGovCloudAccountCommand } from "../protocols/Aws_json1_1";
|
|
4
|
+
import { CreateGovCloudAccount } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class CreateGovCloudAccountCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AWSOrganizationsV20161128", "CreateGovCloudAccount", {})
|
|
18
13
|
.n("OrganizationsClient", "CreateGovCloudAccountCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_CreateGovCloudAccountCommand)
|
|
21
|
-
.de(de_CreateGovCloudAccountCommand)
|
|
14
|
+
.sc(CreateGovCloudAccount)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_CreateOrganizationCommand, se_CreateOrganizationCommand } from "../protocols/Aws_json1_1";
|
|
4
|
+
import { CreateOrganization } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class CreateOrganizationCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AWSOrganizationsV20161128", "CreateOrganization", {})
|
|
18
13
|
.n("OrganizationsClient", "CreateOrganizationCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_CreateOrganizationCommand)
|
|
21
|
-
.de(de_CreateOrganizationCommand)
|
|
14
|
+
.sc(CreateOrganization)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { CreateOrganizationalUnit } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class CreateOrganizationalUnitCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSOrganizationsV20161128", "CreateOrganizationalUnit", {})
|
|
17
13
|
.n("OrganizationsClient", "CreateOrganizationalUnitCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_CreateOrganizationalUnitCommand)
|
|
20
|
-
.de(de_CreateOrganizationalUnitCommand)
|
|
14
|
+
.sc(CreateOrganizationalUnit)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { CreatePolicy } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class CreatePolicyCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSOrganizationsV20161128", "CreatePolicy", {})
|
|
17
13
|
.n("OrganizationsClient", "CreatePolicyCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_CreatePolicyCommand)
|
|
20
|
-
.de(de_CreatePolicyCommand)
|
|
14
|
+
.sc(CreatePolicy)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_DeclineHandshakeCommand, se_DeclineHandshakeCommand } from "../protocols/Aws_json1_1";
|
|
4
|
+
import { DeclineHandshake } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class DeclineHandshakeCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AWSOrganizationsV20161128", "DeclineHandshake", {})
|
|
18
13
|
.n("OrganizationsClient", "DeclineHandshakeCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_DeclineHandshakeCommand)
|
|
21
|
-
.de(de_DeclineHandshakeCommand)
|
|
14
|
+
.sc(DeclineHandshake)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DeleteOrganization } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteOrganizationCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSOrganizationsV20161128", "DeleteOrganization", {})
|
|
17
13
|
.n("OrganizationsClient", "DeleteOrganizationCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeleteOrganizationCommand)
|
|
20
|
-
.de(de_DeleteOrganizationCommand)
|
|
14
|
+
.sc(DeleteOrganization)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DeleteOrganizationalUnit } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteOrganizationalUnitCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSOrganizationsV20161128", "DeleteOrganizationalUnit", {})
|
|
17
13
|
.n("OrganizationsClient", "DeleteOrganizationalUnitCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeleteOrganizationalUnitCommand)
|
|
20
|
-
.de(de_DeleteOrganizationalUnitCommand)
|
|
14
|
+
.sc(DeleteOrganizationalUnit)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DeletePolicy } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeletePolicyCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSOrganizationsV20161128", "DeletePolicy", {})
|
|
17
13
|
.n("OrganizationsClient", "DeletePolicyCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeletePolicyCommand)
|
|
20
|
-
.de(de_DeletePolicyCommand)
|
|
14
|
+
.sc(DeletePolicy)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DeleteResourcePolicy } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteResourcePolicyCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSOrganizationsV20161128", "DeleteResourcePolicy", {})
|
|
17
13
|
.n("OrganizationsClient", "DeleteResourcePolicyCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeleteResourcePolicyCommand)
|
|
20
|
-
.de(de_DeleteResourcePolicyCommand)
|
|
14
|
+
.sc(DeleteResourcePolicy)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DeregisterDelegatedAdministrator } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeregisterDelegatedAdministratorCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSOrganizationsV20161128", "DeregisterDelegatedAdministrator", {})
|
|
17
13
|
.n("OrganizationsClient", "DeregisterDelegatedAdministratorCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeregisterDelegatedAdministratorCommand)
|
|
20
|
-
.de(de_DeregisterDelegatedAdministratorCommand)
|
|
14
|
+
.sc(DeregisterDelegatedAdministrator)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_DescribeAccountCommand, se_DescribeAccountCommand } from "../protocols/Aws_json1_1";
|
|
4
|
+
import { DescribeAccount } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class DescribeAccountCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AWSOrganizationsV20161128", "DescribeAccount", {})
|
|
18
13
|
.n("OrganizationsClient", "DescribeAccountCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_DescribeAccountCommand)
|
|
21
|
-
.de(de_DescribeAccountCommand)
|
|
14
|
+
.sc(DescribeAccount)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_DescribeCreateAccountStatusCommand, se_DescribeCreateAccountStatusCommand } from "../protocols/Aws_json1_1";
|
|
4
|
+
import { DescribeCreateAccountStatus } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class DescribeCreateAccountStatusCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AWSOrganizationsV20161128", "DescribeCreateAccountStatus", {})
|
|
18
13
|
.n("OrganizationsClient", "DescribeCreateAccountStatusCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_DescribeCreateAccountStatusCommand)
|
|
21
|
-
.de(de_DescribeCreateAccountStatusCommand)
|
|
14
|
+
.sc(DescribeCreateAccountStatus)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DescribeEffectivePolicy } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DescribeEffectivePolicyCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSOrganizationsV20161128", "DescribeEffectivePolicy", {})
|
|
17
13
|
.n("OrganizationsClient", "DescribeEffectivePolicyCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DescribeEffectivePolicyCommand)
|
|
20
|
-
.de(de_DescribeEffectivePolicyCommand)
|
|
14
|
+
.sc(DescribeEffectivePolicy)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_DescribeHandshakeCommand, se_DescribeHandshakeCommand } from "../protocols/Aws_json1_1";
|
|
4
|
+
import { DescribeHandshake } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class DescribeHandshakeCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AWSOrganizationsV20161128", "DescribeHandshake", {})
|
|
18
13
|
.n("OrganizationsClient", "DescribeHandshakeCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_DescribeHandshakeCommand)
|
|
21
|
-
.de(de_DescribeHandshakeCommand)
|
|
14
|
+
.sc(DescribeHandshake)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_DescribeOrganizationCommand, se_DescribeOrganizationCommand } from "../protocols/Aws_json1_1";
|
|
4
|
+
import { DescribeOrganization } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class DescribeOrganizationCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AWSOrganizationsV20161128", "DescribeOrganization", {})
|
|
18
13
|
.n("OrganizationsClient", "DescribeOrganizationCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_DescribeOrganizationCommand)
|
|
21
|
-
.de(de_DescribeOrganizationCommand)
|
|
14
|
+
.sc(DescribeOrganization)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DescribeOrganizationalUnit } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DescribeOrganizationalUnitCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSOrganizationsV20161128", "DescribeOrganizationalUnit", {})
|
|
17
13
|
.n("OrganizationsClient", "DescribeOrganizationalUnitCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DescribeOrganizationalUnitCommand)
|
|
20
|
-
.de(de_DescribeOrganizationalUnitCommand)
|
|
14
|
+
.sc(DescribeOrganizationalUnit)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DescribePolicy } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DescribePolicyCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSOrganizationsV20161128", "DescribePolicy", {})
|
|
17
13
|
.n("OrganizationsClient", "DescribePolicyCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DescribePolicyCommand)
|
|
20
|
-
.de(de_DescribePolicyCommand)
|
|
14
|
+
.sc(DescribePolicy)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|