@aws-sdk/client-controltower 3.513.0 → 3.514.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 +2 -2
@@ -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 { DisableBaselineInput, DisableBaselineOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export { __MetadataBearer, $Command };
9
+ /**
10
+ * @public
11
+ *
12
+ * The input for {@link DisableBaselineCommand}.
13
+ */
14
+ export interface DisableBaselineCommandInput extends DisableBaselineInput {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link DisableBaselineCommand}.
20
+ */
21
+ export interface DisableBaselineCommandOutput extends DisableBaselineOutput, __MetadataBearer {
22
+ }
23
+ declare const DisableBaselineCommand_base: {
24
+ new (input: DisableBaselineCommandInput): import("@smithy/smithy-client").CommandImpl<DisableBaselineCommandInput, DisableBaselineCommandOutput, ControlTowerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
27
+ /**
28
+ * @public
29
+ * <p>Disable an <code>EnabledBaseline</code> resource on the specified Target. This API starts an asynchronous operation to remove all resources deployed as part of the baseline enablement. The resource will vary depending on the enabled baseline.</p>
30
+ * @example
31
+ * Use a bare-bones client and the command you need to make an API call.
32
+ * ```javascript
33
+ * import { ControlTowerClient, DisableBaselineCommand } from "@aws-sdk/client-controltower"; // ES Modules import
34
+ * // const { ControlTowerClient, DisableBaselineCommand } = require("@aws-sdk/client-controltower"); // CommonJS import
35
+ * const client = new ControlTowerClient(config);
36
+ * const input = { // DisableBaselineInput
37
+ * enabledBaselineIdentifier: "STRING_VALUE", // required
38
+ * };
39
+ * const command = new DisableBaselineCommand(input);
40
+ * const response = await client.send(command);
41
+ * // { // DisableBaselineOutput
42
+ * // operationIdentifier: "STRING_VALUE", // required
43
+ * // };
44
+ *
45
+ * ```
46
+ *
47
+ * @param DisableBaselineCommandInput - {@link DisableBaselineCommandInput}
48
+ * @returns {@link DisableBaselineCommandOutput}
49
+ * @see {@link DisableBaselineCommandInput} for command's `input` shape.
50
+ * @see {@link DisableBaselineCommandOutput} 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 DisableBaselineCommand extends DisableBaselineCommand_base {
79
+ }
@@ -26,7 +26,7 @@ declare const DisableControlCommand_base: {
26
26
  };
27
27
  /**
28
28
  * @public
29
- * <p>This API call turns off a control. It starts an asynchronous operation that deletes Amazon Web Services
29
+ * <p>This API call turns off a control. It starts an asynchronous operation that deletes AWS
30
30
  * resources on the specified organizational unit and the accounts it contains. The resources
31
31
  * will vary according to the control that you specify. For usage examples, see <a href="https://docs.aws.amazon.com/controltower/latest/userguide/control-api-examples-short.html">
32
32
  * <i>the Amazon Web Services Control Tower User Guide</i>
@@ -74,7 +74,7 @@ declare const DisableControlCommand_base: {
74
74
  * <p>The request was denied due to request throttling.</p>
75
75
  *
76
76
  * @throws {@link ValidationException} (client fault)
77
- * <p>The input does not satisfy the constraints specified by an Amazon Web Services service.</p>
77
+ * <p>The input does not satisfy the constraints specified by an Amazon Web Services service.</p>
78
78
  *
79
79
  * @throws {@link ControlTowerServiceException}
80
80
  * <p>Base exception class for all service exceptions from ControlTower service.</p>
@@ -0,0 +1,91 @@
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 { EnableBaselineInput, EnableBaselineOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export { __MetadataBearer, $Command };
9
+ /**
10
+ * @public
11
+ *
12
+ * The input for {@link EnableBaselineCommand}.
13
+ */
14
+ export interface EnableBaselineCommandInput extends EnableBaselineInput {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link EnableBaselineCommand}.
20
+ */
21
+ export interface EnableBaselineCommandOutput extends EnableBaselineOutput, __MetadataBearer {
22
+ }
23
+ declare const EnableBaselineCommand_base: {
24
+ new (input: EnableBaselineCommandInput): import("@smithy/smithy-client").CommandImpl<EnableBaselineCommandInput, EnableBaselineCommandOutput, ControlTowerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
27
+ /**
28
+ * @public
29
+ * <p>Enable (apply) a <code>Baseline</code> to a Target. This API starts an asynchronous operation to deploy resources specified by the <code>Baseline</code> to the specified Target.</p>
30
+ * @example
31
+ * Use a bare-bones client and the command you need to make an API call.
32
+ * ```javascript
33
+ * import { ControlTowerClient, EnableBaselineCommand } from "@aws-sdk/client-controltower"; // ES Modules import
34
+ * // const { ControlTowerClient, EnableBaselineCommand } = require("@aws-sdk/client-controltower"); // CommonJS import
35
+ * const client = new ControlTowerClient(config);
36
+ * const input = { // EnableBaselineInput
37
+ * baselineVersion: "STRING_VALUE", // required
38
+ * parameters: [ // EnabledBaselineParameters
39
+ * { // EnabledBaselineParameter
40
+ * key: "STRING_VALUE", // required
41
+ * value: "DOCUMENT_VALUE", // required
42
+ * },
43
+ * ],
44
+ * baselineIdentifier: "STRING_VALUE", // required
45
+ * targetIdentifier: "STRING_VALUE", // required
46
+ * tags: { // TagMap
47
+ * "<keys>": "STRING_VALUE",
48
+ * },
49
+ * };
50
+ * const command = new EnableBaselineCommand(input);
51
+ * const response = await client.send(command);
52
+ * // { // EnableBaselineOutput
53
+ * // operationIdentifier: "STRING_VALUE", // required
54
+ * // arn: "STRING_VALUE", // required
55
+ * // };
56
+ *
57
+ * ```
58
+ *
59
+ * @param EnableBaselineCommandInput - {@link EnableBaselineCommandInput}
60
+ * @returns {@link EnableBaselineCommandOutput}
61
+ * @see {@link EnableBaselineCommandInput} for command's `input` shape.
62
+ * @see {@link EnableBaselineCommandOutput} for command's `response` shape.
63
+ * @see {@link ControlTowerClientResolvedConfig | config} for ControlTowerClient's `config` shape.
64
+ *
65
+ * @throws {@link AccessDeniedException} (client fault)
66
+ * <p>You do not have sufficient access to perform this action.</p>
67
+ *
68
+ * @throws {@link ConflictException} (client fault)
69
+ * <p>Updating or deleting the resource can cause an inconsistent state.</p>
70
+ *
71
+ * @throws {@link InternalServerException} (server fault)
72
+ * <p>An unexpected error occurred during processing of a request.</p>
73
+ *
74
+ * @throws {@link ResourceNotFoundException} (client fault)
75
+ * <p>The request references a resource that does not exist.</p>
76
+ *
77
+ * @throws {@link ServiceQuotaExceededException} (client fault)
78
+ * <p>The request would cause a service quota to be exceeded. The limit is 10 concurrent operations.</p>
79
+ *
80
+ * @throws {@link ThrottlingException} (client fault)
81
+ * <p>The request was denied due to request throttling.</p>
82
+ *
83
+ * @throws {@link ValidationException} (client fault)
84
+ * <p>The input does not satisfy the constraints specified by an Amazon Web Services service.</p>
85
+ *
86
+ * @throws {@link ControlTowerServiceException}
87
+ * <p>Base exception class for all service exceptions from ControlTower service.</p>
88
+ *
89
+ */
90
+ export declare class EnableBaselineCommand extends EnableBaselineCommand_base {
91
+ }
@@ -84,7 +84,7 @@ declare const EnableControlCommand_base: {
84
84
  * <p>The request was denied due to request throttling.</p>
85
85
  *
86
86
  * @throws {@link ValidationException} (client fault)
87
- * <p>The input does not satisfy the constraints specified by an Amazon Web Services service.</p>
87
+ * <p>The input does not satisfy the constraints specified by an Amazon Web Services service.</p>
88
88
  *
89
89
  * @throws {@link ControlTowerServiceException}
90
90
  * <p>Base exception class for all service exceptions from ControlTower service.</p>
@@ -0,0 +1,75 @@
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 { GetBaselineInput, GetBaselineOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export { __MetadataBearer, $Command };
9
+ /**
10
+ * @public
11
+ *
12
+ * The input for {@link GetBaselineCommand}.
13
+ */
14
+ export interface GetBaselineCommandInput extends GetBaselineInput {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link GetBaselineCommand}.
20
+ */
21
+ export interface GetBaselineCommandOutput extends GetBaselineOutput, __MetadataBearer {
22
+ }
23
+ declare const GetBaselineCommand_base: {
24
+ new (input: GetBaselineCommandInput): import("@smithy/smithy-client").CommandImpl<GetBaselineCommandInput, GetBaselineCommandOutput, ControlTowerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
27
+ /**
28
+ * @public
29
+ * <p>Retrieve details about an existing <code>Baseline</code> resource by specifying its identifier.</p>
30
+ * @example
31
+ * Use a bare-bones client and the command you need to make an API call.
32
+ * ```javascript
33
+ * import { ControlTowerClient, GetBaselineCommand } from "@aws-sdk/client-controltower"; // ES Modules import
34
+ * // const { ControlTowerClient, GetBaselineCommand } = require("@aws-sdk/client-controltower"); // CommonJS import
35
+ * const client = new ControlTowerClient(config);
36
+ * const input = { // GetBaselineInput
37
+ * baselineIdentifier: "STRING_VALUE", // required
38
+ * };
39
+ * const command = new GetBaselineCommand(input);
40
+ * const response = await client.send(command);
41
+ * // { // GetBaselineOutput
42
+ * // arn: "STRING_VALUE", // required
43
+ * // name: "STRING_VALUE", // required
44
+ * // description: "STRING_VALUE",
45
+ * // };
46
+ *
47
+ * ```
48
+ *
49
+ * @param GetBaselineCommandInput - {@link GetBaselineCommandInput}
50
+ * @returns {@link GetBaselineCommandOutput}
51
+ * @see {@link GetBaselineCommandInput} for command's `input` shape.
52
+ * @see {@link GetBaselineCommandOutput} for command's `response` shape.
53
+ * @see {@link ControlTowerClientResolvedConfig | config} for ControlTowerClient's `config` shape.
54
+ *
55
+ * @throws {@link AccessDeniedException} (client fault)
56
+ * <p>You do not have sufficient access to perform this action.</p>
57
+ *
58
+ * @throws {@link InternalServerException} (server fault)
59
+ * <p>An unexpected error occurred during processing of a request.</p>
60
+ *
61
+ * @throws {@link ResourceNotFoundException} (client fault)
62
+ * <p>The request references a resource that does not exist.</p>
63
+ *
64
+ * @throws {@link ThrottlingException} (client fault)
65
+ * <p>The request was denied due to request throttling.</p>
66
+ *
67
+ * @throws {@link ValidationException} (client fault)
68
+ * <p>The input does not satisfy the constraints specified by an Amazon Web Services service.</p>
69
+ *
70
+ * @throws {@link ControlTowerServiceException}
71
+ * <p>Base exception class for all service exceptions from ControlTower service.</p>
72
+ *
73
+ */
74
+ export declare class GetBaselineCommand extends GetBaselineCommand_base {
75
+ }
@@ -0,0 +1,80 @@
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 { GetBaselineOperationInput, GetBaselineOperationOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export { __MetadataBearer, $Command };
9
+ /**
10
+ * @public
11
+ *
12
+ * The input for {@link GetBaselineOperationCommand}.
13
+ */
14
+ export interface GetBaselineOperationCommandInput extends GetBaselineOperationInput {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link GetBaselineOperationCommand}.
20
+ */
21
+ export interface GetBaselineOperationCommandOutput extends GetBaselineOperationOutput, __MetadataBearer {
22
+ }
23
+ declare const GetBaselineOperationCommand_base: {
24
+ new (input: GetBaselineOperationCommandInput): import("@smithy/smithy-client").CommandImpl<GetBaselineOperationCommandInput, GetBaselineOperationCommandOutput, ControlTowerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
27
+ /**
28
+ * @public
29
+ * <p>Returns the details of an asynchronous baseline operation, as initiated by any of these APIs: <code>EnableBaseline</code>, <code>DisableBaseline</code>, <code>UpdateEnabledBaseline</code>, <code>ResetEnabledBaseline</code>. A status message is displayed in case of operation failure.</p>
30
+ * @example
31
+ * Use a bare-bones client and the command you need to make an API call.
32
+ * ```javascript
33
+ * import { ControlTowerClient, GetBaselineOperationCommand } from "@aws-sdk/client-controltower"; // ES Modules import
34
+ * // const { ControlTowerClient, GetBaselineOperationCommand } = require("@aws-sdk/client-controltower"); // CommonJS import
35
+ * const client = new ControlTowerClient(config);
36
+ * const input = { // GetBaselineOperationInput
37
+ * operationIdentifier: "STRING_VALUE", // required
38
+ * };
39
+ * const command = new GetBaselineOperationCommand(input);
40
+ * const response = await client.send(command);
41
+ * // { // GetBaselineOperationOutput
42
+ * // baselineOperation: { // BaselineOperation
43
+ * // operationIdentifier: "STRING_VALUE",
44
+ * // operationType: "ENABLE_BASELINE" || "DISABLE_BASELINE" || "UPDATE_ENABLED_BASELINE" || "RESET_ENABLED_BASELINE",
45
+ * // status: "SUCCEEDED" || "FAILED" || "IN_PROGRESS",
46
+ * // startTime: new Date("TIMESTAMP"),
47
+ * // endTime: new Date("TIMESTAMP"),
48
+ * // statusMessage: "STRING_VALUE",
49
+ * // },
50
+ * // };
51
+ *
52
+ * ```
53
+ *
54
+ * @param GetBaselineOperationCommandInput - {@link GetBaselineOperationCommandInput}
55
+ * @returns {@link GetBaselineOperationCommandOutput}
56
+ * @see {@link GetBaselineOperationCommandInput} for command's `input` shape.
57
+ * @see {@link GetBaselineOperationCommandOutput} 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 InternalServerException} (server fault)
64
+ * <p>An unexpected error occurred during processing of a request.</p>
65
+ *
66
+ * @throws {@link ResourceNotFoundException} (client fault)
67
+ * <p>The request references a resource that does not exist.</p>
68
+ *
69
+ * @throws {@link ThrottlingException} (client fault)
70
+ * <p>The request was denied due to request throttling.</p>
71
+ *
72
+ * @throws {@link ValidationException} (client fault)
73
+ * <p>The input does not satisfy the constraints specified by an Amazon Web Services service.</p>
74
+ *
75
+ * @throws {@link ControlTowerServiceException}
76
+ * <p>Base exception class for all service exceptions from ControlTower service.</p>
77
+ *
78
+ */
79
+ export declare class GetBaselineOperationCommand extends GetBaselineOperationCommand_base {
80
+ }
@@ -73,7 +73,7 @@ declare const GetControlOperationCommand_base: {
73
73
  * <p>The request was denied due to request throttling.</p>
74
74
  *
75
75
  * @throws {@link ValidationException} (client fault)
76
- * <p>The input does not satisfy the constraints specified by an Amazon Web Services service.</p>
76
+ * <p>The input does not satisfy the constraints specified by an Amazon Web Services service.</p>
77
77
  *
78
78
  * @throws {@link ControlTowerServiceException}
79
79
  * <p>Base exception class for all service exceptions from ControlTower service.</p>
@@ -0,0 +1,88 @@
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 { GetEnabledBaselineInput, GetEnabledBaselineOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export { __MetadataBearer, $Command };
9
+ /**
10
+ * @public
11
+ *
12
+ * The input for {@link GetEnabledBaselineCommand}.
13
+ */
14
+ export interface GetEnabledBaselineCommandInput extends GetEnabledBaselineInput {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link GetEnabledBaselineCommand}.
20
+ */
21
+ export interface GetEnabledBaselineCommandOutput extends GetEnabledBaselineOutput, __MetadataBearer {
22
+ }
23
+ declare const GetEnabledBaselineCommand_base: {
24
+ new (input: GetEnabledBaselineCommandInput): import("@smithy/smithy-client").CommandImpl<GetEnabledBaselineCommandInput, GetEnabledBaselineCommandOutput, ControlTowerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
27
+ /**
28
+ * @public
29
+ * <p>Retrieve details of an <code>EnabledBaseline</code> resource by specifying its identifier.</p>
30
+ * @example
31
+ * Use a bare-bones client and the command you need to make an API call.
32
+ * ```javascript
33
+ * import { ControlTowerClient, GetEnabledBaselineCommand } from "@aws-sdk/client-controltower"; // ES Modules import
34
+ * // const { ControlTowerClient, GetEnabledBaselineCommand } = require("@aws-sdk/client-controltower"); // CommonJS import
35
+ * const client = new ControlTowerClient(config);
36
+ * const input = { // GetEnabledBaselineInput
37
+ * enabledBaselineIdentifier: "STRING_VALUE", // required
38
+ * };
39
+ * const command = new GetEnabledBaselineCommand(input);
40
+ * const response = await client.send(command);
41
+ * // { // GetEnabledBaselineOutput
42
+ * // enabledBaselineDetails: { // EnabledBaselineDetails
43
+ * // arn: "STRING_VALUE", // required
44
+ * // baselineIdentifier: "STRING_VALUE", // required
45
+ * // baselineVersion: "STRING_VALUE",
46
+ * // targetIdentifier: "STRING_VALUE", // required
47
+ * // statusSummary: { // EnablementStatusSummary
48
+ * // status: "SUCCEEDED" || "FAILED" || "UNDER_CHANGE",
49
+ * // lastOperationIdentifier: "STRING_VALUE",
50
+ * // },
51
+ * // parameters: [ // EnabledBaselineParameterSummaries
52
+ * // { // EnabledBaselineParameterSummary
53
+ * // key: "STRING_VALUE", // required
54
+ * // value: "DOCUMENT_VALUE", // required
55
+ * // },
56
+ * // ],
57
+ * // },
58
+ * // };
59
+ *
60
+ * ```
61
+ *
62
+ * @param GetEnabledBaselineCommandInput - {@link GetEnabledBaselineCommandInput}
63
+ * @returns {@link GetEnabledBaselineCommandOutput}
64
+ * @see {@link GetEnabledBaselineCommandInput} for command's `input` shape.
65
+ * @see {@link GetEnabledBaselineCommandOutput} for command's `response` shape.
66
+ * @see {@link ControlTowerClientResolvedConfig | config} for ControlTowerClient's `config` shape.
67
+ *
68
+ * @throws {@link AccessDeniedException} (client fault)
69
+ * <p>You do not have sufficient access to perform this action.</p>
70
+ *
71
+ * @throws {@link InternalServerException} (server fault)
72
+ * <p>An unexpected error occurred during processing of a request.</p>
73
+ *
74
+ * @throws {@link ResourceNotFoundException} (client fault)
75
+ * <p>The request references a resource that does not exist.</p>
76
+ *
77
+ * @throws {@link ThrottlingException} (client fault)
78
+ * <p>The request was denied due to request throttling.</p>
79
+ *
80
+ * @throws {@link ValidationException} (client fault)
81
+ * <p>The input does not satisfy the constraints specified by an Amazon Web Services service.</p>
82
+ *
83
+ * @throws {@link ControlTowerServiceException}
84
+ * <p>Base exception class for all service exceptions from ControlTower service.</p>
85
+ *
86
+ */
87
+ export declare class GetEnabledBaselineCommand extends GetEnabledBaselineCommand_base {
88
+ }
@@ -87,7 +87,7 @@ declare const GetEnabledControlCommand_base: {
87
87
  * <p>The request was denied due to request throttling.</p>
88
88
  *
89
89
  * @throws {@link ValidationException} (client fault)
90
- * <p>The input does not satisfy the constraints specified by an Amazon Web Services service.</p>
90
+ * <p>The input does not satisfy the constraints specified by an Amazon Web Services service.</p>
91
91
  *
92
92
  * @throws {@link ControlTowerServiceException}
93
93
  * <p>Base exception class for all service exceptions from ControlTower service.</p>
@@ -72,7 +72,7 @@ declare const GetLandingZoneCommand_base: {
72
72
  * <p>The request was denied due to request throttling.</p>
73
73
  *
74
74
  * @throws {@link ValidationException} (client fault)
75
- * <p>The input does not satisfy the constraints specified by an Amazon Web Services service.</p>
75
+ * <p>The input does not satisfy the constraints specified by an Amazon Web Services service.</p>
76
76
  *
77
77
  * @throws {@link ControlTowerServiceException}
78
78
  * <p>Base exception class for all service exceptions from ControlTower service.</p>
@@ -70,7 +70,7 @@ declare const GetLandingZoneOperationCommand_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>
@@ -0,0 +1,78 @@
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 { ListBaselinesInput, ListBaselinesOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export { __MetadataBearer, $Command };
9
+ /**
10
+ * @public
11
+ *
12
+ * The input for {@link ListBaselinesCommand}.
13
+ */
14
+ export interface ListBaselinesCommandInput extends ListBaselinesInput {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link ListBaselinesCommand}.
20
+ */
21
+ export interface ListBaselinesCommandOutput extends ListBaselinesOutput, __MetadataBearer {
22
+ }
23
+ declare const ListBaselinesCommand_base: {
24
+ new (input: ListBaselinesCommandInput): import("@smithy/smithy-client").CommandImpl<ListBaselinesCommandInput, ListBaselinesCommandOutput, ControlTowerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
27
+ /**
28
+ * @public
29
+ * <p>Returns a summary list of all available baselines.</p>
30
+ * @example
31
+ * Use a bare-bones client and the command you need to make an API call.
32
+ * ```javascript
33
+ * import { ControlTowerClient, ListBaselinesCommand } from "@aws-sdk/client-controltower"; // ES Modules import
34
+ * // const { ControlTowerClient, ListBaselinesCommand } = require("@aws-sdk/client-controltower"); // CommonJS import
35
+ * const client = new ControlTowerClient(config);
36
+ * const input = { // ListBaselinesInput
37
+ * nextToken: "STRING_VALUE",
38
+ * maxResults: Number("int"),
39
+ * };
40
+ * const command = new ListBaselinesCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // ListBaselinesOutput
43
+ * // baselines: [ // Baselines // required
44
+ * // { // BaselineSummary
45
+ * // arn: "STRING_VALUE", // required
46
+ * // name: "STRING_VALUE", // required
47
+ * // description: "STRING_VALUE",
48
+ * // },
49
+ * // ],
50
+ * // nextToken: "STRING_VALUE",
51
+ * // };
52
+ *
53
+ * ```
54
+ *
55
+ * @param ListBaselinesCommandInput - {@link ListBaselinesCommandInput}
56
+ * @returns {@link ListBaselinesCommandOutput}
57
+ * @see {@link ListBaselinesCommandInput} for command's `input` shape.
58
+ * @see {@link ListBaselinesCommandOutput} for command's `response` shape.
59
+ * @see {@link ControlTowerClientResolvedConfig | config} for ControlTowerClient's `config` shape.
60
+ *
61
+ * @throws {@link AccessDeniedException} (client fault)
62
+ * <p>You do not have sufficient access to perform this action.</p>
63
+ *
64
+ * @throws {@link InternalServerException} (server fault)
65
+ * <p>An unexpected error occurred during processing of a request.</p>
66
+ *
67
+ * @throws {@link ThrottlingException} (client fault)
68
+ * <p>The request was denied due to request throttling.</p>
69
+ *
70
+ * @throws {@link ValidationException} (client fault)
71
+ * <p>The input does not satisfy the constraints specified by an Amazon Web Services service.</p>
72
+ *
73
+ * @throws {@link ControlTowerServiceException}
74
+ * <p>Base exception class for all service exceptions from ControlTower service.</p>
75
+ *
76
+ */
77
+ export declare class ListBaselinesCommand extends ListBaselinesCommand_base {
78
+ }
@@ -0,0 +1,91 @@
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 { ListEnabledBaselinesInput, ListEnabledBaselinesOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export { __MetadataBearer, $Command };
9
+ /**
10
+ * @public
11
+ *
12
+ * The input for {@link ListEnabledBaselinesCommand}.
13
+ */
14
+ export interface ListEnabledBaselinesCommandInput extends ListEnabledBaselinesInput {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link ListEnabledBaselinesCommand}.
20
+ */
21
+ export interface ListEnabledBaselinesCommandOutput extends ListEnabledBaselinesOutput, __MetadataBearer {
22
+ }
23
+ declare const ListEnabledBaselinesCommand_base: {
24
+ new (input: ListEnabledBaselinesCommandInput): import("@smithy/smithy-client").CommandImpl<ListEnabledBaselinesCommandInput, ListEnabledBaselinesCommandOutput, ControlTowerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
27
+ /**
28
+ * @public
29
+ * <p>Returns a list of summaries describing <code>EnabledBaseline</code> resources. You can filter the list by the corresponding <code>Baseline</code> or <code>Target</code> of the <code>EnabledBaseline</code> resources.</p>
30
+ * @example
31
+ * Use a bare-bones client and the command you need to make an API call.
32
+ * ```javascript
33
+ * import { ControlTowerClient, ListEnabledBaselinesCommand } from "@aws-sdk/client-controltower"; // ES Modules import
34
+ * // const { ControlTowerClient, ListEnabledBaselinesCommand } = require("@aws-sdk/client-controltower"); // CommonJS import
35
+ * const client = new ControlTowerClient(config);
36
+ * const input = { // ListEnabledBaselinesInput
37
+ * filter: { // EnabledBaselineFilter
38
+ * targetIdentifiers: [ // EnabledBaselineTargetIdentifiers
39
+ * "STRING_VALUE",
40
+ * ],
41
+ * baselineIdentifiers: [ // EnabledBaselineBaselineIdentifiers
42
+ * "STRING_VALUE",
43
+ * ],
44
+ * },
45
+ * nextToken: "STRING_VALUE",
46
+ * maxResults: Number("int"),
47
+ * };
48
+ * const command = new ListEnabledBaselinesCommand(input);
49
+ * const response = await client.send(command);
50
+ * // { // ListEnabledBaselinesOutput
51
+ * // enabledBaselines: [ // EnabledBaselines // required
52
+ * // { // EnabledBaselineSummary
53
+ * // arn: "STRING_VALUE", // required
54
+ * // baselineIdentifier: "STRING_VALUE", // required
55
+ * // baselineVersion: "STRING_VALUE",
56
+ * // targetIdentifier: "STRING_VALUE", // required
57
+ * // statusSummary: { // EnablementStatusSummary
58
+ * // status: "SUCCEEDED" || "FAILED" || "UNDER_CHANGE",
59
+ * // lastOperationIdentifier: "STRING_VALUE",
60
+ * // },
61
+ * // },
62
+ * // ],
63
+ * // nextToken: "STRING_VALUE",
64
+ * // };
65
+ *
66
+ * ```
67
+ *
68
+ * @param ListEnabledBaselinesCommandInput - {@link ListEnabledBaselinesCommandInput}
69
+ * @returns {@link ListEnabledBaselinesCommandOutput}
70
+ * @see {@link ListEnabledBaselinesCommandInput} for command's `input` shape.
71
+ * @see {@link ListEnabledBaselinesCommandOutput} for command's `response` shape.
72
+ * @see {@link ControlTowerClientResolvedConfig | config} for ControlTowerClient's `config` shape.
73
+ *
74
+ * @throws {@link AccessDeniedException} (client fault)
75
+ * <p>You do not have sufficient access to perform this action.</p>
76
+ *
77
+ * @throws {@link InternalServerException} (server fault)
78
+ * <p>An unexpected error occurred during processing of a request.</p>
79
+ *
80
+ * @throws {@link ThrottlingException} (client fault)
81
+ * <p>The request was denied due to request throttling.</p>
82
+ *
83
+ * @throws {@link ValidationException} (client fault)
84
+ * <p>The input does not satisfy the constraints specified by an Amazon Web Services service.</p>
85
+ *
86
+ * @throws {@link ControlTowerServiceException}
87
+ * <p>Base exception class for all service exceptions from ControlTower service.</p>
88
+ *
89
+ */
90
+ export declare class ListEnabledBaselinesCommand extends ListEnabledBaselinesCommand_base {
91
+ }