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 tags to a project.
Synopsis
- data TagProject = TagProject' {}
- newTagProject :: Text -> TagProject
- tagProject_id :: Lens' TagProject Text
- tagProject_tags :: Lens' TagProject (HashMap Text Text)
- data TagProjectResponse = TagProjectResponse' {}
- newTagProjectResponse :: Int -> TagProjectResponse
- tagProjectResponse_tags :: Lens' TagProjectResponse (Maybe (HashMap Text Text))
- tagProjectResponse_httpStatus :: Lens' TagProjectResponse Int
Creating a Request
data TagProject Source #
See: newTagProject
smart constructor.
Instances
Create a value of TagProject
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:id:TagProject'
, tagProject_id
- The ID of the project you want to add a tag to.
$sel:tags:TagProject'
, tagProject_tags
- The tags you want to add to the project.
Request Lenses
tagProject_id :: Lens' TagProject Text Source #
The ID of the project you want to add a tag to.
tagProject_tags :: Lens' TagProject (HashMap Text Text) Source #
The tags you want to add to the project.
Destructuring the Response
data TagProjectResponse Source #
See: newTagProjectResponse
smart constructor.
Instances
newTagProjectResponse Source #
Create a value of TagProjectResponse
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:tags:TagProject'
, tagProjectResponse_tags
- The tags for the project.
$sel:httpStatus:TagProjectResponse'
, tagProjectResponse_httpStatus
- The response's http status code.
Response Lenses
tagProjectResponse_tags :: Lens' TagProjectResponse (Maybe (HashMap Text Text)) Source #
The tags for the project.
tagProjectResponse_httpStatus :: Lens' TagProjectResponse Int Source #
The response's http status code.