update_group

update_group(**kwargs)

For the specified group in the specified identity store, updates the group metadata and attributes.

See also: AWS API Documentation

Request Syntax

response = client.update_group(
    IdentityStoreId='string',
    GroupId='string',
    Operations=[
        {
            'AttributePath': 'string',
            'AttributeValue': {...}|[...]|123|123.4|'string'|True|None
        },
    ]
)
Parameters
  • IdentityStoreId (string) --

    [REQUIRED]

    The globally unique identifier for the identity store.

  • GroupId (string) --

    [REQUIRED]

    The identifier for a group in the identity store.

  • Operations (list) --

    [REQUIRED]

    A list of AttributeOperation objects to apply to the requested group. These operations might add, replace, or remove an attribute.

    • (dict) --

      An operation that applies to the requested group. This operation might add, replace, or remove an attribute.

      • AttributePath (string) -- [REQUIRED]

        A string representation of the path to a given attribute or sub-attribute. Supports JMESPath.

      • AttributeValue (document) --

        The value of the attribute. This is a Document type. This type is not supported by Java V1, Go V1, and older versions of the AWS CLI.

Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

  • IdentityStore.Client.exceptions.ResourceNotFoundException
  • IdentityStore.Client.exceptions.ThrottlingException
  • IdentityStore.Client.exceptions.AccessDeniedException
  • IdentityStore.Client.exceptions.ConflictException
  • IdentityStore.Client.exceptions.InternalServerException
  • IdentityStore.Client.exceptions.ValidationException
  • IdentityStore.Client.exceptions.ServiceQuotaExceededException