#[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
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.
A set of tags (key-value pairs) that you want to attach to the AWS IoT Greengrass component.
Implementations
sourceimpl GreengrassConfiguration
impl GreengrassConfiguration
sourcepub fn compiler_options(&self) -> Option<&str>
pub fn compiler_options(&self) -> Option<&str>
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.
sourcepub fn target_device(&self) -> Option<&TargetDevice>
pub fn target_device(&self) -> 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.
sourcepub fn target_platform(&self) -> Option<&TargetPlatform>
pub fn target_platform(&self) -> Option<&TargetPlatform>
The target platform for the model. If you specify TargetPlatform, you can't specify TargetDevice.
sourcepub fn s3_output_location(&self) -> Option<&S3Location>
pub fn s3_output_location(&self) -> Option<&S3Location>
An S3 location in which Lookout for Vision stores the component artifacts.
sourcepub fn component_name(&self) -> Option<&str>
pub fn component_name(&self) -> Option<&str>
A name for the AWS IoT Greengrass component.
sourcepub fn component_version(&self) -> Option<&str>
pub fn component_version(&self) -> Option<&str>
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.
sourcepub fn component_description(&self) -> Option<&str>
pub fn component_description(&self) -> Option<&str>
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.
sourceimpl GreengrassConfiguration
impl GreengrassConfiguration
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture GreengrassConfiguration
Trait Implementations
sourceimpl Clone for GreengrassConfiguration
impl Clone for GreengrassConfiguration
sourcefn clone(&self) -> GreengrassConfiguration
fn clone(&self) -> GreengrassConfiguration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for GreengrassConfiguration
impl Debug for GreengrassConfiguration
sourceimpl PartialEq<GreengrassConfiguration> for GreengrassConfiguration
impl PartialEq<GreengrassConfiguration> for GreengrassConfiguration
sourcefn eq(&self, other: &GreengrassConfiguration) -> bool
fn eq(&self, other: &GreengrassConfiguration) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &GreengrassConfiguration) -> bool
fn ne(&self, other: &GreengrassConfiguration) -> bool
This method tests for !=.
impl StructuralPartialEq for GreengrassConfiguration
Auto Trait Implementations
impl RefUnwindSafe for GreengrassConfiguration
impl Send for GreengrassConfiguration
impl Sync for GreengrassConfiguration
impl Unpin for GreengrassConfiguration
impl UnwindSafe for GreengrassConfiguration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more