Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Rejects a directory sharing request that was sent from the directory owner account.
Synopsis
- data RejectSharedDirectory = RejectSharedDirectory' {}
- newRejectSharedDirectory :: Text -> RejectSharedDirectory
- rejectSharedDirectory_sharedDirectoryId :: Lens' RejectSharedDirectory Text
- data RejectSharedDirectoryResponse = RejectSharedDirectoryResponse' {}
- newRejectSharedDirectoryResponse :: Int -> RejectSharedDirectoryResponse
- rejectSharedDirectoryResponse_sharedDirectoryId :: Lens' RejectSharedDirectoryResponse (Maybe Text)
- rejectSharedDirectoryResponse_httpStatus :: Lens' RejectSharedDirectoryResponse Int
Creating a Request
data RejectSharedDirectory Source #
See: newRejectSharedDirectory
smart constructor.
RejectSharedDirectory' | |
|
Instances
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.
RejectSharedDirectoryResponse' | |
|
Instances
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.
rejectSharedDirectoryResponse_httpStatus :: Lens' RejectSharedDirectoryResponse Int Source #
The response's http status code.