amazonka-sagemaker-2.0: Amazon SageMaker Service 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.SageMaker.Types.Phase

Description

 
Synopsis

Documentation

data Phase Source #

Defines the traffic pattern.

See: newPhase smart constructor.

Constructors

Phase' 

Fields

Instances

Instances details
FromJSON Phase Source # 
Instance details

Defined in Amazonka.SageMaker.Types.Phase

ToJSON Phase Source # 
Instance details

Defined in Amazonka.SageMaker.Types.Phase

Generic Phase Source # 
Instance details

Defined in Amazonka.SageMaker.Types.Phase

Associated Types

type Rep Phase :: Type -> Type #

Methods

from :: Phase -> Rep Phase x #

to :: Rep Phase x -> Phase #

Read Phase Source # 
Instance details

Defined in Amazonka.SageMaker.Types.Phase

Show Phase Source # 
Instance details

Defined in Amazonka.SageMaker.Types.Phase

Methods

showsPrec :: Int -> Phase -> ShowS #

show :: Phase -> String #

showList :: [Phase] -> ShowS #

NFData Phase Source # 
Instance details

Defined in Amazonka.SageMaker.Types.Phase

Methods

rnf :: Phase -> () #

Eq Phase Source # 
Instance details

Defined in Amazonka.SageMaker.Types.Phase

Methods

(==) :: Phase -> Phase -> Bool #

(/=) :: Phase -> Phase -> Bool #

Hashable Phase Source # 
Instance details

Defined in Amazonka.SageMaker.Types.Phase

Methods

hashWithSalt :: Int -> Phase -> Int #

hash :: Phase -> Int #

type Rep Phase Source # 
Instance details

Defined in Amazonka.SageMaker.Types.Phase

type Rep Phase = D1 ('MetaData "Phase" "Amazonka.SageMaker.Types.Phase" "amazonka-sagemaker-2.0-9SyrKZ4KqhsL1qX9u3ILA3" 'False) (C1 ('MetaCons "Phase'" 'PrefixI 'True) (S1 ('MetaSel ('Just "durationInSeconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "initialNumberOfUsers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "spawnRate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))))

newPhase :: Phase Source #

Create a value of Phase 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:durationInSeconds:Phase', phase_durationInSeconds - Specifies how long traffic phase should be.

$sel:initialNumberOfUsers:Phase', phase_initialNumberOfUsers - Specifies how many concurrent users to start with.

$sel:spawnRate:Phase', phase_spawnRate - Specified how many new users to spawn in a minute.

phase_durationInSeconds :: Lens' Phase (Maybe Natural) Source #

Specifies how long traffic phase should be.

phase_initialNumberOfUsers :: Lens' Phase (Maybe Natural) Source #

Specifies how many concurrent users to start with.

phase_spawnRate :: Lens' Phase (Maybe Natural) Source #

Specified how many new users to spawn in a minute.