| Copyright | (c) 2013-2017 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 |
Network.AWS.Lambda.TagResource
Description
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.
Creating a Request
Arguments
| :: Text | |
| -> TagResource |
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.trTags- The list of tags (key-value pairs) you are assigning to the Lambda function.
data TagResource Source #
See: tagResource smart constructor.
Instances
Request Lenses
trResource :: Lens' TagResource Text Source #
The ARN (Amazon Resource Name) of the Lambda function.
trTags :: Lens' TagResource (HashMap Text Text) Source #
The list of tags (key-value pairs) you are assigning to the Lambda function.
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.