amazonka-redshift-serverless-2.0: Amazon Redshift Serverless SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.RedshiftServerLess.CreateEndpointAccess

Description

Creates an Amazon Redshift Serverless managed VPC endpoint.

Synopsis

Creating a Request

data CreateEndpointAccess Source #

See: newCreateEndpointAccess smart constructor.

Constructors

CreateEndpointAccess' 

Fields

  • vpcSecurityGroupIds :: Maybe [Text]

    The unique identifiers of the security group that defines the ports, protocols, and sources for inbound traffic that you are authorizing into your endpoint.

  • endpointName :: Text

    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.

  • subnetIds :: [Text]

    The unique identifers of subnets from which Amazon Redshift Serverless chooses one to deploy a VPC endpoint.

  • workgroupName :: Text

    The name of the workgroup to associate with the VPC endpoint.

Instances

Instances details
ToJSON CreateEndpointAccess Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.CreateEndpointAccess

ToHeaders CreateEndpointAccess Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.CreateEndpointAccess

ToPath CreateEndpointAccess Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.CreateEndpointAccess

ToQuery CreateEndpointAccess Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.CreateEndpointAccess

AWSRequest CreateEndpointAccess Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.CreateEndpointAccess

Associated Types

type AWSResponse CreateEndpointAccess #

Generic CreateEndpointAccess Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.CreateEndpointAccess

Associated Types

type Rep CreateEndpointAccess :: Type -> Type #

Read CreateEndpointAccess Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.CreateEndpointAccess

Show CreateEndpointAccess Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.CreateEndpointAccess

NFData CreateEndpointAccess Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.CreateEndpointAccess

Methods

rnf :: CreateEndpointAccess -> () #

Eq CreateEndpointAccess Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.CreateEndpointAccess

Hashable CreateEndpointAccess Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.CreateEndpointAccess

type AWSResponse CreateEndpointAccess Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.CreateEndpointAccess

type Rep CreateEndpointAccess Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.CreateEndpointAccess

type Rep CreateEndpointAccess = D1 ('MetaData "CreateEndpointAccess" "Amazonka.RedshiftServerLess.CreateEndpointAccess" "amazonka-redshift-serverless-2.0-ApuSN33KEWs53jvwyBa3sl" 'False) (C1 ('MetaCons "CreateEndpointAccess'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "vpcSecurityGroupIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "endpointName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "subnetIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]) :*: S1 ('MetaSel ('Just "workgroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newCreateEndpointAccess Source #

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

Instances details
Generic CreateEndpointAccessResponse Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.CreateEndpointAccess

Associated Types

type Rep CreateEndpointAccessResponse :: Type -> Type #

Read CreateEndpointAccessResponse Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.CreateEndpointAccess

Show CreateEndpointAccessResponse Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.CreateEndpointAccess

NFData CreateEndpointAccessResponse Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.CreateEndpointAccess

Eq CreateEndpointAccessResponse Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.CreateEndpointAccess

type Rep CreateEndpointAccessResponse Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.CreateEndpointAccess

type Rep CreateEndpointAccessResponse = D1 ('MetaData "CreateEndpointAccessResponse" "Amazonka.RedshiftServerLess.CreateEndpointAccess" "amazonka-redshift-serverless-2.0-ApuSN33KEWs53jvwyBa3sl" 'False) (C1 ('MetaCons "CreateEndpointAccessResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "endpoint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EndpointAccess)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

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