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.SetIdentityPoolConfiguration

Description

Sets the necessary configuration for push sync.

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 SetIdentityPoolConfiguration Source #

The input for the SetIdentityPoolConfiguration operation.

See: newSetIdentityPoolConfiguration smart constructor.

Constructors

SetIdentityPoolConfiguration' 

Fields

  • cognitoStreams :: Maybe CognitoStreams

    Options to apply to this identity pool for Amazon Cognito streams.

  • pushSync :: Maybe PushSync

    Options to apply to this identity pool for push synchronization.

  • identityPoolId :: Text

    A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. This is the ID of the pool to modify.

Instances

Instances details
Eq SetIdentityPoolConfiguration Source # 
Instance details

Defined in Amazonka.CognitoSync.SetIdentityPoolConfiguration

Read SetIdentityPoolConfiguration Source # 
Instance details

Defined in Amazonka.CognitoSync.SetIdentityPoolConfiguration

Show SetIdentityPoolConfiguration Source # 
Instance details

Defined in Amazonka.CognitoSync.SetIdentityPoolConfiguration

Generic SetIdentityPoolConfiguration Source # 
Instance details

Defined in Amazonka.CognitoSync.SetIdentityPoolConfiguration

Associated Types

type Rep SetIdentityPoolConfiguration :: Type -> Type #

NFData SetIdentityPoolConfiguration Source # 
Instance details

Defined in Amazonka.CognitoSync.SetIdentityPoolConfiguration

Hashable SetIdentityPoolConfiguration Source # 
Instance details

Defined in Amazonka.CognitoSync.SetIdentityPoolConfiguration

ToJSON SetIdentityPoolConfiguration Source # 
Instance details

Defined in Amazonka.CognitoSync.SetIdentityPoolConfiguration

AWSRequest SetIdentityPoolConfiguration Source # 
Instance details

Defined in Amazonka.CognitoSync.SetIdentityPoolConfiguration

ToHeaders SetIdentityPoolConfiguration Source # 
Instance details

Defined in Amazonka.CognitoSync.SetIdentityPoolConfiguration

ToPath SetIdentityPoolConfiguration Source # 
Instance details

Defined in Amazonka.CognitoSync.SetIdentityPoolConfiguration

ToQuery SetIdentityPoolConfiguration Source # 
Instance details

Defined in Amazonka.CognitoSync.SetIdentityPoolConfiguration

type Rep SetIdentityPoolConfiguration Source # 
Instance details

Defined in Amazonka.CognitoSync.SetIdentityPoolConfiguration

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

Defined in Amazonka.CognitoSync.SetIdentityPoolConfiguration

newSetIdentityPoolConfiguration Source #

Create a value of SetIdentityPoolConfiguration 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:cognitoStreams:SetIdentityPoolConfiguration', setIdentityPoolConfiguration_cognitoStreams - Options to apply to this identity pool for Amazon Cognito streams.

$sel:pushSync:SetIdentityPoolConfiguration', setIdentityPoolConfiguration_pushSync - Options to apply to this identity pool for push synchronization.

$sel:identityPoolId:SetIdentityPoolConfiguration', setIdentityPoolConfiguration_identityPoolId - A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. This is the ID of the pool to modify.

Request Lenses

setIdentityPoolConfiguration_cognitoStreams :: Lens' SetIdentityPoolConfiguration (Maybe CognitoStreams) Source #

Options to apply to this identity pool for Amazon Cognito streams.

setIdentityPoolConfiguration_pushSync :: Lens' SetIdentityPoolConfiguration (Maybe PushSync) Source #

Options to apply to this identity pool for push synchronization.

setIdentityPoolConfiguration_identityPoolId :: Lens' SetIdentityPoolConfiguration Text Source #

A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. This is the ID of the pool to modify.

Destructuring the Response

data SetIdentityPoolConfigurationResponse Source #

The output for the SetIdentityPoolConfiguration operation

See: newSetIdentityPoolConfigurationResponse smart constructor.

Constructors

SetIdentityPoolConfigurationResponse' 

Fields

Instances

Instances details
Eq SetIdentityPoolConfigurationResponse Source # 
Instance details

Defined in Amazonka.CognitoSync.SetIdentityPoolConfiguration

Read SetIdentityPoolConfigurationResponse Source # 
Instance details

Defined in Amazonka.CognitoSync.SetIdentityPoolConfiguration

Show SetIdentityPoolConfigurationResponse Source # 
Instance details

Defined in Amazonka.CognitoSync.SetIdentityPoolConfiguration

Generic SetIdentityPoolConfigurationResponse Source # 
Instance details

Defined in Amazonka.CognitoSync.SetIdentityPoolConfiguration

NFData SetIdentityPoolConfigurationResponse Source # 
Instance details

Defined in Amazonka.CognitoSync.SetIdentityPoolConfiguration

type Rep SetIdentityPoolConfigurationResponse Source # 
Instance details

Defined in Amazonka.CognitoSync.SetIdentityPoolConfiguration

type Rep SetIdentityPoolConfigurationResponse = D1 ('MetaData "SetIdentityPoolConfigurationResponse" "Amazonka.CognitoSync.SetIdentityPoolConfiguration" "libZSservicesZSamazonka-cognito-syncZSamazonka-cognito-sync" 'False) (C1 ('MetaCons "SetIdentityPoolConfigurationResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "identityPoolId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "cognitoStreams") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CognitoStreams))) :*: (S1 ('MetaSel ('Just "pushSync") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PushSync)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newSetIdentityPoolConfigurationResponse Source #

Create a value of SetIdentityPoolConfigurationResponse 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:SetIdentityPoolConfiguration', setIdentityPoolConfigurationResponse_identityPoolId - A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito.

$sel:cognitoStreams:SetIdentityPoolConfiguration', setIdentityPoolConfigurationResponse_cognitoStreams - Options to apply to this identity pool for Amazon Cognito streams.

$sel:pushSync:SetIdentityPoolConfiguration', setIdentityPoolConfigurationResponse_pushSync - Options to apply to this identity pool for push synchronization.

$sel:httpStatus:SetIdentityPoolConfigurationResponse', setIdentityPoolConfigurationResponse_httpStatus - The response's http status code.

Response Lenses

setIdentityPoolConfigurationResponse_identityPoolId :: Lens' SetIdentityPoolConfigurationResponse (Maybe Text) Source #

A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito.

setIdentityPoolConfigurationResponse_pushSync :: Lens' SetIdentityPoolConfigurationResponse (Maybe PushSync) Source #

Options to apply to this identity pool for push synchronization.