aws_sdk_greengrass/client/get_core_definition.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 [`GetCoreDefinition`](crate::operation::get_core_definition::builders::GetCoreDefinitionFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`core_definition_id(impl Into<String>)`](crate::operation::get_core_definition::builders::GetCoreDefinitionFluentBuilder::core_definition_id) / [`set_core_definition_id(Option<String>)`](crate::operation::get_core_definition::builders::GetCoreDefinitionFluentBuilder::set_core_definition_id):<br>required: **true**<br>The ID of the core definition.<br>
7 /// - On success, responds with [`GetCoreDefinitionOutput`](crate::operation::get_core_definition::GetCoreDefinitionOutput) with field(s):
8 /// - [`arn(Option<String>)`](crate::operation::get_core_definition::GetCoreDefinitionOutput::arn): The ARN of the definition.
9 /// - [`creation_timestamp(Option<String>)`](crate::operation::get_core_definition::GetCoreDefinitionOutput::creation_timestamp): The time, in milliseconds since the epoch, when the definition was created.
10 /// - [`id(Option<String>)`](crate::operation::get_core_definition::GetCoreDefinitionOutput::id): The ID of the definition.
11 /// - [`last_updated_timestamp(Option<String>)`](crate::operation::get_core_definition::GetCoreDefinitionOutput::last_updated_timestamp): The time, in milliseconds since the epoch, when the definition was last updated.
12 /// - [`latest_version(Option<String>)`](crate::operation::get_core_definition::GetCoreDefinitionOutput::latest_version): The ID of the latest version associated with the definition.
13 /// - [`latest_version_arn(Option<String>)`](crate::operation::get_core_definition::GetCoreDefinitionOutput::latest_version_arn): The ARN of the latest version associated with the definition.
14 /// - [`name(Option<String>)`](crate::operation::get_core_definition::GetCoreDefinitionOutput::name): The name of the definition.
15 /// - [`tags(Option<HashMap::<String, String>>)`](crate::operation::get_core_definition::GetCoreDefinitionOutput::tags): Tag(s) attached to the resource arn.
16 /// - On failure, responds with [`SdkError<GetCoreDefinitionError>`](crate::operation::get_core_definition::GetCoreDefinitionError)
17 pub fn get_core_definition(&self) -> crate::operation::get_core_definition::builders::GetCoreDefinitionFluentBuilder {
18 crate::operation::get_core_definition::builders::GetCoreDefinitionFluentBuilder::new(self.handle.clone())
19 }
20}