| 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.DataPipeline.AddTags
Description
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.
Constructors
| AddTags' | |
Fields
| |
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:
AddTags, addTags_pipelineId - The ID of the pipeline.
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.
Constructors
| AddTagsResponse' | |
Fields
| |
Instances
Arguments
| :: Int | |
| -> AddTagsResponse |
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.