Skip to main content

aws_sdk_securityagent/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><p>The unique identifier of the integration to retrieve.</p><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): <p>The unique identifier of the integration.</p>
9    ///   - [`installation_id(String)`](crate::operation::get_integration::GetIntegrationOutput::installation_id): <p>The installation identifier from the integration provider.</p>
10    ///   - [`provider(Provider)`](crate::operation::get_integration::GetIntegrationOutput::provider): <p>The integration provider.</p>
11    ///   - [`provider_type(ProviderType)`](crate::operation::get_integration::GetIntegrationOutput::provider_type): <p>The type of the integration provider.</p>
12    ///   - [`display_name(Option<String>)`](crate::operation::get_integration::GetIntegrationOutput::display_name): <p>The display name of the integration.</p>
13    ///   - [`kms_key_id(Option<String>)`](crate::operation::get_integration::GetIntegrationOutput::kms_key_id): <p>The identifier of the AWS KMS key used to encrypt data associated with the integration.</p>
14    /// - On failure, responds with [`SdkError<GetIntegrationError>`](crate::operation::get_integration::GetIntegrationError)
15    pub fn get_integration(&self) -> crate::operation::get_integration::builders::GetIntegrationFluentBuilder {
16        crate::operation::get_integration::builders::GetIntegrationFluentBuilder::new(self.handle.clone())
17    }
18}