package types

import "github.com/aws/aws-sdk-go-v2/service/cognitosync/types"

Index

Types

type AlreadyStreamedException

type AlreadyStreamedException struct {
	Message *string
}

An exception thrown when a bulk publish operation is requested less than 24 hours after a previous bulk publish operation completed successfully.

func (*AlreadyStreamedException) Error

func (e *AlreadyStreamedException) Error() string

func (*AlreadyStreamedException) ErrorCode

func (e *AlreadyStreamedException) ErrorCode() string

func (*AlreadyStreamedException) ErrorFault

func (e *AlreadyStreamedException) ErrorFault() smithy.ErrorFault

func (*AlreadyStreamedException) ErrorMessage

func (e *AlreadyStreamedException) ErrorMessage() string

type BulkPublishStatus

type BulkPublishStatus string
const (
	BulkPublishStatusNot_started BulkPublishStatus = "NOT_STARTED"
	BulkPublishStatusIn_progress BulkPublishStatus = "IN_PROGRESS"
	BulkPublishStatusFailed      BulkPublishStatus = "FAILED"
	BulkPublishStatusSucceeded   BulkPublishStatus = "SUCCEEDED"
)

Enum values for BulkPublishStatus

type CognitoStreams

type CognitoStreams struct {

	// A string containing the reason why streaming of updates to the identity pool was
	// disabled.
	DisabledReason *string

	// 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.
	StreamName *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.
	StreamingStatus StreamingStatus

	// 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.
	RoleArn *string
}

Configuration options for configure Cognito streams.

type ConcurrentModificationException

type ConcurrentModificationException struct {
	Message *string
}

Thrown if there are parallel requests to modify a resource.

func (*ConcurrentModificationException) Error

func (*ConcurrentModificationException) ErrorCode

func (e *ConcurrentModificationException) ErrorCode() string

func (*ConcurrentModificationException) ErrorFault

func (*ConcurrentModificationException) ErrorMessage

func (e *ConcurrentModificationException) ErrorMessage() string

type Dataset

type Dataset struct {

	// Number of records in this dataset.
	NumRecords *int64

	// A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE)
	// created by Amazon Cognito. GUID generation is unique within a region.
	IdentityId *string

	// The device that made the last change to this dataset.
	LastModifiedBy *string

	// Date when the dataset was last modified.
	LastModifiedDate *time.Time

	// Date on which the dataset was created.
	CreationDate *time.Time

	// Total size in bytes of the records in this dataset.
	DataStorage *int64

	// A string of up to 128 characters. Allowed characters are a-z, A-Z, 0-9, '_'
	// (underscore), '-' (dash), and '.' (dot).
	DatasetName *string
}

A collection of data for an identity pool. An identity pool can have multiple datasets. A dataset is per identity and can be general or associated with a particular entity in an application (like a saved game). Datasets are automatically created if they don't exist. Data is synced by dataset, and a dataset can hold up to 1MB of key-value pairs.

type DuplicateRequestException

type DuplicateRequestException struct {
	Message *string
}

An exception thrown when there is an IN_PROGRESS bulk publish operation for the given identity pool.

func (*DuplicateRequestException) Error

func (e *DuplicateRequestException) Error() string

func (*DuplicateRequestException) ErrorCode

func (e *DuplicateRequestException) ErrorCode() string

func (*DuplicateRequestException) ErrorFault

func (*DuplicateRequestException) ErrorMessage

func (e *DuplicateRequestException) ErrorMessage() string

type IdentityPoolUsage

type IdentityPoolUsage struct {

	// Date on which the identity pool was last modified.
	LastModifiedDate *time.Time

	// Data storage information for the identity pool.
	DataStorage *int64

	// A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE)
	// created by Amazon Cognito. GUID generation is unique within a region.
	IdentityPoolId *string

	// Number of sync sessions for the identity pool.
	SyncSessionsCount *int64
}

Usage information for the identity pool.

type IdentityUsage

