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 |
Lists the tags for the specified delivery stream. This operation has a limit of five transactions per second per account.
- listTagsForDeliveryStream :: Text -> ListTagsForDeliveryStream
- data ListTagsForDeliveryStream
- ltfdsLimit :: Lens' ListTagsForDeliveryStream (Maybe Natural)
- ltfdsExclusiveStartTagKey :: Lens' ListTagsForDeliveryStream (Maybe Text)
- ltfdsDeliveryStreamName :: Lens' ListTagsForDeliveryStream Text
- listTagsForDeliveryStreamResponse :: Int -> Bool -> ListTagsForDeliveryStreamResponse
- data ListTagsForDeliveryStreamResponse
- ltfdsrsResponseStatus :: Lens' ListTagsForDeliveryStreamResponse Int
- ltfdsrsTags :: Lens' ListTagsForDeliveryStreamResponse [Tag]
- ltfdsrsHasMoreTags :: Lens' ListTagsForDeliveryStreamResponse Bool
Creating a Request
listTagsForDeliveryStream Source #
Creates a value of ListTagsForDeliveryStream
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ltfdsLimit
- The number of tags to return. If this number is less than the total number of tags associated with the delivery stream,HasMoreTags
is set totrue
in the response. To list additional tags, setExclusiveStartTagKey
to the last key in the response.ltfdsExclusiveStartTagKey
- The key to use as the starting point for the list of tags. If you set this parameter,ListTagsForDeliveryStream
gets all tags that occur afterExclusiveStartTagKey
.ltfdsDeliveryStreamName
- The name of the delivery stream whose tags you want to list.
data ListTagsForDeliveryStream Source #
See: listTagsForDeliveryStream
smart constructor.
Request Lenses
ltfdsLimit :: Lens' ListTagsForDeliveryStream (Maybe Natural) Source #
The number of tags to return. If this number is less than the total number of tags associated with the delivery stream, HasMoreTags
is set to true
in the response. To list additional tags, set ExclusiveStartTagKey
to the last key in the response.
ltfdsExclusiveStartTagKey :: Lens' ListTagsForDeliveryStream (Maybe Text) Source #
The key to use as the starting point for the list of tags. If you set this parameter, ListTagsForDeliveryStream
gets all tags that occur after ExclusiveStartTagKey
.
ltfdsDeliveryStreamName :: Lens' ListTagsForDeliveryStream Text Source #
The name of the delivery stream whose tags you want to list.
Destructuring the Response
listTagsForDeliveryStreamResponse Source #
Creates a value of ListTagsForDeliveryStreamResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ltfdsrsResponseStatus
- -- | The response status code.ltfdsrsTags
- A list of tags associated withDeliveryStreamName
, starting with the first tag afterExclusiveStartTagKey
and up to the specifiedLimit
.ltfdsrsHasMoreTags
- If this istrue
in the response, more tags are available. To list the remaining tags, setExclusiveStartTagKey
to the key of the last tag returned and callListTagsForDeliveryStream
again.
data ListTagsForDeliveryStreamResponse Source #
See: listTagsForDeliveryStreamResponse
smart constructor.
Response Lenses
ltfdsrsResponseStatus :: Lens' ListTagsForDeliveryStreamResponse Int Source #
- - | The response status code.
ltfdsrsTags :: Lens' ListTagsForDeliveryStreamResponse [Tag] Source #
A list of tags associated with DeliveryStreamName
, starting with the first tag after ExclusiveStartTagKey
and up to the specified Limit
.
ltfdsrsHasMoreTags :: Lens' ListTagsForDeliveryStreamResponse Bool Source #
If this is true
in the response, more tags are available. To list the remaining tags, set ExclusiveStartTagKey
to the key of the last tag returned and call ListTagsForDeliveryStream
again.