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 |
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.
GetWorkUnitResults' | |
|
Instances
newGetWorkUnitResults Source #
:: 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.
GetWorkUnitResultsResponse' | |
|
Instances
Generic GetWorkUnitResultsResponse Source # | |
Defined in Amazonka.LakeFormation.GetWorkUnitResults type Rep GetWorkUnitResultsResponse :: Type -> Type # | |
Show GetWorkUnitResultsResponse Source # | |
Defined in Amazonka.LakeFormation.GetWorkUnitResults showsPrec :: Int -> GetWorkUnitResultsResponse -> ShowS # show :: GetWorkUnitResultsResponse -> String # showList :: [GetWorkUnitResultsResponse] -> ShowS # | |
type Rep GetWorkUnitResultsResponse Source # | |
Defined in Amazonka.LakeFormation.GetWorkUnitResults type Rep GetWorkUnitResultsResponse = D1 ('MetaData "GetWorkUnitResultsResponse" "Amazonka.LakeFormation.GetWorkUnitResults" "amazonka-lakeformation-2.0-HHqQokxI1tpCfoS44CTFPa" 'False) (C1 ('MetaCons "GetWorkUnitResultsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "resultStream") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ResponseBody))) |
newGetWorkUnitResultsResponse Source #
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.