| 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 |
Amazonka.CodeStar.ListTagsForProject
Description
Gets the tags for a project.
Synopsis
- data ListTagsForProject = ListTagsForProject' {}
- newListTagsForProject :: Text -> ListTagsForProject
- listTagsForProject_nextToken :: Lens' ListTagsForProject (Maybe Text)
- listTagsForProject_maxResults :: Lens' ListTagsForProject (Maybe Natural)
- listTagsForProject_id :: Lens' ListTagsForProject Text
- data ListTagsForProjectResponse = ListTagsForProjectResponse' {}
- newListTagsForProjectResponse :: Int -> ListTagsForProjectResponse
- listTagsForProjectResponse_nextToken :: Lens' ListTagsForProjectResponse (Maybe Text)
- listTagsForProjectResponse_tags :: Lens' ListTagsForProjectResponse (Maybe (HashMap Text Text))
- listTagsForProjectResponse_httpStatus :: Lens' ListTagsForProjectResponse Int
Creating a Request
data ListTagsForProject Source #
See: newListTagsForProject smart constructor.
Constructors
| ListTagsForProject' | |
Instances
newListTagsForProject Source #
Arguments
| :: Text | |
| -> ListTagsForProject |
Create a value of ListTagsForProject 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:nextToken:ListTagsForProject', listTagsForProject_nextToken - Reserved for future use.
$sel:maxResults:ListTagsForProject', listTagsForProject_maxResults - Reserved for future use.
$sel:id:ListTagsForProject', listTagsForProject_id - The ID of the project to get tags for.
Request Lenses
listTagsForProject_nextToken :: Lens' ListTagsForProject (Maybe Text) Source #
Reserved for future use.
listTagsForProject_maxResults :: Lens' ListTagsForProject (Maybe Natural) Source #
Reserved for future use.
listTagsForProject_id :: Lens' ListTagsForProject Text Source #
The ID of the project to get tags for.
Destructuring the Response
data ListTagsForProjectResponse Source #
See: newListTagsForProjectResponse smart constructor.
Constructors
| ListTagsForProjectResponse' | |
Instances
newListTagsForProjectResponse Source #
Create a value of ListTagsForProjectResponse 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:nextToken:ListTagsForProject', listTagsForProjectResponse_nextToken - Reserved for future use.
$sel:tags:ListTagsForProjectResponse', listTagsForProjectResponse_tags - The tags for the project.
$sel:httpStatus:ListTagsForProjectResponse', listTagsForProjectResponse_httpStatus - The response's http status code.
Response Lenses
listTagsForProjectResponse_nextToken :: Lens' ListTagsForProjectResponse (Maybe Text) Source #
Reserved for future use.
listTagsForProjectResponse_tags :: Lens' ListTagsForProjectResponse (Maybe (HashMap Text Text)) Source #
The tags for the project.
listTagsForProjectResponse_httpStatus :: Lens' ListTagsForProjectResponse Int Source #
The response's http status code.