aws_sdk_inspector2/client/get_code_security_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 [`GetCodeSecurityIntegration`](crate::operation::get_code_security_integration::builders::GetCodeSecurityIntegrationFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`integration_arn(impl Into<String>)`](crate::operation::get_code_security_integration::builders::GetCodeSecurityIntegrationFluentBuilder::integration_arn) / [`set_integration_arn(Option<String>)`](crate::operation::get_code_security_integration::builders::GetCodeSecurityIntegrationFluentBuilder::set_integration_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the code security integration to retrieve.</p><br>
7 /// - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::get_code_security_integration::builders::GetCodeSecurityIntegrationFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::get_code_security_integration::builders::GetCodeSecurityIntegrationFluentBuilder::set_tags):<br>required: **false**<br><p>The tags associated with the code security integration.</p><br>
8 /// - On success, responds with [`GetCodeSecurityIntegrationOutput`](crate::operation::get_code_security_integration::GetCodeSecurityIntegrationOutput) with field(s):
9 /// - [`integration_arn(String)`](crate::operation::get_code_security_integration::GetCodeSecurityIntegrationOutput::integration_arn): <p>The Amazon Resource Name (ARN) of the code security integration.</p>
10 /// - [`name(String)`](crate::operation::get_code_security_integration::GetCodeSecurityIntegrationOutput::name): <p>The name of the code security integration.</p>
11 /// - [`r#type(IntegrationType)`](crate::operation::get_code_security_integration::GetCodeSecurityIntegrationOutput::type): <p>The type of repository provider for the integration.</p>
12 /// - [`status(IntegrationStatus)`](crate::operation::get_code_security_integration::GetCodeSecurityIntegrationOutput::status): <p>The current status of the code security integration.</p>
13 /// - [`status_reason(String)`](crate::operation::get_code_security_integration::GetCodeSecurityIntegrationOutput::status_reason): <p>The reason for the current status of the code security integration.</p>
14 /// - [`created_on(DateTime)`](crate::operation::get_code_security_integration::GetCodeSecurityIntegrationOutput::created_on): <p>The timestamp when the code security integration was created.</p>
15 /// - [`last_update_on(DateTime)`](crate::operation::get_code_security_integration::GetCodeSecurityIntegrationOutput::last_update_on): <p>The timestamp when the code security integration was last updated.</p>
16 /// - [`tags(Option<HashMap::<String, String>>)`](crate::operation::get_code_security_integration::GetCodeSecurityIntegrationOutput::tags): <p>The tags associated with the code security integration.</p>
17 /// - [`authorization_url(Option<String>)`](crate::operation::get_code_security_integration::GetCodeSecurityIntegrationOutput::authorization_url): <p>The URL used to authorize the integration with the repository provider. This is only returned if reauthorization is required to fix a connection issue. Otherwise, it is null.</p>
18 /// - On failure, responds with [`SdkError<GetCodeSecurityIntegrationError>`](crate::operation::get_code_security_integration::GetCodeSecurityIntegrationError)
19 pub fn get_code_security_integration(
20 &self,
21 ) -> crate::operation::get_code_security_integration::builders::GetCodeSecurityIntegrationFluentBuilder {
22 crate::operation::get_code_security_integration::builders::GetCodeSecurityIntegrationFluentBuilder::new(self.handle.clone())
23 }
24}