#[non_exhaustive]pub struct GetDeploymentOutput {Show 14 fields
pub target_arn: Option<String>,
pub revision_id: Option<String>,
pub deployment_id: Option<String>,
pub deployment_name: Option<String>,
pub deployment_status: Option<DeploymentStatus>,
pub iot_job_id: Option<String>,
pub iot_job_arn: Option<String>,
pub components: Option<HashMap<String, ComponentDeploymentSpecification>>,
pub deployment_policies: Option<DeploymentPolicies>,
pub iot_job_configuration: Option<DeploymentIoTJobConfiguration>,
pub creation_timestamp: Option<DateTime>,
pub is_latest_for_target: bool,
pub parent_target_arn: Option<String>,
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.target_arn: Option<String>The ARN of the target IoT thing or thing group.
revision_id: Option<String>The revision number of the deployment.
deployment_id: Option<String>The ID of the deployment.
deployment_name: Option<String>The name of the deployment.
deployment_status: Option<DeploymentStatus>The status of the deployment.
iot_job_id: Option<String>The ID of the IoT job that applies the deployment to target devices.
iot_job_arn: Option<String>The ARN of the IoT job that applies the deployment to target devices.
components: Option<HashMap<String, ComponentDeploymentSpecification>>The components to deploy. This is a dictionary, where each key is the name of a component, and each key's value is the version and configuration to deploy for that component.
deployment_policies: Option<DeploymentPolicies>The deployment policies for the deployment. These policies define how the deployment updates components and handles failure.
iot_job_configuration: Option<DeploymentIoTJobConfiguration>The job configuration for the deployment configuration. The job configuration specifies the rollout, timeout, and stop configurations for the deployment configuration.
creation_timestamp: Option<DateTime>The time at which the deployment was created, expressed in ISO 8601 format.
is_latest_for_target: boolWhether or not the deployment is the latest revision for its target.
parent_target_arn: Option<String>The parent deployment's target ARN within a subdeployment.
A list of key-value pairs that contain metadata for the resource. For more information, see Tag your resources in the IoT Greengrass V2 Developer Guide.
Implementations§
source§impl GetDeploymentOutput
impl GetDeploymentOutput
sourcepub fn target_arn(&self) -> Option<&str>
pub fn target_arn(&self) -> Option<&str>
The ARN of the target IoT thing or thing group.
sourcepub fn revision_id(&self) -> Option<&str>
pub fn revision_id(&self) -> Option<&str>
The revision number of the deployment.
sourcepub fn deployment_id(&self) -> Option<&str>
pub fn deployment_id(&self) -> Option<&str>
The ID of the deployment.
sourcepub fn deployment_name(&self) -> Option<&str>
pub fn deployment_name(&self) -> Option<&str>
The name of the deployment.
sourcepub fn deployment_status(&self) -> Option<&DeploymentStatus>
pub fn deployment_status(&self) -> Option<&DeploymentStatus>
The status of the deployment.
sourcepub fn iot_job_id(&self) -> Option<&str>
pub fn iot_job_id(&self) -> Option<&str>
The ID of the IoT job that applies the deployment to target devices.
sourcepub fn iot_job_arn(&self) -> Option<&str>
pub fn iot_job_arn(&self) -> Option<&str>
The ARN of the IoT job that applies the deployment to target devices.
sourcepub fn components(
&self,
) -> Option<&HashMap<String, ComponentDeploymentSpecification>>
pub fn components( &self, ) -> Option<&HashMap<String, ComponentDeploymentSpecification>>
The components to deploy. This is a dictionary, where each key is the name of a component, and each key's value is the version and configuration to deploy for that component.
sourcepub fn deployment_policies(&self) -> Option<&DeploymentPolicies>
pub fn deployment_policies(&self) -> Option<&DeploymentPolicies>
The deployment policies for the deployment. These policies define how the deployment updates components and handles failure.
sourcepub fn iot_job_configuration(&self) -> Option<&DeploymentIoTJobConfiguration>
pub fn iot_job_configuration(&self) -> Option<&DeploymentIoTJobConfiguration>
The job configuration for the deployment configuration. The job configuration specifies the rollout, timeout, and stop configurations for the deployment configuration.
sourcepub fn creation_timestamp(&self) -> Option<&DateTime>
pub fn creation_timestamp(&self) -> Option<&DateTime>
The time at which the deployment was created, expressed in ISO 8601 format.
sourcepub fn is_latest_for_target(&self) -> bool
pub fn is_latest_for_target(&self) -> bool
Whether or not the deployment is the latest revision for its target.
sourcepub fn parent_target_arn(&self) -> Option<&str>
pub fn parent_target_arn(&self) -> Option<&str>
The parent deployment's target ARN within a subdeployment.
A list of key-value pairs that contain metadata for the resource. For more information, see Tag your resources in the IoT Greengrass V2 Developer Guide.
source§impl GetDeploymentOutput
impl GetDeploymentOutput
sourcepub fn builder() -> GetDeploymentOutputBuilder
pub fn builder() -> GetDeploymentOutputBuilder
Creates a new builder-style object to manufacture GetDeploymentOutput.
Trait Implementations§
source§impl Clone for GetDeploymentOutput
impl Clone for GetDeploymentOutput
source§fn clone(&self) -> GetDeploymentOutput
fn clone(&self) -> GetDeploymentOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GetDeploymentOutput
impl Debug for GetDeploymentOutput
source§impl PartialEq for GetDeploymentOutput
impl PartialEq for GetDeploymentOutput
source§impl RequestId for GetDeploymentOutput
impl RequestId for GetDeploymentOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.impl StructuralPartialEq for GetDeploymentOutput
Auto Trait Implementations§
impl Freeze for GetDeploymentOutput
impl RefUnwindSafe for GetDeploymentOutput
impl Send for GetDeploymentOutput
impl Sync for GetDeploymentOutput
impl Unpin for GetDeploymentOutput
impl UnwindSafe for GetDeploymentOutput
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