aws_sdk_iottwinmaker/client/get_workspace.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 [`GetWorkspace`](crate::operation::get_workspace::builders::GetWorkspaceFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`workspace_id(impl Into<String>)`](crate::operation::get_workspace::builders::GetWorkspaceFluentBuilder::workspace_id) / [`set_workspace_id(Option<String>)`](crate::operation::get_workspace::builders::GetWorkspaceFluentBuilder::set_workspace_id):<br>required: **true**<br><p>The ID of the workspace.</p><br>
7 /// - On success, responds with [`GetWorkspaceOutput`](crate::operation::get_workspace::GetWorkspaceOutput) with field(s):
8 /// - [`workspace_id(String)`](crate::operation::get_workspace::GetWorkspaceOutput::workspace_id): <p>The ID of the workspace.</p>
9 /// - [`arn(String)`](crate::operation::get_workspace::GetWorkspaceOutput::arn): <p>The ARN of the workspace.</p>
10 /// - [`description(Option<String>)`](crate::operation::get_workspace::GetWorkspaceOutput::description): <p>The description of the workspace.</p>
11 /// - [`linked_services(Option<Vec::<String>>)`](crate::operation::get_workspace::GetWorkspaceOutput::linked_services): <p>A list of services that are linked to the workspace.</p>
12 /// - [`s3_location(Option<String>)`](crate::operation::get_workspace::GetWorkspaceOutput::s3_location): <p>The ARN of the S3 bucket where resources associated with the workspace are stored.</p>
13 /// - [`role(Option<String>)`](crate::operation::get_workspace::GetWorkspaceOutput::role): <p>The ARN of the execution role associated with the workspace.</p>
14 /// - [`creation_date_time(DateTime)`](crate::operation::get_workspace::GetWorkspaceOutput::creation_date_time): <p>The date and time when the workspace was created.</p>
15 /// - [`update_date_time(DateTime)`](crate::operation::get_workspace::GetWorkspaceOutput::update_date_time): <p>The date and time when the workspace was last updated.</p>
16 /// - On failure, responds with [`SdkError<GetWorkspaceError>`](crate::operation::get_workspace::GetWorkspaceError)
17 pub fn get_workspace(&self) -> crate::operation::get_workspace::builders::GetWorkspaceFluentBuilder {
18 crate::operation::get_workspace::builders::GetWorkspaceFluentBuilder::new(self.handle.clone())
19 }
20}