amazonka-elasticsearch-2.0: Amazon Elasticsearch Service 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.ElasticSearch.CreateVpcEndpoint

Description

Creates an Amazon OpenSearch Service-managed VPC endpoint.

Synopsis

Creating a Request

data CreateVpcEndpoint Source #

Container for the parameters to the CreateVpcEndpointRequest operation.

See: newCreateVpcEndpoint smart constructor.

Constructors

CreateVpcEndpoint' 

Fields

  • clientToken :: Maybe Text

    Unique, case-sensitive identifier to ensure idempotency of the request.

  • domainArn :: Text

    The Amazon Resource Name (ARN) of the domain to grant access to.

  • vpcOptions :: VPCOptions

    Options to specify the subnets and security groups for the endpoint.

Instances

Instances details
ToJSON CreateVpcEndpoint Source # 
Instance details

Defined in Amazonka.ElasticSearch.CreateVpcEndpoint

ToHeaders CreateVpcEndpoint Source # 
Instance details

Defined in Amazonka.ElasticSearch.CreateVpcEndpoint

ToPath CreateVpcEndpoint Source # 
Instance details

Defined in Amazonka.ElasticSearch.CreateVpcEndpoint

ToQuery CreateVpcEndpoint Source # 
Instance details

Defined in Amazonka.ElasticSearch.CreateVpcEndpoint

AWSRequest CreateVpcEndpoint Source # 
Instance details

Defined in Amazonka.ElasticSearch.CreateVpcEndpoint

Associated Types

type AWSResponse CreateVpcEndpoint #

Generic CreateVpcEndpoint Source # 
Instance details

Defined in Amazonka.ElasticSearch.CreateVpcEndpoint

Associated Types

type Rep CreateVpcEndpoint :: Type -> Type #

Read CreateVpcEndpoint Source # 
Instance details

Defined in Amazonka.ElasticSearch.CreateVpcEndpoint

Show CreateVpcEndpoint Source # 
Instance details

Defined in Amazonka.ElasticSearch.CreateVpcEndpoint

NFData CreateVpcEndpoint Source # 
Instance details

Defined in Amazonka.ElasticSearch.CreateVpcEndpoint

Methods

rnf :: CreateVpcEndpoint -> () #

Eq CreateVpcEndpoint Source # 
Instance details

Defined in Amazonka.ElasticSearch.CreateVpcEndpoint

Hashable CreateVpcEndpoint Source # 
Instance details

Defined in Amazonka.ElasticSearch.CreateVpcEndpoint

type AWSResponse CreateVpcEndpoint Source # 
Instance details

Defined in Amazonka.ElasticSearch.CreateVpcEndpoint

type Rep CreateVpcEndpoint Source # 
Instance details

Defined in Amazonka.ElasticSearch.CreateVpcEndpoint

type Rep CreateVpcEndpoint = D1 ('MetaData "CreateVpcEndpoint" "Amazonka.ElasticSearch.CreateVpcEndpoint" "amazonka-elasticsearch-2.0-BmZjovliTfgJWgrJ3fCf5z" 'False) (C1 ('MetaCons "CreateVpcEndpoint'" 'PrefixI 'True) (S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "domainArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "vpcOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 VPCOptions))))

newCreateVpcEndpoint Source #

Create a value of CreateVpcEndpoint 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:clientToken:CreateVpcEndpoint', createVpcEndpoint_clientToken - Unique, case-sensitive identifier to ensure idempotency of the request.

CreateVpcEndpoint, createVpcEndpoint_domainArn - The Amazon Resource Name (ARN) of the domain to grant access to.

CreateVpcEndpoint, createVpcEndpoint_vpcOptions - Options to specify the subnets and security groups for the endpoint.

Request Lenses

createVpcEndpoint_clientToken :: Lens' CreateVpcEndpoint (Maybe Text) Source #

Unique, case-sensitive identifier to ensure idempotency of the request.

createVpcEndpoint_domainArn :: Lens' CreateVpcEndpoint Text Source #

The Amazon Resource Name (ARN) of the domain to grant access to.

createVpcEndpoint_vpcOptions :: Lens' CreateVpcEndpoint VPCOptions Source #

Options to specify the subnets and security groups for the endpoint.

Destructuring the Response

data CreateVpcEndpointResponse Source #

Container for response parameters to the CreateVpcEndpoint operation. Contains the configuration and status of the VPC Endpoint being created.

See: newCreateVpcEndpointResponse smart constructor.

Constructors

CreateVpcEndpointResponse' 

Fields

Instances

Instances details
Generic CreateVpcEndpointResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.CreateVpcEndpoint

Associated Types

type Rep CreateVpcEndpointResponse :: Type -> Type #

Read CreateVpcEndpointResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.CreateVpcEndpoint

Show CreateVpcEndpointResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.CreateVpcEndpoint

NFData CreateVpcEndpointResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.CreateVpcEndpoint

Eq CreateVpcEndpointResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.CreateVpcEndpoint

type Rep CreateVpcEndpointResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.CreateVpcEndpoint

type Rep CreateVpcEndpointResponse = D1 ('MetaData "CreateVpcEndpointResponse" "Amazonka.ElasticSearch.CreateVpcEndpoint" "amazonka-elasticsearch-2.0-BmZjovliTfgJWgrJ3fCf5z" 'False) (C1 ('MetaCons "CreateVpcEndpointResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "vpcEndpoint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 VpcEndpoint)))

newCreateVpcEndpointResponse Source #

Create a value of CreateVpcEndpointResponse 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:httpStatus:CreateVpcEndpointResponse', createVpcEndpointResponse_httpStatus - The response's http status code.

$sel:vpcEndpoint:CreateVpcEndpointResponse', createVpcEndpointResponse_vpcEndpoint - Information about the newly created VPC endpoint.

Response Lenses

createVpcEndpointResponse_vpcEndpoint :: Lens' CreateVpcEndpointResponse VpcEndpoint Source #

Information about the newly created VPC endpoint.