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.AcceptSharedDirectory

Description

Accepts a directory sharing request that was sent from the directory owner account.

Synopsis

Creating a Request

data AcceptSharedDirectory Source #

See: newAcceptSharedDirectory smart constructor.

Constructors

AcceptSharedDirectory' 

Fields

  • sharedDirectoryId :: Text

    Identifier of the shared directory in the directory consumer account. This identifier is different for each directory owner account.

Instances

Instances details
Eq AcceptSharedDirectory Source # 
Instance details

Defined in Amazonka.DirectoryService.AcceptSharedDirectory

Read AcceptSharedDirectory Source # 
Instance details

Defined in Amazonka.DirectoryService.AcceptSharedDirectory

Show AcceptSharedDirectory Source # 
Instance details

Defined in Amazonka.DirectoryService.AcceptSharedDirectory

Generic AcceptSharedDirectory Source # 
Instance details

Defined in Amazonka.DirectoryService.AcceptSharedDirectory

Associated Types

type Rep AcceptSharedDirectory :: Type -> Type #

NFData AcceptSharedDirectory Source # 
Instance details

Defined in Amazonka.DirectoryService.AcceptSharedDirectory

Methods

rnf :: AcceptSharedDirectory -> () #

Hashable AcceptSharedDirectory Source # 
Instance details

Defined in Amazonka.DirectoryService.AcceptSharedDirectory

ToJSON AcceptSharedDirectory Source # 
Instance details

Defined in Amazonka.DirectoryService.AcceptSharedDirectory

AWSRequest AcceptSharedDirectory Source # 
Instance details

Defined in Amazonka.DirectoryService.AcceptSharedDirectory

Associated Types

type AWSResponse AcceptSharedDirectory #

ToHeaders AcceptSharedDirectory Source # 
Instance details

Defined in Amazonka.DirectoryService.AcceptSharedDirectory

ToPath AcceptSharedDirectory Source # 
Instance details

Defined in Amazonka.DirectoryService.AcceptSharedDirectory

ToQuery AcceptSharedDirectory Source # 
Instance details

Defined in Amazonka.DirectoryService.AcceptSharedDirectory

type Rep AcceptSharedDirectory Source # 
Instance details

Defined in Amazonka.DirectoryService.AcceptSharedDirectory

type Rep AcceptSharedDirectory = D1 ('MetaData "AcceptSharedDirectory" "Amazonka.DirectoryService.AcceptSharedDirectory" "libZSservicesZSamazonka-dsZSamazonka-ds" 'False) (C1 ('MetaCons "AcceptSharedDirectory'" 'PrefixI 'True) (S1 ('MetaSel ('Just "sharedDirectoryId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse AcceptSharedDirectory Source # 
Instance details

Defined in Amazonka.DirectoryService.AcceptSharedDirectory

newAcceptSharedDirectory Source #

Create a value of AcceptSharedDirectory 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:sharedDirectoryId:AcceptSharedDirectory', acceptSharedDirectory_sharedDirectoryId - Identifier of the shared directory in the directory consumer account. This identifier is different for each directory owner account.

Request Lenses

acceptSharedDirectory_sharedDirectoryId :: Lens' AcceptSharedDirectory Text Source #

Identifier of the shared directory in the directory consumer account. This identifier is different for each directory owner account.

Destructuring the Response

data AcceptSharedDirectoryResponse Source #

See: newAcceptSharedDirectoryResponse smart constructor.

Constructors

AcceptSharedDirectoryResponse' 

Fields

Instances

Instances details
Eq AcceptSharedDirectoryResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.AcceptSharedDirectory

Show AcceptSharedDirectoryResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.AcceptSharedDirectory

Generic AcceptSharedDirectoryResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.AcceptSharedDirectory

Associated Types

type Rep AcceptSharedDirectoryResponse :: Type -> Type #

NFData AcceptSharedDirectoryResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.AcceptSharedDirectory

type Rep AcceptSharedDirectoryResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.AcceptSharedDirectory

type Rep AcceptSharedDirectoryResponse = D1 ('MetaData "AcceptSharedDirectoryResponse" "Amazonka.DirectoryService.AcceptSharedDirectory" "libZSservicesZSamazonka-dsZSamazonka-ds" 'False) (C1 ('MetaCons "AcceptSharedDirectoryResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "sharedDirectory") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SharedDirectory)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newAcceptSharedDirectoryResponse Source #

Create a value of AcceptSharedDirectoryResponse 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:sharedDirectory:AcceptSharedDirectoryResponse', acceptSharedDirectoryResponse_sharedDirectory - The shared directory in the directory consumer account.

$sel:httpStatus:AcceptSharedDirectoryResponse', acceptSharedDirectoryResponse_httpStatus - The response's http status code.

Response Lenses