| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
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:
CreateUserImportJob, createUserImportJob_jobName - The job name for the user import job.
CreateUserImportJob, createUserImportJob_userPoolId - The user pool ID for the user pool that the users are being imported
into.
CreateUserImportJob, createUserImportJob_cloudWatchLogsRoleArn - The role ARN for the Amazon CloudWatch Logs 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 Logs 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.