| Copyright | (c) 2013-2021 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
Amazonka.CognitoIdentityProvider.CreateUserImportJob
Description
Creates the user import job.
Synopsis
- data CreateUserImportJob = CreateUserImportJob' {}
- newCreateUserImportJob :: Text -> Text -> Text -> CreateUserImportJob
- createUserImportJob_jobName :: Lens' CreateUserImportJob Text
- createUserImportJob_userPoolId :: Lens' CreateUserImportJob Text
- createUserImportJob_cloudWatchLogsRoleArn :: Lens' CreateUserImportJob Text
- data CreateUserImportJobResponse = CreateUserImportJobResponse' {}
- newCreateUserImportJobResponse :: Int -> CreateUserImportJobResponse
- createUserImportJobResponse_userImportJob :: Lens' CreateUserImportJobResponse (Maybe UserImportJobType)
- createUserImportJobResponse_httpStatus :: Lens' CreateUserImportJobResponse Int
Creating a Request
data CreateUserImportJob Source #
Represents the request to create the user import job.
See: newCreateUserImportJob smart constructor.
Constructors
| CreateUserImportJob' | |
Fields
| |
Instances
newCreateUserImportJob Source #
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> CreateUserImportJob |
Create a value of CreateUserImportJob 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:jobName:CreateUserImportJob', createUserImportJob_jobName - The job name for the user import job.
$sel:userPoolId:CreateUserImportJob', createUserImportJob_userPoolId - The user pool ID for the user pool that the users are being imported
into.
$sel:cloudWatchLogsRoleArn:CreateUserImportJob', createUserImportJob_cloudWatchLogsRoleArn - The role ARN for the Amazon CloudWatch Logging role for the user import
job.
Request Lenses
createUserImportJob_jobName :: Lens' CreateUserImportJob Text Source #
The job name for the user import job.
createUserImportJob_userPoolId :: Lens' CreateUserImportJob Text Source #
The user pool ID for the user pool that the users are being imported into.
createUserImportJob_cloudWatchLogsRoleArn :: Lens' CreateUserImportJob Text Source #
The role ARN for the Amazon CloudWatch Logging role for the user import job.
Destructuring the Response
data CreateUserImportJobResponse Source #
Represents the response from the server to the request to create the user import job.
See: newCreateUserImportJobResponse smart constructor.
Constructors
| CreateUserImportJobResponse' | |
Fields
| |
Instances
newCreateUserImportJobResponse Source #
Create a value of CreateUserImportJobResponse 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:userImportJob:CreateUserImportJobResponse', createUserImportJobResponse_userImportJob - The job object that represents the user import job.
$sel:httpStatus:CreateUserImportJobResponse', createUserImportJobResponse_httpStatus - The response's http status code.
Response Lenses
createUserImportJobResponse_userImportJob :: Lens' CreateUserImportJobResponse (Maybe UserImportJobType) Source #
The job object that represents the user import job.
createUserImportJobResponse_httpStatus :: Lens' CreateUserImportJobResponse Int Source #
The response's http status code.