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

Description

 
Synopsis

Documentation

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.