@aws-sdk/client-controltower 3.454.0 → 3.459.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.
Files changed (69) hide show
  1. package/README.md +95 -31
  2. package/dist-cjs/ControlTower.js +16 -0
  3. package/dist-cjs/commands/CreateLandingZoneCommand.js +51 -0
  4. package/dist-cjs/commands/DeleteLandingZoneCommand.js +51 -0
  5. package/dist-cjs/commands/GetLandingZoneCommand.js +51 -0
  6. package/dist-cjs/commands/GetLandingZoneOperationCommand.js +51 -0
  7. package/dist-cjs/commands/ListLandingZonesCommand.js +51 -0
  8. package/dist-cjs/commands/ResetLandingZoneCommand.js +51 -0
  9. package/dist-cjs/commands/UpdateEnabledControlCommand.js +51 -0
  10. package/dist-cjs/commands/UpdateLandingZoneCommand.js +51 -0
  11. package/dist-cjs/commands/index.js +8 -0
  12. package/dist-cjs/models/models_0.js +22 -1
  13. package/dist-cjs/pagination/ListLandingZonesPaginator.js +29 -0
  14. package/dist-cjs/pagination/index.js +1 -0
  15. package/dist-cjs/protocols/Aws_restJson1.js +682 -56
  16. package/dist-es/ControlTower.js +16 -0
  17. package/dist-es/commands/CreateLandingZoneCommand.js +47 -0
  18. package/dist-es/commands/DeleteLandingZoneCommand.js +47 -0
  19. package/dist-es/commands/GetLandingZoneCommand.js +47 -0
  20. package/dist-es/commands/GetLandingZoneOperationCommand.js +47 -0
  21. package/dist-es/commands/ListLandingZonesCommand.js +47 -0
  22. package/dist-es/commands/ResetLandingZoneCommand.js +47 -0
  23. package/dist-es/commands/UpdateEnabledControlCommand.js +47 -0
  24. package/dist-es/commands/UpdateLandingZoneCommand.js +47 -0
  25. package/dist-es/commands/index.js +8 -0
  26. package/dist-es/models/models_0.js +21 -0
  27. package/dist-es/pagination/ListLandingZonesPaginator.js +25 -0
  28. package/dist-es/pagination/index.js +1 -0
  29. package/dist-es/protocols/Aws_restJson1.js +659 -49
  30. package/dist-types/ControlTower.d.ts +72 -16
  31. package/dist-types/ControlTowerClient.d.ts +26 -18
  32. package/dist-types/commands/CreateLandingZoneCommand.d.ts +94 -0
  33. package/dist-types/commands/DeleteLandingZoneCommand.d.ts +92 -0
  34. package/dist-types/commands/DisableControlCommand.d.ts +9 -9
  35. package/dist-types/commands/EnableControlCommand.d.ts +15 -9
  36. package/dist-types/commands/GetControlOperationCommand.d.ts +6 -6
  37. package/dist-types/commands/GetEnabledControlCommand.d.ts +14 -8
  38. package/dist-types/commands/GetLandingZoneCommand.d.ts +97 -0
  39. package/dist-types/commands/GetLandingZoneOperationCommand.d.ts +95 -0
  40. package/dist-types/commands/ListEnabledControlsCommand.d.ts +9 -9
  41. package/dist-types/commands/ListLandingZonesCommand.d.ts +93 -0
  42. package/dist-types/commands/ListTagsForResourceCommand.d.ts +4 -4
  43. package/dist-types/commands/ResetLandingZoneCommand.d.ts +92 -0
  44. package/dist-types/commands/TagResourceCommand.d.ts +4 -4
  45. package/dist-types/commands/UntagResourceCommand.d.ts +4 -4
  46. package/dist-types/commands/UpdateEnabledControlCommand.d.ts +107 -0
  47. package/dist-types/commands/UpdateLandingZoneCommand.d.ts +95 -0
  48. package/dist-types/commands/index.d.ts +8 -0
  49. package/dist-types/index.d.ts +16 -16
  50. package/dist-types/models/models_0.d.ts +472 -29
  51. package/dist-types/pagination/ListLandingZonesPaginator.d.ts +7 -0
  52. package/dist-types/pagination/index.d.ts +1 -0
  53. package/dist-types/protocols/Aws_restJson1.d.ts +72 -0
  54. package/dist-types/ts3.4/ControlTower.d.ts +136 -0
  55. package/dist-types/ts3.4/ControlTowerClient.d.ts +50 -2
  56. package/dist-types/ts3.4/commands/CreateLandingZoneCommand.d.ts +38 -0
  57. package/dist-types/ts3.4/commands/DeleteLandingZoneCommand.d.ts +38 -0
  58. package/dist-types/ts3.4/commands/GetLandingZoneCommand.d.ts +35 -0
  59. package/dist-types/ts3.4/commands/GetLandingZoneOperationCommand.d.ts +42 -0
  60. package/dist-types/ts3.4/commands/ListLandingZonesCommand.d.ts +38 -0
  61. package/dist-types/ts3.4/commands/ResetLandingZoneCommand.d.ts +38 -0
  62. package/dist-types/ts3.4/commands/UpdateEnabledControlCommand.d.ts +42 -0
  63. package/dist-types/ts3.4/commands/UpdateLandingZoneCommand.d.ts +38 -0
  64. package/dist-types/ts3.4/commands/index.d.ts +8 -0
  65. package/dist-types/ts3.4/models/models_0.d.ts +117 -0
  66. package/dist-types/ts3.4/pagination/ListLandingZonesPaginator.d.ts +11 -0
  67. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  68. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +96 -0
  69. package/package.json +3 -3
