[][src]Struct rusoto_cognito_idp::CognitoIdentityProviderClient

pub struct CognitoIdentityProviderClient { /* fields omitted */ }

A client for the Amazon Cognito Identity Provider API.

Methods

impl CognitoIdentityProviderClient[src]

pub fn new(region: Region) -> CognitoIdentityProviderClient[src]

Creates a client backed by the default tokio event loop.

The client will use the default credentials provider and tls client.

pub fn new_with<P, D>(
    request_dispatcher: D,
    credentials_provider: P,
    region: Region
) -> CognitoIdentityProviderClient where
    P: ProvideAwsCredentials + Send + Sync + 'static,
    P::Future: Send,
    D: DispatchSignedRequest + Send + Sync + 'static,
    D::Future: Send
[src]

Trait Implementations

impl CognitoIdentityProvider for CognitoIdentityProviderClient[src]

fn add_custom_attributes(
    &self,
    input: AddCustomAttributesRequest
) -> RusotoFuture<AddCustomAttributesResponse, AddCustomAttributesError>
[src]

Adds additional user attributes to the user pool schema.

fn admin_add_user_to_group(
    &self,
    input: AdminAddUserToGroupRequest
) -> RusotoFuture<(), AdminAddUserToGroupError>
[src]

Adds the specified user to the specified group.

Requires developer credentials.

fn admin_confirm_sign_up(
    &self,
    input: AdminConfirmSignUpRequest
) -> RusotoFuture<AdminConfirmSignUpResponse, AdminConfirmSignUpError>
[src]

Confirms user registration as an admin without using a confirmation code. Works on any user.

Requires developer credentials.

fn admin_create_user(
    &self,
    input: AdminCreateUserRequest
) -> RusotoFuture<AdminCreateUserResponse, AdminCreateUserError>
[src]

Creates a new user in the specified user pool.

If MessageAction is not set, the default is to send a welcome message via email or phone (SMS).

This message is based on a template that you configured in your call to or . This template includes your custom sign-up instructions and placeholders for user name and temporary password.

Alternatively, you can call AdminCreateUser with “SUPPRESS” for the MessageAction parameter, and Amazon Cognito will not send any email.

In either case, the user will be in the FORCE_CHANGE_PASSWORD state until they sign in and change their password.

AdminCreateUser requires developer credentials.

fn admin_delete_user(
    &self,
    input: AdminDeleteUserRequest
) -> RusotoFuture<(), AdminDeleteUserError>
[src]

Deletes a user as an administrator. Works on any user.

Requires developer credentials.

fn admin_delete_user_attributes(
    &self,
    input: AdminDeleteUserAttributesRequest
) -> RusotoFuture<AdminDeleteUserAttributesResponse, AdminDeleteUserAttributesError>
[src]

Deletes the user attributes in a user pool as an administrator. Works on any user.

Requires developer credentials.

fn admin_disable_provider_for_user(
    &self,
    input: AdminDisableProviderForUserRequest
) -> RusotoFuture<AdminDisableProviderForUserResponse, AdminDisableProviderForUserError>
[src]

Disables the user from signing in with the specified external (SAML or social) identity provider. If the user to disable is a Cognito User Pools native username + password user, they are not permitted to use their password to sign-in. If the user to disable is a linked external IdP user, any link between that user and an existing user is removed. The next time the external user (no longer attached to the previously linked DestinationUser) signs in, they must create a new user account. See .

This action is enabled only for admin access and requires developer credentials.

The ProviderName must match the value specified when creating an IdP for the pool.

To disable a native username + password user, the ProviderName value must be Cognito and the ProviderAttributeName must be Cognito_Subject, with the ProviderAttributeValue being the name that is used in the user pool for the user.

The ProviderAttributeName must always be Cognito_Subject for social identity providers. The ProviderAttributeValue must always be the exact subject that was used when the user was originally linked as a source user.

For de-linking a SAML identity, there are two scenarios. If the linked identity has not yet been used to sign-in, the ProviderAttributeName and ProviderAttributeValue must be the same values that were used for the SourceUser when the identities were originally linked in the call. (If the linking was done with ProviderAttributeName set to Cognito_Subject, the same applies here). However, if the user has already signed in, the ProviderAttributeName must be Cognito_Subject and ProviderAttributeValue must be the subject of the SAML assertion.

