libZSservicesZSamazonka-cognito-syncZSamazonka-cognito-sync
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CognitoSync.SetCognitoEvents

Description

Sets the AWS Lambda function for a given event type for an identity pool. This request only updates the key/value pair specified. Other key/values pairs are not updated. To remove a key value pair, pass a empty value for the particular key.

This API can only be called with developer credentials. You cannot call this API with the temporary user credentials provided by Cognito Identity.

Synopsis

Creating a Request

data SetCognitoEvents Source #

A request to configure Cognito Events"

"

See: newSetCognitoEvents smart constructor.

Constructors

SetCognitoEvents' 

Fields

Instances

Instances details
Eq SetCognitoEvents Source # 
Instance details

Defined in Amazonka.CognitoSync.SetCognitoEvents

Read SetCognitoEvents Source # 
Instance details

Defined in Amazonka.CognitoSync.SetCognitoEvents

Show SetCognitoEvents Source # 
Instance details

Defined in Amazonka.CognitoSync.SetCognitoEvents

Generic SetCognitoEvents Source # 
Instance details

Defined in Amazonka.CognitoSync.SetCognitoEvents

Associated Types

type Rep SetCognitoEvents :: Type -> Type #

NFData SetCognitoEvents Source # 
Instance details

Defined in Amazonka.CognitoSync.SetCognitoEvents

Methods

rnf :: SetCognitoEvents -> () #

Hashable SetCognitoEvents Source # 
Instance details

Defined in Amazonka.CognitoSync.SetCognitoEvents

ToJSON SetCognitoEvents Source # 
Instance details

Defined in Amazonka.CognitoSync.SetCognitoEvents

AWSRequest SetCognitoEvents Source # 
Instance details

Defined in Amazonka.CognitoSync.SetCognitoEvents

Associated Types

type AWSResponse SetCognitoEvents #

ToHeaders SetCognitoEvents Source # 
Instance details

Defined in Amazonka.CognitoSync.SetCognitoEvents

ToPath SetCognitoEvents Source # 
Instance details

Defined in Amazonka.CognitoSync.SetCognitoEvents

ToQuery SetCognitoEvents Source # 
Instance details

Defined in Amazonka.CognitoSync.SetCognitoEvents

type Rep SetCognitoEvents Source # 
Instance details

Defined in Amazonka.CognitoSync.SetCognitoEvents

type Rep SetCognitoEvents = D1 ('MetaData "SetCognitoEvents" "Amazonka.CognitoSync.SetCognitoEvents" "libZSservicesZSamazonka-cognito-syncZSamazonka-cognito-sync" 'False) (C1 ('MetaCons "SetCognitoEvents'" 'PrefixI 'True) (S1 ('MetaSel ('Just "identityPoolId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "events") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (HashMap Text Text))))
type AWSResponse SetCognitoEvents Source # 
Instance details

Defined in Amazonka.CognitoSync.SetCognitoEvents

newSetCognitoEvents Source #

Create a value of SetCognitoEvents 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:SetCognitoEvents', setCognitoEvents_identityPoolId - The Cognito Identity Pool to use when configuring Cognito Events

$sel:events:SetCognitoEvents', setCognitoEvents_events - The events to configure

Request Lenses

setCognitoEvents_identityPoolId :: Lens' SetCognitoEvents Text Source #

The Cognito Identity Pool to use when configuring Cognito Events

Destructuring the Response

data SetCognitoEventsResponse Source #

See: newSetCognitoEventsResponse smart constructor.

Instances

Instances details
Eq SetCognitoEventsResponse Source # 
Instance details

Defined in Amazonka.CognitoSync.SetCognitoEvents

Read SetCognitoEventsResponse Source # 
Instance details

Defined in Amazonka.CognitoSync.SetCognitoEvents

Show SetCognitoEventsResponse Source # 
Instance details

Defined in Amazonka.CognitoSync.SetCognitoEvents

Generic SetCognitoEventsResponse Source # 
Instance details

Defined in Amazonka.CognitoSync.SetCognitoEvents

Associated Types

type Rep SetCognitoEventsResponse :: Type -> Type #

NFData SetCognitoEventsResponse Source # 
Instance details

Defined in Amazonka.CognitoSync.SetCognitoEvents

type Rep SetCognitoEventsResponse Source # 
Instance details

Defined in Amazonka.CognitoSync.SetCognitoEvents

type Rep SetCognitoEventsResponse = D1 ('MetaData "SetCognitoEventsResponse" "Amazonka.CognitoSync.SetCognitoEvents" "libZSservicesZSamazonka-cognito-syncZSamazonka-cognito-sync" 'False) (C1 ('MetaCons "SetCognitoEventsResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newSetCognitoEventsResponse :: SetCognitoEventsResponse Source #

Create a value of SetCognitoEventsResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.