Copyright | (c) 2013-2021 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 |
Lists the tags for the specified delivery stream. This operation has a limit of five transactions per second per account.
Synopsis
- data ListTagsForDeliveryStream = ListTagsForDeliveryStream' {}
- newListTagsForDeliveryStream :: Text -> ListTagsForDeliveryStream
- listTagsForDeliveryStream_limit :: Lens' ListTagsForDeliveryStream (Maybe Natural)
- listTagsForDeliveryStream_exclusiveStartTagKey :: Lens' ListTagsForDeliveryStream (Maybe Text)
- listTagsForDeliveryStream_deliveryStreamName :: Lens' ListTagsForDeliveryStream Text
- data ListTagsForDeliveryStreamResponse = ListTagsForDeliveryStreamResponse' {
- httpStatus :: Int
- tags :: [Tag]
- hasMoreTags :: Bool
- newListTagsForDeliveryStreamResponse :: Int -> Bool -> ListTagsForDeliveryStreamResponse
- listTagsForDeliveryStreamResponse_httpStatus :: Lens' ListTagsForDeliveryStreamResponse Int
- listTagsForDeliveryStreamResponse_tags :: Lens' ListTagsForDeliveryStreamResponse [Tag]
- listTagsForDeliveryStreamResponse_hasMoreTags :: Lens' ListTagsForDeliveryStreamResponse Bool
Creating a Request
data ListTagsForDeliveryStream Source #
See: newListTagsForDeliveryStream
smart constructor.
ListTagsForDeliveryStream' | |
|
Instances
newListTagsForDeliveryStream Source #
Create a value of ListTagsForDeliveryStream
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:
$sel:limit:ListTagsForDeliveryStream'
, listTagsForDeliveryStream_limit
- 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.
$sel:exclusiveStartTagKey:ListTagsForDeliveryStream'
, listTagsForDeliveryStream_exclusiveStartTagKey
- 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
.
$sel:deliveryStreamName:ListTagsForDeliveryStream'
, listTagsForDeliveryStream_deliveryStreamName
- The name of the delivery stream whose tags you want to list.
Request Lenses
listTagsForDeliveryStream_limit :: 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.
listTagsForDeliveryStream_exclusiveStartTagKey :: 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
.
listTagsForDeliveryStream_deliveryStreamName :: Lens' ListTagsForDeliveryStream Text Source #
The name of the delivery stream whose tags you want to list.
Destructuring the Response
data ListTagsForDeliveryStreamResponse Source #
See: newListTagsForDeliveryStreamResponse
smart constructor.
ListTagsForDeliveryStreamResponse' | |
|
Instances
newListTagsForDeliveryStreamResponse Source #
Create a value of ListTagsForDeliveryStreamResponse
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:
$sel:httpStatus:ListTagsForDeliveryStreamResponse'
, listTagsForDeliveryStreamResponse_httpStatus
- The response's http status code.
$sel:tags:ListTagsForDeliveryStreamResponse'
, listTagsForDeliveryStreamResponse_tags
- A list of tags associated with DeliveryStreamName
, starting with the
first tag after ExclusiveStartTagKey
and up to the specified Limit
.
$sel:hasMoreTags:ListTagsForDeliveryStreamResponse'
, listTagsForDeliveryStreamResponse_hasMoreTags
- 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.
Response Lenses
listTagsForDeliveryStreamResponse_httpStatus :: Lens' ListTagsForDeliveryStreamResponse Int Source #
The response's http status code.
listTagsForDeliveryStreamResponse_tags :: Lens' ListTagsForDeliveryStreamResponse [Tag] Source #
A list of tags associated with DeliveryStreamName
, starting with the
first tag after ExclusiveStartTagKey
and up to the specified Limit
.
listTagsForDeliveryStreamResponse_hasMoreTags :: 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.