fn admin_disable_user(
    &self,
    input: AdminDisableUserRequest
) -> RusotoFuture<AdminDisableUserResponse, AdminDisableUserError>
[src]

Disables the specified user as an administrator. Works on any user.

Requires developer credentials.

fn admin_enable_user(
    &self,
    input: AdminEnableUserRequest
) -> RusotoFuture<AdminEnableUserResponse, AdminEnableUserError>
[src]

Enables the specified user as an administrator. Works on any user.

Requires developer credentials.

fn admin_forget_device(
    &self,
    input: AdminForgetDeviceRequest
) -> RusotoFuture<(), AdminForgetDeviceError>
[src]

Forgets the device, as an administrator.

Requires developer credentials.

fn admin_get_device(
    &self,
    input: AdminGetDeviceRequest
) -> RusotoFuture<AdminGetDeviceResponse, AdminGetDeviceError>
[src]

Gets the device, as an administrator.

Requires developer credentials.

fn admin_get_user(
    &self,
    input: AdminGetUserRequest
) -> RusotoFuture<AdminGetUserResponse, AdminGetUserError>
[src]

Gets the specified user by user name in a user pool as an administrator. Works on any user.

Requires developer credentials.

fn admin_initiate_auth(
    &self,
    input: AdminInitiateAuthRequest
) -> RusotoFuture<AdminInitiateAuthResponse, AdminInitiateAuthError>
[src]

Initiates the authentication flow, as an administrator.

Requires developer credentials.

Links an existing user account in a user pool (DestinationUser) to an identity from an external identity provider (SourceUser) based on a specified attribute name and value from the external identity provider. This allows you to create a link from the existing user account to an external federated user identity that has not yet been used to sign in, so that the federated user identity can be used to sign in as the existing user account.

For example, if there is an existing user with a username and password, this API links that user to a federated user identity, so that when the federated user identity is used, the user signs in as the existing user account.

Because this API allows a user with an external federated identity to sign in as an existing user in the user pool, it is critical that it only be used with external identity providers and provider attributes that have been trusted by the application owner.

See also .

This action is enabled only for admin access and requires developer credentials.

fn admin_list_devices(
    &self,
    input: AdminListDevicesRequest
) -> RusotoFuture<AdminListDevicesResponse, AdminListDevicesError>
[src]

Lists devices, as an administrator.

Requires developer credentials.

fn admin_list_groups_for_user(
    &self,
    input: AdminListGroupsForUserRequest
) -> RusotoFuture<AdminListGroupsForUserResponse, AdminListGroupsForUserError>
[src]

Lists the groups that the user belongs to.

Requires developer credentials.

fn admin_list_user_auth_events(
    &self,
    input: AdminListUserAuthEventsRequest
) -> RusotoFuture<AdminListUserAuthEventsResponse, AdminListUserAuthEventsError>
[src]

Lists a history of user activity and any risks detected as part of Amazon Cognito advanced security.

fn admin_remove_user_from_group(
    &self,
    input: AdminRemoveUserFromGroupRequest
) -> RusotoFuture<(), AdminRemoveUserFromGroupError>
[src]

Removes the specified user from the specified group.

Requires developer credentials.

fn admin_reset_user_password(
    &self,
    input: AdminResetUserPasswordRequest
) -> RusotoFuture<AdminResetUserPasswordResponse, AdminResetUserPasswordError>
[src]

Resets the specified user's password in a user pool as an administrator. Works on any user.

When a developer calls this API, the current password is invalidated, so it must be changed. If a user tries to sign in after the API is called, the app will get a PasswordResetRequiredException exception back and should direct the user down the flow to reset the password, which is the same as the forgot password flow. In addition, if the user pool has phone verification selected and a verified phone number exists for the user, or if email verification is selected and a verified email exists for the user, calling this API will also result in sending a message to the end user with the code to change their password.

Requires developer credentials.

fn admin_respond_to_auth_challenge(
    &self,
    input: AdminRespondToAuthChallengeRequest
) -> RusotoFuture<AdminRespondToAuthChallengeResponse, AdminRespondToAuthChallengeError>
[src]

Responds to an authentication challenge, as an administrator.

Requires developer credentials.

fn admin_set_user_mfa_preference(
    &self,
    input: AdminSetUserMFAPreferenceRequest
) -> RusotoFuture<AdminSetUserMFAPreferenceResponse, AdminSetUserMFAPreferenceError>
[src]

Sets the user's multi-factor authentication (MFA) preference.

