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 |
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' {
- sampleRows :: Maybe [[Text]]
- headerValues :: Maybe [Text]
- httpStatus :: Int
- newGetSampleDataResponse :: Int -> GetSampleDataResponse
- getSampleDataResponse_sampleRows :: Lens' GetSampleDataResponse (Maybe [[Text]])
- getSampleDataResponse_headerValues :: Lens' GetSampleDataResponse (Maybe [Text])
- getSampleDataResponse_httpStatus :: Lens' GetSampleDataResponse Int
Creating a Request
data GetSampleData Source #
See: newGetSampleData
smart constructor.
GetSampleData' | |
|
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:
$sel:s3SourceConfig: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.
GetSampleDataResponse' | |
|
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:sampleRows:GetSampleDataResponse'
, getSampleDataResponse_sampleRows
- A list of records.
$sel:headerValues:GetSampleDataResponse'
, getSampleDataResponse_headerValues
- A list of header labels for the records.
$sel:httpStatus:GetSampleDataResponse'
, getSampleDataResponse_httpStatus
- The response's http status code.
Response Lenses
getSampleDataResponse_sampleRows :: Lens' GetSampleDataResponse (Maybe [[Text]]) Source #
A list of records.
getSampleDataResponse_headerValues :: Lens' GetSampleDataResponse (Maybe [Text]) Source #
A list of header labels for the records.
getSampleDataResponse_httpStatus :: Lens' GetSampleDataResponse Int Source #
The response's http status code.