@aws-sdk/client-organizations 3.413.0 → 3.418.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/commands/AcceptHandshakeCommand.js +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-cjs/runtimeExtensions.js +3 -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/dist-es/runtimeExtensions.js +3 -0
- package/dist-types/extensionConfiguration.d.ts +2 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +3 -1
- package/package.json +31 -30
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_ListOrganizationalUnitsForParentCommand, se_ListOrganizationalUnitsForParentCommand, } from "../protocols/Aws_json1_1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class ListOrganizationalUnitsForParentCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class ListOrganizationalUnitsForParentCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AWSOrganizationsV20161128",
|
|
35
|
+
operation: "ListOrganizationalUnitsForParent",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_ListParentsCommand, se_ListParentsCommand } from "../protocols/Aws_json1_1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class ListParentsCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class ListParentsCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AWSOrganizationsV20161128",
|
|
35
|
+
operation: "ListParents",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_ListPoliciesCommand, se_ListPoliciesCommand } from "../protocols/Aws_json1_1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class ListPoliciesCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class ListPoliciesCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AWSOrganizationsV20161128",
|
|
35
|
+
operation: "ListPolicies",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_ListPoliciesForTargetCommand, se_ListPoliciesForTargetCommand } from "../protocols/Aws_json1_1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class ListPoliciesForTargetCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class ListPoliciesForTargetCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AWSOrganizationsV20161128",
|
|
35
|
+
operation: "ListPoliciesForTarget",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_ListRootsCommand, se_ListRootsCommand } from "../protocols/Aws_json1_1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class ListRootsCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class ListRootsCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AWSOrganizationsV20161128",
|
|
35
|
+
operation: "ListRoots",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_json1_1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class ListTagsForResourceCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class ListTagsForResourceCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AWSOrganizationsV20161128",
|
|
35
|
+
operation: "ListTagsForResource",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_ListTargetsForPolicyCommand, se_ListTargetsForPolicyCommand } from "../protocols/Aws_json1_1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class ListTargetsForPolicyCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class ListTargetsForPolicyCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AWSOrganizationsV20161128",
|
|
35
|
+
operation: "ListTargetsForPolicy",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_MoveAccountCommand, se_MoveAccountCommand } from "../protocols/Aws_json1_1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class MoveAccountCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class MoveAccountCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AWSOrganizationsV20161128",
|
|
35
|
+
operation: "MoveAccount",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_PutResourcePolicyCommand, se_PutResourcePolicyCommand } from "../protocols/Aws_json1_1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class PutResourcePolicyCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class PutResourcePolicyCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AWSOrganizationsV20161128",
|
|
35
|
+
operation: "PutResourcePolicy",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_RegisterDelegatedAdministratorCommand, se_RegisterDelegatedAdministratorCommand, } from "../protocols/Aws_json1_1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class RegisterDelegatedAdministratorCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class RegisterDelegatedAdministratorCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AWSOrganizationsV20161128",
|
|
35
|
+
operation: "RegisterDelegatedAdministrator",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_RemoveAccountFromOrganizationCommand, se_RemoveAccountFromOrganizationCommand, } from "../protocols/Aws_json1_1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class RemoveAccountFromOrganizationCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class RemoveAccountFromOrganizationCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AWSOrganizationsV20161128",
|
|
35
|
+
operation: "RemoveAccountFromOrganization",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_json1_1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class TagResourceCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class TagResourceCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AWSOrganizationsV20161128",
|
|
35
|
+
operation: "TagResource",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_json1_1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class UntagResourceCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class UntagResourceCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AWSOrganizationsV20161128",
|
|
35
|
+
operation: "UntagResource",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_UpdateOrganizationalUnitCommand, se_UpdateOrganizationalUnitCommand } from "../protocols/Aws_json1_1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class UpdateOrganizationalUnitCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class UpdateOrganizationalUnitCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AWSOrganizationsV20161128",
|
|
35
|
+
operation: "UpdateOrganizationalUnit",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_UpdatePolicyCommand, se_UpdatePolicyCommand } from "../protocols/Aws_json1_1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class UpdatePolicyCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class UpdatePolicyCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AWSOrganizationsV20161128",
|
|
35
|
+
operation: "UpdatePolicy",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,14 +1,17 @@
|
|
|
1
|
+
import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, } from "@aws-sdk/region-config-resolver";
|
|
1
2
|
import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
|
|
2
3
|
import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
|
|
3
4
|
const asPartial = (t) => t;
|
|
4
5
|
export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
5
6
|
const extensionConfiguration = {
|
|
7
|
+
...asPartial(getAwsRegionExtensionConfiguration(runtimeConfig)),
|
|
6
8
|
...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
|
|
7
9
|
...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)),
|
|
8
10
|
};
|
|
9
11
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
10
12
|
return {
|
|
11
13
|
...runtimeConfig,
|
|
14
|
+
...resolveAwsRegionExtensionConfiguration(extensionConfiguration),
|
|
12
15
|
...resolveDefaultRuntimeConfig(extensionConfiguration),
|
|
13
16
|
...resolveHttpHandlerRuntimeConfig(extensionConfiguration),
|
|
14
17
|
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
1
2
|
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
2
3
|
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
3
4
|
/**
|
|
4
5
|
* @internal
|
|
5
6
|
*/
|
|
6
|
-
export interface OrganizationsExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration {
|
|
7
|
+
export interface OrganizationsExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration {
|
|
7
8
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
1
2
|
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
2
3
|
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
3
4
|
export interface OrganizationsExtensionConfiguration
|
|
4
5
|
extends HttpHandlerExtensionConfiguration,
|
|
5
|
-
DefaultExtensionConfiguration
|
|
6
|
+
DefaultExtensionConfiguration,
|
|
7
|
+
AwsRegionExtensionConfiguration {}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-organizations",
|
|
3
3
|
"description": "AWS SDK for JavaScript Organizations Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.418.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,38 +21,39 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-signing": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/
|
|
32
|
-
"@aws-sdk/
|
|
33
|
-
"@aws-sdk/util-
|
|
34
|
-
"@aws-sdk/util-user-agent-
|
|
35
|
-
"@
|
|
36
|
-
"@smithy/
|
|
37
|
-
"@smithy/
|
|
38
|
-
"@smithy/
|
|
39
|
-
"@smithy/
|
|
40
|
-
"@smithy/middleware-
|
|
41
|
-
"@smithy/middleware-
|
|
42
|
-
"@smithy/middleware-
|
|
43
|
-
"@smithy/middleware-
|
|
44
|
-
"@smithy/
|
|
45
|
-
"@smithy/node-
|
|
46
|
-
"@smithy/
|
|
47
|
-
"@smithy/
|
|
48
|
-
"@smithy/
|
|
49
|
-
"@smithy/
|
|
24
|
+
"@aws-sdk/client-sts": "3.418.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.418.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.418.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.418.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.418.0",
|
|
29
|
+
"@aws-sdk/middleware-signing": "3.418.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.418.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.418.0",
|
|
32
|
+
"@aws-sdk/types": "3.418.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.418.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.418.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.418.0",
|
|
36
|
+
"@smithy/config-resolver": "^2.0.10",
|
|
37
|
+
"@smithy/fetch-http-handler": "^2.1.5",
|
|
38
|
+
"@smithy/hash-node": "^2.0.9",
|
|
39
|
+
"@smithy/invalid-dependency": "^2.0.9",
|
|
40
|
+
"@smithy/middleware-content-length": "^2.0.11",
|
|
41
|
+
"@smithy/middleware-endpoint": "^2.0.9",
|
|
42
|
+
"@smithy/middleware-retry": "^2.0.12",
|
|
43
|
+
"@smithy/middleware-serde": "^2.0.9",
|
|
44
|
+
"@smithy/middleware-stack": "^2.0.2",
|
|
45
|
+
"@smithy/node-config-provider": "^2.0.12",
|
|
46
|
+
"@smithy/node-http-handler": "^2.1.5",
|
|
47
|
+
"@smithy/protocol-http": "^3.0.5",
|
|
48
|
+
"@smithy/smithy-client": "^2.1.6",
|
|
49
|
+
"@smithy/types": "^2.3.3",
|
|
50
|
+
"@smithy/url-parser": "^2.0.9",
|
|
50
51
|
"@smithy/util-base64": "^2.0.0",
|
|
51
52
|
"@smithy/util-body-length-browser": "^2.0.0",
|
|
52
53
|
"@smithy/util-body-length-node": "^2.1.0",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^2.0.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^2.0.
|
|
55
|
-
"@smithy/util-retry": "^2.0.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^2.0.10",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^2.0.12",
|
|
56
|
+
"@smithy/util-retry": "^2.0.2",
|
|
56
57
|
"@smithy/util-utf8": "^2.0.0",
|
|
57
58
|
"tslib": "^2.5.0"
|
|
58
59
|
},
|