| 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 |
Amazonka.ApiGatewayV2.UpdateVpcLink
Description
Updates a VPC link.
Synopsis
- data UpdateVpcLink = UpdateVpcLink' {}
- newUpdateVpcLink :: Text -> UpdateVpcLink
- updateVpcLink_name :: Lens' UpdateVpcLink (Maybe Text)
- updateVpcLink_vpcLinkId :: Lens' UpdateVpcLink Text
- data UpdateVpcLinkResponse = UpdateVpcLinkResponse' {
- createdDate :: Maybe ISO8601
- name :: Maybe Text
- securityGroupIds :: Maybe [Text]
- subnetIds :: Maybe [Text]
- tags :: Maybe (HashMap Text Text)
- vpcLinkId :: Maybe Text
- vpcLinkStatus :: Maybe VpcLinkStatus
- vpcLinkStatusMessage :: Maybe Text
- vpcLinkVersion :: Maybe VpcLinkVersion
- httpStatus :: Int
- newUpdateVpcLinkResponse :: Int -> UpdateVpcLinkResponse
- updateVpcLinkResponse_createdDate :: Lens' UpdateVpcLinkResponse (Maybe UTCTime)
- updateVpcLinkResponse_name :: Lens' UpdateVpcLinkResponse (Maybe Text)
- updateVpcLinkResponse_securityGroupIds :: Lens' UpdateVpcLinkResponse (Maybe [Text])
- updateVpcLinkResponse_subnetIds :: Lens' UpdateVpcLinkResponse (Maybe [Text])
- updateVpcLinkResponse_tags :: Lens' UpdateVpcLinkResponse (Maybe (HashMap Text Text))
- updateVpcLinkResponse_vpcLinkId :: Lens' UpdateVpcLinkResponse (Maybe Text)
- updateVpcLinkResponse_vpcLinkStatus :: Lens' UpdateVpcLinkResponse (Maybe VpcLinkStatus)
- updateVpcLinkResponse_vpcLinkStatusMessage :: Lens' UpdateVpcLinkResponse (Maybe Text)
- updateVpcLinkResponse_vpcLinkVersion :: Lens' UpdateVpcLinkResponse (Maybe VpcLinkVersion)
- updateVpcLinkResponse_httpStatus :: Lens' UpdateVpcLinkResponse Int
Creating a Request
data UpdateVpcLink Source #
Updates a VPC link.
See: newUpdateVpcLink smart constructor.
Constructors
| UpdateVpcLink' | |
Instances
Arguments
| :: Text | |
| -> UpdateVpcLink |
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:
UpdateVpcLink, updateVpcLink_name - The name of the VPC link.
UpdateVpcLink, updateVpcLink_vpcLinkId - The ID of the VPC link.
Request Lenses
updateVpcLink_name :: Lens' UpdateVpcLink (Maybe Text) Source #
The name of the VPC link.
updateVpcLink_vpcLinkId :: Lens' UpdateVpcLink Text Source #
The ID of the VPC link.
Destructuring the Response
data UpdateVpcLinkResponse Source #
See: newUpdateVpcLinkResponse smart constructor.
Constructors
| UpdateVpcLinkResponse' | |
Fields
| |
Instances
newUpdateVpcLinkResponse Source #
Create a value of UpdateVpcLinkResponse 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:
UpdateVpcLinkResponse, updateVpcLinkResponse_createdDate - The timestamp when the VPC link was created.
UpdateVpcLink, updateVpcLinkResponse_name - The name of the VPC link.
UpdateVpcLinkResponse, updateVpcLinkResponse_securityGroupIds - A list of security group IDs for the VPC link.
UpdateVpcLinkResponse, updateVpcLinkResponse_subnetIds - A list of subnet IDs to include in the VPC link.
UpdateVpcLinkResponse, updateVpcLinkResponse_tags - Tags for the VPC link.
UpdateVpcLink, updateVpcLinkResponse_vpcLinkId - The ID of the VPC link.
UpdateVpcLinkResponse, updateVpcLinkResponse_vpcLinkStatus - The status of the VPC link.
UpdateVpcLinkResponse, updateVpcLinkResponse_vpcLinkStatusMessage - A message summarizing the cause of the status of the VPC link.
UpdateVpcLinkResponse, updateVpcLinkResponse_vpcLinkVersion - The version of the VPC link.
$sel:httpStatus:UpdateVpcLinkResponse', updateVpcLinkResponse_httpStatus - The response's http status code.
Response Lenses
updateVpcLinkResponse_createdDate :: Lens' UpdateVpcLinkResponse (Maybe UTCTime) Source #
The timestamp when the VPC link was created.
updateVpcLinkResponse_name :: Lens' UpdateVpcLinkResponse (Maybe Text) Source #
The name of the VPC link.
updateVpcLinkResponse_securityGroupIds :: Lens' UpdateVpcLinkResponse (Maybe [Text]) Source #
A list of security group IDs for the VPC link.
updateVpcLinkResponse_subnetIds :: Lens' UpdateVpcLinkResponse (Maybe [Text]) Source #
A list of subnet IDs to include in the VPC link.
updateVpcLinkResponse_tags :: Lens' UpdateVpcLinkResponse (Maybe (HashMap Text Text)) Source #
Tags for the VPC link.
updateVpcLinkResponse_vpcLinkId :: Lens' UpdateVpcLinkResponse (Maybe Text) Source #
The ID of the VPC link.
updateVpcLinkResponse_vpcLinkStatus :: Lens' UpdateVpcLinkResponse (Maybe VpcLinkStatus) Source #
The status of the VPC link.
updateVpcLinkResponse_vpcLinkStatusMessage :: Lens' UpdateVpcLinkResponse (Maybe Text) Source #
A message summarizing the cause of the status of the VPC link.
updateVpcLinkResponse_vpcLinkVersion :: Lens' UpdateVpcLinkResponse (Maybe VpcLinkVersion) Source #
The version of the VPC link.
updateVpcLinkResponse_httpStatus :: Lens' UpdateVpcLinkResponse Int Source #
The response's http status code.