@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)
AWSControlTower
This 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 AWSControlTower
public EnableControlResult enableControl(EnableControlRequest request)
AWSControlTower
This 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 AWSControlTower
public 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 AWSControlTower
public ListEnabledControlsResult listEnabledControls(ListEnabledControlsRequest request)
AWSControlTower
Lists the controls enabled by AWS Control Tower on the specified organizational unit and the accounts it contains.
listEnabledControls
in interface AWSControlTower
public void shutdown()
AWSControlTower
shutdown
in interface AWSControlTower
public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
AWSControlTower
Response 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 AWSControlTower
request
- The originally executed request.