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.PutMaintenanceStartTime
Description
Set the maintenance start time for a gateway.
Synopsis
- data PutMaintenanceStartTime = PutMaintenanceStartTime' {}
- newPutMaintenanceStartTime :: Text -> Natural -> Natural -> PutMaintenanceStartTime
- putMaintenanceStartTime_dayOfMonth :: Lens' PutMaintenanceStartTime (Maybe Natural)
- putMaintenanceStartTime_dayOfWeek :: Lens' PutMaintenanceStartTime (Maybe Natural)
- putMaintenanceStartTime_gatewayArn :: Lens' PutMaintenanceStartTime Text
- putMaintenanceStartTime_hourOfDay :: Lens' PutMaintenanceStartTime Natural
- putMaintenanceStartTime_minuteOfHour :: Lens' PutMaintenanceStartTime Natural
- data PutMaintenanceStartTimeResponse = PutMaintenanceStartTimeResponse' {
- gatewayArn :: Maybe Text
- httpStatus :: Int
- newPutMaintenanceStartTimeResponse :: Int -> PutMaintenanceStartTimeResponse
- putMaintenanceStartTimeResponse_gatewayArn :: Lens' PutMaintenanceStartTimeResponse (Maybe Text)
- putMaintenanceStartTimeResponse_httpStatus :: Lens' PutMaintenanceStartTimeResponse Int
Creating a Request
data PutMaintenanceStartTime Source #
See: newPutMaintenanceStartTime
smart constructor.
Constructors
PutMaintenanceStartTime' | |
Fields
|
Instances
newPutMaintenanceStartTime Source #
Arguments
:: Text | |
-> Natural | |
-> Natural | |
-> PutMaintenanceStartTime |
Create a value of PutMaintenanceStartTime
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:
PutMaintenanceStartTime
, putMaintenanceStartTime_dayOfMonth
- The day of the month start maintenance on a gateway.
Valid values range from Sunday
to Saturday
.
PutMaintenanceStartTime
, putMaintenanceStartTime_dayOfWeek
- The day of the week to start maintenance on a gateway.
PutMaintenanceStartTime
, putMaintenanceStartTime_gatewayArn
- The Amazon Resource Name (ARN) for the gateway, used to specify its
maintenance start time.
PutMaintenanceStartTime
, putMaintenanceStartTime_hourOfDay
- The hour of the day to start maintenance on a gateway.
PutMaintenanceStartTime
, putMaintenanceStartTime_minuteOfHour
- The minute of the hour to start maintenance on a gateway.
Request Lenses
putMaintenanceStartTime_dayOfMonth :: Lens' PutMaintenanceStartTime (Maybe Natural) Source #
The day of the month start maintenance on a gateway.
Valid values range from Sunday
to Saturday
.
putMaintenanceStartTime_dayOfWeek :: Lens' PutMaintenanceStartTime (Maybe Natural) Source #
The day of the week to start maintenance on a gateway.
putMaintenanceStartTime_gatewayArn :: Lens' PutMaintenanceStartTime Text Source #
The Amazon Resource Name (ARN) for the gateway, used to specify its maintenance start time.
putMaintenanceStartTime_hourOfDay :: Lens' PutMaintenanceStartTime Natural Source #
The hour of the day to start maintenance on a gateway.
putMaintenanceStartTime_minuteOfHour :: Lens' PutMaintenanceStartTime Natural Source #
The minute of the hour to start maintenance on a gateway.
Destructuring the Response
data PutMaintenanceStartTimeResponse Source #
See: newPutMaintenanceStartTimeResponse
smart constructor.
Constructors
PutMaintenanceStartTimeResponse' | |
Fields
|
Instances
newPutMaintenanceStartTimeResponse Source #
Create a value of PutMaintenanceStartTimeResponse
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:
PutMaintenanceStartTime
, putMaintenanceStartTimeResponse_gatewayArn
- The Amazon Resource Name (ARN) of a gateway for which you set the
maintenance start time.
$sel:httpStatus:PutMaintenanceStartTimeResponse'
, putMaintenanceStartTimeResponse_httpStatus
- The response's http status code.
Response Lenses
putMaintenanceStartTimeResponse_gatewayArn :: Lens' PutMaintenanceStartTimeResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of a gateway for which you set the maintenance start time.
putMaintenanceStartTimeResponse_httpStatus :: Lens' PutMaintenanceStartTimeResponse Int Source #
The response's http status code.