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 |
Creates the specified tags for the specified WorkSpaces resource.
Synopsis
- data CreateTags = CreateTags' {
- resourceId :: Text
- tags :: [Tag]
- newCreateTags :: Text -> CreateTags
- createTags_resourceId :: Lens' CreateTags Text
- createTags_tags :: Lens' CreateTags [Tag]
- data CreateTagsResponse = CreateTagsResponse' {
- httpStatus :: Int
- newCreateTagsResponse :: Int -> CreateTagsResponse
- createTagsResponse_httpStatus :: Lens' CreateTagsResponse Int
Creating a Request
data CreateTags Source #
See: newCreateTags
smart constructor.
CreateTags' | |
|
Instances
Create a value of CreateTags
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:resourceId:CreateTags'
, createTags_resourceId
- The identifier of the WorkSpaces resource. The supported resource types
are WorkSpaces, registered directories, images, custom bundles, IP
access control groups, and connection aliases.
$sel:tags:CreateTags'
, createTags_tags
- The tags. Each WorkSpaces resource can have a maximum of 50 tags.
Request Lenses
createTags_resourceId :: Lens' CreateTags Text Source #
The identifier of the WorkSpaces resource. The supported resource types are WorkSpaces, registered directories, images, custom bundles, IP access control groups, and connection aliases.
createTags_tags :: Lens' CreateTags [Tag] Source #
The tags. Each WorkSpaces resource can have a maximum of 50 tags.
Destructuring the Response
data CreateTagsResponse Source #
See: newCreateTagsResponse
smart constructor.
CreateTagsResponse' | |
|
Instances
newCreateTagsResponse Source #
Create a value of CreateTagsResponse
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:CreateTagsResponse'
, createTagsResponse_httpStatus
- The response's http status code.
Response Lenses
createTagsResponse_httpStatus :: Lens' CreateTagsResponse Int Source #
The response's http status code.