amazonka-lookoutmetrics-2.0: Amazon Lookout for Metrics 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.LookoutMetrics.Types.LambdaConfiguration

Description

 
Synopsis

Documentation

data LambdaConfiguration Source #

Contains information about a Lambda configuration.

See: newLambdaConfiguration smart constructor.

Constructors

LambdaConfiguration' 

Fields

  • roleArn :: Text

    The ARN of an IAM role that has permission to invoke the Lambda function.

  • lambdaArn :: Text

    The ARN of the Lambda function.

Instances

Instances details
FromJSON LambdaConfiguration Source # 
Instance details

Defined in Amazonka.LookoutMetrics.Types.LambdaConfiguration

ToJSON LambdaConfiguration Source # 
Instance details

Defined in Amazonka.LookoutMetrics.Types.LambdaConfiguration

Generic LambdaConfiguration Source # 
Instance details

Defined in Amazonka.LookoutMetrics.Types.LambdaConfiguration

Associated Types

type Rep LambdaConfiguration :: Type -> Type #

Read LambdaConfiguration Source # 
Instance details

Defined in Amazonka.LookoutMetrics.Types.LambdaConfiguration

Show LambdaConfiguration Source # 
Instance details

Defined in Amazonka.LookoutMetrics.Types.LambdaConfiguration

NFData LambdaConfiguration Source # 
Instance details

Defined in Amazonka.LookoutMetrics.Types.LambdaConfiguration

Methods

rnf :: LambdaConfiguration -> () #

Eq LambdaConfiguration Source # 
Instance details

Defined in Amazonka.LookoutMetrics.Types.LambdaConfiguration

Hashable LambdaConfiguration Source # 
Instance details

Defined in Amazonka.LookoutMetrics.Types.LambdaConfiguration

type Rep LambdaConfiguration Source # 
Instance details

Defined in Amazonka.LookoutMetrics.Types.LambdaConfiguration

type Rep LambdaConfiguration = D1 ('MetaData "LambdaConfiguration" "Amazonka.LookoutMetrics.Types.LambdaConfiguration" "amazonka-lookoutmetrics-2.0-5gJoMWEA4GrGsqHAPh1b9h" 'False) (C1 ('MetaCons "LambdaConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "roleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "lambdaArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newLambdaConfiguration Source #

Create a value of LambdaConfiguration 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:roleArn:LambdaConfiguration', lambdaConfiguration_roleArn - The ARN of an IAM role that has permission to invoke the Lambda function.

$sel:lambdaArn:LambdaConfiguration', lambdaConfiguration_lambdaArn - The ARN of the Lambda function.

lambdaConfiguration_roleArn :: Lens' LambdaConfiguration Text Source #

The ARN of an IAM role that has permission to invoke the Lambda function.