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.StartQueryPlanning

Description

Submits a request to process a query statement.

This operation generates work units that can be retrieved with the GetWorkUnits operation as soon as the query state is WORKUNITS_AVAILABLE or FINISHED.

Synopsis

Creating a Request

data StartQueryPlanning Source #

See: newStartQueryPlanning smart constructor.

Constructors

StartQueryPlanning' 

Fields

Instances

Instances details
ToJSON StartQueryPlanning Source # 
Instance details

Defined in Amazonka.LakeFormation.StartQueryPlanning

ToHeaders StartQueryPlanning Source # 
Instance details

Defined in Amazonka.LakeFormation.StartQueryPlanning

ToPath StartQueryPlanning Source # 
Instance details

Defined in Amazonka.LakeFormation.StartQueryPlanning

ToQuery StartQueryPlanning Source # 
Instance details

Defined in Amazonka.LakeFormation.StartQueryPlanning

AWSRequest StartQueryPlanning Source # 
Instance details

Defined in Amazonka.LakeFormation.StartQueryPlanning

Associated Types

type AWSResponse StartQueryPlanning #

Generic StartQueryPlanning Source # 
Instance details

Defined in Amazonka.LakeFormation.StartQueryPlanning

Associated Types

type Rep StartQueryPlanning :: Type -> Type #

Show StartQueryPlanning Source # 
Instance details

Defined in Amazonka.LakeFormation.StartQueryPlanning

NFData StartQueryPlanning Source # 
Instance details

Defined in Amazonka.LakeFormation.StartQueryPlanning

Methods

rnf :: StartQueryPlanning -> () #

Eq StartQueryPlanning Source # 
Instance details

Defined in Amazonka.LakeFormation.StartQueryPlanning

Hashable StartQueryPlanning Source # 
Instance details

Defined in Amazonka.LakeFormation.StartQueryPlanning

type AWSResponse StartQueryPlanning Source # 
Instance details

Defined in Amazonka.LakeFormation.StartQueryPlanning

type Rep StartQueryPlanning Source # 
Instance details

Defined in Amazonka.LakeFormation.StartQueryPlanning

type Rep StartQueryPlanning = D1 ('MetaData "StartQueryPlanning" "Amazonka.LakeFormation.StartQueryPlanning" "amazonka-lakeformation-2.0-HHqQokxI1tpCfoS44CTFPa" 'False) (C1 ('MetaCons "StartQueryPlanning'" 'PrefixI 'True) (S1 ('MetaSel ('Just "queryPlanningContext") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 QueryPlanningContext) :*: S1 ('MetaSel ('Just "queryString") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive Text))))

newStartQueryPlanning Source #

Create a value of StartQueryPlanning 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:queryPlanningContext:StartQueryPlanning', startQueryPlanning_queryPlanningContext - A structure containing information about the query plan.

$sel:queryString:StartQueryPlanning', startQueryPlanning_queryString - A PartiQL query statement used as an input to the planner service.

Request Lenses

startQueryPlanning_queryPlanningContext :: Lens' StartQueryPlanning QueryPlanningContext Source #

A structure containing information about the query plan.

startQueryPlanning_queryString :: Lens' StartQueryPlanning Text Source #

A PartiQL query statement used as an input to the planner service.

Destructuring the Response

data StartQueryPlanningResponse Source #

A structure for the output.

See: newStartQueryPlanningResponse smart constructor.

Constructors

StartQueryPlanningResponse' 

Fields

  • httpStatus :: Int

    The response's http status code.

  • queryId :: Text

    The ID of the plan query operation can be used to fetch the actual work unit descriptors that are produced as the result of the operation. The ID is also used to get the query state and as an input to the Execute operation.

Instances

Instances details
Generic StartQueryPlanningResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.StartQueryPlanning

Associated Types

type Rep StartQueryPlanningResponse :: Type -> Type #

Read StartQueryPlanningResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.StartQueryPlanning

Show StartQueryPlanningResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.StartQueryPlanning

NFData StartQueryPlanningResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.StartQueryPlanning

Eq StartQueryPlanningResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.StartQueryPlanning

type Rep StartQueryPlanningResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.StartQueryPlanning

type Rep StartQueryPlanningResponse = D1 ('MetaData "StartQueryPlanningResponse" "Amazonka.LakeFormation.StartQueryPlanning" "amazonka-lakeformation-2.0-HHqQokxI1tpCfoS44CTFPa" 'False) (C1 ('MetaCons "StartQueryPlanningResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "queryId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newStartQueryPlanningResponse Source #

Create a value of StartQueryPlanningResponse 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:StartQueryPlanningResponse', startQueryPlanningResponse_httpStatus - The response's http status code.

$sel:queryId:StartQueryPlanningResponse', startQueryPlanningResponse_queryId - The ID of the plan query operation can be used to fetch the actual work unit descriptors that are produced as the result of the operation. The ID is also used to get the query state and as an input to the Execute operation.

Response Lenses

startQueryPlanningResponse_queryId :: Lens' StartQueryPlanningResponse Text Source #

The ID of the plan query operation can be used to fetch the actual work unit descriptors that are produced as the result of the operation. The ID is also used to get the query state and as an input to the Execute operation.