libZSservicesZSamazonka-cognito-idpZSamazonka-cognito-idp
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.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
Eq UpdateGroup Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.UpdateGroup

Read UpdateGroup Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.UpdateGroup

Show UpdateGroup Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.UpdateGroup

Generic UpdateGroup Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.UpdateGroup

Associated Types

type Rep UpdateGroup :: Type -> Type #

NFData UpdateGroup Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.UpdateGroup

Methods

rnf :: UpdateGroup -> () #

Hashable UpdateGroup Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.UpdateGroup

ToJSON UpdateGroup Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.UpdateGroup

AWSRequest UpdateGroup Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.UpdateGroup

Associated Types

type AWSResponse 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

type Rep UpdateGroup Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.UpdateGroup

type Rep UpdateGroup = D1 ('MetaData "UpdateGroup" "Amazonka.CognitoIdentityProvider.UpdateGroup" "libZSservicesZSamazonka-cognito-idpZSamazonka-cognito-idp" 'False) (C1 ('MetaCons "UpdateGroup'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "precedence") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (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)))))
type AWSResponse UpdateGroup Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.UpdateGroup

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:

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

$sel:description:UpdateGroup', updateGroup_description - A string containing the new description of the group.

$sel:roleArn:UpdateGroup', updateGroup_roleArn - The new role ARN for the group. This is used for setting the cognito:roles and cognito:preferred_role claims in the token.

$sel:groupName:UpdateGroup', updateGroup_groupName - The name of the group.

$sel:userPoolId:UpdateGroup', updateGroup_userPoolId - The user pool ID for the user pool.

Request Lenses

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

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

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

A string containing the new description of the group.

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

The new role 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
Eq UpdateGroupResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.UpdateGroup

Read UpdateGroupResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.UpdateGroup

Show UpdateGroupResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.UpdateGroup

Generic UpdateGroupResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.UpdateGroup

Associated Types

type Rep UpdateGroupResponse :: Type -> Type #

NFData UpdateGroupResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.UpdateGroup

Methods

rnf :: UpdateGroupResponse -> () #

type Rep UpdateGroupResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.UpdateGroup

type Rep UpdateGroupResponse = D1 ('MetaData "UpdateGroupResponse" "Amazonka.CognitoIdentityProvider.UpdateGroup" "libZSservicesZSamazonka-cognito-idpZSamazonka-cognito-idp" '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