aws_sdk_vpclattice/client/create_resource_gateway.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`CreateResourceGateway`](crate::operation::create_resource_gateway::builders::CreateResourceGatewayFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`client_token(impl Into<String>)`](crate::operation::create_resource_gateway::builders::CreateResourceGatewayFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::create_resource_gateway::builders::CreateResourceGatewayFluentBuilder::set_client_token):<br>required: **false**<br><p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client token and parameters, the retry succeeds without performing any actions. If the parameters aren't identical, the retry fails.</p><br>
/// - [`name(impl Into<String>)`](crate::operation::create_resource_gateway::builders::CreateResourceGatewayFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_resource_gateway::builders::CreateResourceGatewayFluentBuilder::set_name):<br>required: **true**<br><p>The name of the resource gateway.</p><br>
/// - [`vpc_identifier(impl Into<String>)`](crate::operation::create_resource_gateway::builders::CreateResourceGatewayFluentBuilder::vpc_identifier) / [`set_vpc_identifier(Option<String>)`](crate::operation::create_resource_gateway::builders::CreateResourceGatewayFluentBuilder::set_vpc_identifier):<br>required: **true**<br><p>The ID of the VPC for the resource gateway.</p><br>
/// - [`subnet_ids(impl Into<String>)`](crate::operation::create_resource_gateway::builders::CreateResourceGatewayFluentBuilder::subnet_ids) / [`set_subnet_ids(Option<Vec::<String>>)`](crate::operation::create_resource_gateway::builders::CreateResourceGatewayFluentBuilder::set_subnet_ids):<br>required: **true**<br><p>The IDs of the VPC subnets in which to create the resource gateway.</p><br>
/// - [`security_group_ids(impl Into<String>)`](crate::operation::create_resource_gateway::builders::CreateResourceGatewayFluentBuilder::security_group_ids) / [`set_security_group_ids(Option<Vec::<String>>)`](crate::operation::create_resource_gateway::builders::CreateResourceGatewayFluentBuilder::set_security_group_ids):<br>required: **false**<br><p>The IDs of the security groups to apply to the resource gateway. The security groups must be in the same VPC.</p><br>
/// - [`ip_address_type(ResourceGatewayIpAddressType)`](crate::operation::create_resource_gateway::builders::CreateResourceGatewayFluentBuilder::ip_address_type) / [`set_ip_address_type(Option<ResourceGatewayIpAddressType>)`](crate::operation::create_resource_gateway::builders::CreateResourceGatewayFluentBuilder::set_ip_address_type):<br>required: **false**<br><p>The type of IP address used by the resource gateway.</p><br>
/// - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::create_resource_gateway::builders::CreateResourceGatewayFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::create_resource_gateway::builders::CreateResourceGatewayFluentBuilder::set_tags):<br>required: **false**<br><p>The tags for the resource gateway.</p><br>
/// - On success, responds with [`CreateResourceGatewayOutput`](crate::operation::create_resource_gateway::CreateResourceGatewayOutput) with field(s):
/// - [`name(Option<String>)`](crate::operation::create_resource_gateway::CreateResourceGatewayOutput::name): <p>The name of the resource gateway.</p>
/// - [`id(Option<String>)`](crate::operation::create_resource_gateway::CreateResourceGatewayOutput::id): <p>The ID of the resource gateway.</p>
/// - [`arn(Option<String>)`](crate::operation::create_resource_gateway::CreateResourceGatewayOutput::arn): <p>The Amazon Resource Name (ARN) of the resource gateway.</p>
/// - [`status(Option<ResourceGatewayStatus>)`](crate::operation::create_resource_gateway::CreateResourceGatewayOutput::status): <p>The status of the resource gateway.</p>
/// - [`vpc_identifier(Option<String>)`](crate::operation::create_resource_gateway::CreateResourceGatewayOutput::vpc_identifier): <p>The ID of the VPC.</p>
/// - [`subnet_ids(Option<Vec::<String>>)`](crate::operation::create_resource_gateway::CreateResourceGatewayOutput::subnet_ids): <p>The IDs of the resource gateway subnets.</p>
/// - [`security_group_ids(Option<Vec::<String>>)`](crate::operation::create_resource_gateway::CreateResourceGatewayOutput::security_group_ids): <p>The IDs of the security groups for the resource gateway.</p>
/// - [`ip_address_type(Option<ResourceGatewayIpAddressType>)`](crate::operation::create_resource_gateway::CreateResourceGatewayOutput::ip_address_type): <p>The type of IP address for the resource gateway.</p>
/// - On failure, responds with [`SdkError<CreateResourceGatewayError>`](crate::operation::create_resource_gateway::CreateResourceGatewayError)
pub fn create_resource_gateway(&self) -> crate::operation::create_resource_gateway::builders::CreateResourceGatewayFluentBuilder {
crate::operation::create_resource_gateway::builders::CreateResourceGatewayFluentBuilder::new(self.handle.clone())
}
}