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 |
Describes the tags associated with the specified Direct Connect resources.
Synopsis
- data DescribeTags = DescribeTags' {
- resourceArns :: [Text]
- newDescribeTags :: DescribeTags
- describeTags_resourceArns :: Lens' DescribeTags [Text]
- data DescribeTagsResponse = DescribeTagsResponse' {
- resourceTags :: Maybe [ResourceTag]
- httpStatus :: Int
- newDescribeTagsResponse :: Int -> DescribeTagsResponse
- describeTagsResponse_resourceTags :: Lens' DescribeTagsResponse (Maybe [ResourceTag])
- describeTagsResponse_httpStatus :: Lens' DescribeTagsResponse Int
Creating a Request
data DescribeTags Source #
See: newDescribeTags
smart constructor.
DescribeTags' | |
|
Instances
newDescribeTags :: DescribeTags Source #
Create a value of DescribeTags
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:resourceArns:DescribeTags'
, describeTags_resourceArns
- The Amazon Resource Names (ARNs) of the resources.
Request Lenses
describeTags_resourceArns :: Lens' DescribeTags [Text] Source #
The Amazon Resource Names (ARNs) of the resources.
Destructuring the Response
data DescribeTagsResponse Source #
See: newDescribeTagsResponse
smart constructor.
DescribeTagsResponse' | |
|
Instances
newDescribeTagsResponse Source #
Create a value of DescribeTagsResponse
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:resourceTags:DescribeTagsResponse'
, describeTagsResponse_resourceTags
- Information about the tags.
$sel:httpStatus:DescribeTagsResponse'
, describeTagsResponse_httpStatus
- The response's http status code.
Response Lenses
describeTagsResponse_resourceTags :: Lens' DescribeTagsResponse (Maybe [ResourceTag]) Source #
Information about the tags.
describeTagsResponse_httpStatus :: Lens' DescribeTagsResponse Int Source #
The response's http status code.