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

Description

Derived from API version 2018-05-10 of the AWS service descriptions, licensed under Apache 2.0.

These interfaces allow you to apply the AWS library of pre-defined controls to your organizational units, programmatically. In this context, controls are the same as AWS Control Tower guardrails.

To call these APIs, you'll need to know:

  • the ControlARN for the control--that is, the guardrail--you are targeting,
  • and the ARN associated with the target organizational unit (OU).

To get the ControlARN for your AWS Control Tower guardrail:

The ControlARN contains the control name which is specified in each guardrail. For a list of control names for Strongly recommended and Elective guardrails, see Resource identifiers for APIs and guardrails in the Automating tasks section of the AWS Control Tower User Guide. Remember that Mandatory guardrails cannot be added or removed.

ARN format: arn:aws:controltower:{REGION}::control/{CONTROL_NAME}

Example:

arn:aws:controltower:us-west-2::control/AWS-GR_AUTOSCALING_LAUNCH_CONFIG_PUBLIC_IP_DISABLED

To get the ARN for an OU:

In the AWS Organizations console, you can find the ARN for the OU on the Organizational unit details page associated with that OU.

OU ARN format:

arn:${Partition}:organizations::${MasterAccountId}:ou/o-${OrganizationId}/ou-${OrganizationalUnitId}

Details and examples

To view the open source resource repository on GitHub, see aws-cloudformation/aws-cloudformation-resource-providers-controltower

Recording API Requests

AWS Control Tower supports AWS CloudTrail, a service that records AWS API calls for your AWS account and delivers log files to an Amazon S3 bucket. By using information collected by CloudTrail, you can determine which requests the AWS Control Tower service received, who made the request and when, and so on. For more about AWS Control Tower and its support for CloudTrail, see Logging AWS Control Tower Actions with AWS CloudTrail in the AWS Control Tower User Guide. To learn more about CloudTrail, including how to turn it on and find your log files, see the AWS CloudTrail User Guide.

Synopsis

Service Configuration

defaultService :: Service Source #

API version 2018-05-10 of the Amazon Control Tower SDK configuration.

Errors

Error matchers are designed for use with the functions provided by Control.Exception.Lens. This allows catching (and rethrowing) service specific errors returned by ControlTower.

AccessDeniedException

_AccessDeniedException :: AsError a => Fold a ServiceError Source #

User does not have sufficient access to perform this action.

ConflictException

_ConflictException :: AsError a => Fold a ServiceError Source #

Updating or deleting a resource can cause an inconsistent state.

InternalServerException

_InternalServerException :: AsError a => Fold a ServiceError Source #

Unexpected error during processing of request.

ResourceNotFoundException

_ResourceNotFoundException :: AsError a => Fold a ServiceError Source #

Request references a resource which does not exist.

ServiceQuotaExceededException

_ServiceQuotaExceededException :: AsError a => Fold a ServiceError Source #

Request would cause a service quota to be exceeded. The limit is 10 concurrent operations.

ThrottlingException

_ThrottlingException :: AsError a => Fold a ServiceError Source #

Request was denied due to request throttling.

ValidationException

_ValidationException :: AsError a => Fold a ServiceError Source #

The input fails to satisfy the constraints specified by an AWS service.

Waiters

Waiters poll by repeatedly sending a request until some remote success condition configured by the Wait specification is fulfilled. The Wait specification determines how many attempts should be made, in addition to delay and retry strategies.

Operations

Some AWS operations return results that are incomplete and require subsequent requests in order to obtain the entire result set. The process of sending subsequent requests to continue where a previous request left off is called pagination. For example, the ListObjects operation of Amazon S3 returns up to 1000 objects at a time, and you must send subsequent requests with the appropriate Marker in order to retrieve the next page of results.

Operations that have an AWSPager instance can transparently perform subsequent requests, correctly setting Markers and other request facets to iterate through the entire result set of a truncated API operation. Operations which support this have an additional note in the documentation.

Many operations have the ability to filter results on the server side. See the individual operation parameters for details.

DisableControl

data DisableControl Source #

See: newDisableControl smart constructor.

Constructors

DisableControl' Text Text 

Instances

Instances details
ToJSON DisableControl Source # 
Instance details

Defined in Amazonka.ControlTower.DisableControl

ToHeaders DisableControl Source # 
Instance details

Defined in Amazonka.ControlTower.DisableControl

ToPath DisableControl Source # 
Instance details

Defined in Amazonka.ControlTower.DisableControl

ToQuery DisableControl Source # 
Instance details

Defined in Amazonka.ControlTower.DisableControl

AWSRequest DisableControl Source # 
Instance details

Defined in Amazonka.ControlTower.DisableControl

Associated Types

