Copyright | (c) 2013-2015 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 events and the corresponding Lambda functions associated with an identity pool.
This API can only be called with developer credentials. You cannot call this API with the temporary user credentials provided by Cognito Identity.
See: AWS API Reference for GetCognitoEvents.
- getCognitoEvents :: Text -> GetCognitoEvents
- data GetCognitoEvents
- gceIdentityPoolId :: Lens' GetCognitoEvents Text
- getCognitoEventsResponse :: Int -> GetCognitoEventsResponse
- data GetCognitoEventsResponse
- gcersEvents :: Lens' GetCognitoEventsResponse (HashMap Text Text)
- gcersResponseStatus :: Lens' GetCognitoEventsResponse Int
Creating a Request
Creates a value of GetCognitoEvents
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data GetCognitoEvents Source
A request for a list of the configured Cognito Events
See: getCognitoEvents
smart constructor.
Request Lenses
gceIdentityPoolId :: Lens' GetCognitoEvents Text Source
The Cognito Identity Pool ID for the request
Destructuring the Response
getCognitoEventsResponse Source
Creates a value of GetCognitoEventsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data GetCognitoEventsResponse Source
The response from the GetCognitoEvents request
See: getCognitoEventsResponse
smart constructor.
Response Lenses
gcersEvents :: Lens' GetCognitoEventsResponse (HashMap Text Text) Source
The Cognito Events returned from the GetCognitoEvents request
gcersResponseStatus :: Lens' GetCognitoEventsResponse Int Source
The response status code.