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