Skip to main content

aws_sdk_bedrockagentcorecontrol/client/
get_configuration_bundle.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 [`GetConfigurationBundle`](crate::operation::get_configuration_bundle::builders::GetConfigurationBundleFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`bundle_id(impl Into<String>)`](crate::operation::get_configuration_bundle::builders::GetConfigurationBundleFluentBuilder::bundle_id) / [`set_bundle_id(Option<String>)`](crate::operation::get_configuration_bundle::builders::GetConfigurationBundleFluentBuilder::set_bundle_id):<br>required: **true**<br><p>The unique identifier of the configuration bundle to retrieve.</p><br>
7    ///   - [`branch_name(impl Into<String>)`](crate::operation::get_configuration_bundle::builders::GetConfigurationBundleFluentBuilder::branch_name) / [`set_branch_name(Option<String>)`](crate::operation::get_configuration_bundle::builders::GetConfigurationBundleFluentBuilder::set_branch_name):<br>required: **false**<br><p>The branch name to get the latest version from. If not specified, returns the latest version on the mainline branch.</p><br>
8    /// - On success, responds with [`GetConfigurationBundleOutput`](crate::operation::get_configuration_bundle::GetConfigurationBundleOutput) with field(s):
9    ///   - [`bundle_arn(String)`](crate::operation::get_configuration_bundle::GetConfigurationBundleOutput::bundle_arn): <p>The Amazon Resource Name (ARN) of the configuration bundle.</p>
10    ///   - [`bundle_id(String)`](crate::operation::get_configuration_bundle::GetConfigurationBundleOutput::bundle_id): <p>The unique identifier of the configuration bundle.</p>
11    ///   - [`bundle_name(String)`](crate::operation::get_configuration_bundle::GetConfigurationBundleOutput::bundle_name): <p>The name of the configuration bundle.</p>
12    ///   - [`description(Option<String>)`](crate::operation::get_configuration_bundle::GetConfigurationBundleOutput::description): <p>The description of the configuration bundle.</p>
13    ///   - [`version_id(String)`](crate::operation::get_configuration_bundle::GetConfigurationBundleOutput::version_id): <p>The version identifier of this configuration bundle.</p>
14    ///   - [`components(HashMap::<String, ComponentConfiguration>)`](crate::operation::get_configuration_bundle::GetConfigurationBundleOutput::components): <p>A map of component identifiers to their configurations for this version.</p>
15    ///   - [`lineage_metadata(Option<VersionLineageMetadata>)`](crate::operation::get_configuration_bundle::GetConfigurationBundleOutput::lineage_metadata): <p>The version lineage metadata, including parent versions, branch name, and creation source.</p>
16    ///   - [`created_at(DateTime)`](crate::operation::get_configuration_bundle::GetConfigurationBundleOutput::created_at): <p>The timestamp when the configuration bundle was created.</p>
17    ///   - [`updated_at(DateTime)`](crate::operation::get_configuration_bundle::GetConfigurationBundleOutput::updated_at): <p>The timestamp when the configuration bundle was last updated.</p>
18    /// - On failure, responds with [`SdkError<GetConfigurationBundleError>`](crate::operation::get_configuration_bundle::GetConfigurationBundleError)
19    pub fn get_configuration_bundle(&self) -> crate::operation::get_configuration_bundle::builders::GetConfigurationBundleFluentBuilder {
20        crate::operation::get_configuration_bundle::builders::GetConfigurationBundleFluentBuilder::new(self.handle.clone())
21    }
22}