libZSservicesZSamazonka-configZSamazonka-config
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Config.SelectResourceConfig

Description

Accepts a structured query language (SQL) SELECT command, performs the corresponding search, and returns resource configurations matching the properties.

For more information about query components, see the Query Components section in the Config Developer Guide.

This operation returns paginated results.

Synopsis

Creating a Request

data SelectResourceConfig Source #

See: newSelectResourceConfig smart constructor.

Constructors

SelectResourceConfig' 

Fields

  • nextToken :: Maybe Text

    The nextToken string returned in a previous request that you use to request the next page of results in a paginated response.

  • limit :: Maybe Natural

    The maximum number of query results returned on each page.

  • expression :: Text

    The SQL query SELECT command.

Instances

Instances details
Eq SelectResourceConfig Source # 
Instance details

Defined in Amazonka.Config.SelectResourceConfig

Read SelectResourceConfig Source # 
Instance details

Defined in Amazonka.Config.SelectResourceConfig

Show SelectResourceConfig Source # 
Instance details

Defined in Amazonka.Config.SelectResourceConfig

Generic SelectResourceConfig Source # 
Instance details

Defined in Amazonka.Config.SelectResourceConfig

Associated Types

type Rep SelectResourceConfig :: Type -> Type #

NFData SelectResourceConfig Source # 
Instance details

Defined in Amazonka.Config.SelectResourceConfig

Methods

rnf :: SelectResourceConfig -> () #

Hashable SelectResourceConfig Source # 
Instance details

Defined in Amazonka.Config.SelectResourceConfig

ToJSON SelectResourceConfig Source # 
Instance details

Defined in Amazonka.Config.SelectResourceConfig

AWSPager SelectResourceConfig Source # 
Instance details

Defined in Amazonka.Config.SelectResourceConfig

AWSRequest SelectResourceConfig Source # 
Instance details

Defined in Amazonka.Config.SelectResourceConfig

Associated Types

type AWSResponse SelectResourceConfig #

ToHeaders SelectResourceConfig Source # 
Instance details

Defined in Amazonka.Config.SelectResourceConfig

ToPath SelectResourceConfig Source # 
Instance details

Defined in Amazonka.Config.SelectResourceConfig

ToQuery SelectResourceConfig Source # 
Instance details

Defined in Amazonka.Config.SelectResourceConfig

type Rep SelectResourceConfig Source # 
Instance details

Defined in Amazonka.Config.SelectResourceConfig

type Rep SelectResourceConfig = D1 ('MetaData "SelectResourceConfig" "Amazonka.Config.SelectResourceConfig" "libZSservicesZSamazonka-configZSamazonka-config" 'False) (C1 ('MetaCons "SelectResourceConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "limit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "expression") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse SelectResourceConfig Source # 
Instance details

Defined in Amazonka.Config.SelectResourceConfig

newSelectResourceConfig Source #

Create a value of SelectResourceConfig 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:nextToken:SelectResourceConfig', selectResourceConfig_nextToken - The nextToken string returned in a previous request that you use to request the next page of results in a paginated response.

$sel:limit:SelectResourceConfig', selectResourceConfig_limit - The maximum number of query results returned on each page.

$sel:expression:SelectResourceConfig', selectResourceConfig_expression - The SQL query SELECT command.

Request Lenses

selectResourceConfig_nextToken :: Lens' SelectResourceConfig (Maybe Text) Source #

The nextToken string returned in a previous request that you use to request the next page of results in a paginated response.

selectResourceConfig_limit :: Lens' SelectResourceConfig (Maybe Natural) Source #

The maximum number of query results returned on each page.

Destructuring the Response

data SelectResourceConfigResponse Source #

See: newSelectResourceConfigResponse smart constructor.

Constructors

SelectResourceConfigResponse' 

Fields

Instances

Instances details
Eq SelectResourceConfigResponse Source # 
Instance details

Defined in Amazonka.Config.SelectResourceConfig

Read SelectResourceConfigResponse Source # 
Instance details

Defined in Amazonka.Config.SelectResourceConfig

Show SelectResourceConfigResponse Source # 
Instance details

Defined in Amazonka.Config.SelectResourceConfig

Generic SelectResourceConfigResponse Source # 
Instance details

Defined in Amazonka.Config.SelectResourceConfig

Associated Types

type Rep SelectResourceConfigResponse :: Type -> Type #

NFData SelectResourceConfigResponse Source # 
Instance details

Defined in Amazonka.Config.SelectResourceConfig

type Rep SelectResourceConfigResponse Source # 
Instance details

Defined in Amazonka.Config.SelectResourceConfig

type Rep SelectResourceConfigResponse = D1 ('MetaData "SelectResourceConfigResponse" "Amazonka.Config.SelectResourceConfig" "libZSservicesZSamazonka-configZSamazonka-config" 'False) (C1 ('MetaCons "SelectResourceConfigResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "results") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "queryInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe QueryInfo))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newSelectResourceConfigResponse Source #

Create a value of SelectResourceConfigResponse 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:results:SelectResourceConfigResponse', selectResourceConfigResponse_results - Returns the results for the SQL query.

$sel:queryInfo:SelectResourceConfigResponse', selectResourceConfigResponse_queryInfo - Returns the QueryInfo object.

$sel:nextToken:SelectResourceConfig', selectResourceConfigResponse_nextToken - The nextToken string returned in a previous request that you use to request the next page of results in a paginated response.

$sel:httpStatus:SelectResourceConfigResponse', selectResourceConfigResponse_httpStatus - The response's http status code.

Response Lenses

selectResourceConfigResponse_nextToken :: Lens' SelectResourceConfigResponse (Maybe Text) Source #

The nextToken string returned in a previous request that you use to request the next page of results in a paginated response.