libZSservicesZSamazonka-migrationhub-configZSamazonka-migrationhub-config
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.MigrationHubConfig.Types

Description

 
Synopsis

Service Configuration

defaultService :: Service Source #

API version 2019-06-30 of the Amazon Migration Hub Config SDK configuration.

Errors

_AccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError Source #

You do not have sufficient access to perform this action.

_DryRunOperation :: AsError a => Getting (First ServiceError) a ServiceError Source #

Exception raised to indicate that authorization of an action was successful, when the DryRun flag is set to true.

_ThrottlingException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The request was denied due to request throttling.

_InternalServerError :: AsError a => Getting (First ServiceError) a ServiceError Source #

Exception raised when an internal, configuration, or dependency error is encountered.

_InvalidInputException :: AsError a => Getting (First ServiceError) a ServiceError Source #

Exception raised when the provided input violates a policy constraint or is entered in the wrong format or data type.

_ServiceUnavailableException :: AsError a => Getting (First ServiceError) a ServiceError Source #

Exception raised when a request fails due to temporary unavailability of the service.

TargetType

newtype TargetType Source #

Constructors

TargetType' 

Fields

Bundled Patterns

pattern TargetType_ACCOUNT :: TargetType 

Instances

Instances details
Eq TargetType Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.TargetType

Ord TargetType Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.TargetType

Read TargetType Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.TargetType

Show TargetType Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.TargetType

Generic TargetType Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.TargetType

Associated Types

type Rep TargetType :: Type -> Type #

NFData TargetType Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.TargetType

Methods

rnf :: TargetType -> () #

Hashable TargetType Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.TargetType

ToJSON TargetType Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.TargetType

ToJSONKey TargetType Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.TargetType

FromJSON TargetType Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.TargetType

FromJSONKey TargetType Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.TargetType

ToLog TargetType Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.TargetType

ToHeader TargetType Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.TargetType

ToQuery TargetType Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.TargetType

FromXML TargetType Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.TargetType

ToXML TargetType Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.TargetType

Methods

toXML :: TargetType -> XML #

ToByteString TargetType Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.TargetType

FromText TargetType Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.TargetType

ToText TargetType Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.TargetType

Methods

toText :: TargetType -> Text #

type Rep TargetType Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.TargetType

