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 |
Returns the tags for the specified Amazon SageMaker resource.
This operation returns paginated results.
- listTags :: Text -> ListTags
- data ListTags
- ltNextToken :: Lens' ListTags (Maybe Text)
- ltMaxResults :: Lens' ListTags (Maybe Natural)
- ltResourceARN :: Lens' ListTags Text
- listTagsResponse :: Int -> ListTagsResponse
- data ListTagsResponse
- ltrsNextToken :: Lens' ListTagsResponse (Maybe Text)
- ltrsTags :: Lens' ListTagsResponse [Tag]
- ltrsResponseStatus :: Lens' ListTagsResponse Int
Creating a Request
Creates a value of ListTags
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ltNextToken
- If the response to the previousListTags
request is truncated, Amazon SageMaker returns this token. To retrieve the next set of tags, use it in the subsequent request.ltMaxResults
- Maximum number of tags to return.ltResourceARN
- The Amazon Resource Name (ARN) of the resource whose tags you want to retrieve.
See: listTags
smart constructor.
Request Lenses
ltNextToken :: Lens' ListTags (Maybe Text) Source #
If the response to the previous ListTags
request is truncated, Amazon SageMaker returns this token. To retrieve the next set of tags, use it in the subsequent request.
ltResourceARN :: Lens' ListTags Text Source #
The Amazon Resource Name (ARN) of the resource whose tags you want to retrieve.
Destructuring the Response
Creates a value of ListTagsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ltrsNextToken
- If response is truncated, Amazon SageMaker includes a token in the response. You can use this token in your subsequent request to fetch next set of tokens.ltrsTags
- An array ofTag
objects, each with a tag key and a value.ltrsResponseStatus
- -- | The response status code.
data ListTagsResponse Source #
See: listTagsResponse
smart constructor.
Response Lenses
ltrsNextToken :: Lens' ListTagsResponse (Maybe Text) Source #
If response is truncated, Amazon SageMaker includes a token in the response. You can use this token in your subsequent request to fetch next set of tokens.
ltrsTags :: Lens' ListTagsResponse [Tag] Source #
An array of Tag
objects, each with a tag key and a value.
ltrsResponseStatus :: Lens' ListTagsResponse Int Source #
- - | The response status code.