amazonka-codedeploy-2.0: Amazon CodeDeploy 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.CodeDeploy.Types.TimeRange

Description

 
Synopsis

Documentation

data TimeRange Source #

Information about a time range.

See: newTimeRange smart constructor.

Constructors

TimeRange' 

Fields

  • end :: Maybe POSIX

    The end time of the time range.

    Specify null to leave the end time open-ended.

  • start :: Maybe POSIX

    The start time of the time range.

    Specify null to leave the start time open-ended.

Instances

Instances details
ToJSON TimeRange Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.TimeRange

Generic TimeRange Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.TimeRange

Associated Types

type Rep TimeRange :: Type -> Type #

Read TimeRange Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.TimeRange

Show TimeRange Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.TimeRange

NFData TimeRange Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.TimeRange

Methods

rnf :: TimeRange -> () #

Eq TimeRange Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.TimeRange

Hashable TimeRange Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.TimeRange

type Rep TimeRange Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.TimeRange

type Rep TimeRange = D1 ('MetaData "TimeRange" "Amazonka.CodeDeploy.Types.TimeRange" "amazonka-codedeploy-2.0-4OehMEUeOr9G9ZXD2VmvAo" 'False) (C1 ('MetaCons "TimeRange'" 'PrefixI 'True) (S1 ('MetaSel ('Just "end") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "start") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))))

newTimeRange :: TimeRange Source #

Create a value of TimeRange 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:end:TimeRange', timeRange_end - The end time of the time range.

Specify null to leave the end time open-ended.

$sel:start:TimeRange', timeRange_start - The start time of the time range.

Specify null to leave the start time open-ended.

timeRange_end :: Lens' TimeRange (Maybe UTCTime) Source #

The end time of the time range.

Specify null to leave the end time open-ended.

timeRange_start :: Lens' TimeRange (Maybe UTCTime) Source #

The start time of the time range.

Specify null to leave the start time open-ended.