amazonka-apigateway-1.6.0: Amazon API Gateway SDK.

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

Network.AWS.APIGateway.UpdateVPCLink

Contents

Description

Updates an existing VpcLink of a specified identifier.

Synopsis

Creating a Request

updateVPCLink Source #

Creates a value of UpdateVPCLink with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • uvlPatchOperations - A list of update operations to be applied to the specified resource and in the order specified in this list.
  • uvlVpcLinkId - [Required] The identifier of the VpcLink . It is used in an Integration to reference this VpcLink .

data UpdateVPCLink Source #

Updates an existing VpcLink of a specified identifier.

See: updateVPCLink smart constructor.

Request Lenses

uvlPatchOperations :: Lens' UpdateVPCLink [PatchOperation] Source #

A list of update operations to be applied to the specified resource and in the order specified in this list.

uvlVpcLinkId :: Lens' UpdateVPCLink Text Source #

Required
The identifier of the VpcLink . It is used in an Integration to reference this VpcLink .

Destructuring the Response

vpcLink :: VPCLink Source #

Creates a value of VPCLink with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • vlStatus - The status of the VPC link. The valid values are AVAILABLE , PENDING , DELETING , or FAILED . Deploying an API will wait if the status is PENDING and will fail if the status is DELETING .
  • vlTargetARNs - The ARNs of network load balancers of the VPC targeted by the VPC link. The network load balancers must be owned by the same AWS account of the API owner.
  • vlName - The name used to label and identify the VPC link.
  • vlStatusMessage - A description about the VPC link status.
  • vlId - The identifier of the VpcLink . It is used in an Integration to reference this VpcLink .
  • vlDescription - The description of the VPC link.

data VPCLink Source #

A API Gateway VPC link for a RestApi to access resources in an Amazon Virtual Private Cloud (VPC).

To enable access to a resource in an Amazon Virtual Private Cloud through Amazon API Gateway, you, as an API developer, create a VpcLink resource targeted for one or more network load balancers of the VPC and then integrate an API method with a private integration that uses the VpcLink . The private integration has an integration type of HTTP or HTTP_PROXY and has a connection type of VPC_LINK . The integration uses the connectionId property to identify the VpcLink used.

See: vpcLink smart constructor.

Response Lenses

vlStatus :: Lens' VPCLink (Maybe VPCLinkStatus) Source #

The status of the VPC link. The valid values are AVAILABLE , PENDING , DELETING , or FAILED . Deploying an API will wait if the status is PENDING and will fail if the status is DELETING .

vlTargetARNs :: Lens' VPCLink [Text] Source #

The ARNs of network load balancers of the VPC targeted by the VPC link. The network load balancers must be owned by the same AWS account of the API owner.

vlName :: Lens' VPCLink (Maybe Text) Source #

The name used to label and identify the VPC link.

vlStatusMessage :: Lens' VPCLink (Maybe Text) Source #

A description about the VPC link status.

vlId :: Lens' VPCLink (Maybe Text) Source #

The identifier of the VpcLink . It is used in an Integration to reference this VpcLink .

vlDescription :: Lens' VPCLink (Maybe Text) Source #

The description of the VPC link.