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 |
Updates an existing attribute group with new details.
Synopsis
- data UpdateAttributeGroup = UpdateAttributeGroup' {
- attributes :: Maybe Text
- description :: Maybe Text
- name :: Maybe Text
- attributeGroup :: Text
- newUpdateAttributeGroup :: Text -> UpdateAttributeGroup
- updateAttributeGroup_attributes :: Lens' UpdateAttributeGroup (Maybe Text)
- updateAttributeGroup_description :: Lens' UpdateAttributeGroup (Maybe Text)
- updateAttributeGroup_name :: 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: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.
UpdateAttributeGroup
, updateAttributeGroup_description
- The description of the attribute group that the user provides.
UpdateAttributeGroup
, updateAttributeGroup_name
- Deprecated: The new name of the attribute group. The name must be unique
in the region in which you are updating the attribute group. Please do
not use this field as we have stopped supporting name updates.
UpdateAttributeGroup
, updateAttributeGroup_attributeGroup
- The name or ID of the attribute group that holds the attributes to
describe the application.
Request Lenses
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_name :: Lens' UpdateAttributeGroup (Maybe Text) Source #
Deprecated: The new name of the attribute group. The name must be unique in the region in which you are updating the attribute group. Please do not use this field as we have stopped supporting name updates.
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
Generic UpdateAttributeGroupResponse Source # | |
Read UpdateAttributeGroupResponse Source # | |
Show UpdateAttributeGroupResponse Source # | |
NFData UpdateAttributeGroupResponse Source # | |
Defined in Amazonka.ServiceCatalogAppRegistry.UpdateAttributeGroup rnf :: UpdateAttributeGroupResponse -> () # | |
Eq UpdateAttributeGroupResponse Source # | |
type Rep UpdateAttributeGroupResponse Source # | |
Defined in Amazonka.ServiceCatalogAppRegistry.UpdateAttributeGroup type Rep UpdateAttributeGroupResponse = D1 ('MetaData "UpdateAttributeGroupResponse" "Amazonka.ServiceCatalogAppRegistry.UpdateAttributeGroup" "amazonka-servicecatalog-appregistry-2.0-KYx3j6twc2kJRq31A1B5os" '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:
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.