Struct aws_sdk_greengrassv2::output::GetDeploymentOutput
source · [−]#[non_exhaustive]pub struct GetDeploymentOutput {Show 13 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 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.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: bool
Whether or not the deployment is the latest revision for its target.
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
sourceimpl 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.
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.
sourceimpl GetDeploymentOutput
impl GetDeploymentOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture GetDeploymentOutput
Trait Implementations
sourceimpl Clone for GetDeploymentOutput
impl Clone for GetDeploymentOutput
sourcefn clone(&self) -> GetDeploymentOutput
fn clone(&self) -> GetDeploymentOutput
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 GetDeploymentOutput
impl Debug for GetDeploymentOutput
sourceimpl PartialEq<GetDeploymentOutput> for GetDeploymentOutput
impl PartialEq<GetDeploymentOutput> for GetDeploymentOutput
sourcefn eq(&self, other: &GetDeploymentOutput) -> bool
fn eq(&self, other: &GetDeploymentOutput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &GetDeploymentOutput) -> bool
fn ne(&self, other: &GetDeploymentOutput) -> bool
This method tests for !=
.
impl StructuralPartialEq for GetDeploymentOutput
Auto Trait Implementations
impl RefUnwindSafe for GetDeploymentOutput
impl Send for GetDeploymentOutput
impl Sync for GetDeploymentOutput
impl Unpin for GetDeploymentOutput
impl UnwindSafe for GetDeploymentOutput
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> 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.
sourcefn clone_into(&self, target: &mut T)
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