aws-sdk-rtbfabric 1.30.0

AWS SDK for RTBFabric
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateResponderGateway`](crate::operation::update_responder_gateway::builders::UpdateResponderGatewayFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`domain_name(impl Into<String>)`](crate::operation::update_responder_gateway::builders::UpdateResponderGatewayFluentBuilder::domain_name) / [`set_domain_name(Option<String>)`](crate::operation::update_responder_gateway::builders::UpdateResponderGatewayFluentBuilder::set_domain_name):<br>required: **false**<br><p>Domain name for the responder gateway. This operation does not change the domain name of an existing gateway. To use a different domain name, delete the gateway and create a new one.</p><br>
    ///   - [`port(i32)`](crate::operation::update_responder_gateway::builders::UpdateResponderGatewayFluentBuilder::port) / [`set_port(Option<i32>)`](crate::operation::update_responder_gateway::builders::UpdateResponderGatewayFluentBuilder::set_port):<br>required: **true**<br><p>Networking port to use. This operation does not change the port of an existing gateway. To use a different port, delete the gateway and create a new one.</p><br>
    ///   - [`protocol(Protocol)`](crate::operation::update_responder_gateway::builders::UpdateResponderGatewayFluentBuilder::protocol) / [`set_protocol(Option<Protocol>)`](crate::operation::update_responder_gateway::builders::UpdateResponderGatewayFluentBuilder::set_protocol):<br>required: **true**<br><p>Networking protocol to use. This operation does not change the protocol of an existing gateway. To use a different protocol, delete the gateway and create a new one.</p><br>
    ///   - [`listener_config(ListenerConfig)`](crate::operation::update_responder_gateway::builders::UpdateResponderGatewayFluentBuilder::listener_config) / [`set_listener_config(Option<ListenerConfig>)`](crate::operation::update_responder_gateway::builders::UpdateResponderGatewayFluentBuilder::set_listener_config):<br>required: **false**<br><p>The listener configuration for the responder gateway.</p><br>
    ///   - [`trust_store_configuration(TrustStoreConfiguration)`](crate::operation::update_responder_gateway::builders::UpdateResponderGatewayFluentBuilder::trust_store_configuration) / [`set_trust_store_configuration(Option<TrustStoreConfiguration>)`](crate::operation::update_responder_gateway::builders::UpdateResponderGatewayFluentBuilder::set_trust_store_configuration):<br>required: **false**<br><p>The configuration of the trust store.</p><br>
    ///   - [`managed_endpoint_configuration(ManagedEndpointConfiguration)`](crate::operation::update_responder_gateway::builders::UpdateResponderGatewayFluentBuilder::managed_endpoint_configuration) / [`set_managed_endpoint_configuration(Option<ManagedEndpointConfiguration>)`](crate::operation::update_responder_gateway::builders::UpdateResponderGatewayFluentBuilder::set_managed_endpoint_configuration):<br>required: **false**<br><p>The configuration for the managed endpoint.</p><br>
    ///   - [`client_token(impl Into<String>)`](crate::operation::update_responder_gateway::builders::UpdateResponderGatewayFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::update_responder_gateway::builders::UpdateResponderGatewayFluentBuilder::set_client_token):<br>required: **true**<br><p>Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a <a href="https://wikipedia.org/wiki/Universally_unique_identifier">UUID type of value</a>.</p> <p>If you don't provide this value, then Amazon Web Services generates a random one for you.</p> <p>If you retry the operation with the same <code>clientToken</code>, but with different parameters, the retry fails with an <code>IdempotentParameterMismatch</code> error.</p><br>
    ///   - [`gateway_id(impl Into<String>)`](crate::operation::update_responder_gateway::builders::UpdateResponderGatewayFluentBuilder::gateway_id) / [`set_gateway_id(Option<String>)`](crate::operation::update_responder_gateway::builders::UpdateResponderGatewayFluentBuilder::set_gateway_id):<br>required: **true**<br><p>The unique identifier of the gateway.</p><br>
    ///   - [`description(impl Into<String>)`](crate::operation::update_responder_gateway::builders::UpdateResponderGatewayFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_responder_gateway::builders::UpdateResponderGatewayFluentBuilder::set_description):<br>required: **false**<br><p>An optional description for the responder gateway.</p><br>
    ///   - [`client_routing_policy(ClientRoutingPolicy)`](crate::operation::update_responder_gateway::builders::UpdateResponderGatewayFluentBuilder::client_routing_policy) / [`set_client_routing_policy(Option<ClientRoutingPolicy>)`](crate::operation::update_responder_gateway::builders::UpdateResponderGatewayFluentBuilder::set_client_routing_policy):<br>required: **false**<br><p>The client routing policy of the gateway. This policy controls which Availability Zones RTB Fabric uses to reach the gateway for the requester gateways that send traffic to it. Valid values are the following:</p> <ul>  <li>   <p><code>AVAILABILITY_ZONE_AFFINITY</code>: RTB Fabric routes each requester's traffic to gateway capacity in the requester's own Availability Zone when the gateway has capacity available there. Otherwise, RTB Fabric routes the traffic to gateway capacity in the other Availability Zones of the gateway.</p></li>  <li>   <p><code>ANY_AVAILABILITY_ZONE</code>: RTB Fabric routes each requester's traffic to gateway capacity in every Availability Zone that the subnets of the gateway span. The Availability Zone that the requester is in does not change this.</p></li> </ul> <p>If you don't specify a value, the gateway keeps its current client routing policy. Changing the policy sets the gateway status to <code>PENDING_UPDATE</code> until the change is complete. RTB Fabric does not support partial Availability Zone affinity, so <code>PARTIAL_AVAILABILITY_ZONE_AFFINITY</code> is not a valid value. For more information, see <a href="https://docs.aws.amazon.com/rtb-fabric/latest/userguide/working-with-responder-gateways.html#configuring-availability-zone-affinity">Configuring Availability Zone affinity</a> in the <i>Amazon Web Services RTB Fabric User Guide</i>.</p><br>
    /// - On success, responds with [`UpdateResponderGatewayOutput`](crate::operation::update_responder_gateway::UpdateResponderGatewayOutput) with field(s):
    ///   - [`gateway_id(String)`](crate::operation::update_responder_gateway::UpdateResponderGatewayOutput::gateway_id): <p>The unique identifier of the gateway.</p>
    ///   - [`status(ResponderGatewayStatus)`](crate::operation::update_responder_gateway::UpdateResponderGatewayOutput::status): <p>The status of the request.</p>
    ///   - [`client_routing_policy(Option<ClientRoutingPolicy>)`](crate::operation::update_responder_gateway::UpdateResponderGatewayOutput::client_routing_policy): <p>The client routing policy of the gateway. If the operation changed this policy, the gateway uses the new policy after its status returns to <code>ACTIVE</code>. For more information, see <a href="https://docs.aws.amazon.com/rtb-fabric/latest/userguide/working-with-responder-gateways.html#configuring-availability-zone-affinity">Configuring Availability Zone affinity</a> in the <i>Amazon Web Services RTB Fabric User Guide</i>.</p>
    /// - On failure, responds with [`SdkError<UpdateResponderGatewayError>`](crate::operation::update_responder_gateway::UpdateResponderGatewayError)
    pub fn update_responder_gateway(&self) -> crate::operation::update_responder_gateway::builders::UpdateResponderGatewayFluentBuilder {
        crate::operation::update_responder_gateway::builders::UpdateResponderGatewayFluentBuilder::new(self.handle.clone())
    }
}