Copyright | (c) 2013-2017 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 |
Language | Haskell2010 |
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.
- deleteBandwidthRateLimit :: Text -> Text -> DeleteBandwidthRateLimit
- data DeleteBandwidthRateLimit
- dbrlbGatewayARN :: Lens' DeleteBandwidthRateLimit Text
- dbrlbBandwidthType :: Lens' DeleteBandwidthRateLimit Text
- deleteBandwidthRateLimitResponse :: Int -> DeleteBandwidthRateLimitResponse
- data DeleteBandwidthRateLimitResponse
- delrsGatewayARN :: Lens' DeleteBandwidthRateLimitResponse (Maybe Text)
- delrsResponseStatus :: Lens' DeleteBandwidthRateLimitResponse Int
Creating a Request
deleteBandwidthRateLimit Source #
Creates a value of DeleteBandwidthRateLimit
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dbrlbGatewayARN
- Undocumented member.dbrlbBandwidthType
- One of the BandwidthType values that indicates the gateway bandwidth rate limit to delete. Valid Values:Upload
,Download
,All
.
data DeleteBandwidthRateLimit Source #
A JSON object containing the following fields:
- 'DeleteBandwidthRateLimitInput$BandwidthType'
See: deleteBandwidthRateLimit
smart constructor.
Request Lenses
dbrlbGatewayARN :: Lens' DeleteBandwidthRateLimit Text Source #
Undocumented member.
dbrlbBandwidthType :: 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
deleteBandwidthRateLimitResponse Source #
Creates a value of DeleteBandwidthRateLimitResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
delrsGatewayARN
- Undocumented member.delrsResponseStatus
- -- | The response status code.
data DeleteBandwidthRateLimitResponse Source #
A JSON object containing the of the gateway whose bandwidth rate information was deleted.
See: deleteBandwidthRateLimitResponse
smart constructor.
Response Lenses
delrsGatewayARN :: Lens' DeleteBandwidthRateLimitResponse (Maybe Text) Source #
Undocumented member.
delrsResponseStatus :: Lens' DeleteBandwidthRateLimitResponse Int Source #
- - | The response status code.