amazonka-iottwinmaker-2.0: Amazon IoT TwinMaker 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.IotTwinMaker.ExecuteQuery

Description

Run queries to access information from your knowledge graph of entities within individual workspaces.

Synopsis

Creating a Request

data ExecuteQuery Source #

See: newExecuteQuery smart constructor.

Constructors

ExecuteQuery' 

Fields

Instances

Instances details
ToJSON ExecuteQuery Source # 
Instance details

Defined in Amazonka.IotTwinMaker.ExecuteQuery

ToHeaders ExecuteQuery Source # 
Instance details

Defined in Amazonka.IotTwinMaker.ExecuteQuery

ToPath ExecuteQuery Source # 
Instance details

Defined in Amazonka.IotTwinMaker.ExecuteQuery

ToQuery ExecuteQuery Source # 
Instance details

Defined in Amazonka.IotTwinMaker.ExecuteQuery

AWSRequest ExecuteQuery Source # 
Instance details

Defined in Amazonka.IotTwinMaker.ExecuteQuery

Associated Types

type AWSResponse ExecuteQuery #

Generic ExecuteQuery Source # 
Instance details

Defined in Amazonka.IotTwinMaker.ExecuteQuery

Associated Types

type Rep ExecuteQuery :: Type -> Type #

Read ExecuteQuery Source # 
Instance details

Defined in Amazonka.IotTwinMaker.ExecuteQuery

Show ExecuteQuery Source # 
Instance details

Defined in Amazonka.IotTwinMaker.ExecuteQuery

NFData ExecuteQuery Source # 
Instance details

Defined in Amazonka.IotTwinMaker.ExecuteQuery

Methods

rnf :: ExecuteQuery -> () #

Eq ExecuteQuery Source # 
Instance details

Defined in Amazonka.IotTwinMaker.ExecuteQuery

Hashable ExecuteQuery Source # 
Instance details

Defined in Amazonka.IotTwinMaker.ExecuteQuery

type AWSResponse ExecuteQuery Source # 
Instance details

Defined in Amazonka.IotTwinMaker.ExecuteQuery

type Rep ExecuteQuery Source # 
Instance details

Defined in Amazonka.IotTwinMaker.ExecuteQuery

type Rep ExecuteQuery = D1 ('MetaData "ExecuteQuery" "Amazonka.IotTwinMaker.ExecuteQuery" "amazonka-iottwinmaker-2.0-F9krWmdiZsuIxDlP9hNtjs" 'False) (C1 ('MetaCons "ExecuteQuery'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "workspaceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "queryStatement") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newExecuteQuery Source #

Create a value of ExecuteQuery 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:maxResults:ExecuteQuery', executeQuery_maxResults - The maximum number of results to return at one time. The default is 25.

Valid Range: Minimum value of 1. Maximum value of 250.

ExecuteQuery, executeQuery_nextToken - The string that specifies the next page of results.

ExecuteQuery, executeQuery_workspaceId - The ID of the workspace.

$sel:queryStatement:ExecuteQuery', executeQuery_queryStatement - The query statement.

Request Lenses

executeQuery_maxResults :: Lens' ExecuteQuery (Maybe Natural) Source #

The maximum number of results to return at one time. The default is 25.

Valid Range: Minimum value of 1. Maximum value of 250.

executeQuery_nextToken :: Lens' ExecuteQuery (Maybe Text) Source #

The string that specifies the next page of results.

Destructuring the Response

data ExecuteQueryResponse Source #

See: newExecuteQueryResponse smart constructor.

Constructors

ExecuteQueryResponse' 

Fields

Instances

Instances details
Generic ExecuteQueryResponse Source # 
Instance details

Defined in Amazonka.IotTwinMaker.ExecuteQuery

Associated Types

type Rep ExecuteQueryResponse :: Type -> Type #

Read ExecuteQueryResponse Source # 
Instance details

Defined in Amazonka.IotTwinMaker.ExecuteQuery

Show ExecuteQueryResponse Source # 
Instance details

Defined in Amazonka.IotTwinMaker.ExecuteQuery

NFData ExecuteQueryResponse Source # 
Instance details

Defined in Amazonka.IotTwinMaker.ExecuteQuery

Methods

rnf :: ExecuteQueryResponse -> () #

Eq ExecuteQueryResponse Source # 
Instance details

Defined in Amazonka.IotTwinMaker.ExecuteQuery

type Rep ExecuteQueryResponse Source # 
Instance details

Defined in Amazonka.IotTwinMaker.ExecuteQuery

type Rep ExecuteQueryResponse = D1 ('MetaData "ExecuteQueryResponse" "Amazonka.IotTwinMaker.ExecuteQuery" "amazonka-iottwinmaker-2.0-F9krWmdiZsuIxDlP9hNtjs" 'False) (C1 ('MetaCons "ExecuteQueryResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "columnDescriptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ColumnDescription])) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "rows") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Row])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newExecuteQueryResponse Source #

Create a value of ExecuteQueryResponse 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:columnDescriptions:ExecuteQueryResponse', executeQueryResponse_columnDescriptions - A list of ColumnDescription objects.

ExecuteQuery, executeQueryResponse_nextToken - The string that specifies the next page of results.

$sel:rows:ExecuteQueryResponse', executeQueryResponse_rows - Represents a single row in the query results.

$sel:httpStatus:ExecuteQueryResponse', executeQueryResponse_httpStatus - The response's http status code.

Response Lenses

executeQueryResponse_nextToken :: Lens' ExecuteQueryResponse (Maybe Text) Source #

The string that specifies the next page of results.

executeQueryResponse_rows :: Lens' ExecuteQueryResponse (Maybe [Row]) Source #

Represents a single row in the query results.