fn admin_set_user_settings(
    &self,
    input: AdminSetUserSettingsRequest
) -> RusotoFuture<AdminSetUserSettingsResponse, AdminSetUserSettingsError>
[src]

Sets all the user settings for a specified user name. Works on any user.

Requires developer credentials.

fn admin_update_auth_event_feedback(
    &self,
    input: AdminUpdateAuthEventFeedbackRequest
) -> RusotoFuture<AdminUpdateAuthEventFeedbackResponse, AdminUpdateAuthEventFeedbackError>
[src]

Provides feedback for an authentication event as to whether it was from a valid user. This feedback is used for improving the risk evaluation decision for the user pool as part of Amazon Cognito advanced security.

fn admin_update_device_status(
    &self,
    input: AdminUpdateDeviceStatusRequest
) -> RusotoFuture<AdminUpdateDeviceStatusResponse, AdminUpdateDeviceStatusError>
[src]

Updates the device status as an administrator.

Requires developer credentials.

fn admin_update_user_attributes(
    &self,
    input: AdminUpdateUserAttributesRequest
) -> RusotoFuture<AdminUpdateUserAttributesResponse, AdminUpdateUserAttributesError>
[src]

Updates the specified user's attributes, including developer attributes, as an administrator. Works on any user.

For custom attributes, you must prepend the custom: prefix to the attribute name.

In addition to updating user attributes, this API can also be used to mark phone and email as verified.

Requires developer credentials.

fn admin_user_global_sign_out(
    &self,
    input: AdminUserGlobalSignOutRequest
) -> RusotoFuture<AdminUserGlobalSignOutResponse, AdminUserGlobalSignOutError>
[src]

Signs out users from all devices, as an administrator.

Requires developer credentials.

fn associate_software_token(
    &self,
    input: AssociateSoftwareTokenRequest
) -> RusotoFuture<AssociateSoftwareTokenResponse, AssociateSoftwareTokenError>
[src]

Returns a unique generated shared secret key code for the user account. The request takes an access token or a session string, but not both.

fn change_password(
    &self,
    input: ChangePasswordRequest
) -> RusotoFuture<ChangePasswordResponse, ChangePasswordError>
[src]

Changes the password for a specified user in a user pool.

fn confirm_device(
    &self,
    input: ConfirmDeviceRequest
) -> RusotoFuture<ConfirmDeviceResponse, ConfirmDeviceError>
[src]

Confirms tracking of the device. This API call is the call that begins device tracking.

fn confirm_forgot_password(
    &self,
    input: ConfirmForgotPasswordRequest
) -> RusotoFuture<ConfirmForgotPasswordResponse, ConfirmForgotPasswordError>
[src]

Allows a user to enter a confirmation code to reset a forgotten password.

fn confirm_sign_up(
    &self,
    input: ConfirmSignUpRequest
) -> RusotoFuture<ConfirmSignUpResponse, ConfirmSignUpError>
[src]

Confirms registration of a user and handles the existing alias from a previous user.

fn create_group(
    &self,
    input: CreateGroupRequest
) -> RusotoFuture<CreateGroupResponse, CreateGroupError>
[src]

Creates a new group in the specified user pool.

Requires developer credentials.

fn create_identity_provider(
    &self,
    input: CreateIdentityProviderRequest
) -> RusotoFuture<CreateIdentityProviderResponse, CreateIdentityProviderError>
[src]

Creates an identity provider for a user pool.

fn create_resource_server(
    &self,
    input: CreateResourceServerRequest
) -> RusotoFuture<CreateResourceServerResponse, CreateResourceServerError>
[src]

Creates a new OAuth2.0 resource server and defines custom scopes in it.

fn create_user_import_job(
    &self,
    input: CreateUserImportJobRequest
) -> RusotoFuture<CreateUserImportJobResponse, CreateUserImportJobError>
[src]

Creates the user import job.

fn create_user_pool(
    &self,
    input: CreateUserPoolRequest
) -> RusotoFuture<CreateUserPoolResponse, CreateUserPoolError>
[src]

Creates a new Amazon Cognito user pool and sets the password policy for the pool.

fn create_user_pool_client(
    &self,
    input: CreateUserPoolClientRequest
) -> RusotoFuture<CreateUserPoolClientResponse, CreateUserPoolClientError>
[src]

Creates the user pool client.