@@ -0,0 +1,107 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { ControlTowerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ControlTowerClient";
5
+ import { UpdateEnabledControlInput, UpdateEnabledControlOutput } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateEnabledControlCommand}.
14
+ */
15
+ export interface UpdateEnabledControlCommandInput extends UpdateEnabledControlInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateEnabledControlCommand}.
21
+ */
22
+ export interface UpdateEnabledControlCommandOutput extends UpdateEnabledControlOutput, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>
27
+ * Updates the configuration of an already enabled control.</p>
28
+ * <p>If the enabled control shows an <code>EnablementStatus</code> of SUCCEEDED, supply parameters that are different from the currently configured parameters. Otherwise, Amazon Web Services Control Tower will not accept the request.</p>
29
+ * <p>If the enabled control shows an <code>EnablementStatus</code> of FAILED, Amazon Web Services Control Tower will update the control to match any valid parameters that you supply.</p>
30
+ * <p>If the <code>DriftSummary</code> status for the control shows as DRIFTED, you cannot call this API. Instead, you can update the control by calling <code>DisableControl</code> and again calling <code>EnableControl</code>, or you can run an extending governance operation. For usage examples, see <a href="https://docs.aws.amazon.com/controltower/latest/userguide/control-api-examples-short.html">
31
+ * <i>the Amazon Web Services Control Tower User Guide</i>
32
+ * </a>
33
+ * </p>
34
+ * @example
35
+ * Use a bare-bones client and the command you need to make an API call.
36
+ * ```javascript
37
+ * import { ControlTowerClient, UpdateEnabledControlCommand } from "@aws-sdk/client-controltower"; // ES Modules import
38
+ * // const { ControlTowerClient, UpdateEnabledControlCommand } = require("@aws-sdk/client-controltower"); // CommonJS import
39
+ * const client = new ControlTowerClient(config);
40
+ * const input = { // UpdateEnabledControlInput
41
+ * parameters: [ // EnabledControlParameters // required
42
+ * { // EnabledControlParameter
43
+ * key: "STRING_VALUE", // required
44
+ * value: "DOCUMENT_VALUE", // required
45
+ * },
46
+ * ],
47
+ * enabledControlIdentifier: "STRING_VALUE", // required
48
+ * };
49
+ * const command = new UpdateEnabledControlCommand(input);
50
+ * const response = await client.send(command);
51
+ * // { // UpdateEnabledControlOutput
52
+ * // operationIdentifier: "STRING_VALUE", // required
53
+ * // };
54
+ *
55
+ * ```
56
+ *
57
+ * @param UpdateEnabledControlCommandInput - {@link UpdateEnabledControlCommandInput}
58
+ * @returns {@link UpdateEnabledControlCommandOutput}
59
+ * @see {@link UpdateEnabledControlCommandInput} for command's `input` shape.
60
+ * @see {@link UpdateEnabledControlCommandOutput} for command's `response` shape.
61
+ * @see {@link ControlTowerClientResolvedConfig | config} for ControlTowerClient's `config` shape.
62
+ *
63
+ * @throws {@link AccessDeniedException} (client fault)
64
+ * <p>You do not have sufficient access to perform this action.</p>
65
+ *
66
+ * @throws {@link ConflictException} (client fault)
67
+ * <p>Updating or deleting the resource can cause an inconsistent state.</p>
68
+ *
69
+ * @throws {@link InternalServerException} (server fault)
70
+ * <p>An unexpected error occurred during processing of a request.</p>
71
+ *
72
+ * @throws {@link ResourceNotFoundException} (client fault)
73
+ * <p>The request references a resource that does not exist.</p>
74
+ *
75
+ * @throws {@link ServiceQuotaExceededException} (client fault)
76
+ * <p>The request would cause a service quota to be exceeded. The limit is 10 concurrent operations.</p>
77
+ *
78
+ * @throws {@link ThrottlingException} (client fault)
79
+ * <p>The request was denied due to request throttling.</p>
80
+ *
81
+ * @throws {@link ValidationException} (client fault)
82
+ * <p>The input does not satisfy the constraints specified by an Amazon Web Services service.</p>
83
+ *
84
+ * @throws {@link ControlTowerServiceException}
85
+ * <p>Base exception class for all service exceptions from ControlTower service.</p>
86
+ *
87
+ */
88
+ export declare class UpdateEnabledControlCommand extends $Command<UpdateEnabledControlCommandInput, UpdateEnabledControlCommandOutput, ControlTowerClientResolvedConfig> {
89
+ readonly input: UpdateEnabledControlCommandInput;
90
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
91
+ /**
92
+ * @public
93
+ */
94
+ constructor(input: UpdateEnabledControlCommandInput);
95
+ /**
96
+ * @internal
97
+ */
98
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ControlTowerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateEnabledControlCommandInput, UpdateEnabledControlCommandOutput>;
99
+ /**
100
+ * @internal
101
+ */
102
+ private serialize;
103
+ /**
104
+ * @internal
105
+ */
106
+ private deserialize;
107
+ }
@@ -0,0 +1,95 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { ControlTowerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ControlTowerClient";
5
+ import { UpdateLandingZoneInput, UpdateLandingZoneOutput } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateLandingZoneCommand}.
14
+ */
15
+ export interface UpdateLandingZoneCommandInput extends UpdateLandingZoneInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateLandingZoneCommand}.
21
+ */
22
+ export interface UpdateLandingZoneCommandOutput extends UpdateLandingZoneOutput, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>This API call updates the landing zone. It starts an asynchronous operation that updates the
27
+ * landing zone based on the new landing zone version, or on the changed parameters specified in the
28
+ * updated manifest file. </p>
29
+ * @example
30
+ * Use a bare-bones client and the command you need to make an API call.
31
+ * ```javascript
32
+ * import { ControlTowerClient, UpdateLandingZoneCommand } from "@aws-sdk/client-controltower"; // ES Modules import
33
+ * // const { ControlTowerClient, UpdateLandingZoneCommand } = require("@aws-sdk/client-controltower"); // CommonJS import
34
+ * const client = new ControlTowerClient(config);
35
+ * const input = { // UpdateLandingZoneInput
36
+ * version: "STRING_VALUE", // required
37
+ * manifest: "DOCUMENT_VALUE", // required
38
+ * landingZoneIdentifier: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new UpdateLandingZoneCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // UpdateLandingZoneOutput
43
+ * // operationIdentifier: "STRING_VALUE", // required
44
+ * // };
45
+ *
46
+ * ```
47
+ *
48
+ * @param UpdateLandingZoneCommandInput - {@link UpdateLandingZoneCommandInput}
49
+ * @returns {@link UpdateLandingZoneCommandOutput}
50
+ * @see {@link UpdateLandingZoneCommandInput} for command's `input` shape.
51
+ * @see {@link UpdateLandingZoneCommandOutput} for command's `response` shape.
52
+ * @see {@link ControlTowerClientResolvedConfig | config} for ControlTowerClient's `config` shape.
53
+ *
54
+ * @throws {@link AccessDeniedException} (client fault)
55
+ * <p>You do not have sufficient access to perform this action.</p>
56
+ *
57
+ * @throws {@link ConflictException} (client fault)
58
+ * <p>Updating or deleting the resource can cause an inconsistent state.</p>
59
+ *
60
+ * @throws {@link InternalServerException} (server fault)
61
+ * <p>An unexpected error occurred during processing of a request.</p>
62
+ *
63
+ * @throws {@link ResourceNotFoundException} (client fault)
64
+ * <p>The request references a resource that does not exist.</p>
65
+ *
66
+ * @throws {@link ThrottlingException} (client fault)
67
+ * <p>The request was denied due to request throttling.</p>
68
+ *
69
+ * @throws {@link ValidationException} (client fault)
70
+ * <p>The input does not satisfy the constraints specified by an Amazon Web Services service.</p>
71
+ *
72
+ * @throws {@link ControlTowerServiceException}
73
+ * <p>Base exception class for all service exceptions from ControlTower service.</p>
74
+ *
75
+ */
76
+ export declare class UpdateLandingZoneCommand extends $Command<UpdateLandingZoneCommandInput, UpdateLandingZoneCommandOutput, ControlTowerClientResolvedConfig> {
77
+ readonly input: UpdateLandingZoneCommandInput;
78
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
79
+ /**
80
+ * @public
81
+ */
82
+ constructor(input: UpdateLandingZoneCommandInput);
83
+ /**
84
+ * @internal
85
+ */
86
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ControlTowerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateLandingZoneCommandInput, UpdateLandingZoneCommandOutput>;
87
+ /**
88
+ * @internal
89
+ */
90
+ private serialize;
91
+ /**
92
+ * @internal
93
+ */
94
+ private deserialize;
95
+ }
@@ -1,8 +1,16 @@
1
+ export * from "./CreateLandingZoneCommand";
2
+ export * from "./DeleteLandingZoneCommand";
1
3
  export * from "./DisableControlCommand";
