Copyright | (c) 2013-2017 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 |
Language | Haskell2010 |
Return torrent files from a bucket.
- getObjectTorrent :: BucketName -> ObjectKey -> GetObjectTorrent
- data GetObjectTorrent
- gotRequestPayer :: Lens' GetObjectTorrent (Maybe RequestPayer)
- gotBucket :: Lens' GetObjectTorrent BucketName
- gotKey :: Lens' GetObjectTorrent ObjectKey
- getObjectTorrentResponse :: Int -> RsBody -> GetObjectTorrentResponse
- data GetObjectTorrentResponse
- getrsRequestCharged :: Lens' GetObjectTorrentResponse (Maybe RequestCharged)
- getrsResponseStatus :: Lens' GetObjectTorrentResponse Int
- getrsBody :: Lens' GetObjectTorrentResponse RsBody
Creating a Request
Creates a value of GetObjectTorrent
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gotRequestPayer
- Undocumented member.gotBucket
- Undocumented member.gotKey
- Undocumented member.
data GetObjectTorrent Source #
See: getObjectTorrent
smart constructor.
Request Lenses
gotRequestPayer :: Lens' GetObjectTorrent (Maybe RequestPayer) Source #
Undocumented member.
gotBucket :: Lens' GetObjectTorrent BucketName Source #
Undocumented member.
Destructuring the Response
getObjectTorrentResponse Source #
Creates a value of GetObjectTorrentResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
getrsRequestCharged
- Undocumented member.getrsResponseStatus
- -- | The response status code.getrsBody
- Undocumented member.
data GetObjectTorrentResponse Source #
See: getObjectTorrentResponse
smart constructor.
Response Lenses
getrsRequestCharged :: Lens' GetObjectTorrentResponse (Maybe RequestCharged) Source #
Undocumented member.
getrsResponseStatus :: Lens' GetObjectTorrentResponse Int Source #
- - | The response status code.