libZSservicesZSamazonka-storagegatewayZSamazonka-storagegateway
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.StorageGateway.UpdateMaintenanceStartTime

Description

Updates a gateway's weekly maintenance start time information, including day and time of the week. The maintenance time is the time in your gateway's time zone.

Synopsis

Creating a Request

data UpdateMaintenanceStartTime Source #

A JSON object containing the following fields:

  • UpdateMaintenanceStartTimeInput$DayOfMonth
  • UpdateMaintenanceStartTimeInput$DayOfWeek
  • UpdateMaintenanceStartTimeInput$HourOfDay
  • UpdateMaintenanceStartTimeInput$MinuteOfHour

See: newUpdateMaintenanceStartTime smart constructor.

Constructors

UpdateMaintenanceStartTime' 

Fields

  • dayOfMonth :: Maybe Natural

    The day of the month component of the maintenance start time represented as an ordinal number from 1 to 28, where 1 represents the first day of the month and 28 represents the last day of the month.

  • dayOfWeek :: Maybe Natural

    The day of the week component of the maintenance start time week represented as an ordinal number from 0 to 6, where 0 represents Sunday and 6 Saturday.

  • gatewayARN :: Text
     
  • hourOfDay :: Natural

    The hour component of the maintenance start time represented as hh, where hh is the hour (00 to 23). The hour of the day is in the time zone of the gateway.

  • minuteOfHour :: Natural

    The minute component of the maintenance start time represented as mm, where mm is the minute (00 to 59). The minute of the hour is in the time zone of the gateway.

Instances

Instances details
Eq UpdateMaintenanceStartTime Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateMaintenanceStartTime

Read UpdateMaintenanceStartTime Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateMaintenanceStartTime

Show UpdateMaintenanceStartTime Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateMaintenanceStartTime

Generic UpdateMaintenanceStartTime Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateMaintenanceStartTime

Associated Types

type Rep UpdateMaintenanceStartTime :: Type -> Type #

NFData UpdateMaintenanceStartTime Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateMaintenanceStartTime

Hashable UpdateMaintenanceStartTime Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateMaintenanceStartTime

ToJSON UpdateMaintenanceStartTime Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateMaintenanceStartTime

AWSRequest UpdateMaintenanceStartTime Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateMaintenanceStartTime

ToHeaders UpdateMaintenanceStartTime Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateMaintenanceStartTime

ToPath UpdateMaintenanceStartTime Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateMaintenanceStartTime

ToQuery UpdateMaintenanceStartTime Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateMaintenanceStartTime

type Rep UpdateMaintenanceStartTime Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateMaintenanceStartTime

type Rep UpdateMaintenanceStartTime = D1 ('MetaData "UpdateMaintenanceStartTime" "Amazonka.StorageGateway.UpdateMaintenanceStartTime" "libZSservicesZSamazonka-storagegatewayZSamazonka-storagegateway" 'False) (C1 ('MetaCons "UpdateMaintenanceStartTime'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "dayOfMonth") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "dayOfWeek") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "gatewayARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "hourOfDay") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural) :*: S1 ('MetaSel ('Just "minuteOfHour") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural)))))
type AWSResponse UpdateMaintenanceStartTime Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateMaintenanceStartTime

newUpdateMaintenanceStartTime Source #

Create a value of UpdateMaintenanceStartTime 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:dayOfMonth:UpdateMaintenanceStartTime', updateMaintenanceStartTime_dayOfMonth - The day of the month component of the maintenance start time represented as an ordinal number from 1 to 28, where 1 represents the first day of the month and 28 represents the last day of the month.

$sel:dayOfWeek:UpdateMaintenanceStartTime', updateMaintenanceStartTime_dayOfWeek - The day of the week component of the maintenance start time week represented as an ordinal number from 0 to 6, where 0 represents Sunday and 6 Saturday.

$sel:gatewayARN:UpdateMaintenanceStartTime', updateMaintenanceStartTime_gatewayARN - Undocumented member.

$sel:hourOfDay:UpdateMaintenanceStartTime', updateMaintenanceStartTime_hourOfDay - The hour component of the maintenance start time represented as hh, where hh is the hour (00 to 23). The hour of the day is in the time zone of the gateway.

$sel:minuteOfHour:UpdateMaintenanceStartTime', updateMaintenanceStartTime_minuteOfHour - The minute component of the maintenance start time represented as mm, where mm is the minute (00 to 59). The minute of the hour is in the time zone of the gateway.

Request Lenses

updateMaintenanceStartTime_dayOfMonth :: Lens' UpdateMaintenanceStartTime (Maybe Natural) Source #

The day of the month component of the maintenance start time represented as an ordinal number from 1 to 28, where 1 represents the first day of the month and 28 represents the last day of the month.

updateMaintenanceStartTime_dayOfWeek :: Lens' UpdateMaintenanceStartTime (Maybe Natural) Source #

The day of the week component of the maintenance start time week represented as an ordinal number from 0 to 6, where 0 represents Sunday and 6 Saturday.

updateMaintenanceStartTime_hourOfDay :: Lens' UpdateMaintenanceStartTime Natural Source #

The hour component of the maintenance start time represented as hh, where hh is the hour (00 to 23). The hour of the day is in the time zone of the gateway.

updateMaintenanceStartTime_minuteOfHour :: Lens' UpdateMaintenanceStartTime Natural Source #

The minute component of the maintenance start time represented as mm, where mm is the minute (00 to 59). The minute of the hour is in the time zone of the gateway.

Destructuring the Response

data UpdateMaintenanceStartTimeResponse Source #

A JSON object containing the Amazon Resource Name (ARN) of the gateway whose maintenance start time is updated.

See: newUpdateMaintenanceStartTimeResponse smart constructor.

Constructors

UpdateMaintenanceStartTimeResponse' 

Fields

Instances

Instances details
Eq UpdateMaintenanceStartTimeResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateMaintenanceStartTime

Read UpdateMaintenanceStartTimeResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateMaintenanceStartTime

Show UpdateMaintenanceStartTimeResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateMaintenanceStartTime

Generic UpdateMaintenanceStartTimeResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateMaintenanceStartTime

Associated Types

type Rep UpdateMaintenanceStartTimeResponse :: Type -> Type #

NFData UpdateMaintenanceStartTimeResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateMaintenanceStartTime

type Rep UpdateMaintenanceStartTimeResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.UpdateMaintenanceStartTime

type Rep UpdateMaintenanceStartTimeResponse = D1 ('MetaData "UpdateMaintenanceStartTimeResponse" "Amazonka.StorageGateway.UpdateMaintenanceStartTime" "libZSservicesZSamazonka-storagegatewayZSamazonka-storagegateway" 'False) (C1 ('MetaCons "UpdateMaintenanceStartTimeResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "gatewayARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateMaintenanceStartTimeResponse Source #

Create a value of UpdateMaintenanceStartTimeResponse 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:UpdateMaintenanceStartTime', updateMaintenanceStartTimeResponse_gatewayARN - Undocumented member.

$sel:httpStatus:UpdateMaintenanceStartTimeResponse', updateMaintenanceStartTimeResponse_httpStatus - The response's http status code.

Response Lenses