aws_sdk_bedrockagentcorecontrol/client/create_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 [`CreateGatewayTarget`](crate::operation::create_gateway_target::builders::CreateGatewayTargetFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`gateway_identifier(impl Into<String>)`](crate::operation::create_gateway_target::builders::CreateGatewayTargetFluentBuilder::gateway_identifier) / [`set_gateway_identifier(Option<String>)`](crate::operation::create_gateway_target::builders::CreateGatewayTargetFluentBuilder::set_gateway_identifier):<br>required: **true**<br><p>The identifier of the gateway to create a target for.</p><br>
7 /// - [`name(impl Into<String>)`](crate::operation::create_gateway_target::builders::CreateGatewayTargetFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_gateway_target::builders::CreateGatewayTargetFluentBuilder::set_name):<br>required: **true**<br><p>The name of the gateway target. The name must be unique within the gateway.</p><br>
8 /// - [`description(impl Into<String>)`](crate::operation::create_gateway_target::builders::CreateGatewayTargetFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::create_gateway_target::builders::CreateGatewayTargetFluentBuilder::set_description):<br>required: **false**<br><p>The description of the gateway target.</p><br>
9 /// - [`client_token(impl Into<String>)`](crate::operation::create_gateway_target::builders::CreateGatewayTargetFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::create_gateway_target::builders::CreateGatewayTargetFluentBuilder::set_client_token):<br>required: **false**<br><p>A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, the service ignores the request, but does not return an error. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring idempotency</a>.</p><br>
10 /// - [`target_configuration(TargetConfiguration)`](crate::operation::create_gateway_target::builders::CreateGatewayTargetFluentBuilder::target_configuration) / [`set_target_configuration(Option<TargetConfiguration>)`](crate::operation::create_gateway_target::builders::CreateGatewayTargetFluentBuilder::set_target_configuration):<br>required: **true**<br><p>The configuration settings for the target, including endpoint information and schema definitions.</p><br>
11 /// - [`credential_provider_configurations(CredentialProviderConfiguration)`](crate::operation::create_gateway_target::builders::CreateGatewayTargetFluentBuilder::credential_provider_configurations) / [`set_credential_provider_configurations(Option<Vec::<CredentialProviderConfiguration>>)`](crate::operation::create_gateway_target::builders::CreateGatewayTargetFluentBuilder::set_credential_provider_configurations):<br>required: **true**<br><p>The credential provider configurations for the target. These configurations specify how the gateway authenticates with the target endpoint.</p><br>
12 /// - On success, responds with [`CreateGatewayTargetOutput`](crate::operation::create_gateway_target::CreateGatewayTargetOutput) with field(s):
13 /// - [`gateway_arn(String)`](crate::operation::create_gateway_target::CreateGatewayTargetOutput::gateway_arn): <p>The Amazon Resource Name (ARN) of the gateway.</p>
14 /// - [`target_id(String)`](crate::operation::create_gateway_target::CreateGatewayTargetOutput::target_id): <p>The unique identifier of the created target.</p>
15 /// - [`created_at(DateTime)`](crate::operation::create_gateway_target::CreateGatewayTargetOutput::created_at): <p>The timestamp when the target was created.</p>
16 /// - [`updated_at(DateTime)`](crate::operation::create_gateway_target::CreateGatewayTargetOutput::updated_at): <p>The timestamp when the target was last updated.</p>
17 /// - [`status(TargetStatus)`](crate::operation::create_gateway_target::CreateGatewayTargetOutput::status): <p>The current status of the target.</p>
18 /// - [`status_reasons(Option<Vec::<String>>)`](crate::operation::create_gateway_target::CreateGatewayTargetOutput::status_reasons): <p>The reasons for the current status of the target.</p>
19 /// - [`name(String)`](crate::operation::create_gateway_target::CreateGatewayTargetOutput::name): <p>The name of the target.</p>
20 /// - [`description(Option<String>)`](crate::operation::create_gateway_target::CreateGatewayTargetOutput::description): <p>The description of the target.</p>
21 /// - [`target_configuration(Option<TargetConfiguration>)`](crate::operation::create_gateway_target::CreateGatewayTargetOutput::target_configuration): <p>The configuration settings for the target.</p>
22 /// - [`credential_provider_configurations(Vec::<CredentialProviderConfiguration>)`](crate::operation::create_gateway_target::CreateGatewayTargetOutput::credential_provider_configurations): <p>The credential provider configurations for the target.</p>
23 /// - On failure, responds with [`SdkError<CreateGatewayTargetError>`](crate::operation::create_gateway_target::CreateGatewayTargetError)
24 pub fn create_gateway_target(&self) -> crate::operation::create_gateway_target::builders::CreateGatewayTargetFluentBuilder {
25 crate::operation::create_gateway_target::builders::CreateGatewayTargetFluentBuilder::new(self.handle.clone())
26 }
27}