amazonka-snowball-2.0: Amazon Import/Export Snowball 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.Snowball.Types.LambdaResource

Description

 
Synopsis

Documentation

data LambdaResource Source #

Identifies

See: newLambdaResource smart constructor.

Constructors

LambdaResource' 

Fields

  • eventTriggers :: Maybe [EventTriggerDefinition]

    The array of ARNs for S3Resource objects to trigger the LambdaResource objects associated with this job.

  • lambdaArn :: Maybe Text

    An Amazon Resource Name (ARN) that represents an Lambda function to be triggered by PUT object actions on the associated local Amazon S3 resource.

Instances

Instances details
FromJSON LambdaResource Source # 
Instance details

Defined in Amazonka.Snowball.Types.LambdaResource

ToJSON LambdaResource Source # 
Instance details

Defined in Amazonka.Snowball.Types.LambdaResource

Generic LambdaResource Source # 
Instance details

Defined in Amazonka.Snowball.Types.LambdaResource

Associated Types

type Rep LambdaResource :: Type -> Type #

Read LambdaResource Source # 
Instance details

Defined in Amazonka.Snowball.Types.LambdaResource

Show LambdaResource Source # 
Instance details

Defined in Amazonka.Snowball.Types.LambdaResource

NFData LambdaResource Source # 
Instance details

Defined in Amazonka.Snowball.Types.LambdaResource

Methods

rnf :: LambdaResource -> () #

Eq LambdaResource Source # 
Instance details

Defined in Amazonka.Snowball.Types.LambdaResource

Hashable LambdaResource Source # 
Instance details

Defined in Amazonka.Snowball.Types.LambdaResource

type Rep LambdaResource Source # 
Instance details

Defined in Amazonka.Snowball.Types.LambdaResource

type Rep LambdaResource = D1 ('MetaData "LambdaResource" "Amazonka.Snowball.Types.LambdaResource" "amazonka-snowball-2.0-6vnXQdr1CFv4zLyXDWX7zH" 'False) (C1 ('MetaCons "LambdaResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "eventTriggers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [EventTriggerDefinition])) :*: S1 ('MetaSel ('Just "lambdaArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newLambdaResource :: LambdaResource Source #

Create a value of LambdaResource 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:eventTriggers:LambdaResource', lambdaResource_eventTriggers - The array of ARNs for S3Resource objects to trigger the LambdaResource objects associated with this job.

$sel:lambdaArn:LambdaResource', lambdaResource_lambdaArn - An Amazon Resource Name (ARN) that represents an Lambda function to be triggered by PUT object actions on the associated local Amazon S3 resource.

lambdaResource_eventTriggers :: Lens' LambdaResource (Maybe [EventTriggerDefinition]) Source #

The array of ARNs for S3Resource objects to trigger the LambdaResource objects associated with this job.

lambdaResource_lambdaArn :: Lens' LambdaResource (Maybe Text) Source #

An Amazon Resource Name (ARN) that represents an Lambda function to be triggered by PUT object actions on the associated local Amazon S3 resource.