Learn R Programming

paws.security.identity (version 0.1.0)

cognitosync_set_identity_pool_configuration: Sets the necessary configuration for push sync

Description

Sets the necessary configuration for push sync.

Usage

cognitosync_set_identity_pool_configuration(IdentityPoolId, PushSync,
  CognitoStreams)

Arguments

IdentityPoolId

[required] 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.

PushSync

Options to apply to this identity pool for push synchronization.

CognitoStreams

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

Request syntax

svc$set_identity_pool_configuration(
  IdentityPoolId = "string",
  PushSync = list(
    ApplicationArns = list(
      "string"
    ),
    RoleArn = "string"
  ),
  CognitoStreams = list(
    StreamName = "string",
    RoleArn = "string",
    StreamingStatus = "ENABLED"|"DISABLED"
  )
)

Details

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