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 |
Accepts a directory sharing request that was sent from the directory owner account.
Synopsis
- data AcceptSharedDirectory = AcceptSharedDirectory' {}
- newAcceptSharedDirectory :: Text -> AcceptSharedDirectory
- acceptSharedDirectory_sharedDirectoryId :: Lens' AcceptSharedDirectory Text
- data AcceptSharedDirectoryResponse = AcceptSharedDirectoryResponse' {}
- newAcceptSharedDirectoryResponse :: Int -> AcceptSharedDirectoryResponse
- acceptSharedDirectoryResponse_sharedDirectory :: Lens' AcceptSharedDirectoryResponse (Maybe SharedDirectory)
- acceptSharedDirectoryResponse_httpStatus :: Lens' AcceptSharedDirectoryResponse Int
Creating a Request
data AcceptSharedDirectory Source #
See: newAcceptSharedDirectory
smart constructor.
AcceptSharedDirectory' | |
|
Instances
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.
AcceptSharedDirectoryResponse' | |
|
Instances
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
acceptSharedDirectoryResponse_sharedDirectory :: Lens' AcceptSharedDirectoryResponse (Maybe SharedDirectory) Source #
The shared directory in the directory consumer account.
acceptSharedDirectoryResponse_httpStatus :: Lens' AcceptSharedDirectoryResponse Int Source #
The response's http status code.