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 the specified tags to the specified Direct Connect resource. Each Direct Connect resource can have a maximum of 50 tags.
Each tag consists of a key and an optional value. If a tag with the same key is already associated with the Direct Connect resource, this action updates its value.
Synopsis
Creating a Request
Creates a value of TagResource
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
trResourceARN
- The Amazon Resource Name (ARN) of the Direct Connect resource. Example: arn:aws:directconnect:us-east-1:123456789012:dxcon/dxcon-fg5678ghtrTags
- The list of tags to add.
data TagResource Source #
Container for the parameters to the TagResource operation.
See: tagResource
smart constructor.
Instances
Request Lenses
trResourceARN :: Lens' TagResource Text Source #
The Amazon Resource Name (ARN) of the Direct Connect resource. Example: arn:aws:directconnect:us-east-1:123456789012:dxcon/dxcon-fg5678gh
Destructuring the Response
Creates a value of TagResourceResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
trrsResponseStatus
- -- | The response status code.
data TagResourceResponse Source #
The response received when TagResource is called.
See: tagResourceResponse
smart constructor.
Instances
Response Lenses
trrsResponseStatus :: Lens' TagResourceResponse Int Source #
- - | The response status code.