@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAWSControlTower extends Object implements AWSControlTower
AWSControlTower. Convenient method forms pass through to the corresponding
overload that takes a request object, which throws an UnsupportedOperationException.ENDPOINT_PREFIX| Modifier and Type | Method and Description |
|---|---|
DisableControlResult |
disableControl(DisableControlRequest request)
This API call turns off a control.
|
EnableControlResult |
enableControl(EnableControlRequest request)
This API call activates a control.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful request, typically used for debugging issues
where a service isn't acting as expected.
|
GetControlOperationResult |
getControlOperation(GetControlOperationRequest request)
Returns the status of a particular
EnableControl or DisableControl operation. |
ListEnabledControlsResult |
listEnabledControls(ListEnabledControlsRequest request)
Lists the controls enabled by AWS Control Tower on the specified organizational unit and the accounts it
contains.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
public DisableControlResult disableControl(DisableControlRequest request)
AWSControlTowerThis API call turns off a control. It starts an asynchronous operation that deletes AWS resources on the specified organizational unit and the accounts it contains. The resources will vary according to the control that you specify.
disableControl in interface AWSControlTowerpublic EnableControlResult enableControl(EnableControlRequest request)
AWSControlTowerThis API call activates a control. It starts an asynchronous operation that creates AWS resources on the specified organizational unit and the accounts it contains. The resources created will vary according to the control that you specify.
enableControl in interface AWSControlTowerpublic GetControlOperationResult getControlOperation(GetControlOperationRequest request)
AWSControlTower
Returns the status of a particular EnableControl or DisableControl operation. Displays
a message in case of error. Details for an operation are available for 90 days.
getControlOperation in interface AWSControlTowerpublic ListEnabledControlsResult listEnabledControls(ListEnabledControlsRequest request)
AWSControlTowerLists the controls enabled by AWS Control Tower on the specified organizational unit and the accounts it contains.
listEnabledControls in interface AWSControlTowerpublic void shutdown()
AWSControlTowershutdown in interface AWSControlTowerpublic ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
AWSControlTowerResponse metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing a request.
getCachedResponseMetadata in interface AWSControlTowerrequest - The originally executed request.