| 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.CodeDeploy.AddTagsToOnPremisesInstances
Description
Adds tags to on-premises instances.
Synopsis
- data AddTagsToOnPremisesInstances = AddTagsToOnPremisesInstances' {
- tags :: [Tag]
- instanceNames :: [Text]
- newAddTagsToOnPremisesInstances :: AddTagsToOnPremisesInstances
- addTagsToOnPremisesInstances_tags :: Lens' AddTagsToOnPremisesInstances [Tag]
- addTagsToOnPremisesInstances_instanceNames :: Lens' AddTagsToOnPremisesInstances [Text]
- data AddTagsToOnPremisesInstancesResponse = AddTagsToOnPremisesInstancesResponse' {
- newAddTagsToOnPremisesInstancesResponse :: AddTagsToOnPremisesInstancesResponse
Creating a Request
data AddTagsToOnPremisesInstances Source #
Represents the input of, and adds tags to, an on-premises instance operation.
See: newAddTagsToOnPremisesInstances smart constructor.
Constructors
| AddTagsToOnPremisesInstances' | |
Fields
| |
Instances
newAddTagsToOnPremisesInstances :: AddTagsToOnPremisesInstances Source #
Create a value of AddTagsToOnPremisesInstances 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:
AddTagsToOnPremisesInstances, addTagsToOnPremisesInstances_tags - The tag key-value pairs to add to the on-premises instances.
Keys and values are both required. Keys cannot be null or empty strings. Value-only tags are not allowed.
$sel:instanceNames:AddTagsToOnPremisesInstances', addTagsToOnPremisesInstances_instanceNames - The names of the on-premises instances to which to add tags.
Request Lenses
addTagsToOnPremisesInstances_tags :: Lens' AddTagsToOnPremisesInstances [Tag] Source #
The tag key-value pairs to add to the on-premises instances.
Keys and values are both required. Keys cannot be null or empty strings. Value-only tags are not allowed.
addTagsToOnPremisesInstances_instanceNames :: Lens' AddTagsToOnPremisesInstances [Text] Source #
The names of the on-premises instances to which to add tags.
Destructuring the Response
data AddTagsToOnPremisesInstancesResponse Source #
See: newAddTagsToOnPremisesInstancesResponse smart constructor.
Constructors
| AddTagsToOnPremisesInstancesResponse' | |
Instances
newAddTagsToOnPremisesInstancesResponse :: AddTagsToOnPremisesInstancesResponse Source #
Create a value of AddTagsToOnPremisesInstancesResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.