Copyright | (c) 2013-2018 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 |
Retrieves the contents of a data set as pre-signed URIs.
- getDatasetContent :: Text -> GetDatasetContent
- data GetDatasetContent
- gdcVersionId :: Lens' GetDatasetContent (Maybe Text)
- gdcDatasetName :: Lens' GetDatasetContent Text
- getDatasetContentResponse :: Int -> GetDatasetContentResponse
- data GetDatasetContentResponse
- gdcrsStatus :: Lens' GetDatasetContentResponse (Maybe DatasetContentStatus)
- gdcrsEntries :: Lens' GetDatasetContentResponse [DatasetEntry]
- gdcrsTimestamp :: Lens' GetDatasetContentResponse (Maybe UTCTime)
- gdcrsResponseStatus :: Lens' GetDatasetContentResponse Int
Creating a Request
Creates a value of GetDatasetContent
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gdcVersionId
- The version of the data set whose contents are retrieved. You can also use the strings "$LATEST" or "$LATEST_SUCCEEDED" to retrieve the contents of the latest or latest successfully completed data set. If not specified, "$LATEST_SUCCEEDED" is the default.gdcDatasetName
- The name of the data set whose contents are retrieved.
data GetDatasetContent Source #
See: getDatasetContent
smart constructor.
Request Lenses
gdcVersionId :: Lens' GetDatasetContent (Maybe Text) Source #
The version of the data set whose contents are retrieved. You can also use the strings "$LATEST" or "$LATEST_SUCCEEDED" to retrieve the contents of the latest or latest successfully completed data set. If not specified, "$LATEST_SUCCEEDED" is the default.
gdcDatasetName :: Lens' GetDatasetContent Text Source #
The name of the data set whose contents are retrieved.
Destructuring the Response
getDatasetContentResponse Source #
Creates a value of GetDatasetContentResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gdcrsStatus
- The status of the data set content.gdcrsEntries
- A list of DatasetEntry objects.gdcrsTimestamp
- The time when the request was made.gdcrsResponseStatus
- -- | The response status code.
data GetDatasetContentResponse Source #
See: getDatasetContentResponse
smart constructor.
Response Lenses
gdcrsStatus :: Lens' GetDatasetContentResponse (Maybe DatasetContentStatus) Source #
The status of the data set content.
gdcrsEntries :: Lens' GetDatasetContentResponse [DatasetEntry] Source #
A list of DatasetEntry objects.
gdcrsTimestamp :: Lens' GetDatasetContentResponse (Maybe UTCTime) Source #
The time when the request was made.
gdcrsResponseStatus :: Lens' GetDatasetContentResponse Int Source #
- - | The response status code.