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 |
Adds or updates tags for the specified delivery stream. A tag is a key-value pair 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
- 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
:: Text | |
-> NonEmpty Tag | |
-> TagDeliveryStream |
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:
$sel:deliveryStreamName: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.