package types
import "github.com/aws/aws-sdk-go-v2/service/cognitosync/types"
Index ¶
- type AlreadyStreamedException
- func (e *AlreadyStreamedException) Error() string
- func (e *AlreadyStreamedException) ErrorCode() string
- func (e *AlreadyStreamedException) ErrorFault() smithy.ErrorFault
- func (e *AlreadyStreamedException) ErrorMessage() string
- type BulkPublishStatus
- type CognitoStreams
- type ConcurrentModificationException
- func (e *ConcurrentModificationException) Error() string
- func (e *ConcurrentModificationException) ErrorCode() string
- func (e *ConcurrentModificationException) ErrorFault() smithy.ErrorFault
- func (e *ConcurrentModificationException) ErrorMessage() string
- type Dataset
- type DuplicateRequestException
- func (e *DuplicateRequestException) Error() string
- func (e *DuplicateRequestException) ErrorCode() string
- func (e *DuplicateRequestException) ErrorFault() smithy.ErrorFault
- func (e *DuplicateRequestException) ErrorMessage() string
- type IdentityPoolUsage
- type IdentityUsage
- type InternalErrorException
- func (e *InternalErrorException) Error() string
- func (e *InternalErrorException) ErrorCode() string
- func (e *InternalErrorException) ErrorFault() smithy.ErrorFault
- func (e *InternalErrorException) ErrorMessage() string
- type InvalidConfigurationException
- func (e *InvalidConfigurationException) Error() string
- func (e *InvalidConfigurationException) ErrorCode() string
- func (e *InvalidConfigurationException) ErrorFault() smithy.ErrorFault
- func (e *InvalidConfigurationException) ErrorMessage() string
- type InvalidLambdaFunctionOutputException
- func (e *InvalidLambdaFunctionOutputException) Error() string
- func (e *InvalidLambdaFunctionOutputException) ErrorCode() string
- func (e *InvalidLambdaFunctionOutputException) ErrorFault() smithy.ErrorFault
- func (e *InvalidLambdaFunctionOutputException) ErrorMessage() string
- type InvalidParameterException
- func (e *InvalidParameterException) Error() string
- func (e *InvalidParameterException) ErrorCode() string
- func (e *InvalidParameterException) ErrorFault() smithy.ErrorFault
- func (e *InvalidParameterException) ErrorMessage() string
- type LambdaThrottledException
- func (e *LambdaThrottledException) Error() string
- func (e *LambdaThrottledException) ErrorCode() string
- func (e *LambdaThrottledException) ErrorFault() smithy.ErrorFault
- func (e *LambdaThrottledException) ErrorMessage() string
- type LimitExceededException
- func (e *LimitExceededException) Error() string
- func (e *LimitExceededException) ErrorCode() string
- func (e *LimitExceededException) ErrorFault() smithy.ErrorFault
- func (e *LimitExceededException) ErrorMessage() string
- type NotAuthorizedException
- func (e *NotAuthorizedException) Error() string
- func (e *NotAuthorizedException) ErrorCode() string
- func (e *NotAuthorizedException) ErrorFault() smithy.ErrorFault
- func (e *NotAuthorizedException) ErrorMessage() string
- type Operation
- type Platform
- type PushSync
- type Record
- type RecordPatch
- type ResourceConflictException
- func (e *ResourceConflictException) Error() string
- func (e *ResourceConflictException) ErrorCode() string
- func (e *ResourceConflictException) ErrorFault() smithy.ErrorFault
- func (e *ResourceConflictException) ErrorMessage() string
- type ResourceNotFoundException
- func (e *ResourceNotFoundException) Error() string
- func (e *ResourceNotFoundException) ErrorCode() string
- func (e *ResourceNotFoundException) ErrorFault() smithy.ErrorFault
- func (e *ResourceNotFoundException) ErrorMessage() string
- type StreamingStatus
- type TooManyRequestsException
Types ¶
type AlreadyStreamedException ¶
type AlreadyStreamedException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
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 ( BulkPublishStatusNotStarted BulkPublishStatus = "NOT_STARTED" BulkPublishStatusInProgress BulkPublishStatus = "IN_PROGRESS" BulkPublishStatusFailed BulkPublishStatus = "FAILED" BulkPublishStatusSucceeded BulkPublishStatus = "SUCCEEDED" )
Enum values for BulkPublishStatus
func (BulkPublishStatus) Values ¶
func (BulkPublishStatus) Values() []BulkPublishStatus
Values returns all known values for BulkPublishStatus. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type CognitoStreams ¶
type CognitoStreams struct { // 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 // 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 // contains filtered or unexported fields }
Configuration options for configure Cognito streams.
type ConcurrentModificationException ¶
type ConcurrentModificationException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
Thrown if there are parallel requests to modify a resource.
func (*ConcurrentModificationException) Error ¶
func (e *ConcurrentModificationException) Error() string
func (*ConcurrentModificationException) ErrorCode ¶
func (e *ConcurrentModificationException) ErrorCode() string
func (*ConcurrentModificationException) ErrorFault ¶
func (e *ConcurrentModificationException) ErrorFault() smithy.ErrorFault
func (*ConcurrentModificationException) ErrorMessage ¶
func (e *ConcurrentModificationException) ErrorMessage() string
type Dataset ¶
type Dataset struct { // 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 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 // Number of records in this dataset. NumRecords *int64 // contains filtered or unexported fields }
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 ErrorCodeOverride *string // contains filtered or unexported fields }
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 (e *DuplicateRequestException) ErrorFault() smithy.ErrorFault
func (*DuplicateRequestException) ErrorMessage ¶
func (e *DuplicateRequestException) ErrorMessage() string
type IdentityPoolUsage ¶
type IdentityPoolUsage struct { // 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 // Date on which the identity pool was last modified. LastModifiedDate *time.Time // Number of sync sessions for the identity pool. SyncSessionsCount *int64 // contains filtered or unexported fields }
Usage information for the identity pool.
type IdentityUsage ¶
type IdentityUsage struct { // Total data storage for this identity. DataStorage *int64 // Number of datasets for the identity. DatasetCount int32 // 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 // Date on which the identity was last modified. LastModifiedDate *time.Time // contains filtered or unexported fields }
Usage information for the identity.
type InternalErrorException ¶
type InternalErrorException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
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 ErrorCodeOverride *string // contains filtered or unexported fields }
func (*InvalidConfigurationException) Error ¶
func (e *InvalidConfigurationException) Error() string
func (*InvalidConfigurationException) ErrorCode ¶
func (e *InvalidConfigurationException) ErrorCode() string
func (*InvalidConfigurationException) ErrorFault ¶
func (e *InvalidConfigurationException) ErrorFault() smithy.ErrorFault
func (*InvalidConfigurationException) ErrorMessage ¶
func (e *InvalidConfigurationException) ErrorMessage() string
type InvalidLambdaFunctionOutputException ¶
type InvalidLambdaFunctionOutputException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
The AWS Lambda function returned invalid output or an exception.
func (*InvalidLambdaFunctionOutputException) Error ¶
func (e *InvalidLambdaFunctionOutputException) Error() string
func (*InvalidLambdaFunctionOutputException) ErrorCode ¶
func (e *InvalidLambdaFunctionOutputException) ErrorCode() string
func (*InvalidLambdaFunctionOutputException) ErrorFault ¶
func (e *InvalidLambdaFunctionOutputException) ErrorFault() smithy.ErrorFault
func (*InvalidLambdaFunctionOutputException) ErrorMessage ¶
func (e *InvalidLambdaFunctionOutputException) ErrorMessage() string
type InvalidParameterException ¶
type InvalidParameterException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
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 (e *InvalidParameterException) ErrorFault() smithy.ErrorFault
func (*InvalidParameterException) ErrorMessage ¶
func (e *InvalidParameterException) ErrorMessage() string
type LambdaThrottledException ¶
type LambdaThrottledException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
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 ErrorCodeOverride *string // contains filtered or unexported fields }
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 ErrorCodeOverride *string // contains filtered or unexported fields }
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
Enum values for Operation
func (Operation) Values ¶
Values returns all known values for Operation. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type Platform ¶
type Platform string
const ( PlatformApns Platform = "APNS" PlatformApnsSandbox Platform = "APNS_SANDBOX" PlatformGcm Platform = "GCM" PlatformAdm Platform = "ADM" )
Enum values for Platform
func (Platform) Values ¶
Values returns all known values for Platform. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
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 // contains filtered or unexported fields }
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 key for the record. Key *string // The user/device that made the last change to this record. LastModifiedBy *string // The date on which the record was last modified. LastModifiedDate *time.Time // The server sync count for this record. SyncCount *int64 // The value for the record. Value *string // contains filtered or unexported fields }
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 // 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 last modified date of the client device. DeviceLastModifiedDate *time.Time // The value associated with the record patch. Value *string // contains filtered or unexported fields }
An update operation for a record.
type ResourceConflictException ¶
type ResourceConflictException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
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 (e *ResourceConflictException) ErrorFault() smithy.ErrorFault
func (*ResourceConflictException) ErrorMessage ¶
func (e *ResourceConflictException) ErrorMessage() string
type ResourceNotFoundException ¶
type ResourceNotFoundException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
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 (e *ResourceNotFoundException) ErrorFault() smithy.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
func (StreamingStatus) Values ¶
func (StreamingStatus) Values() []StreamingStatus
Values returns all known values for StreamingStatus. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type TooManyRequestsException ¶
type TooManyRequestsException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
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 ¶
- Version
- v1.24.2 (latest)
- Published
- Apr 3, 2025
- Platform
- linux/amd64
- Imports
- 4 packages
- Last checked
- 6 hours ago –
Tools for package owners.