fn create_user_pool_domain(
    &self,
    input: CreateUserPoolDomainRequest
) -> RusotoFuture<CreateUserPoolDomainResponse, CreateUserPoolDomainError>
[src]

Creates a new domain for a user pool.

fn delete_group(
    &self,
    input: DeleteGroupRequest
) -> RusotoFuture<(), DeleteGroupError>
[src]

Deletes a group. Currently only groups with no members can be deleted.

Requires developer credentials.

fn delete_identity_provider(
    &self,
    input: DeleteIdentityProviderRequest
) -> RusotoFuture<(), DeleteIdentityProviderError>
[src]

Deletes an identity provider for a user pool.

fn delete_resource_server(
    &self,
    input: DeleteResourceServerRequest
) -> RusotoFuture<(), DeleteResourceServerError>
[src]

Deletes a resource server.

fn delete_user(
    &self,
    input: DeleteUserRequest
) -> RusotoFuture<(), DeleteUserError>
[src]

Allows a user to delete himself or herself.

fn delete_user_attributes(
    &self,
    input: DeleteUserAttributesRequest
) -> RusotoFuture<DeleteUserAttributesResponse, DeleteUserAttributesError>
[src]

Deletes the attributes for a user.

fn delete_user_pool(
    &self,
    input: DeleteUserPoolRequest
) -> RusotoFuture<(), DeleteUserPoolError>
[src]

Deletes the specified Amazon Cognito user pool.

fn delete_user_pool_client(
    &self,
    input: DeleteUserPoolClientRequest
) -> RusotoFuture<(), DeleteUserPoolClientError>
[src]

Allows the developer to delete the user pool client.

fn delete_user_pool_domain(
    &self,
    input: DeleteUserPoolDomainRequest
) -> RusotoFuture<DeleteUserPoolDomainResponse, DeleteUserPoolDomainError>
[src]

Deletes a domain for a user pool.

fn describe_identity_provider(
    &self,
    input: DescribeIdentityProviderRequest
) -> RusotoFuture<DescribeIdentityProviderResponse, DescribeIdentityProviderError>
[src]

Gets information about a specific identity provider.

fn describe_resource_server(
    &self,
    input: DescribeResourceServerRequest
) -> RusotoFuture<DescribeResourceServerResponse, DescribeResourceServerError>
[src]

Describes a resource server.

fn describe_risk_configuration(
    &self,
    input: DescribeRiskConfigurationRequest
) -> RusotoFuture<DescribeRiskConfigurationResponse, DescribeRiskConfigurationError>
[src]

Describes the risk configuration.

fn describe_user_import_job(
    &self,
    input: DescribeUserImportJobRequest
) -> RusotoFuture<DescribeUserImportJobResponse, DescribeUserImportJobError>
[src]

Describes the user import job.

fn describe_user_pool(
    &self,
    input: DescribeUserPoolRequest
) -> RusotoFuture<DescribeUserPoolResponse, DescribeUserPoolError>
[src]

Returns the configuration information and metadata of the specified user pool.

fn describe_user_pool_client(
    &self,
    input: DescribeUserPoolClientRequest
) -> RusotoFuture<DescribeUserPoolClientResponse, DescribeUserPoolClientError>
[src]

Client method for returning the configuration information and metadata of the specified user pool app client.

fn describe_user_pool_domain(
    &self,
    input: DescribeUserPoolDomainRequest
) -> RusotoFuture<DescribeUserPoolDomainResponse, DescribeUserPoolDomainError>
[src]

Gets information about a domain.

fn forget_device(
    &self,
    input: ForgetDeviceRequest
) -> RusotoFuture<(), ForgetDeviceError>
[src]

Forgets the specified device.

fn forgot_password(
    &self,
    input: ForgotPasswordRequest
) -> RusotoFuture<ForgotPasswordResponse, ForgotPasswordError>
[src]

Calling this API causes a message to be sent to the end user with a confirmation code that is required to change the user's password. For the Username parameter, you can use the username or user alias. If a verified phone number exists for the user, the confirmation code is sent to the phone number. Otherwise, if a verified email exists, the confirmation code is sent to the email. If neither a verified phone number nor a verified email exists, InvalidParameterException is thrown. To use the confirmation code for resetting the password, call .

fn get_csv_header(
    &self,
    input: GetCSVHeaderRequest
) -> RusotoFuture<GetCSVHeaderResponse, GetCSVHeaderError>
[src]

