Skip to content

Set Identity Pool Configuration

cognitosync_set_identity_pool_configuration R Documentation

Sets the necessary configuration for push sync

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.

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.

Value

A list with the following syntax:

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

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"
  )
)