@aws-sdk/client-controltower 3.513.0 → 3.515.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 (81) hide show
  1. package/README.md +81 -9
  2. package/dist-cjs/commands/DisableBaselineCommand.js +1 -0
  3. package/dist-cjs/commands/EnableBaselineCommand.js +1 -0
  4. package/dist-cjs/commands/GetBaselineCommand.js +1 -0
  5. package/dist-cjs/commands/GetBaselineOperationCommand.js +1 -0
  6. package/dist-cjs/commands/GetEnabledBaselineCommand.js +1 -0
  7. package/dist-cjs/commands/ListBaselinesCommand.js +1 -0
  8. package/dist-cjs/commands/ListEnabledBaselinesCommand.js +1 -0
  9. package/dist-cjs/commands/ResetEnabledBaselineCommand.js +1 -0
  10. package/dist-cjs/commands/UpdateEnabledBaselineCommand.js +1 -0
  11. package/dist-cjs/index.js +573 -42
  12. package/dist-cjs/pagination/ListBaselinesPaginator.js +1 -0
  13. package/dist-cjs/pagination/ListEnabledBaselinesPaginator.js +1 -0
  14. package/dist-es/ControlTower.js +18 -0
  15. package/dist-es/commands/DisableBaselineCommand.js +24 -0
  16. package/dist-es/commands/EnableBaselineCommand.js +24 -0
  17. package/dist-es/commands/GetBaselineCommand.js +24 -0
  18. package/dist-es/commands/GetBaselineOperationCommand.js +24 -0
  19. package/dist-es/commands/GetEnabledBaselineCommand.js +24 -0
  20. package/dist-es/commands/ListBaselinesCommand.js +24 -0
  21. package/dist-es/commands/ListEnabledBaselinesCommand.js +24 -0
  22. package/dist-es/commands/ResetEnabledBaselineCommand.js +24 -0
  23. package/dist-es/commands/UpdateEnabledBaselineCommand.js +24 -0
  24. package/dist-es/commands/index.js +9 -0
  25. package/dist-es/models/models_0.js +40 -29
  26. package/dist-es/pagination/ListBaselinesPaginator.js +4 -0
  27. package/dist-es/pagination/ListEnabledBaselinesPaginator.js +4 -0
  28. package/dist-es/pagination/index.js +2 -0
  29. package/dist-es/protocols/Aws_restJson1.js +310 -0
  30. package/dist-types/ControlTower.d.ts +65 -2
  31. package/dist-types/ControlTowerClient.d.ts +13 -4
  32. package/dist-types/commands/CreateLandingZoneCommand.d.ts +1 -1
  33. package/dist-types/commands/DeleteLandingZoneCommand.d.ts +1 -1
  34. package/dist-types/commands/DisableBaselineCommand.d.ts +79 -0
  35. package/dist-types/commands/DisableControlCommand.d.ts +2 -2
  36. package/dist-types/commands/EnableBaselineCommand.d.ts +91 -0
  37. package/dist-types/commands/EnableControlCommand.d.ts +1 -1
  38. package/dist-types/commands/GetBaselineCommand.d.ts +75 -0
  39. package/dist-types/commands/GetBaselineOperationCommand.d.ts +80 -0
  40. package/dist-types/commands/GetControlOperationCommand.d.ts +1 -1
  41. package/dist-types/commands/GetEnabledBaselineCommand.d.ts +88 -0
  42. package/dist-types/commands/GetEnabledControlCommand.d.ts +1 -1
  43. package/dist-types/commands/GetLandingZoneCommand.d.ts +1 -1
  44. package/dist-types/commands/GetLandingZoneOperationCommand.d.ts +1 -1
  45. package/dist-types/commands/ListBaselinesCommand.d.ts +78 -0
  46. package/dist-types/commands/ListEnabledBaselinesCommand.d.ts +91 -0
  47. package/dist-types/commands/ListEnabledControlsCommand.d.ts +1 -1
  48. package/dist-types/commands/ListLandingZonesCommand.d.ts +1 -1
  49. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  50. package/dist-types/commands/ResetEnabledBaselineCommand.d.ts +79 -0
  51. package/dist-types/commands/ResetLandingZoneCommand.d.ts +1 -1
  52. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  53. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  54. package/dist-types/commands/UpdateEnabledBaselineCommand.d.ts +86 -0
  55. package/dist-types/commands/UpdateEnabledControlCommand.d.ts +1 -1
  56. package/dist-types/commands/UpdateLandingZoneCommand.d.ts +1 -1
  57. package/dist-types/commands/index.d.ts +9 -0
  58. package/dist-types/index.d.ts +2 -2
  59. package/dist-types/models/models_0.d.ts +541 -94
  60. package/dist-types/pagination/ListBaselinesPaginator.d.ts +7 -0
  61. package/dist-types/pagination/ListEnabledBaselinesPaginator.d.ts +7 -0
  62. package/dist-types/pagination/index.d.ts +2 -0
  63. package/dist-types/protocols/Aws_restJson1.d.ts +81 -0
  64. package/dist-types/ts3.4/ControlTower.d.ts +153 -0
  65. package/dist-types/ts3.4/ControlTowerClient.d.ts +54 -0
  66. package/dist-types/ts3.4/commands/DisableBaselineCommand.d.ts +29 -0
  67. package/dist-types/ts3.4/commands/EnableBaselineCommand.d.ts +26 -0
  68. package/dist-types/ts3.4/commands/GetBaselineCommand.d.ts +26 -0
  69. package/dist-types/ts3.4/commands/GetBaselineOperationCommand.d.ts +30 -0
  70. package/dist-types/ts3.4/commands/GetEnabledBaselineCommand.d.ts +30 -0
  71. package/dist-types/ts3.4/commands/ListBaselinesCommand.d.ts +26 -0
  72. package/dist-types/ts3.4/commands/ListEnabledBaselinesCommand.d.ts +30 -0
  73. package/dist-types/ts3.4/commands/ResetEnabledBaselineCommand.d.ts +30 -0
  74. package/dist-types/ts3.4/commands/UpdateEnabledBaselineCommand.d.ts +30 -0
  75. package/dist-types/ts3.4/commands/index.d.ts +9 -0
  76. package/dist-types/ts3.4/models/models_0.d.ts +151 -28
  77. package/dist-types/ts3.4/pagination/ListBaselinesPaginator.d.ts +11 -0
  78. package/dist-types/ts3.4/pagination/ListEnabledBaselinesPaginator.d.ts +11 -0
  79. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  80. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +108 -0
  81. package/package.json +12 -12
