aws_sdk_redshift/client/create_endpoint_access.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 [`CreateEndpointAccess`](crate::operation::create_endpoint_access::builders::CreateEndpointAccessFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`cluster_identifier(impl Into<String>)`](crate::operation::create_endpoint_access::builders::CreateEndpointAccessFluentBuilder::cluster_identifier) / [`set_cluster_identifier(Option<String>)`](crate::operation::create_endpoint_access::builders::CreateEndpointAccessFluentBuilder::set_cluster_identifier):<br>required: **false**<br><p>The cluster identifier of the cluster to access.</p><br>
7 /// - [`resource_owner(impl Into<String>)`](crate::operation::create_endpoint_access::builders::CreateEndpointAccessFluentBuilder::resource_owner) / [`set_resource_owner(Option<String>)`](crate::operation::create_endpoint_access::builders::CreateEndpointAccessFluentBuilder::set_resource_owner):<br>required: **false**<br><p>The Amazon Web Services account ID of the owner of the cluster. This is only required if the cluster is in another Amazon Web Services account.</p><br>
8 /// - [`endpoint_name(impl Into<String>)`](crate::operation::create_endpoint_access::builders::CreateEndpointAccessFluentBuilder::endpoint_name) / [`set_endpoint_name(Option<String>)`](crate::operation::create_endpoint_access::builders::CreateEndpointAccessFluentBuilder::set_endpoint_name):<br>required: **true**<br><p>The Redshift-managed VPC endpoint name.</p> <p>An endpoint name must contain 1-30 characters. Valid characters are A-Z, a-z, 0-9, and hyphen(-). The first character must be a letter. The name can't contain two consecutive hyphens or end with a hyphen.</p><br>
9 /// - [`subnet_group_name(impl Into<String>)`](crate::operation::create_endpoint_access::builders::CreateEndpointAccessFluentBuilder::subnet_group_name) / [`set_subnet_group_name(Option<String>)`](crate::operation::create_endpoint_access::builders::CreateEndpointAccessFluentBuilder::set_subnet_group_name):<br>required: **true**<br><p>The subnet group from which Amazon Redshift chooses the subnet to deploy the endpoint.</p><br>
10 /// - [`vpc_security_group_ids(impl Into<String>)`](crate::operation::create_endpoint_access::builders::CreateEndpointAccessFluentBuilder::vpc_security_group_ids) / [`set_vpc_security_group_ids(Option<Vec::<String>>)`](crate::operation::create_endpoint_access::builders::CreateEndpointAccessFluentBuilder::set_vpc_security_group_ids):<br>required: **false**<br><p>The security group that defines the ports, protocols, and sources for inbound traffic that you are authorizing into your endpoint.</p><br>
11 /// - On success, responds with [`CreateEndpointAccessOutput`](crate::operation::create_endpoint_access::CreateEndpointAccessOutput) with field(s):
12 /// - [`cluster_identifier(Option<String>)`](crate::operation::create_endpoint_access::CreateEndpointAccessOutput::cluster_identifier): <p>The cluster identifier of the cluster associated with the endpoint.</p>
13 /// - [`resource_owner(Option<String>)`](crate::operation::create_endpoint_access::CreateEndpointAccessOutput::resource_owner): <p>The Amazon Web Services account ID of the owner of the cluster.</p>
14 /// - [`subnet_group_name(Option<String>)`](crate::operation::create_endpoint_access::CreateEndpointAccessOutput::subnet_group_name): <p>The subnet group name where Amazon Redshift chooses to deploy the endpoint.</p>
15 /// - [`endpoint_status(Option<String>)`](crate::operation::create_endpoint_access::CreateEndpointAccessOutput::endpoint_status): <p>The status of the endpoint.</p>
16 /// - [`endpoint_name(Option<String>)`](crate::operation::create_endpoint_access::CreateEndpointAccessOutput::endpoint_name): <p>The name of the endpoint.</p>
17 /// - [`endpoint_create_time(Option<DateTime>)`](crate::operation::create_endpoint_access::CreateEndpointAccessOutput::endpoint_create_time): <p>The time (UTC) that the endpoint was created.</p>
18 /// - [`port(Option<i32>)`](crate::operation::create_endpoint_access::CreateEndpointAccessOutput::port): <p>The port number on which the cluster accepts incoming connections.</p>
19 /// - [`address(Option<String>)`](crate::operation::create_endpoint_access::CreateEndpointAccessOutput::address): <p>The DNS address of the endpoint.</p>
20 /// - [`vpc_security_groups(Option<Vec::<VpcSecurityGroupMembership>>)`](crate::operation::create_endpoint_access::CreateEndpointAccessOutput::vpc_security_groups): <p>The security groups associated with the endpoint.</p>
21 /// - [`vpc_endpoint(Option<VpcEndpoint>)`](crate::operation::create_endpoint_access::CreateEndpointAccessOutput::vpc_endpoint): <p>The connection endpoint for connecting to an Amazon Redshift cluster through the proxy.</p>
22 /// - On failure, responds with [`SdkError<CreateEndpointAccessError>`](crate::operation::create_endpoint_access::CreateEndpointAccessError)
23 pub fn create_endpoint_access(&self) -> crate::operation::create_endpoint_access::builders::CreateEndpointAccessFluentBuilder {
24 crate::operation::create_endpoint_access::builders::CreateEndpointAccessFluentBuilder::new(self.handle.clone())
25 }
26}