ModifyEndpointAccess - Amazon Redshift

ModifyEndpointAccess

Modifies a Redshift-managed VPC endpoint.

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

EndpointName

The endpoint to be modified.

Type: String

Length Constraints: Maximum length of 2147483647.

Required: Yes

VpcSecurityGroupIds.VpcSecurityGroupId.N

The complete list of VPC security groups associated with the endpoint after the endpoint is modified.

Type: Array of strings

Length Constraints: Maximum length of 2147483647.

Required: No

Response Elements

The following elements are returned by the service.

Address

The DNS address of the endpoint.

Type: String

Length Constraints: Maximum length of 2147483647.

ClusterIdentifier

The cluster identifier of the cluster associated with the endpoint.

Type: String

Length Constraints: Maximum length of 2147483647.

EndpointCreateTime

The time (UTC) that the endpoint was created.

Type: Timestamp

EndpointName

The name of the endpoint.

Type: String

Length Constraints: Maximum length of 2147483647.

EndpointStatus

The status of the endpoint.

Type: String

Length Constraints: Maximum length of 2147483647.

Port

The port number on which the cluster accepts incoming connections.

Type: Integer

ResourceOwner

The AWS account ID of the owner of the cluster.

Type: String

Length Constraints: Maximum length of 2147483647.

SubnetGroupName

The subnet group name where Amazon Redshift chooses to deploy the endpoint.

Type: String

Length Constraints: Maximum length of 2147483647.

VpcEndpoint

The connection endpoint for connecting to an Amazon Redshift cluster through the proxy.

Type: VpcEndpoint object

VpcSecurityGroups.VpcSecurityGroup.N

The security groups associated with the endpoint.

Type: Array of VpcSecurityGroupMembership objects

Errors

For information about the errors that are common to all actions, see Common Errors.

ClusterNotFound

The ClusterIdentifier parameter does not refer to an existing cluster.

HTTP Status Code: 404

EndpointNotFound

The endpoint name doesn't refer to an existing endpoint.

HTTP Status Code: 404

InvalidClusterSecurityGroupState

The state of the cluster security group is not available.

HTTP Status Code: 400

InvalidClusterState

The specified cluster is not in the available state.

HTTP Status Code: 400

InvalidEndpointState

The status of the endpoint is not valid.

HTTP Status Code: 400

UnauthorizedOperation

Your account is not authorized to perform the requested operation.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: