amazonka-opensearchserverless-2.0: Amazon OpenSearch Service 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.OpenSearchServerless.UpdateVpcEndpoint

Description

Updates an OpenSearch Serverless-managed interface endpoint. For more information, see Access Amazon OpenSearch Serverless using an interface endpoint.

Synopsis

Creating a Request

data UpdateVpcEndpoint Source #

See: newUpdateVpcEndpoint smart constructor.

Constructors

UpdateVpcEndpoint' 

Fields

Instances

Instances details
ToJSON UpdateVpcEndpoint Source # 
Instance details

Defined in Amazonka.OpenSearchServerless.UpdateVpcEndpoint

ToHeaders UpdateVpcEndpoint Source # 
Instance details

Defined in Amazonka.OpenSearchServerless.UpdateVpcEndpoint

ToPath UpdateVpcEndpoint Source # 
Instance details

Defined in Amazonka.OpenSearchServerless.UpdateVpcEndpoint

ToQuery UpdateVpcEndpoint Source # 
Instance details

Defined in Amazonka.OpenSearchServerless.UpdateVpcEndpoint

AWSRequest UpdateVpcEndpoint Source # 
Instance details

Defined in Amazonka.OpenSearchServerless.UpdateVpcEndpoint

Associated Types

type AWSResponse UpdateVpcEndpoint #

Generic UpdateVpcEndpoint Source # 
Instance details

Defined in Amazonka.OpenSearchServerless.UpdateVpcEndpoint

Associated Types

type Rep UpdateVpcEndpoint :: Type -> Type #

Read UpdateVpcEndpoint Source # 
Instance details

Defined in Amazonka.OpenSearchServerless.UpdateVpcEndpoint

Show UpdateVpcEndpoint Source # 
Instance details

Defined in Amazonka.OpenSearchServerless.UpdateVpcEndpoint

NFData UpdateVpcEndpoint Source # 
Instance details

Defined in Amazonka.OpenSearchServerless.UpdateVpcEndpoint

Methods

rnf :: UpdateVpcEndpoint -> () #

Eq UpdateVpcEndpoint Source # 
Instance details

Defined in Amazonka.OpenSearchServerless.UpdateVpcEndpoint

Hashable UpdateVpcEndpoint Source # 
Instance details

Defined in Amazonka.OpenSearchServerless.UpdateVpcEndpoint

type AWSResponse UpdateVpcEndpoint Source # 
Instance details

Defined in Amazonka.OpenSearchServerless.UpdateVpcEndpoint

type Rep UpdateVpcEndpoint Source # 
Instance details

Defined in Amazonka.OpenSearchServerless.UpdateVpcEndpoint

type Rep UpdateVpcEndpoint = D1 ('MetaData "UpdateVpcEndpoint" "Amazonka.OpenSearchServerless.UpdateVpcEndpoint" "amazonka-opensearchserverless-2.0-HnbMYszmsxrAMKjbvSoFws" 'False) (C1 ('MetaCons "UpdateVpcEndpoint'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "addSecurityGroupIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: (S1 ('MetaSel ('Just "addSubnetIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "removeSecurityGroupIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: (S1 ('MetaSel ('Just "removeSubnetIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newUpdateVpcEndpoint Source #

Create a value of UpdateVpcEndpoint 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:addSecurityGroupIds:UpdateVpcEndpoint', updateVpcEndpoint_addSecurityGroupIds - The unique identifiers of the security groups to add to the endpoint. Security groups define the ports, protocols, and sources for inbound traffic that you are authorizing into your endpoint.

$sel:addSubnetIds:UpdateVpcEndpoint', updateVpcEndpoint_addSubnetIds - The ID of one or more subnets to add to the endpoint.

$sel:clientToken:UpdateVpcEndpoint', updateVpcEndpoint_clientToken - Unique, case-sensitive identifier to ensure idempotency of the request.

$sel:removeSecurityGroupIds:UpdateVpcEndpoint', updateVpcEndpoint_removeSecurityGroupIds - The unique identifiers of the security groups to remove from the endpoint.

$sel:removeSubnetIds:UpdateVpcEndpoint', updateVpcEndpoint_removeSubnetIds - The unique identifiers of the subnets to remove from the endpoint.

UpdateVpcEndpoint, updateVpcEndpoint_id - The unique identifier of the interface endpoint to update.

Request Lenses

updateVpcEndpoint_addSecurityGroupIds :: Lens' UpdateVpcEndpoint (Maybe (NonEmpty Text)) Source #

The unique identifiers of the security groups to add to the endpoint. Security groups define the ports, protocols, and sources for inbound traffic that you are authorizing into your endpoint.

updateVpcEndpoint_addSubnetIds :: Lens' UpdateVpcEndpoint (Maybe (NonEmpty Text)) Source #

The ID of one or more subnets to add to the endpoint.

updateVpcEndpoint_clientToken :: Lens' UpdateVpcEndpoint (Maybe Text) Source #

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

updateVpcEndpoint_removeSecurityGroupIds :: Lens' UpdateVpcEndpoint (Maybe (NonEmpty Text)) Source #

The unique identifiers of the security groups to remove from the endpoint.

updateVpcEndpoint_removeSubnetIds :: Lens' UpdateVpcEndpoint (Maybe (NonEmpty Text)) Source #

The unique identifiers of the subnets to remove from the endpoint.

updateVpcEndpoint_id :: Lens' UpdateVpcEndpoint Text Source #

The unique identifier of the interface endpoint to update.

Destructuring the Response

data UpdateVpcEndpointResponse Source #

See: newUpdateVpcEndpointResponse smart constructor.

Constructors

UpdateVpcEndpointResponse' 

Fields

Instances

Instances details
Generic UpdateVpcEndpointResponse Source # 
Instance details

Defined in Amazonka.OpenSearchServerless.UpdateVpcEndpoint

Associated Types

type Rep UpdateVpcEndpointResponse :: Type -> Type #

Read UpdateVpcEndpointResponse Source # 
Instance details

Defined in Amazonka.OpenSearchServerless.UpdateVpcEndpoint

Show UpdateVpcEndpointResponse Source # 
Instance details

Defined in Amazonka.OpenSearchServerless.UpdateVpcEndpoint

NFData UpdateVpcEndpointResponse Source # 
Instance details

Defined in Amazonka.OpenSearchServerless.UpdateVpcEndpoint

Eq UpdateVpcEndpointResponse Source # 
Instance details

Defined in Amazonka.OpenSearchServerless.UpdateVpcEndpoint

type Rep UpdateVpcEndpointResponse Source # 
Instance details

Defined in Amazonka.OpenSearchServerless.UpdateVpcEndpoint

type Rep UpdateVpcEndpointResponse = D1 ('MetaData "UpdateVpcEndpointResponse" "Amazonka.OpenSearchServerless.UpdateVpcEndpoint" "amazonka-opensearchserverless-2.0-HnbMYszmsxrAMKjbvSoFws" 'False) (C1 ('MetaCons "UpdateVpcEndpointResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "updateVpcEndpointDetail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UpdateVpcEndpointDetail)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateVpcEndpointResponse Source #

Create a value of UpdateVpcEndpointResponse 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:updateVpcEndpointDetail:UpdateVpcEndpointResponse', updateVpcEndpointResponse_updateVpcEndpointDetail - Details about the updated VPC endpoint.

$sel:httpStatus:UpdateVpcEndpointResponse', updateVpcEndpointResponse_httpStatus - The response's http status code.

Response Lenses