aws_sdk_cloudextensions/client/get_profile.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 [`GetProfile`](crate::operation::get_profile::builders::GetProfileFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`identifier(impl Into<String>)`](crate::operation::get_profile::builders::GetProfileFluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::get_profile::builders::GetProfileFluentBuilder::set_identifier):<br>required: **true**<br>The identifier (id or name) of the profile.<br>
7 /// - On success, responds with [`GetProfileOutput`](crate::operation::get_profile::GetProfileOutput) with field(s):
8 /// - [`id(String)`](crate::operation::get_profile::GetProfileOutput::id): The service-generated id of the profile.
9 /// - [`name(String)`](crate::operation::get_profile::GetProfileOutput::name): The name of the profile.
10 /// - [`arn(String)`](crate::operation::get_profile::GetProfileOutput::arn): The Amazon Resource Name (ARN) of the profile.
11 /// - [`entry_count(i32)`](crate::operation::get_profile::GetProfileOutput::entry_count): The number of entries in this profile.
12 /// - [`created_at(DateTime)`](crate::operation::get_profile::GetProfileOutput::created_at): When the profile was created.
13 /// - [`updated_at(DateTime)`](crate::operation::get_profile::GetProfileOutput::updated_at): When the profile was last updated. Equal to createdAt until the first update.
14 /// - [`description(Option<String>)`](crate::operation::get_profile::GetProfileOutput::description): A human-readable description of this profile's purpose or target environment.
15 /// - [`extension_defaults(Option<ExtensionDefaults>)`](crate::operation::get_profile::GetProfileOutput::extension_defaults): Default values used by the extensions in this profile. These can be overridden at the profile entry level.
16 /// - On failure, responds with [`SdkError<GetProfileError>`](crate::operation::get_profile::GetProfileError)
17 pub fn get_profile(&self) -> crate::operation::get_profile::builders::GetProfileFluentBuilder {
18 crate::operation::get_profile::builders::GetProfileFluentBuilder::new(self.handle.clone())
19 }
20}