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.DescribeBandwidthRateLimit

Description

Returns the bandwidth rate limits of a gateway. By default, these limits are not set, which means no bandwidth rate limiting is in effect. This operation is supported for the stored volume, cached volume, and tape gateway types.

This operation only returns a value for a bandwidth rate limit only if the limit is set. If no limits are set for the gateway, then this operation returns only the gateway ARN in the response body. To specify which gateway to describe, use the Amazon Resource Name (ARN) of the gateway in your request.

Synopsis

Creating a Request

data DescribeBandwidthRateLimit Source #

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

See: newDescribeBandwidthRateLimit smart constructor.

Instances

Instances details
Eq DescribeBandwidthRateLimit Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeBandwidthRateLimit

Read DescribeBandwidthRateLimit Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeBandwidthRateLimit

Show DescribeBandwidthRateLimit Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeBandwidthRateLimit

Generic DescribeBandwidthRateLimit Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeBandwidthRateLimit

Associated Types

type Rep DescribeBandwidthRateLimit :: Type -> Type #

NFData DescribeBandwidthRateLimit Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeBandwidthRateLimit

Hashable DescribeBandwidthRateLimit Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeBandwidthRateLimit

ToJSON DescribeBandwidthRateLimit Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeBandwidthRateLimit

AWSRequest DescribeBandwidthRateLimit Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeBandwidthRateLimit

ToHeaders DescribeBandwidthRateLimit Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeBandwidthRateLimit

ToPath DescribeBandwidthRateLimit Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeBandwidthRateLimit

ToQuery DescribeBandwidthRateLimit Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeBandwidthRateLimit

type Rep DescribeBandwidthRateLimit Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeBandwidthRateLimit

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

Defined in Amazonka.StorageGateway.DescribeBandwidthRateLimit

newDescribeBandwidthRateLimit Source #

Create a value of DescribeBandwidthRateLimit 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:DescribeBandwidthRateLimit', describeBandwidthRateLimit_gatewayARN - Undocumented member.

Request Lenses

Destructuring the Response

data DescribeBandwidthRateLimitResponse Source #

A JSON object containing the following fields:

See: newDescribeBandwidthRateLimitResponse smart constructor.

Constructors

DescribeBandwidthRateLimitResponse' 

Fields

Instances

Instances details
Eq DescribeBandwidthRateLimitResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeBandwidthRateLimit

Read DescribeBandwidthRateLimitResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeBandwidthRateLimit

Show DescribeBandwidthRateLimitResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeBandwidthRateLimit

Generic DescribeBandwidthRateLimitResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeBandwidthRateLimit

Associated Types

type Rep DescribeBandwidthRateLimitResponse :: Type -> Type #

NFData DescribeBandwidthRateLimitResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeBandwidthRateLimit

type Rep DescribeBandwidthRateLimitResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeBandwidthRateLimit

type Rep DescribeBandwidthRateLimitResponse = D1 ('MetaData "DescribeBandwidthRateLimitResponse" "Amazonka.StorageGateway.DescribeBandwidthRateLimit" "libZSservicesZSamazonka-storagegatewayZSamazonka-storagegateway" 'False) (C1 ('MetaCons "DescribeBandwidthRateLimitResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "gatewayARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "averageUploadRateLimitInBitsPerSec") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "averageDownloadRateLimitInBitsPerSec") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeBandwidthRateLimitResponse Source #

Create a value of DescribeBandwidthRateLimitResponse 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:DescribeBandwidthRateLimit', describeBandwidthRateLimitResponse_gatewayARN - Undocumented member.

$sel:averageUploadRateLimitInBitsPerSec:DescribeBandwidthRateLimitResponse', describeBandwidthRateLimitResponse_averageUploadRateLimitInBitsPerSec - The average upload bandwidth rate limit in bits per second. This field does not appear in the response if the upload rate limit is not set.

$sel:averageDownloadRateLimitInBitsPerSec:DescribeBandwidthRateLimitResponse', describeBandwidthRateLimitResponse_averageDownloadRateLimitInBitsPerSec - The average download bandwidth rate limit in bits per second. This field does not appear in the response if the download rate limit is not set.

$sel:httpStatus:DescribeBandwidthRateLimitResponse', describeBandwidthRateLimitResponse_httpStatus - The response's http status code.

Response Lenses

describeBandwidthRateLimitResponse_averageUploadRateLimitInBitsPerSec :: Lens' DescribeBandwidthRateLimitResponse (Maybe Natural) Source #

The average upload bandwidth rate limit in bits per second. This field does not appear in the response if the upload rate limit is not set.

describeBandwidthRateLimitResponse_averageDownloadRateLimitInBitsPerSec :: Lens' DescribeBandwidthRateLimitResponse (Maybe Natural) Source #

The average download bandwidth rate limit in bits per second. This field does not appear in the response if the download rate limit is not set.