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 ShareTarget = ShareTarget' {
- id :: Text
- type' :: TargetType
- newShareTarget :: Text -> TargetType -> ShareTarget
- shareTarget_id :: Lens' ShareTarget Text
- shareTarget_type :: Lens' ShareTarget TargetType
Documentation
data ShareTarget Source #
Identifier that contains details about the directory consumer account.
See: newShareTarget
smart constructor.
ShareTarget' | |
|
Instances
Create a value of ShareTarget
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:ShareTarget'
, shareTarget_id
- Identifier of the directory consumer account.
$sel:type':ShareTarget'
, shareTarget_type
- Type of identifier to be used in the Id
field.
shareTarget_id :: Lens' ShareTarget Text Source #
Identifier of the directory consumer account.
shareTarget_type :: Lens' ShareTarget TargetType Source #
Type of identifier to be used in the Id
field.