amazonka-storagegateway-2.0: Amazon Storage 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.StorageGateway.DescribeMaintenanceStartTime

Description

Returns your gateway's weekly maintenance start time including the day and time of the week. Note that values are in terms of the gateway's time zone.

Synopsis

Creating a Request

data DescribeMaintenanceStartTime Source #

A JSON object containing the Amazon Resource Name (ARN) of the gateway.

See: newDescribeMaintenanceStartTime smart constructor.

Instances

Instances details
ToJSON DescribeMaintenanceStartTime Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeMaintenanceStartTime

ToHeaders DescribeMaintenanceStartTime Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeMaintenanceStartTime

ToPath DescribeMaintenanceStartTime Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeMaintenanceStartTime

ToQuery DescribeMaintenanceStartTime Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeMaintenanceStartTime

AWSRequest DescribeMaintenanceStartTime Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeMaintenanceStartTime

Generic DescribeMaintenanceStartTime Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeMaintenanceStartTime

Associated Types

type Rep DescribeMaintenanceStartTime :: Type -> Type #

Read DescribeMaintenanceStartTime Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeMaintenanceStartTime

Show DescribeMaintenanceStartTime Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeMaintenanceStartTime

NFData DescribeMaintenanceStartTime Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeMaintenanceStartTime

Eq DescribeMaintenanceStartTime Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeMaintenanceStartTime

Hashable DescribeMaintenanceStartTime Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeMaintenanceStartTime

type AWSResponse DescribeMaintenanceStartTime Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeMaintenanceStartTime

type Rep DescribeMaintenanceStartTime Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeMaintenanceStartTime

type Rep DescribeMaintenanceStartTime = D1 ('MetaData "DescribeMaintenanceStartTime" "Amazonka.StorageGateway.DescribeMaintenanceStartTime" "amazonka-storagegateway-2.0-A8x7b0LCNm33wkCZlwgcSL" 'False) (C1 ('MetaCons "DescribeMaintenanceStartTime'" 'PrefixI 'True) (S1 ('MetaSel ('Just "gatewayARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDescribeMaintenanceStartTime Source #

Create a value of DescribeMaintenanceStartTime 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:

DescribeMaintenanceStartTime, describeMaintenanceStartTime_gatewayARN - Undocumented member.

Request Lenses

Destructuring the Response

data DescribeMaintenanceStartTimeResponse Source #

A JSON object containing the following fields:

  • DescribeMaintenanceStartTimeOutput$DayOfMonth
  • DescribeMaintenanceStartTimeOutput$DayOfWeek
  • DescribeMaintenanceStartTimeOutput$HourOfDay
  • DescribeMaintenanceStartTimeOutput$MinuteOfHour
  • DescribeMaintenanceStartTimeOutput$Timezone

See: newDescribeMaintenanceStartTimeResponse smart constructor.

Constructors

DescribeMaintenanceStartTimeResponse' 

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

    An ordinal number between 0 and 6 that represents the day of the week, where 0 represents Sunday and 6 represents Saturday. The day of week is in the time zone of the gateway.

  • gatewayARN :: Maybe Text
     
  • hourOfDay :: Maybe Natural

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

  • minuteOfHour :: Maybe Natural

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

  • timezone :: Maybe Text

    A value that indicates the time zone that is set for the gateway. The start time and day of week specified should be in the time zone of the gateway.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic DescribeMaintenanceStartTimeResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeMaintenanceStartTime

Read DescribeMaintenanceStartTimeResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeMaintenanceStartTime

Show DescribeMaintenanceStartTimeResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeMaintenanceStartTime

NFData DescribeMaintenanceStartTimeResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeMaintenanceStartTime

Eq DescribeMaintenanceStartTimeResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeMaintenanceStartTime

type Rep DescribeMaintenanceStartTimeResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeMaintenanceStartTime

type Rep DescribeMaintenanceStartTimeResponse = D1 ('MetaData "DescribeMaintenanceStartTimeResponse" "Amazonka.StorageGateway.DescribeMaintenanceStartTime" "amazonka-storagegateway-2.0-A8x7b0LCNm33wkCZlwgcSL" 'False) (C1 ('MetaCons "DescribeMaintenanceStartTimeResponse'" '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 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "hourOfDay") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "minuteOfHour") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "timezone") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newDescribeMaintenanceStartTimeResponse Source #

Create a value of DescribeMaintenanceStartTimeResponse 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:DescribeMaintenanceStartTimeResponse', describeMaintenanceStartTimeResponse_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:DescribeMaintenanceStartTimeResponse', describeMaintenanceStartTimeResponse_dayOfWeek - An ordinal number between 0 and 6 that represents the day of the week, where 0 represents Sunday and 6 represents Saturday. The day of week is in the time zone of the gateway.

DescribeMaintenanceStartTime, describeMaintenanceStartTimeResponse_gatewayARN - Undocumented member.

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

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

$sel:timezone:DescribeMaintenanceStartTimeResponse', describeMaintenanceStartTimeResponse_timezone - A value that indicates the time zone that is set for the gateway. The start time and day of week specified should be in the time zone of the gateway.

$sel:httpStatus:DescribeMaintenanceStartTimeResponse', describeMaintenanceStartTimeResponse_httpStatus - The response's http status code.

Response Lenses

describeMaintenanceStartTimeResponse_dayOfMonth :: Lens' DescribeMaintenanceStartTimeResponse (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.

describeMaintenanceStartTimeResponse_dayOfWeek :: Lens' DescribeMaintenanceStartTimeResponse (Maybe Natural) Source #

An ordinal number between 0 and 6 that represents the day of the week, where 0 represents Sunday and 6 represents Saturday. The day of week is in the time zone of the gateway.

describeMaintenanceStartTimeResponse_hourOfDay :: Lens' DescribeMaintenanceStartTimeResponse (Maybe Natural) Source #

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

describeMaintenanceStartTimeResponse_minuteOfHour :: Lens' DescribeMaintenanceStartTimeResponse (Maybe Natural) Source #

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

describeMaintenanceStartTimeResponse_timezone :: Lens' DescribeMaintenanceStartTimeResponse (Maybe Text) Source #

A value that indicates the time zone that is set for the gateway. The start time and day of week specified should be in the time zone of the gateway.