| 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.BackupGateway.GetBandwidthRateLimitSchedule
Description
Retrieves 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 get a gateway's bandwidth rate limit schedule.
Synopsis
- data GetBandwidthRateLimitSchedule = GetBandwidthRateLimitSchedule' {
- gatewayArn :: Text
- newGetBandwidthRateLimitSchedule :: Text -> GetBandwidthRateLimitSchedule
- getBandwidthRateLimitSchedule_gatewayArn :: Lens' GetBandwidthRateLimitSchedule Text
- data GetBandwidthRateLimitScheduleResponse = GetBandwidthRateLimitScheduleResponse' {}
- newGetBandwidthRateLimitScheduleResponse :: Int -> GetBandwidthRateLimitScheduleResponse
- getBandwidthRateLimitScheduleResponse_bandwidthRateLimitIntervals :: Lens' GetBandwidthRateLimitScheduleResponse (Maybe [BandwidthRateLimitInterval])
- getBandwidthRateLimitScheduleResponse_gatewayArn :: Lens' GetBandwidthRateLimitScheduleResponse (Maybe Text)
- getBandwidthRateLimitScheduleResponse_httpStatus :: Lens' GetBandwidthRateLimitScheduleResponse Int
Creating a Request
data GetBandwidthRateLimitSchedule Source #
See: newGetBandwidthRateLimitSchedule smart constructor.
Constructors
| GetBandwidthRateLimitSchedule' | |
Fields
| |
Instances
newGetBandwidthRateLimitSchedule Source #
Create a value of GetBandwidthRateLimitSchedule 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:
GetBandwidthRateLimitSchedule, getBandwidthRateLimitSchedule_gatewayArn - The Amazon Resource Name (ARN) of the gateway. Use the
ListGateways
operation to return a list of gateways for your account and Amazon Web
Services Region.
Request Lenses
getBandwidthRateLimitSchedule_gatewayArn :: Lens' GetBandwidthRateLimitSchedule Text Source #
The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.
Destructuring the Response
data GetBandwidthRateLimitScheduleResponse Source #
See: newGetBandwidthRateLimitScheduleResponse smart constructor.
Constructors
| GetBandwidthRateLimitScheduleResponse' | |
Fields
| |
Instances
newGetBandwidthRateLimitScheduleResponse Source #
Arguments
| :: Int | |
| -> GetBandwidthRateLimitScheduleResponse |
Create a value of GetBandwidthRateLimitScheduleResponse 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:bandwidthRateLimitIntervals:GetBandwidthRateLimitScheduleResponse', getBandwidthRateLimitScheduleResponse_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.
GetBandwidthRateLimitSchedule, getBandwidthRateLimitScheduleResponse_gatewayArn - The Amazon Resource Name (ARN) of the gateway. Use the
ListGateways
operation to return a list of gateways for your account and Amazon Web
Services Region.
$sel:httpStatus:GetBandwidthRateLimitScheduleResponse', getBandwidthRateLimitScheduleResponse_httpStatus - The response's http status code.
Response Lenses
getBandwidthRateLimitScheduleResponse_bandwidthRateLimitIntervals :: Lens' GetBandwidthRateLimitScheduleResponse (Maybe [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.
getBandwidthRateLimitScheduleResponse_gatewayArn :: Lens' GetBandwidthRateLimitScheduleResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.
getBandwidthRateLimitScheduleResponse_httpStatus :: Lens' GetBandwidthRateLimitScheduleResponse Int Source #
The response's http status code.