CognitoStreams

public struct CognitoStreams : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The ARN of the role Amazon Cognito can assume in order to publish to the stream. This role must grant access to Amazon Cognito (cognito-sync) to invoke PutRecord on your Cognito stream.

    Declaration

    Swift

    public let roleArn: String?
  • Status of the Cognito streams. Valid values are: ENABLED - Streaming of updates to identity pool is enabled. DISABLED - Streaming of updates to identity pool is disabled. Bulk publish will also fail if StreamingStatus is DISABLED.

    Declaration

    Swift

    public let streamingStatus: StreamingStatus?
  • The name of the Cognito stream to receive updates. This stream must be in the developers account and in the same region as the identity pool.

    Declaration

    Swift

    public let streamName: String?
  • Undocumented

    Declaration

    Swift

    public init(roleArn: String? = nil, streamingStatus: StreamingStatus? = nil, streamName: String? = nil)
  • Declaration

    Swift

    public func validate(name: String) throws