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 |
Retrieves the contents of a dataset as presigned URIs.
Synopsis
- data GetDatasetContent = GetDatasetContent' {
- versionId :: Maybe Text
- datasetName :: Text
- newGetDatasetContent :: Text -> GetDatasetContent
- getDatasetContent_versionId :: Lens' GetDatasetContent (Maybe Text)
- getDatasetContent_datasetName :: Lens' GetDatasetContent Text
- data GetDatasetContentResponse = GetDatasetContentResponse' {}
- newGetDatasetContentResponse :: Int -> GetDatasetContentResponse
- getDatasetContentResponse_status :: Lens' GetDatasetContentResponse (Maybe DatasetContentStatus)
- getDatasetContentResponse_entries :: Lens' GetDatasetContentResponse (Maybe [DatasetEntry])
- getDatasetContentResponse_timestamp :: Lens' GetDatasetContentResponse (Maybe UTCTime)
- getDatasetContentResponse_httpStatus :: Lens' GetDatasetContentResponse Int
Creating a Request
data GetDatasetContent Source #
See: newGetDatasetContent
smart constructor.
GetDatasetContent' | |
|
Instances
Create a value of GetDatasetContent
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:versionId:GetDatasetContent'
, getDatasetContent_versionId
- The version of the dataset 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 dataset. If not
specified, "$LATEST_SUCCEEDED" is the default.
$sel:datasetName:GetDatasetContent'
, getDatasetContent_datasetName
- The name of the dataset whose contents are retrieved.
Request Lenses
getDatasetContent_versionId :: Lens' GetDatasetContent (Maybe Text) Source #
The version of the dataset 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 dataset. If not specified, "$LATEST_SUCCEEDED" is the default.
getDatasetContent_datasetName :: Lens' GetDatasetContent Text Source #
The name of the dataset whose contents are retrieved.
Destructuring the Response
data GetDatasetContentResponse Source #
See: newGetDatasetContentResponse
smart constructor.
GetDatasetContentResponse' | |
|
Instances
newGetDatasetContentResponse Source #
Create a value of GetDatasetContentResponse
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:status:GetDatasetContentResponse'
, getDatasetContentResponse_status
- The status of the dataset content.
$sel:entries:GetDatasetContentResponse'
, getDatasetContentResponse_entries
- A list of DatasetEntry
objects.
$sel:timestamp:GetDatasetContentResponse'
, getDatasetContentResponse_timestamp
- The time when the request was made.
$sel:httpStatus:GetDatasetContentResponse'
, getDatasetContentResponse_httpStatus
- The response's http status code.
Response Lenses
getDatasetContentResponse_status :: Lens' GetDatasetContentResponse (Maybe DatasetContentStatus) Source #
The status of the dataset content.
getDatasetContentResponse_entries :: Lens' GetDatasetContentResponse (Maybe [DatasetEntry]) Source #
A list of DatasetEntry
objects.
getDatasetContentResponse_timestamp :: Lens' GetDatasetContentResponse (Maybe UTCTime) Source #
The time when the request was made.
getDatasetContentResponse_httpStatus :: Lens' GetDatasetContentResponse Int Source #
The response's http status code.