libZSservicesZSamazonka-apigatewayv2ZSamazonka-apigatewayv2
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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:

$sel:securityGroupIds:CreateVpcLink', createVpcLink_securityGroupIds - A list of security group IDs for the VPC link.

$sel:tags:CreateVpcLink', createVpcLink_tags - A list of tags.

$sel:subnetIds:CreateVpcLink', createVpcLink_subnetIds - A list of subnet IDs to include in the VPC link.

$sel:name: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
Eq CreateVpcLinkResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateVpcLink

Read CreateVpcLinkResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateVpcLink

Show CreateVpcLinkResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateVpcLink

Generic CreateVpcLinkResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateVpcLink

Associated Types

type Rep CreateVpcLinkResponse :: Type -> Type #

NFData CreateVpcLinkResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateVpcLink

Methods

rnf :: CreateVpcLinkResponse -> () #

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:

$sel:securityGroupIds:CreateVpcLink', createVpcLinkResponse_securityGroupIds - A list of security group IDs for the VPC link.

$sel:subnetIds:CreateVpcLink', createVpcLinkResponse_subnetIds - A list of subnet IDs to include in the VPC link.

$sel:vpcLinkId:CreateVpcLinkResponse', createVpcLinkResponse_vpcLinkId - The ID of the VPC link.

$sel:createdDate:CreateVpcLinkResponse', createVpcLinkResponse_createdDate - The timestamp when the VPC link was created.

$sel:vpcLinkVersion:CreateVpcLinkResponse', createVpcLinkResponse_vpcLinkVersion - The version of the VPC link.

$sel:name:CreateVpcLink', createVpcLinkResponse_name - The name of the VPC link.

$sel:vpcLinkStatusMessage:CreateVpcLinkResponse', createVpcLinkResponse_vpcLinkStatusMessage - A message summarizing the cause of the status of the VPC link.

$sel:tags:CreateVpcLink', createVpcLinkResponse_tags - Tags for the VPC link.

$sel:vpcLinkStatus:CreateVpcLinkResponse', createVpcLinkResponse_vpcLinkStatus - The status of the VPC link.

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

Response Lenses

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_createdDate :: Lens' CreateVpcLinkResponse (Maybe UTCTime) Source #

The timestamp when the VPC link was created.

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

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