type IdentityUsage struct {

	// Number of datasets for the identity.
	DatasetCount *int32

	// Date on which the identity was last modified.
	LastModifiedDate *time.Time

	// A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE)
	// created by Amazon Cognito. GUID generation is unique within a region.
	IdentityId *string

	// A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE)
	// created by Amazon Cognito. GUID generation is unique within a region.
	IdentityPoolId *string

	// Total data storage for this identity.
	DataStorage *int64
}

Usage information for the identity.

type InternalErrorException

type InternalErrorException struct {
	Message *string
}

Indicates an internal service error.

func (*InternalErrorException) Error

func (e *InternalErrorException) Error() string

func (*InternalErrorException) ErrorCode

func (e *InternalErrorException) ErrorCode() string

func (*InternalErrorException) ErrorFault

func (e *InternalErrorException) ErrorFault() smithy.ErrorFault

func (*InternalErrorException) ErrorMessage

func (e *InternalErrorException) ErrorMessage() string

type InvalidConfigurationException

type InvalidConfigurationException struct {
	Message *string
}

This exception is thrown when Amazon Cognito detects an invalid configuration.

func (*InvalidConfigurationException) Error

func (*InvalidConfigurationException) ErrorCode

func (e *InvalidConfigurationException) ErrorCode() string

func (*InvalidConfigurationException) ErrorFault

func (*InvalidConfigurationException) ErrorMessage

func (e *InvalidConfigurationException) ErrorMessage() string

type InvalidLambdaFunctionOutputException

type InvalidLambdaFunctionOutputException struct {
	Message *string
}

The AWS Lambda function returned invalid output or an exception.

func (*InvalidLambdaFunctionOutputException) Error

func (*InvalidLambdaFunctionOutputException) ErrorCode

func (*InvalidLambdaFunctionOutputException) ErrorFault

func (*InvalidLambdaFunctionOutputException) ErrorMessage

func (e *InvalidLambdaFunctionOutputException) ErrorMessage() string

type InvalidParameterException

type InvalidParameterException struct {
	Message *string
}

Thrown when a request parameter does not comply with the associated constraints.

func (*InvalidParameterException) Error

func (e *InvalidParameterException) Error() string

func (*InvalidParameterException) ErrorCode

func (e *InvalidParameterException) ErrorCode() string

func (*InvalidParameterException) ErrorFault

func (*InvalidParameterException) ErrorMessage

func (e *InvalidParameterException) ErrorMessage() string

type LambdaSocketTimeoutException

type LambdaSocketTimeoutException struct {
	Message *string
}

