| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.LookoutMetrics.GetSampleData
Description
Returns a selection of sample records from an Amazon S3 datasource.
Synopsis
- data GetSampleData = GetSampleData' {}
- newGetSampleData :: GetSampleData
- getSampleData_s3SourceConfig :: Lens' GetSampleData (Maybe SampleDataS3SourceConfig)
- data GetSampleDataResponse = GetSampleDataResponse' {
- headerValues :: Maybe [Text]
- sampleRows :: Maybe [[Text]]
- httpStatus :: Int
- newGetSampleDataResponse :: Int -> GetSampleDataResponse
- getSampleDataResponse_headerValues :: Lens' GetSampleDataResponse (Maybe [Text])
- getSampleDataResponse_sampleRows :: Lens' GetSampleDataResponse (Maybe [[Text]])
- getSampleDataResponse_httpStatus :: Lens' GetSampleDataResponse Int
Creating a Request
data GetSampleData Source #
See: newGetSampleData smart constructor.
Constructors
| GetSampleData' | |
Fields
| |
Instances
newGetSampleData :: GetSampleData Source #
Create a value of GetSampleData 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:
GetSampleData, getSampleData_s3SourceConfig - A datasource bucket in Amazon S3.
Request Lenses
getSampleData_s3SourceConfig :: Lens' GetSampleData (Maybe SampleDataS3SourceConfig) Source #
A datasource bucket in Amazon S3.
Destructuring the Response
data GetSampleDataResponse Source #
See: newGetSampleDataResponse smart constructor.
Constructors
| GetSampleDataResponse' | |
Fields
| |
Instances
newGetSampleDataResponse Source #
Create a value of GetSampleDataResponse 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:headerValues:GetSampleDataResponse', getSampleDataResponse_headerValues - A list of header labels for the records.
$sel:sampleRows:GetSampleDataResponse', getSampleDataResponse_sampleRows - A list of records.
$sel:httpStatus:GetSampleDataResponse', getSampleDataResponse_httpStatus - The response's http status code.
Response Lenses
getSampleDataResponse_headerValues :: Lens' GetSampleDataResponse (Maybe [Text]) Source #
A list of header labels for the records.
getSampleDataResponse_sampleRows :: Lens' GetSampleDataResponse (Maybe [[Text]]) Source #
A list of records.
getSampleDataResponse_httpStatus :: Lens' GetSampleDataResponse Int Source #
The response's http status code.