| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.StorageGateway.UpdateBandwidthRateLimitSchedule
Description
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 only for volume, tape and S3 file gateways. FSx file gateways do not support bandwidth rate limits.
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.
Constructors
| UpdateBandwidthRateLimitSchedule' | |
Fields
| |
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:
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.
Constructors
| UpdateBandwidthRateLimitScheduleResponse' | |
Fields
| |
Instances
newUpdateBandwidthRateLimitScheduleResponse Source #
Arguments
| :: Int | |
| -> UpdateBandwidthRateLimitScheduleResponse |
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:
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.