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 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.
- 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:
gceIdentityPoolId
- The Cognito Identity Pool ID for the request
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:
gcersEvents
- The Cognito Events returned from the GetCognitoEvents requestgcersResponseStatus
- -- | The response status code.
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.