libZSservicesZSamazonka-codedeployZSamazonka-codedeploy
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.CodeDeploy.Types.LambdaFunctionInfo

Description

 
Synopsis

Documentation

data LambdaFunctionInfo Source #

Information about a Lambda function specified in a deployment.

See: newLambdaFunctionInfo smart constructor.

Constructors

LambdaFunctionInfo' 

Fields

Instances

Instances details
Eq LambdaFunctionInfo Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.LambdaFunctionInfo

Read LambdaFunctionInfo Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.LambdaFunctionInfo

Show LambdaFunctionInfo Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.LambdaFunctionInfo

Generic LambdaFunctionInfo Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.LambdaFunctionInfo

Associated Types

type Rep LambdaFunctionInfo :: Type -> Type #

NFData LambdaFunctionInfo Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.LambdaFunctionInfo

Methods

rnf :: LambdaFunctionInfo -> () #

Hashable LambdaFunctionInfo Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.LambdaFunctionInfo

FromJSON LambdaFunctionInfo Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.LambdaFunctionInfo

type Rep LambdaFunctionInfo Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.LambdaFunctionInfo

type Rep LambdaFunctionInfo = D1 ('MetaData "LambdaFunctionInfo" "Amazonka.CodeDeploy.Types.LambdaFunctionInfo" "libZSservicesZSamazonka-codedeployZSamazonka-codedeploy" 'False) (C1 ('MetaCons "LambdaFunctionInfo'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "currentVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "functionAlias") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "functionName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "targetVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "targetVersionWeight") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double))))))

newLambdaFunctionInfo :: LambdaFunctionInfo Source #

Create a value of LambdaFunctionInfo 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:currentVersion:LambdaFunctionInfo', lambdaFunctionInfo_currentVersion - The version of a Lambda function that production traffic points to.

$sel:functionAlias:LambdaFunctionInfo', lambdaFunctionInfo_functionAlias - The alias of a Lambda function. For more information, see AWS Lambda Function Aliases in the AWS Lambda Developer Guide.

$sel:functionName:LambdaFunctionInfo', lambdaFunctionInfo_functionName - The name of a Lambda function.

$sel:targetVersion:LambdaFunctionInfo', lambdaFunctionInfo_targetVersion - The version of a Lambda function that production traffic points to after the Lambda function is deployed.

$sel:targetVersionWeight:LambdaFunctionInfo', lambdaFunctionInfo_targetVersionWeight - The percentage of production traffic that the target version of a Lambda function receives.

lambdaFunctionInfo_currentVersion :: Lens' LambdaFunctionInfo (Maybe Text) Source #

The version of a Lambda function that production traffic points to.

lambdaFunctionInfo_functionAlias :: Lens' LambdaFunctionInfo (Maybe Text) Source #

The alias of a Lambda function. For more information, see AWS Lambda Function Aliases in the AWS Lambda Developer Guide.

lambdaFunctionInfo_targetVersion :: Lens' LambdaFunctionInfo (Maybe Text) Source #

The version of a Lambda function that production traffic points to after the Lambda function is deployed.

lambdaFunctionInfo_targetVersionWeight :: Lens' LambdaFunctionInfo (Maybe Double) Source #

The percentage of production traffic that the target version of a Lambda function receives.