Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Creates a Redshift-managed VPC endpoint.
Synopsis
- data CreateEndpointAccess = CreateEndpointAccess' {}
- newCreateEndpointAccess :: Text -> Text -> CreateEndpointAccess
- createEndpointAccess_clusterIdentifier :: Lens' CreateEndpointAccess (Maybe Text)
- createEndpointAccess_vpcSecurityGroupIds :: Lens' CreateEndpointAccess (Maybe [Text])
- createEndpointAccess_resourceOwner :: Lens' CreateEndpointAccess (Maybe Text)
- createEndpointAccess_endpointName :: Lens' CreateEndpointAccess Text
- createEndpointAccess_subnetGroupName :: Lens' CreateEndpointAccess Text
- data EndpointAccess = EndpointAccess' {
- endpointName :: Maybe Text
- endpointCreateTime :: Maybe ISO8601
- subnetGroupName :: Maybe Text
- address :: Maybe Text
- clusterIdentifier :: Maybe Text
- endpointStatus :: Maybe Text
- vpcSecurityGroups :: Maybe [VpcSecurityGroupMembership]
- resourceOwner :: Maybe Text
- vpcEndpoint :: Maybe VpcEndpoint
- port :: Maybe Int
- newEndpointAccess :: EndpointAccess
- endpointAccess_endpointName :: Lens' EndpointAccess (Maybe Text)
- endpointAccess_endpointCreateTime :: Lens' EndpointAccess (Maybe UTCTime)
- endpointAccess_subnetGroupName :: Lens' EndpointAccess (Maybe Text)
- endpointAccess_address :: Lens' EndpointAccess (Maybe Text)
- endpointAccess_clusterIdentifier :: Lens' EndpointAccess (Maybe Text)
- endpointAccess_endpointStatus :: Lens' EndpointAccess (Maybe Text)
- endpointAccess_vpcSecurityGroups :: Lens' EndpointAccess (Maybe [VpcSecurityGroupMembership])
- endpointAccess_resourceOwner :: Lens' EndpointAccess (Maybe Text)
- endpointAccess_vpcEndpoint :: Lens' EndpointAccess (Maybe VpcEndpoint)
- endpointAccess_port :: Lens' EndpointAccess (Maybe Int)
Creating a Request
data CreateEndpointAccess Source #
See: newCreateEndpointAccess
smart constructor.
CreateEndpointAccess' | |
|
Instances
newCreateEndpointAccess Source #
:: Text | |
-> Text | |
-> CreateEndpointAccess |
Create a value of CreateEndpointAccess
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:clusterIdentifier:CreateEndpointAccess'
, createEndpointAccess_clusterIdentifier
- The cluster identifier of the cluster to access.
$sel:vpcSecurityGroupIds:CreateEndpointAccess'
, createEndpointAccess_vpcSecurityGroupIds
- The security group that defines the ports, protocols, and sources for
inbound traffic that you are authorizing into your endpoint.
$sel:resourceOwner:CreateEndpointAccess'
, createEndpointAccess_resourceOwner
- 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.
$sel:endpointName:CreateEndpointAccess'
, createEndpointAccess_endpointName
- The Redshift-managed VPC endpoint name.
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.
$sel:subnetGroupName:CreateEndpointAccess'
, createEndpointAccess_subnetGroupName
- The subnet group from which Amazon Redshift chooses the subnet to deploy
the endpoint.
Request Lenses
createEndpointAccess_clusterIdentifier :: Lens' CreateEndpointAccess (Maybe Text) Source #
The cluster identifier of the cluster to access.
createEndpointAccess_vpcSecurityGroupIds :: Lens' CreateEndpointAccess (Maybe [Text]) Source #
The security group that defines the ports, protocols, and sources for inbound traffic that you are authorizing into your endpoint.
createEndpointAccess_resourceOwner :: Lens' CreateEndpointAccess (Maybe Text) Source #
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.
createEndpointAccess_endpointName :: Lens' CreateEndpointAccess Text Source #
The Redshift-managed VPC endpoint name.
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.
createEndpointAccess_subnetGroupName :: Lens' CreateEndpointAccess Text Source #
The subnet group from which Amazon Redshift chooses the subnet to deploy the endpoint.
Destructuring the Response
data EndpointAccess Source #
Describes a Redshift-managed VPC endpoint.
See: newEndpointAccess
smart constructor.
EndpointAccess' | |
|
Instances
newEndpointAccess :: EndpointAccess Source #
Create a value of EndpointAccess
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:endpointName:EndpointAccess'
, endpointAccess_endpointName
- The name of the endpoint.
$sel:endpointCreateTime:EndpointAccess'
, endpointAccess_endpointCreateTime
- The time (UTC) that the endpoint was created.
$sel:subnetGroupName:EndpointAccess'
, endpointAccess_subnetGroupName
- The subnet group name where Amazon Redshift chooses to deploy the
endpoint.
$sel:address:EndpointAccess'
, endpointAccess_address
- The DNS address of the endpoint.
$sel:clusterIdentifier:EndpointAccess'
, endpointAccess_clusterIdentifier
- The cluster identifier of the cluster associated with the endpoint.
$sel:endpointStatus:EndpointAccess'
, endpointAccess_endpointStatus
- The status of the endpoint.
$sel:vpcSecurityGroups:EndpointAccess'
, endpointAccess_vpcSecurityGroups
- The security groups associated with the endpoint.
$sel:resourceOwner:EndpointAccess'
, endpointAccess_resourceOwner
- The Amazon Web Services account ID of the owner of the cluster.
$sel:vpcEndpoint:EndpointAccess'
, endpointAccess_vpcEndpoint
- Undocumented member.
$sel:port:EndpointAccess'
, endpointAccess_port
- The port number on which the cluster accepts incoming connections.
Response Lenses
endpointAccess_endpointName :: Lens' EndpointAccess (Maybe Text) Source #
The name of the endpoint.
endpointAccess_endpointCreateTime :: Lens' EndpointAccess (Maybe UTCTime) Source #
The time (UTC) that the endpoint was created.
endpointAccess_subnetGroupName :: Lens' EndpointAccess (Maybe Text) Source #
The subnet group name where Amazon Redshift chooses to deploy the endpoint.
endpointAccess_address :: Lens' EndpointAccess (Maybe Text) Source #
The DNS address of the endpoint.
endpointAccess_clusterIdentifier :: Lens' EndpointAccess (Maybe Text) Source #
The cluster identifier of the cluster associated with the endpoint.
endpointAccess_endpointStatus :: Lens' EndpointAccess (Maybe Text) Source #
The status of the endpoint.
endpointAccess_vpcSecurityGroups :: Lens' EndpointAccess (Maybe [VpcSecurityGroupMembership]) Source #
The security groups associated with the endpoint.
endpointAccess_resourceOwner :: Lens' EndpointAccess (Maybe Text) Source #
The Amazon Web Services account ID of the owner of the cluster.
endpointAccess_vpcEndpoint :: Lens' EndpointAccess (Maybe VpcEndpoint) Source #
Undocumented member.
endpointAccess_port :: Lens' EndpointAccess (Maybe Int) Source #
The port number on which the cluster accepts incoming connections.