| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CodeStar.TagProject
Description
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.
Constructors
| TagProject' | |
Instances
Arguments
| :: Text | |
| -> TagProject |
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:
TagProject, tagProject_id - The ID of the project you want to add a tag to.
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.
Constructors
| TagProjectResponse' | |
Instances
newTagProjectResponse Source #
Arguments
| :: Int | |
| -> TagProjectResponse |
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:
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.