libZSservicesZSamazonka-apigatewayZSamazonka-apigateway
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.APIGateway.Types.CanarySettings

Description

 
Synopsis

Documentation

data CanarySettings Source #

Configuration settings of a canary deployment.

See: newCanarySettings smart constructor.

Constructors

CanarySettings' 

Fields

Instances

Instances details
Eq CanarySettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CanarySettings

Read CanarySettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CanarySettings

Show CanarySettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CanarySettings

Generic CanarySettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CanarySettings

Associated Types

type Rep CanarySettings :: Type -> Type #

NFData CanarySettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CanarySettings

Methods

rnf :: CanarySettings -> () #

Hashable CanarySettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CanarySettings

ToJSON CanarySettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CanarySettings

FromJSON CanarySettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CanarySettings

type Rep CanarySettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CanarySettings

type Rep CanarySettings = D1 ('MetaData "CanarySettings" "Amazonka.APIGateway.Types.CanarySettings" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "CanarySettings'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "deploymentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "stageVariableOverrides") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))) :*: (S1 ('MetaSel ('Just "useStageCache") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "percentTraffic") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)))))

newCanarySettings :: CanarySettings Source #

Create a value of CanarySettings 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:deploymentId:CanarySettings', canarySettings_deploymentId - The ID of the canary deployment.

$sel:stageVariableOverrides:CanarySettings', canarySettings_stageVariableOverrides - Stage variables overridden for a canary release deployment, including new stage variables introduced in the canary. These stage variables are represented as a string-to-string map between stage variable names and their values.

$sel:useStageCache:CanarySettings', canarySettings_useStageCache - A Boolean flag to indicate whether the canary deployment uses the stage cache or not.

$sel:percentTraffic:CanarySettings', canarySettings_percentTraffic - The percent (0-100) of traffic diverted to a canary deployment.

canarySettings_deploymentId :: Lens' CanarySettings (Maybe Text) Source #

The ID of the canary deployment.

canarySettings_stageVariableOverrides :: Lens' CanarySettings (Maybe (HashMap Text Text)) Source #

Stage variables overridden for a canary release deployment, including new stage variables introduced in the canary. These stage variables are represented as a string-to-string map between stage variable names and their values.

canarySettings_useStageCache :: Lens' CanarySettings (Maybe Bool) Source #

A Boolean flag to indicate whether the canary deployment uses the stage cache or not.

canarySettings_percentTraffic :: Lens' CanarySettings (Maybe Double) Source #

The percent (0-100) of traffic diverted to a canary deployment.