type Rep TargetType = D1 ('MetaData "TargetType" "Amazonka.MigrationHubConfig.Types.TargetType" "libZSservicesZSamazonka-migrationhub-configZSamazonka-migrationhub-config" 'True) (C1 ('MetaCons "TargetType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromTargetType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

HomeRegionControl

data HomeRegionControl Source #

A home region control is an object that specifies the home region for an account, with some additional information. It contains a target (always of type ACCOUNT), an ID, and a time at which the home region was set.

See: newHomeRegionControl smart constructor.

Constructors

HomeRegionControl' 

Fields

  • requestedTime :: Maybe POSIX

    A timestamp representing the time when the customer called CreateHomeregionControl and set the home region for the account.

  • homeRegion :: Maybe Text

    The AWS Region that's been set as home region. For example, "us-west-2" or "eu-central-1" are valid home regions.

  • controlId :: Maybe Text

    A unique identifier that's generated for each home region control. It's always a string that begins with "hrc-" followed by 12 lowercase letters and numbers.

  • target :: Maybe Target

    The target parameter specifies the identifier to which the home region is applied, which is always an ACCOUNT. It applies the home region to the current ACCOUNT.

Instances

Instances details
Eq HomeRegionControl Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.HomeRegionControl

Read HomeRegionControl Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.HomeRegionControl

Show HomeRegionControl Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.HomeRegionControl

Generic HomeRegionControl Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.HomeRegionControl

Associated Types

type Rep HomeRegionControl :: Type -> Type #

NFData HomeRegionControl Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.HomeRegionControl

Methods

rnf :: HomeRegionControl -> () #

Hashable HomeRegionControl Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.HomeRegionControl

FromJSON HomeRegionControl Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.HomeRegionControl

type Rep HomeRegionControl Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.HomeRegionControl

type Rep HomeRegionControl = D1 ('MetaData "HomeRegionControl" "Amazonka.MigrationHubConfig.Types.HomeRegionControl" "libZSservicesZSamazonka-migrationhub-configZSamazonka-migrationhub-config" 'False) (C1 ('MetaCons "HomeRegionControl'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "requestedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "homeRegion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "controlId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "target") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Target)))))

newHomeRegionControl :: HomeRegionControl Source #

Create a value of HomeRegionControl 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:requestedTime:HomeRegionControl', homeRegionControl_requestedTime - A timestamp representing the time when the customer called CreateHomeregionControl and set the home region for the account.

$sel:homeRegion:HomeRegionControl', homeRegionControl_homeRegion - The AWS Region that's been set as home region. For example, "us-west-2" or "eu-central-1" are valid home regions.

$sel:controlId:HomeRegionControl', homeRegionControl_controlId - A unique identifier that's generated for each home region control. It's always a string that begins with "hrc-" followed by 12 lowercase letters and numbers.

$sel:target:HomeRegionControl', homeRegionControl_target - The target parameter specifies the identifier to which the home region is applied, which is always an ACCOUNT. It applies the home region to the current ACCOUNT.

homeRegionControl_requestedTime :: Lens' HomeRegionControl (Maybe UTCTime) Source #

A timestamp representing the time when the customer called CreateHomeregionControl and set the home region for the account.

homeRegionControl_homeRegion :: Lens' HomeRegionControl (Maybe Text) Source #

The AWS Region that's been set as home region. For example, "us-west-2" or "eu-central-1" are valid home regions.

homeRegionControl_controlId :: Lens' HomeRegionControl (Maybe Text) Source #

A unique identifier that's generated for each home region control. It's always a string that begins with "hrc-" followed by 12 lowercase letters and numbers.

homeRegionControl_target :: Lens' HomeRegionControl (Maybe Target) Source #

The target parameter specifies the identifier to which the home region is applied, which is always an ACCOUNT. It applies the home region to the current ACCOUNT.

Target

data Target Source #

The target parameter specifies the identifier to which the home region is applied, which is always an ACCOUNT. It applies the home region to the current ACCOUNT.

See: newTarget smart constructor.

Constructors

Target' 

Fields

  • id :: Maybe Text

    The TargetID is a 12-character identifier of the ACCOUNT for which the control was created. (This must be the current account.)

  • type' :: TargetType

    The target type is always an ACCOUNT.

Instances

Instances details
Eq Target Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.Target

Methods

(==) :: Target -> Target -> Bool #

(/=) :: Target -> Target -> Bool #

Read Target Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.Target

Show Target Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.Target

Generic Target Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.Target

Associated Types

type Rep Target :: Type -> Type #

Methods

from :: Target -> Rep Target x #

to :: Rep Target x -> Target #

NFData Target Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.Target

Methods

rnf :: Target -> () #

Hashable Target Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.Target

Methods

hashWithSalt :: Int -> Target -> Int #

hash :: Target -> Int #

ToJSON Target Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.Target

FromJSON Target Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.Target

type Rep Target Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.Target

type Rep Target = D1 ('MetaData "Target" "Amazonka.MigrationHubConfig.Types.Target" "libZSservicesZSamazonka-migrationhub-configZSamazonka-migrationhub-config" 'False) (C1 ('MetaCons "Target'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TargetType)))

newTarget Source #

Create a value of Target 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:id:Target', target_id - The TargetID is a 12-character identifier of the ACCOUNT for which the control was created. (This must be the current account.)

$sel:type':Target', target_type - The target type is always an ACCOUNT.

target_id :: Lens' Target (Maybe Text) Source #

The TargetID is a 12-character identifier of the ACCOUNT for which the control was created. (This must be the current account.)

target_type :: Lens' Target TargetType Source #

The target type is always an ACCOUNT.