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
- func (e *AlreadyStreamedException) GetMessage() string
- func (e *AlreadyStreamedException) HasMessage() bool
- 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
- func (e *ConcurrentModificationException) GetMessage() string
- func (e *ConcurrentModificationException) HasMessage() bool
- 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
- func (e *DuplicateRequestException) GetMessage() string
- func (e *DuplicateRequestException) HasMessage() bool
- 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
- func (e *InternalErrorException) GetMessage() string
- func (e *InternalErrorException) HasMessage() bool
- type InvalidConfigurationException
- func (e *InvalidConfigurationException) Error() string
- func (e *InvalidConfigurationException) ErrorCode() string
- func (e *InvalidConfigurationException) ErrorFault() smithy.ErrorFault
- func (e *InvalidConfigurationException) ErrorMessage() string
- func (e *InvalidConfigurationException) GetMessage() string
- func (e *InvalidConfigurationException) HasMessage() bool
- type InvalidLambdaFunctionOutputException
- func (e *InvalidLambdaFunctionOutputException) Error() string
- func (e *InvalidLambdaFunctionOutputException) ErrorCode() string
- func (e *InvalidLambdaFunctionOutputException) ErrorFault() smithy.ErrorFault
- func (e *InvalidLambdaFunctionOutputException) ErrorMessage() string
- func (e *InvalidLambdaFunctionOutputException) GetMessage() string
- func (e *InvalidLambdaFunctionOutputException) HasMessage() bool
- type InvalidParameterException
- func (e *InvalidParameterException) Error() string
- func (e *InvalidParameterException) ErrorCode() string
- func (e *InvalidParameterException) ErrorFault() smithy.ErrorFault
- func (e *InvalidParameterException) ErrorMessage() string
- func (e *InvalidParameterException) GetMessage() string
- func (e *InvalidParameterException) HasMessage() bool
- type LambdaSocketTimeoutException
- func (e *LambdaSocketTimeoutException) Error() string
- func (e *LambdaSocketTimeoutException) ErrorCode() string
- func (e *LambdaSocketTimeoutException) ErrorFault() smithy.ErrorFault
- func (e *LambdaSocketTimeoutException) ErrorMessage() string
- func (e *LambdaSocketTimeoutException) GetMessage() string
- func (e *LambdaSocketTimeoutException) HasMessage() bool
- type LambdaThrottledException
- func (e *LambdaThrottledException) Error() string
- func (e *LambdaThrottledException) ErrorCode() string
- func (e *LambdaThrottledException) ErrorFault() smithy.ErrorFault
- func (e *LambdaThrottledException) ErrorMessage() string
- func (e *LambdaThrottledException) GetMessage() string
- func (e *LambdaThrottledException) HasMessage() bool
- type LimitExceededException
- func (e *LimitExceededException) Error() string
- func (e *LimitExceededException) ErrorCode() string
- func (e *LimitExceededException) ErrorFault() smithy.ErrorFault
- func (e *LimitExceededException) ErrorMessage() string
- func (e *LimitExceededException) GetMessage() string
- func (e *LimitExceededException) HasMessage() bool
- type NotAuthorizedException
- func (e *NotAuthorizedException) Error() string
- func (e *NotAuthorizedException) ErrorCode() string
- func (e *NotAuthorizedException) ErrorFault() smithy.ErrorFault
- func (e *NotAuthorizedException) ErrorMessage() string
- func (e *NotAuthorizedException) GetMessage() string
- func (e *NotAuthorizedException) HasMessage() bool
- 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
- func (e *ResourceConflictException) GetMessage() string
- func (e *ResourceConflictException) HasMessage() bool
- type ResourceNotFoundException
- func (e *ResourceNotFoundException) Error() string
- func (e *ResourceNotFoundException) ErrorCode() string
- func (e *ResourceNotFoundException) ErrorFault() smithy.ErrorFault
- func (e *ResourceNotFoundException) ErrorMessage() string
- func (e *ResourceNotFoundException) GetMessage() string
- func (e *ResourceNotFoundException) HasMessage() bool
- type StreamingStatus
- type TooManyRequestsException
- func (e *TooManyRequestsException) Error() string
- func (e *TooManyRequestsException) ErrorCode() string
- func (e *TooManyRequestsException) ErrorFault() smithy.ErrorFault
- func (e *TooManyRequestsException) ErrorMessage() string
- func (e *TooManyRequestsException) GetMessage() string
- func (e *TooManyRequestsException) HasMessage() bool
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
func (*AlreadyStreamedException) GetMessage ¶
func (e *AlreadyStreamedException) GetMessage() string
func (*AlreadyStreamedException) HasMessage ¶
func (e *AlreadyStreamedException) HasMessage() bool
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 (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
func (*ConcurrentModificationException) GetMessage ¶
func (e *ConcurrentModificationException) GetMessage() string
func (*ConcurrentModificationException) HasMessage ¶
func (e *ConcurrentModificationException) HasMessage() bool
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 (e *DuplicateRequestException) ErrorFault() smithy.ErrorFault
func (*DuplicateRequestException) ErrorMessage ¶
func (e *DuplicateRequestException) ErrorMessage() string
func (*DuplicateRequestException) GetMessage ¶
func (e *DuplicateRequestException) GetMessage() string
func (*DuplicateRequestException) HasMessage ¶
func (e *DuplicateRequestException) HasMessage() bool
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
func (*InternalErrorException) GetMessage ¶
func (e *InternalErrorException) GetMessage() string
func (*InternalErrorException) HasMessage ¶
func (e *InternalErrorException) HasMessage() bool
type InvalidConfigurationException ¶
type InvalidConfigurationException struct { Message *string }
This exception is thrown when Amazon Cognito detects an invalid configuration.
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
func (*InvalidConfigurationException) GetMessage ¶
func (e *InvalidConfigurationException) GetMessage() string
func (*InvalidConfigurationException) HasMessage ¶
func (e *InvalidConfigurationException) HasMessage() bool
type InvalidLambdaFunctionOutputException ¶
type InvalidLambdaFunctionOutputException struct { Message *string }
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
func (*InvalidLambdaFunctionOutputException) GetMessage ¶
func (e *InvalidLambdaFunctionOutputException) GetMessage() string
func (*InvalidLambdaFunctionOutputException) HasMessage ¶
func (e *InvalidLambdaFunctionOutputException) HasMessage() bool
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 (e *InvalidParameterException) ErrorFault() smithy.ErrorFault
func (*InvalidParameterException) ErrorMessage ¶
func (e *InvalidParameterException) ErrorMessage() string
func (*InvalidParameterException) GetMessage ¶
func (e *InvalidParameterException) GetMessage() string
func (*InvalidParameterException) HasMessage ¶
func (e *InvalidParameterException) HasMessage() bool
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 (e *LambdaSocketTimeoutException) Error() string
func (*LambdaSocketTimeoutException) ErrorCode ¶
func (e *LambdaSocketTimeoutException) ErrorCode() string
func (*LambdaSocketTimeoutException) ErrorFault ¶
func (e *LambdaSocketTimeoutException) ErrorFault() smithy.ErrorFault
func (*LambdaSocketTimeoutException) ErrorMessage ¶
func (e *LambdaSocketTimeoutException) ErrorMessage() string
func (*LambdaSocketTimeoutException) GetMessage ¶
func (e *LambdaSocketTimeoutException) GetMessage() string
func (*LambdaSocketTimeoutException) HasMessage ¶
func (e *LambdaSocketTimeoutException) HasMessage() bool
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
func (*LambdaThrottledException) GetMessage ¶
func (e *LambdaThrottledException) GetMessage() string
func (*LambdaThrottledException) HasMessage ¶
func (e *LambdaThrottledException) HasMessage() bool
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
func (*LimitExceededException) GetMessage ¶
func (e *LimitExceededException) GetMessage() string
func (*LimitExceededException) HasMessage ¶
func (e *LimitExceededException) HasMessage() bool
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
func (*NotAuthorizedException) GetMessage ¶
func (e *NotAuthorizedException) GetMessage() string
func (*NotAuthorizedException) HasMessage ¶
func (e *NotAuthorizedException) HasMessage() bool
type Operation ¶
type Operation string
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. Key *string // The last modified date of the client device. DeviceLastModifiedDate *time.Time // An operation, either replace or remove. Op Operation // Last known server sync count for this record. Set to 0 if unknown. 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 (e *ResourceConflictException) ErrorFault() smithy.ErrorFault
func (*ResourceConflictException) ErrorMessage ¶
func (e *ResourceConflictException) ErrorMessage() string
func (*ResourceConflictException) GetMessage ¶
func (e *ResourceConflictException) GetMessage() string
func (*ResourceConflictException) HasMessage ¶
func (e *ResourceConflictException) HasMessage() bool
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 (e *ResourceNotFoundException) ErrorFault() smithy.ErrorFault
func (*ResourceNotFoundException) ErrorMessage ¶
func (e *ResourceNotFoundException) ErrorMessage() string
func (*ResourceNotFoundException) GetMessage ¶
func (e *ResourceNotFoundException) GetMessage() string
func (*ResourceNotFoundException) HasMessage ¶
func (e *ResourceNotFoundException) HasMessage() bool
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
func (*TooManyRequestsException) GetMessage ¶
func (e *TooManyRequestsException) GetMessage() string
func (*TooManyRequestsException) HasMessage ¶
func (e *TooManyRequestsException) HasMessage() bool
Source Files ¶
- Version
- v0.1.0
- Published
- Sep 29, 2020
- Platform
- js/wasm
- Imports
- 4 packages
- Last checked
- 9 hours ago –
Tools for package owners.