amazonka-controltower-2.0: Amazon Control Tower SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.ControlTower.Lens

Description

 
Synopsis

Operations

DisableControl

disableControl_controlIdentifier :: Lens' DisableControl Text Source #

The ARN of the control. Only Strongly recommended and Elective controls are permitted, with the exception of the Region deny guardrail.

disableControl_targetIdentifier :: Lens' DisableControl Text Source #

The ARN of the organizational unit.

disableControlResponse_operationIdentifier :: Lens' DisableControlResponse Text Source #

The ID of the asynchronous operation, which is used to track status. The operation is available for 90 days.

EnableControl

enableControl_controlIdentifier :: Lens' EnableControl Text Source #

The ARN of the control. Only Strongly recommended and Elective controls are permitted, with the exception of the Region deny guardrail.

enableControl_targetIdentifier :: Lens' EnableControl Text Source #

The ARN of the organizational unit.

enableControlResponse_operationIdentifier :: Lens' EnableControlResponse Text Source #

The ID of the asynchronous operation, which is used to track status. The operation is available for 90 days.

GetControlOperation

getControlOperation_operationIdentifier :: Lens' GetControlOperation Text Source #

The ID of the asynchronous operation, which is used to track status. The operation is available for 90 days.

ListEnabledControls

listEnabledControls_maxResults :: Lens' ListEnabledControls (Maybe Natural) Source #

How many results to return per API call.

listEnabledControls_nextToken :: Lens' ListEnabledControls (Maybe Text) Source #

The token to continue the list from a previous API call with the same parameters.

listEnabledControlsResponse_nextToken :: Lens' ListEnabledControlsResponse (Maybe Text) Source #

Retrieves the next page of results. If the string is empty, the current response is the end of the results.

listEnabledControlsResponse_enabledControls :: Lens' ListEnabledControlsResponse [EnabledControlSummary] Source #

Lists the controls enabled by AWS Control Tower on the specified organizational unit and the accounts it contains.

Types

ControlOperation

controlOperation_endTime :: Lens' ControlOperation (Maybe UTCTime) Source #

The time that the operation finished.

controlOperation_startTime :: Lens' ControlOperation (Maybe UTCTime) Source #

The time that the operation began.

controlOperation_statusMessage :: Lens' ControlOperation (Maybe Text) Source #

If the operation result is FAILED, this string contains a message explaining why the operation failed.

EnabledControlSummary

enabledControlSummary_controlIdentifier :: Lens' EnabledControlSummary (Maybe Text) Source #

The ARN of the control. Only Strongly recommended and Elective controls are permitted, with the exception of the Region deny guardrail.