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 |
Updates the bandwidth rate limit schedule for a specified gateway. By default, gateways do not have bandwidth rate limit schedules, which means no bandwidth rate limiting is in effect. Use this to initiate or update a gateway's bandwidth rate limit schedule. This operation is supported in the volume and tape gateway types.
Synopsis
- data UpdateBandwidthRateLimitSchedule = UpdateBandwidthRateLimitSchedule' {}
- newUpdateBandwidthRateLimitSchedule :: Text -> UpdateBandwidthRateLimitSchedule
- updateBandwidthRateLimitSchedule_gatewayARN :: Lens' UpdateBandwidthRateLimitSchedule Text
- updateBandwidthRateLimitSchedule_bandwidthRateLimitIntervals :: Lens' UpdateBandwidthRateLimitSchedule [BandwidthRateLimitInterval]
- data UpdateBandwidthRateLimitScheduleResponse = UpdateBandwidthRateLimitScheduleResponse' {
- gatewayARN :: Maybe Text
- httpStatus :: Int
- newUpdateBandwidthRateLimitScheduleResponse :: Int -> UpdateBandwidthRateLimitScheduleResponse
- updateBandwidthRateLimitScheduleResponse_gatewayARN :: Lens' UpdateBandwidthRateLimitScheduleResponse (Maybe Text)
- updateBandwidthRateLimitScheduleResponse_httpStatus :: Lens' UpdateBandwidthRateLimitScheduleResponse Int
Creating a Request
data UpdateBandwidthRateLimitSchedule Source #
See: newUpdateBandwidthRateLimitSchedule
smart constructor.
UpdateBandwidthRateLimitSchedule' | |
|
Instances
newUpdateBandwidthRateLimitSchedule Source #
Create a value of UpdateBandwidthRateLimitSchedule
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:UpdateBandwidthRateLimitSchedule'
, updateBandwidthRateLimitSchedule_gatewayARN
- Undocumented member.
$sel:bandwidthRateLimitIntervals:UpdateBandwidthRateLimitSchedule'
, updateBandwidthRateLimitSchedule_bandwidthRateLimitIntervals
- An array containing bandwidth rate limit schedule intervals for a
gateway. When no bandwidth rate limit intervals have been scheduled, the
array is empty.
Request Lenses
updateBandwidthRateLimitSchedule_gatewayARN :: Lens' UpdateBandwidthRateLimitSchedule Text Source #
Undocumented member.
updateBandwidthRateLimitSchedule_bandwidthRateLimitIntervals :: Lens' UpdateBandwidthRateLimitSchedule [BandwidthRateLimitInterval] Source #
An array containing bandwidth rate limit schedule intervals for a gateway. When no bandwidth rate limit intervals have been scheduled, the array is empty.
Destructuring the Response
data UpdateBandwidthRateLimitScheduleResponse Source #
See: newUpdateBandwidthRateLimitScheduleResponse
smart constructor.
UpdateBandwidthRateLimitScheduleResponse' | |
|
Instances
newUpdateBandwidthRateLimitScheduleResponse Source #
Create a value of UpdateBandwidthRateLimitScheduleResponse
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:UpdateBandwidthRateLimitSchedule'
, updateBandwidthRateLimitScheduleResponse_gatewayARN
- Undocumented member.
$sel:httpStatus:UpdateBandwidthRateLimitScheduleResponse'
, updateBandwidthRateLimitScheduleResponse_httpStatus
- The response's http status code.
Response Lenses
updateBandwidthRateLimitScheduleResponse_gatewayARN :: Lens' UpdateBandwidthRateLimitScheduleResponse (Maybe Text) Source #
Undocumented member.
updateBandwidthRateLimitScheduleResponse_httpStatus :: Lens' UpdateBandwidthRateLimitScheduleResponse Int Source #
The response's http status code.