libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ResourceGroups.UpdateGroup

Description

Updates the description for an existing group. You cannot update the name of a resource group.

Minimum permissions

To run this command, you must have the following permissions:

  • resource-groups:UpdateGroup
Synopsis

Creating a Request

data UpdateGroup Source #

See: newUpdateGroup smart constructor.

Constructors

UpdateGroup' 

Fields

  • group' :: Maybe Text

    The name or the ARN of the resource group to modify.

  • groupName :: Maybe Text

    Don't use this parameter. Use Group instead.

  • description :: Maybe Text

    The new description that you want to update the resource group with. Descriptions can contain letters, numbers, hyphens, underscores, periods, and spaces.

Instances

Instances details
Eq UpdateGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroup

Read UpdateGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroup

Show UpdateGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroup

Generic UpdateGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroup

Associated Types

type Rep UpdateGroup :: Type -> Type #

NFData UpdateGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroup

Methods

rnf :: UpdateGroup -> () #

Hashable UpdateGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroup

ToJSON UpdateGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroup

AWSRequest UpdateGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroup

Associated Types

type AWSResponse UpdateGroup #

ToHeaders UpdateGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroup

Methods

toHeaders :: UpdateGroup -> [Header] #

ToPath UpdateGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroup

ToQuery UpdateGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroup

type Rep UpdateGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroup

type Rep UpdateGroup = D1 ('MetaData "UpdateGroup" "Amazonka.ResourceGroups.UpdateGroup" "libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups" 'False) (C1 ('MetaCons "UpdateGroup'" 'PrefixI 'True) (S1 ('MetaSel ('Just "group'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "groupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))
type AWSResponse UpdateGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroup

newUpdateGroup :: UpdateGroup Source #

Create a value of UpdateGroup 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:group':UpdateGroup', updateGroup_group - The name or the ARN of the resource group to modify.

$sel:groupName:UpdateGroup', updateGroup_groupName - Don't use this parameter. Use Group instead.

$sel:description:UpdateGroup', updateGroup_description - The new description that you want to update the resource group with. Descriptions can contain letters, numbers, hyphens, underscores, periods, and spaces.

Request Lenses

updateGroup_group :: Lens' UpdateGroup (Maybe Text) Source #

The name or the ARN of the resource group to modify.

updateGroup_groupName :: Lens' UpdateGroup (Maybe Text) Source #

Don't use this parameter. Use Group instead.

updateGroup_description :: Lens' UpdateGroup (Maybe Text) Source #

The new description that you want to update the resource group with. Descriptions can contain letters, numbers, hyphens, underscores, periods, and spaces.

Destructuring the Response

data UpdateGroupResponse Source #

See: newUpdateGroupResponse smart constructor.

Constructors

UpdateGroupResponse' 

Fields

Instances

Instances details
Eq UpdateGroupResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroup

Read UpdateGroupResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroup

Show UpdateGroupResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroup

Generic UpdateGroupResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroup

Associated Types

type Rep UpdateGroupResponse :: Type -> Type #

NFData UpdateGroupResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroup

Methods

rnf :: UpdateGroupResponse -> () #

type Rep UpdateGroupResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroup

type Rep UpdateGroupResponse = D1 ('MetaData "UpdateGroupResponse" "Amazonka.ResourceGroups.UpdateGroup" "libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups" 'False) (C1 ('MetaCons "UpdateGroupResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "group'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Group)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateGroupResponse Source #

Create a value of UpdateGroupResponse 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:group':UpdateGroup', updateGroupResponse_group - The update description of the resource group.

$sel:httpStatus:UpdateGroupResponse', updateGroupResponse_httpStatus - The response's http status code.

Response Lenses

updateGroupResponse_group :: Lens' UpdateGroupResponse (Maybe Group) Source #

The update description of the resource group.