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