libZSservicesZSamazonka-dsZSamazonka-ds
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq ShareTarget Source # 
Instance details

Defined in Amazonka.DirectoryService.Types.ShareTarget

Read ShareTarget Source # 
Instance details

Defined in Amazonka.DirectoryService.Types.ShareTarget

Show 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 #

NFData ShareTarget Source # 
Instance details

Defined in Amazonka.DirectoryService.Types.ShareTarget

Methods

rnf :: ShareTarget -> () #

Hashable ShareTarget Source # 
Instance details

Defined in Amazonka.DirectoryService.Types.ShareTarget

ToJSON 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" "libZSservicesZSamazonka-dsZSamazonka-ds" '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.