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

Description

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

Synopsis

Creating a Request

data RejectSharedDirectory Source #

See: newRejectSharedDirectory smart constructor.

Constructors

RejectSharedDirectory' 

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

Defined in Amazonka.DirectoryService.RejectSharedDirectory

Read RejectSharedDirectory Source # 
Instance details

Defined in Amazonka.DirectoryService.RejectSharedDirectory

Show RejectSharedDirectory Source # 
Instance details

Defined in Amazonka.DirectoryService.RejectSharedDirectory

Generic RejectSharedDirectory Source # 
Instance details

Defined in Amazonka.DirectoryService.RejectSharedDirectory

Associated Types

type Rep RejectSharedDirectory :: Type -> Type #

NFData RejectSharedDirectory Source # 
Instance details

Defined in Amazonka.DirectoryService.RejectSharedDirectory

Methods

rnf :: RejectSharedDirectory -> () #

Hashable RejectSharedDirectory Source # 
Instance details

Defined in Amazonka.DirectoryService.RejectSharedDirectory

ToJSON RejectSharedDirectory Source # 
Instance details

Defined in Amazonka.DirectoryService.RejectSharedDirectory

AWSRequest RejectSharedDirectory Source # 
Instance details

Defined in Amazonka.DirectoryService.RejectSharedDirectory

Associated Types

type AWSResponse RejectSharedDirectory #

ToHeaders RejectSharedDirectory Source # 
Instance details

Defined in Amazonka.DirectoryService.RejectSharedDirectory

ToPath RejectSharedDirectory Source # 
Instance details

Defined in Amazonka.DirectoryService.RejectSharedDirectory

ToQuery RejectSharedDirectory Source # 
Instance details

Defined in Amazonka.DirectoryService.RejectSharedDirectory

type Rep RejectSharedDirectory Source # 
Instance details

Defined in Amazonka.DirectoryService.RejectSharedDirectory

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

Defined in Amazonka.DirectoryService.RejectSharedDirectory

newRejectSharedDirectory Source #

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

Request Lenses

rejectSharedDirectory_sharedDirectoryId :: Lens' RejectSharedDirectory 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 RejectSharedDirectoryResponse Source #

See: newRejectSharedDirectoryResponse smart constructor.

Constructors

RejectSharedDirectoryResponse' 

Fields

Instances

Instances details
Eq RejectSharedDirectoryResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.RejectSharedDirectory

Read RejectSharedDirectoryResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.RejectSharedDirectory

Show RejectSharedDirectoryResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.RejectSharedDirectory

Generic RejectSharedDirectoryResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.RejectSharedDirectory

Associated Types

type Rep RejectSharedDirectoryResponse :: Type -> Type #

NFData RejectSharedDirectoryResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.RejectSharedDirectory

type Rep RejectSharedDirectoryResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.RejectSharedDirectory

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

newRejectSharedDirectoryResponse Source #

Create a value of RejectSharedDirectoryResponse 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:RejectSharedDirectory', rejectSharedDirectoryResponse_sharedDirectoryId - Identifier of the shared directory in the directory consumer account.

$sel:httpStatus:RejectSharedDirectoryResponse', rejectSharedDirectoryResponse_httpStatus - The response's http status code.

Response Lenses

rejectSharedDirectoryResponse_sharedDirectoryId :: Lens' RejectSharedDirectoryResponse (Maybe Text) Source #

Identifier of the shared directory in the directory consumer account.