Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Updates an existing VpcLink of a specified identifier.
Synopsis
- data UpdateVpcLink = UpdateVpcLink' {}
- newUpdateVpcLink :: Text -> UpdateVpcLink
- updateVpcLink_patchOperations :: Lens' UpdateVpcLink (Maybe [PatchOperation])
- updateVpcLink_vpcLinkId :: Lens' UpdateVpcLink Text
- data VpcLink = VpcLink' {}
- newVpcLink :: VpcLink
- vpcLink_description :: Lens' VpcLink (Maybe Text)
- vpcLink_id :: Lens' VpcLink (Maybe Text)
- vpcLink_name :: Lens' VpcLink (Maybe Text)
- vpcLink_status :: Lens' VpcLink (Maybe VpcLinkStatus)
- vpcLink_statusMessage :: Lens' VpcLink (Maybe Text)
- vpcLink_tags :: Lens' VpcLink (Maybe (HashMap Text Text))
- vpcLink_targetArns :: Lens' VpcLink (Maybe [Text])
Creating a Request
data UpdateVpcLink Source #
Updates an existing VpcLink of a specified identifier.
See: newUpdateVpcLink
smart constructor.
UpdateVpcLink' | |
|
Instances
Create a value of UpdateVpcLink
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:patchOperations:UpdateVpcLink'
, updateVpcLink_patchOperations
- For more information about supported patch operations, see
Patch Operations.
$sel:vpcLinkId:UpdateVpcLink'
, updateVpcLink_vpcLinkId
- The identifier of the VpcLink. It is used in an Integration to reference
this VpcLink.
Request Lenses
updateVpcLink_patchOperations :: Lens' UpdateVpcLink (Maybe [PatchOperation]) Source #
For more information about supported patch operations, see Patch Operations.
updateVpcLink_vpcLinkId :: Lens' UpdateVpcLink Text Source #
The identifier of the VpcLink. It is used in an Integration to reference this VpcLink.
Destructuring the Response
An API Gateway VPC link for a RestApi to access resources in an Amazon Virtual Private Cloud (VPC).
See: newVpcLink
smart constructor.
VpcLink' | |
|
Instances
newVpcLink :: VpcLink Source #
Create a value of VpcLink
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:description:VpcLink'
, vpcLink_description
- The description of the VPC link.
$sel:id:VpcLink'
, vpcLink_id
- The identifier of the VpcLink. It is used in an Integration to reference
this VpcLink.
$sel:name:VpcLink'
, vpcLink_name
- The name used to label and identify the VPC link.
$sel:status:VpcLink'
, vpcLink_status
- 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
.
$sel:statusMessage:VpcLink'
, vpcLink_statusMessage
- A description about the VPC link status.
$sel:tags:VpcLink'
, vpcLink_tags
- The collection of tags. Each tag element is associated with a given
resource.
$sel:targetArns:VpcLink'
, vpcLink_targetArns
- The ARN of the network load balancer of the VPC targeted by the VPC
link. The network load balancer must be owned by the same AWS account of
the API owner.
Response Lenses
vpcLink_id :: Lens' VpcLink (Maybe Text) Source #
The identifier of the VpcLink. It is used in an Integration to reference this VpcLink.
vpcLink_name :: Lens' VpcLink (Maybe Text) Source #
The name used to label and identify the VPC link.
vpcLink_status :: 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
.
vpcLink_statusMessage :: Lens' VpcLink (Maybe Text) Source #
A description about the VPC link status.