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 |
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.
StartUserImportJob' | |
|
Instances
newStartUserImportJob Source #
:: 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:
$sel:userPoolId:StartUserImportJob'
, startUserImportJob_userPoolId
- The user pool ID for the user pool that the users are being imported
into.
$sel:jobId: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.
StartUserImportJobResponse' | |
|
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.