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

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