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 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.
Synopsis
- data GetCognitoEvents = GetCognitoEvents' {}
- newGetCognitoEvents :: Text -> GetCognitoEvents
- getCognitoEvents_identityPoolId :: Lens' GetCognitoEvents Text
- data GetCognitoEventsResponse = GetCognitoEventsResponse' {}
- newGetCognitoEventsResponse :: Int -> GetCognitoEventsResponse
- getCognitoEventsResponse_events :: Lens' GetCognitoEventsResponse (Maybe (HashMap Text Text))
- getCognitoEventsResponse_httpStatus :: Lens' GetCognitoEventsResponse Int
Creating a Request
data GetCognitoEvents Source #
A request for a list of the configured Cognito Events
See: newGetCognitoEvents
smart constructor.
GetCognitoEvents' | |
|
Instances
Create a value of GetCognitoEvents
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:identityPoolId:GetCognitoEvents'
, getCognitoEvents_identityPoolId
- The Cognito Identity Pool ID for the request
Request Lenses
getCognitoEvents_identityPoolId :: Lens' GetCognitoEvents Text Source #
The Cognito Identity Pool ID for the request
Destructuring the Response
data GetCognitoEventsResponse Source #
The response from the GetCognitoEvents request
See: newGetCognitoEventsResponse
smart constructor.
Instances
newGetCognitoEventsResponse Source #
Create a value of GetCognitoEventsResponse
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:events:GetCognitoEventsResponse'
, getCognitoEventsResponse_events
- The Cognito Events returned from the GetCognitoEvents request
$sel:httpStatus:GetCognitoEventsResponse'
, getCognitoEventsResponse_httpStatus
- The response's http status code.
Response Lenses
getCognitoEventsResponse_events :: Lens' GetCognitoEventsResponse (Maybe (HashMap Text Text)) Source #
The Cognito Events returned from the GetCognitoEvents request
getCognitoEventsResponse_httpStatus :: Lens' GetCognitoEventsResponse Int Source #
The response's http status code.