@@ -82,7 +82,7 @@ declare const ListEnabledControlsCommand_base: {
82
82
  * <p>The request was denied due to request throttling.</p>
83
83
  *
84
84
  * @throws {@link ValidationException} (client fault)
85
- * <p>The input does not satisfy the constraints specified by an Amazon Web Services service.</p>
85
+ * <p>The input does not satisfy the constraints specified by an Amazon Web Services service.</p>
86
86
  *
87
87
  * @throws {@link ControlTowerServiceException}
88
88
  * <p>Base exception class for all service exceptions from ControlTower service.</p>
@@ -68,7 +68,7 @@ declare const ListLandingZonesCommand_base: {
68
68
  * <p>The request was denied due to request throttling.</p>
69
69
  *
70
70
  * @throws {@link ValidationException} (client fault)
71
- * <p>The input does not satisfy the constraints specified by an Amazon Web Services service.</p>
71
+ * <p>The input does not satisfy the constraints specified by an Amazon Web Services service.</p>
72
72
  *
73
73
  * @throws {@link ControlTowerServiceException}
74
74
  * <p>Base exception class for all service exceptions from ControlTower service.</p>
@@ -61,7 +61,7 @@ declare const ListTagsForResourceCommand_base: {
61
61
  * <p>The request references a resource that does not exist.</p>
62
62
  *
63
63
  * @throws {@link ValidationException} (client fault)
64
- * <p>The input does not satisfy the constraints specified by an Amazon Web Services service.</p>
64
+ * <p>The input does not satisfy the constraints specified by an Amazon Web Services service.</p>
65
65
  *
66
66
  * @throws {@link ControlTowerServiceException}
67
67
  * <p>Base exception class for all service exceptions from ControlTower service.</p>
@@ -0,0 +1,79 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ControlTowerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ControlTowerClient";
4
+ import { ResetEnabledBaselineInput, ResetEnabledBaselineOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export { __MetadataBearer, $Command };
9
+ /**
10
+ * @public
11
+ *
12
+ * The input for {@link ResetEnabledBaselineCommand}.
13
+ */
14
+ export interface ResetEnabledBaselineCommandInput extends ResetEnabledBaselineInput {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link ResetEnabledBaselineCommand}.
20
+ */
21
+ export interface ResetEnabledBaselineCommandOutput extends ResetEnabledBaselineOutput, __MetadataBearer {
22
+ }
23
+ declare const ResetEnabledBaselineCommand_base: {
24
+ new (input: ResetEnabledBaselineCommandInput): import("@smithy/smithy-client").CommandImpl<ResetEnabledBaselineCommandInput, ResetEnabledBaselineCommandOutput, ControlTowerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
27
+ /**
28
+ * @public
29
+ * <p>Re-enables an <code>EnabledBaseline</code> resource. For example, this API can re-apply the existing <code>Baseline</code> after a new member account is moved to the target OU.</p>
30
+ * @example
31
+ * Use a bare-bones client and the command you need to make an API call.
32
+ * ```javascript
33
+ * import { ControlTowerClient, ResetEnabledBaselineCommand } from "@aws-sdk/client-controltower"; // ES Modules import
34
+ * // const { ControlTowerClient, ResetEnabledBaselineCommand } = require("@aws-sdk/client-controltower"); // CommonJS import
35
+ * const client = new ControlTowerClient(config);
36
+ * const input = { // ResetEnabledBaselineInput
37
+ * enabledBaselineIdentifier: "STRING_VALUE", // required
38
+ * };
39
+ * const command = new ResetEnabledBaselineCommand(input);
40
+ * const response = await client.send(command);
41
+ * // { // ResetEnabledBaselineOutput
42
+ * // operationIdentifier: "STRING_VALUE", // required
43
+ * // };
44
+ *
45
+ * ```
46
+ *
47
+ * @param ResetEnabledBaselineCommandInput - {@link ResetEnabledBaselineCommandInput}
48
+ * @returns {@link ResetEnabledBaselineCommandOutput}
49
+ * @see {@link ResetEnabledBaselineCommandInput} for command's `input` shape.
50
+ * @see {@link ResetEnabledBaselineCommandOutput} for command's `response` shape.
51
+ * @see {@link ControlTowerClientResolvedConfig | config} for ControlTowerClient's `config` shape.
52
+ *
53
+ * @throws {@link AccessDeniedException} (client fault)
54
+ * <p>You do not have sufficient access to perform this action.</p>
55
+ *
56
+ * @throws {@link ConflictException} (client fault)
57
+ * <p>Updating or deleting the resource can cause an inconsistent state.</p>
58
+ *
59
+ * @throws {@link InternalServerException} (server fault)
60
+ * <p>An unexpected error occurred during processing of a request.</p>
61
+ *
62
+ * @throws {@link ResourceNotFoundException} (client fault)
63
+ * <p>The request references a resource that does not exist.</p>
64
+ *
65
+ * @throws {@link ServiceQuotaExceededException} (client fault)
66
+ * <p>The request would cause a service quota to be exceeded. The limit is 10 concurrent operations.</p>
67
+ *
68
+ * @throws {@link ThrottlingException} (client fault)
69
+ * <p>The request was denied due to request throttling.</p>
70
+ *
71
+ * @throws {@link ValidationException} (client fault)
72
+ * <p>The input does not satisfy the constraints specified by an Amazon Web Services service.</p>
73
+ *
74
+ * @throws {@link ControlTowerServiceException}
75
+ * <p>Base exception class for all service exceptions from ControlTower service.</p>
76
+ *
77
+ */
78
+ export declare class ResetEnabledBaselineCommand extends ResetEnabledBaselineCommand_base {
79
+ }
@@ -67,7 +67,7 @@ declare const ResetLandingZoneCommand_base: {
67
67
  * <p>The request was denied due to request throttling.</p>
68
68
  *
69
69
  * @throws {@link ValidationException} (client fault)
70
- * <p>The input does not satisfy the constraints specified by an Amazon Web Services service.</p>
70
+ * <p>The input does not satisfy the constraints specified by an Amazon Web Services service.</p>
71
71
  *
72
72
  * @throws {@link ControlTowerServiceException}
73
73
  * <p>Base exception class for all service exceptions from ControlTower service.</p>
@@ -60,7 +60,7 @@ declare const TagResourceCommand_base: {
60
60
  * <p>The request references a resource that does not exist.</p>
61
61
  *
62
62
  * @throws {@link ValidationException} (client fault)
63
- * <p>The input does not satisfy the constraints specified by an Amazon Web Services service.</p>
63
+ * <p>The input does not satisfy the constraints specified by an Amazon Web Services service.</p>
64
64
  *
65
65
  * @throws {@link ControlTowerServiceException}
66
66
  * <p>Base exception class for all service exceptions from ControlTower service.</p>
@@ -60,7 +60,7 @@ declare const UntagResourceCommand_base: {
60
60
  * <p>The request references a resource that does not exist.</p>
61
61
  *
62
62
  * @throws {@link ValidationException} (client fault)
63
- * <p>The input does not satisfy the constraints specified by an Amazon Web Services service.</p>
63
+ * <p>The input does not satisfy the constraints specified by an Amazon Web Services service.</p>
64
64
  *
65
65
  * @throws {@link ControlTowerServiceException}
66
66
  * <p>Base exception class for all service exceptions from ControlTower service.</p>
@@ -0,0 +1,86 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ControlTowerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ControlTowerClient";
4
+ import { UpdateEnabledBaselineInput, UpdateEnabledBaselineOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export { __MetadataBearer, $Command };
9
+ /**
10
+ * @public
11
+ *
12
+ * The input for {@link UpdateEnabledBaselineCommand}.
13
+ */
14
+ export interface UpdateEnabledBaselineCommandInput extends UpdateEnabledBaselineInput {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link UpdateEnabledBaselineCommand}.
20
+ */
21
+ export interface UpdateEnabledBaselineCommandOutput extends UpdateEnabledBaselineOutput, __MetadataBearer {
22
+ }
23
+ declare const UpdateEnabledBaselineCommand_base: {
24
+ new (input: UpdateEnabledBaselineCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateEnabledBaselineCommandInput, UpdateEnabledBaselineCommandOutput, ControlTowerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
27
+ /**
28
+ * @public
29
+ * <p>Updates an <code>EnabledBaseline</code> resource's applied parameters or version.</p>
30
+ * @example
31
+ * Use a bare-bones client and the command you need to make an API call.
32
+ * ```javascript
33
+ * import { ControlTowerClient, UpdateEnabledBaselineCommand } from "@aws-sdk/client-controltower"; // ES Modules import
34
+ * // const { ControlTowerClient, UpdateEnabledBaselineCommand } = require("@aws-sdk/client-controltower"); // CommonJS import
35
+ * const client = new ControlTowerClient(config);
36
+ * const input = { // UpdateEnabledBaselineInput
37
+ * baselineVersion: "STRING_VALUE", // required
38
+ * parameters: [ // EnabledBaselineParameters
39
+ * { // EnabledBaselineParameter
40
+ * key: "STRING_VALUE", // required
41
+ * value: "DOCUMENT_VALUE", // required
42
+ * },
43
+ * ],
44
+ * enabledBaselineIdentifier: "STRING_VALUE", // required
45
+ * };
46
+ * const command = new UpdateEnabledBaselineCommand(input);
47
+ * const response = await client.send(command);
48
+ * // { // UpdateEnabledBaselineOutput
49
+ * // operationIdentifier: "STRING_VALUE", // required
50
+ * // };
51
+ *
52
+ * ```
53
+ *
54
+ * @param UpdateEnabledBaselineCommandInput - {@link UpdateEnabledBaselineCommandInput}
55
+ * @returns {@link UpdateEnabledBaselineCommandOutput}
56
+ * @see {@link UpdateEnabledBaselineCommandInput} for command's `input` shape.
57
+ * @see {@link UpdateEnabledBaselineCommandOutput} for command's `response` shape.
58
+ * @see {@link ControlTowerClientResolvedConfig | config} for ControlTowerClient's `config` shape.
59
+ *
60
+ * @throws {@link AccessDeniedException} (client fault)
61
+ * <p>You do not have sufficient access to perform this action.</p>
62
+ *
63
+ * @throws {@link ConflictException} (client fault)
64
+ * <p>Updating or deleting the resource can cause an inconsistent state.</p>
65
+ *
66
+ * @throws {@link InternalServerException} (server fault)
67
+ * <p>An unexpected error occurred during processing of a request.</p>
68
+ *
69
+ * @throws {@link ResourceNotFoundException} (client fault)
70
+ * <p>The request references a resource that does not exist.</p>
71
+ *
72
+ * @throws {@link ServiceQuotaExceededException} (client fault)
73
+ * <p>The request would cause a service quota to be exceeded. The limit is 10 concurrent operations.</p>
74
+ *
75
+ * @throws {@link ThrottlingException} (client fault)
76
+ * <p>The request was denied due to request throttling.</p>
77
+ *
78
+ * @throws {@link ValidationException} (client fault)
79
+ * <p>The input does not satisfy the constraints specified by an Amazon Web Services service.</p>
80
+ *
81
+ * @throws {@link ControlTowerServiceException}
82
+ * <p>Base exception class for all service exceptions from ControlTower service.</p>
83
+ *
84
+ */
85
+ export declare class UpdateEnabledBaselineCommand extends UpdateEnabledBaselineCommand_base {
86
+ }
@@ -82,7 +82,7 @@ declare const UpdateEnabledControlCommand_base: {
82
82
  * <p>The request was denied due to request throttling.</p>
83
83
  *
84
84
  * @throws {@link ValidationException} (client fault)
85
- * <p>The input does not satisfy the constraints specified by an Amazon Web Services service.</p>
85
+ * <p>The input does not satisfy the constraints specified by an Amazon Web Services service.</p>
86
86
  *
87
87
  * @throws {@link ControlTowerServiceException}
88
88
  * <p>Base exception class for all service exceptions from ControlTower service.</p>
@@ -70,7 +70,7 @@ declare const UpdateLandingZoneCommand_base: {
70
70
  * <p>The request was denied due to request throttling.</p>
71
71
  *
72
72
  * @throws {@link ValidationException} (client fault)
73
- * <p>The input does not satisfy the constraints specified by an Amazon Web Services service.</p>
73
+ * <p>The input does not satisfy the constraints specified by an Amazon Web Services service.</p>
74
74
  *
75
75
  * @throws {@link ControlTowerServiceException}
76
76
  * <p>Base exception class for all service exceptions from ControlTower service.</p>
@@ -1,16 +1,25 @@
1
1
  export * from "./CreateLandingZoneCommand";
2
2
  export * from "./DeleteLandingZoneCommand";
3
+ export * from "./DisableBaselineCommand";
3
4
  export * from "./DisableControlCommand";
5
+ export * from "./EnableBaselineCommand";
4
6
  export * from "./EnableControlCommand";
7
+ export * from "./GetBaselineCommand";
8
+ export * from "./GetBaselineOperationCommand";
5
9
  export * from "./GetControlOperationCommand";
10
+ export * from "./GetEnabledBaselineCommand";
6
11
  export * from "./GetEnabledControlCommand";
7
12
  export * from "./GetLandingZoneCommand";
8
13
  export * from "./GetLandingZoneOperationCommand";
14
+ export * from "./ListBaselinesCommand";
15
+ export * from "./ListEnabledBaselinesCommand";
9
16
  export * from "./ListEnabledControlsCommand";
10
17
  export * from "./ListLandingZonesCommand";
11
18
  export * from "./ListTagsForResourceCommand";
19
+ export * from "./ResetEnabledBaselineCommand";
12
20
  export * from "./ResetLandingZoneCommand";
13
21
  export * from "./TagResourceCommand";
14
22
  export * from "./UntagResourceCommand";
23
+ export * from "./UpdateEnabledBaselineCommand";
15
24
  export * from "./UpdateEnabledControlCommand";
16
25
  export * from "./UpdateLandingZoneCommand";
@@ -1,6 +1,6 @@
1
1
  /**
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>
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>