aws_sdk_iotroborunner/client/get_worker.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`GetWorker`](crate::operation::get_worker::builders::GetWorkerFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`id(impl Into<String>)`](crate::operation::get_worker::builders::GetWorkerFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::get_worker::builders::GetWorkerFluentBuilder::set_id):<br>required: **true**<br>Full ARN of the worker.<br>
7 /// - On success, responds with [`GetWorkerOutput`](crate::operation::get_worker::GetWorkerOutput) with field(s):
8 /// - [`arn(String)`](crate::operation::get_worker::GetWorkerOutput::arn): Full ARN of the worker.
9 /// - [`id(String)`](crate::operation::get_worker::GetWorkerOutput::id): Filters access by the workers identifier
10 /// - [`fleet(String)`](crate::operation::get_worker::GetWorkerOutput::fleet): Full ARN of the worker fleet.
11 /// - [`site(String)`](crate::operation::get_worker::GetWorkerOutput::site): Site ARN.
12 /// - [`created_at(DateTime)`](crate::operation::get_worker::GetWorkerOutput::created_at): Timestamp at which the resource was created.
13 /// - [`updated_at(DateTime)`](crate::operation::get_worker::GetWorkerOutput::updated_at): Timestamp at which the resource was last updated.
14 /// - [`name(String)`](crate::operation::get_worker::GetWorkerOutput::name): Human friendly name of the resource.
15 /// - [`additional_transient_properties(Option<String>)`](crate::operation::get_worker::GetWorkerOutput::additional_transient_properties): JSON blob containing unstructured worker properties that are transient and may change during regular operation.
16 /// - [`additional_fixed_properties(Option<String>)`](crate::operation::get_worker::GetWorkerOutput::additional_fixed_properties): JSON blob containing unstructured worker properties that are fixed and won't change during regular operation.
17 /// - [`vendor_properties(Option<VendorProperties>)`](crate::operation::get_worker::GetWorkerOutput::vendor_properties): Properties of the worker that are provided by the vendor FMS.
18 /// - [`position(Option<PositionCoordinates>)`](crate::operation::get_worker::GetWorkerOutput::position): Supported coordinates for worker position.
19 /// - [`orientation(Option<Orientation>)`](crate::operation::get_worker::GetWorkerOutput::orientation): Worker orientation measured in units clockwise from north.
20 /// - On failure, responds with [`SdkError<GetWorkerError>`](crate::operation::get_worker::GetWorkerError)
21 pub fn get_worker(&self) -> crate::operation::get_worker::builders::GetWorkerFluentBuilder {
22 crate::operation::get_worker::builders::GetWorkerFluentBuilder::new(self.handle.clone())
23 }
24}