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 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.
AddTagsToOnPremisesInstances' | |
|
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:
$sel:tags: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.
Instances
Eq AddTagsToOnPremisesInstancesResponse Source # | |
Read AddTagsToOnPremisesInstancesResponse Source # | |
Show AddTagsToOnPremisesInstancesResponse Source # | |
Generic AddTagsToOnPremisesInstancesResponse Source # | |
Defined in Amazonka.CodeDeploy.AddTagsToOnPremisesInstances type Rep AddTagsToOnPremisesInstancesResponse :: Type -> Type # | |
NFData AddTagsToOnPremisesInstancesResponse Source # | |
Defined in Amazonka.CodeDeploy.AddTagsToOnPremisesInstances rnf :: AddTagsToOnPremisesInstancesResponse -> () # | |
type Rep AddTagsToOnPremisesInstancesResponse Source # | |
Defined in Amazonka.CodeDeploy.AddTagsToOnPremisesInstances type Rep AddTagsToOnPremisesInstancesResponse = D1 ('MetaData "AddTagsToOnPremisesInstancesResponse" "Amazonka.CodeDeploy.AddTagsToOnPremisesInstances" "libZSservicesZSamazonka-codedeployZSamazonka-codedeploy" 'False) (C1 ('MetaCons "AddTagsToOnPremisesInstancesResponse'" 'PrefixI 'False) (U1 :: Type -> Type)) |
newAddTagsToOnPremisesInstancesResponse :: AddTagsToOnPremisesInstancesResponse Source #
Create a value of AddTagsToOnPremisesInstancesResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.