| 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.WorkSpaces.DescribeTags
Description
Describes the specified tags for the specified WorkSpaces resource.
Synopsis
- data DescribeTags = DescribeTags' {
- resourceId :: Text
- newDescribeTags :: Text -> DescribeTags
- describeTags_resourceId :: Lens' DescribeTags Text
- data DescribeTagsResponse = DescribeTagsResponse' {
- tagList :: Maybe [Tag]
- httpStatus :: Int
- newDescribeTagsResponse :: Int -> DescribeTagsResponse
- describeTagsResponse_tagList :: Lens' DescribeTagsResponse (Maybe [Tag])
- describeTagsResponse_httpStatus :: Lens' DescribeTagsResponse Int
Creating a Request
data DescribeTags Source #
See: newDescribeTags smart constructor.
Constructors
| DescribeTags' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> DescribeTags |
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:
DescribeTags, describeTags_resourceId - The identifier of the WorkSpaces resource. The supported resource types
are WorkSpaces, registered directories, images, custom bundles, IP
access control groups, and connection aliases.
Request Lenses
describeTags_resourceId :: Lens' DescribeTags Text Source #
The identifier of the WorkSpaces resource. The supported resource types are WorkSpaces, registered directories, images, custom bundles, IP access control groups, and connection aliases.
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:tagList:DescribeTagsResponse', describeTagsResponse_tagList - The tags.
$sel:httpStatus:DescribeTagsResponse', describeTagsResponse_httpStatus - The response's http status code.
Response Lenses
describeTagsResponse_tagList :: Lens' DescribeTagsResponse (Maybe [Tag]) Source #
The tags.
describeTagsResponse_httpStatus :: Lens' DescribeTagsResponse Int Source #
The response's http status code.