amazonka-cognito-idp-2.0: Amazon Cognito Identity Provider SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.CognitoIdentityProvider.UpdateGroup

Description

Updates the specified group with the specified attributes.

Calling this action requires developer credentials.

Synopsis

Creating a Request

data UpdateGroup Source #

See: newUpdateGroup smart constructor.

Constructors

UpdateGroup' 

Fields

Instances

Instances details
ToJSON UpdateGroup Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.UpdateGroup

ToHeaders UpdateGroup Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.UpdateGroup

Methods

toHeaders :: UpdateGroup -> [Header] #

ToPath UpdateGroup Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.UpdateGroup

ToQuery UpdateGroup Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.UpdateGroup

AWSRequest UpdateGroup Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.UpdateGroup

Associated Types

type AWSResponse UpdateGroup #

Generic UpdateGroup Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.UpdateGroup

Associated Types

type Rep UpdateGroup :: Type -> Type #

Read UpdateGroup Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.UpdateGroup

Show UpdateGroup Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.UpdateGroup

NFData UpdateGroup Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.UpdateGroup

Methods

rnf :: UpdateGroup -> () #

Eq UpdateGroup Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.UpdateGroup

Hashable UpdateGroup Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.UpdateGroup

type AWSResponse UpdateGroup Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.UpdateGroup

type Rep UpdateGroup Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.UpdateGroup

type Rep UpdateGroup = D1 ('MetaData "UpdateGroup" "Amazonka.CognitoIdentityProvider.UpdateGroup" "amazonka-cognito-idp-2.0-D1ERgMvEVPG9z8cOLXdU2" 'False) (C1 ('MetaCons "UpdateGroup'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "precedence") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "roleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "groupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "userPoolId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newUpdateGroup 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:

UpdateGroup, updateGroup_description - A string containing the new description of the group.

UpdateGroup, updateGroup_precedence - The new precedence value for the group. For more information about this parameter, see CreateGroup.

UpdateGroup, updateGroup_roleArn - The new role Amazon Resource Name (ARN) for the group. This is used for setting the cognito:roles and cognito:preferred_role claims in the token.

UpdateGroup, updateGroup_groupName - The name of the group.

UpdateGroup, updateGroup_userPoolId - The user pool ID for the user pool.

Request Lenses

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

A string containing the new description of the group.

updateGroup_precedence :: Lens' UpdateGroup (Maybe Natural) Source #

The new precedence value for the group. For more information about this parameter, see CreateGroup.

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

The new role Amazon Resource Name (ARN) for the group. This is used for setting the cognito:roles and cognito:preferred_role claims in the token.

updateGroup_userPoolId :: Lens' UpdateGroup Text Source #

The user pool ID for the user pool.

Destructuring the Response

data UpdateGroupResponse Source #

See: newUpdateGroupResponse smart constructor.

Constructors

UpdateGroupResponse' 

Fields

Instances

Instances details
Generic UpdateGroupResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.UpdateGroup

Associated Types

type Rep UpdateGroupResponse :: Type -> Type #

Read UpdateGroupResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.UpdateGroup

Show UpdateGroupResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.UpdateGroup

NFData UpdateGroupResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.UpdateGroup

Methods

rnf :: UpdateGroupResponse -> () #

Eq UpdateGroupResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.UpdateGroup

type Rep UpdateGroupResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.UpdateGroup

type Rep UpdateGroupResponse = D1 ('MetaData "UpdateGroupResponse" "Amazonka.CognitoIdentityProvider.UpdateGroup" "amazonka-cognito-idp-2.0-D1ERgMvEVPG9z8cOLXdU2" 'False) (C1 ('MetaCons "UpdateGroupResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "group'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe GroupType)) :*: 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':UpdateGroupResponse', updateGroupResponse_group - The group object for the group.

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

Response Lenses