| 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.ListUserImportJobs
Description
Lists the user import jobs.
Synopsis
- data ListUserImportJobs = ListUserImportJobs' {}
- newListUserImportJobs :: Text -> Natural -> ListUserImportJobs
- listUserImportJobs_paginationToken :: Lens' ListUserImportJobs (Maybe Text)
- listUserImportJobs_userPoolId :: Lens' ListUserImportJobs Text
- listUserImportJobs_maxResults :: Lens' ListUserImportJobs Natural
- data ListUserImportJobsResponse = ListUserImportJobsResponse' {}
- newListUserImportJobsResponse :: Int -> ListUserImportJobsResponse
- listUserImportJobsResponse_paginationToken :: Lens' ListUserImportJobsResponse (Maybe Text)
- listUserImportJobsResponse_userImportJobs :: Lens' ListUserImportJobsResponse (Maybe (NonEmpty UserImportJobType))
- listUserImportJobsResponse_httpStatus :: Lens' ListUserImportJobsResponse Int
Creating a Request
data ListUserImportJobs Source #
Represents the request to list the user import jobs.
See: newListUserImportJobs smart constructor.
Constructors
| ListUserImportJobs' | |
Fields
| |
Instances
newListUserImportJobs Source #
Arguments
| :: Text | |
| -> Natural | |
| -> ListUserImportJobs |
Create a value of ListUserImportJobs 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:
ListUserImportJobs, listUserImportJobs_paginationToken - An identifier that was returned from the previous call to
ListUserImportJobs, which can be used to return the next set of import
jobs in the list.
ListUserImportJobs, listUserImportJobs_userPoolId - The user pool ID for the user pool that the users are being imported
into.
$sel:maxResults:ListUserImportJobs', listUserImportJobs_maxResults - The maximum number of import jobs you want the request to return.
Request Lenses
listUserImportJobs_paginationToken :: Lens' ListUserImportJobs (Maybe Text) Source #
An identifier that was returned from the previous call to
ListUserImportJobs, which can be used to return the next set of import
jobs in the list.
listUserImportJobs_userPoolId :: Lens' ListUserImportJobs Text Source #
The user pool ID for the user pool that the users are being imported into.
listUserImportJobs_maxResults :: Lens' ListUserImportJobs Natural Source #
The maximum number of import jobs you want the request to return.
Destructuring the Response
data ListUserImportJobsResponse Source #
Represents the response from the server to the request to list the user import jobs.
See: newListUserImportJobsResponse smart constructor.
Constructors
| ListUserImportJobsResponse' | |
Fields
| |
Instances
newListUserImportJobsResponse Source #
Create a value of ListUserImportJobsResponse 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:
ListUserImportJobs, listUserImportJobsResponse_paginationToken - An identifier that can be used to return the next set of user import
jobs in the list.
$sel:userImportJobs:ListUserImportJobsResponse', listUserImportJobsResponse_userImportJobs - The user import jobs.
$sel:httpStatus:ListUserImportJobsResponse', listUserImportJobsResponse_httpStatus - The response's http status code.
Response Lenses
listUserImportJobsResponse_paginationToken :: Lens' ListUserImportJobsResponse (Maybe Text) Source #
An identifier that can be used to return the next set of user import jobs in the list.
listUserImportJobsResponse_userImportJobs :: Lens' ListUserImportJobsResponse (Maybe (NonEmpty UserImportJobType)) Source #
The user import jobs.
listUserImportJobsResponse_httpStatus :: Lens' ListUserImportJobsResponse Int Source #
The response's http status code.