| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.RedshiftServerLess.CreateEndpointAccess
Description
Creates an Amazon Redshift Serverless managed VPC endpoint.
Synopsis
- data CreateEndpointAccess = CreateEndpointAccess' {
- vpcSecurityGroupIds :: Maybe [Text]
- endpointName :: Text
- subnetIds :: [Text]
- workgroupName :: Text
- newCreateEndpointAccess :: Text -> Text -> CreateEndpointAccess
- createEndpointAccess_vpcSecurityGroupIds :: Lens' CreateEndpointAccess (Maybe [Text])
- createEndpointAccess_endpointName :: Lens' CreateEndpointAccess Text
- createEndpointAccess_subnetIds :: Lens' CreateEndpointAccess [Text]
- createEndpointAccess_workgroupName :: Lens' CreateEndpointAccess Text
- data CreateEndpointAccessResponse = CreateEndpointAccessResponse' {}
- newCreateEndpointAccessResponse :: Int -> CreateEndpointAccessResponse
- createEndpointAccessResponse_endpoint :: Lens' CreateEndpointAccessResponse (Maybe EndpointAccess)
- createEndpointAccessResponse_httpStatus :: Lens' CreateEndpointAccessResponse Int
Creating a Request
data CreateEndpointAccess Source #
See: newCreateEndpointAccess smart constructor.
Constructors
| CreateEndpointAccess' | |
Fields
| |
Instances
newCreateEndpointAccess Source #
Arguments
| :: 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:vpcSecurityGroupIds:CreateEndpointAccess', createEndpointAccess_vpcSecurityGroupIds - The unique identifiers of the security group that defines the ports,
protocols, and sources for inbound traffic that you are authorizing into
your endpoint.
CreateEndpointAccess, createEndpointAccess_endpointName - The name of the VPC endpoint. 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, createEndpointAccess_subnetIds - The unique identifers of subnets from which Amazon Redshift Serverless
chooses one to deploy a VPC endpoint.
CreateEndpointAccess, createEndpointAccess_workgroupName - The name of the workgroup to associate with the VPC endpoint.
Request Lenses
createEndpointAccess_vpcSecurityGroupIds :: Lens' CreateEndpointAccess (Maybe [Text]) Source #
The unique identifiers of the security group that defines the ports, protocols, and sources for inbound traffic that you are authorizing into your endpoint.
createEndpointAccess_endpointName :: Lens' CreateEndpointAccess Text Source #
The name of the VPC endpoint. 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_subnetIds :: Lens' CreateEndpointAccess [Text] Source #
The unique identifers of subnets from which Amazon Redshift Serverless chooses one to deploy a VPC endpoint.
createEndpointAccess_workgroupName :: Lens' CreateEndpointAccess Text Source #
The name of the workgroup to associate with the VPC endpoint.
Destructuring the Response
data CreateEndpointAccessResponse Source #
See: newCreateEndpointAccessResponse smart constructor.
Constructors
| CreateEndpointAccessResponse' | |
Fields
| |
Instances
newCreateEndpointAccessResponse Source #
Create a value of CreateEndpointAccessResponse 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:
CreateEndpointAccessResponse, createEndpointAccessResponse_endpoint - The created VPC endpoint.
$sel:httpStatus:CreateEndpointAccessResponse', createEndpointAccessResponse_httpStatus - The response's http status code.
Response Lenses
createEndpointAccessResponse_endpoint :: Lens' CreateEndpointAccessResponse (Maybe EndpointAccess) Source #
The created VPC endpoint.
createEndpointAccessResponse_httpStatus :: Lens' CreateEndpointAccessResponse Int Source #
The response's http status code.