aws_sdk_bedrockagentcorecontrol/client/
get_gateway_target.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 [`GetGatewayTarget`](crate::operation::get_gateway_target::builders::GetGatewayTargetFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`gateway_identifier(impl Into<String>)`](crate::operation::get_gateway_target::builders::GetGatewayTargetFluentBuilder::gateway_identifier) / [`set_gateway_identifier(Option<String>)`](crate::operation::get_gateway_target::builders::GetGatewayTargetFluentBuilder::set_gateway_identifier):<br>required: **true**<br><p>The identifier of the gateway that contains the target.</p><br>
7    ///   - [`target_id(impl Into<String>)`](crate::operation::get_gateway_target::builders::GetGatewayTargetFluentBuilder::target_id) / [`set_target_id(Option<String>)`](crate::operation::get_gateway_target::builders::GetGatewayTargetFluentBuilder::set_target_id):<br>required: **true**<br><p>The unique identifier of the target to retrieve.</p><br>
8    /// - On success, responds with [`GetGatewayTargetOutput`](crate::operation::get_gateway_target::GetGatewayTargetOutput) with field(s):
9    ///   - [`gateway_arn(String)`](crate::operation::get_gateway_target::GetGatewayTargetOutput::gateway_arn): <p>The Amazon Resource Name (ARN) of the gateway.</p>
10    ///   - [`target_id(String)`](crate::operation::get_gateway_target::GetGatewayTargetOutput::target_id): <p>The unique identifier of the gateway target.</p>
11    ///   - [`created_at(DateTime)`](crate::operation::get_gateway_target::GetGatewayTargetOutput::created_at): <p>The timestamp when the gateway target was created.</p>
12    ///   - [`updated_at(DateTime)`](crate::operation::get_gateway_target::GetGatewayTargetOutput::updated_at): <p>The timestamp when the gateway target was last updated.</p>
13    ///   - [`status(TargetStatus)`](crate::operation::get_gateway_target::GetGatewayTargetOutput::status): <p>The current status of the gateway target.</p>
14    ///   - [`status_reasons(Option<Vec::<String>>)`](crate::operation::get_gateway_target::GetGatewayTargetOutput::status_reasons): <p>The reasons for the current status of the gateway target.</p>
15    ///   - [`name(String)`](crate::operation::get_gateway_target::GetGatewayTargetOutput::name): <p>The name of the gateway target.</p>
16    ///   - [`description(Option<String>)`](crate::operation::get_gateway_target::GetGatewayTargetOutput::description): <p>The description of the gateway target.</p>
17    ///   - [`target_configuration(Option<TargetConfiguration>)`](crate::operation::get_gateway_target::GetGatewayTargetOutput::target_configuration): <p>The configuration for a gateway target. This structure defines how the gateway connects to and interacts with the target endpoint.</p>
18    ///   - [`credential_provider_configurations(Vec::<CredentialProviderConfiguration>)`](crate::operation::get_gateway_target::GetGatewayTargetOutput::credential_provider_configurations): <p>The credential provider configurations for the gateway target.</p>
19    ///   - [`last_synchronized_at(Option<DateTime>)`](crate::operation::get_gateway_target::GetGatewayTargetOutput::last_synchronized_at): <p>The last synchronization of the target.</p>
20    /// - On failure, responds with [`SdkError<GetGatewayTargetError>`](crate::operation::get_gateway_target::GetGatewayTargetError)
21    pub fn get_gateway_target(&self) -> crate::operation::get_gateway_target::builders::GetGatewayTargetFluentBuilder {
22        crate::operation::get_gateway_target::builders::GetGatewayTargetFluentBuilder::new(self.handle.clone())
23    }
24}