| 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.LakeFormation.GetWorkUnitResults
Description
Returns the work units resulting from the query. Work units can be executed in any order and in parallel.
Synopsis
- data GetWorkUnitResults = GetWorkUnitResults' {}
- newGetWorkUnitResults :: Text -> Natural -> Text -> GetWorkUnitResults
- getWorkUnitResults_queryId :: Lens' GetWorkUnitResults Text
- getWorkUnitResults_workUnitId :: Lens' GetWorkUnitResults Natural
- getWorkUnitResults_workUnitToken :: Lens' GetWorkUnitResults Text
- data GetWorkUnitResultsResponse = GetWorkUnitResultsResponse' {}
- newGetWorkUnitResultsResponse :: Int -> ResponseBody -> GetWorkUnitResultsResponse
- getWorkUnitResultsResponse_httpStatus :: Lens' GetWorkUnitResultsResponse Int
- getWorkUnitResultsResponse_resultStream :: Lens' GetWorkUnitResultsResponse ResponseBody
Creating a Request
data GetWorkUnitResults Source #
See: newGetWorkUnitResults smart constructor.
Constructors
| GetWorkUnitResults' | |
Fields
| |
Instances
newGetWorkUnitResults Source #
Arguments
| :: Text | |
| -> Natural | |
| -> Text | |
| -> GetWorkUnitResults |
Create a value of GetWorkUnitResults 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:queryId:GetWorkUnitResults', getWorkUnitResults_queryId - The ID of the plan query operation for which to get results.
$sel:workUnitId:GetWorkUnitResults', getWorkUnitResults_workUnitId - The work unit ID for which to get results. Value generated by
enumerating WorkUnitIdMin to WorkUnitIdMax (inclusive) from the
WorkUnitRange in the output of GetWorkUnits.
GetWorkUnitResults, getWorkUnitResults_workUnitToken - A work token used to query the execution service. Token output from
GetWorkUnits.
Request Lenses
getWorkUnitResults_queryId :: Lens' GetWorkUnitResults Text Source #
The ID of the plan query operation for which to get results.
getWorkUnitResults_workUnitId :: Lens' GetWorkUnitResults Natural Source #
The work unit ID for which to get results. Value generated by
enumerating WorkUnitIdMin to WorkUnitIdMax (inclusive) from the
WorkUnitRange in the output of GetWorkUnits.
getWorkUnitResults_workUnitToken :: Lens' GetWorkUnitResults Text Source #
A work token used to query the execution service. Token output from
GetWorkUnits.
Destructuring the Response
data GetWorkUnitResultsResponse Source #
A structure for the output.
See: newGetWorkUnitResultsResponse smart constructor.
Constructors
| GetWorkUnitResultsResponse' | |
Fields
| |
Instances
newGetWorkUnitResultsResponse Source #
Arguments
| :: Int | |
| -> ResponseBody | |
| -> GetWorkUnitResultsResponse |
Create a value of GetWorkUnitResultsResponse 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:httpStatus:GetWorkUnitResultsResponse', getWorkUnitResultsResponse_httpStatus - The response's http status code.
$sel:resultStream:GetWorkUnitResultsResponse', getWorkUnitResultsResponse_resultStream - Rows returned from the GetWorkUnitResults operation as a stream of
Apache Arrow v1.0 messages.
Response Lenses
getWorkUnitResultsResponse_httpStatus :: Lens' GetWorkUnitResultsResponse Int Source #
The response's http status code.
getWorkUnitResultsResponse_resultStream :: Lens' GetWorkUnitResultsResponse ResponseBody Source #
Rows returned from the GetWorkUnitResults operation as a stream of
Apache Arrow v1.0 messages.