Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Adds or updates tags for the specified delivery stream. A tag is a key-value pair that you can define and assign to Amazon Web Services 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 Amazon Web Services 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
- data TagDeliveryStream = TagDeliveryStream' {}
- newTagDeliveryStream :: Text -> NonEmpty Tag -> TagDeliveryStream
- tagDeliveryStream_deliveryStreamName :: Lens' TagDeliveryStream Text
- tagDeliveryStream_tags :: Lens' TagDeliveryStream (NonEmpty Tag)
- data TagDeliveryStreamResponse = TagDeliveryStreamResponse' {
- httpStatus :: Int
- newTagDeliveryStreamResponse :: Int -> TagDeliveryStreamResponse
- tagDeliveryStreamResponse_httpStatus :: Lens' TagDeliveryStreamResponse Int
Creating a Request
data TagDeliveryStream Source #
See: newTagDeliveryStream
smart constructor.
TagDeliveryStream' | |
|
Instances
Create a value of TagDeliveryStream
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:
TagDeliveryStream
, tagDeliveryStream_deliveryStreamName
- The name of the delivery stream to which you want to add the tags.
$sel:tags:TagDeliveryStream'
, tagDeliveryStream_tags
- A set of key-value pairs to use to create the tags.
Request Lenses
tagDeliveryStream_deliveryStreamName :: Lens' TagDeliveryStream Text Source #
The name of the delivery stream to which you want to add the tags.
tagDeliveryStream_tags :: Lens' TagDeliveryStream (NonEmpty Tag) Source #
A set of key-value pairs to use to create the tags.
Destructuring the Response
data TagDeliveryStreamResponse Source #
See: newTagDeliveryStreamResponse
smart constructor.
TagDeliveryStreamResponse' | |
|
Instances
newTagDeliveryStreamResponse Source #
Create a value of TagDeliveryStreamResponse
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:TagDeliveryStreamResponse'
, tagDeliveryStreamResponse_httpStatus
- The response's http status code.
Response Lenses
tagDeliveryStreamResponse_httpStatus :: Lens' TagDeliveryStreamResponse Int Source #
The response's http status code.