| 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.DirectoryService.Types.ShareTarget
Description
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.
Constructors
| ShareTarget' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> TargetType | |
| -> ShareTarget |
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.