Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- defaultService :: Service
- _AccessDeniedException :: AsError a => Fold a ServiceError
- _ConflictException :: AsError a => Fold a ServiceError
- _InternalServerException :: AsError a => Fold a ServiceError
- _ResourceNotFoundException :: AsError a => Fold a ServiceError
- _ServiceQuotaExceededException :: AsError a => Fold a ServiceError
- _ThrottlingException :: AsError a => Fold a ServiceError
- _ValidationException :: AsError a => Fold a ServiceError
- newtype ControlOperationStatus where
- newtype ControlOperationType where
- data ControlOperation = ControlOperation' {}
- newControlOperation :: ControlOperation
- controlOperation_endTime :: Lens' ControlOperation (Maybe UTCTime)
- controlOperation_operationType :: Lens' ControlOperation (Maybe ControlOperationType)
- controlOperation_startTime :: Lens' ControlOperation (Maybe UTCTime)
- controlOperation_status :: Lens' ControlOperation (Maybe ControlOperationStatus)
- controlOperation_statusMessage :: Lens' ControlOperation (Maybe Text)
- data EnabledControlSummary = EnabledControlSummary' {}
- newEnabledControlSummary :: EnabledControlSummary
- enabledControlSummary_controlIdentifier :: Lens' EnabledControlSummary (Maybe Text)
Service Configuration
defaultService :: Service Source #
API version 2018-05-10
of the Amazon Control Tower SDK configuration.
Errors
_AccessDeniedException :: AsError a => Fold a ServiceError Source #
User does not have sufficient access to perform this action.
_ConflictException :: AsError a => Fold a ServiceError Source #
Updating or deleting a resource can cause an inconsistent state.
_InternalServerException :: AsError a => Fold a ServiceError Source #
Unexpected error during processing of request.
_ResourceNotFoundException :: AsError a => Fold a ServiceError Source #
Request references a resource which does not exist.
_ServiceQuotaExceededException :: AsError a => Fold a ServiceError Source #
Request would cause a service quota to be exceeded. The limit is 10 concurrent operations.
_ThrottlingException :: AsError a => Fold a ServiceError Source #
Request was denied due to request throttling.
_ValidationException :: AsError a => Fold a ServiceError Source #
The input fails to satisfy the constraints specified by an AWS service.
ControlOperationStatus
newtype ControlOperationStatus Source #
pattern ControlOperationStatus_FAILED :: ControlOperationStatus | |
pattern ControlOperationStatus_IN_PROGRESS :: ControlOperationStatus | |
pattern ControlOperationStatus_SUCCEEDED :: ControlOperationStatus |
Instances
ControlOperationType
newtype ControlOperationType Source #
pattern ControlOperationType_DISABLE_CONTROL :: ControlOperationType | |
pattern ControlOperationType_ENABLE_CONTROL :: ControlOperationType |
Instances
ControlOperation
data ControlOperation Source #
An operation performed by the control.
See: newControlOperation
smart constructor.
ControlOperation' | |
|
Instances
newControlOperation :: ControlOperation Source #
Create a value of ControlOperation
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:endTime:ControlOperation'
, controlOperation_endTime
- The time that the operation finished.
$sel:operationType:ControlOperation'
, controlOperation_operationType
- One of ENABLE_CONTROL
or DISABLE_CONTROL
.
$sel:startTime:ControlOperation'
, controlOperation_startTime
- The time that the operation began.
$sel:status:ControlOperation'
, controlOperation_status
- One of IN_PROGRESS
, SUCEEDED
, or FAILED
.
$sel:statusMessage:ControlOperation'
, controlOperation_statusMessage
- If the operation result is FAILED
, this string contains a message
explaining why the operation failed.
controlOperation_endTime :: Lens' ControlOperation (Maybe UTCTime) Source #
The time that the operation finished.
controlOperation_operationType :: Lens' ControlOperation (Maybe ControlOperationType) Source #
One of ENABLE_CONTROL
or DISABLE_CONTROL
.
controlOperation_startTime :: Lens' ControlOperation (Maybe UTCTime) Source #
The time that the operation began.
controlOperation_status :: Lens' ControlOperation (Maybe ControlOperationStatus) Source #
One of IN_PROGRESS
, SUCEEDED
, or FAILED
.
controlOperation_statusMessage :: Lens' ControlOperation (Maybe Text) Source #
If the operation result is FAILED
, this string contains a message
explaining why the operation failed.
EnabledControlSummary
data EnabledControlSummary Source #
A summary of enabled controls.
See: newEnabledControlSummary
smart constructor.
EnabledControlSummary' | |
|
Instances
newEnabledControlSummary :: EnabledControlSummary Source #
Create a value of EnabledControlSummary
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:controlIdentifier:EnabledControlSummary'
, enabledControlSummary_controlIdentifier
- The ARN of the control. Only Strongly recommended and Elective
controls are permitted, with the exception of the Region deny
guardrail.
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.