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 |
Describes the ClassicLink status of one or more VPCs.
We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see Migrate from EC2-Classic to a VPC in the Amazon Elastic Compute Cloud User Guide.
Synopsis
- data DescribeVpcClassicLink = DescribeVpcClassicLink' {}
- newDescribeVpcClassicLink :: DescribeVpcClassicLink
- describeVpcClassicLink_dryRun :: Lens' DescribeVpcClassicLink (Maybe Bool)
- describeVpcClassicLink_filters :: Lens' DescribeVpcClassicLink (Maybe [Filter])
- describeVpcClassicLink_vpcIds :: Lens' DescribeVpcClassicLink (Maybe [Text])
- data DescribeVpcClassicLinkResponse = DescribeVpcClassicLinkResponse' {
- vpcs :: Maybe [VpcClassicLink]
- httpStatus :: Int
- newDescribeVpcClassicLinkResponse :: Int -> DescribeVpcClassicLinkResponse
- describeVpcClassicLinkResponse_vpcs :: Lens' DescribeVpcClassicLinkResponse (Maybe [VpcClassicLink])
- describeVpcClassicLinkResponse_httpStatus :: Lens' DescribeVpcClassicLinkResponse Int
Creating a Request
data DescribeVpcClassicLink Source #
See: newDescribeVpcClassicLink
smart constructor.
DescribeVpcClassicLink' | |
|
Instances
newDescribeVpcClassicLink :: DescribeVpcClassicLink Source #
Create a value of DescribeVpcClassicLink
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:dryRun:DescribeVpcClassicLink'
, describeVpcClassicLink_dryRun
- Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
$sel:filters:DescribeVpcClassicLink'
, describeVpcClassicLink_filters
- One or more filters.
is-classic-link-enabled
- Whether the VPC is enabled for ClassicLink (true
|false
).tag
:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the keyOwner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value.tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
$sel:vpcIds:DescribeVpcClassicLink'
, describeVpcClassicLink_vpcIds
- One or more VPCs for which you want to describe the ClassicLink status.
Request Lenses
describeVpcClassicLink_dryRun :: Lens' DescribeVpcClassicLink (Maybe Bool) Source #
Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
describeVpcClassicLink_filters :: Lens' DescribeVpcClassicLink (Maybe [Filter]) Source #
One or more filters.
is-classic-link-enabled
- Whether the VPC is enabled for ClassicLink (true
|false
).tag
:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the keyOwner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value.tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
describeVpcClassicLink_vpcIds :: Lens' DescribeVpcClassicLink (Maybe [Text]) Source #
One or more VPCs for which you want to describe the ClassicLink status.
Destructuring the Response
data DescribeVpcClassicLinkResponse Source #
See: newDescribeVpcClassicLinkResponse
smart constructor.
DescribeVpcClassicLinkResponse' | |
|
Instances
Generic DescribeVpcClassicLinkResponse Source # | |
Read DescribeVpcClassicLinkResponse Source # | |
Show DescribeVpcClassicLinkResponse Source # | |
Defined in Amazonka.EC2.DescribeVpcClassicLink | |
NFData DescribeVpcClassicLinkResponse Source # | |
Defined in Amazonka.EC2.DescribeVpcClassicLink rnf :: DescribeVpcClassicLinkResponse -> () # | |
Eq DescribeVpcClassicLinkResponse Source # | |
type Rep DescribeVpcClassicLinkResponse Source # | |
Defined in Amazonka.EC2.DescribeVpcClassicLink type Rep DescribeVpcClassicLinkResponse = D1 ('MetaData "DescribeVpcClassicLinkResponse" "Amazonka.EC2.DescribeVpcClassicLink" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DescribeVpcClassicLinkResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "vpcs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [VpcClassicLink])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDescribeVpcClassicLinkResponse Source #
Create a value of DescribeVpcClassicLinkResponse
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:vpcs:DescribeVpcClassicLinkResponse'
, describeVpcClassicLinkResponse_vpcs
- The ClassicLink status of one or more VPCs.
$sel:httpStatus:DescribeVpcClassicLinkResponse'
, describeVpcClassicLinkResponse_httpStatus
- The response's http status code.
Response Lenses
describeVpcClassicLinkResponse_vpcs :: Lens' DescribeVpcClassicLinkResponse (Maybe [VpcClassicLink]) Source #
The ClassicLink status of one or more VPCs.
describeVpcClassicLinkResponse_httpStatus :: Lens' DescribeVpcClassicLinkResponse Int Source #
The response's http status code.