Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Gets a VPC link.
Synopsis
- data GetVpcLink = GetVpcLink' {}
- newGetVpcLink :: Text -> GetVpcLink
- getVpcLink_vpcLinkId :: Lens' GetVpcLink Text
- data GetVpcLinkResponse = GetVpcLinkResponse' {
- securityGroupIds :: Maybe [Text]
- subnetIds :: Maybe [Text]
- vpcLinkId :: Maybe Text
- createdDate :: Maybe POSIX
- vpcLinkVersion :: Maybe VpcLinkVersion
- name :: Maybe Text
- vpcLinkStatusMessage :: Maybe Text
- tags :: Maybe (HashMap Text Text)
- vpcLinkStatus :: Maybe VpcLinkStatus
- httpStatus :: Int
- newGetVpcLinkResponse :: Int -> GetVpcLinkResponse
- getVpcLinkResponse_securityGroupIds :: Lens' GetVpcLinkResponse (Maybe [Text])
- getVpcLinkResponse_subnetIds :: Lens' GetVpcLinkResponse (Maybe [Text])
- getVpcLinkResponse_vpcLinkId :: Lens' GetVpcLinkResponse (Maybe Text)
- getVpcLinkResponse_createdDate :: Lens' GetVpcLinkResponse (Maybe UTCTime)
- getVpcLinkResponse_vpcLinkVersion :: Lens' GetVpcLinkResponse (Maybe VpcLinkVersion)
- getVpcLinkResponse_name :: Lens' GetVpcLinkResponse (Maybe Text)
- getVpcLinkResponse_vpcLinkStatusMessage :: Lens' GetVpcLinkResponse (Maybe Text)
- getVpcLinkResponse_tags :: Lens' GetVpcLinkResponse (Maybe (HashMap Text Text))
- getVpcLinkResponse_vpcLinkStatus :: Lens' GetVpcLinkResponse (Maybe VpcLinkStatus)
- getVpcLinkResponse_httpStatus :: Lens' GetVpcLinkResponse Int
Creating a Request
data GetVpcLink Source #
See: newGetVpcLink
smart constructor.
Instances
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:
$sel:vpcLinkId: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.
GetVpcLinkResponse' | |
|
Instances
newGetVpcLinkResponse Source #
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:
$sel:securityGroupIds:GetVpcLinkResponse'
, getVpcLinkResponse_securityGroupIds
- A list of security group IDs for the VPC link.
$sel:subnetIds:GetVpcLinkResponse'
, getVpcLinkResponse_subnetIds
- A list of subnet IDs to include in the VPC link.
$sel:vpcLinkId:GetVpcLink'
, getVpcLinkResponse_vpcLinkId
- The ID of the VPC link.
$sel:createdDate:GetVpcLinkResponse'
, getVpcLinkResponse_createdDate
- The timestamp when the VPC link was created.
$sel:vpcLinkVersion:GetVpcLinkResponse'
, getVpcLinkResponse_vpcLinkVersion
- The version of the VPC link.
$sel:name:GetVpcLinkResponse'
, getVpcLinkResponse_name
- The name of the VPC link.
$sel:vpcLinkStatusMessage:GetVpcLinkResponse'
, getVpcLinkResponse_vpcLinkStatusMessage
- A message summarizing the cause of the status of the VPC link.
$sel:tags:GetVpcLinkResponse'
, getVpcLinkResponse_tags
- Tags for the VPC link.
$sel:vpcLinkStatus:GetVpcLinkResponse'
, getVpcLinkResponse_vpcLinkStatus
- The status of the VPC link.
$sel:httpStatus:GetVpcLinkResponse'
, getVpcLinkResponse_httpStatus
- The response's http status code.
Response Lenses
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_vpcLinkId :: Lens' GetVpcLinkResponse (Maybe Text) Source #
The ID of the VPC link.
getVpcLinkResponse_createdDate :: Lens' GetVpcLinkResponse (Maybe UTCTime) Source #
The timestamp when the VPC link was created.
getVpcLinkResponse_vpcLinkVersion :: Lens' GetVpcLinkResponse (Maybe VpcLinkVersion) Source #
The version of the VPC link.
getVpcLinkResponse_name :: Lens' GetVpcLinkResponse (Maybe Text) Source #
The name of the VPC link.
getVpcLinkResponse_vpcLinkStatusMessage :: Lens' GetVpcLinkResponse (Maybe Text) Source #
A message summarizing the cause of the status of the VPC link.
getVpcLinkResponse_tags :: Lens' GetVpcLinkResponse (Maybe (HashMap Text Text)) Source #
Tags for the VPC link.
getVpcLinkResponse_vpcLinkStatus :: Lens' GetVpcLinkResponse (Maybe VpcLinkStatus) Source #
The status of the VPC link.
getVpcLinkResponse_httpStatus :: Lens' GetVpcLinkResponse Int Source #
The response's http status code.