libZSservicesZSamazonka-braketZSamazonka-braket
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.Braket.SearchDevices

Description

Searches for devices using the specified filters.

This operation returns paginated results.

Synopsis

Creating a Request

data SearchDevices Source #

See: newSearchDevices smart constructor.

Constructors

SearchDevices' 

Fields

  • nextToken :: Maybe Text

    A token used for pagination of results returned in the response. Use the token returned from the previous request continue results where the previous request ended.

  • maxResults :: Maybe Natural

    The maximum number of results to return in the response.

  • filters :: [SearchDevicesFilter]

    The filter values to use to search for a device.

Instances

Instances details
Eq SearchDevices Source # 
Instance details

Defined in Amazonka.Braket.SearchDevices

Read SearchDevices Source # 
Instance details

Defined in Amazonka.Braket.SearchDevices

Show SearchDevices Source # 
Instance details

Defined in Amazonka.Braket.SearchDevices

Generic SearchDevices Source # 
Instance details

Defined in Amazonka.Braket.SearchDevices

Associated Types

type Rep SearchDevices :: Type -> Type #

NFData SearchDevices Source # 
Instance details

Defined in Amazonka.Braket.SearchDevices

Methods

rnf :: SearchDevices -> () #

Hashable SearchDevices Source # 
Instance details

Defined in Amazonka.Braket.SearchDevices

ToJSON SearchDevices Source # 
Instance details

Defined in Amazonka.Braket.SearchDevices

AWSPager SearchDevices Source # 
Instance details

Defined in Amazonka.Braket.SearchDevices

AWSRequest SearchDevices Source # 
Instance details

Defined in Amazonka.Braket.SearchDevices

Associated Types

type AWSResponse SearchDevices #

ToHeaders SearchDevices Source # 
Instance details

Defined in Amazonka.Braket.SearchDevices

ToPath SearchDevices Source # 
Instance details

Defined in Amazonka.Braket.SearchDevices

ToQuery SearchDevices Source # 
Instance details

Defined in Amazonka.Braket.SearchDevices

type Rep SearchDevices Source # 
Instance details

Defined in Amazonka.Braket.SearchDevices

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

Defined in Amazonka.Braket.SearchDevices

newSearchDevices :: SearchDevices Source #

Create a value of SearchDevices 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:SearchDevices', searchDevices_nextToken - A token used for pagination of results returned in the response. Use the token returned from the previous request continue results where the previous request ended.

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

$sel:filters:SearchDevices', searchDevices_filters - The filter values to use to search for a device.

Request Lenses

searchDevices_nextToken :: Lens' SearchDevices (Maybe Text) Source #

A token used for pagination of results returned in the response. Use the token returned from the previous request continue results where the previous request ended.

searchDevices_maxResults :: Lens' SearchDevices (Maybe Natural) Source #

The maximum number of results to return in the response.

searchDevices_filters :: Lens' SearchDevices [SearchDevicesFilter] Source #

The filter values to use to search for a device.

Destructuring the Response

data SearchDevicesResponse Source #

See: newSearchDevicesResponse smart constructor.

Constructors

SearchDevicesResponse' 

Fields

  • nextToken :: Maybe Text

    A token used for pagination of results, or null if there are no additional results. Use the token value in a subsequent request to continue results where the previous request ended.

  • httpStatus :: Int

    The response's http status code.

  • devices :: [DeviceSummary]

    An array of DeviceSummary objects for devices that match the specified filter values.

Instances

Instances details
Eq SearchDevicesResponse Source # 
Instance details

Defined in Amazonka.Braket.SearchDevices

Read SearchDevicesResponse Source # 
Instance details

Defined in Amazonka.Braket.SearchDevices

Show SearchDevicesResponse Source # 
Instance details

Defined in Amazonka.Braket.SearchDevices

Generic SearchDevicesResponse Source # 
Instance details

Defined in Amazonka.Braket.SearchDevices

Associated Types

type Rep SearchDevicesResponse :: Type -> Type #

NFData SearchDevicesResponse Source # 
Instance details

Defined in Amazonka.Braket.SearchDevices

Methods

rnf :: SearchDevicesResponse -> () #

type Rep SearchDevicesResponse Source # 
Instance details

Defined in Amazonka.Braket.SearchDevices

type Rep SearchDevicesResponse = D1 ('MetaData "SearchDevicesResponse" "Amazonka.Braket.SearchDevices" "libZSservicesZSamazonka-braketZSamazonka-braket" 'False) (C1 ('MetaCons "SearchDevicesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "devices") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [DeviceSummary]))))

newSearchDevicesResponse Source #

Create a value of SearchDevicesResponse 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:SearchDevices', searchDevicesResponse_nextToken - A token used for pagination of results, or null if there are no additional results. Use the token value in a subsequent request to continue results where the previous request ended.

$sel:httpStatus:SearchDevicesResponse', searchDevicesResponse_httpStatus - The response's http status code.

$sel:devices:SearchDevicesResponse', searchDevicesResponse_devices - An array of DeviceSummary objects for devices that match the specified filter values.

Response Lenses

searchDevicesResponse_nextToken :: Lens' SearchDevicesResponse (Maybe Text) Source #

A token used for pagination of results, or null if there are no additional results. Use the token value in a subsequent request to continue results where the previous request ended.

searchDevicesResponse_devices :: Lens' SearchDevicesResponse [DeviceSummary] Source #

An array of DeviceSummary objects for devices that match the specified filter values.