Struct aws_sdk_iot::input::DescribeJobExecutionInput
source · #[non_exhaustive]pub struct DescribeJobExecutionInput { /* private fields */ }
Implementations§
source§impl DescribeJobExecutionInput
impl DescribeJobExecutionInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeJobExecution, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeJobExecution, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DescribeJobExecution
>
Examples found in repository?
src/client.rs (line 12908)
12894 12895 12896 12897 12898 12899 12900 12901 12902 12903 12904 12905 12906 12907 12908 12909 12910 12911 12912 12913 12914 12915 12916 12917 12918 12919 12920 12921 12922 12923 12924 12925 12926 12927 12928 12929 12930 12931 12932 12933 12934 12935 12936
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DescribeJobExecution,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::DescribeJobExecutionError>,
> {
let handle = self.handle.clone();
let operation = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
Ok(crate::operation::customize::CustomizableOperation { handle, operation })
}
/// Sends the request and returns the response.
///
/// If an error occurs, an `SdkError` will be returned with additional details that
/// can be matched against.
///
/// By default, any retryable failures will be retried twice. Retry behavior
/// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
/// set when configuring the client.
pub async fn send(
self,
) -> std::result::Result<
crate::output::DescribeJobExecutionOutput,
aws_smithy_http::result::SdkError<crate::error::DescribeJobExecutionError>,
> {
let op = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&self.handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
self.handle.client.call(op).await
}
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DescribeJobExecutionInput
.
source§impl DescribeJobExecutionInput
impl DescribeJobExecutionInput
sourcepub fn job_id(&self) -> Option<&str>
pub fn job_id(&self) -> Option<&str>
The unique identifier you assigned to this job when it was created.
sourcepub fn thing_name(&self) -> Option<&str>
pub fn thing_name(&self) -> Option<&str>
The name of the thing on which the job execution is running.
sourcepub fn execution_number(&self) -> Option<i64>
pub fn execution_number(&self) -> Option<i64>
A string (consisting of the digits "0" through "9" which is used to specify a particular job execution on a particular device.
Trait Implementations§
source§impl Clone for DescribeJobExecutionInput
impl Clone for DescribeJobExecutionInput
source§fn clone(&self) -> DescribeJobExecutionInput
fn clone(&self) -> DescribeJobExecutionInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more