@aws-sdk/client-controltower 3.511.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 (103) hide show
  1. package/README.md +81 -9
  2. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +1 -0
  3. package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
  4. package/dist-cjs/commands/DisableBaselineCommand.js +1 -0
  5. package/dist-cjs/commands/EnableBaselineCommand.js +1 -0
  6. package/dist-cjs/commands/GetBaselineCommand.js +1 -0
  7. package/dist-cjs/commands/GetBaselineOperationCommand.js +1 -0
  8. package/dist-cjs/commands/GetEnabledBaselineCommand.js +1 -0
  9. package/dist-cjs/commands/ListBaselinesCommand.js +1 -0
  10. package/dist-cjs/commands/ListEnabledBaselinesCommand.js +1 -0
  11. package/dist-cjs/commands/ResetEnabledBaselineCommand.js +1 -0
  12. package/dist-cjs/commands/UpdateEnabledBaselineCommand.js +1 -0
  13. package/dist-cjs/index.js +638 -49
  14. package/dist-cjs/pagination/ListBaselinesPaginator.js +1 -0
  15. package/dist-cjs/pagination/ListEnabledBaselinesPaginator.js +1 -0
  16. package/dist-cjs/runtimeConfig.shared.js +10 -0
  17. package/dist-es/ControlTower.js +18 -0
  18. package/dist-es/ControlTowerClient.js +17 -4
  19. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  20. package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
  21. package/dist-es/commands/DisableBaselineCommand.js +24 -0
  22. package/dist-es/commands/EnableBaselineCommand.js +24 -0
  23. package/dist-es/commands/GetBaselineCommand.js +24 -0
  24. package/dist-es/commands/GetBaselineOperationCommand.js +24 -0
  25. package/dist-es/commands/GetEnabledBaselineCommand.js +24 -0
  26. package/dist-es/commands/ListBaselinesCommand.js +24 -0
  27. package/dist-es/commands/ListEnabledBaselinesCommand.js +24 -0
  28. package/dist-es/commands/ResetEnabledBaselineCommand.js +24 -0
  29. package/dist-es/commands/UpdateEnabledBaselineCommand.js +24 -0
  30. package/dist-es/commands/index.js +9 -0
  31. package/dist-es/models/models_0.js +40 -29
  32. package/dist-es/pagination/ListBaselinesPaginator.js +4 -0
  33. package/dist-es/pagination/ListEnabledBaselinesPaginator.js +4 -0
  34. package/dist-es/pagination/index.js +2 -0
  35. package/dist-es/protocols/Aws_restJson1.js +310 -0
  36. package/dist-es/runtimeConfig.shared.js +10 -0
  37. package/dist-es/runtimeExtensions.js +3 -0
  38. package/dist-types/ControlTower.d.ts +65 -2
  39. package/dist-types/ControlTowerClient.d.ts +26 -15
  40. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  41. package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
  42. package/dist-types/commands/CreateLandingZoneCommand.d.ts +1 -1
  43. package/dist-types/commands/DeleteLandingZoneCommand.d.ts +1 -1
  44. package/dist-types/commands/DisableBaselineCommand.d.ts +79 -0
  45. package/dist-types/commands/DisableControlCommand.d.ts +2 -2
  46. package/dist-types/commands/EnableBaselineCommand.d.ts +91 -0
  47. package/dist-types/commands/EnableControlCommand.d.ts +1 -1
  48. package/dist-types/commands/GetBaselineCommand.d.ts +75 -0
  49. package/dist-types/commands/GetBaselineOperationCommand.d.ts +80 -0
  50. package/dist-types/commands/GetControlOperationCommand.d.ts +1 -1
  51. package/dist-types/commands/GetEnabledBaselineCommand.d.ts +88 -0
  52. package/dist-types/commands/GetEnabledControlCommand.d.ts +1 -1
  53. package/dist-types/commands/GetLandingZoneCommand.d.ts +1 -1
  54. package/dist-types/commands/GetLandingZoneOperationCommand.d.ts +1 -1
  55. package/dist-types/commands/ListBaselinesCommand.d.ts +78 -0
  56. package/dist-types/commands/ListEnabledBaselinesCommand.d.ts +91 -0
  57. package/dist-types/commands/ListEnabledControlsCommand.d.ts +1 -1
  58. package/dist-types/commands/ListLandingZonesCommand.d.ts +1 -1
  59. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  60. package/dist-types/commands/ResetEnabledBaselineCommand.d.ts +79 -0
  61. package/dist-types/commands/ResetLandingZoneCommand.d.ts +1 -1
  62. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  63. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  64. package/dist-types/commands/UpdateEnabledBaselineCommand.d.ts +86 -0
  65. package/dist-types/commands/UpdateEnabledControlCommand.d.ts +1 -1
  66. package/dist-types/commands/UpdateLandingZoneCommand.d.ts +1 -1
  67. package/dist-types/commands/index.d.ts +9 -0
  68. package/dist-types/extensionConfiguration.d.ts +2 -1
  69. package/dist-types/index.d.ts +2 -2
  70. package/dist-types/models/models_0.d.ts +541 -94
  71. package/dist-types/pagination/ListBaselinesPaginator.d.ts +7 -0
  72. package/dist-types/pagination/ListEnabledBaselinesPaginator.d.ts +7 -0
  73. package/dist-types/pagination/index.d.ts +2 -0
  74. package/dist-types/protocols/Aws_restJson1.d.ts +81 -0
  75. package/dist-types/runtimeConfig.browser.d.ts +5 -3
  76. package/dist-types/runtimeConfig.d.ts +4 -2
  77. package/dist-types/runtimeConfig.native.d.ts +6 -4
  78. package/dist-types/runtimeConfig.shared.d.ts +2 -0
  79. package/dist-types/ts3.4/ControlTower.d.ts +153 -0
  80. package/dist-types/ts3.4/ControlTowerClient.d.ts +65 -9
  81. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  82. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
  83. package/dist-types/ts3.4/commands/DisableBaselineCommand.d.ts +29 -0
  84. package/dist-types/ts3.4/commands/EnableBaselineCommand.d.ts +26 -0
  85. package/dist-types/ts3.4/commands/GetBaselineCommand.d.ts +26 -0
  86. package/dist-types/ts3.4/commands/GetBaselineOperationCommand.d.ts +30 -0
  87. package/dist-types/ts3.4/commands/GetEnabledBaselineCommand.d.ts +30 -0
  88. package/dist-types/ts3.4/commands/ListBaselinesCommand.d.ts +26 -0
  89. package/dist-types/ts3.4/commands/ListEnabledBaselinesCommand.d.ts +30 -0
  90. package/dist-types/ts3.4/commands/ResetEnabledBaselineCommand.d.ts +30 -0
  91. package/dist-types/ts3.4/commands/UpdateEnabledBaselineCommand.d.ts +30 -0
  92. package/dist-types/ts3.4/commands/index.d.ts +9 -0
  93. package/dist-types/ts3.4/extensionConfiguration.d.ts +3 -1
  94. package/dist-types/ts3.4/models/models_0.d.ts +151 -28
  95. package/dist-types/ts3.4/pagination/ListBaselinesPaginator.d.ts +11 -0
  96. package/dist-types/ts3.4/pagination/ListEnabledBaselinesPaginator.d.ts +11 -0
  97. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  98. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +108 -0
  99. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -5
  100. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -4
  101. package/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -8
  102. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -0
  103. package/package.json +7 -7
@@ -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
+ }
@@ -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,8 +1,9 @@
1
1
  import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
2
  import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
3
3
  import { DefaultExtensionConfiguration } from "@smithy/types";
4
+ import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
4
5
  /**
5
6
  * @internal
6
7
  */
7
- export interface ControlTowerExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration {
8
+ export interface ControlTowerExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration, HttpAuthExtensionConfiguration {
8
9
  }
@@ -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>