#[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>>,
/* private fields */
}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
AWSGreengrassResourceAccessRolePolicymanaged 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§
source§impl 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) -> &[DeploymentApplicationConfig]
pub fn deployment_application_configs(&self) -> &[DeploymentApplicationConfig]
The deployment application configuration.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .deployment_application_configs.is_none().
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
AWSGreengrassResourceAccessRolePolicymanaged 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.
source§impl CreateDeploymentJobOutput
impl CreateDeploymentJobOutput
sourcepub fn builder() -> CreateDeploymentJobOutputBuilder
pub fn builder() -> CreateDeploymentJobOutputBuilder
Creates a new builder-style object to manufacture CreateDeploymentJobOutput.
Trait Implementations§
source§impl Clone for CreateDeploymentJobOutput
impl Clone for CreateDeploymentJobOutput
source§fn clone(&self) -> CreateDeploymentJobOutput
fn clone(&self) -> CreateDeploymentJobOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateDeploymentJobOutput
impl Debug for CreateDeploymentJobOutput
source§impl PartialEq for CreateDeploymentJobOutput
impl PartialEq for CreateDeploymentJobOutput
source§fn eq(&self, other: &CreateDeploymentJobOutput) -> bool
fn eq(&self, other: &CreateDeploymentJobOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for CreateDeploymentJobOutput
impl RequestId for CreateDeploymentJobOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.impl StructuralPartialEq for CreateDeploymentJobOutput
Auto Trait Implementations§
impl Freeze for CreateDeploymentJobOutput
impl RefUnwindSafe for CreateDeploymentJobOutput
impl Send for CreateDeploymentJobOutput
impl Sync for CreateDeploymentJobOutput
impl Unpin for CreateDeploymentJobOutput
impl UnwindSafe for CreateDeploymentJobOutput
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> 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