amazonka-migrationhub-config-2.0: Amazon Migration Hub Config 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.MigrationHubConfig.Types.HomeRegionControl

Description

 
Synopsis

Documentation

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

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

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

  • requestedTime :: Maybe POSIX

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

  • 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
FromJSON 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 #

Read HomeRegionControl Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.HomeRegionControl

Show HomeRegionControl Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.HomeRegionControl

NFData HomeRegionControl Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.HomeRegionControl

Methods

rnf :: HomeRegionControl -> () #

Eq HomeRegionControl Source # 
Instance details

Defined in Amazonka.MigrationHubConfig.Types.HomeRegionControl

Hashable 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" "amazonka-migrationhub-config-2.0-3Ai1l2DYBdtHtjir9KlsDr" 'False) (C1 ('MetaCons "HomeRegionControl'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "controlId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "homeRegion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "requestedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: 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: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: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:requestedTime:HomeRegionControl', homeRegionControl_requestedTime - A timestamp representing the time when the customer called CreateHomeregionControl and set the home region for the account.

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