amazonka-lakeformation-2.0: Amazon Lake Formation SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.LakeFormation.GetWorkUnitResults

Description

Returns the work units resulting from the query. Work units can be executed in any order and in parallel.

Synopsis

Creating a Request

data GetWorkUnitResults Source #

See: newGetWorkUnitResults smart constructor.

Constructors

GetWorkUnitResults' 

Fields

  • queryId :: Text

    The ID of the plan query operation for which to get results.

  • workUnitId :: Natural

    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.

  • workUnitToken :: Sensitive Text

    A work token used to query the execution service. Token output from GetWorkUnits.

Instances

Instances details
ToJSON GetWorkUnitResults Source # 
Instance details

Defined in Amazonka.LakeFormation.GetWorkUnitResults

ToHeaders GetWorkUnitResults Source # 
Instance details

Defined in Amazonka.LakeFormation.GetWorkUnitResults

ToPath GetWorkUnitResults Source # 
Instance details

Defined in Amazonka.LakeFormation.GetWorkUnitResults

ToQuery GetWorkUnitResults Source # 
Instance details

Defined in Amazonka.LakeFormation.GetWorkUnitResults

AWSRequest GetWorkUnitResults Source # 
Instance details

Defined in Amazonka.LakeFormation.GetWorkUnitResults

Associated Types

type AWSResponse GetWorkUnitResults #

Generic GetWorkUnitResults Source # 
Instance details

Defined in Amazonka.LakeFormation.GetWorkUnitResults

Associated Types

type Rep GetWorkUnitResults :: Type -> Type #

Show GetWorkUnitResults Source # 
Instance details

Defined in Amazonka.LakeFormation.GetWorkUnitResults

NFData GetWorkUnitResults Source # 
Instance details

Defined in Amazonka.LakeFormation.GetWorkUnitResults

Methods

rnf :: GetWorkUnitResults -> () #

Eq GetWorkUnitResults Source # 
Instance details

Defined in Amazonka.LakeFormation.GetWorkUnitResults

Hashable GetWorkUnitResults Source # 
Instance details

Defined in Amazonka.LakeFormation.GetWorkUnitResults

type AWSResponse GetWorkUnitResults Source # 
Instance details

Defined in Amazonka.LakeFormation.GetWorkUnitResults

type Rep GetWorkUnitResults Source # 
Instance details

Defined in Amazonka.LakeFormation.GetWorkUnitResults

type Rep GetWorkUnitResults = D1 ('MetaData "GetWorkUnitResults" "Amazonka.LakeFormation.GetWorkUnitResults" "amazonka-lakeformation-2.0-HHqQokxI1tpCfoS44CTFPa" 'False) (C1 ('MetaCons "GetWorkUnitResults'" 'PrefixI 'True) (S1 ('MetaSel ('Just "queryId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "workUnitId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural) :*: S1 ('MetaSel ('Just "workUnitToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive Text)))))

newGetWorkUnitResults Source #

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

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_resultStream :: Lens' GetWorkUnitResultsResponse ResponseBody Source #

Rows returned from the GetWorkUnitResults operation as a stream of Apache Arrow v1.0 messages.