Gets the header information for the .csv file to be used as input for the user import job.

fn get_device(
    &self,
    input: GetDeviceRequest
) -> RusotoFuture<GetDeviceResponse, GetDeviceError>
[src]

Gets the device.

fn get_group(
    &self,
    input: GetGroupRequest
) -> RusotoFuture<GetGroupResponse, GetGroupError>
[src]

Gets a group.

Requires developer credentials.

fn get_identity_provider_by_identifier(
    &self,
    input: GetIdentityProviderByIdentifierRequest
) -> RusotoFuture<GetIdentityProviderByIdentifierResponse, GetIdentityProviderByIdentifierError>
[src]

Gets the specified identity provider.

fn get_signing_certificate(
    &self,
    input: GetSigningCertificateRequest
) -> RusotoFuture<GetSigningCertificateResponse, GetSigningCertificateError>
[src]

This method takes a user pool ID, and returns the signing certificate.

fn get_ui_customization(
    &self,
    input: GetUICustomizationRequest
) -> RusotoFuture<GetUICustomizationResponse, GetUICustomizationError>
[src]

Gets the UI Customization information for a particular app client's app UI, if there is something set. If nothing is set for the particular client, but there is an existing pool level customization (app clientId will be ALL), then that is returned. If nothing is present, then an empty shape is returned.

fn get_user(
    &self,
    input: GetUserRequest
) -> RusotoFuture<GetUserResponse, GetUserError>
[src]

Gets the user attributes and metadata for a user.

fn get_user_attribute_verification_code(
    &self,
    input: GetUserAttributeVerificationCodeRequest
) -> RusotoFuture<GetUserAttributeVerificationCodeResponse, GetUserAttributeVerificationCodeError>
[src]

Gets the user attribute verification code for the specified attribute name.

fn get_user_pool_mfa_config(
    &self,
    input: GetUserPoolMfaConfigRequest
) -> RusotoFuture<GetUserPoolMfaConfigResponse, GetUserPoolMfaConfigError>
[src]

Gets the user pool multi-factor authentication (MFA) configuration.

fn global_sign_out(
    &self,
    input: GlobalSignOutRequest
) -> RusotoFuture<GlobalSignOutResponse, GlobalSignOutError>
[src]

Signs out users from all devices.

fn initiate_auth(
    &self,
    input: InitiateAuthRequest
) -> RusotoFuture<InitiateAuthResponse, InitiateAuthError>
[src]

Initiates the authentication flow.

fn list_devices(
    &self,
    input: ListDevicesRequest
) -> RusotoFuture<ListDevicesResponse, ListDevicesError>
[src]

Lists the devices.

fn list_groups(
    &self,
    input: ListGroupsRequest
) -> RusotoFuture<ListGroupsResponse, ListGroupsError>
[src]

Lists the groups associated with a user pool.

Requires developer credentials.

fn list_identity_providers(
    &self,
    input: ListIdentityProvidersRequest
) -> RusotoFuture<ListIdentityProvidersResponse, ListIdentityProvidersError>
[src]

Lists information about all identity providers for a user pool.

fn list_resource_servers(
    &self,
    input: ListResourceServersRequest
) -> RusotoFuture<ListResourceServersResponse, ListResourceServersError>
[src]

Lists the resource servers for a user pool.

fn list_tags_for_resource(
    &self,
    input: ListTagsForResourceRequest
) -> RusotoFuture<ListTagsForResourceResponse, ListTagsForResourceError>
[src]

Lists the tags that are assigned to an Amazon Cognito user pool.

A tag is a label that you can apply to user pools to categorize and manage them in different ways, such as by purpose, owner, environment, or other criteria.

You can use this action up to 10 times per second, per account.

fn list_user_import_jobs(
    &self,
    input: ListUserImportJobsRequest
) -> RusotoFuture<ListUserImportJobsResponse, ListUserImportJobsError>
[src]

Lists the user import jobs.

fn list_user_pool_clients(
    &self,
    input: ListUserPoolClientsRequest
) -> RusotoFuture<ListUserPoolClientsResponse, ListUserPoolClientsError>
[src]

Lists the clients that have been created for the specified user pool.

fn list_user_pools(
    &self,
    input: ListUserPoolsRequest
) -> RusotoFuture<ListUserPoolsResponse, ListUserPoolsError>
[src]

Lists the user pools associated with an AWS account.

