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 |
Creates a list of tags (key-value pairs) on the Lambda function. Requires the Lambda function ARN (Amazon Resource Name). If a key is specified without a value, Lambda creates a tag with the specified key and a value of null. For more information, see Tagging Lambda Functions in the AWS Lambda Developer Guide .
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:
trResource
- The ARN (Amazon Resource Name) of the Lambda function. For more information, see Tagging Lambda Functions in the AWS Lambda Developer Guide .trTags
- The list of tags (key-value pairs) you are assigning to the Lambda function. For more information, see Tagging Lambda Functions in the AWS Lambda Developer Guide .
data TagResource Source #
See: tagResource
smart constructor.
Instances
Request Lenses
trResource :: Lens' TagResource Text Source #
The ARN (Amazon Resource Name) of the Lambda function. For more information, see Tagging Lambda Functions in the AWS Lambda Developer Guide .
trTags :: Lens' TagResource (HashMap Text Text) Source #
The list of tags (key-value pairs) you are assigning to the Lambda function. For more information, see Tagging Lambda Functions in the AWS Lambda Developer Guide .
Destructuring the Response
tagResourceResponse :: TagResourceResponse Source #
Creates a value of TagResourceResponse
with the minimum fields required to make a request.
data TagResourceResponse Source #
See: tagResourceResponse
smart constructor.