Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Return torrent files from a bucket.
See: AWS API Reference for GetObjectTorrent.
- 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
- gotrsRequestCharged :: Lens' GetObjectTorrentResponse (Maybe RequestCharged)
- gotrsStatus :: Lens' GetObjectTorrentResponse Int
- gotrsBody :: 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:
data GetObjectTorrent Source
See: getObjectTorrent
smart constructor.
Request Lenses
gotRequestPayer :: Lens' GetObjectTorrent (Maybe RequestPayer) Source
Undocumented member.
gotBucket :: Lens' GetObjectTorrent BucketName Source
Undocumented member.
gotKey :: Lens' GetObjectTorrent ObjectKey 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:
data GetObjectTorrentResponse Source
See: getObjectTorrentResponse
smart constructor.
Response Lenses
gotrsRequestCharged :: Lens' GetObjectTorrentResponse (Maybe RequestCharged) Source
Undocumented member.
gotrsStatus :: Lens' GetObjectTorrentResponse Int Source
The response status code.
gotrsBody :: Lens' GetObjectTorrentResponse RsBody Source
Undocumented member.