aws_sdk_mediaconnect/client/update_gateway_instance.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 [`UpdateGatewayInstance`](crate::operation::update_gateway_instance::builders::UpdateGatewayInstanceFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`bridge_placement(BridgePlacement)`](crate::operation::update_gateway_instance::builders::UpdateGatewayInstanceFluentBuilder::bridge_placement) / [`set_bridge_placement(Option<BridgePlacement>)`](crate::operation::update_gateway_instance::builders::UpdateGatewayInstanceFluentBuilder::set_bridge_placement):<br>required: **false**<br><p>The state of the instance. <code>ACTIVE</code> or <code>INACTIVE</code>.</p><br>
7 /// - [`gateway_instance_arn(impl Into<String>)`](crate::operation::update_gateway_instance::builders::UpdateGatewayInstanceFluentBuilder::gateway_instance_arn) / [`set_gateway_instance_arn(Option<String>)`](crate::operation::update_gateway_instance::builders::UpdateGatewayInstanceFluentBuilder::set_gateway_instance_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the gateway instance that you want to update.</p><br>
8 /// - On success, responds with [`UpdateGatewayInstanceOutput`](crate::operation::update_gateway_instance::UpdateGatewayInstanceOutput) with field(s):
9 /// - [`bridge_placement(Option<BridgePlacement>)`](crate::operation::update_gateway_instance::UpdateGatewayInstanceOutput::bridge_placement): <p>The state of the instance. <code>ACTIVE</code> or <code>INACTIVE</code>.</p>
10 /// - [`gateway_instance_arn(Option<String>)`](crate::operation::update_gateway_instance::UpdateGatewayInstanceOutput::gateway_instance_arn): <p>The ARN of the instance that was updated.</p>
11 /// - On failure, responds with [`SdkError<UpdateGatewayInstanceError>`](crate::operation::update_gateway_instance::UpdateGatewayInstanceError)
12 pub fn update_gateway_instance(&self) -> crate::operation::update_gateway_instance::builders::UpdateGatewayInstanceFluentBuilder {
13 crate::operation::update_gateway_instance::builders::UpdateGatewayInstanceFluentBuilder::new(self.handle.clone())
14 }
15}