| 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.DirectConnect.DescribeTags
Description
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.
Constructors
| DescribeTags' | |
Fields
| |
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.
Constructors
| DescribeTagsResponse' | |
Fields
| |
Instances
newDescribeTagsResponse Source #
Arguments
| :: Int | |
| -> DescribeTagsResponse |
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.