amazonka-apigatewayv2-2.0: Amazon ApiGatewayV2 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.ApiGatewayV2.CreateVpcLink

Description

Creates a VPC link.

Synopsis

Creating a Request

data CreateVpcLink Source #

Creates a VPC link

See: newCreateVpcLink smart constructor.

Constructors

CreateVpcLink' 

Fields

Instances

newCreateVpcLink Source #

Create a value of CreateVpcLink 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:

CreateVpcLink, createVpcLink_securityGroupIds - A list of security group IDs for the VPC link.

CreateVpcLink, createVpcLink_tags - A list of tags.

CreateVpcLink, createVpcLink_subnetIds - A list of subnet IDs to include in the VPC link.

CreateVpcLink, createVpcLink_name - The name of the VPC link.

Request Lenses

createVpcLink_securityGroupIds :: Lens' CreateVpcLink (Maybe [Text]) Source #

A list of security group IDs for the VPC link.

createVpcLink_subnetIds :: Lens' CreateVpcLink [Text] Source #

A list of subnet IDs to include in the VPC link.

createVpcLink_name :: Lens' CreateVpcLink Text Source #

The name of the VPC link.

Destructuring the Response

data CreateVpcLinkResponse Source #

See: newCreateVpcLinkResponse smart constructor.

Constructors

CreateVpcLinkResponse' 

Fields

Instances

Instances details
Generic CreateVpcLinkResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateVpcLink

Associated Types

type Rep CreateVpcLinkResponse :: Type -> Type #

Read CreateVpcLinkResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateVpcLink

Show CreateVpcLinkResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateVpcLink

NFData CreateVpcLinkResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateVpcLink

Methods

rnf :: CreateVpcLinkResponse -> () #

Eq CreateVpcLinkResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateVpcLink

type Rep CreateVpcLinkResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateVpcLink

newCreateVpcLinkResponse Source #

Create a value of CreateVpcLinkResponse 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:

CreateVpcLinkResponse, createVpcLinkResponse_createdDate - The timestamp when the VPC link was created.

CreateVpcLink, createVpcLinkResponse_name - The name of the VPC link.

CreateVpcLink, createVpcLinkResponse_securityGroupIds - A list of security group IDs for the VPC link.

CreateVpcLink, createVpcLinkResponse_subnetIds - A list of subnet IDs to include in the VPC link.

CreateVpcLink, createVpcLinkResponse_tags - Tags for the VPC link.

CreateVpcLinkResponse, createVpcLinkResponse_vpcLinkId - The ID of the VPC link.

CreateVpcLinkResponse, createVpcLinkResponse_vpcLinkStatus - The status of the VPC link.

CreateVpcLinkResponse, createVpcLinkResponse_vpcLinkStatusMessage - A message summarizing the cause of the status of the VPC link.

CreateVpcLinkResponse, createVpcLinkResponse_vpcLinkVersion - The version of the VPC link.

$sel:httpStatus:CreateVpcLinkResponse', createVpcLinkResponse_httpStatus - The response's http status code.

Response Lenses

createVpcLinkResponse_createdDate :: Lens' CreateVpcLinkResponse (Maybe UTCTime) Source #

The timestamp when the VPC link was created.

createVpcLinkResponse_securityGroupIds :: Lens' CreateVpcLinkResponse (Maybe [Text]) Source #

A list of security group IDs for the VPC link.

createVpcLinkResponse_subnetIds :: Lens' CreateVpcLinkResponse (Maybe [Text]) Source #

A list of subnet IDs to include in the VPC link.

createVpcLinkResponse_vpcLinkStatusMessage :: Lens' CreateVpcLinkResponse (Maybe Text) Source #

A message summarizing the cause of the status of the VPC link.