UserImportJobType
¶
Source code in docs_src/capo_cognito_identity_provider/types/user_import_job_type.py
cloud_watch_logs_role_arn
instance-attribute
¶
cloud_watch_logs_role_arn: NotRequired[ArnType]
The role Amazon Resource Name (ARN) for the Amazon CloudWatch Logging role for the user import job. For more information, see "Creating the CloudWatch Logs IAM Role" in the Amazon Cognito Developer Guide.
completion_date
instance-attribute
¶
completion_date: NotRequired[DateType]
The date when the user import job was completed.
completion_message
instance-attribute
¶
completion_message: NotRequired[CompletionMessageType]
The message returned when the user import job is completed.
creation_date
instance-attribute
¶
creation_date: NotRequired[DateType]
The date and time when the item was created. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a human-readable format like ISO 8601 or a Java Date object.
failed_users
instance-attribute
¶
failed_users: LongType
The number of users that couldn't be imported.
imported_users
instance-attribute
¶
imported_users: LongType
The number of users that were successfully imported.
job_name
instance-attribute
¶
job_name: NotRequired[UserImportJobNameType]
The friendly name of the user import job.
password_hashing_algorithm
instance-attribute
¶
password_hashing_algorithm: NotRequired[PasswordHashingAlgorithmType]
The password hashing algorithm used to generate the hashes in the CSV file for this import job.
Valid values: BCRYPT | SCRYPT | ARGON2ID | PBKDF2_SHA256
pre_signed_url
instance-attribute
¶
pre_signed_url: NotRequired[PreSignedUrlType]
The pre-signed URL target for uploading the CSV file.
start_date
instance-attribute
¶
start_date: NotRequired[DateType]
The date when the user import job was started.
status
instance-attribute
¶
status: NotRequired[UserImportJobStatusType]
The status of the user import job. One of the following:
-
Created- The job was created but not started. -
Pending- A transition state. You have started the job, but it has not begun importing users yet. -
InProgress- The job has started, and users are being imported. -
Stopping- You have stopped the job, but the job has not stopped importing users yet. -
Stopped- You have stopped the job, and the job has stopped importing users. -
Succeeded- The job has completed successfully. -
Failed- The job has stopped due to an error. -
Expired- You created a job, but did not start the job within 24-48 hours. All data associated with the job was deleted, and the job can't be started.
user_pool_id
instance-attribute
¶
user_pool_id: NotRequired[UserPoolIdType]
The ID of the user pool that the users are being imported into.