| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.MigrationHubConfig.Types.Target
Description
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.
Constructors
| Target' | |
Fields
| |
Instances
| FromJSON Target Source # | |
| ToJSON Target Source # | |
Defined in Amazonka.MigrationHubConfig.Types.Target | |
| Generic Target Source # | |
| Read Target Source # | |
| Show Target Source # | |
| NFData Target Source # | |
Defined in Amazonka.MigrationHubConfig.Types.Target | |
| Eq Target Source # | |
| Hashable Target Source # | |
Defined in Amazonka.MigrationHubConfig.Types.Target | |
| type Rep Target Source # | |
Defined in Amazonka.MigrationHubConfig.Types.Target type Rep Target = D1 ('MetaData "Target" "Amazonka.MigrationHubConfig.Types.Target" "amazonka-migrationhub-config-2.0-3Ai1l2DYBdtHtjir9KlsDr" '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))) | |
Arguments
| :: TargetType | |
| -> Target |
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.