aws_sdk_mediaconnect/client/
describe_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 [`DescribeGateway`](crate::operation::describe_gateway::builders::DescribeGatewayFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`gateway_arn(impl Into<String>)`](crate::operation::describe_gateway::builders::DescribeGatewayFluentBuilder::gateway_arn) / [`set_gateway_arn(Option<String>)`](crate::operation::describe_gateway::builders::DescribeGatewayFluentBuilder::set_gateway_arn):<br>required: **true**<br><p>The ARN of the gateway that you want to describe.</p><br>
7    /// - On success, responds with [`DescribeGatewayOutput`](crate::operation::describe_gateway::DescribeGatewayOutput) with field(s):
8    ///   - [`gateway(Option<Gateway>)`](crate::operation::describe_gateway::DescribeGatewayOutput::gateway): <p>The gateway that you wanted to describe.</p>
9    /// - On failure, responds with [`SdkError<DescribeGatewayError>`](crate::operation::describe_gateway::DescribeGatewayError)
10    pub fn describe_gateway(&self) -> crate::operation::describe_gateway::builders::DescribeGatewayFluentBuilder {
11        crate::operation::describe_gateway::builders::DescribeGatewayFluentBuilder::new(self.handle.clone())
12    }
13}