@aws-sdk/client-organizations 3.414.0 → 3.421.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/README.md +7 -7
- package/dist-cjs/commands/AcceptHandshakeCommand.js +5 -0
- package/dist-cjs/commands/AttachPolicyCommand.js +5 -0
- package/dist-cjs/commands/CancelHandshakeCommand.js +5 -0
- package/dist-cjs/commands/CloseAccountCommand.js +5 -0
- package/dist-cjs/commands/CreateAccountCommand.js +5 -0
- package/dist-cjs/commands/CreateGovCloudAccountCommand.js +5 -0
- package/dist-cjs/commands/CreateOrganizationCommand.js +5 -0
- package/dist-cjs/commands/CreateOrganizationalUnitCommand.js +5 -0
- package/dist-cjs/commands/CreatePolicyCommand.js +5 -0
- package/dist-cjs/commands/DeclineHandshakeCommand.js +5 -0
- package/dist-cjs/commands/DeleteOrganizationCommand.js +5 -0
- package/dist-cjs/commands/DeleteOrganizationalUnitCommand.js +5 -0
- package/dist-cjs/commands/DeletePolicyCommand.js +5 -0
- package/dist-cjs/commands/DeleteResourcePolicyCommand.js +5 -0
- package/dist-cjs/commands/DeregisterDelegatedAdministratorCommand.js +5 -0
- package/dist-cjs/commands/DescribeAccountCommand.js +5 -0
- package/dist-cjs/commands/DescribeCreateAccountStatusCommand.js +5 -0
- package/dist-cjs/commands/DescribeEffectivePolicyCommand.js +5 -0
- package/dist-cjs/commands/DescribeHandshakeCommand.js +5 -0
- package/dist-cjs/commands/DescribeOrganizationCommand.js +5 -0
- package/dist-cjs/commands/DescribeOrganizationalUnitCommand.js +5 -0
- package/dist-cjs/commands/DescribePolicyCommand.js +5 -0
- package/dist-cjs/commands/DescribeResourcePolicyCommand.js +5 -0
- package/dist-cjs/commands/DetachPolicyCommand.js +5 -0
- package/dist-cjs/commands/DisableAWSServiceAccessCommand.js +5 -0
- package/dist-cjs/commands/DisablePolicyTypeCommand.js +5 -0
- package/dist-cjs/commands/EnableAWSServiceAccessCommand.js +5 -0
- package/dist-cjs/commands/EnableAllFeaturesCommand.js +5 -0
- package/dist-cjs/commands/EnablePolicyTypeCommand.js +5 -0
- package/dist-cjs/commands/InviteAccountToOrganizationCommand.js +5 -0
- package/dist-cjs/commands/LeaveOrganizationCommand.js +5 -0
- package/dist-cjs/commands/ListAWSServiceAccessForOrganizationCommand.js +5 -0
- package/dist-cjs/commands/ListAccountsCommand.js +5 -0
- package/dist-cjs/commands/ListAccountsForParentCommand.js +5 -0
- package/dist-cjs/commands/ListChildrenCommand.js +5 -0
- package/dist-cjs/commands/ListCreateAccountStatusCommand.js +5 -0
- package/dist-cjs/commands/ListDelegatedAdministratorsCommand.js +5 -0
- package/dist-cjs/commands/ListDelegatedServicesForAccountCommand.js +5 -0
- package/dist-cjs/commands/ListHandshakesForAccountCommand.js +5 -0
- package/dist-cjs/commands/ListHandshakesForOrganizationCommand.js +5 -0
- package/dist-cjs/commands/ListOrganizationalUnitsForParentCommand.js +5 -0
- package/dist-cjs/commands/ListParentsCommand.js +5 -0
- package/dist-cjs/commands/ListPoliciesCommand.js +5 -0
- package/dist-cjs/commands/ListPoliciesForTargetCommand.js +5 -0
- package/dist-cjs/commands/ListRootsCommand.js +5 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +5 -0
- package/dist-cjs/commands/ListTargetsForPolicyCommand.js +5 -0
- package/dist-cjs/commands/MoveAccountCommand.js +5 -0
- package/dist-cjs/commands/PutResourcePolicyCommand.js +5 -0
- package/dist-cjs/commands/RegisterDelegatedAdministratorCommand.js +5 -0
- package/dist-cjs/commands/RemoveAccountFromOrganizationCommand.js +5 -0
- package/dist-cjs/commands/TagResourceCommand.js +5 -0
- package/dist-cjs/commands/UntagResourceCommand.js +5 -0
- package/dist-cjs/commands/UpdateOrganizationalUnitCommand.js +5 -0
- package/dist-cjs/commands/UpdatePolicyCommand.js +5 -0
- package/dist-es/commands/AcceptHandshakeCommand.js +5 -0
- package/dist-es/commands/AttachPolicyCommand.js +5 -0
- package/dist-es/commands/CancelHandshakeCommand.js +5 -0
- package/dist-es/commands/CloseAccountCommand.js +5 -0
- package/dist-es/commands/CreateAccountCommand.js +5 -0
- package/dist-es/commands/CreateGovCloudAccountCommand.js +5 -0
- package/dist-es/commands/CreateOrganizationCommand.js +5 -0
- package/dist-es/commands/CreateOrganizationalUnitCommand.js +5 -0
- package/dist-es/commands/CreatePolicyCommand.js +5 -0
- package/dist-es/commands/DeclineHandshakeCommand.js +5 -0
- package/dist-es/commands/DeleteOrganizationCommand.js +5 -0
- package/dist-es/commands/DeleteOrganizationalUnitCommand.js +5 -0
- package/dist-es/commands/DeletePolicyCommand.js +5 -0
- package/dist-es/commands/DeleteResourcePolicyCommand.js +5 -0
- package/dist-es/commands/DeregisterDelegatedAdministratorCommand.js +5 -0
- package/dist-es/commands/DescribeAccountCommand.js +5 -0
- package/dist-es/commands/DescribeCreateAccountStatusCommand.js +5 -0
- package/dist-es/commands/DescribeEffectivePolicyCommand.js +5 -0
- package/dist-es/commands/DescribeHandshakeCommand.js +5 -0
- package/dist-es/commands/DescribeOrganizationCommand.js +5 -0
- package/dist-es/commands/DescribeOrganizationalUnitCommand.js +5 -0
- package/dist-es/commands/DescribePolicyCommand.js +5 -0
- package/dist-es/commands/DescribeResourcePolicyCommand.js +5 -0
- package/dist-es/commands/DetachPolicyCommand.js +5 -0
- package/dist-es/commands/DisableAWSServiceAccessCommand.js +5 -0
- package/dist-es/commands/DisablePolicyTypeCommand.js +5 -0
- package/dist-es/commands/EnableAWSServiceAccessCommand.js +5 -0
- package/dist-es/commands/EnableAllFeaturesCommand.js +5 -0
- package/dist-es/commands/EnablePolicyTypeCommand.js +5 -0
- package/dist-es/commands/InviteAccountToOrganizationCommand.js +5 -0
- package/dist-es/commands/LeaveOrganizationCommand.js +5 -0
- package/dist-es/commands/ListAWSServiceAccessForOrganizationCommand.js +5 -0
- package/dist-es/commands/ListAccountsCommand.js +5 -0
- package/dist-es/commands/ListAccountsForParentCommand.js +5 -0
- package/dist-es/commands/ListChildrenCommand.js +5 -0
- package/dist-es/commands/ListCreateAccountStatusCommand.js +5 -0
- package/dist-es/commands/ListDelegatedAdministratorsCommand.js +5 -0
- package/dist-es/commands/ListDelegatedServicesForAccountCommand.js +5 -0
- package/dist-es/commands/ListHandshakesForAccountCommand.js +5 -0
- package/dist-es/commands/ListHandshakesForOrganizationCommand.js +5 -0
- package/dist-es/commands/ListOrganizationalUnitsForParentCommand.js +5 -0
- package/dist-es/commands/ListParentsCommand.js +5 -0
- package/dist-es/commands/ListPoliciesCommand.js +5 -0
- package/dist-es/commands/ListPoliciesForTargetCommand.js +5 -0
- package/dist-es/commands/ListRootsCommand.js +5 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +5 -0
- package/dist-es/commands/ListTargetsForPolicyCommand.js +5 -0
- package/dist-es/commands/MoveAccountCommand.js +5 -0
- package/dist-es/commands/PutResourcePolicyCommand.js +5 -0
- package/dist-es/commands/RegisterDelegatedAdministratorCommand.js +5 -0
- package/dist-es/commands/RemoveAccountFromOrganizationCommand.js +5 -0
- package/dist-es/commands/TagResourceCommand.js +5 -0
- package/dist-es/commands/UntagResourceCommand.js +5 -0
- package/dist-es/commands/UpdateOrganizationalUnitCommand.js +5 -0
- package/dist-es/commands/UpdatePolicyCommand.js +5 -0
- package/package.json +31 -31
package/README.md
CHANGED
|
@@ -94,16 +94,16 @@ using your favorite package manager:
|
|
|
94
94
|
|
|
95
95
|
The AWS SDK is modulized by clients and commands.
|
|
96
96
|
To send a request, you only need to import the `OrganizationsClient` and
|
|
97
|
-
the commands you need, for example `
|
|
97
|
+
the commands you need, for example `ListRootsCommand`:
|
|
98
98
|
|
|
99
99
|
```js
|
|
100
100
|
// ES5 example
|
|
101
|
-
const { OrganizationsClient,
|
|
101
|
+
const { OrganizationsClient, ListRootsCommand } = require("@aws-sdk/client-organizations");
|
|
102
102
|
```
|
|
103
103
|
|
|
104
104
|
```ts
|
|
105
105
|
// ES6+ example
|
|
106
|
-
import { OrganizationsClient,
|
|
106
|
+
import { OrganizationsClient, ListRootsCommand } from "@aws-sdk/client-organizations";
|
|
107
107
|
```
|
|
108
108
|
|
|
109
109
|
### Usage
|
|
@@ -122,7 +122,7 @@ const client = new OrganizationsClient({ region: "REGION" });
|
|
|
122
122
|
const params = {
|
|
123
123
|
/** input parameters */
|
|
124
124
|
};
|
|
125
|
-
const command = new
|
|
125
|
+
const command = new ListRootsCommand(params);
|
|
126
126
|
```
|
|
127
127
|
|
|
128
128
|
#### Async/await
|
|
@@ -201,7 +201,7 @@ const client = new AWS.Organizations({ region: "REGION" });
|
|
|
201
201
|
|
|
202
202
|
// async/await.
|
|
203
203
|
try {
|
|
204
|
-
const data = await client.
|
|
204
|
+
const data = await client.listRoots(params);
|
|
205
205
|
// process data.
|
|
206
206
|
} catch (error) {
|
|
207
207
|
// error handling.
|
|
@@ -209,7 +209,7 @@ try {
|
|
|
209
209
|
|
|
210
210
|
// Promises.
|
|
211
211
|
client
|
|
212
|
-
.
|
|
212
|
+
.listRoots(params)
|
|
213
213
|
.then((data) => {
|
|
214
214
|
// process data.
|
|
215
215
|
})
|
|
@@ -218,7 +218,7 @@ client
|
|
|
218
218
|
});
|
|
219
219
|
|
|
220
220
|
// callbacks.
|
|
221
|
-
client.
|
|
221
|
+
client.listRoots(params, (err, data) => {
|
|
222
222
|
// process err and data.
|
|
223
223
|
});
|
|
224
224
|
```
|
|
@@ -5,6 +5,7 @@ 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 types_1 = require("@smithy/types");
|
|
8
9
|
const models_0_1 = require("../models/models_0");
|
|
9
10
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
11
|
class AcceptHandshakeCommand extends smithy_client_1.Command {
|
|
@@ -33,6 +34,10 @@ class AcceptHandshakeCommand extends smithy_client_1.Command {
|
|
|
33
34
|
commandName,
|
|
34
35
|
inputFilterSensitiveLog: (_) => _,
|
|
35
36
|
outputFilterSensitiveLog: models_0_1.AcceptHandshakeResponseFilterSensitiveLog,
|
|
37
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
+
service: "AWSOrganizationsV20161128",
|
|
39
|
+
operation: "AcceptHandshake",
|
|
40
|
+
},
|
|
36
41
|
};
|
|
37
42
|
const { requestHandler } = configuration;
|
|
38
43
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ 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 types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
10
|
class AttachPolicyCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -32,6 +33,10 @@ class AttachPolicyCommand extends smithy_client_1.Command {
|
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "AWSOrganizationsV20161128",
|
|
38
|
+
operation: "AttachPolicy",
|
|
39
|
+
},
|
|
35
40
|
};
|
|
36
41
|
const { requestHandler } = configuration;
|
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ 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 types_1 = require("@smithy/types");
|
|
8
9
|
const models_0_1 = require("../models/models_0");
|
|
9
10
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
11
|
class CancelHandshakeCommand extends smithy_client_1.Command {
|
|
@@ -33,6 +34,10 @@ class CancelHandshakeCommand extends smithy_client_1.Command {
|
|
|
33
34
|
commandName,
|
|
34
35
|
inputFilterSensitiveLog: (_) => _,
|
|
35
36
|
outputFilterSensitiveLog: models_0_1.CancelHandshakeResponseFilterSensitiveLog,
|
|
37
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
+
service: "AWSOrganizationsV20161128",
|
|
39
|
+
operation: "CancelHandshake",
|
|
40
|
+
},
|
|
36
41
|
};
|
|
37
42
|
const { requestHandler } = configuration;
|
|
38
43
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ 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 types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
10
|
class CloseAccountCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -32,6 +33,10 @@ class CloseAccountCommand extends smithy_client_1.Command {
|
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "AWSOrganizationsV20161128",
|
|
38
|
+
operation: "CloseAccount",
|
|
39
|
+
},
|
|
35
40
|
};
|
|
36
41
|
const { requestHandler } = configuration;
|
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ 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 types_1 = require("@smithy/types");
|
|
8
9
|
const models_0_1 = require("../models/models_0");
|
|
9
10
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
11
|
class CreateAccountCommand extends smithy_client_1.Command {
|
|
@@ -33,6 +34,10 @@ class CreateAccountCommand extends smithy_client_1.Command {
|
|
|
33
34
|
commandName,
|
|
34
35
|
inputFilterSensitiveLog: models_0_1.CreateAccountRequestFilterSensitiveLog,
|
|
35
36
|
outputFilterSensitiveLog: models_0_1.CreateAccountResponseFilterSensitiveLog,
|
|
37
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
+
service: "AWSOrganizationsV20161128",
|
|
39
|
+
operation: "CreateAccount",
|
|
40
|
+
},
|
|
36
41
|
};
|
|
37
42
|
const { requestHandler } = configuration;
|
|
38
43
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ 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 types_1 = require("@smithy/types");
|
|
8
9
|
const models_0_1 = require("../models/models_0");
|
|
9
10
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
11
|
class CreateGovCloudAccountCommand extends smithy_client_1.Command {
|
|
@@ -33,6 +34,10 @@ class CreateGovCloudAccountCommand extends smithy_client_1.Command {
|
|
|
33
34
|
commandName,
|
|
34
35
|
inputFilterSensitiveLog: models_0_1.CreateGovCloudAccountRequestFilterSensitiveLog,
|
|
35
36
|
outputFilterSensitiveLog: models_0_1.CreateGovCloudAccountResponseFilterSensitiveLog,
|
|
37
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
+
service: "AWSOrganizationsV20161128",
|
|
39
|
+
operation: "CreateGovCloudAccount",
|
|
40
|
+
},
|
|
36
41
|
};
|
|
37
42
|
const { requestHandler } = configuration;
|
|
38
43
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ 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 types_1 = require("@smithy/types");
|
|
8
9
|
const models_0_1 = require("../models/models_0");
|
|
9
10
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
11
|
class CreateOrganizationCommand extends smithy_client_1.Command {
|
|
@@ -33,6 +34,10 @@ class CreateOrganizationCommand extends smithy_client_1.Command {
|
|
|
33
34
|
commandName,
|
|
34
35
|
inputFilterSensitiveLog: (_) => _,
|
|
35
36
|
outputFilterSensitiveLog: models_0_1.CreateOrganizationResponseFilterSensitiveLog,
|
|
37
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
+
service: "AWSOrganizationsV20161128",
|
|
39
|
+
operation: "CreateOrganization",
|
|
40
|
+
},
|
|
36
41
|
};
|
|
37
42
|
const { requestHandler } = configuration;
|
|
38
43
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ 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 types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
10
|
class CreateOrganizationalUnitCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -32,6 +33,10 @@ class CreateOrganizationalUnitCommand extends smithy_client_1.Command {
|
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "AWSOrganizationsV20161128",
|
|
38
|
+
operation: "CreateOrganizationalUnit",
|
|
39
|
+
},
|
|
35
40
|
};
|
|
36
41
|
const { requestHandler } = configuration;
|
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ 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 types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
10
|
class CreatePolicyCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -32,6 +33,10 @@ class CreatePolicyCommand extends smithy_client_1.Command {
|
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "AWSOrganizationsV20161128",
|
|
38
|
+
operation: "CreatePolicy",
|
|
39
|
+
},
|
|
35
40
|
};
|
|
36
41
|
const { requestHandler } = configuration;
|
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ 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 types_1 = require("@smithy/types");
|
|
8
9
|
const models_0_1 = require("../models/models_0");
|
|
9
10
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
11
|
class DeclineHandshakeCommand extends smithy_client_1.Command {
|
|
@@ -33,6 +34,10 @@ class DeclineHandshakeCommand extends smithy_client_1.Command {
|
|
|
33
34
|
commandName,
|
|
34
35
|
inputFilterSensitiveLog: (_) => _,
|
|
35
36
|
outputFilterSensitiveLog: models_0_1.DeclineHandshakeResponseFilterSensitiveLog,
|
|
37
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
+
service: "AWSOrganizationsV20161128",
|
|
39
|
+
operation: "DeclineHandshake",
|
|
40
|
+
},
|
|
36
41
|
};
|
|
37
42
|
const { requestHandler } = configuration;
|
|
38
43
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ 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 types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
10
|
class DeleteOrganizationCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -32,6 +33,10 @@ class DeleteOrganizationCommand extends smithy_client_1.Command {
|
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "AWSOrganizationsV20161128",
|
|
38
|
+
operation: "DeleteOrganization",
|
|
39
|
+
},
|
|
35
40
|
};
|
|
36
41
|
const { requestHandler } = configuration;
|
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ 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 types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
10
|
class DeleteOrganizationalUnitCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -32,6 +33,10 @@ class DeleteOrganizationalUnitCommand extends smithy_client_1.Command {
|
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "AWSOrganizationsV20161128",
|
|
38
|
+
operation: "DeleteOrganizationalUnit",
|
|
39
|
+
},
|
|
35
40
|
};
|
|
36
41
|
const { requestHandler } = configuration;
|
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ 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 types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
10
|
class DeletePolicyCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -32,6 +33,10 @@ class DeletePolicyCommand extends smithy_client_1.Command {
|
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "AWSOrganizationsV20161128",
|
|
38
|
+
operation: "DeletePolicy",
|
|
39
|
+
},
|
|
35
40
|
};
|
|
36
41
|
const { requestHandler } = configuration;
|
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ 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 types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
10
|
class DeleteResourcePolicyCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -32,6 +33,10 @@ class DeleteResourcePolicyCommand extends smithy_client_1.Command {
|
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "AWSOrganizationsV20161128",
|
|
38
|
+
operation: "DeleteResourcePolicy",
|
|
39
|
+
},
|
|
35
40
|
};
|
|
36
41
|
const { requestHandler } = configuration;
|
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ 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 types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
10
|
class DeregisterDelegatedAdministratorCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -32,6 +33,10 @@ class DeregisterDelegatedAdministratorCommand extends smithy_client_1.Command {
|
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "AWSOrganizationsV20161128",
|
|
38
|
+
operation: "DeregisterDelegatedAdministrator",
|
|
39
|
+
},
|
|
35
40
|
};
|
|
36
41
|
const { requestHandler } = configuration;
|
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ 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 types_1 = require("@smithy/types");
|
|
8
9
|
const models_0_1 = require("../models/models_0");
|
|
9
10
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
11
|
class DescribeAccountCommand extends smithy_client_1.Command {
|
|
@@ -33,6 +34,10 @@ class DescribeAccountCommand extends smithy_client_1.Command {
|
|
|
33
34
|
commandName,
|
|
34
35
|
inputFilterSensitiveLog: (_) => _,
|
|
35
36
|
outputFilterSensitiveLog: models_0_1.DescribeAccountResponseFilterSensitiveLog,
|
|
37
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
+
service: "AWSOrganizationsV20161128",
|
|
39
|
+
operation: "DescribeAccount",
|
|
40
|
+
},
|
|
36
41
|
};
|
|
37
42
|
const { requestHandler } = configuration;
|
|
38
43
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ 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 types_1 = require("@smithy/types");
|
|
8
9
|
const models_0_1 = require("../models/models_0");
|
|
9
10
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
11
|
class DescribeCreateAccountStatusCommand extends smithy_client_1.Command {
|
|
@@ -33,6 +34,10 @@ class DescribeCreateAccountStatusCommand extends smithy_client_1.Command {
|
|
|
33
34
|
commandName,
|
|
34
35
|
inputFilterSensitiveLog: (_) => _,
|
|
35
36
|
outputFilterSensitiveLog: models_0_1.DescribeCreateAccountStatusResponseFilterSensitiveLog,
|
|
37
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
+
service: "AWSOrganizationsV20161128",
|
|
39
|
+
operation: "DescribeCreateAccountStatus",
|
|
40
|
+
},
|
|
36
41
|
};
|
|
37
42
|
const { requestHandler } = configuration;
|
|
38
43
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ 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 types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
10
|
class DescribeEffectivePolicyCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -32,6 +33,10 @@ class DescribeEffectivePolicyCommand extends smithy_client_1.Command {
|
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "AWSOrganizationsV20161128",
|
|
38
|
+
operation: "DescribeEffectivePolicy",
|
|
39
|
+
},
|
|
35
40
|
};
|
|
36
41
|
const { requestHandler } = configuration;
|
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ 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 types_1 = require("@smithy/types");
|
|
8
9
|
const models_0_1 = require("../models/models_0");
|
|
9
10
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
11
|
class DescribeHandshakeCommand extends smithy_client_1.Command {
|
|
@@ -33,6 +34,10 @@ class DescribeHandshakeCommand extends smithy_client_1.Command {
|
|
|
33
34
|
commandName,
|
|
34
35
|
inputFilterSensitiveLog: (_) => _,
|
|
35
36
|
outputFilterSensitiveLog: models_0_1.DescribeHandshakeResponseFilterSensitiveLog,
|
|
37
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
+
service: "AWSOrganizationsV20161128",
|
|
39
|
+
operation: "DescribeHandshake",
|
|
40
|
+
},
|
|
36
41
|
};
|
|
37
42
|
const { requestHandler } = configuration;
|
|
38
43
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ 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 types_1 = require("@smithy/types");
|
|
8
9
|
const models_0_1 = require("../models/models_0");
|
|
9
10
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
11
|
class DescribeOrganizationCommand extends smithy_client_1.Command {
|
|
@@ -33,6 +34,10 @@ class DescribeOrganizationCommand extends smithy_client_1.Command {
|
|
|
33
34
|
commandName,
|
|
34
35
|
inputFilterSensitiveLog: (_) => _,
|
|
35
36
|
outputFilterSensitiveLog: models_0_1.DescribeOrganizationResponseFilterSensitiveLog,
|
|
37
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
+
service: "AWSOrganizationsV20161128",
|
|
39
|
+
operation: "DescribeOrganization",
|
|
40
|
+
},
|
|
36
41
|
};
|
|
37
42
|
const { requestHandler } = configuration;
|
|
38
43
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ 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 types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
10
|
class DescribeOrganizationalUnitCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -32,6 +33,10 @@ class DescribeOrganizationalUnitCommand extends smithy_client_1.Command {
|
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "AWSOrganizationsV20161128",
|
|
38
|
+
operation: "DescribeOrganizationalUnit",
|
|
39
|
+
},
|
|
35
40
|
};
|
|
36
41
|
const { requestHandler } = configuration;
|
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ 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 types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
10
|
class DescribePolicyCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -32,6 +33,10 @@ class DescribePolicyCommand extends smithy_client_1.Command {
|
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "AWSOrganizationsV20161128",
|
|
38
|
+
operation: "DescribePolicy",
|
|
39
|
+
},
|
|
35
40
|
};
|
|
36
41
|
const { requestHandler } = configuration;
|
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ 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 types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
10
|
class DescribeResourcePolicyCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -32,6 +33,10 @@ class DescribeResourcePolicyCommand extends smithy_client_1.Command {
|
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "AWSOrganizationsV20161128",
|
|
38
|
+
operation: "DescribeResourcePolicy",
|
|
39
|
+
},
|
|
35
40
|
};
|
|
36
41
|
const { requestHandler } = configuration;
|
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ 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 types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
10
|
class DetachPolicyCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -32,6 +33,10 @@ class DetachPolicyCommand extends smithy_client_1.Command {
|
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "AWSOrganizationsV20161128",
|
|
38
|
+
operation: "DetachPolicy",
|
|
39
|
+
},
|
|
35
40
|
};
|
|
36
41
|
const { requestHandler } = configuration;
|
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ 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 types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
10
|
class DisableAWSServiceAccessCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -32,6 +33,10 @@ class DisableAWSServiceAccessCommand extends smithy_client_1.Command {
|
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "AWSOrganizationsV20161128",
|
|
38
|
+
operation: "DisableAWSServiceAccess",
|
|
39
|
+
},
|
|
35
40
|
};
|
|
36
41
|
const { requestHandler } = configuration;
|
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ 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 types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
10
|
class DisablePolicyTypeCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -32,6 +33,10 @@ class DisablePolicyTypeCommand extends smithy_client_1.Command {
|
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "AWSOrganizationsV20161128",
|
|
38
|
+
operation: "DisablePolicyType",
|
|
39
|
+
},
|
|
35
40
|
};
|
|
36
41
|
const { requestHandler } = configuration;
|
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ 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 types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
10
|
class EnableAWSServiceAccessCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -32,6 +33,10 @@ class EnableAWSServiceAccessCommand extends smithy_client_1.Command {
|
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "AWSOrganizationsV20161128",
|
|
38
|
+
operation: "EnableAWSServiceAccess",
|
|
39
|
+
},
|
|
35
40
|
};
|
|
36
41
|
const { requestHandler } = configuration;
|
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ 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 types_1 = require("@smithy/types");
|
|
8
9
|
const models_0_1 = require("../models/models_0");
|
|
9
10
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
11
|
class EnableAllFeaturesCommand extends smithy_client_1.Command {
|
|
@@ -33,6 +34,10 @@ class EnableAllFeaturesCommand extends smithy_client_1.Command {
|
|
|
33
34
|
commandName,
|
|
34
35
|
inputFilterSensitiveLog: (_) => _,
|
|
35
36
|
outputFilterSensitiveLog: models_0_1.EnableAllFeaturesResponseFilterSensitiveLog,
|
|
37
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
+
service: "AWSOrganizationsV20161128",
|
|
39
|
+
operation: "EnableAllFeatures",
|
|
40
|
+
},
|
|
36
41
|
};
|
|
37
42
|
const { requestHandler } = configuration;
|
|
38
43
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ 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 types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
10
|
class EnablePolicyTypeCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -32,6 +33,10 @@ class EnablePolicyTypeCommand extends smithy_client_1.Command {
|
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "AWSOrganizationsV20161128",
|
|
38
|
+
operation: "EnablePolicyType",
|
|
39
|
+
},
|
|
35
40
|
};
|
|
36
41
|
const { requestHandler } = configuration;
|
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|