libZSservicesZSamazonka-iotthingsgraphZSamazonka-iotthingsgraph
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.IoTThingsGraph.SearchSystemInstances

Description

Searches for system instances in the user's account.

This operation returns paginated results.

Synopsis

Creating a Request

data SearchSystemInstances Source #

See: newSearchSystemInstances smart constructor.

Constructors

SearchSystemInstances' 

Fields

  • filters :: Maybe [SystemInstanceFilter]

    Optional filter to apply to the search. Valid filters are SYSTEM_TEMPLATE_ID, STATUS, and GREENGRASS_GROUP_NAME.

    Multiple filters function as OR criteria in the query. Multiple values passed inside the filter function as AND criteria.

  • nextToken :: Maybe Text

    The string that specifies the next page of results. Use this when you're paginating results.

  • maxResults :: Maybe Natural

    The maximum number of results to return in the response.

Instances

Instances details
Eq SearchSystemInstances Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.SearchSystemInstances

Read SearchSystemInstances Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.SearchSystemInstances

Show SearchSystemInstances Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.SearchSystemInstances

Generic SearchSystemInstances Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.SearchSystemInstances

Associated Types

type Rep SearchSystemInstances :: Type -> Type #

NFData SearchSystemInstances Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.SearchSystemInstances

Methods

rnf :: SearchSystemInstances -> () #

Hashable SearchSystemInstances Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.SearchSystemInstances

ToJSON SearchSystemInstances Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.SearchSystemInstances

AWSPager SearchSystemInstances Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.SearchSystemInstances

AWSRequest SearchSystemInstances Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.SearchSystemInstances

Associated Types

type AWSResponse SearchSystemInstances #

ToHeaders SearchSystemInstances Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.SearchSystemInstances

ToPath SearchSystemInstances Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.SearchSystemInstances

ToQuery SearchSystemInstances Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.SearchSystemInstances

type Rep SearchSystemInstances Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.SearchSystemInstances

type Rep SearchSystemInstances = D1 ('MetaData "SearchSystemInstances" "Amazonka.IoTThingsGraph.SearchSystemInstances" "libZSservicesZSamazonka-iotthingsgraphZSamazonka-iotthingsgraph" 'False) (C1 ('MetaCons "SearchSystemInstances'" 'PrefixI 'True) (S1 ('MetaSel ('Just "filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SystemInstanceFilter])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))))
type AWSResponse SearchSystemInstances Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.SearchSystemInstances

newSearchSystemInstances :: SearchSystemInstances Source #

Create a value of SearchSystemInstances 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:filters:SearchSystemInstances', searchSystemInstances_filters - Optional filter to apply to the search. Valid filters are SYSTEM_TEMPLATE_ID, STATUS, and GREENGRASS_GROUP_NAME.

Multiple filters function as OR criteria in the query. Multiple values passed inside the filter function as AND criteria.

$sel:nextToken:SearchSystemInstances', searchSystemInstances_nextToken - The string that specifies the next page of results. Use this when you're paginating results.

$sel:maxResults:SearchSystemInstances', searchSystemInstances_maxResults - The maximum number of results to return in the response.

Request Lenses

searchSystemInstances_filters :: Lens' SearchSystemInstances (Maybe [SystemInstanceFilter]) Source #

Optional filter to apply to the search. Valid filters are SYSTEM_TEMPLATE_ID, STATUS, and GREENGRASS_GROUP_NAME.

Multiple filters function as OR criteria in the query. Multiple values passed inside the filter function as AND criteria.

searchSystemInstances_nextToken :: Lens' SearchSystemInstances (Maybe Text) Source #

The string that specifies the next page of results. Use this when you're paginating results.

searchSystemInstances_maxResults :: Lens' SearchSystemInstances (Maybe Natural) Source #

The maximum number of results to return in the response.

Destructuring the Response

data SearchSystemInstancesResponse Source #

See: newSearchSystemInstancesResponse smart constructor.

Constructors

SearchSystemInstancesResponse' 

Fields

Instances

Instances details
Eq SearchSystemInstancesResponse Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.SearchSystemInstances

Read SearchSystemInstancesResponse Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.SearchSystemInstances

Show SearchSystemInstancesResponse Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.SearchSystemInstances

Generic SearchSystemInstancesResponse Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.SearchSystemInstances

Associated Types

type Rep SearchSystemInstancesResponse :: Type -> Type #

NFData SearchSystemInstancesResponse Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.SearchSystemInstances

type Rep SearchSystemInstancesResponse Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.SearchSystemInstances

type Rep SearchSystemInstancesResponse = D1 ('MetaData "SearchSystemInstancesResponse" "Amazonka.IoTThingsGraph.SearchSystemInstances" "libZSservicesZSamazonka-iotthingsgraphZSamazonka-iotthingsgraph" 'False) (C1 ('MetaCons "SearchSystemInstancesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "summaries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SystemInstanceSummary])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newSearchSystemInstancesResponse Source #

Create a value of SearchSystemInstancesResponse 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:SearchSystemInstances', searchSystemInstancesResponse_nextToken - The string to specify as nextToken when you request the next page of results.

$sel:summaries:SearchSystemInstancesResponse', searchSystemInstancesResponse_summaries - An array of objects that contain summary data abour the system instances in the result set.

$sel:httpStatus:SearchSystemInstancesResponse', searchSystemInstancesResponse_httpStatus - The response's http status code.

Response Lenses

searchSystemInstancesResponse_nextToken :: Lens' SearchSystemInstancesResponse (Maybe Text) Source #

The string to specify as nextToken when you request the next page of results.

searchSystemInstancesResponse_summaries :: Lens' SearchSystemInstancesResponse (Maybe [SystemInstanceSummary]) Source #

An array of objects that contain summary data abour the system instances in the result set.