| 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.StartUserImportJob
Description
Starts the user import.
Synopsis
- data StartUserImportJob = StartUserImportJob' {
- userPoolId :: Text
- jobId :: Text
- newStartUserImportJob :: Text -> Text -> StartUserImportJob
- startUserImportJob_userPoolId :: Lens' StartUserImportJob Text
- startUserImportJob_jobId :: Lens' StartUserImportJob Text
- data StartUserImportJobResponse = StartUserImportJobResponse' {}
- newStartUserImportJobResponse :: Int -> StartUserImportJobResponse
- startUserImportJobResponse_userImportJob :: Lens' StartUserImportJobResponse (Maybe UserImportJobType)
- startUserImportJobResponse_httpStatus :: Lens' StartUserImportJobResponse Int
Creating a Request
data StartUserImportJob Source #
Represents the request to start the user import job.
See: newStartUserImportJob smart constructor.
Constructors
| StartUserImportJob' | |
Fields
| |
Instances
newStartUserImportJob Source #
Arguments
| :: Text | |
| -> Text | |
| -> StartUserImportJob |
Create a value of StartUserImportJob 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:
StartUserImportJob, startUserImportJob_userPoolId - The user pool ID for the user pool that the users are being imported
into.
StartUserImportJob, startUserImportJob_jobId - The job ID for the user import job.
Request Lenses
startUserImportJob_userPoolId :: Lens' StartUserImportJob Text Source #
The user pool ID for the user pool that the users are being imported into.
startUserImportJob_jobId :: Lens' StartUserImportJob Text Source #
The job ID for the user import job.
Destructuring the Response
data StartUserImportJobResponse Source #
Represents the response from the server to the request to start the user import job.
See: newStartUserImportJobResponse smart constructor.
Constructors
| StartUserImportJobResponse' | |
Fields
| |
Instances
newStartUserImportJobResponse Source #
Create a value of StartUserImportJobResponse 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:StartUserImportJobResponse', startUserImportJobResponse_userImportJob - The job object that represents the user import job.
$sel:httpStatus:StartUserImportJobResponse', startUserImportJobResponse_httpStatus - The response's http status code.
Response Lenses
startUserImportJobResponse_userImportJob :: Lens' StartUserImportJobResponse (Maybe UserImportJobType) Source #
The job object that represents the user import job.
startUserImportJobResponse_httpStatus :: Lens' StartUserImportJobResponse Int Source #
The response's http status code.