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.DataSourceConfig

Description

 
Synopsis

Documentation

data DataSourceConfig Source #

Information about a data source.

See: newDataSourceConfig smart constructor.

Constructors

DataSourceConfig' 

Fields

  • 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.

  • 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.

  • name :: Text

    The name of the data source.

  • s3Bucket :: Text

    The S3 bucket where the data files are located.

  • s3Keys :: NonEmpty Text

    The list of S3 keys identifying the data source files.

Instances

Instances details
Eq DataSourceConfig Source # 
Instance details

Defined in Amazonka.RobOMaker.Types.DataSourceConfig

Read DataSourceConfig Source # 
Instance details

Defined in Amazonka.RobOMaker.Types.DataSourceConfig

Show DataSourceConfig Source # 
Instance details

Defined in Amazonka.RobOMaker.Types.DataSourceConfig

Generic DataSourceConfig Source # 
Instance details

Defined in Amazonka.RobOMaker.Types.DataSourceConfig

Associated Types

type Rep DataSourceConfig :: Type -> Type #

NFData DataSourceConfig Source # 
Instance details

Defined in Amazonka.RobOMaker.Types.DataSourceConfig

Methods

rnf :: DataSourceConfig -> () #

Hashable DataSourceConfig Source # 
Instance details

Defined in Amazonka.RobOMaker.Types.DataSourceConfig

ToJSON DataSourceConfig Source # 
Instance details

Defined in Amazonka.RobOMaker.Types.DataSourceConfig

FromJSON DataSourceConfig Source # 
Instance details

Defined in Amazonka.RobOMaker.Types.DataSourceConfig

type Rep DataSourceConfig Source # 
Instance details

Defined in Amazonka.RobOMaker.Types.DataSourceConfig

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

newDataSourceConfig Source #

Create a value of DataSourceConfig 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:destination:DataSourceConfig', dataSourceConfig_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:type':DataSourceConfig', dataSourceConfig_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:name:DataSourceConfig', dataSourceConfig_name - The name of the data source.

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

$sel:s3Keys:DataSourceConfig', dataSourceConfig_s3Keys - The list of S3 keys identifying the data source files.

dataSourceConfig_destination :: Lens' DataSourceConfig (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.

dataSourceConfig_type :: Lens' DataSourceConfig (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.

dataSourceConfig_name :: Lens' DataSourceConfig Text Source #

The name of the data source.

dataSourceConfig_s3Bucket :: Lens' DataSourceConfig Text Source #

The S3 bucket where the data files are located.

dataSourceConfig_s3Keys :: Lens' DataSourceConfig (NonEmpty Text) Source #

The list of S3 keys identifying the data source files.