Skip to main content

aws_sdk_continuum/client/
get_integration.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 [`GetIntegration`](crate::operation::get_integration::builders::GetIntegrationFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`integration_id(impl Into<String>)`](crate::operation::get_integration::builders::GetIntegrationFluentBuilder::integration_id) / [`set_integration_id(Option<String>)`](crate::operation::get_integration::builders::GetIntegrationFluentBuilder::set_integration_id):<br>required: **true**<br>The unique identifier of the integration to retrieve.<br>
7    /// - On success, responds with [`GetIntegrationOutput`](crate::operation::get_integration::GetIntegrationOutput) with field(s):
8    ///   - [`integration_id(String)`](crate::operation::get_integration::GetIntegrationOutput::integration_id): The unique identifier of the integration.
9    ///   - [`integration_arn(String)`](crate::operation::get_integration::GetIntegrationOutput::integration_arn): The ARN of the integration.
10    ///   - [`name(String)`](crate::operation::get_integration::GetIntegrationOutput::name): The name of the integration.
11    ///   - [`integration_type(IntegrationType)`](crate::operation::get_integration::GetIntegrationOutput::integration_type): The immutable provider type for the integration.
12    ///   - [`provider_details(Option<ProviderDetails>)`](crate::operation::get_integration::GetIntegrationOutput::provider_details): Provider-specific details for the integration.
13    ///   - [`created_at(DateTime)`](crate::operation::get_integration::GetIntegrationOutput::created_at): The timestamp when the integration was created.
14    ///   - [`updated_at(DateTime)`](crate::operation::get_integration::GetIntegrationOutput::updated_at): The timestamp when the integration was last updated.
15    /// - On failure, responds with [`SdkError<GetIntegrationError>`](crate::operation::get_integration::GetIntegrationError)
16    pub fn get_integration(&self) -> crate::operation::get_integration::builders::GetIntegrationFluentBuilder {
17        crate::operation::get_integration::builders::GetIntegrationFluentBuilder::new(self.handle.clone())
18    }
19}