aws-sdk-cloudextensions 1.0.0

AWS SDK for AWS Cloud Extensions
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateProfileEntry`](crate::operation::update_profile_entry::builders::UpdateProfileEntryFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`identifier(impl Into<String>)`](crate::operation::update_profile_entry::builders::UpdateProfileEntryFluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::update_profile_entry::builders::UpdateProfileEntryFluentBuilder::set_identifier):<br>required: **true**<br>The identifier of the profile entry<br>
    ///   - [`profile_identifier(impl Into<String>)`](crate::operation::update_profile_entry::builders::UpdateProfileEntryFluentBuilder::profile_identifier) / [`set_profile_identifier(Option<String>)`](crate::operation::update_profile_entry::builders::UpdateProfileEntryFluentBuilder::set_profile_identifier):<br>required: **true**<br>The identifier of the owning profile.<br>
    ///   - [`name(impl Into<String>)`](crate::operation::update_profile_entry::builders::UpdateProfileEntryFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_profile_entry::builders::UpdateProfileEntryFluentBuilder::set_name):<br>required: **false**<br>A new name for the entry, unique within the profile.<br>
    ///   - [`description(impl Into<String>)`](crate::operation::update_profile_entry::builders::UpdateProfileEntryFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_profile_entry::builders::UpdateProfileEntryFluentBuilder::set_description):<br>required: **false**<br>A new description of the entry's purpose. An empty string removes the description.<br>
    ///   - [`interfaces(impl Into<String>, InterfaceOptions)`](crate::operation::update_profile_entry::builders::UpdateProfileEntryFluentBuilder::interfaces) / [`set_interfaces(Option<HashMap::<String, InterfaceOptions>>)`](crate::operation::update_profile_entry::builders::UpdateProfileEntryFluentBuilder::set_interfaces):<br>required: **false**<br>Per-interface options, keyed by the id of an interface the extension declares.<br>
    ///   - [`execution_role(impl Into<String>)`](crate::operation::update_profile_entry::builders::UpdateProfileEntryFluentBuilder::execution_role) / [`set_execution_role(Option<String>)`](crate::operation::update_profile_entry::builders::UpdateProfileEntryFluentBuilder::set_execution_role):<br>required: **false**<br>The IAM role an extension assumes when calling AWS services. The role must be assumable by the Cloud Extensions Runtime's principal. An empty string removes the entry's role, so the profile's default applies.<br>
    ///   - [`version_policy(VersionPolicy)`](crate::operation::update_profile_entry::builders::UpdateProfileEntryFluentBuilder::version_policy) / [`set_version_policy(Option<VersionPolicy>)`](crate::operation::update_profile_entry::builders::UpdateProfileEntryFluentBuilder::set_version_policy):<br>required: **false**<br>Controls which extension version this entry tracks and how it adopts new releases.<br>
    ///   - [`settings(Document)`](crate::operation::update_profile_entry::builders::UpdateProfileEntryFluentBuilder::settings) / [`set_settings(Option<Document>)`](crate::operation::update_profile_entry::builders::UpdateProfileEntryFluentBuilder::set_settings):<br>required: **false**<br>Changes to the entry's setting values, applied as a JSON merge patch (RFC 7396). An omitted setting is unchanged, null removes a setting so it takes its default if it has one, an object merges into a group's stored values, and any other value replaces the stored one. An array replaces the whole stored array, and a null inside an array is rejected. Keys are the extension's setting ids and the merged values are validated against the extension's settings definitions.<br>
    ///   - [`approve(impl Into<String>)`](crate::operation::update_profile_entry::builders::UpdateProfileEntryFluentBuilder::approve) / [`set_approve(Option<Vec::<String>>)`](crate::operation::update_profile_entry::builders::UpdateProfileEntryFluentBuilder::set_approve):<br>required: **false**<br>The complete list of capability paths to approve, replacing the entry's current approvals. A capability left out of the list is no longer approved. Omit approve to keep the current approvals.<br>
    /// - On success, responds with [`UpdateProfileEntryOutput`](crate::operation::update_profile_entry::UpdateProfileEntryOutput) with field(s):
    ///   - [`id(String)`](crate::operation::update_profile_entry::UpdateProfileEntryOutput::id): The service-generated id of the profile entry.
    ///   - [`name(String)`](crate::operation::update_profile_entry::UpdateProfileEntryOutput::name): The name of the profile entry, unique within the profile. Defaults to the name in the extension's id.
    ///   - [`arn(String)`](crate::operation::update_profile_entry::UpdateProfileEntryOutput::arn): The Amazon Resource Name (ARN) of the profile entry.
    ///   - [`profile_id(String)`](crate::operation::update_profile_entry::UpdateProfileEntryOutput::profile_id): The id of the profile this entry belongs to.
    ///   - [`profile_name(String)`](crate::operation::update_profile_entry::UpdateProfileEntryOutput::profile_name): The name of the profile this entry belongs to.
    ///   - [`extension_id(String)`](crate::operation::update_profile_entry::UpdateProfileEntryOutput::extension_id): The id of the extension this entry references, such as aws:secretsmanager.
    ///   - [`extension_display_name(String)`](crate::operation::update_profile_entry::UpdateProfileEntryOutput::extension_display_name): The display name of the extension this entry references.
    ///   - [`version_policy(Option<VersionPolicy>)`](crate::operation::update_profile_entry::UpdateProfileEntryOutput::version_policy): Controls which extension version this entry tracks and how it adopts new releases.
    ///   - [`resolved_version(Option<String>)`](crate::operation::update_profile_entry::UpdateProfileEntryOutput::resolved_version): The extension version the entry's version policy selects, which the Cloud Extensions Runtime runs.
    ///   - [`latest_version(Option<String>)`](crate::operation::update_profile_entry::UpdateProfileEntryOutput::latest_version): The extension's latest released version, whether or not the entry's version policy selects it.
    ///   - [`created_at(DateTime)`](crate::operation::update_profile_entry::UpdateProfileEntryOutput::created_at): When the profile entry was created.
    ///   - [`updated_at(DateTime)`](crate::operation::update_profile_entry::UpdateProfileEntryOutput::updated_at): When the profile entry was last updated. Equal to createdAt until the first update.
    ///   - [`execution_role(Option<String>)`](crate::operation::update_profile_entry::UpdateProfileEntryOutput::execution_role): The IAM role an extension assumes when calling AWS services. The role must be assumable by the Cloud Extensions Runtime's principal.
    ///   - [`description(Option<String>)`](crate::operation::update_profile_entry::UpdateProfileEntryOutput::description): A description of the entry's purpose.
    ///   - [`effective_settings(Option<Document>)`](crate::operation::update_profile_entry::UpdateProfileEntryOutput::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.
    ///   - [`approved_capabilities(Option<HashMap::<String, CapabilityDefinition>>)`](crate::operation::update_profile_entry::UpdateProfileEntryOutput::approved_capabilities): A map of capability paths to their approved specifications. Capabilities must be explicitly approved before the extension can use them.
    ///   - [`inherited(Option<ExtensionDefaults>)`](crate::operation::update_profile_entry::UpdateProfileEntryOutput::inherited): The profile's extension defaults. An option set in an entry's interfaces overrides the same option in the inherited interfaceDefaults.
    ///   - [`interfaces(Option<HashMap::<String, InterfaceOptions>>)`](crate::operation::update_profile_entry::UpdateProfileEntryOutput::interfaces): Per-interface options for this entry, keyed by the id of an interface the extension declares.
    /// - On failure, responds with [`SdkError<UpdateProfileEntryError>`](crate::operation::update_profile_entry::UpdateProfileEntryError)
    pub fn update_profile_entry(&self) -> crate::operation::update_profile_entry::builders::UpdateProfileEntryFluentBuilder {
        crate::operation::update_profile_entry::builders::UpdateProfileEntryFluentBuilder::new(self.handle.clone())
    }
}