#[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) and CPU accelerators are supported. 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§
source§impl 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) and CPU accelerators are supported. 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.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none().
source§impl GreengrassConfiguration
impl GreengrassConfiguration
sourcepub fn builder() -> GreengrassConfigurationBuilder
pub fn builder() -> GreengrassConfigurationBuilder
Creates a new builder-style object to manufacture GreengrassConfiguration.
Trait Implementations§
source§impl Clone for GreengrassConfiguration
impl Clone for GreengrassConfiguration
source§fn clone(&self) -> GreengrassConfiguration
fn clone(&self) -> GreengrassConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GreengrassConfiguration
impl Debug for GreengrassConfiguration
source§impl PartialEq for GreengrassConfiguration
impl PartialEq for GreengrassConfiguration
impl StructuralPartialEq for GreengrassConfiguration
Auto Trait Implementations§
impl Freeze for GreengrassConfiguration
impl RefUnwindSafe for GreengrassConfiguration
impl Send for GreengrassConfiguration
impl Sync for GreengrassConfiguration
impl Unpin for GreengrassConfiguration
impl UnwindSafe for GreengrassConfiguration
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more