Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Gets the header information for the .csv file to be used as input for the user import job.
- getCSVHeader :: Text -> GetCSVHeader
- data GetCSVHeader
- gchUserPoolId :: Lens' GetCSVHeader Text
- getCSVHeaderResponse :: Int -> GetCSVHeaderResponse
- data GetCSVHeaderResponse
- gchrsUserPoolId :: Lens' GetCSVHeaderResponse (Maybe Text)
- gchrsCSVHeader :: Lens' GetCSVHeaderResponse [Text]
- gchrsResponseStatus :: Lens' GetCSVHeaderResponse Int
Creating a Request
Creates a value of GetCSVHeader
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data GetCSVHeader Source #
Represents the request to get the header information for the .csv file for the user import job.
See: getCSVHeader
smart constructor.
Request Lenses
gchUserPoolId :: Lens' GetCSVHeader Text Source #
The user pool ID for the user pool that the users are to be imported into.
Destructuring the Response
Creates a value of GetCSVHeaderResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
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: getCSVHeaderResponse
smart constructor.
Response Lenses
gchrsUserPoolId :: Lens' GetCSVHeaderResponse (Maybe Text) Source #
The user pool ID for the user pool that the users are to be imported into.
gchrsCSVHeader :: Lens' GetCSVHeaderResponse [Text] Source #
The header information for the .csv file for the user import job.
gchrsResponseStatus :: Lens' GetCSVHeaderResponse Int Source #
The response status code.