libZSservicesZSamazonka-storagegatewayZSamazonka-storagegateway
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.StorageGateway.ListLocalDisks

Description

Returns a list of the gateway's local disks. To specify which gateway to describe, you use the Amazon Resource Name (ARN) of the gateway in the body of the request.

The request returns a list of all disks, specifying which are configured as working storage, cache storage, or stored volume or not configured at all. The response includes a DiskStatus field. This field can have a value of present (the disk is available to use), missing (the disk is no longer connected to the gateway), or mismatch (the disk node is occupied by a disk that has incorrect metadata or the disk content is corrupted).

Synopsis

Creating a Request

data ListLocalDisks Source #

A JSON object containing the Amazon Resource Name (ARN) of the gateway.

See: newListLocalDisks smart constructor.

Constructors

ListLocalDisks' 

Fields

Instances

Instances details
Eq ListLocalDisks Source # 
Instance details

Defined in Amazonka.StorageGateway.ListLocalDisks

Read ListLocalDisks Source # 
Instance details

Defined in Amazonka.StorageGateway.ListLocalDisks

Show ListLocalDisks Source # 
Instance details

Defined in Amazonka.StorageGateway.ListLocalDisks

Generic ListLocalDisks Source # 
Instance details

Defined in Amazonka.StorageGateway.ListLocalDisks

Associated Types

type Rep ListLocalDisks :: Type -> Type #

NFData ListLocalDisks Source # 
Instance details

Defined in Amazonka.StorageGateway.ListLocalDisks

Methods

rnf :: ListLocalDisks -> () #

Hashable ListLocalDisks Source # 
Instance details

Defined in Amazonka.StorageGateway.ListLocalDisks

ToJSON ListLocalDisks Source # 
Instance details

Defined in Amazonka.StorageGateway.ListLocalDisks

AWSRequest ListLocalDisks Source # 
Instance details

Defined in Amazonka.StorageGateway.ListLocalDisks

Associated Types

type AWSResponse ListLocalDisks #

ToHeaders ListLocalDisks Source # 
Instance details

Defined in Amazonka.StorageGateway.ListLocalDisks

ToPath ListLocalDisks Source # 
Instance details

Defined in Amazonka.StorageGateway.ListLocalDisks

ToQuery ListLocalDisks Source # 
Instance details

Defined in Amazonka.StorageGateway.ListLocalDisks

type Rep ListLocalDisks Source # 
Instance details

Defined in Amazonka.StorageGateway.ListLocalDisks

type Rep ListLocalDisks = D1 ('MetaData "ListLocalDisks" "Amazonka.StorageGateway.ListLocalDisks" "libZSservicesZSamazonka-storagegatewayZSamazonka-storagegateway" 'False) (C1 ('MetaCons "ListLocalDisks'" 'PrefixI 'True) (S1 ('MetaSel ('Just "gatewayARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse ListLocalDisks Source # 
Instance details

Defined in Amazonka.StorageGateway.ListLocalDisks

newListLocalDisks Source #

Create a value of ListLocalDisks 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:gatewayARN:ListLocalDisks', listLocalDisks_gatewayARN - Undocumented member.

Request Lenses

Destructuring the Response

data ListLocalDisksResponse Source #

See: newListLocalDisksResponse smart constructor.

Constructors

ListLocalDisksResponse' 

Fields

Instances

Instances details
Eq ListLocalDisksResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.ListLocalDisks

Read ListLocalDisksResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.ListLocalDisks

Show ListLocalDisksResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.ListLocalDisks

Generic ListLocalDisksResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.ListLocalDisks

Associated Types

type Rep ListLocalDisksResponse :: Type -> Type #

NFData ListLocalDisksResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.ListLocalDisks

Methods

rnf :: ListLocalDisksResponse -> () #

type Rep ListLocalDisksResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.ListLocalDisks

type Rep ListLocalDisksResponse = D1 ('MetaData "ListLocalDisksResponse" "Amazonka.StorageGateway.ListLocalDisks" "libZSservicesZSamazonka-storagegatewayZSamazonka-storagegateway" 'False) (C1 ('MetaCons "ListLocalDisksResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "gatewayARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "disks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Disk])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListLocalDisksResponse Source #

Create a value of ListLocalDisksResponse 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:gatewayARN:ListLocalDisks', listLocalDisksResponse_gatewayARN - Undocumented member.

$sel:disks:ListLocalDisksResponse', listLocalDisksResponse_disks - A JSON object containing the following fields:

  • ListLocalDisksOutput$Disks

$sel:httpStatus:ListLocalDisksResponse', listLocalDisksResponse_httpStatus - The response's http status code.

Response Lenses

listLocalDisksResponse_disks :: Lens' ListLocalDisksResponse (Maybe [Disk]) Source #

A JSON object containing the following fields:

  • ListLocalDisksOutput$Disks