#[non_exhaustive]pub struct CreateDeploymentJobOutput {
pub arn: Option<String>,
pub fleet: Option<String>,
pub status: Option<DeploymentStatus>,
pub deployment_application_configs: Option<Vec<DeploymentApplicationConfig>>,
pub failure_reason: Option<String>,
pub failure_code: Option<DeploymentJobErrorCode>,
pub created_at: Option<DateTime>,
pub deployment_config: Option<DeploymentConfig>,
pub tags: Option<HashMap<String, String>>,
}
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.arn: Option<String>
The Amazon Resource Name (ARN) of the deployment job.
fleet: Option<String>
The target fleet for the deployment job.
status: Option<DeploymentStatus>
The status of the deployment job.
deployment_application_configs: Option<Vec<DeploymentApplicationConfig>>
The deployment application configuration.
failure_reason: Option<String>
The failure reason of the deployment job if it failed.
failure_code: Option<DeploymentJobErrorCode>
The failure code of the simulation job if it failed:
- BadPermissionError
-
AWS Greengrass requires a service-level role permission to access other services. The role must include the
AWSGreengrassResourceAccessRolePolicy
managed policy. - ExtractingBundleFailure
-
The robot application could not be extracted from the bundle.
- FailureThresholdBreached
-
The percentage of robots that could not be updated exceeded the percentage set for the deployment.
- GreengrassDeploymentFailed
-
The robot application could not be deployed to the robot.
- GreengrassGroupVersionDoesNotExist
-
The AWS Greengrass group or version associated with a robot is missing.
- InternalServerError
-
An internal error has occurred. Retry your request, but if the problem persists, contact us with details.
- MissingRobotApplicationArchitecture
-
The robot application does not have a source that matches the architecture of the robot.
- MissingRobotDeploymentResource
-
One or more of the resources specified for the robot application are missing. For example, does the robot application have the correct launch package and launch file?
- PostLaunchFileFailure
-
The post-launch script failed.
- PreLaunchFileFailure
-
The pre-launch script failed.
- ResourceNotFound
-
One or more deployment resources are missing. For example, do robot application source bundles still exist?
- RobotDeploymentNoResponse
-
There is no response from the robot. It might not be powered on or connected to the internet.
created_at: Option<DateTime>
The time, in milliseconds since the epoch, when the fleet was created.
deployment_config: Option<DeploymentConfig>
The deployment configuration.
The list of all tags added to the deployment job.
Implementations
sourceimpl CreateDeploymentJobOutput
impl CreateDeploymentJobOutput
sourcepub fn status(&self) -> Option<&DeploymentStatus>
pub fn status(&self) -> Option<&DeploymentStatus>
The status of the deployment job.
sourcepub fn deployment_application_configs(
&self
) -> Option<&[DeploymentApplicationConfig]>
pub fn deployment_application_configs(
&self
) -> Option<&[DeploymentApplicationConfig]>
The deployment application configuration.
sourcepub fn failure_reason(&self) -> Option<&str>
pub fn failure_reason(&self) -> Option<&str>
The failure reason of the deployment job if it failed.
sourcepub fn failure_code(&self) -> Option<&DeploymentJobErrorCode>
pub fn failure_code(&self) -> Option<&DeploymentJobErrorCode>
The failure code of the simulation job if it failed:
- BadPermissionError
-
AWS Greengrass requires a service-level role permission to access other services. The role must include the
AWSGreengrassResourceAccessRolePolicy
managed policy. - ExtractingBundleFailure
-
The robot application could not be extracted from the bundle.
- FailureThresholdBreached
-
The percentage of robots that could not be updated exceeded the percentage set for the deployment.
- GreengrassDeploymentFailed
-
The robot application could not be deployed to the robot.
- GreengrassGroupVersionDoesNotExist
-
The AWS Greengrass group or version associated with a robot is missing.
- InternalServerError
-
An internal error has occurred. Retry your request, but if the problem persists, contact us with details.
- MissingRobotApplicationArchitecture
-
The robot application does not have a source that matches the architecture of the robot.
- MissingRobotDeploymentResource
-
One or more of the resources specified for the robot application are missing. For example, does the robot application have the correct launch package and launch file?
- PostLaunchFileFailure
-
The post-launch script failed.
- PreLaunchFileFailure
-
The pre-launch script failed.
- ResourceNotFound
-
One or more deployment resources are missing. For example, do robot application source bundles still exist?
- RobotDeploymentNoResponse
-
There is no response from the robot. It might not be powered on or connected to the internet.
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The time, in milliseconds since the epoch, when the fleet was created.
sourcepub fn deployment_config(&self) -> Option<&DeploymentConfig>
pub fn deployment_config(&self) -> Option<&DeploymentConfig>
The deployment configuration.
The list of all tags added to the deployment job.
sourceimpl CreateDeploymentJobOutput
impl CreateDeploymentJobOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateDeploymentJobOutput
Trait Implementations
sourceimpl Clone for CreateDeploymentJobOutput
impl Clone for CreateDeploymentJobOutput
sourcefn clone(&self) -> CreateDeploymentJobOutput
fn clone(&self) -> CreateDeploymentJobOutput
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 CreateDeploymentJobOutput
impl Debug for CreateDeploymentJobOutput
sourceimpl PartialEq<CreateDeploymentJobOutput> for CreateDeploymentJobOutput
impl PartialEq<CreateDeploymentJobOutput> for CreateDeploymentJobOutput
sourcefn eq(&self, other: &CreateDeploymentJobOutput) -> bool
fn eq(&self, other: &CreateDeploymentJobOutput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateDeploymentJobOutput) -> bool
fn ne(&self, other: &CreateDeploymentJobOutput) -> bool
This method tests for !=
.
impl StructuralPartialEq for CreateDeploymentJobOutput
Auto Trait Implementations
impl RefUnwindSafe for CreateDeploymentJobOutput
impl Send for CreateDeploymentJobOutput
impl Sync for CreateDeploymentJobOutput
impl Unpin for CreateDeploymentJobOutput
impl UnwindSafe for CreateDeploymentJobOutput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
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