Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data Target = Target' {
- id :: Maybe Text
- type' :: TargetType
- newTarget :: TargetType -> Target
- target_id :: Lens' Target (Maybe Text)
- target_type :: Lens' Target TargetType
Documentation
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.
Target' | |
|
Instances
Eq Target Source # | |
Read Target Source # | |
Show Target Source # | |
Generic Target Source # | |
NFData Target Source # | |
Defined in Amazonka.MigrationHubConfig.Types.Target | |
Hashable Target Source # | |
Defined in Amazonka.MigrationHubConfig.Types.Target | |
ToJSON Target Source # | |
Defined in Amazonka.MigrationHubConfig.Types.Target | |
FromJSON Target Source # | |
type Rep Target Source # | |
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))) |
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
.