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 or modifies tags for the specified pipeline.
Synopsis
- data AddTags = AddTags' {
- pipelineId :: Text
- tags :: [Tag]
- newAddTags :: Text -> AddTags
- addTags_pipelineId :: Lens' AddTags Text
- addTags_tags :: Lens' AddTags [Tag]
- data AddTagsResponse = AddTagsResponse' {
- httpStatus :: Int
- newAddTagsResponse :: Int -> AddTagsResponse
- addTagsResponse_httpStatus :: Lens' AddTagsResponse Int
Creating a Request
Contains the parameters for AddTags.
See: newAddTags
smart constructor.
AddTags' | |
|
Instances
Create a value of AddTags
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:pipelineId:AddTags'
, addTags_pipelineId
- The ID of the pipeline.
$sel:tags:AddTags'
, addTags_tags
- The tags to add, as key/value pairs.
Request Lenses
Destructuring the Response
data AddTagsResponse Source #
Contains the output of AddTags.
See: newAddTagsResponse
smart constructor.
AddTagsResponse' | |
|
Instances
Create a value of AddTagsResponse
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:AddTagsResponse'
, addTagsResponse_httpStatus
- The response's http status code.
Response Lenses
addTagsResponse_httpStatus :: Lens' AddTagsResponse Int Source #
The response's http status code.