libZSservicesZSamazonka-snow-device-managementZSamazonka-snow-device-management
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.SnowDeviceManagement.ListDeviceResources

Description

Returns a list of the Amazon Web Services resources available for a device. Currently, Amazon EC2 instances are the only supported resource type.

This operation returns paginated results.

Synopsis

Creating a Request

data ListDeviceResources Source #

See: newListDeviceResources smart constructor.

Constructors

ListDeviceResources' 

Fields

Instances

Instances details
Eq ListDeviceResources Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListDeviceResources

Read ListDeviceResources Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListDeviceResources

Show ListDeviceResources Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListDeviceResources

Generic ListDeviceResources Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListDeviceResources

Associated Types

type Rep ListDeviceResources :: Type -> Type #

NFData ListDeviceResources Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListDeviceResources

Methods

rnf :: ListDeviceResources -> () #

Hashable ListDeviceResources Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListDeviceResources

AWSPager ListDeviceResources Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListDeviceResources

AWSRequest ListDeviceResources Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListDeviceResources

Associated Types

type AWSResponse ListDeviceResources #

ToHeaders ListDeviceResources Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListDeviceResources

ToPath ListDeviceResources Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListDeviceResources

ToQuery ListDeviceResources Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListDeviceResources

type Rep ListDeviceResources Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListDeviceResources

type Rep ListDeviceResources = D1 ('MetaData "ListDeviceResources" "Amazonka.SnowDeviceManagement.ListDeviceResources" "libZSservicesZSamazonka-snow-device-managementZSamazonka-snow-device-management" 'False) (C1 ('MetaCons "ListDeviceResources'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "managedDeviceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ListDeviceResources Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListDeviceResources

newListDeviceResources Source #

Create a value of ListDeviceResources 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:ListDeviceResources', listDeviceResources_nextToken - A pagination token to continue to the next page of results.

$sel:type':ListDeviceResources', listDeviceResources_type - A structure used to filter the results by type of resource.

$sel:maxResults:ListDeviceResources', listDeviceResources_maxResults - The maximum number of resources per page.

$sel:managedDeviceId:ListDeviceResources', listDeviceResources_managedDeviceId - The ID of the managed device that you are listing the resources of.

Request Lenses

listDeviceResources_nextToken :: Lens' ListDeviceResources (Maybe Text) Source #

A pagination token to continue to the next page of results.

listDeviceResources_type :: Lens' ListDeviceResources (Maybe Text) Source #

A structure used to filter the results by type of resource.

listDeviceResources_maxResults :: Lens' ListDeviceResources (Maybe Natural) Source #

The maximum number of resources per page.

listDeviceResources_managedDeviceId :: Lens' ListDeviceResources Text Source #

The ID of the managed device that you are listing the resources of.

Destructuring the Response

data ListDeviceResourcesResponse Source #

See: newListDeviceResourcesResponse smart constructor.

Constructors

ListDeviceResourcesResponse' 

Fields

Instances

Instances details
Eq ListDeviceResourcesResponse Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListDeviceResources

Read ListDeviceResourcesResponse Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListDeviceResources

Show ListDeviceResourcesResponse Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListDeviceResources

Generic ListDeviceResourcesResponse Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListDeviceResources

Associated Types

type Rep ListDeviceResourcesResponse :: Type -> Type #

NFData ListDeviceResourcesResponse Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListDeviceResources

type Rep ListDeviceResourcesResponse Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.ListDeviceResources

type Rep ListDeviceResourcesResponse = D1 ('MetaData "ListDeviceResourcesResponse" "Amazonka.SnowDeviceManagement.ListDeviceResources" "libZSservicesZSamazonka-snow-device-managementZSamazonka-snow-device-management" 'False) (C1 ('MetaCons "ListDeviceResourcesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ResourceSummary])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListDeviceResourcesResponse Source #

Create a value of ListDeviceResourcesResponse 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:resources:ListDeviceResourcesResponse', listDeviceResourcesResponse_resources - A structure defining the resource's type, Amazon Resource Name (ARN), and ID.

$sel:nextToken:ListDeviceResources', listDeviceResourcesResponse_nextToken - A pagination token to continue to the next page of results.

$sel:httpStatus:ListDeviceResourcesResponse', listDeviceResourcesResponse_httpStatus - The response's http status code.

Response Lenses

listDeviceResourcesResponse_resources :: Lens' ListDeviceResourcesResponse (Maybe [ResourceSummary]) Source #

A structure defining the resource's type, Amazon Resource Name (ARN), and ID.

listDeviceResourcesResponse_nextToken :: Lens' ListDeviceResourcesResponse (Maybe Text) Source #

A pagination token to continue to the next page of results.