type AWSResponse DisableControl #

Generic DisableControl Source # 
Instance details

Defined in Amazonka.ControlTower.DisableControl

Associated Types

type Rep DisableControl :: Type -> Type #

Read DisableControl Source # 
Instance details

Defined in Amazonka.ControlTower.DisableControl

Show DisableControl Source # 
Instance details

Defined in Amazonka.ControlTower.DisableControl

NFData DisableControl Source # 
Instance details

Defined in Amazonka.ControlTower.DisableControl

Methods

rnf :: DisableControl -> () #

Eq DisableControl Source # 
Instance details

Defined in Amazonka.ControlTower.DisableControl

Hashable DisableControl Source # 
Instance details

Defined in Amazonka.ControlTower.DisableControl

type AWSResponse DisableControl Source # 
Instance details

Defined in Amazonka.ControlTower.DisableControl

type Rep DisableControl Source # 
Instance details

Defined in Amazonka.ControlTower.DisableControl

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

newDisableControl Source #

Create a value of DisableControl 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:

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

$sel:targetIdentifier:DisableControl', disableControl_targetIdentifier - The ARN of the organizational unit.

data DisableControlResponse Source #

See: newDisableControlResponse smart constructor.

Instances

Instances details
Generic DisableControlResponse Source # 
Instance details

Defined in Amazonka.ControlTower.DisableControl

Associated Types

type Rep DisableControlResponse :: Type -> Type #

Read DisableControlResponse Source # 
Instance details

Defined in Amazonka.ControlTower.DisableControl

Show DisableControlResponse Source # 
Instance details

Defined in Amazonka.ControlTower.DisableControl

NFData DisableControlResponse Source # 
Instance details

Defined in Amazonka.ControlTower.DisableControl

Methods

rnf :: DisableControlResponse -> () #

Eq DisableControlResponse Source # 
Instance details

Defined in Amazonka.ControlTower.DisableControl

type Rep DisableControlResponse Source # 
Instance details

Defined in Amazonka.ControlTower.DisableControl

