aws_sdk_vpclattice/client/
get_resource_gateway.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetResourceGateway`](crate::operation::get_resource_gateway::builders::GetResourceGatewayFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`resource_gateway_identifier(impl Into<String>)`](crate::operation::get_resource_gateway::builders::GetResourceGatewayFluentBuilder::resource_gateway_identifier) / [`set_resource_gateway_identifier(Option<String>)`](crate::operation::get_resource_gateway::builders::GetResourceGatewayFluentBuilder::set_resource_gateway_identifier):<br>required: **true**<br><p>The ID of the resource gateway.</p><br>
    /// - On success, responds with [`GetResourceGatewayOutput`](crate::operation::get_resource_gateway::GetResourceGatewayOutput) with field(s):
    ///   - [`name(Option<String>)`](crate::operation::get_resource_gateway::GetResourceGatewayOutput::name): <p>The name of the resource gateway.</p>
    ///   - [`id(Option<String>)`](crate::operation::get_resource_gateway::GetResourceGatewayOutput::id): <p>The ID of the resource gateway.</p>
    ///   - [`arn(Option<String>)`](crate::operation::get_resource_gateway::GetResourceGatewayOutput::arn): <p>The Amazon Resource Name (ARN) of the resource gateway.</p>
    ///   - [`status(Option<ResourceGatewayStatus>)`](crate::operation::get_resource_gateway::GetResourceGatewayOutput::status): <p>The status for the resource gateway.</p>
    ///   - [`vpc_id(Option<String>)`](crate::operation::get_resource_gateway::GetResourceGatewayOutput::vpc_id): <p>The ID of the VPC for the resource gateway.</p>
    ///   - [`subnet_ids(Option<Vec::<String>>)`](crate::operation::get_resource_gateway::GetResourceGatewayOutput::subnet_ids): <p>The IDs of the VPC subnets for resource gateway.</p>
    ///   - [`security_group_ids(Option<Vec::<String>>)`](crate::operation::get_resource_gateway::GetResourceGatewayOutput::security_group_ids): <p>The security group IDs associated with the resource gateway.</p>
    ///   - [`ip_address_type(Option<ResourceGatewayIpAddressType>)`](crate::operation::get_resource_gateway::GetResourceGatewayOutput::ip_address_type): <p>The type of IP address for the resource gateway.</p>
    ///   - [`created_at(Option<DateTime>)`](crate::operation::get_resource_gateway::GetResourceGatewayOutput::created_at): <p>The date and time that the resource gateway was created, in ISO-8601 format.</p>
    ///   - [`last_updated_at(Option<DateTime>)`](crate::operation::get_resource_gateway::GetResourceGatewayOutput::last_updated_at): <p>The date and time that the resource gateway was last updated, in ISO-8601 format.</p>
    /// - On failure, responds with [`SdkError<GetResourceGatewayError>`](crate::operation::get_resource_gateway::GetResourceGatewayError)
    pub fn get_resource_gateway(&self) -> crate::operation::get_resource_gateway::builders::GetResourceGatewayFluentBuilder {
        crate::operation::get_resource_gateway::builders::GetResourceGatewayFluentBuilder::new(self.handle.clone())
    }
}