2
4
  export * from "./EnableControlCommand";
3
5
  export * from "./GetControlOperationCommand";
4
6
  export * from "./GetEnabledControlCommand";
7
+ export * from "./GetLandingZoneCommand";
8
+ export * from "./GetLandingZoneOperationCommand";
5
9
  export * from "./ListEnabledControlsCommand";
10
+ export * from "./ListLandingZonesCommand";
6
11
  export * from "./ListTagsForResourceCommand";
12
+ export * from "./ResetLandingZoneCommand";
7
13
  export * from "./TagResourceCommand";
8
14
  export * from "./UntagResourceCommand";
15
+ export * from "./UpdateEnabledControlCommand";
16
+ export * from "./UpdateLandingZoneCommand";
@@ -1,6 +1,6 @@
1
1
  /**
2
- * <p>These interfaces allow you to apply the AWS library of pre-defined
3
- * <i>controls</i> to your organizational units, programmatically. In AWS Control Tower, the terms "control" and "guardrail" are synonyms.</p>
2
+ * <p>These interfaces allow you to apply the Amazon Web Services library of pre-defined
3
+ * <i>controls</i> to your organizational units, programmatically. In Amazon Web Services Control Tower, the terms "control" and "guardrail" are synonyms.</p>
4
4
  * <p>To call these APIs, you'll need to know:</p>
5
5
  * <ul>
6
6
  * <li>
@@ -14,18 +14,18 @@
14
14
  * </li>
15
15
  * </ul>
16
16
  * <p>
17
- * <b>To get the <code>controlIdentifier</code> for your AWS Control Tower
17
+ * <b>To get the <code>controlIdentifier</code> for your Amazon Web Services Control Tower
18
18
  * control:</b>
19
19
  * </p>
20
20
  * <p>The <code>controlIdentifier</code> is an ARN that is specified for each
21
21
  * control. You can view the <code>controlIdentifier</code> in the console on the <b>Control details</b> page, as well as in the documentation.</p>
22
- * <p>The <code>controlIdentifier</code> is unique in each AWS Region for each control. You can
23
- * find the <code>controlIdentifier</code> for each Region and control in the <a href="https://docs.aws.amazon.com/controltower/latest/userguide/control-metadata-tables.html">Tables of control metadata</a> in the <i>AWS Control Tower User Guide.</i>
22
+ * <p>The <code>controlIdentifier</code> is unique in each Amazon Web Services Region for each control. You can
23
+ * find the <code>controlIdentifier</code> for each Region and control in the <a href="https://docs.aws.amazon.com/controltower/latest/userguide/control-metadata-tables.html">Tables of control metadata</a> in the <i>Amazon Web Services Control Tower User Guide.</i>
24
24
  * </p>
25
- * <p>A quick-reference list of control identifers for the AWS Control Tower legacy <i>Strongly recommended</i> and
25
+ * <p>A quick-reference list of control identifers for the Amazon Web Services Control Tower legacy <i>Strongly recommended</i> and
26
26
  * <i>Elective</i> controls is given in <a href="https://docs.aws.amazon.com/controltower/latest/userguide/control-identifiers.html.html">Resource identifiers for
27
27
  * APIs and controls</a> in the <a href="https://docs.aws.amazon.com/controltower/latest/userguide/control-identifiers.html">Controls reference guide section</a>
28
- * of the <i>AWS Control Tower User Guide</i>. Remember that <i>Mandatory</i> controls
28
+ * of the <i>Amazon Web Services Control Tower User Guide</i>. Remember that <i>Mandatory</i> controls
29
29
  * cannot be added or removed.</p>
30
30
  * <note>
31
31
  * <p>
@@ -43,7 +43,7 @@
43
43
  * <b>To get the <code>targetIdentifier</code>:</b>
44
44
  * </p>
45
45
  * <p>The <code>targetIdentifier</code> is the ARN for an OU.</p>
46
- * <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>
46
+ * <p>In the Amazon Web Services Organizations console, you can find the ARN for the OU on the <b>Organizational unit details</b> page associated with that OU.</p>
47
47
  * <note>
48
48
  * <p>
49
49
  * <b>OU ARN format:</b>
@@ -88,7 +88,7 @@
88
88
  * </li>
89
89
  * <li>
90
90
  * <p>
91
- * <a href="https://docs.aws.amazon.com/controltower/latest/userguide/creating-resources-with-cloudformation.html">Creating AWS Control Tower resources with AWS CloudFormation</a>
91
+ * <a href="https://docs.aws.amazon.com/controltower/latest/userguide/creating-resources-with-cloudformation.html">Creating Amazon Web Services Control Tower resources with Amazon Web Services CloudFormation</a>
92
92
  * </p>
93
93
  * </li>
94
94
  * </ul>
@@ -97,13 +97,13 @@
97
97
  * <p>
98
98
  * <b>Recording API Requests</b>
99
99
  * </p>
100
- * <p>AWS Control Tower supports AWS CloudTrail, a service that records AWS API calls for your
101
- * AWS account and delivers log files to an Amazon S3 bucket. By using information collected by
102
- * CloudTrail, you can determine which requests the AWS Control Tower service received, who made
103
- * the request and when, and so on. For more about AWS Control Tower and its support for
104
- * CloudTrail, see <a href="https://docs.aws.amazon.com/controltower/latest/userguide/logging-using-cloudtrail.html">Logging AWS Control Tower
105
- * Actions with AWS CloudTrail</a> in the AWS Control Tower User Guide. To learn more about
106
- * CloudTrail, including how to turn it on and find your log files, see the AWS CloudTrail User
100
+ * <p>Amazon Web Services Control Tower supports Amazon Web Services CloudTrail, a service that records Amazon Web Services API calls for your
101
+ * Amazon Web Services account and delivers log files to an Amazon S3 bucket. By using information collected by
102
+ * CloudTrail, you can determine which requests the Amazon Web Services Control Tower service received, who made
103
+ * the request and when, and so on. For more about Amazon Web Services Control Tower and its support for
104
+ * CloudTrail, see <a href="https://docs.aws.amazon.com/controltower/latest/userguide/logging-using-cloudtrail.html">Logging Amazon Web Services Control Tower
105
+ * Actions with Amazon Web Services CloudTrail</a> in the Amazon Web Services Control Tower User Guide. To learn more about
106
+ * CloudTrail, including how to turn it on and find your log files, see the Amazon Web Services CloudTrail User
107
107
  * Guide.</p>
108
108
  *
109
109
  * @packageDocumentation