libZSservicesZSamazonka-robomakerZSamazonka-robomaker
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.RobOMaker.Types.DataSource

Description

 
Synopsis

Documentation

data DataSource Source #

Information about a data source.

See: newDataSource smart constructor.

Constructors

DataSource' 

Fields

  • s3Keys :: Maybe [S3KeyOutput]

    The list of S3 keys identifying the data source files.

  • destination :: Maybe Text

    The location where your files are mounted in the container image.

    If you've specified the type of the data source as an Archive, you must provide an Amazon S3 object key to your archive. The object key must point to either a .zip or .tar.gz file.

    If you've specified the type of the data source as a Prefix, you provide the Amazon S3 prefix that points to the files that you are using for your data source.

    If you've specified the type of the data source as a File, you provide the Amazon S3 path to the file that you're using as your data source.

  • name :: Maybe Text

    The name of the data source.

  • type' :: Maybe DataSourceType

    The data type for the data source that you're using for your container image or simulation job. You can use this field to specify whether your data source is an Archive, an Amazon S3 prefix, or a file.

    If you don't specify a field, the default value is File.

  • s3Bucket :: Maybe Text

    The S3 bucket where the data files are located.

Instances

Instances details
Eq DataSource Source # 
Instance details

Defined in Amazonka.RobOMaker.Types.DataSource

Read DataSource Source # 
Instance details

Defined in Amazonka.RobOMaker.Types.DataSource

Show DataSource Source # 
Instance details

Defined in Amazonka.RobOMaker.Types.DataSource

Generic DataSource Source # 
Instance details

Defined in Amazonka.RobOMaker.Types.DataSource

Associated Types

type Rep DataSource :: Type -> Type #

NFData DataSource Source # 
Instance details

Defined in Amazonka.RobOMaker.Types.DataSource

Methods

rnf :: DataSource -> () #

Hashable DataSource Source # 
Instance details

Defined in Amazonka.RobOMaker.Types.DataSource

FromJSON DataSource Source # 
Instance details

Defined in Amazonka.RobOMaker.Types.DataSource

type Rep DataSource Source # 
Instance details

Defined in Amazonka.RobOMaker.Types.DataSource

type Rep DataSource = D1 ('MetaData "DataSource" "Amazonka.RobOMaker.Types.DataSource" "libZSservicesZSamazonka-robomakerZSamazonka-robomaker" 'False) (C1 ('MetaCons "DataSource'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "s3Keys") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [S3KeyOutput])) :*: S1 ('MetaSel ('Just "destination") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DataSourceType)) :*: S1 ('MetaSel ('Just "s3Bucket") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newDataSource :: DataSource Source #

Create a value of DataSource 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:s3Keys:DataSource', dataSource_s3Keys - The list of S3 keys identifying the data source files.

$sel:destination:DataSource', dataSource_destination - The location where your files are mounted in the container image.

If you've specified the type of the data source as an Archive, you must provide an Amazon S3 object key to your archive. The object key must point to either a .zip or .tar.gz file.

If you've specified the type of the data source as a Prefix, you provide the Amazon S3 prefix that points to the files that you are using for your data source.

If you've specified the type of the data source as a File, you provide the Amazon S3 path to the file that you're using as your data source.

$sel:name:DataSource', dataSource_name - The name of the data source.

$sel:type':DataSource', dataSource_type - The data type for the data source that you're using for your container image or simulation job. You can use this field to specify whether your data source is an Archive, an Amazon S3 prefix, or a file.

If you don't specify a field, the default value is File.

$sel:s3Bucket:DataSource', dataSource_s3Bucket - The S3 bucket where the data files are located.

dataSource_s3Keys :: Lens' DataSource (Maybe [S3KeyOutput]) Source #

The list of S3 keys identifying the data source files.

dataSource_destination :: Lens' DataSource (Maybe Text) Source #

The location where your files are mounted in the container image.

If you've specified the type of the data source as an Archive, you must provide an Amazon S3 object key to your archive. The object key must point to either a .zip or .tar.gz file.

If you've specified the type of the data source as a Prefix, you provide the Amazon S3 prefix that points to the files that you are using for your data source.

If you've specified the type of the data source as a File, you provide the Amazon S3 path to the file that you're using as your data source.

dataSource_name :: Lens' DataSource (Maybe Text) Source #

The name of the data source.

dataSource_type :: Lens' DataSource (Maybe DataSourceType) Source #

The data type for the data source that you're using for your container image or simulation job. You can use this field to specify whether your data source is an Archive, an Amazon S3 prefix, or a file.

If you don't specify a field, the default value is File.

dataSource_s3Bucket :: Lens' DataSource (Maybe Text) Source #

The S3 bucket where the data files are located.