Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
Documentation
Defines the traffic pattern.
See: newPhase
smart constructor.
Phase' | |
|
Instances
FromJSON Phase Source # | |
ToJSON Phase Source # | |
Defined in Amazonka.SageMaker.Types.Phase | |
Generic Phase Source # | |
Read Phase Source # | |
Show Phase Source # | |
NFData Phase Source # | |
Defined in Amazonka.SageMaker.Types.Phase | |
Eq Phase Source # | |
Hashable Phase Source # | |
Defined in Amazonka.SageMaker.Types.Phase | |
type Rep Phase Source # | |
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))))) |
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.