#[non_exhaustive]
pub struct GreengrassConfiguration { pub compiler_options: Option<String>, pub target_device: Option<TargetDevice>, pub target_platform: Option<TargetPlatform>, pub s3_output_location: Option<S3Location>, pub component_name: Option<String>, pub component_version: Option<String>, pub component_description: Option<String>, pub tags: Option<Vec<Tag>>, }
Expand description

Configuration information for the AWS IoT Greengrass component created in a model packaging job. For more information, see StartModelPackagingJob.

You can't specify a component with the same ComponentName and Componentversion as an existing component with the same component name and component version.

Fields (Non-exhaustive)

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
compiler_options: Option<String>

Additional compiler options for the Greengrass component. Currently, only NVIDIA Graphics Processing Units (GPU) are supported. If you specify TargetPlatform, you must specify CompilerOptions. If you specify TargetDevice, don't specify CompilerOptions.

For more information, see Compiler options in the Amazon Lookout for Vision Developer Guide.

target_device: Option<TargetDevice>

The target device for the model. Currently the only supported value is jetson_xavier. If you specify TargetDevice, you can't specify TargetPlatform.

target_platform: Option<TargetPlatform>

The target platform for the model. If you specify TargetPlatform, you can't specify TargetDevice.

s3_output_location: Option<S3Location>

An S3 location in which Lookout for Vision stores the component artifacts.

component_name: Option<String>

A name for the AWS IoT Greengrass component.

component_version: Option<String>

A Version for the AWS IoT Greengrass component. If you don't provide a value, a default value of Model Version.0.0 is used.

component_description: Option<String>

A description for the AWS IoT Greengrass component.

tags: Option<Vec<Tag>>

A set of tags (key-value pairs) that you want to attach to the AWS IoT Greengrass component.

Implementations

Additional compiler options for the Greengrass component. Currently, only NVIDIA Graphics Processing Units (GPU) are supported. If you specify TargetPlatform, you must specify CompilerOptions. If you specify TargetDevice, don't specify CompilerOptions.

For more information, see Compiler options in the Amazon Lookout for Vision Developer Guide.

The target device for the model. Currently the only supported value is jetson_xavier. If you specify TargetDevice, you can't specify TargetPlatform.

The target platform for the model. If you specify TargetPlatform, you can't specify TargetDevice.

An S3 location in which Lookout for Vision stores the component artifacts.

A name for the AWS IoT Greengrass component.

A Version for the AWS IoT Greengrass component. If you don't provide a value, a default value of Model Version.0.0 is used.

A description for the AWS IoT Greengrass component.

A set of tags (key-value pairs) that you want to attach to the AWS IoT Greengrass component.

Creates a new builder-style object to manufacture GreengrassConfiguration

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more