@aws-sdk/client-controltower 3.337.0 → 3.341.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/ControlTowerClient.js +2 -1
- package/dist-cjs/commands/DisableControlCommand.js +2 -1
- package/dist-cjs/commands/EnableControlCommand.js +2 -1
- package/dist-cjs/commands/GetControlOperationCommand.js +2 -1
- package/dist-cjs/commands/ListEnabledControlsCommand.js +2 -1
- package/dist-cjs/index.js +2 -2
- package/dist-cjs/models/ControlTowerServiceException.js +2 -1
- package/dist-es/ControlTowerClient.js +1 -0
- package/dist-es/commands/DisableControlCommand.js +1 -0
- package/dist-es/commands/EnableControlCommand.js +1 -0
- package/dist-es/commands/GetControlOperationCommand.js +1 -0
- package/dist-es/commands/ListEnabledControlsCommand.js +1 -0
- package/dist-es/index.js +2 -2
- package/dist-es/models/ControlTowerServiceException.js +1 -0
- package/dist-types/ControlTowerClient.d.ts +3 -3
- package/dist-types/commands/DisableControlCommand.d.ts +4 -0
- package/dist-types/commands/EnableControlCommand.d.ts +4 -0
- package/dist-types/commands/GetControlOperationCommand.d.ts +4 -0
- package/dist-types/commands/ListEnabledControlsCommand.d.ts +4 -0
- package/dist-types/index.d.ts +77 -2
- package/dist-types/models/ControlTowerServiceException.d.ts +1 -0
- package/dist-types/ts3.4/ControlTowerClient.d.ts +3 -3
- package/dist-types/ts3.4/commands/DisableControlCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/EnableControlCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/GetControlOperationCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/ListEnabledControlsCommand.d.ts +1 -0
- package/dist-types/ts3.4/index.d.ts +2 -2
- package/dist-types/ts3.4/models/ControlTowerServiceException.d.ts +1 -0
- package/package.json +28 -28
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ControlTowerClient = void 0;
|
|
3
|
+
exports.ControlTowerClient = exports.__Client = void 0;
|
|
4
4
|
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
5
5
|
const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
|
|
6
6
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
@@ -11,6 +11,7 @@ const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
|
11
11
|
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
12
12
|
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
13
13
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
14
|
+
Object.defineProperty(exports, "__Client", { enumerable: true, get: function () { return smithy_client_1.Client; } });
|
|
14
15
|
const EndpointParameters_1 = require("./endpoint/EndpointParameters");
|
|
15
16
|
const runtimeConfig_1 = require("./runtimeConfig");
|
|
16
17
|
class ControlTowerClient extends smithy_client_1.Client {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DisableControlCommand = void 0;
|
|
3
|
+
exports.DisableControlCommand = exports.$Command = void 0;
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
7
8
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
9
|
class DisableControlCommand extends smithy_client_1.Command {
|
|
9
10
|
static getEndpointParameterInstructions() {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.EnableControlCommand = void 0;
|
|
3
|
+
exports.EnableControlCommand = exports.$Command = void 0;
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
7
8
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
9
|
class EnableControlCommand extends smithy_client_1.Command {
|
|
9
10
|
static getEndpointParameterInstructions() {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetControlOperationCommand = void 0;
|
|
3
|
+
exports.GetControlOperationCommand = exports.$Command = void 0;
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
7
8
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
9
|
class GetControlOperationCommand extends smithy_client_1.Command {
|
|
9
10
|
static getEndpointParameterInstructions() {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ListEnabledControlsCommand = void 0;
|
|
3
|
+
exports.ListEnabledControlsCommand = exports.$Command = void 0;
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
7
8
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
9
|
class ListEnabledControlsCommand extends smithy_client_1.Command {
|
|
9
10
|
static getEndpointParameterInstructions() {
|
package/dist-cjs/index.js
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ControlTowerServiceException = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
tslib_1.__exportStar(require("./ControlTower"), exports);
|
|
6
5
|
tslib_1.__exportStar(require("./ControlTowerClient"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./ControlTower"), exports);
|
|
7
7
|
tslib_1.__exportStar(require("./commands"), exports);
|
|
8
|
-
tslib_1.__exportStar(require("./models"), exports);
|
|
9
8
|
tslib_1.__exportStar(require("./pagination"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./models"), exports);
|
|
10
10
|
var ControlTowerServiceException_1 = require("./models/ControlTowerServiceException");
|
|
11
11
|
Object.defineProperty(exports, "ControlTowerServiceException", { enumerable: true, get: function () { return ControlTowerServiceException_1.ControlTowerServiceException; } });
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ControlTowerServiceException = void 0;
|
|
3
|
+
exports.ControlTowerServiceException = exports.__ServiceException = void 0;
|
|
4
4
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
5
6
|
class ControlTowerServiceException extends smithy_client_1.ServiceException {
|
|
6
7
|
constructor(options) {
|
|
7
8
|
super(options);
|
|
@@ -10,6 +10,7 @@ import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware
|
|
|
10
10
|
import { Client as __Client, } from "@aws-sdk/smithy-client";
|
|
11
11
|
import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
|
|
12
12
|
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
13
|
+
export { __Client };
|
|
13
14
|
export class ControlTowerClient extends __Client {
|
|
14
15
|
constructor(configuration) {
|
|
15
16
|
const _config_0 = __getRuntimeConfig(configuration);
|
|
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { de_DisableControlCommand, se_DisableControlCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
5
6
|
export class DisableControlCommand extends $Command {
|
|
6
7
|
static getEndpointParameterInstructions() {
|
|
7
8
|
return {
|
|
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { de_EnableControlCommand, se_EnableControlCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
5
6
|
export class EnableControlCommand extends $Command {
|
|
6
7
|
static getEndpointParameterInstructions() {
|
|
7
8
|
return {
|
|
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { de_GetControlOperationCommand, se_GetControlOperationCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
5
6
|
export class GetControlOperationCommand extends $Command {
|
|
6
7
|
static getEndpointParameterInstructions() {
|
|
7
8
|
return {
|
|
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { de_ListEnabledControlsCommand, se_ListEnabledControlsCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
5
6
|
export class ListEnabledControlsCommand extends $Command {
|
|
6
7
|
static getEndpointParameterInstructions() {
|
|
7
8
|
return {
|
package/dist-es/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from "./ControlTower";
|
|
2
1
|
export * from "./ControlTowerClient";
|
|
2
|
+
export * from "./ControlTower";
|
|
3
3
|
export * from "./commands";
|
|
4
|
-
export * from "./models";
|
|
5
4
|
export * from "./pagination";
|
|
5
|
+
export * from "./models";
|
|
6
6
|
export { ControlTowerServiceException } from "./models/ControlTowerServiceException";
|
|
@@ -13,6 +13,7 @@ import { EnableControlCommandInput, EnableControlCommandOutput } from "./command
|
|
|
13
13
|
import { GetControlOperationCommandInput, GetControlOperationCommandOutput } from "./commands/GetControlOperationCommand";
|
|
14
14
|
import { ListEnabledControlsCommandInput, ListEnabledControlsCommandOutput } from "./commands/ListEnabledControlsCommand";
|
|
15
15
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
16
|
+
export { __Client };
|
|
16
17
|
/**
|
|
17
18
|
* @public
|
|
18
19
|
*/
|
|
@@ -127,7 +128,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
127
128
|
/**
|
|
128
129
|
* @public
|
|
129
130
|
*/
|
|
130
|
-
type ControlTowerClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
131
|
+
export type ControlTowerClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
131
132
|
/**
|
|
132
133
|
* @public
|
|
133
134
|
*
|
|
@@ -138,7 +139,7 @@ export interface ControlTowerClientConfig extends ControlTowerClientConfigType {
|
|
|
138
139
|
/**
|
|
139
140
|
* @public
|
|
140
141
|
*/
|
|
141
|
-
type ControlTowerClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
142
|
+
export type ControlTowerClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
142
143
|
/**
|
|
143
144
|
* @public
|
|
144
145
|
*
|
|
@@ -233,4 +234,3 @@ export declare class ControlTowerClient extends __Client<__HttpHandlerOptions, S
|
|
|
233
234
|
*/
|
|
234
235
|
destroy(): void;
|
|
235
236
|
}
|
|
236
|
-
export {};
|
|
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { ControlTowerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ControlTowerClient";
|
|
5
5
|
import { DisableControlInput, DisableControlOutput } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
6
10
|
/**
|
|
7
11
|
* @public
|
|
8
12
|
*
|
|
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { ControlTowerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ControlTowerClient";
|
|
5
5
|
import { EnableControlInput, EnableControlOutput } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
6
10
|
/**
|
|
7
11
|
* @public
|
|
8
12
|
*
|
|
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { ControlTowerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ControlTowerClient";
|
|
5
5
|
import { GetControlOperationInput, GetControlOperationOutput } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
6
10
|
/**
|
|
7
11
|
* @public
|
|
8
12
|
*
|
|
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { ControlTowerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ControlTowerClient";
|
|
5
5
|
import { ListEnabledControlsInput, ListEnabledControlsOutput } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
6
10
|
/**
|
|
7
11
|
* @public
|
|
8
12
|
*
|
package/dist-types/index.d.ts
CHANGED
|
@@ -1,6 +1,81 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* <p>These interfaces allow you to apply the AWS library of pre-defined <i>controls</i> to your
|
|
3
|
+
* organizational units, programmatically. In this context, controls are the same as AWS Control Tower guardrails.</p>
|
|
4
|
+
* <p>To call these APIs, you'll need to know:</p>
|
|
5
|
+
* <ul>
|
|
6
|
+
* <li>
|
|
7
|
+
* <p>the <code>ControlARN</code> for the control--that is, the
|
|
8
|
+
* guardrail--you are targeting,</p>
|
|
9
|
+
* </li>
|
|
10
|
+
* <li>
|
|
11
|
+
* <p>and the ARN associated with the target organizational unit (OU).</p>
|
|
12
|
+
* </li>
|
|
13
|
+
* </ul>
|
|
14
|
+
* <p>
|
|
15
|
+
* <b>To get the <code>ControlARN</code> for your AWS Control Tower guardrail:</b>
|
|
16
|
+
* </p>
|
|
17
|
+
* <p>The <code>ControlARN</code> contains the control name which is specified in each guardrail. For a list of control names for <i>Strongly recommended</i> and <i>Elective</i> guardrails, see <a href="https://docs.aws.amazon.com/controltower/latest/userguide/control-identifiers.html.html">Resource identifiers for APIs and guardrails</a> in the <a href="https://docs.aws.amazon.com/controltower/latest/userguide/automating-tasks.html">Automating tasks section</a> of the AWS Control Tower User Guide. Remember that <i>Mandatory</i> guardrails cannot be added or removed.</p>
|
|
18
|
+
* <note>
|
|
19
|
+
* <p>
|
|
20
|
+
* <b>ARN format:</b>
|
|
21
|
+
* <code>arn:aws:controltower:{REGION}::control/{CONTROL_NAME}</code>
|
|
22
|
+
* </p>
|
|
23
|
+
* <p>
|
|
24
|
+
* <b>Example:</b>
|
|
25
|
+
* </p>
|
|
26
|
+
* <p>
|
|
27
|
+
* <code>arn:aws:controltower:us-west-2::control/AWS-GR_AUTOSCALING_LAUNCH_CONFIG_PUBLIC_IP_DISABLED</code>
|
|
28
|
+
* </p>
|
|
29
|
+
* </note>
|
|
30
|
+
* <p>
|
|
31
|
+
* <b>To get the ARN for an OU:</b>
|
|
32
|
+
* </p>
|
|
33
|
+
* <p>In the AWS Organizations console, you can find the ARN for the OU on the <b>Organizational unit details</b> page associated with that OU.</p>
|
|
34
|
+
* <note>
|
|
35
|
+
* <p>
|
|
36
|
+
* <b>OU ARN format:</b>
|
|
37
|
+
* </p>
|
|
38
|
+
* <p>
|
|
39
|
+
* <code>arn:${Partition}:organizations::${MasterAccountId}:ou/o-${OrganizationId}/ou-${OrganizationalUnitId}</code>
|
|
40
|
+
* </p>
|
|
41
|
+
* </note>
|
|
42
|
+
* <p class="title">
|
|
43
|
+
* <b>Details and examples</b>
|
|
44
|
+
* </p>
|
|
45
|
+
* <ul>
|
|
46
|
+
* <li>
|
|
47
|
+
* <p>
|
|
48
|
+
* <a href="https://docs.aws.amazon.com/controltower/latest/userguide/control-identifiers.html">List of resource identifiers for APIs and guardrails</a>
|
|
49
|
+
* </p>
|
|
50
|
+
* </li>
|
|
51
|
+
* <li>
|
|
52
|
+
* <p>
|
|
53
|
+
* <a href="https://docs.aws.amazon.com/controltower/latest/userguide/guardrail-api-examples-short.html">Guardrail API examples (CLI)</a>
|
|
54
|
+
* </p>
|
|
55
|
+
* </li>
|
|
56
|
+
* <li>
|
|
57
|
+
* <p>
|
|
58
|
+
* <a href="https://docs.aws.amazon.com/controltower/latest/userguide/enable-controls.html">Enable controls with AWS CloudFormation</a>
|
|
59
|
+
* </p>
|
|
60
|
+
* </li>
|
|
61
|
+
* <li>
|
|
62
|
+
* <p>
|
|
63
|
+
* <a href="https://docs.aws.amazon.com/controltower/latest/userguide/creating-resources-with-cloudformation.html">Creating AWS Control Tower resources with AWS CloudFormation</a>
|
|
64
|
+
* </p>
|
|
65
|
+
* </li>
|
|
66
|
+
* </ul>
|
|
67
|
+
* <p>To view the open source resource repository on GitHub, see <a href="https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-controltower">aws-cloudformation/aws-cloudformation-resource-providers-controltower</a>
|
|
68
|
+
* </p>
|
|
69
|
+
* <p>
|
|
70
|
+
* <b>Recording API Requests</b>
|
|
71
|
+
* </p>
|
|
72
|
+
* <p>AWS Control Tower supports AWS CloudTrail, a service that records AWS API calls for your AWS account and delivers log files to an Amazon S3 bucket. By using information collected by CloudTrail, you can determine which requests the AWS Control Tower service received, who made the request and when, and so on. For more about AWS Control Tower and its support for CloudTrail, see <a href="https://docs.aws.amazon.com/controltower/latest/userguide/logging-using-cloudtrail.html">Logging AWS Control Tower Actions with AWS CloudTrail</a> in the AWS Control Tower User Guide. To learn more about CloudTrail, including how to turn it on and find your log files, see the AWS CloudTrail User Guide.</p>
|
|
73
|
+
*
|
|
74
|
+
* @packageDocumentation
|
|
75
|
+
*/
|
|
2
76
|
export * from "./ControlTowerClient";
|
|
77
|
+
export * from "./ControlTower";
|
|
3
78
|
export * from "./commands";
|
|
4
|
-
export * from "./models";
|
|
5
79
|
export * from "./pagination";
|
|
80
|
+
export * from "./models";
|
|
6
81
|
export { ControlTowerServiceException } from "./models/ControlTowerServiceException";
|
|
@@ -67,6 +67,7 @@ import {
|
|
|
67
67
|
ClientResolvedEndpointParameters,
|
|
68
68
|
EndpointParameters,
|
|
69
69
|
} from "./endpoint/EndpointParameters";
|
|
70
|
+
export { __Client };
|
|
70
71
|
export type ServiceInputTypes =
|
|
71
72
|
| DisableControlCommandInput
|
|
72
73
|
| EnableControlCommandInput
|
|
@@ -101,7 +102,7 @@ export interface ClientDefaults
|
|
|
101
102
|
logger?: __Logger;
|
|
102
103
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
103
104
|
}
|
|
104
|
-
type ControlTowerClientConfigType = Partial<
|
|
105
|
+
export type ControlTowerClientConfigType = Partial<
|
|
105
106
|
__SmithyConfiguration<__HttpHandlerOptions>
|
|
106
107
|
> &
|
|
107
108
|
ClientDefaults &
|
|
@@ -114,7 +115,7 @@ type ControlTowerClientConfigType = Partial<
|
|
|
114
115
|
ClientInputEndpointParameters;
|
|
115
116
|
export interface ControlTowerClientConfig
|
|
116
117
|
extends ControlTowerClientConfigType {}
|
|
117
|
-
type ControlTowerClientResolvedConfigType =
|
|
118
|
+
export type ControlTowerClientResolvedConfigType =
|
|
118
119
|
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
119
120
|
Required<ClientDefaults> &
|
|
120
121
|
RegionResolvedConfig &
|
|
@@ -136,4 +137,3 @@ export declare class ControlTowerClient extends __Client<
|
|
|
136
137
|
constructor(configuration: ControlTowerClientConfig);
|
|
137
138
|
destroy(): void;
|
|
138
139
|
}
|
|
139
|
-
export {};
|
|
@@ -12,6 +12,7 @@ import {
|
|
|
12
12
|
ServiceOutputTypes,
|
|
13
13
|
} from "../ControlTowerClient";
|
|
14
14
|
import { DisableControlInput, DisableControlOutput } from "../models/models_0";
|
|
15
|
+
export { __MetadataBearer, $Command };
|
|
15
16
|
export interface DisableControlCommandInput extends DisableControlInput {}
|
|
16
17
|
export interface DisableControlCommandOutput
|
|
17
18
|
extends DisableControlOutput,
|
|
@@ -12,6 +12,7 @@ import {
|
|
|
12
12
|
ServiceOutputTypes,
|
|
13
13
|
} from "../ControlTowerClient";
|
|
14
14
|
import { EnableControlInput, EnableControlOutput } from "../models/models_0";
|
|
15
|
+
export { __MetadataBearer, $Command };
|
|
15
16
|
export interface EnableControlCommandInput extends EnableControlInput {}
|
|
16
17
|
export interface EnableControlCommandOutput
|
|
17
18
|
extends EnableControlOutput,
|
|
@@ -15,6 +15,7 @@ import {
|
|
|
15
15
|
GetControlOperationInput,
|
|
16
16
|
GetControlOperationOutput,
|
|
17
17
|
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
18
19
|
export interface GetControlOperationCommandInput
|
|
19
20
|
extends GetControlOperationInput {}
|
|
20
21
|
export interface GetControlOperationCommandOutput
|
|
@@ -15,6 +15,7 @@ import {
|
|
|
15
15
|
ListEnabledControlsInput,
|
|
16
16
|
ListEnabledControlsOutput,
|
|
17
17
|
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
18
19
|
export interface ListEnabledControlsCommandInput
|
|
19
20
|
extends ListEnabledControlsInput {}
|
|
20
21
|
export interface ListEnabledControlsCommandOutput
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from "./ControlTower";
|
|
2
1
|
export * from "./ControlTowerClient";
|
|
2
|
+
export * from "./ControlTower";
|
|
3
3
|
export * from "./commands";
|
|
4
|
-
export * from "./models";
|
|
5
4
|
export * from "./pagination";
|
|
5
|
+
export * from "./models";
|
|
6
6
|
export { ControlTowerServiceException } from "./models/ControlTowerServiceException";
|
|
@@ -2,6 +2,7 @@ import {
|
|
|
2
2
|
ServiceException as __ServiceException,
|
|
3
3
|
ServiceExceptionOptions as __ServiceExceptionOptions,
|
|
4
4
|
} from "@aws-sdk/smithy-client";
|
|
5
|
+
export { __ServiceException, __ServiceExceptionOptions };
|
|
5
6
|
export declare class ControlTowerServiceException extends __ServiceException {
|
|
6
7
|
constructor(options: __ServiceExceptionOptions);
|
|
7
8
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-controltower",
|
|
3
3
|
"description": "AWS SDK for JavaScript Controltower Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.341.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,36 +21,36 @@
|
|
|
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/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
-
"@aws-sdk/types": "3.
|
|
44
|
-
"@aws-sdk/url-parser": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.341.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.341.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.341.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.341.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.341.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.341.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.341.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.341.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.341.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.341.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.341.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.341.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.341.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.341.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.341.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.341.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.341.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.341.0",
|
|
42
|
+
"@aws-sdk/smithy-client": "3.341.0",
|
|
43
|
+
"@aws-sdk/types": "3.341.0",
|
|
44
|
+
"@aws-sdk/url-parser": "3.341.0",
|
|
45
45
|
"@aws-sdk/util-base64": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
-
"@aws-sdk/util-retry": "3.
|
|
52
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.341.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.341.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.341.0",
|
|
51
|
+
"@aws-sdk/util-retry": "3.341.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-browser": "3.341.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.341.0",
|
|
54
54
|
"@aws-sdk/util-utf8": "3.310.0",
|
|
55
55
|
"@smithy/protocol-http": "^1.0.1",
|
|
56
56
|
"@smithy/types": "^1.0.0",
|