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.Types

Description

 
Synopsis

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 #

Instances

Instances details
FromJSON ControlOperationStatus Source # 
Instance details

Defined in Amazonka.ControlTower.Types.ControlOperationStatus

FromJSONKey ControlOperationStatus Source # 
Instance details

Defined in Amazonka.ControlTower.Types.ControlOperationStatus

ToJSON ControlOperationStatus Source # 
Instance details

Defined in Amazonka.ControlTower.Types.ControlOperationStatus

ToJSONKey ControlOperationStatus Source # 
Instance details

Defined in Amazonka.ControlTower.Types.ControlOperationStatus

ToByteString ControlOperationStatus Source # 
Instance details

Defined in Amazonka.ControlTower.Types.ControlOperationStatus

ToHeader ControlOperationStatus Source # 
Instance details

Defined in Amazonka.ControlTower.Types.ControlOperationStatus

ToLog ControlOperationStatus Source # 
Instance details

Defined in Amazonka.ControlTower.Types.ControlOperationStatus

ToQuery ControlOperationStatus Source # 
Instance details

Defined in Amazonka.ControlTower.Types.ControlOperationStatus

FromText ControlOperationStatus Source # 
Instance details

Defined in Amazonka.ControlTower.Types.ControlOperationStatus

ToText ControlOperationStatus Source # 
Instance details

Defined in Amazonka.ControlTower.Types.ControlOperationStatus

FromXML ControlOperationStatus Source # 
Instance details

Defined in Amazonka.ControlTower.Types.ControlOperationStatus

ToXML ControlOperationStatus Source # 
Instance details

Defined in Amazonka.ControlTower.Types.ControlOperationStatus

Generic ControlOperationStatus Source # 
Instance details

Defined in Amazonka.ControlTower.Types.ControlOperationStatus

Associated Types

type Rep ControlOperationStatus :: Type -> Type #

Read ControlOperationStatus Source # 
Instance details

Defined in Amazonka.ControlTower.Types.ControlOperationStatus

Show ControlOperationStatus Source # 
Instance details

Defined in Amazonka.ControlTower.Types.ControlOperationStatus

NFData ControlOperationStatus Source # 
Instance details

Defined in Amazonka.ControlTower.Types.ControlOperationStatus

Methods

rnf :: ControlOperationStatus -> () #

Eq ControlOperationStatus Source # 
Instance details

Defined in Amazonka.ControlTower.Types.ControlOperationStatus

Ord ControlOperationStatus Source # 
Instance details

Defined in Amazonka.ControlTower.Types.ControlOperationStatus

Hashable ControlOperationStatus Source # 
Instance details

Defined in Amazonka.ControlTower.Types.ControlOperationStatus

type Rep ControlOperationStatus Source # 
Instance details

Defined in Amazonka.ControlTower.Types.ControlOperationStatus

