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 |
Adds or updates tags for the specified delivery stream. A tag is a key-value pair (the value is optional) that you can define and assign to AWS resources. If you specify a tag that already exists, the tag value is replaced with the value that you specify in the request. Tags are metadata. For example, you can add friendly names and descriptions or other types of information that can help you distinguish the delivery stream. For more information about tags, see Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide .
Each delivery stream can have up to 50 tags.
This operation has a limit of five transactions per second per account.
Synopsis
- tagDeliveryStream :: Text -> NonEmpty Tag -> TagDeliveryStream
- data TagDeliveryStream
- tdsDeliveryStreamName :: Lens' TagDeliveryStream Text
- tdsTags :: Lens' TagDeliveryStream (NonEmpty Tag)
- tagDeliveryStreamResponse :: Int -> TagDeliveryStreamResponse
- data TagDeliveryStreamResponse
- tdsrsResponseStatus :: Lens' TagDeliveryStreamResponse Int
Creating a Request
Creates a value of TagDeliveryStream
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
tdsDeliveryStreamName
- The name of the delivery stream to which you want to add the tags.tdsTags
- A set of key-value pairs to use to create the tags.
data TagDeliveryStream Source #
See: tagDeliveryStream
smart constructor.
Instances
Request Lenses
tdsDeliveryStreamName :: Lens' TagDeliveryStream Text Source #
The name of the delivery stream to which you want to add the tags.
tdsTags :: Lens' TagDeliveryStream (NonEmpty Tag) Source #
A set of key-value pairs to use to create the tags.
Destructuring the Response
tagDeliveryStreamResponse Source #
Creates a value of TagDeliveryStreamResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
tdsrsResponseStatus
- -- | The response status code.
data TagDeliveryStreamResponse Source #
See: tagDeliveryStreamResponse
smart constructor.
Instances
Response Lenses
tdsrsResponseStatus :: Lens' TagDeliveryStreamResponse Int Source #
- - | The response status code.