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 [`CreateProfileEntry`](crate::operation::create_profile_entry::builders::CreateProfileEntryFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`profile_identifier(impl Into<String>)`](crate::operation::create_profile_entry::builders::CreateProfileEntryFluentBuilder::profile_identifier) / [`set_profile_identifier(Option<String>)`](crate::operation::create_profile_entry::builders::CreateProfileEntryFluentBuilder::set_profile_identifier):<br>required: **true**<br>The identifier (id or name) of the profile to bind the extension to.<br>
    ///   - [`client_token(impl Into<String>)`](crate::operation::create_profile_entry::builders::CreateProfileEntryFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::create_profile_entry::builders::CreateProfileEntryFluentBuilder::set_client_token):<br>required: **false**<br>A unique, case-sensitive identifier that you provide to ensure the request is processed at most once.<br>
    ///   - [`extension_identifier(impl Into<String>)`](crate::operation::create_profile_entry::builders::CreateProfileEntryFluentBuilder::extension_identifier) / [`set_extension_identifier(Option<String>)`](crate::operation::create_profile_entry::builders::CreateProfileEntryFluentBuilder::set_extension_identifier):<br>required: **true**<br>The id of the extension to bind, such as aws:secretsmanager.<br>
    ///   - [`name(impl Into<String>)`](crate::operation::create_profile_entry::builders::CreateProfileEntryFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_profile_entry::builders::CreateProfileEntryFluentBuilder::set_name):<br>required: **false**<br>The entry's name, unique within the profile. Defaults to the name in the extension's id.<br>
    ///   - [`description(impl Into<String>)`](crate::operation::create_profile_entry::builders::CreateProfileEntryFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::create_profile_entry::builders::CreateProfileEntryFluentBuilder::set_description):<br>required: **false**<br>A description of the entry's purpose.<br>
    ///   - [`interfaces(impl Into<String>, InterfaceOptions)`](crate::operation::create_profile_entry::builders::CreateProfileEntryFluentBuilder::interfaces) / [`set_interfaces(Option<HashMap::<String, InterfaceOptions>>)`](crate::operation::create_profile_entry::builders::CreateProfileEntryFluentBuilder::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::create_profile_entry::builders::CreateProfileEntryFluentBuilder::execution_role) / [`set_execution_role(Option<String>)`](crate::operation::create_profile_entry::builders::CreateProfileEntryFluentBuilder::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.<br>
    ///   - [`version_policy(VersionPolicy)`](crate::operation::create_profile_entry::builders::CreateProfileEntryFluentBuilder::version_policy) / [`set_version_policy(Option<VersionPolicy>)`](crate::operation::create_profile_entry::builders::CreateProfileEntryFluentBuilder::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::create_profile_entry::builders::CreateProfileEntryFluentBuilder::settings) / [`set_settings(Option<Document>)`](crate::operation::create_profile_entry::builders::CreateProfileEntryFluentBuilder::set_settings):<br>required: **false**<br>The setting values to use for this extension, as free-form JSON. Keys are the extension's setting ids and the values are validated against the extension's settings definitions. A setting that is omitted or null takes its default, if it has one. A null inside an array is rejected.<br>
    ///   - [`approve(impl Into<String>)`](crate::operation::create_profile_entry::builders::CreateProfileEntryFluentBuilder::approve) / [`set_approve(Option<Vec::<String>>)`](crate::operation::create_profile_entry::builders::CreateProfileEntryFluentBuilder::set_approve):<br>required: **false**<br>A list of capability paths to approve. Each path must correspond to a capability instance declared by the extension.<br>
    ///   - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::create_profile_entry::builders::CreateProfileEntryFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::create_profile_entry::builders::CreateProfileEntryFluentBuilder::set_tags):<br>required: **false**<br>Tags to assign to the profile entry.<br>
    /// - On success, responds with [`CreateProfileEntryOutput`](crate::operation::create_profile_entry::CreateProfileEntryOutput) with field(s):
    ///   - [`id(String)`](crate::operation::create_profile_entry::CreateProfileEntryOutput::id): The service-generated id of the profile entry.
    ///   - [`name(String)`](crate::operation::create_profile_entry::CreateProfileEntryOutput::name): The name of the profile entry, unique within the profile. Defaults to the name in the extension's id.
    ///   - [`arn(String)`](crate::operation::create_profile_entry::CreateProfileEntryOutput::arn): The Amazon Resource Name (ARN) of the profile entry.
    ///   - [`profile_id(String)`](crate::operation::create_profile_entry::CreateProfileEntryOutput::profile_id): The id of the profile this entry belongs to.
    ///   - [`profile_name(String)`](crate::operation::create_profile_entry::CreateProfileEntryOutput::profile_name): The name of the profile this entry belongs to.
    ///   - [`extension_id(String)`](crate::operation::create_profile_entry::CreateProfileEntryOutput::extension_id): The id of the extension this entry references, such as aws:secretsmanager.
    ///   - [`extension_display_name(String)`](crate::operation::create_profile_entry::CreateProfileEntryOutput::extension_display_name): The display name of the extension this entry references.
    ///   - [`version_policy(Option<VersionPolicy>)`](crate::operation::create_profile_entry::CreateProfileEntryOutput::version_policy): Controls which extension version this entry tracks and how it adopts new releases.
    ///   - [`resolved_version(Option<String>)`](crate::operation::create_profile_entry::CreateProfileEntryOutput::resolved_version): The extension version the entry's version policy selects, which the Cloud Extensions Runtime runs.
    ///   - [`latest_version(Option<String>)`](crate::operation::create_profile_entry::CreateProfileEntryOutput::latest_version): The extension's latest released version, whether or not the entry's version policy selects it.
    ///   - [`created_at(DateTime)`](crate::operation::create_profile_entry::CreateProfileEntryOutput::created_at): When the profile entry was created.
    ///   - [`updated_at(DateTime)`](crate::operation::create_profile_entry::CreateProfileEntryOutput::updated_at): When the profile entry was last updated. Equal to createdAt until the first update.
    ///   - [`execution_role(Option<String>)`](crate::operation::create_profile_entry::CreateProfileEntryOutput::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::create_profile_entry::CreateProfileEntryOutput::description): A description of the entry's purpose.
    ///   - [`effective_settings(Option<Document>)`](crate::operation::create_profile_entry::CreateProfileEntryOutput::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::create_profile_entry::CreateProfileEntryOutput::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::create_profile_entry::CreateProfileEntryOutput::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::create_profile_entry::CreateProfileEntryOutput::interfaces): Per-interface options for this entry, keyed by the id of an interface the extension declares.
    /// - On failure, responds with [`SdkError<CreateProfileEntryError>`](crate::operation::create_profile_entry::CreateProfileEntryError)
    pub fn create_profile_entry(&self) -> crate::operation::create_profile_entry::builders::CreateProfileEntryFluentBuilder {
        crate::operation::create_profile_entry::builders::CreateProfileEntryFluentBuilder::new(self.handle.clone())
    }
}