aws_sdk_bedrockagentcorecontrol/client/update_gateway.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 [`UpdateGateway`](crate::operation::update_gateway::builders::UpdateGatewayFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`gateway_identifier(impl Into<String>)`](crate::operation::update_gateway::builders::UpdateGatewayFluentBuilder::gateway_identifier) / [`set_gateway_identifier(Option<String>)`](crate::operation::update_gateway::builders::UpdateGatewayFluentBuilder::set_gateway_identifier):<br>required: **true**<br><p>The identifier of the gateway to update.</p><br>
7 /// - [`name(impl Into<String>)`](crate::operation::update_gateway::builders::UpdateGatewayFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_gateway::builders::UpdateGatewayFluentBuilder::set_name):<br>required: **true**<br><p>The name of the gateway. This name must be the same as the one when the gateway was created.</p><br>
8 /// - [`description(impl Into<String>)`](crate::operation::update_gateway::builders::UpdateGatewayFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_gateway::builders::UpdateGatewayFluentBuilder::set_description):<br>required: **false**<br><p>The updated description for the gateway.</p><br>
9 /// - [`role_arn(impl Into<String>)`](crate::operation::update_gateway::builders::UpdateGatewayFluentBuilder::role_arn) / [`set_role_arn(Option<String>)`](crate::operation::update_gateway::builders::UpdateGatewayFluentBuilder::set_role_arn):<br>required: **true**<br><p>The updated IAM role ARN that provides permissions for the gateway.</p><br>
10 /// - [`protocol_type(GatewayProtocolType)`](crate::operation::update_gateway::builders::UpdateGatewayFluentBuilder::protocol_type) / [`set_protocol_type(Option<GatewayProtocolType>)`](crate::operation::update_gateway::builders::UpdateGatewayFluentBuilder::set_protocol_type):<br>required: **true**<br><p>The updated protocol type for the gateway.</p><br>
11 /// - [`protocol_configuration(GatewayProtocolConfiguration)`](crate::operation::update_gateway::builders::UpdateGatewayFluentBuilder::protocol_configuration) / [`set_protocol_configuration(Option<GatewayProtocolConfiguration>)`](crate::operation::update_gateway::builders::UpdateGatewayFluentBuilder::set_protocol_configuration):<br>required: **false**<br><p>The configuration for a gateway protocol. This structure defines how the gateway communicates with external services.</p><br>
12 /// - [`authorizer_type(AuthorizerType)`](crate::operation::update_gateway::builders::UpdateGatewayFluentBuilder::authorizer_type) / [`set_authorizer_type(Option<AuthorizerType>)`](crate::operation::update_gateway::builders::UpdateGatewayFluentBuilder::set_authorizer_type):<br>required: **true**<br><p>The updated authorizer type for the gateway.</p><br>
13 /// - [`authorizer_configuration(AuthorizerConfiguration)`](crate::operation::update_gateway::builders::UpdateGatewayFluentBuilder::authorizer_configuration) / [`set_authorizer_configuration(Option<AuthorizerConfiguration>)`](crate::operation::update_gateway::builders::UpdateGatewayFluentBuilder::set_authorizer_configuration):<br>required: **false**<br><p>The updated authorizer configuration for the gateway.</p><br>
14 /// - [`kms_key_arn(impl Into<String>)`](crate::operation::update_gateway::builders::UpdateGatewayFluentBuilder::kms_key_arn) / [`set_kms_key_arn(Option<String>)`](crate::operation::update_gateway::builders::UpdateGatewayFluentBuilder::set_kms_key_arn):<br>required: **false**<br><p>The updated ARN of the KMS key used to encrypt the gateway.</p><br>
15 /// - [`exception_level(ExceptionLevel)`](crate::operation::update_gateway::builders::UpdateGatewayFluentBuilder::exception_level) / [`set_exception_level(Option<ExceptionLevel>)`](crate::operation::update_gateway::builders::UpdateGatewayFluentBuilder::set_exception_level):<br>required: **false**<br><p>The level of detail in error messages returned when invoking the gateway.</p> <ul> <li> <p>If the value is <code>DEBUG</code>, granular exception messages are returned to help a user debug the gateway.</p></li> <li> <p>If the value is omitted, a generic error message is returned to the end user.</p></li> </ul><br>
16 /// - On success, responds with [`UpdateGatewayOutput`](crate::operation::update_gateway::UpdateGatewayOutput) with field(s):
17 /// - [`gateway_arn(String)`](crate::operation::update_gateway::UpdateGatewayOutput::gateway_arn): <p>The Amazon Resource Name (ARN) of the updated gateway.</p>
18 /// - [`gateway_id(String)`](crate::operation::update_gateway::UpdateGatewayOutput::gateway_id): <p>The unique identifier of the updated gateway.</p>
19 /// - [`gateway_url(Option<String>)`](crate::operation::update_gateway::UpdateGatewayOutput::gateway_url): <p>An endpoint for invoking the updated gateway.</p>
20 /// - [`created_at(DateTime)`](crate::operation::update_gateway::UpdateGatewayOutput::created_at): <p>The timestamp when the gateway was created.</p>
21 /// - [`updated_at(DateTime)`](crate::operation::update_gateway::UpdateGatewayOutput::updated_at): <p>The timestamp when the gateway was last updated.</p>
22 /// - [`status(GatewayStatus)`](crate::operation::update_gateway::UpdateGatewayOutput::status): <p>The current status of the updated gateway.</p>
23 /// - [`status_reasons(Option<Vec::<String>>)`](crate::operation::update_gateway::UpdateGatewayOutput::status_reasons): <p>The reasons for the current status of the updated gateway.</p>
24 /// - [`name(String)`](crate::operation::update_gateway::UpdateGatewayOutput::name): <p>The name of the gateway.</p>
25 /// - [`description(Option<String>)`](crate::operation::update_gateway::UpdateGatewayOutput::description): <p>The updated description of the gateway.</p>
26 /// - [`role_arn(Option<String>)`](crate::operation::update_gateway::UpdateGatewayOutput::role_arn): <p>The updated IAM role ARN that provides permissions for the gateway.</p>
27 /// - [`protocol_type(GatewayProtocolType)`](crate::operation::update_gateway::UpdateGatewayOutput::protocol_type): <p>The updated protocol type for the gateway.</p>
28 /// - [`protocol_configuration(Option<GatewayProtocolConfiguration>)`](crate::operation::update_gateway::UpdateGatewayOutput::protocol_configuration): <p>The configuration for a gateway protocol. This structure defines how the gateway communicates with external services.</p>
29 /// - [`authorizer_type(AuthorizerType)`](crate::operation::update_gateway::UpdateGatewayOutput::authorizer_type): <p>The updated authorizer type for the gateway.</p>
30 /// - [`authorizer_configuration(Option<AuthorizerConfiguration>)`](crate::operation::update_gateway::UpdateGatewayOutput::authorizer_configuration): <p>The updated authorizer configuration for the gateway.</p>
31 /// - [`kms_key_arn(Option<String>)`](crate::operation::update_gateway::UpdateGatewayOutput::kms_key_arn): <p>The updated ARN of the KMS key used to encrypt the gateway.</p>
32 /// - [`workload_identity_details(Option<WorkloadIdentityDetails>)`](crate::operation::update_gateway::UpdateGatewayOutput::workload_identity_details): <p>The workload identity details for the updated gateway.</p>
33 /// - [`exception_level(Option<ExceptionLevel>)`](crate::operation::update_gateway::UpdateGatewayOutput::exception_level): <p>The level of detail in error messages returned when invoking the gateway.</p> <ul> <li> <p>If the value is <code>DEBUG</code>, granular exception messages are returned to help a user debug the gateway.</p></li> <li> <p>If the value is omitted, a generic error message is returned to the end user.</p></li> </ul>
34 /// - On failure, responds with [`SdkError<UpdateGatewayError>`](crate::operation::update_gateway::UpdateGatewayError)
35 pub fn update_gateway(&self) -> crate::operation::update_gateway::builders::UpdateGatewayFluentBuilder {
36 crate::operation::update_gateway::builders::UpdateGatewayFluentBuilder::new(self.handle.clone())
37 }
38}