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 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.
DescribeTags' | |
|
Instances
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:resourceId: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.
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: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.