This exception is thrown when your Lambda function fails to respond within 5 seconds. For more information, see Amazon Cognito Events (http://docs.aws.amazon.com/cognito/latest/developerguide/cognito-events.html).

func (*LambdaSocketTimeoutException) Error

func (*LambdaSocketTimeoutException) ErrorCode

func (e *LambdaSocketTimeoutException) ErrorCode() string

func (*LambdaSocketTimeoutException) ErrorFault

func (*LambdaSocketTimeoutException) ErrorMessage

func (e *LambdaSocketTimeoutException) ErrorMessage() string

type LambdaThrottledException

type LambdaThrottledException struct {
	Message *string
}

AWS Lambda throttled your account, please contact AWS Support

func (*LambdaThrottledException) Error

func (e *LambdaThrottledException) Error() string

func (*LambdaThrottledException) ErrorCode

func (e *LambdaThrottledException) ErrorCode() string

func (*LambdaThrottledException) ErrorFault

func (e *LambdaThrottledException) ErrorFault() smithy.ErrorFault

func (*LambdaThrottledException) ErrorMessage

func (e *LambdaThrottledException) ErrorMessage() string

type LimitExceededException

type LimitExceededException struct {
	Message *string
}

Thrown when the limit on the number of objects or operations has been exceeded.

func (*LimitExceededException) Error

func (e *LimitExceededException) Error() string

func (*LimitExceededException) ErrorCode

func (e *LimitExceededException) ErrorCode() string

func (*LimitExceededException) ErrorFault

func (e *LimitExceededException) ErrorFault() smithy.ErrorFault

func (*LimitExceededException) ErrorMessage

func (e *LimitExceededException) ErrorMessage() string

type NotAuthorizedException

type NotAuthorizedException struct {
	Message *string
}

Thrown when a user is not authorized to access the requested resource.

func (*NotAuthorizedException) Error

func (e *NotAuthorizedException) Error() string

func (*NotAuthorizedException) ErrorCode

func (e *NotAuthorizedException) ErrorCode() string

func (*NotAuthorizedException) ErrorFault

func (e *NotAuthorizedException) ErrorFault() smithy.ErrorFault

func (*NotAuthorizedException) ErrorMessage

func (e *NotAuthorizedException) ErrorMessage() string

type Operation

type Operation string
const (
	OperationReplace Operation = "replace"
	OperationRemove  Operation = "remove"
)

Enum values for Operation

type Platform

type Platform string
const (
	PlatformApns         Platform = "APNS"
	PlatformApns_sandbox Platform = "APNS_SANDBOX"
	PlatformGcm          Platform = "GCM"
	PlatformAdm          Platform = "ADM"
)

Enum values for Platform

type PushSync

type PushSync struct {

	// List of SNS platform application ARNs that could be used by clients.
	ApplicationArns []*string

	// A role configured to allow Cognito to call SNS on behalf of the developer.
	RoleArn *string
}

Configuration options to be applied to the identity pool.

type Record

type Record struct {

	// The last modified date of the client device.
	DeviceLastModifiedDate *time.Time

	// The server sync count for this record.
	SyncCount *int64

	// The date on which the record was last modified.
	LastModifiedDate *time.Time

	// The value for the record.
	Value *string

	// The key for the record.
	Key *string

	// The user/device that made the last change to this record.
	LastModifiedBy *string
}

The basic data structure of a dataset.

type RecordPatch

type RecordPatch struct {

	// The key associated with the record patch.
	//
	// This member is required.
	Key *string

	// The last modified date of the client device.
	DeviceLastModifiedDate *time.Time

	// An operation, either replace or remove.
	//
	// This member is required.
	Op Operation

	// Last known server sync count for this record. Set to 0 if unknown.
	//
	// This member is required.
	SyncCount *int64

	// The value associated with the record patch.
	Value *string
}

An update operation for a record.

type ResourceConflictException

type ResourceConflictException struct {
	Message *string
}

Thrown if an update can't be applied because the resource was changed by another call and this would result in a conflict.

func (*ResourceConflictException) Error

func (e *ResourceConflictException) Error() string

func (*ResourceConflictException) ErrorCode

func (e *ResourceConflictException) ErrorCode() string

func (*ResourceConflictException) ErrorFault

func (*ResourceConflictException) ErrorMessage

func (e *ResourceConflictException) ErrorMessage() string

type ResourceNotFoundException

type ResourceNotFoundException struct {
	Message *string
}

Thrown if the resource doesn't exist.

func (*ResourceNotFoundException) Error

func (e *ResourceNotFoundException) Error() string

func (*ResourceNotFoundException) ErrorCode

func (e *ResourceNotFoundException) ErrorCode() string

func (*ResourceNotFoundException) ErrorFault

func (*ResourceNotFoundException) ErrorMessage

func (e *ResourceNotFoundException) ErrorMessage() string

type StreamingStatus

type StreamingStatus string
const (
	StreamingStatusEnabled  StreamingStatus = "ENABLED"
	StreamingStatusDisabled StreamingStatus = "DISABLED"
)

Enum values for StreamingStatus

type TooManyRequestsException

type TooManyRequestsException struct {
	Message *string
}

Thrown if the request is throttled.

func (*TooManyRequestsException) Error

func (e *TooManyRequestsException) Error() string

func (*TooManyRequestsException) ErrorCode

func (e *TooManyRequestsException) ErrorCode() string

func (*TooManyRequestsException) ErrorFault

func (e *TooManyRequestsException) ErrorFault() smithy.ErrorFault

func (*TooManyRequestsException) ErrorMessage

func (e *TooManyRequestsException) ErrorMessage() string

Source Files

enums.go errors.go types.go

Version
v0.26.0
Published
Oct 1, 2020
Platform
js/wasm
Imports
3 packages
Last checked
3 hours ago

Tools for package owners.