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 one or more of the tags for your Amazon ML object.
Synopsis
- data DescribeTags = DescribeTags' {}
- newDescribeTags :: Text -> TaggableResourceType -> DescribeTags
- describeTags_resourceId :: Lens' DescribeTags Text
- describeTags_resourceType :: Lens' DescribeTags TaggableResourceType
- data DescribeTagsResponse = DescribeTagsResponse' {
- resourceId :: Maybe Text
- resourceType :: Maybe TaggableResourceType
- tags :: Maybe [Tag]
- httpStatus :: Int
- newDescribeTagsResponse :: Int -> DescribeTagsResponse
- describeTagsResponse_resourceId :: Lens' DescribeTagsResponse (Maybe Text)
- describeTagsResponse_resourceType :: Lens' DescribeTagsResponse (Maybe TaggableResourceType)
- describeTagsResponse_tags :: 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:
DescribeTags
, describeTags_resourceId
- The ID of the ML object. For example, exampleModelId
.
DescribeTags
, describeTags_resourceType
- The type of the ML object.
Request Lenses
describeTags_resourceId :: Lens' DescribeTags Text Source #
The ID of the ML object. For example, exampleModelId
.
describeTags_resourceType :: Lens' DescribeTags TaggableResourceType Source #
The type of the ML object.
Destructuring the Response
data DescribeTagsResponse Source #
Amazon ML returns the following elements.
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:
DescribeTags
, describeTagsResponse_resourceId
- The ID of the tagged ML object.
DescribeTags
, describeTagsResponse_resourceType
- The type of the tagged ML object.
$sel:tags:DescribeTagsResponse'
, describeTagsResponse_tags
- A list of tags associated with the ML object.
$sel:httpStatus:DescribeTagsResponse'
, describeTagsResponse_httpStatus
- The response's http status code.
Response Lenses
describeTagsResponse_resourceId :: Lens' DescribeTagsResponse (Maybe Text) Source #
The ID of the tagged ML object.
describeTagsResponse_resourceType :: Lens' DescribeTagsResponse (Maybe TaggableResourceType) Source #
The type of the tagged ML object.
describeTagsResponse_tags :: Lens' DescribeTagsResponse (Maybe [Tag]) Source #
A list of tags associated with the ML object.
describeTagsResponse_httpStatus :: Lens' DescribeTagsResponse Int Source #
The response's http status code.