Copyright | (c) 2015-2016 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 |
Retrieves a data transfer request by its resource ID.
See: Admin Data Transfer API Reference for datatransfer.transfers.get
.
Synopsis
- type TransfersGetResource = "admin" :> ("datatransfer" :> ("v1" :> ("transfers" :> (Capture "dataTransferId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] DataTransfer)))))
- transfersGet :: Text -> TransfersGet
- data TransfersGet
- tgDataTransferId :: Lens' TransfersGet Text
REST Resource
type TransfersGetResource = "admin" :> ("datatransfer" :> ("v1" :> ("transfers" :> (Capture "dataTransferId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] DataTransfer))))) Source #
A resource alias for datatransfer.transfers.get
method which the
TransfersGet
request conforms to.
Creating a Request
Creates a value of TransfersGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data TransfersGet Source #
Retrieves a data transfer request by its resource ID.
See: transfersGet
smart constructor.
Instances
Request Lenses
tgDataTransferId :: Lens' TransfersGet Text Source #
ID of the resource to be retrieved. This is returned in the response from the insert method.