libZSservicesZSamazonka-snowballZSamazonka-snowball
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.Snowball.Types.JobResource

Description

 
Synopsis

Documentation

data JobResource Source #

Contains an array of AWS resource objects. Each object represents an Amazon S3 bucket, an AWS Lambda function, or an Amazon Machine Image (AMI) based on Amazon EC2 that is associated with a particular job.

See: newJobResource smart constructor.

Constructors

JobResource' 

Fields

Instances

Instances details
Eq JobResource Source # 
Instance details

Defined in Amazonka.Snowball.Types.JobResource

Read JobResource Source # 
Instance details

Defined in Amazonka.Snowball.Types.JobResource

Show JobResource Source # 
Instance details

Defined in Amazonka.Snowball.Types.JobResource

Generic JobResource Source # 
Instance details

Defined in Amazonka.Snowball.Types.JobResource

Associated Types

type Rep JobResource :: Type -> Type #

NFData JobResource Source # 
Instance details

Defined in Amazonka.Snowball.Types.JobResource

Methods

rnf :: JobResource -> () #

Hashable JobResource Source # 
Instance details

Defined in Amazonka.Snowball.Types.JobResource

ToJSON JobResource Source # 
Instance details

Defined in Amazonka.Snowball.Types.JobResource

FromJSON JobResource Source # 
Instance details

Defined in Amazonka.Snowball.Types.JobResource

type Rep JobResource Source # 
Instance details

Defined in Amazonka.Snowball.Types.JobResource

type Rep JobResource = D1 ('MetaData "JobResource" "Amazonka.Snowball.Types.JobResource" "libZSservicesZSamazonka-snowballZSamazonka-snowball" 'False) (C1 ('MetaCons "JobResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "ec2AmiResources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Ec2AmiResource])) :*: (S1 ('MetaSel ('Just "lambdaResources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [LambdaResource])) :*: S1 ('MetaSel ('Just "s3Resources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [S3Resource])))))

newJobResource :: JobResource Source #

Create a value of JobResource 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:ec2AmiResources:JobResource', jobResource_ec2AmiResources - The Amazon Machine Images (AMIs) associated with this job.

$sel:lambdaResources:JobResource', jobResource_lambdaResources - The Python-language Lambda functions for this job.

$sel:s3Resources:JobResource', jobResource_s3Resources - An array of S3Resource objects.

jobResource_ec2AmiResources :: Lens' JobResource (Maybe [Ec2AmiResource]) Source #

The Amazon Machine Images (AMIs) associated with this job.

jobResource_lambdaResources :: Lens' JobResource (Maybe [LambdaResource]) Source #

The Python-language Lambda functions for this job.

jobResource_s3Resources :: Lens' JobResource (Maybe [S3Resource]) Source #

An array of S3Resource objects.