Skip to main content

aws_sdk_cloudextensions/client/
get_profile_entry.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 [`GetProfileEntry`](crate::operation::get_profile_entry::builders::GetProfileEntryFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`identifier(impl Into<String>)`](crate::operation::get_profile_entry::builders::GetProfileEntryFluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::get_profile_entry::builders::GetProfileEntryFluentBuilder::set_identifier):<br>required: **true**<br>The identifier (id or name) of the profile entry.<br>
7    ///   - [`profile_identifier(impl Into<String>)`](crate::operation::get_profile_entry::builders::GetProfileEntryFluentBuilder::profile_identifier) / [`set_profile_identifier(Option<String>)`](crate::operation::get_profile_entry::builders::GetProfileEntryFluentBuilder::set_profile_identifier):<br>required: **true**<br>The identifier of the owning profile.<br>
8    /// - On success, responds with [`GetProfileEntryOutput`](crate::operation::get_profile_entry::GetProfileEntryOutput) with field(s):
9    ///   - [`id(String)`](crate::operation::get_profile_entry::GetProfileEntryOutput::id): The service-generated id of the profile entry.
10    ///   - [`name(String)`](crate::operation::get_profile_entry::GetProfileEntryOutput::name): The name of the profile entry, unique within the profile. Defaults to the name in the extension's id.
11    ///   - [`arn(String)`](crate::operation::get_profile_entry::GetProfileEntryOutput::arn): The Amazon Resource Name (ARN) of the profile entry.
12    ///   - [`profile_id(String)`](crate::operation::get_profile_entry::GetProfileEntryOutput::profile_id): The id of the profile this entry belongs to.
13    ///   - [`profile_name(String)`](crate::operation::get_profile_entry::GetProfileEntryOutput::profile_name): The name of the profile this entry belongs to.
14    ///   - [`extension_id(String)`](crate::operation::get_profile_entry::GetProfileEntryOutput::extension_id): The id of the extension this entry references, such as aws:secretsmanager.
15    ///   - [`extension_display_name(String)`](crate::operation::get_profile_entry::GetProfileEntryOutput::extension_display_name): The display name of the extension this entry references.
16    ///   - [`version_policy(Option<VersionPolicy>)`](crate::operation::get_profile_entry::GetProfileEntryOutput::version_policy): Controls which extension version this entry tracks and how it adopts new releases.
17    ///   - [`resolved_version(Option<String>)`](crate::operation::get_profile_entry::GetProfileEntryOutput::resolved_version): The extension version the entry's version policy selects, which the Cloud Extensions Runtime runs.
18    ///   - [`latest_version(Option<String>)`](crate::operation::get_profile_entry::GetProfileEntryOutput::latest_version): The extension's latest released version, whether or not the entry's version policy selects it.
19    ///   - [`created_at(DateTime)`](crate::operation::get_profile_entry::GetProfileEntryOutput::created_at): When the profile entry was created.
20    ///   - [`updated_at(DateTime)`](crate::operation::get_profile_entry::GetProfileEntryOutput::updated_at): When the profile entry was last updated. Equal to createdAt until the first update.
21    ///   - [`execution_role(Option<String>)`](crate::operation::get_profile_entry::GetProfileEntryOutput::execution_role): The IAM role an extension assumes when calling AWS services. The role must be assumable by the Cloud Extensions Runtime's principal.
22    ///   - [`description(Option<String>)`](crate::operation::get_profile_entry::GetProfileEntryOutput::description): A description of the entry's purpose.
23    ///   - [`effective_settings(Option<Document>)`](crate::operation::get_profile_entry::GetProfileEntryOutput::effective_settings): The setting values to use for this extension, including any applied default values. The settings will be validated against the extension's settings' definitions.
24    ///   - [`approved_capabilities(Option<HashMap::<String, CapabilityDefinition>>)`](crate::operation::get_profile_entry::GetProfileEntryOutput::approved_capabilities): A map of capability paths to their approved specifications. Capabilities must be explicitly approved before the extension can use them.
25    ///   - [`inherited(Option<ExtensionDefaults>)`](crate::operation::get_profile_entry::GetProfileEntryOutput::inherited): The profile's extension defaults. An option set in an entry's interfaces overrides the same option in the inherited interfaceDefaults.
26    ///   - [`interfaces(Option<HashMap::<String, InterfaceOptions>>)`](crate::operation::get_profile_entry::GetProfileEntryOutput::interfaces): Per-interface options for this entry, keyed by the id of an interface the extension declares.
27    /// - On failure, responds with [`SdkError<GetProfileEntryError>`](crate::operation::get_profile_entry::GetProfileEntryError)
28    pub fn get_profile_entry(&self) -> crate::operation::get_profile_entry::builders::GetProfileEntryFluentBuilder {
29        crate::operation::get_profile_entry::builders::GetProfileEntryFluentBuilder::new(self.handle.clone())
30    }
31}