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