libZSservicesZSamazonka-greengrassv2ZSamazonka-greengrassv2
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.GreengrassV2.ListCoreDevices

Description

Retrieves a paginated list of Greengrass core devices.

This operation returns paginated results.

Synopsis

Creating a Request

data ListCoreDevices Source #

See: newListCoreDevices smart constructor.

Constructors

ListCoreDevices' 

Fields

  • status :: Maybe CoreDeviceStatus

    The core device status by which to filter. If you specify this parameter, the list includes only core devices that have this status. Choose one of the following options:

    • HEALTHY – The IoT Greengrass Core software and all components run on the core device without issue.
    • UNHEALTHY – The IoT Greengrass Core software or a component is in a failed state on the core device.
  • thingGroupArn :: Maybe Text

    The ARN of the IoT thing group by which to filter. If you specify this parameter, the list includes only core devices that are members of this thing group.

  • nextToken :: Maybe Text

    The token to be used for the next set of paginated results.

  • maxResults :: Maybe Natural

    The maximum number of results to be returned per paginated request.

Instances

Instances details
Eq ListCoreDevices Source # 
Instance details

Defined in Amazonka.GreengrassV2.ListCoreDevices

Read ListCoreDevices Source # 
Instance details

Defined in Amazonka.GreengrassV2.ListCoreDevices

Show ListCoreDevices Source # 
Instance details

Defined in Amazonka.GreengrassV2.ListCoreDevices

Generic ListCoreDevices Source # 
Instance details

Defined in Amazonka.GreengrassV2.ListCoreDevices

Associated Types

type Rep ListCoreDevices :: Type -> Type #

NFData ListCoreDevices Source # 
Instance details

Defined in Amazonka.GreengrassV2.ListCoreDevices

Methods

rnf :: ListCoreDevices -> () #

Hashable ListCoreDevices Source # 
Instance details

Defined in Amazonka.GreengrassV2.ListCoreDevices

AWSPager ListCoreDevices Source # 
Instance details

Defined in Amazonka.GreengrassV2.ListCoreDevices

AWSRequest ListCoreDevices Source # 
Instance details

Defined in Amazonka.GreengrassV2.ListCoreDevices

Associated Types

type AWSResponse ListCoreDevices #

ToHeaders ListCoreDevices Source # 
Instance details

Defined in Amazonka.GreengrassV2.ListCoreDevices

ToPath ListCoreDevices Source # 
Instance details

Defined in Amazonka.GreengrassV2.ListCoreDevices

ToQuery ListCoreDevices Source # 
Instance details

Defined in Amazonka.GreengrassV2.ListCoreDevices

type Rep ListCoreDevices Source # 
Instance details

Defined in Amazonka.GreengrassV2.ListCoreDevices

type Rep ListCoreDevices = D1 ('MetaData "ListCoreDevices" "Amazonka.GreengrassV2.ListCoreDevices" "libZSservicesZSamazonka-greengrassv2ZSamazonka-greengrassv2" 'False) (C1 ('MetaCons "ListCoreDevices'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CoreDeviceStatus)) :*: S1 ('MetaSel ('Just "thingGroupArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))))
type AWSResponse ListCoreDevices Source # 
Instance details

Defined in Amazonka.GreengrassV2.ListCoreDevices

newListCoreDevices :: ListCoreDevices Source #

Create a value of ListCoreDevices 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:status:ListCoreDevices', listCoreDevices_status - The core device status by which to filter. If you specify this parameter, the list includes only core devices that have this status. Choose one of the following options:

  • HEALTHY – The IoT Greengrass Core software and all components run on the core device without issue.
  • UNHEALTHY – The IoT Greengrass Core software or a component is in a failed state on the core device.

$sel:thingGroupArn:ListCoreDevices', listCoreDevices_thingGroupArn - The ARN of the IoT thing group by which to filter. If you specify this parameter, the list includes only core devices that are members of this thing group.

$sel:nextToken:ListCoreDevices', listCoreDevices_nextToken - The token to be used for the next set of paginated results.

$sel:maxResults:ListCoreDevices', listCoreDevices_maxResults - The maximum number of results to be returned per paginated request.

Request Lenses

listCoreDevices_status :: Lens' ListCoreDevices (Maybe CoreDeviceStatus) Source #

The core device status by which to filter. If you specify this parameter, the list includes only core devices that have this status. Choose one of the following options:

  • HEALTHY – The IoT Greengrass Core software and all components run on the core device without issue.
  • UNHEALTHY – The IoT Greengrass Core software or a component is in a failed state on the core device.

listCoreDevices_thingGroupArn :: Lens' ListCoreDevices (Maybe Text) Source #

The ARN of the IoT thing group by which to filter. If you specify this parameter, the list includes only core devices that are members of this thing group.

listCoreDevices_nextToken :: Lens' ListCoreDevices (Maybe Text) Source #

The token to be used for the next set of paginated results.

listCoreDevices_maxResults :: Lens' ListCoreDevices (Maybe Natural) Source #

The maximum number of results to be returned per paginated request.

Destructuring the Response

data ListCoreDevicesResponse Source #

See: newListCoreDevicesResponse smart constructor.

Constructors

ListCoreDevicesResponse' 

Fields

Instances

Instances details
Eq ListCoreDevicesResponse Source # 
Instance details

Defined in Amazonka.GreengrassV2.ListCoreDevices

Read ListCoreDevicesResponse Source # 
Instance details

Defined in Amazonka.GreengrassV2.ListCoreDevices

Show ListCoreDevicesResponse Source # 
Instance details

Defined in Amazonka.GreengrassV2.ListCoreDevices

Generic ListCoreDevicesResponse Source # 
Instance details

Defined in Amazonka.GreengrassV2.ListCoreDevices

Associated Types

type Rep ListCoreDevicesResponse :: Type -> Type #

NFData ListCoreDevicesResponse Source # 
Instance details

Defined in Amazonka.GreengrassV2.ListCoreDevices

Methods

rnf :: ListCoreDevicesResponse -> () #

type Rep ListCoreDevicesResponse Source # 
Instance details

Defined in Amazonka.GreengrassV2.ListCoreDevices

type Rep ListCoreDevicesResponse = D1 ('MetaData "ListCoreDevicesResponse" "Amazonka.GreengrassV2.ListCoreDevices" "libZSservicesZSamazonka-greengrassv2ZSamazonka-greengrassv2" 'False) (C1 ('MetaCons "ListCoreDevicesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "coreDevices") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [CoreDevice])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListCoreDevicesResponse Source #

Create a value of ListCoreDevicesResponse 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:ListCoreDevices', listCoreDevicesResponse_nextToken - The token for the next set of results, or null if there are no additional results.

$sel:coreDevices:ListCoreDevicesResponse', listCoreDevicesResponse_coreDevices - A list that summarizes each core device.

$sel:httpStatus:ListCoreDevicesResponse', listCoreDevicesResponse_httpStatus - The response's http status code.

Response Lenses

listCoreDevicesResponse_nextToken :: Lens' ListCoreDevicesResponse (Maybe Text) Source #

The token for the next set of results, or null if there are no additional results.