Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Describes one or more of the tags for your Amazon ML object.
Synopsis
- describeTags :: Text -> TaggableResourceType -> DescribeTags
- data DescribeTags
- dtResourceId :: Lens' DescribeTags Text
- dtResourceType :: Lens' DescribeTags TaggableResourceType
- describeTagsResponse :: Int -> DescribeTagsResponse
- data DescribeTagsResponse
- dtrsResourceId :: Lens' DescribeTagsResponse (Maybe Text)
- dtrsResourceType :: Lens' DescribeTagsResponse (Maybe TaggableResourceType)
- dtrsTags :: Lens' DescribeTagsResponse [Tag]
- dtrsResponseStatus :: Lens' DescribeTagsResponse Int
Creating a Request
Creates a value of DescribeTags
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dtResourceId
- The ID of the ML object. For example,exampleModelId
.dtResourceType
- The type of the ML object.
data DescribeTags Source #
See: describeTags
smart constructor.
Instances
Request Lenses
dtResourceId :: Lens' DescribeTags Text Source #
The ID of the ML object. For example, exampleModelId
.
dtResourceType :: Lens' DescribeTags TaggableResourceType Source #
The type of the ML object.
Destructuring the Response
Creates a value of DescribeTagsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dtrsResourceId
- The ID of the tagged ML object.dtrsResourceType
- The type of the tagged ML object.dtrsTags
- A list of tags associated with the ML object.dtrsResponseStatus
- -- | The response status code.
data DescribeTagsResponse Source #
Amazon ML returns the following elements.
See: describeTagsResponse
smart constructor.
Instances
Response Lenses
dtrsResourceId :: Lens' DescribeTagsResponse (Maybe Text) Source #
The ID of the tagged ML object.
dtrsResourceType :: Lens' DescribeTagsResponse (Maybe TaggableResourceType) Source #
The type of the tagged ML object.
dtrsResponseStatus :: Lens' DescribeTagsResponse Int Source #
- - | The response status code.