amazonka-backup-gateway-2.0: Amazon Backup Gateway SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.BackupGateway.PutMaintenanceStartTime

Description

Set the maintenance start time for a gateway.

Synopsis

Creating a Request

data PutMaintenanceStartTime Source #

See: newPutMaintenanceStartTime smart constructor.

Constructors

PutMaintenanceStartTime' 

Fields

  • dayOfMonth :: Maybe Natural

    The day of the month start maintenance on a gateway.

    Valid values range from Sunday to Saturday.

  • dayOfWeek :: Maybe Natural

    The day of the week to start maintenance on a gateway.

  • gatewayArn :: Text

    The Amazon Resource Name (ARN) for the gateway, used to specify its maintenance start time.

  • hourOfDay :: Natural

    The hour of the day to start maintenance on a gateway.

  • minuteOfHour :: Natural

    The minute of the hour to start maintenance on a gateway.

Instances

Instances details
ToJSON PutMaintenanceStartTime Source # 
Instance details

Defined in Amazonka.BackupGateway.PutMaintenanceStartTime

ToHeaders PutMaintenanceStartTime Source # 
Instance details

Defined in Amazonka.BackupGateway.PutMaintenanceStartTime

ToPath PutMaintenanceStartTime Source # 
Instance details

Defined in Amazonka.BackupGateway.PutMaintenanceStartTime

ToQuery PutMaintenanceStartTime Source # 
Instance details

Defined in Amazonka.BackupGateway.PutMaintenanceStartTime

AWSRequest PutMaintenanceStartTime Source # 
Instance details

Defined in Amazonka.BackupGateway.PutMaintenanceStartTime

Generic PutMaintenanceStartTime Source # 
Instance details

Defined in Amazonka.BackupGateway.PutMaintenanceStartTime

Associated Types

type Rep PutMaintenanceStartTime :: Type -> Type #

Read PutMaintenanceStartTime Source # 
Instance details

Defined in Amazonka.BackupGateway.PutMaintenanceStartTime

Show PutMaintenanceStartTime Source # 
Instance details

Defined in Amazonka.BackupGateway.PutMaintenanceStartTime

NFData PutMaintenanceStartTime Source # 
Instance details

Defined in Amazonka.BackupGateway.PutMaintenanceStartTime

Methods

rnf :: PutMaintenanceStartTime -> () #

Eq PutMaintenanceStartTime Source # 
Instance details

Defined in Amazonka.BackupGateway.PutMaintenanceStartTime

Hashable PutMaintenanceStartTime Source # 
Instance details

Defined in Amazonka.BackupGateway.PutMaintenanceStartTime

type AWSResponse PutMaintenanceStartTime Source # 
Instance details

Defined in Amazonka.BackupGateway.PutMaintenanceStartTime

type Rep PutMaintenanceStartTime Source # 
Instance details

Defined in Amazonka.BackupGateway.PutMaintenanceStartTime

type Rep PutMaintenanceStartTime = D1 ('MetaData "PutMaintenanceStartTime" "Amazonka.BackupGateway.PutMaintenanceStartTime" "amazonka-backup-gateway-2.0-Ee3gVOmXMeV2r3uv4sRO9" 'False) (C1 ('MetaCons "PutMaintenanceStartTime'" '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)))))

newPutMaintenanceStartTime Source #

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

  • gatewayArn :: Maybe Text

    The Amazon Resource Name (ARN) of a gateway for which you set the maintenance start time.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic PutMaintenanceStartTimeResponse Source # 
Instance details

Defined in Amazonka.BackupGateway.PutMaintenanceStartTime

Associated Types

type Rep PutMaintenanceStartTimeResponse :: Type -> Type #

Read PutMaintenanceStartTimeResponse Source # 
Instance details

Defined in Amazonka.BackupGateway.PutMaintenanceStartTime

Show PutMaintenanceStartTimeResponse Source # 
Instance details

Defined in Amazonka.BackupGateway.PutMaintenanceStartTime

NFData PutMaintenanceStartTimeResponse Source # 
Instance details

Defined in Amazonka.BackupGateway.PutMaintenanceStartTime

Eq PutMaintenanceStartTimeResponse Source # 
Instance details

Defined in Amazonka.BackupGateway.PutMaintenanceStartTime

type Rep PutMaintenanceStartTimeResponse Source # 
Instance details

Defined in Amazonka.BackupGateway.PutMaintenanceStartTime

type Rep PutMaintenanceStartTimeResponse = D1 ('MetaData "PutMaintenanceStartTimeResponse" "Amazonka.BackupGateway.PutMaintenanceStartTime" "amazonka-backup-gateway-2.0-Ee3gVOmXMeV2r3uv4sRO9" 'False) (C1 ('MetaCons "PutMaintenanceStartTimeResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "gatewayArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

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.