libZSservicesZSamazonka-redshiftZSamazonka-redshift
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.Redshift.DescribeStorage

Description

Returns account level backups storage size and provisional storage.

Synopsis

Creating a Request

data DescribeStorage Source #

See: newDescribeStorage smart constructor.

Constructors

DescribeStorage' 

Instances

Instances details
Eq DescribeStorage Source # 
Instance details

Defined in Amazonka.Redshift.DescribeStorage

Read DescribeStorage Source # 
Instance details

Defined in Amazonka.Redshift.DescribeStorage

Show DescribeStorage Source # 
Instance details

Defined in Amazonka.Redshift.DescribeStorage

Generic DescribeStorage Source # 
Instance details

Defined in Amazonka.Redshift.DescribeStorage

Associated Types

type Rep DescribeStorage :: Type -> Type #

NFData DescribeStorage Source # 
Instance details

Defined in Amazonka.Redshift.DescribeStorage

Methods

rnf :: DescribeStorage -> () #

Hashable DescribeStorage Source # 
Instance details

Defined in Amazonka.Redshift.DescribeStorage

AWSRequest DescribeStorage Source # 
Instance details

Defined in Amazonka.Redshift.DescribeStorage

Associated Types

type AWSResponse DescribeStorage #

ToHeaders DescribeStorage Source # 
Instance details

Defined in Amazonka.Redshift.DescribeStorage

ToPath DescribeStorage Source # 
Instance details

Defined in Amazonka.Redshift.DescribeStorage

ToQuery DescribeStorage Source # 
Instance details

Defined in Amazonka.Redshift.DescribeStorage

type Rep DescribeStorage Source # 
Instance details

Defined in Amazonka.Redshift.DescribeStorage

type Rep DescribeStorage = D1 ('MetaData "DescribeStorage" "Amazonka.Redshift.DescribeStorage" "libZSservicesZSamazonka-redshiftZSamazonka-redshift" 'False) (C1 ('MetaCons "DescribeStorage'" 'PrefixI 'False) (U1 :: Type -> Type))
type AWSResponse DescribeStorage Source # 
Instance details

Defined in Amazonka.Redshift.DescribeStorage

newDescribeStorage :: DescribeStorage Source #

Create a value of DescribeStorage with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

Destructuring the Response

data DescribeStorageResponse Source #

See: newDescribeStorageResponse smart constructor.

Constructors

DescribeStorageResponse' 

Fields

Instances

Instances details
Eq DescribeStorageResponse Source # 
Instance details

Defined in Amazonka.Redshift.DescribeStorage

Read DescribeStorageResponse Source # 
Instance details

Defined in Amazonka.Redshift.DescribeStorage

Show DescribeStorageResponse Source # 
Instance details

Defined in Amazonka.Redshift.DescribeStorage

Generic DescribeStorageResponse Source # 
Instance details

Defined in Amazonka.Redshift.DescribeStorage

Associated Types

type Rep DescribeStorageResponse :: Type -> Type #

NFData DescribeStorageResponse Source # 
Instance details

Defined in Amazonka.Redshift.DescribeStorage

Methods

rnf :: DescribeStorageResponse -> () #

type Rep DescribeStorageResponse Source # 
Instance details

Defined in Amazonka.Redshift.DescribeStorage

type Rep DescribeStorageResponse = D1 ('MetaData "DescribeStorageResponse" "Amazonka.Redshift.DescribeStorage" "libZSservicesZSamazonka-redshiftZSamazonka-redshift" 'False) (C1 ('MetaCons "DescribeStorageResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "totalProvisionedStorageInMegaBytes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: (S1 ('MetaSel ('Just "totalBackupSizeInMegaBytes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeStorageResponse Source #

Create a value of DescribeStorageResponse 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:totalProvisionedStorageInMegaBytes:DescribeStorageResponse', describeStorageResponse_totalProvisionedStorageInMegaBytes - The total amount of storage currently provisioned.

$sel:totalBackupSizeInMegaBytes:DescribeStorageResponse', describeStorageResponse_totalBackupSizeInMegaBytes - The total amount of storage currently used for snapshots.

$sel:httpStatus:DescribeStorageResponse', describeStorageResponse_httpStatus - The response's http status code.

Response Lenses

describeStorageResponse_totalBackupSizeInMegaBytes :: Lens' DescribeStorageResponse (Maybe Double) Source #

The total amount of storage currently used for snapshots.