type Rep ControlOperationStatus = D1 ('MetaData "ControlOperationStatus" "Amazonka.ControlTower.Types.ControlOperationStatus" "amazonka-controltower-2.0-D5OXoInTRe9EXmxA0ATl1r" 'True) (C1 ('MetaCons "ControlOperationStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromControlOperationStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ControlOperationType

newtype ControlOperationType Source #

Instances

Instances details
FromJSON ControlOperationType Source # 
Instance details

Defined in Amazonka.ControlTower.Types.ControlOperationType

FromJSONKey ControlOperationType Source # 
Instance details

Defined in Amazonka.ControlTower.Types.ControlOperationType

ToJSON ControlOperationType Source # 
Instance details

Defined in Amazonka.ControlTower.Types.ControlOperationType

ToJSONKey ControlOperationType Source # 
Instance details

Defined in Amazonka.ControlTower.Types.ControlOperationType

ToByteString ControlOperationType Source # 
Instance details

Defined in Amazonka.ControlTower.Types.ControlOperationType

ToHeader ControlOperationType Source # 
Instance details

Defined in Amazonka.ControlTower.Types.ControlOperationType

ToLog ControlOperationType Source # 
Instance details

Defined in Amazonka.ControlTower.Types.ControlOperationType

ToQuery ControlOperationType Source # 
Instance details

Defined in Amazonka.ControlTower.Types.ControlOperationType

FromText ControlOperationType Source # 
Instance details

Defined in Amazonka.ControlTower.Types.ControlOperationType

ToText ControlOperationType Source # 
Instance details

Defined in Amazonka.ControlTower.Types.ControlOperationType

FromXML ControlOperationType Source # 
Instance details

Defined in Amazonka.ControlTower.Types.ControlOperationType

ToXML ControlOperationType Source # 
Instance details

Defined in Amazonka.ControlTower.Types.ControlOperationType

Generic ControlOperationType Source # 
Instance details

Defined in Amazonka.ControlTower.Types.ControlOperationType

Associated Types

type Rep ControlOperationType :: Type -> Type #

Read ControlOperationType Source # 
Instance details

Defined in Amazonka.ControlTower.Types.ControlOperationType

Show ControlOperationType Source # 
Instance details

Defined in Amazonka.ControlTower.Types.ControlOperationType

NFData ControlOperationType Source # 
Instance details

Defined in Amazonka.ControlTower.Types.ControlOperationType

Methods

rnf :: ControlOperationType -> () #

Eq ControlOperationType Source # 
Instance details

Defined in Amazonka.ControlTower.Types.ControlOperationType

Ord ControlOperationType Source # 
Instance details

Defined in Amazonka.ControlTower.Types.ControlOperationType

Hashable ControlOperationType Source # 
Instance details

Defined in Amazonka.ControlTower.Types.ControlOperationType

type Rep ControlOperationType Source # 
Instance details

Defined in Amazonka.ControlTower.Types.ControlOperationType

type Rep ControlOperationType = D1 ('MetaData "ControlOperationType" "Amazonka.ControlTower.Types.ControlOperationType" "amazonka-controltower-2.0-D5OXoInTRe9EXmxA0ATl1r" 'True) (C1 ('MetaCons "ControlOperationType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromControlOperationType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ControlOperation

data ControlOperation Source #

An operation performed by the control.

See: newControlOperation smart constructor.

Constructors

ControlOperation' 

Fields

Instances

Instances details
FromJSON ControlOperation Source # 
Instance details

Defined in Amazonka.ControlTower.Types.ControlOperation

Generic ControlOperation Source # 
Instance details

Defined in Amazonka.ControlTower.Types.ControlOperation

Associated Types

type Rep ControlOperation :: Type -> Type #

Read ControlOperation Source # 
Instance details

Defined in Amazonka.ControlTower.Types.ControlOperation

Show ControlOperation Source # 
Instance details

Defined in Amazonka.ControlTower.Types.ControlOperation

NFData ControlOperation Source # 
Instance details

Defined in Amazonka.ControlTower.Types.ControlOperation

Methods

rnf :: ControlOperation -> () #

Eq ControlOperation Source # 
Instance details

Defined in Amazonka.ControlTower.Types.ControlOperation

Hashable ControlOperation Source # 
Instance details

Defined in Amazonka.ControlTower.Types.ControlOperation

type Rep ControlOperation Source # 
Instance details

Defined in Amazonka.ControlTower.Types.ControlOperation

type Rep ControlOperation = D1 ('MetaData "ControlOperation" "Amazonka.ControlTower.Types.ControlOperation" "amazonka-controltower-2.0-D5OXoInTRe9EXmxA0ATl1r" 'False) (C1 ('MetaCons "ControlOperation'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: S1 ('MetaSel ('Just "operationType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ControlOperationType))) :*: (S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ControlOperationStatus)) :*: S1 ('MetaSel ('Just "statusMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

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_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

data EnabledControlSummary Source #

A summary of enabled controls.

See: newEnabledControlSummary smart constructor.

Constructors

EnabledControlSummary' 

Fields

  • controlIdentifier :: Maybe Text

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

Instances

Instances details
FromJSON EnabledControlSummary Source # 
Instance details

Defined in Amazonka.ControlTower.Types.EnabledControlSummary

Generic EnabledControlSummary Source # 
Instance details

Defined in Amazonka.ControlTower.Types.EnabledControlSummary

Associated Types

type Rep EnabledControlSummary :: Type -> Type #

Read EnabledControlSummary Source # 
Instance details

Defined in Amazonka.ControlTower.Types.EnabledControlSummary

Show EnabledControlSummary Source # 
Instance details

Defined in Amazonka.ControlTower.Types.EnabledControlSummary

NFData EnabledControlSummary Source # 
Instance details

Defined in Amazonka.ControlTower.Types.EnabledControlSummary

Methods

rnf :: EnabledControlSummary -> () #

Eq EnabledControlSummary Source # 
Instance details

Defined in Amazonka.ControlTower.Types.EnabledControlSummary

Hashable EnabledControlSummary Source # 
Instance details

Defined in Amazonka.ControlTower.Types.EnabledControlSummary

type Rep EnabledControlSummary Source # 
Instance details

Defined in Amazonka.ControlTower.Types.EnabledControlSummary

type Rep EnabledControlSummary = D1 ('MetaData "EnabledControlSummary" "Amazonka.ControlTower.Types.EnabledControlSummary" "amazonka-controltower-2.0-D5OXoInTRe9EXmxA0ATl1r" 'False) (C1 ('MetaCons "EnabledControlSummary'" 'PrefixI 'True) (S1 ('MetaSel ('Just "controlIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

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.