| 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 |
Network.AWS.Firehose.ListTagsForDeliveryStream
Description
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
Arguments
| :: Text | |
| -> ListTagsForDeliveryStream |
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,HasMoreTagsis set totruein the response. To list additional tags, setExclusiveStartTagKeyto 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,ListTagsForDeliveryStreamgets all tags that occur afterExclusiveStartTagKey.ltfdsDeliveryStreamName- The name of the delivery stream whose tags you want to list.
data ListTagsForDeliveryStream #
See: listTagsForDeliveryStream smart constructor.
Instances
Request Lenses
ltfdsLimit :: Lens' ListTagsForDeliveryStream (Maybe Natural) #
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) #
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 #
The name of the delivery stream whose tags you want to list.
Destructuring the Response
listTagsForDeliveryStreamResponse #
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 afterExclusiveStartTagKeyand up to the specifiedLimit.ltfdsrsHasMoreTags- If this istruein the response, more tags are available. To list the remaining tags, setExclusiveStartTagKeyto the key of the last tag returned and callListTagsForDeliveryStreamagain.
data ListTagsForDeliveryStreamResponse #
See: listTagsForDeliveryStreamResponse smart constructor.
Instances
Response Lenses
ltfdsrsResponseStatus :: Lens' ListTagsForDeliveryStreamResponse Int #
- - | The response status code.
ltfdsrsTags :: Lens' ListTagsForDeliveryStreamResponse [Tag] #
A list of tags associated with DeliveryStreamName , starting with the first tag after ExclusiveStartTagKey and up to the specified Limit .
ltfdsrsHasMoreTags :: Lens' ListTagsForDeliveryStreamResponse Bool #
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.