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 |
Gets the header information for the .csv file to be used as input for the user import job.
Synopsis
- data GetCSVHeader = GetCSVHeader' {
- userPoolId :: Text
- newGetCSVHeader :: Text -> GetCSVHeader
- getCSVHeader_userPoolId :: Lens' GetCSVHeader Text
- data GetCSVHeaderResponse = GetCSVHeaderResponse' {
- userPoolId :: Maybe Text
- cSVHeader :: Maybe [Text]
- httpStatus :: Int
- newGetCSVHeaderResponse :: Int -> GetCSVHeaderResponse
- getCSVHeaderResponse_userPoolId :: Lens' GetCSVHeaderResponse (Maybe Text)
- getCSVHeaderResponse_cSVHeader :: Lens' GetCSVHeaderResponse (Maybe [Text])
- getCSVHeaderResponse_httpStatus :: Lens' GetCSVHeaderResponse Int
Creating a Request
data GetCSVHeader Source #
Represents the request to get the header information for the .csv file for the user import job.
See: newGetCSVHeader
smart constructor.
GetCSVHeader' | |
|
Instances
Create a value of GetCSVHeader
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:GetCSVHeader'
, getCSVHeader_userPoolId
- The user pool ID for the user pool that the users are to be imported
into.
Request Lenses
getCSVHeader_userPoolId :: Lens' GetCSVHeader Text Source #
The user pool ID for the user pool that the users are to be imported into.
Destructuring the Response
data GetCSVHeaderResponse Source #
Represents the response from the server to the request to get the header information for the .csv file for the user import job.
See: newGetCSVHeaderResponse
smart constructor.
GetCSVHeaderResponse' | |
|
Instances
newGetCSVHeaderResponse Source #
Create a value of GetCSVHeaderResponse
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:GetCSVHeader'
, getCSVHeaderResponse_userPoolId
- The user pool ID for the user pool that the users are to be imported
into.
$sel:cSVHeader:GetCSVHeaderResponse'
, getCSVHeaderResponse_cSVHeader
- The header information for the .csv file for the user import job.
$sel:httpStatus:GetCSVHeaderResponse'
, getCSVHeaderResponse_httpStatus
- The response's http status code.
Response Lenses
getCSVHeaderResponse_userPoolId :: Lens' GetCSVHeaderResponse (Maybe Text) Source #
The user pool ID for the user pool that the users are to be imported into.
getCSVHeaderResponse_cSVHeader :: Lens' GetCSVHeaderResponse (Maybe [Text]) Source #
The header information for the .csv file for the user import job.
getCSVHeaderResponse_httpStatus :: Lens' GetCSVHeaderResponse Int Source #
The response's http status code.