type Rep DisableControlResponse = D1 ('MetaData "DisableControlResponse" "Amazonka.ControlTower.DisableControl" "amazonka-controltower-2.0-D5OXoInTRe9EXmxA0ATl1r" 'False) (C1 ('MetaCons "DisableControlResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "operationIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDisableControlResponse Source #

Create a value of DisableControlResponse 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:httpStatus:DisableControlResponse', disableControlResponse_httpStatus - The response's http status code.

$sel:operationIdentifier:DisableControlResponse', disableControlResponse_operationIdentifier - The ID of the asynchronous operation, which is used to track status. The operation is available for 90 days.

EnableControl

data EnableControl Source #

See: newEnableControl smart constructor.

Constructors

EnableControl' Text Text 

Instances

Instances details
ToJSON EnableControl Source # 
Instance details

Defined in Amazonka.ControlTower.EnableControl

ToHeaders EnableControl Source # 
Instance details

Defined in Amazonka.ControlTower.EnableControl

ToPath EnableControl Source # 
Instance details

Defined in Amazonka.ControlTower.EnableControl

ToQuery EnableControl Source # 
Instance details

Defined in Amazonka.ControlTower.EnableControl

AWSRequest EnableControl Source # 
Instance details

Defined in Amazonka.ControlTower.EnableControl

Associated Types

type AWSResponse EnableControl #

Generic EnableControl Source # 
Instance details

Defined in Amazonka.ControlTower.EnableControl

Associated Types

type Rep EnableControl :: Type -> Type #

Read EnableControl Source # 
Instance details

Defined in Amazonka.ControlTower.EnableControl

Show EnableControl Source # 
Instance details

Defined in Amazonka.ControlTower.EnableControl

NFData EnableControl Source # 
Instance details

Defined in Amazonka.ControlTower.EnableControl

Methods

rnf :: EnableControl -> () #

Eq EnableControl Source # 
Instance details

Defined in Amazonka.ControlTower.EnableControl

Hashable EnableControl Source # 
Instance details

Defined in Amazonka.ControlTower.EnableControl

type AWSResponse EnableControl Source # 
Instance details

Defined in Amazonka.ControlTower.EnableControl

type Rep EnableControl Source # 
Instance details

Defined in Amazonka.ControlTower.EnableControl

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

newEnableControl Source #

Create a value of EnableControl 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:

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

$sel:targetIdentifier:EnableControl', enableControl_targetIdentifier - The ARN of the organizational unit.

data EnableControlResponse Source #

See: newEnableControlResponse smart constructor.

Instances

Instances details
Generic EnableControlResponse Source # 
Instance details

Defined in Amazonka.ControlTower.EnableControl

Associated Types

type Rep EnableControlResponse :: Type -> Type #

Read EnableControlResponse Source # 
Instance details

Defined in Amazonka.ControlTower.EnableControl

Show EnableControlResponse Source # 
Instance details

Defined in Amazonka.ControlTower.EnableControl

NFData EnableControlResponse Source # 
Instance details

Defined in Amazonka.ControlTower.EnableControl

Methods

rnf :: EnableControlResponse -> () #

Eq EnableControlResponse Source # 
Instance details

Defined in Amazonka.ControlTower.EnableControl

type Rep EnableControlResponse Source # 
Instance details

Defined in Amazonka.ControlTower.EnableControl

type Rep EnableControlResponse = D1 ('MetaData "EnableControlResponse" "Amazonka.ControlTower.EnableControl" "amazonka-controltower-2.0-D5OXoInTRe9EXmxA0ATl1r" 'False) (C1 ('MetaCons "EnableControlResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "operationIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newEnableControlResponse Source #

Create a value of EnableControlResponse 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:httpStatus:EnableControlResponse', enableControlResponse_httpStatus - The response's http status code.

$sel:operationIdentifier:EnableControlResponse', enableControlResponse_operationIdentifier - The ID of the asynchronous operation, which is used to track status. The operation is available for 90 days.

GetControlOperation

data GetControlOperation Source #

See: newGetControlOperation smart constructor.

Instances

Instances details
ToJSON GetControlOperation Source # 
Instance details

Defined in Amazonka.ControlTower.GetControlOperation

ToHeaders GetControlOperation Source # 
Instance details

Defined in Amazonka.ControlTower.GetControlOperation

ToPath GetControlOperation Source # 
Instance details

Defined in Amazonka.ControlTower.GetControlOperation

ToQuery GetControlOperation Source # 
Instance details

Defined in Amazonka.ControlTower.GetControlOperation

AWSRequest GetControlOperation Source # 
Instance details

Defined in Amazonka.ControlTower.GetControlOperation

Associated Types

type AWSResponse GetControlOperation #

Generic GetControlOperation Source # 
Instance details

Defined in Amazonka.ControlTower.GetControlOperation

Associated Types

type Rep GetControlOperation :: Type -> Type #

Read GetControlOperation Source # 
Instance details

Defined in Amazonka.ControlTower.GetControlOperation

Show GetControlOperation Source # 
Instance details

Defined in Amazonka.ControlTower.GetControlOperation

NFData GetControlOperation Source # 
Instance details

Defined in Amazonka.ControlTower.GetControlOperation

Methods

rnf :: GetControlOperation -> () #

Eq GetControlOperation Source # 
Instance details

Defined in Amazonka.ControlTower.GetControlOperation

Hashable GetControlOperation Source # 
Instance details

Defined in Amazonka.ControlTower.GetControlOperation

type AWSResponse GetControlOperation Source # 
Instance details

Defined in Amazonka.ControlTower.GetControlOperation

type Rep GetControlOperation Source # 
Instance details

Defined in Amazonka.ControlTower.GetControlOperation

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

newGetControlOperation Source #

Create a value of GetControlOperation 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:operationIdentifier:GetControlOperation', getControlOperation_operationIdentifier - The ID of the asynchronous operation, which is used to track status. The operation is available for 90 days.

data GetControlOperationResponse Source #

See: newGetControlOperationResponse smart constructor.

Instances

Instances details
Generic GetControlOperationResponse Source # 
Instance details

Defined in Amazonka.ControlTower.GetControlOperation

Associated Types

type Rep GetControlOperationResponse :: Type -> Type #

Read GetControlOperationResponse Source # 
Instance details

Defined in Amazonka.ControlTower.GetControlOperation

Show GetControlOperationResponse Source # 
Instance details

Defined in Amazonka.ControlTower.GetControlOperation

NFData GetControlOperationResponse Source # 
Instance details

Defined in Amazonka.ControlTower.GetControlOperation

Eq GetControlOperationResponse Source # 
Instance details

Defined in Amazonka.ControlTower.GetControlOperation

type Rep GetControlOperationResponse Source # 
Instance details

Defined in Amazonka.ControlTower.GetControlOperation

type Rep GetControlOperationResponse = D1 ('MetaData "GetControlOperationResponse" "Amazonka.ControlTower.GetControlOperation" "amazonka-controltower-2.0-D5OXoInTRe9EXmxA0ATl1r" 'False) (C1 ('MetaCons "GetControlOperationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "controlOperation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ControlOperation)))

newGetControlOperationResponse Source #

Create a value of GetControlOperationResponse 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:httpStatus:GetControlOperationResponse', getControlOperationResponse_httpStatus - The response's http status code.

$sel:controlOperation:GetControlOperationResponse', getControlOperationResponse_controlOperation -

ListEnabledControls (Paginated)

data ListEnabledControls Source #

See: newListEnabledControls smart constructor.

Instances

Instances details
ToJSON ListEnabledControls Source # 
Instance details

Defined in Amazonka.ControlTower.ListEnabledControls

ToHeaders ListEnabledControls Source # 
Instance details

Defined in Amazonka.ControlTower.ListEnabledControls

ToPath ListEnabledControls Source # 
Instance details

Defined in Amazonka.ControlTower.ListEnabledControls

ToQuery ListEnabledControls Source # 
Instance details

Defined in Amazonka.ControlTower.ListEnabledControls

AWSPager ListEnabledControls Source # 
Instance details

Defined in Amazonka.ControlTower.ListEnabledControls

AWSRequest ListEnabledControls Source # 
Instance details

Defined in Amazonka.ControlTower.ListEnabledControls

Associated Types

type AWSResponse ListEnabledControls #

Generic ListEnabledControls Source # 
Instance details

Defined in Amazonka.ControlTower.ListEnabledControls

Associated Types

type Rep ListEnabledControls :: Type -> Type #

Read ListEnabledControls Source # 
Instance details

Defined in Amazonka.ControlTower.ListEnabledControls

Show ListEnabledControls Source # 
Instance details

Defined in Amazonka.ControlTower.ListEnabledControls

NFData ListEnabledControls Source # 
Instance details

Defined in Amazonka.ControlTower.ListEnabledControls

Methods

rnf :: ListEnabledControls -> () #

Eq ListEnabledControls Source # 
Instance details

Defined in Amazonka.ControlTower.ListEnabledControls

Hashable ListEnabledControls Source # 
Instance details

Defined in Amazonka.ControlTower.ListEnabledControls

type AWSResponse ListEnabledControls Source # 
Instance details

Defined in Amazonka.ControlTower.ListEnabledControls

type Rep ListEnabledControls Source # 
Instance details

Defined in Amazonka.ControlTower.ListEnabledControls

type Rep ListEnabledControls = D1 ('MetaData "ListEnabledControls" "Amazonka.ControlTower.ListEnabledControls" "amazonka-controltower-2.0-D5OXoInTRe9EXmxA0ATl1r" 'False) (C1 ('MetaCons "ListEnabledControls'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "targetIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newListEnabledControls Source #

Create a value of ListEnabledControls 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:maxResults:ListEnabledControls', listEnabledControls_maxResults - How many results to return per API call.

ListEnabledControls, listEnabledControls_nextToken - The token to continue the list from a previous API call with the same parameters.

$sel:targetIdentifier:ListEnabledControls', listEnabledControls_targetIdentifier - The ARN of the organizational unit.

data ListEnabledControlsResponse Source #

See: newListEnabledControlsResponse smart constructor.

Instances

Instances details
Generic ListEnabledControlsResponse Source # 
Instance details

Defined in Amazonka.ControlTower.ListEnabledControls

Associated Types

type Rep ListEnabledControlsResponse :: Type -> Type #

Read ListEnabledControlsResponse Source # 
Instance details

Defined in Amazonka.ControlTower.ListEnabledControls

Show ListEnabledControlsResponse Source # 
Instance details

Defined in Amazonka.ControlTower.ListEnabledControls

NFData ListEnabledControlsResponse Source # 
Instance details

Defined in Amazonka.ControlTower.ListEnabledControls

Eq ListEnabledControlsResponse Source # 
Instance details

Defined in Amazonka.ControlTower.ListEnabledControls

type Rep ListEnabledControlsResponse Source # 
Instance details

Defined in Amazonka.ControlTower.ListEnabledControls

type Rep ListEnabledControlsResponse = D1 ('MetaData "ListEnabledControlsResponse" "Amazonka.ControlTower.ListEnabledControls" "amazonka-controltower-2.0-D5OXoInTRe9EXmxA0ATl1r" 'False) (C1 ('MetaCons "ListEnabledControlsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "enabledControls") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [EnabledControlSummary]))))

newListEnabledControlsResponse Source #

Create a value of ListEnabledControlsResponse 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:

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

$sel:httpStatus:ListEnabledControlsResponse', listEnabledControlsResponse_httpStatus - The response's http status code.

$sel:enabledControls:ListEnabledControlsResponse', listEnabledControlsResponse_enabledControls - Lists the controls enabled by AWS Control Tower on the specified organizational unit and the accounts it contains.

Types

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.

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.

EnabledControlSummary

data EnabledControlSummary Source #

A summary of enabled controls.

See: newEnabledControlSummary smart constructor.

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.