| 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.GetVpcLink
Description
Gets a VPC link.
Synopsis
- data GetVpcLink = GetVpcLink' {}
- newGetVpcLink :: Text -> GetVpcLink
- getVpcLink_vpcLinkId :: Lens' GetVpcLink Text
- data GetVpcLinkResponse = GetVpcLinkResponse' {
- 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
- newGetVpcLinkResponse :: Int -> GetVpcLinkResponse
- getVpcLinkResponse_createdDate :: Lens' GetVpcLinkResponse (Maybe UTCTime)
- getVpcLinkResponse_name :: Lens' GetVpcLinkResponse (Maybe Text)
- getVpcLinkResponse_securityGroupIds :: Lens' GetVpcLinkResponse (Maybe [Text])
- getVpcLinkResponse_subnetIds :: Lens' GetVpcLinkResponse (Maybe [Text])
- getVpcLinkResponse_tags :: Lens' GetVpcLinkResponse (Maybe (HashMap Text Text))
- getVpcLinkResponse_vpcLinkId :: Lens' GetVpcLinkResponse (Maybe Text)
- getVpcLinkResponse_vpcLinkStatus :: Lens' GetVpcLinkResponse (Maybe VpcLinkStatus)
- getVpcLinkResponse_vpcLinkStatusMessage :: Lens' GetVpcLinkResponse (Maybe Text)
- getVpcLinkResponse_vpcLinkVersion :: Lens' GetVpcLinkResponse (Maybe VpcLinkVersion)
- getVpcLinkResponse_httpStatus :: Lens' GetVpcLinkResponse Int
Creating a Request
data GetVpcLink Source #
See: newGetVpcLink smart constructor.
Constructors
| GetVpcLink' | |
Instances
Arguments
| :: Text | |
| -> GetVpcLink |
Create a value of GetVpcLink 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:
GetVpcLink, getVpcLink_vpcLinkId - The ID of the VPC link.
Request Lenses
getVpcLink_vpcLinkId :: Lens' GetVpcLink Text Source #
The ID of the VPC link.
Destructuring the Response
data GetVpcLinkResponse Source #
See: newGetVpcLinkResponse smart constructor.
Constructors
| GetVpcLinkResponse' | |
Fields
| |
Instances
newGetVpcLinkResponse Source #
Arguments
| :: Int | |
| -> GetVpcLinkResponse |
Create a value of GetVpcLinkResponse 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:
GetVpcLinkResponse, getVpcLinkResponse_createdDate - The timestamp when the VPC link was created.
GetVpcLinkResponse, getVpcLinkResponse_name - The name of the VPC link.
GetVpcLinkResponse, getVpcLinkResponse_securityGroupIds - A list of security group IDs for the VPC link.
GetVpcLinkResponse, getVpcLinkResponse_subnetIds - A list of subnet IDs to include in the VPC link.
GetVpcLinkResponse, getVpcLinkResponse_tags - Tags for the VPC link.
GetVpcLink, getVpcLinkResponse_vpcLinkId - The ID of the VPC link.
GetVpcLinkResponse, getVpcLinkResponse_vpcLinkStatus - The status of the VPC link.
GetVpcLinkResponse, getVpcLinkResponse_vpcLinkStatusMessage - A message summarizing the cause of the status of the VPC link.
GetVpcLinkResponse, getVpcLinkResponse_vpcLinkVersion - The version of the VPC link.
$sel:httpStatus:GetVpcLinkResponse', getVpcLinkResponse_httpStatus - The response's http status code.
Response Lenses
getVpcLinkResponse_createdDate :: Lens' GetVpcLinkResponse (Maybe UTCTime) Source #
The timestamp when the VPC link was created.
getVpcLinkResponse_name :: Lens' GetVpcLinkResponse (Maybe Text) Source #
The name of the VPC link.
getVpcLinkResponse_securityGroupIds :: Lens' GetVpcLinkResponse (Maybe [Text]) Source #
A list of security group IDs for the VPC link.
getVpcLinkResponse_subnetIds :: Lens' GetVpcLinkResponse (Maybe [Text]) Source #
A list of subnet IDs to include in the VPC link.
getVpcLinkResponse_tags :: Lens' GetVpcLinkResponse (Maybe (HashMap Text Text)) Source #
Tags for the VPC link.
getVpcLinkResponse_vpcLinkId :: Lens' GetVpcLinkResponse (Maybe Text) Source #
The ID of the VPC link.
getVpcLinkResponse_vpcLinkStatus :: Lens' GetVpcLinkResponse (Maybe VpcLinkStatus) Source #
The status of the VPC link.
getVpcLinkResponse_vpcLinkStatusMessage :: Lens' GetVpcLinkResponse (Maybe Text) Source #
A message summarizing the cause of the status of the VPC link.
getVpcLinkResponse_vpcLinkVersion :: Lens' GetVpcLinkResponse (Maybe VpcLinkVersion) Source #
The version of the VPC link.
getVpcLinkResponse_httpStatus :: Lens' GetVpcLinkResponse Int Source #
The response's http status code.