fn list_users(
    &self,
    input: ListUsersRequest
) -> RusotoFuture<ListUsersResponse, ListUsersError>
[src]

Lists the users in the Amazon Cognito user pool.

fn list_users_in_group(
    &self,
    input: ListUsersInGroupRequest
) -> RusotoFuture<ListUsersInGroupResponse, ListUsersInGroupError>
[src]

Lists the users in the specified group.

Requires developer credentials.

fn resend_confirmation_code(
    &self,
    input: ResendConfirmationCodeRequest
) -> RusotoFuture<ResendConfirmationCodeResponse, ResendConfirmationCodeError>
[src]

Resends the confirmation (for confirmation of registration) to a specific user in the user pool.

fn respond_to_auth_challenge(
    &self,
    input: RespondToAuthChallengeRequest
) -> RusotoFuture<RespondToAuthChallengeResponse, RespondToAuthChallengeError>
[src]

Responds to the authentication challenge.

fn set_risk_configuration(
    &self,
    input: SetRiskConfigurationRequest
) -> RusotoFuture<SetRiskConfigurationResponse, SetRiskConfigurationError>
[src]

Configures actions on detected risks. To delete the risk configuration for UserPoolId or ClientId, pass null values for all four configuration types.

To enable Amazon Cognito advanced security features, update the user pool to include the UserPoolAddOns keyAdvancedSecurityMode.

See .

fn set_ui_customization(
    &self,
    input: SetUICustomizationRequest
) -> RusotoFuture<SetUICustomizationResponse, SetUICustomizationError>
[src]

Sets the UI customization information for a user pool's built-in app UI.

You can specify app UI customization settings for a single client (with a specific clientId) or for all clients (by setting the clientId to ALL). If you specify ALL, the default configuration will be used for every client that has no UI customization set previously. If you specify UI customization settings for a particular client, it will no longer fall back to the ALL configuration.

To use this API, your user pool must have a domain associated with it. Otherwise, there is no place to host the app's pages, and the service will throw an error.

fn set_user_mfa_preference(
    &self,
    input: SetUserMFAPreferenceRequest
) -> RusotoFuture<SetUserMFAPreferenceResponse, SetUserMFAPreferenceError>
[src]

Set the user's multi-factor authentication (MFA) method preference.

fn set_user_pool_mfa_config(
    &self,
    input: SetUserPoolMfaConfigRequest
) -> RusotoFuture<SetUserPoolMfaConfigResponse, SetUserPoolMfaConfigError>
[src]

Set the user pool MFA configuration.

fn set_user_settings(
    &self,
    input: SetUserSettingsRequest
) -> RusotoFuture<SetUserSettingsResponse, SetUserSettingsError>
[src]

Sets the user settings like multi-factor authentication (MFA). If MFA is to be removed for a particular attribute pass the attribute with code delivery as null. If null list is passed, all MFA options are removed.

fn sign_up(
    &self,
    input: SignUpRequest
) -> RusotoFuture<SignUpResponse, SignUpError>
[src]

Registers the user in the specified user pool and creates a user name, password, and user attributes.

fn start_user_import_job(
    &self,
    input: StartUserImportJobRequest
) -> RusotoFuture<StartUserImportJobResponse, StartUserImportJobError>
[src]

Starts the user import.

fn stop_user_import_job(
    &self,
    input: StopUserImportJobRequest
) -> RusotoFuture<StopUserImportJobResponse, StopUserImportJobError>
[src]

Stops the user import job.

fn tag_resource(
    &self,
    input: TagResourceRequest
) -> RusotoFuture<TagResourceResponse, TagResourceError>
[src]

Assigns a set of tags to an Amazon Cognito user pool. A tag is a label that you can use to categorize and manage user pools in different ways, such as by purpose, owner, environment, or other criteria.

Each tag consists of a key and value, both of which you define. A key is a general category for more specific values. For example, if you have two versions of a user pool, one for testing and another for production, you might assign an Environment tag key to both user pools. The value of this key might be Test for one user pool and Production for the other.

Tags are useful for cost tracking and access control. You can activate your tags so that they appear on the Billing and Cost Management console, where you can track the costs associated with your user pools. In an IAM policy, you can constrain permissions for user pools based on specific tags or tag values.

You can use this action up to 5 times per second, per account. A user pool can have as many as 50 tags.

fn untag_resource(
    &self,
    input: UntagResourceRequest
) -> RusotoFuture<UntagResourceResponse, UntagResourceError>
[src]

