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

Description

Deletes the bandwidth rate limits of a gateway. You can delete either the upload and download bandwidth rate limit, or you can delete both. If you delete only one of the limits, the other limit remains unchanged. To specify which gateway to work with, use the Amazon Resource Name (ARN) of the gateway in your request. This operation is supported for the stored volume, cached volume and tape gateway types.

Synopsis

Creating a Request

data DeleteBandwidthRateLimit Source #

A JSON object containing the following fields:

  • DeleteBandwidthRateLimitInput$BandwidthType

See: newDeleteBandwidthRateLimit smart constructor.

Constructors

DeleteBandwidthRateLimit' 

Fields

  • gatewayARN :: Text
     
  • bandwidthType :: Text

    One of the BandwidthType values that indicates the gateway bandwidth rate limit to delete.

    Valid Values: UPLOAD | DOWNLOAD | ALL

Instances

Instances details
Eq DeleteBandwidthRateLimit Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteBandwidthRateLimit

Read DeleteBandwidthRateLimit Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteBandwidthRateLimit

Show DeleteBandwidthRateLimit Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteBandwidthRateLimit

Generic DeleteBandwidthRateLimit Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteBandwidthRateLimit

Associated Types

type Rep DeleteBandwidthRateLimit :: Type -> Type #

NFData DeleteBandwidthRateLimit Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteBandwidthRateLimit

Hashable DeleteBandwidthRateLimit Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteBandwidthRateLimit

ToJSON DeleteBandwidthRateLimit Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteBandwidthRateLimit

AWSRequest DeleteBandwidthRateLimit Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteBandwidthRateLimit

ToHeaders DeleteBandwidthRateLimit Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteBandwidthRateLimit

ToPath DeleteBandwidthRateLimit Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteBandwidthRateLimit

ToQuery DeleteBandwidthRateLimit Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteBandwidthRateLimit

type Rep DeleteBandwidthRateLimit Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteBandwidthRateLimit

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

Defined in Amazonka.StorageGateway.DeleteBandwidthRateLimit

newDeleteBandwidthRateLimit Source #

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

$sel:bandwidthType:DeleteBandwidthRateLimit', deleteBandwidthRateLimit_bandwidthType - One of the BandwidthType values that indicates the gateway bandwidth rate limit to delete.

Valid Values: UPLOAD | DOWNLOAD | ALL

Request Lenses

deleteBandwidthRateLimit_bandwidthType :: Lens' DeleteBandwidthRateLimit Text Source #

One of the BandwidthType values that indicates the gateway bandwidth rate limit to delete.

Valid Values: UPLOAD | DOWNLOAD | ALL

Destructuring the Response

data DeleteBandwidthRateLimitResponse Source #

A JSON object containing the Amazon Resource Name (ARN) of the gateway whose bandwidth rate information was deleted.

See: newDeleteBandwidthRateLimitResponse smart constructor.

Constructors

DeleteBandwidthRateLimitResponse' 

Fields

Instances

Instances details
Eq DeleteBandwidthRateLimitResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteBandwidthRateLimit

Read DeleteBandwidthRateLimitResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteBandwidthRateLimit

Show DeleteBandwidthRateLimitResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteBandwidthRateLimit

Generic DeleteBandwidthRateLimitResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteBandwidthRateLimit

Associated Types

type Rep DeleteBandwidthRateLimitResponse :: Type -> Type #

NFData DeleteBandwidthRateLimitResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteBandwidthRateLimit

type Rep DeleteBandwidthRateLimitResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteBandwidthRateLimit

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

newDeleteBandwidthRateLimitResponse Source #

Create a value of DeleteBandwidthRateLimitResponse 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:DeleteBandwidthRateLimit', deleteBandwidthRateLimitResponse_gatewayARN - Undocumented member.

$sel:httpStatus:DeleteBandwidthRateLimitResponse', deleteBandwidthRateLimitResponse_httpStatus - The response's http status code.

Response Lenses