amazonka-ds-2.0: Amazon Directory Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.DirectoryService.Types.ShareTarget

Description

 
Synopsis

Documentation

data ShareTarget Source #

Identifier that contains details about the directory consumer account.

See: newShareTarget smart constructor.

Constructors

ShareTarget' 

Fields

  • id :: Text

    Identifier of the directory consumer account.

  • type' :: TargetType

    Type of identifier to be used in the Id field.

Instances

Instances details
ToJSON ShareTarget Source # 
Instance details

Defined in Amazonka.DirectoryService.Types.ShareTarget

Generic ShareTarget Source # 
Instance details

Defined in Amazonka.DirectoryService.Types.ShareTarget

Associated Types

type Rep ShareTarget :: Type -> Type #

Read ShareTarget Source # 
Instance details

Defined in Amazonka.DirectoryService.Types.ShareTarget

Show ShareTarget Source # 
Instance details

Defined in Amazonka.DirectoryService.Types.ShareTarget

NFData ShareTarget Source # 
Instance details

Defined in Amazonka.DirectoryService.Types.ShareTarget

Methods

rnf :: ShareTarget -> () #

Eq ShareTarget Source # 
Instance details

Defined in Amazonka.DirectoryService.Types.ShareTarget

Hashable ShareTarget Source # 
Instance details

Defined in Amazonka.DirectoryService.Types.ShareTarget

type Rep ShareTarget Source # 
Instance details

Defined in Amazonka.DirectoryService.Types.ShareTarget

type Rep ShareTarget = D1 ('MetaData "ShareTarget" "Amazonka.DirectoryService.Types.ShareTarget" "amazonka-ds-2.0-AgXI5fcN8ZxCoi4kNvhD3" 'False) (C1 ('MetaCons "ShareTarget'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TargetType)))

newShareTarget Source #

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.