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 |
Creates a VPC link.
Synopsis
- data CreateVpcLink = CreateVpcLink' {}
- newCreateVpcLink :: Text -> CreateVpcLink
- createVpcLink_securityGroupIds :: Lens' CreateVpcLink (Maybe [Text])
- createVpcLink_tags :: Lens' CreateVpcLink (Maybe (HashMap Text Text))
- createVpcLink_subnetIds :: Lens' CreateVpcLink [Text]
- createVpcLink_name :: Lens' CreateVpcLink Text
- data CreateVpcLinkResponse = CreateVpcLinkResponse' {
- 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
- newCreateVpcLinkResponse :: Int -> CreateVpcLinkResponse
- createVpcLinkResponse_securityGroupIds :: Lens' CreateVpcLinkResponse (Maybe [Text])
- createVpcLinkResponse_subnetIds :: Lens' CreateVpcLinkResponse (Maybe [Text])
- createVpcLinkResponse_vpcLinkId :: Lens' CreateVpcLinkResponse (Maybe Text)
- createVpcLinkResponse_createdDate :: Lens' CreateVpcLinkResponse (Maybe UTCTime)
- createVpcLinkResponse_vpcLinkVersion :: Lens' CreateVpcLinkResponse (Maybe VpcLinkVersion)
- createVpcLinkResponse_name :: Lens' CreateVpcLinkResponse (Maybe Text)
- createVpcLinkResponse_vpcLinkStatusMessage :: Lens' CreateVpcLinkResponse (Maybe Text)
- createVpcLinkResponse_tags :: Lens' CreateVpcLinkResponse (Maybe (HashMap Text Text))
- createVpcLinkResponse_vpcLinkStatus :: Lens' CreateVpcLinkResponse (Maybe VpcLinkStatus)
- createVpcLinkResponse_httpStatus :: Lens' CreateVpcLinkResponse Int
Creating a Request
data CreateVpcLink Source #
Creates a VPC link
See: newCreateVpcLink
smart constructor.
Instances
Create a value of CreateVpcLink
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:CreateVpcLink'
, createVpcLink_securityGroupIds
- A list of security group IDs for the VPC link.
$sel:tags:CreateVpcLink'
, createVpcLink_tags
- A list of tags.
$sel:subnetIds:CreateVpcLink'
, createVpcLink_subnetIds
- A list of subnet IDs to include in the VPC link.
$sel:name:CreateVpcLink'
, createVpcLink_name
- The name of the VPC link.
Request Lenses
createVpcLink_securityGroupIds :: Lens' CreateVpcLink (Maybe [Text]) Source #
A list of security group IDs for the VPC link.
createVpcLink_tags :: Lens' CreateVpcLink (Maybe (HashMap Text Text)) Source #
A list of tags.
createVpcLink_subnetIds :: Lens' CreateVpcLink [Text] Source #
A list of subnet IDs to include in the VPC link.
createVpcLink_name :: Lens' CreateVpcLink Text Source #
The name of the VPC link.
Destructuring the Response
data CreateVpcLinkResponse Source #
See: newCreateVpcLinkResponse
smart constructor.
CreateVpcLinkResponse' | |
|
Instances
newCreateVpcLinkResponse Source #
Create a value of CreateVpcLinkResponse
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:CreateVpcLink'
, createVpcLinkResponse_securityGroupIds
- A list of security group IDs for the VPC link.
$sel:subnetIds:CreateVpcLink'
, createVpcLinkResponse_subnetIds
- A list of subnet IDs to include in the VPC link.
$sel:vpcLinkId:CreateVpcLinkResponse'
, createVpcLinkResponse_vpcLinkId
- The ID of the VPC link.
$sel:createdDate:CreateVpcLinkResponse'
, createVpcLinkResponse_createdDate
- The timestamp when the VPC link was created.
$sel:vpcLinkVersion:CreateVpcLinkResponse'
, createVpcLinkResponse_vpcLinkVersion
- The version of the VPC link.
$sel:name:CreateVpcLink'
, createVpcLinkResponse_name
- The name of the VPC link.
$sel:vpcLinkStatusMessage:CreateVpcLinkResponse'
, createVpcLinkResponse_vpcLinkStatusMessage
- A message summarizing the cause of the status of the VPC link.
$sel:tags:CreateVpcLink'
, createVpcLinkResponse_tags
- Tags for the VPC link.
$sel:vpcLinkStatus:CreateVpcLinkResponse'
, createVpcLinkResponse_vpcLinkStatus
- The status of the VPC link.
$sel:httpStatus:CreateVpcLinkResponse'
, createVpcLinkResponse_httpStatus
- The response's http status code.
Response Lenses
createVpcLinkResponse_securityGroupIds :: Lens' CreateVpcLinkResponse (Maybe [Text]) Source #
A list of security group IDs for the VPC link.
createVpcLinkResponse_subnetIds :: Lens' CreateVpcLinkResponse (Maybe [Text]) Source #
A list of subnet IDs to include in the VPC link.
createVpcLinkResponse_vpcLinkId :: Lens' CreateVpcLinkResponse (Maybe Text) Source #
The ID of the VPC link.
createVpcLinkResponse_createdDate :: Lens' CreateVpcLinkResponse (Maybe UTCTime) Source #
The timestamp when the VPC link was created.
createVpcLinkResponse_vpcLinkVersion :: Lens' CreateVpcLinkResponse (Maybe VpcLinkVersion) Source #
The version of the VPC link.
createVpcLinkResponse_name :: Lens' CreateVpcLinkResponse (Maybe Text) Source #
The name of the VPC link.
createVpcLinkResponse_vpcLinkStatusMessage :: Lens' CreateVpcLinkResponse (Maybe Text) Source #
A message summarizing the cause of the status of the VPC link.
createVpcLinkResponse_tags :: Lens' CreateVpcLinkResponse (Maybe (HashMap Text Text)) Source #
Tags for the VPC link.
createVpcLinkResponse_vpcLinkStatus :: Lens' CreateVpcLinkResponse (Maybe VpcLinkStatus) Source #
The status of the VPC link.
createVpcLinkResponse_httpStatus :: Lens' CreateVpcLinkResponse Int Source #
The response's http status code.