@aws-sdk/client-controltower 3.458.0 → 3.459.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -3
- package/dist-cjs/ControlTower.js +2 -0
- package/dist-cjs/commands/UpdateEnabledControlCommand.js +51 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/models_0.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +121 -2
- package/dist-es/ControlTower.js +2 -0
- package/dist-es/commands/UpdateEnabledControlCommand.js +47 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +118 -1
- package/dist-types/ControlTower.d.ts +10 -3
- package/dist-types/ControlTowerClient.d.ts +6 -5
- package/dist-types/commands/CreateLandingZoneCommand.d.ts +6 -6
- package/dist-types/commands/DeleteLandingZoneCommand.d.ts +7 -7
- package/dist-types/commands/DisableControlCommand.d.ts +6 -6
- package/dist-types/commands/EnableControlCommand.d.ts +12 -6
- package/dist-types/commands/GetControlOperationCommand.d.ts +4 -4
- package/dist-types/commands/GetEnabledControlCommand.d.ts +10 -4
- package/dist-types/commands/GetLandingZoneCommand.d.ts +5 -5
- package/dist-types/commands/GetLandingZoneOperationCommand.d.ts +5 -5
- package/dist-types/commands/ListEnabledControlsCommand.d.ts +4 -4
- package/dist-types/commands/ListLandingZonesCommand.d.ts +4 -4
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
- package/dist-types/commands/ResetLandingZoneCommand.d.ts +6 -6
- package/dist-types/commands/TagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UpdateEnabledControlCommand.d.ts +107 -0
- package/dist-types/commands/UpdateLandingZoneCommand.d.ts +7 -7
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/index.d.ts +3 -3
- package/dist-types/models/models_0.d.ts +129 -74
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/ts3.4/ControlTower.d.ts +17 -0
- package/dist-types/ts3.4/ControlTowerClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/UpdateEnabledControlCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +18 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +1 -1
|
@@ -23,8 +23,8 @@ export interface CreateLandingZoneCommandOutput extends CreateLandingZoneOutput,
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Creates a new landing zone. This starts an asynchronous operation that creates and configures a landing zone
|
|
27
|
-
* based on the parameters specified in the manifest JSON file
|
|
26
|
+
* <p>Creates a new landing zone. This API call starts an asynchronous operation that creates and configures a landing zone,
|
|
27
|
+
* based on the parameters specified in the manifest JSON file.</p>
|
|
28
28
|
* @example
|
|
29
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
30
|
* ```javascript
|
|
@@ -57,16 +57,16 @@ export interface CreateLandingZoneCommandOutput extends CreateLandingZoneOutput,
|
|
|
57
57
|
* <p>You do not have sufficient access to perform this action.</p>
|
|
58
58
|
*
|
|
59
59
|
* @throws {@link ConflictException} (client fault)
|
|
60
|
-
* <p>Updating or deleting
|
|
60
|
+
* <p>Updating or deleting the resource can cause an inconsistent state.</p>
|
|
61
61
|
*
|
|
62
62
|
* @throws {@link InternalServerException} (server fault)
|
|
63
|
-
* <p>
|
|
63
|
+
* <p>An unexpected error occurred during processing of a request.</p>
|
|
64
64
|
*
|
|
65
65
|
* @throws {@link ThrottlingException} (client fault)
|
|
66
|
-
* <p>
|
|
66
|
+
* <p>The request was denied due to request throttling.</p>
|
|
67
67
|
*
|
|
68
68
|
* @throws {@link ValidationException} (client fault)
|
|
69
|
-
* <p>The input
|
|
69
|
+
* <p>The input does not satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
70
70
|
*
|
|
71
71
|
* @throws {@link ControlTowerServiceException}
|
|
72
72
|
* <p>Base exception class for all service exceptions from ControlTower service.</p>
|
|
@@ -23,8 +23,8 @@ export interface DeleteLandingZoneCommandOutput extends DeleteLandingZoneOutput,
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>
|
|
27
|
-
* resources deployed in Amazon Web Services Control Tower
|
|
26
|
+
* <p>Decommissions a landing zone. This API call starts an asynchronous operation that deletes Amazon Web Services Control Tower
|
|
27
|
+
* resources deployed in accounts managed by Amazon Web Services Control Tower.</p>
|
|
28
28
|
* @example
|
|
29
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
30
|
* ```javascript
|
|
@@ -52,19 +52,19 @@ export interface DeleteLandingZoneCommandOutput extends DeleteLandingZoneOutput,
|
|
|
52
52
|
* <p>You do not have sufficient access to perform this action.</p>
|
|
53
53
|
*
|
|
54
54
|
* @throws {@link ConflictException} (client fault)
|
|
55
|
-
* <p>Updating or deleting
|
|
55
|
+
* <p>Updating or deleting the resource can cause an inconsistent state.</p>
|
|
56
56
|
*
|
|
57
57
|
* @throws {@link InternalServerException} (server fault)
|
|
58
|
-
* <p>
|
|
58
|
+
* <p>An unexpected error occurred during processing of a request.</p>
|
|
59
59
|
*
|
|
60
60
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
61
|
-
* <p>
|
|
61
|
+
* <p>The request references a resource that does not exist.</p>
|
|
62
62
|
*
|
|
63
63
|
* @throws {@link ThrottlingException} (client fault)
|
|
64
|
-
* <p>
|
|
64
|
+
* <p>The request was denied due to request throttling.</p>
|
|
65
65
|
*
|
|
66
66
|
* @throws {@link ValidationException} (client fault)
|
|
67
|
-
* <p>The input
|
|
67
|
+
* <p>The input does not satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
68
68
|
*
|
|
69
69
|
* @throws {@link ControlTowerServiceException}
|
|
70
70
|
* <p>Base exception class for all service exceptions from ControlTower service.</p>
|
|
@@ -56,22 +56,22 @@ export interface DisableControlCommandOutput extends DisableControlOutput, __Met
|
|
|
56
56
|
* <p>You do not have sufficient access to perform this action.</p>
|
|
57
57
|
*
|
|
58
58
|
* @throws {@link ConflictException} (client fault)
|
|
59
|
-
* <p>Updating or deleting
|
|
59
|
+
* <p>Updating or deleting the resource can cause an inconsistent state.</p>
|
|
60
60
|
*
|
|
61
61
|
* @throws {@link InternalServerException} (server fault)
|
|
62
|
-
* <p>
|
|
62
|
+
* <p>An unexpected error occurred during processing of a request.</p>
|
|
63
63
|
*
|
|
64
64
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
65
|
-
* <p>
|
|
65
|
+
* <p>The request references a resource that does not exist.</p>
|
|
66
66
|
*
|
|
67
67
|
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
68
|
-
* <p>
|
|
68
|
+
* <p>The request would cause a service quota to be exceeded. The limit is 10 concurrent operations.</p>
|
|
69
69
|
*
|
|
70
70
|
* @throws {@link ThrottlingException} (client fault)
|
|
71
|
-
* <p>
|
|
71
|
+
* <p>The request was denied due to request throttling.</p>
|
|
72
72
|
*
|
|
73
73
|
* @throws {@link ValidationException} (client fault)
|
|
74
|
-
* <p>The input
|
|
74
|
+
* <p>The input does not satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
75
75
|
*
|
|
76
76
|
* @throws {@link ControlTowerServiceException}
|
|
77
77
|
* <p>Base exception class for all service exceptions from ControlTower service.</p>
|
|
@@ -40,6 +40,12 @@ export interface EnableControlCommandOutput extends EnableControlOutput, __Metad
|
|
|
40
40
|
* tags: { // TagMap
|
|
41
41
|
* "<keys>": "STRING_VALUE",
|
|
42
42
|
* },
|
|
43
|
+
* parameters: [ // EnabledControlParameters
|
|
44
|
+
* { // EnabledControlParameter
|
|
45
|
+
* key: "STRING_VALUE", // required
|
|
46
|
+
* value: "DOCUMENT_VALUE", // required
|
|
47
|
+
* },
|
|
48
|
+
* ],
|
|
43
49
|
* };
|
|
44
50
|
* const command = new EnableControlCommand(input);
|
|
45
51
|
* const response = await client.send(command);
|
|
@@ -60,22 +66,22 @@ export interface EnableControlCommandOutput extends EnableControlOutput, __Metad
|
|
|
60
66
|
* <p>You do not have sufficient access to perform this action.</p>
|
|
61
67
|
*
|
|
62
68
|
* @throws {@link ConflictException} (client fault)
|
|
63
|
-
* <p>Updating or deleting
|
|
69
|
+
* <p>Updating or deleting the resource can cause an inconsistent state.</p>
|
|
64
70
|
*
|
|
65
71
|
* @throws {@link InternalServerException} (server fault)
|
|
66
|
-
* <p>
|
|
72
|
+
* <p>An unexpected error occurred during processing of a request.</p>
|
|
67
73
|
*
|
|
68
74
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
69
|
-
* <p>
|
|
75
|
+
* <p>The request references a resource that does not exist.</p>
|
|
70
76
|
*
|
|
71
77
|
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
72
|
-
* <p>
|
|
78
|
+
* <p>The request would cause a service quota to be exceeded. The limit is 10 concurrent operations.</p>
|
|
73
79
|
*
|
|
74
80
|
* @throws {@link ThrottlingException} (client fault)
|
|
75
|
-
* <p>
|
|
81
|
+
* <p>The request was denied due to request throttling.</p>
|
|
76
82
|
*
|
|
77
83
|
* @throws {@link ValidationException} (client fault)
|
|
78
|
-
* <p>The input
|
|
84
|
+
* <p>The input does not satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
79
85
|
*
|
|
80
86
|
* @throws {@link ControlTowerServiceException}
|
|
81
87
|
* <p>Base exception class for all service exceptions from ControlTower service.</p>
|
|
@@ -61,16 +61,16 @@ export interface GetControlOperationCommandOutput extends GetControlOperationOut
|
|
|
61
61
|
* <p>You do not have sufficient access to perform this action.</p>
|
|
62
62
|
*
|
|
63
63
|
* @throws {@link InternalServerException} (server fault)
|
|
64
|
-
* <p>
|
|
64
|
+
* <p>An unexpected error occurred during processing of a request.</p>
|
|
65
65
|
*
|
|
66
66
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
67
|
-
* <p>
|
|
67
|
+
* <p>The request references a resource that does not exist.</p>
|
|
68
68
|
*
|
|
69
69
|
* @throws {@link ThrottlingException} (client fault)
|
|
70
|
-
* <p>
|
|
70
|
+
* <p>The request was denied due to request throttling.</p>
|
|
71
71
|
*
|
|
72
72
|
* @throws {@link ValidationException} (client fault)
|
|
73
|
-
* <p>The input
|
|
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>
|
|
@@ -54,6 +54,12 @@ export interface GetEnabledControlCommandOutput extends GetEnabledControlOutput,
|
|
|
54
54
|
* // driftStatusSummary: { // DriftStatusSummary
|
|
55
55
|
* // driftStatus: "DRIFTED" || "IN_SYNC" || "NOT_CHECKING" || "UNKNOWN",
|
|
56
56
|
* // },
|
|
57
|
+
* // parameters: [ // EnabledControlParameterSummaries
|
|
58
|
+
* // { // EnabledControlParameterSummary
|
|
59
|
+
* // key: "STRING_VALUE", // required
|
|
60
|
+
* // value: "DOCUMENT_VALUE", // required
|
|
61
|
+
* // },
|
|
62
|
+
* // ],
|
|
57
63
|
* // },
|
|
58
64
|
* // };
|
|
59
65
|
*
|
|
@@ -69,16 +75,16 @@ export interface GetEnabledControlCommandOutput extends GetEnabledControlOutput,
|
|
|
69
75
|
* <p>You do not have sufficient access to perform this action.</p>
|
|
70
76
|
*
|
|
71
77
|
* @throws {@link InternalServerException} (server fault)
|
|
72
|
-
* <p>
|
|
78
|
+
* <p>An unexpected error occurred during processing of a request.</p>
|
|
73
79
|
*
|
|
74
80
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
75
|
-
* <p>
|
|
81
|
+
* <p>The request references a resource that does not exist.</p>
|
|
76
82
|
*
|
|
77
83
|
* @throws {@link ThrottlingException} (client fault)
|
|
78
|
-
* <p>
|
|
84
|
+
* <p>The request was denied due to request throttling.</p>
|
|
79
85
|
*
|
|
80
86
|
* @throws {@link ValidationException} (client fault)
|
|
81
|
-
* <p>The input
|
|
87
|
+
* <p>The input does not satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
82
88
|
*
|
|
83
89
|
* @throws {@link ControlTowerServiceException}
|
|
84
90
|
* <p>Base exception class for all service exceptions from ControlTower service.</p>
|
|
@@ -23,7 +23,7 @@ export interface GetLandingZoneCommandOutput extends GetLandingZoneOutput, __Met
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Returns details about the landing zone. Displays a message in case of error
|
|
26
|
+
* <p>Returns details about the landing zone. Displays a message in case of error.</p>
|
|
27
27
|
* @example
|
|
28
28
|
* Use a bare-bones client and the command you need to make an API call.
|
|
29
29
|
* ```javascript
|
|
@@ -60,16 +60,16 @@ export interface GetLandingZoneCommandOutput extends GetLandingZoneOutput, __Met
|
|
|
60
60
|
* <p>You do not have sufficient access to perform this action.</p>
|
|
61
61
|
*
|
|
62
62
|
* @throws {@link InternalServerException} (server fault)
|
|
63
|
-
* <p>
|
|
63
|
+
* <p>An unexpected error occurred during processing of a request.</p>
|
|
64
64
|
*
|
|
65
65
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
66
|
-
* <p>
|
|
66
|
+
* <p>The request references a resource that does not exist.</p>
|
|
67
67
|
*
|
|
68
68
|
* @throws {@link ThrottlingException} (client fault)
|
|
69
|
-
* <p>
|
|
69
|
+
* <p>The request was denied due to request throttling.</p>
|
|
70
70
|
*
|
|
71
71
|
* @throws {@link ValidationException} (client fault)
|
|
72
|
-
* <p>The input
|
|
72
|
+
* <p>The input does not satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
73
73
|
*
|
|
74
74
|
* @throws {@link ControlTowerServiceException}
|
|
75
75
|
* <p>Base exception class for all service exceptions from ControlTower service.</p>
|
|
@@ -24,7 +24,7 @@ export interface GetLandingZoneOperationCommandOutput extends GetLandingZoneOper
|
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Returns the status of the specified landing zone operation. Details for an operation are available for
|
|
27
|
-
*
|
|
27
|
+
* 60 days.</p>
|
|
28
28
|
* @example
|
|
29
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
30
|
* ```javascript
|
|
@@ -58,16 +58,16 @@ export interface GetLandingZoneOperationCommandOutput extends GetLandingZoneOper
|
|
|
58
58
|
* <p>You do not have sufficient access to perform this action.</p>
|
|
59
59
|
*
|
|
60
60
|
* @throws {@link InternalServerException} (server fault)
|
|
61
|
-
* <p>
|
|
61
|
+
* <p>An unexpected error occurred during processing of a request.</p>
|
|
62
62
|
*
|
|
63
63
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
64
|
-
* <p>
|
|
64
|
+
* <p>The request references a resource that does not exist.</p>
|
|
65
65
|
*
|
|
66
66
|
* @throws {@link ThrottlingException} (client fault)
|
|
67
|
-
* <p>
|
|
67
|
+
* <p>The request was denied due to request throttling.</p>
|
|
68
68
|
*
|
|
69
69
|
* @throws {@link ValidationException} (client fault)
|
|
70
|
-
* <p>The input
|
|
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>
|
|
@@ -70,16 +70,16 @@ export interface ListEnabledControlsCommandOutput extends ListEnabledControlsOut
|
|
|
70
70
|
* <p>You do not have sufficient access to perform this action.</p>
|
|
71
71
|
*
|
|
72
72
|
* @throws {@link InternalServerException} (server fault)
|
|
73
|
-
* <p>
|
|
73
|
+
* <p>An unexpected error occurred during processing of a request.</p>
|
|
74
74
|
*
|
|
75
75
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
76
|
-
* <p>
|
|
76
|
+
* <p>The request references a resource that does not exist.</p>
|
|
77
77
|
*
|
|
78
78
|
* @throws {@link ThrottlingException} (client fault)
|
|
79
|
-
* <p>
|
|
79
|
+
* <p>The request was denied due to request throttling.</p>
|
|
80
80
|
*
|
|
81
81
|
* @throws {@link ValidationException} (client fault)
|
|
82
|
-
* <p>The input
|
|
82
|
+
* <p>The input does not satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
83
83
|
*
|
|
84
84
|
* @throws {@link ControlTowerServiceException}
|
|
85
85
|
* <p>Base exception class for all service exceptions from ControlTower service.</p>
|
|
@@ -25,7 +25,7 @@ export interface ListLandingZonesCommandOutput extends ListLandingZonesOutput, _
|
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Returns the landing zone ARN for the landing zone deployed in your managed account. This API also
|
|
27
27
|
* creates an ARN for existing accounts that do not yet have a landing zone ARN. </p>
|
|
28
|
-
* <p>
|
|
28
|
+
* <p>Returns one landing zone ARN.</p>
|
|
29
29
|
* @example
|
|
30
30
|
* Use a bare-bones client and the command you need to make an API call.
|
|
31
31
|
* ```javascript
|
|
@@ -59,13 +59,13 @@ export interface ListLandingZonesCommandOutput extends ListLandingZonesOutput, _
|
|
|
59
59
|
* <p>You do not have sufficient access to perform this action.</p>
|
|
60
60
|
*
|
|
61
61
|
* @throws {@link InternalServerException} (server fault)
|
|
62
|
-
* <p>
|
|
62
|
+
* <p>An unexpected error occurred during processing of a request.</p>
|
|
63
63
|
*
|
|
64
64
|
* @throws {@link ThrottlingException} (client fault)
|
|
65
|
-
* <p>
|
|
65
|
+
* <p>The request was denied due to request throttling.</p>
|
|
66
66
|
*
|
|
67
67
|
* @throws {@link ValidationException} (client fault)
|
|
68
|
-
* <p>The input
|
|
68
|
+
* <p>The input does not satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
69
69
|
*
|
|
70
70
|
* @throws {@link ControlTowerServiceException}
|
|
71
71
|
* <p>Base exception class for all service exceptions from ControlTower service.</p>
|
|
@@ -52,13 +52,13 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceOut
|
|
|
52
52
|
* @see {@link ControlTowerClientResolvedConfig | config} for ControlTowerClient's `config` shape.
|
|
53
53
|
*
|
|
54
54
|
* @throws {@link InternalServerException} (server fault)
|
|
55
|
-
* <p>
|
|
55
|
+
* <p>An unexpected error occurred during processing of a request.</p>
|
|
56
56
|
*
|
|
57
57
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
58
|
-
* <p>
|
|
58
|
+
* <p>The request references a resource that does not exist.</p>
|
|
59
59
|
*
|
|
60
60
|
* @throws {@link ValidationException} (client fault)
|
|
61
|
-
* <p>The input
|
|
61
|
+
* <p>The input does not satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
62
62
|
*
|
|
63
63
|
* @throws {@link ControlTowerServiceException}
|
|
64
64
|
* <p>Base exception class for all service exceptions from ControlTower service.</p>
|
|
@@ -24,7 +24,7 @@ export interface ResetLandingZoneCommandOutput extends ResetLandingZoneOutput, _
|
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
26
|
* <p>This API call resets a landing zone. It starts an asynchronous operation that resets the
|
|
27
|
-
* landing zone to the parameters specified in its original configuration
|
|
27
|
+
* landing zone to the parameters specified in its original configuration.</p>
|
|
28
28
|
* @example
|
|
29
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
30
|
* ```javascript
|
|
@@ -52,19 +52,19 @@ export interface ResetLandingZoneCommandOutput extends ResetLandingZoneOutput, _
|
|
|
52
52
|
* <p>You do not have sufficient access to perform this action.</p>
|
|
53
53
|
*
|
|
54
54
|
* @throws {@link ConflictException} (client fault)
|
|
55
|
-
* <p>Updating or deleting
|
|
55
|
+
* <p>Updating or deleting the resource can cause an inconsistent state.</p>
|
|
56
56
|
*
|
|
57
57
|
* @throws {@link InternalServerException} (server fault)
|
|
58
|
-
* <p>
|
|
58
|
+
* <p>An unexpected error occurred during processing of a request.</p>
|
|
59
59
|
*
|
|
60
60
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
61
|
-
* <p>
|
|
61
|
+
* <p>The request references a resource that does not exist.</p>
|
|
62
62
|
*
|
|
63
63
|
* @throws {@link ThrottlingException} (client fault)
|
|
64
|
-
* <p>
|
|
64
|
+
* <p>The request was denied due to request throttling.</p>
|
|
65
65
|
*
|
|
66
66
|
* @throws {@link ValidationException} (client fault)
|
|
67
|
-
* <p>The input
|
|
67
|
+
* <p>The input does not satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
68
68
|
*
|
|
69
69
|
* @throws {@link ControlTowerServiceException}
|
|
70
70
|
* <p>Base exception class for all service exceptions from ControlTower service.</p>
|
|
@@ -51,13 +51,13 @@ export interface TagResourceCommandOutput extends TagResourceOutput, __MetadataB
|
|
|
51
51
|
* @see {@link ControlTowerClientResolvedConfig | config} for ControlTowerClient's `config` shape.
|
|
52
52
|
*
|
|
53
53
|
* @throws {@link InternalServerException} (server fault)
|
|
54
|
-
* <p>
|
|
54
|
+
* <p>An unexpected error occurred during processing of a request.</p>
|
|
55
55
|
*
|
|
56
56
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
57
|
-
* <p>
|
|
57
|
+
* <p>The request references a resource that does not exist.</p>
|
|
58
58
|
*
|
|
59
59
|
* @throws {@link ValidationException} (client fault)
|
|
60
|
-
* <p>The input
|
|
60
|
+
* <p>The input does not satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
61
61
|
*
|
|
62
62
|
* @throws {@link ControlTowerServiceException}
|
|
63
63
|
* <p>Base exception class for all service exceptions from ControlTower service.</p>
|
|
@@ -51,13 +51,13 @@ export interface UntagResourceCommandOutput extends UntagResourceOutput, __Metad
|
|
|
51
51
|
* @see {@link ControlTowerClientResolvedConfig | config} for ControlTowerClient's `config` shape.
|
|
52
52
|
*
|
|
53
53
|
* @throws {@link InternalServerException} (server fault)
|
|
54
|
-
* <p>
|
|
54
|
+
* <p>An unexpected error occurred during processing of a request.</p>
|
|
55
55
|
*
|
|
56
56
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
57
|
-
* <p>
|
|
57
|
+
* <p>The request references a resource that does not exist.</p>
|
|
58
58
|
*
|
|
59
59
|
* @throws {@link ValidationException} (client fault)
|
|
60
|
-
* <p>The input
|
|
60
|
+
* <p>The input does not satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
61
61
|
*
|
|
62
62
|
* @throws {@link ControlTowerServiceException}
|
|
63
63
|
* <p>Base exception class for all service exceptions from ControlTower service.</p>
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { ControlTowerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ControlTowerClient";
|
|
5
|
+
import { UpdateEnabledControlInput, UpdateEnabledControlOutput } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UpdateEnabledControlCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateEnabledControlCommandInput extends UpdateEnabledControlInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateEnabledControlCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateEnabledControlCommandOutput extends UpdateEnabledControlOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>
|
|
27
|
+
* Updates the configuration of an already enabled control.</p>
|
|
28
|
+
* <p>If the enabled control shows an <code>EnablementStatus</code> of SUCCEEDED, supply parameters that are different from the currently configured parameters. Otherwise, Amazon Web Services Control Tower will not accept the request.</p>
|
|
29
|
+
* <p>If the enabled control shows an <code>EnablementStatus</code> of FAILED, Amazon Web Services Control Tower will update the control to match any valid parameters that you supply.</p>
|
|
30
|
+
* <p>If the <code>DriftSummary</code> status for the control shows as DRIFTED, you cannot call this API. Instead, you can update the control by calling <code>DisableControl</code> and again calling <code>EnableControl</code>, or you can run an extending governance operation. For usage examples, see <a href="https://docs.aws.amazon.com/controltower/latest/userguide/control-api-examples-short.html">
|
|
31
|
+
* <i>the Amazon Web Services Control Tower User Guide</i>
|
|
32
|
+
* </a>
|
|
33
|
+
* </p>
|
|
34
|
+
* @example
|
|
35
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
36
|
+
* ```javascript
|
|
37
|
+
* import { ControlTowerClient, UpdateEnabledControlCommand } from "@aws-sdk/client-controltower"; // ES Modules import
|
|
38
|
+
* // const { ControlTowerClient, UpdateEnabledControlCommand } = require("@aws-sdk/client-controltower"); // CommonJS import
|
|
39
|
+
* const client = new ControlTowerClient(config);
|
|
40
|
+
* const input = { // UpdateEnabledControlInput
|
|
41
|
+
* parameters: [ // EnabledControlParameters // required
|
|
42
|
+
* { // EnabledControlParameter
|
|
43
|
+
* key: "STRING_VALUE", // required
|
|
44
|
+
* value: "DOCUMENT_VALUE", // required
|
|
45
|
+
* },
|
|
46
|
+
* ],
|
|
47
|
+
* enabledControlIdentifier: "STRING_VALUE", // required
|
|
48
|
+
* };
|
|
49
|
+
* const command = new UpdateEnabledControlCommand(input);
|
|
50
|
+
* const response = await client.send(command);
|
|
51
|
+
* // { // UpdateEnabledControlOutput
|
|
52
|
+
* // operationIdentifier: "STRING_VALUE", // required
|
|
53
|
+
* // };
|
|
54
|
+
*
|
|
55
|
+
* ```
|
|
56
|
+
*
|
|
57
|
+
* @param UpdateEnabledControlCommandInput - {@link UpdateEnabledControlCommandInput}
|
|
58
|
+
* @returns {@link UpdateEnabledControlCommandOutput}
|
|
59
|
+
* @see {@link UpdateEnabledControlCommandInput} for command's `input` shape.
|
|
60
|
+
* @see {@link UpdateEnabledControlCommandOutput} for command's `response` shape.
|
|
61
|
+
* @see {@link ControlTowerClientResolvedConfig | config} for ControlTowerClient's `config` shape.
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
64
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ConflictException} (client fault)
|
|
67
|
+
* <p>Updating or deleting the resource can cause an inconsistent state.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link InternalServerException} (server fault)
|
|
70
|
+
* <p>An unexpected error occurred during processing of a request.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
73
|
+
* <p>The request references a resource that does not exist.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
76
|
+
* <p>The request would cause a service quota to be exceeded. The limit is 10 concurrent operations.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
79
|
+
* <p>The request was denied due to request throttling.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ValidationException} (client fault)
|
|
82
|
+
* <p>The input does not satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link ControlTowerServiceException}
|
|
85
|
+
* <p>Base exception class for all service exceptions from ControlTower service.</p>
|
|
86
|
+
*
|
|
87
|
+
*/
|
|
88
|
+
export declare class UpdateEnabledControlCommand extends $Command<UpdateEnabledControlCommandInput, UpdateEnabledControlCommandOutput, ControlTowerClientResolvedConfig> {
|
|
89
|
+
readonly input: UpdateEnabledControlCommandInput;
|
|
90
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
91
|
+
/**
|
|
92
|
+
* @public
|
|
93
|
+
*/
|
|
94
|
+
constructor(input: UpdateEnabledControlCommandInput);
|
|
95
|
+
/**
|
|
96
|
+
* @internal
|
|
97
|
+
*/
|
|
98
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ControlTowerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateEnabledControlCommandInput, UpdateEnabledControlCommandOutput>;
|
|
99
|
+
/**
|
|
100
|
+
* @internal
|
|
101
|
+
*/
|
|
102
|
+
private serialize;
|
|
103
|
+
/**
|
|
104
|
+
* @internal
|
|
105
|
+
*/
|
|
106
|
+
private deserialize;
|
|
107
|
+
}
|
|
@@ -24,8 +24,8 @@ export interface UpdateLandingZoneCommandOutput extends UpdateLandingZoneOutput,
|
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
26
|
* <p>This API call updates the landing zone. It starts an asynchronous operation that updates the
|
|
27
|
-
*
|
|
28
|
-
*
|
|
27
|
+
* landing zone based on the new landing zone version, or on the changed parameters specified in the
|
|
28
|
+
* updated manifest file. </p>
|
|
29
29
|
* @example
|
|
30
30
|
* Use a bare-bones client and the command you need to make an API call.
|
|
31
31
|
* ```javascript
|
|
@@ -55,19 +55,19 @@ export interface UpdateLandingZoneCommandOutput extends UpdateLandingZoneOutput,
|
|
|
55
55
|
* <p>You do not have sufficient access to perform this action.</p>
|
|
56
56
|
*
|
|
57
57
|
* @throws {@link ConflictException} (client fault)
|
|
58
|
-
* <p>Updating or deleting
|
|
58
|
+
* <p>Updating or deleting the resource can cause an inconsistent state.</p>
|
|
59
59
|
*
|
|
60
60
|
* @throws {@link InternalServerException} (server fault)
|
|
61
|
-
* <p>
|
|
61
|
+
* <p>An unexpected error occurred during processing of a request.</p>
|
|
62
62
|
*
|
|
63
63
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
64
|
-
* <p>
|
|
64
|
+
* <p>The request references a resource that does not exist.</p>
|
|
65
65
|
*
|
|
66
66
|
* @throws {@link ThrottlingException} (client fault)
|
|
67
|
-
* <p>
|
|
67
|
+
* <p>The request was denied due to request throttling.</p>
|
|
68
68
|
*
|
|
69
69
|
* @throws {@link ValidationException} (client fault)
|
|
70
|
-
* <p>The input
|
|
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>
|
|
@@ -12,4 +12,5 @@ export * from "./ListTagsForResourceCommand";
|
|
|
12
12
|
export * from "./ResetLandingZoneCommand";
|
|
13
13
|
export * from "./TagResourceCommand";
|
|
14
14
|
export * from "./UntagResourceCommand";
|
|
15
|
+
export * from "./UpdateEnabledControlCommand";
|
|
15
16
|
export * from "./UpdateLandingZoneCommand";
|
package/dist-types/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* <p>These interfaces allow you to apply the
|
|
3
|
-
* <i>controls</i> to your organizational units, programmatically. In
|
|
2
|
+
* <p>These interfaces allow you to apply the Amazon Web Services library of pre-defined
|
|
3
|
+
* <i>controls</i> to your organizational units, programmatically. In Amazon Web Services Control Tower, the terms "control" and "guardrail" are synonyms.</p>
|
|
4
4
|
* <p>To call these APIs, you'll need to know:</p>
|
|
5
5
|
* <ul>
|
|
6
6
|
* <li>
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* </li>
|
|
15
15
|
* </ul>
|
|
16
16
|
* <p>
|
|
17
|
-
* <b>To get the <code>controlIdentifier</code> for your
|
|
17
|
+
* <b>To get the <code>controlIdentifier</code> for your Amazon Web Services Control Tower
|
|
18
18
|
* control:</b>
|
|
19
19
|
* </p>
|
|
20
20
|
* <p>The <code>controlIdentifier</code> is an ARN that is specified for each
|