Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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
- data DeleteBandwidthRateLimit = DeleteBandwidthRateLimit' {
- gatewayARN :: Text
- bandwidthType :: Text
- newDeleteBandwidthRateLimit :: Text -> Text -> DeleteBandwidthRateLimit
- deleteBandwidthRateLimit_gatewayARN :: Lens' DeleteBandwidthRateLimit Text
- deleteBandwidthRateLimit_bandwidthType :: Lens' DeleteBandwidthRateLimit Text
- data DeleteBandwidthRateLimitResponse = DeleteBandwidthRateLimitResponse' {
- gatewayARN :: Maybe Text
- httpStatus :: Int
- newDeleteBandwidthRateLimitResponse :: Int -> DeleteBandwidthRateLimitResponse
- deleteBandwidthRateLimitResponse_gatewayARN :: Lens' DeleteBandwidthRateLimitResponse (Maybe Text)
- deleteBandwidthRateLimitResponse_httpStatus :: Lens' DeleteBandwidthRateLimitResponse Int
Creating a Request
data DeleteBandwidthRateLimit Source #
A JSON object containing the following fields:
- DeleteBandwidthRateLimitInput$BandwidthType
See: newDeleteBandwidthRateLimit
smart constructor.
Constructors
DeleteBandwidthRateLimit' | |
Fields
|
Instances
newDeleteBandwidthRateLimit Source #
Arguments
:: Text | |
-> Text | |
-> DeleteBandwidthRateLimit |
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_gatewayARN :: Lens' DeleteBandwidthRateLimit Text Source #
Undocumented member.
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
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
deleteBandwidthRateLimitResponse_gatewayARN :: Lens' DeleteBandwidthRateLimitResponse (Maybe Text) Source #
Undocumented member.
deleteBandwidthRateLimitResponse_httpStatus :: Lens' DeleteBandwidthRateLimitResponse Int Source #
The response's http status code.