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 |
Updates an existing attribute group with new details.
Synopsis
- data UpdateAttributeGroup = UpdateAttributeGroup' {
- name :: Maybe Text
- attributes :: Maybe Text
- description :: Maybe Text
- attributeGroup :: Text
- newUpdateAttributeGroup :: Text -> UpdateAttributeGroup
- updateAttributeGroup_name :: Lens' UpdateAttributeGroup (Maybe Text)
- updateAttributeGroup_attributes :: Lens' UpdateAttributeGroup (Maybe Text)
- updateAttributeGroup_description :: Lens' UpdateAttributeGroup (Maybe Text)
- updateAttributeGroup_attributeGroup :: Lens' UpdateAttributeGroup Text
- data UpdateAttributeGroupResponse = UpdateAttributeGroupResponse' {}
- newUpdateAttributeGroupResponse :: Int -> UpdateAttributeGroupResponse
- updateAttributeGroupResponse_attributeGroup :: Lens' UpdateAttributeGroupResponse (Maybe AttributeGroup)
- updateAttributeGroupResponse_httpStatus :: Lens' UpdateAttributeGroupResponse Int
Creating a Request
data UpdateAttributeGroup Source #
See: newUpdateAttributeGroup
smart constructor.
UpdateAttributeGroup' | |
|
Instances
newUpdateAttributeGroup Source #
Create a value of UpdateAttributeGroup
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:name:UpdateAttributeGroup'
, updateAttributeGroup_name
- The new name of the attribute group. The name must be unique in the
region in which you are updating the attribute group.
$sel:attributes:UpdateAttributeGroup'
, updateAttributeGroup_attributes
- A JSON string in the form of nested key-value pairs that represent the
attributes in the group and describes an application and its components.
$sel:description:UpdateAttributeGroup'
, updateAttributeGroup_description
- The description of the attribute group that the user provides.
$sel:attributeGroup:UpdateAttributeGroup'
, updateAttributeGroup_attributeGroup
- The name or ID of the attribute group that holds the attributes to
describe the application.
Request Lenses
updateAttributeGroup_name :: Lens' UpdateAttributeGroup (Maybe Text) Source #
The new name of the attribute group. The name must be unique in the region in which you are updating the attribute group.
updateAttributeGroup_attributes :: Lens' UpdateAttributeGroup (Maybe Text) Source #
A JSON string in the form of nested key-value pairs that represent the attributes in the group and describes an application and its components.
updateAttributeGroup_description :: Lens' UpdateAttributeGroup (Maybe Text) Source #
The description of the attribute group that the user provides.
updateAttributeGroup_attributeGroup :: Lens' UpdateAttributeGroup Text Source #
The name or ID of the attribute group that holds the attributes to describe the application.
Destructuring the Response
data UpdateAttributeGroupResponse Source #
See: newUpdateAttributeGroupResponse
smart constructor.
UpdateAttributeGroupResponse' | |
|
Instances
Eq UpdateAttributeGroupResponse Source # | |
Read UpdateAttributeGroupResponse Source # | |
Show UpdateAttributeGroupResponse Source # | |
Generic UpdateAttributeGroupResponse Source # | |
NFData UpdateAttributeGroupResponse Source # | |
Defined in Amazonka.ServiceCatalogAppRegistry.UpdateAttributeGroup rnf :: UpdateAttributeGroupResponse -> () # | |
type Rep UpdateAttributeGroupResponse Source # | |
Defined in Amazonka.ServiceCatalogAppRegistry.UpdateAttributeGroup type Rep UpdateAttributeGroupResponse = D1 ('MetaData "UpdateAttributeGroupResponse" "Amazonka.ServiceCatalogAppRegistry.UpdateAttributeGroup" "libZSservicesZSamazonka-servicecatalog-appregistryZSamazonka-servicecatalog-appregistry" 'False) (C1 ('MetaCons "UpdateAttributeGroupResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "attributeGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AttributeGroup)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newUpdateAttributeGroupResponse Source #
Create a value of UpdateAttributeGroupResponse
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:attributeGroup:UpdateAttributeGroup'
, updateAttributeGroupResponse_attributeGroup
- The updated information of the attribute group.
$sel:httpStatus:UpdateAttributeGroupResponse'
, updateAttributeGroupResponse_httpStatus
- The response's http status code.
Response Lenses
updateAttributeGroupResponse_attributeGroup :: Lens' UpdateAttributeGroupResponse (Maybe AttributeGroup) Source #
The updated information of the attribute group.
updateAttributeGroupResponse_httpStatus :: Lens' UpdateAttributeGroupResponse Int Source #
The response's http status code.