create_group
¶
create_group(
identity_store_id: IdentityStoreId,
*,
config_overrides: Optional[identitystoreClientConfig] = None,
display_name: Optional[GroupDisplayName] = None,
description: Optional[SensitiveStringType] = None,
) -> CreateGroupResponse
Creates a group within the specified identity store.
Parameters:
-
identity_store_id(IdentityStoreId) –The globally unique identifier for the identity store.
You can specify the identity store by ID or by Amazon Resource Name (ARN). For example, identity store ID
d-1234567890or identity store ARNarn:aws:identitystore::111122223333:identitystore/d-1234567890. -
display_name(Optional[GroupDisplayName], default:None) –A string containing the name of the group. This value is commonly displayed when the group is referenced.
AdministratorandAWSAdministratorsare reserved names and can't be used for users or groups. -
description(Optional[SensitiveStringType], default:None) –A string containing the description of the group.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
InternalServerException–The request processing has failed because of an unknown error, exception or failure with an internal server.
-
ThrottlingException–Indicates that the principal has crossed the throttling limits of the API operations.
-
ConflictException–This request cannot be completed for one of the following reasons:
-
Performing the requested operation would violate an existing uniqueness claim in the identity store. Resolve the conflict before retrying this request.
-
The requested resource was being concurrently modified by another request.
-
-
ResourceNotFoundException–Indicates that a requested resource is not found.
-
ServiceQuotaExceededException–The request would cause the number of users or groups in the identity store to exceed the maximum allowed.
-
ValidationException–The request failed because it contains a syntax error.
-
UnknownServiceError–The service returned an error code this client does not model.