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 /// - [`metadata_configuration(Option<MetadataConfiguration>)`](crate::operation::get_gateway_target::GetGatewayTargetOutput::metadata_configuration): <p>The metadata configuration for HTTP header and query parameter propagation for the retrieved gateway target.</p>
21 /// - [`private_endpoint(Option<PrivateEndpoint>)`](crate::operation::get_gateway_target::GetGatewayTargetOutput::private_endpoint): <p>The private endpoint configuration for the gateway target.</p>
22 /// - [`private_endpoint_managed_resources(Option<Vec::<ManagedResourceDetails>>)`](crate::operation::get_gateway_target::GetGatewayTargetOutput::private_endpoint_managed_resources): <p>The managed resources created by the gateway for private endpoint connectivity.</p>
23 /// - [`authorization_data(Option<AuthorizationData>)`](crate::operation::get_gateway_target::GetGatewayTargetOutput::authorization_data): <p>OAuth2 authorization data for the gateway target. This data is returned when a target is configured with a credential provider with authorization code grant type and requires user federation.</p>
24 /// - [`protocol_type(Option<TargetProtocolType>)`](crate::operation::get_gateway_target::GetGatewayTargetOutput::protocol_type): <p>The protocol type of the gateway target.</p>
25 /// - On failure, responds with [`SdkError<GetGatewayTargetError>`](crate::operation::get_gateway_target::GetGatewayTargetError)
26 pub fn get_gateway_target(&self) -> crate::operation::get_gateway_target::builders::GetGatewayTargetFluentBuilder {
27 crate::operation::get_gateway_target::builders::GetGatewayTargetFluentBuilder::new(self.handle.clone())
28 }
29}