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

Description

 
Synopsis

Documentation

data UploadConfiguration Source #

Provides upload configuration information. Files are uploaded from the simulation job to a location you specify.

See: newUploadConfiguration smart constructor.

Constructors

UploadConfiguration' 

Fields

  • name :: Text

    A prefix that specifies where files will be uploaded in Amazon S3. It is appended to the simulation output location to determine the final path.

    For example, if your simulation output location is s3://my-bucket and your upload configuration name is robot-test, your files will be uploaded to s3://my-bucket/<simid>/<runid>/robot-test.

  • path :: Text

    Specifies the path of the file(s) to upload. Standard Unix glob matching rules are accepted, with the addition of ** as a super asterisk. For example, specifying /var/log/**.log causes all .log files in the /var/log directory tree to be collected. For more examples, see Glob Library.

  • uploadBehavior :: UploadBehavior

    Specifies when to upload the files:

    UPLOAD_ON_TERMINATE
    Matching files are uploaded once the simulation enters the TERMINATING state. Matching files are not uploaded until all of your code (including tools) have stopped.

    If there is a problem uploading a file, the upload is retried. If problems persist, no further upload attempts will be made.

    UPLOAD_ROLLING_AUTO_REMOVE
    Matching files are uploaded as they are created. They are deleted after they are uploaded. The specified path is checked every 5 seconds. A final check is made when all of your code (including tools) have stopped.

Instances

Instances details
Eq UploadConfiguration Source # 
Instance details

Defined in Amazonka.RobOMaker.Types.UploadConfiguration

Read UploadConfiguration Source # 
Instance details

Defined in Amazonka.RobOMaker.Types.UploadConfiguration

Show UploadConfiguration Source # 
Instance details

Defined in Amazonka.RobOMaker.Types.UploadConfiguration

Generic UploadConfiguration Source # 
Instance details

Defined in Amazonka.RobOMaker.Types.UploadConfiguration

Associated Types

type Rep UploadConfiguration :: Type -> Type #

NFData UploadConfiguration Source # 
Instance details

Defined in Amazonka.RobOMaker.Types.UploadConfiguration

Methods

rnf :: UploadConfiguration -> () #

Hashable UploadConfiguration Source # 
Instance details

Defined in Amazonka.RobOMaker.Types.UploadConfiguration

ToJSON UploadConfiguration Source # 
Instance details

Defined in Amazonka.RobOMaker.Types.UploadConfiguration

FromJSON UploadConfiguration Source # 
Instance details

Defined in Amazonka.RobOMaker.Types.UploadConfiguration

type Rep UploadConfiguration Source # 
Instance details

Defined in Amazonka.RobOMaker.Types.UploadConfiguration

type Rep UploadConfiguration = D1 ('MetaData "UploadConfiguration" "Amazonka.RobOMaker.Types.UploadConfiguration" "libZSservicesZSamazonka-robomakerZSamazonka-robomaker" 'False) (C1 ('MetaCons "UploadConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "path") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "uploadBehavior") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 UploadBehavior))))

newUploadConfiguration Source #

Create a value of UploadConfiguration 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:name:UploadConfiguration', uploadConfiguration_name - A prefix that specifies where files will be uploaded in Amazon S3. It is appended to the simulation output location to determine the final path.

For example, if your simulation output location is s3://my-bucket and your upload configuration name is robot-test, your files will be uploaded to s3://my-bucket/<simid>/<runid>/robot-test.

$sel:path:UploadConfiguration', uploadConfiguration_path - Specifies the path of the file(s) to upload. Standard Unix glob matching rules are accepted, with the addition of ** as a super asterisk. For example, specifying /var/log/**.log causes all .log files in the /var/log directory tree to be collected. For more examples, see Glob Library.

$sel:uploadBehavior:UploadConfiguration', uploadConfiguration_uploadBehavior - Specifies when to upload the files:

UPLOAD_ON_TERMINATE
Matching files are uploaded once the simulation enters the TERMINATING state. Matching files are not uploaded until all of your code (including tools) have stopped.

If there is a problem uploading a file, the upload is retried. If problems persist, no further upload attempts will be made.

UPLOAD_ROLLING_AUTO_REMOVE
Matching files are uploaded as they are created. They are deleted after they are uploaded. The specified path is checked every 5 seconds. A final check is made when all of your code (including tools) have stopped.

uploadConfiguration_name :: Lens' UploadConfiguration Text Source #

A prefix that specifies where files will be uploaded in Amazon S3. It is appended to the simulation output location to determine the final path.

For example, if your simulation output location is s3://my-bucket and your upload configuration name is robot-test, your files will be uploaded to s3://my-bucket/<simid>/<runid>/robot-test.

uploadConfiguration_path :: Lens' UploadConfiguration Text Source #

Specifies the path of the file(s) to upload. Standard Unix glob matching rules are accepted, with the addition of ** as a super asterisk. For example, specifying /var/log/**.log causes all .log files in the /var/log directory tree to be collected. For more examples, see Glob Library.

uploadConfiguration_uploadBehavior :: Lens' UploadConfiguration UploadBehavior Source #

Specifies when to upload the files:

UPLOAD_ON_TERMINATE
Matching files are uploaded once the simulation enters the TERMINATING state. Matching files are not uploaded until all of your code (including tools) have stopped.

If there is a problem uploading a file, the upload is retried. If problems persist, no further upload attempts will be made.

UPLOAD_ROLLING_AUTO_REMOVE
Matching files are uploaded as they are created. They are deleted after they are uploaded. The specified path is checked every 5 seconds. A final check is made when all of your code (including tools) have stopped.