aws_sdk_appconfig/client/
get_extension.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 [`GetExtension`](crate::operation::get_extension::builders::GetExtensionFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`extension_identifier(impl Into<String>)`](crate::operation::get_extension::builders::GetExtensionFluentBuilder::extension_identifier) / [`set_extension_identifier(Option<String>)`](crate::operation::get_extension::builders::GetExtensionFluentBuilder::set_extension_identifier):<br>required: **true**<br><p>The name, the ID, or the Amazon Resource Name (ARN) of the extension.</p><br>
7    ///   - [`version_number(i32)`](crate::operation::get_extension::builders::GetExtensionFluentBuilder::version_number) / [`set_version_number(Option<i32>)`](crate::operation::get_extension::builders::GetExtensionFluentBuilder::set_version_number):<br>required: **false**<br><p>The extension version number. If no version number was defined, AppConfig uses the highest version.</p><br>
8    /// - On success, responds with [`GetExtensionOutput`](crate::operation::get_extension::GetExtensionOutput) with field(s):
9    ///   - [`id(Option<String>)`](crate::operation::get_extension::GetExtensionOutput::id): <p>The system-generated ID of the extension.</p>
10    ///   - [`name(Option<String>)`](crate::operation::get_extension::GetExtensionOutput::name): <p>The extension name.</p>
11    ///   - [`version_number(i32)`](crate::operation::get_extension::GetExtensionOutput::version_number): <p>The extension version number.</p>
12    ///   - [`arn(Option<String>)`](crate::operation::get_extension::GetExtensionOutput::arn): <p>The system-generated Amazon Resource Name (ARN) for the extension.</p>
13    ///   - [`description(Option<String>)`](crate::operation::get_extension::GetExtensionOutput::description): <p>Information about the extension.</p>
14    ///   - [`actions(Option<HashMap::<ActionPoint, Vec::<Action>>>)`](crate::operation::get_extension::GetExtensionOutput::actions): <p>The actions defined in the extension.</p>
15    ///   - [`parameters(Option<HashMap::<String, Parameter>>)`](crate::operation::get_extension::GetExtensionOutput::parameters): <p>The parameters accepted by the extension. You specify parameter values when you associate the extension to an AppConfig resource by using the <code>CreateExtensionAssociation</code> API action. For Lambda extension actions, these parameters are included in the Lambda request object.</p>
16    /// - On failure, responds with [`SdkError<GetExtensionError>`](crate::operation::get_extension::GetExtensionError)
17    pub fn get_extension(&self) -> crate::operation::get_extension::builders::GetExtensionFluentBuilder {
18        crate::operation::get_extension::builders::GetExtensionFluentBuilder::new(self.handle.clone())
19    }
20}