Removes the specified tags from an Amazon Cognito user pool. You can use this action up to 5 times per second, per account

fn update_auth_event_feedback(
    &self,
    input: UpdateAuthEventFeedbackRequest
) -> RusotoFuture<UpdateAuthEventFeedbackResponse, UpdateAuthEventFeedbackError>
[src]

Provides the feedback for an authentication event whether it was from a valid user or not. This feedback is used for improving the risk evaluation decision for the user pool as part of Amazon Cognito advanced security.

fn update_device_status(
    &self,
    input: UpdateDeviceStatusRequest
) -> RusotoFuture<UpdateDeviceStatusResponse, UpdateDeviceStatusError>
[src]

Updates the device status.

fn update_group(
    &self,
    input: UpdateGroupRequest
) -> RusotoFuture<UpdateGroupResponse, UpdateGroupError>
[src]

Updates the specified group with the specified attributes.

Requires developer credentials.

fn update_identity_provider(
    &self,
    input: UpdateIdentityProviderRequest
) -> RusotoFuture<UpdateIdentityProviderResponse, UpdateIdentityProviderError>
[src]

Updates identity provider information for a user pool.

fn update_resource_server(
    &self,
    input: UpdateResourceServerRequest
) -> RusotoFuture<UpdateResourceServerResponse, UpdateResourceServerError>
[src]

Updates the name and scopes of resource server. All other fields are read-only.

fn update_user_attributes(
    &self,
    input: UpdateUserAttributesRequest
) -> RusotoFuture<UpdateUserAttributesResponse, UpdateUserAttributesError>
[src]

Allows a user to update a specific attribute (one at a time).

fn update_user_pool(
    &self,
    input: UpdateUserPoolRequest
) -> RusotoFuture<UpdateUserPoolResponse, UpdateUserPoolError>
[src]

Updates the specified user pool with the specified attributes. If you don't provide a value for an attribute, it will be set to the default value. You can get a list of the current user pool settings with .

fn update_user_pool_client(
    &self,
    input: UpdateUserPoolClientRequest
) -> RusotoFuture<UpdateUserPoolClientResponse, UpdateUserPoolClientError>
[src]

Updates the specified user pool app client with the specified attributes. If you don't provide a value for an attribute, it will be set to the default value. You can get a list of the current user pool app client settings with .

fn update_user_pool_domain(
    &self,
    input: UpdateUserPoolDomainRequest
) -> RusotoFuture<UpdateUserPoolDomainResponse, UpdateUserPoolDomainError>
[src]

Updates the Secure Sockets Layer (SSL) certificate for the custom domain for your user pool.

You can use this operation to provide the Amazon Resource Name (ARN) of a new certificate to Amazon Cognito. You cannot use it to change the domain for a user pool.

A custom domain is used to host the Amazon Cognito hosted UI, which provides sign-up and sign-in pages for your application. When you set up a custom domain, you provide a certificate that you manage with AWS Certificate Manager (ACM). When necessary, you can use this operation to change the certificate that you applied to your custom domain.

Usually, this is unnecessary following routine certificate renewal with ACM. When you renew your existing certificate in ACM, the ARN for your certificate remains the same, and your custom domain uses the new certificate automatically.

However, if you replace your existing certificate with a new one, ACM gives the new certificate a new ARN. To apply the new certificate to your custom domain, you must provide this ARN to Amazon Cognito.

When you add your new certificate in ACM, you must choose US East (N. Virginia) as the AWS Region.

After you submit your request, Amazon Cognito requires up to 1 hour to distribute your new certificate to your custom domain.

For more information about adding a custom domain to your user pool, see Using Your Own Domain for the Hosted UI.

fn verify_software_token(
    &self,
    input: VerifySoftwareTokenRequest
) -> RusotoFuture<VerifySoftwareTokenResponse, VerifySoftwareTokenError>
[src]

Use this API to register a user's entered TOTP code and mark the user's software token MFA status as "verified" if successful. The request takes an access token or a session string, but not both.

fn verify_user_attribute(
    &self,
    input: VerifyUserAttributeRequest
) -> RusotoFuture<VerifyUserAttributeResponse, VerifyUserAttributeError>
[src]

Verifies the specified user attributes in the user pool.

impl Clone for CognitoIdentityProviderClient[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for CognitoIdentityProviderClient

impl Sync for CognitoIdentityProviderClient

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self