Documentation ¶
Index ¶
- type AllowNotifications
- type AppInstanceUserMembershipSummary
- type BadRequestException
- type BatchChannelMemberships
- type BatchCreateChannelMembershipError
- type Channel
- type ChannelAssociatedWithFlowSummary
- type ChannelBan
- type ChannelBanSummary
- type ChannelFlow
- type ChannelFlowSummary
- type ChannelMembership
- type ChannelMembershipForAppInstanceUserSummary
- type ChannelMembershipPreferences
- type ChannelMembershipSummary
- type ChannelMembershipType
- type ChannelMessage
- type ChannelMessageCallback
- type ChannelMessagePersistenceType
- type ChannelMessageStatus
- type ChannelMessageStatusStructure
- type ChannelMessageSummary
- type ChannelMessageType
- type ChannelMode
- type ChannelModeratedByAppInstanceUserSummary
- type ChannelModerator
- type ChannelModeratorSummary
- type ChannelPrivacy
- type ChannelSummary
- type ConflictException
- type ElasticChannelConfiguration
- type ErrorCode
- type ExpirationCriterion
- type ExpirationSettings
- type FallbackAction
- type ForbiddenException
- type Identity
- type InvocationType
- type LambdaConfiguration
- type MessageAttributeValue
- type MessagingDataType
- type MessagingSessionEndpoint
- type NotFoundException
- type Processor
- type ProcessorConfiguration
- type PushNotificationConfiguration
- type PushNotificationPreferences
- type PushNotificationType
- type ResourceLimitExceededException
- type SearchField
- type SearchFieldKey
- type SearchFieldOperator
- type ServiceFailureException
- type ServiceUnavailableException
- type SortOrder
- type StreamingConfiguration
- type SubChannelSummary
- type Tag
- type Target
- type ThrottledClientException
- type UnauthorizedClientException
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllowNotifications ¶
type AllowNotifications string
const ( AllowNotificationsAll AllowNotifications = "ALL" AllowNotificationsNone AllowNotifications = "NONE" AllowNotificationsFiltered AllowNotifications = "FILTERED" )
Enum values for AllowNotifications
func (AllowNotifications) Values ¶
func (AllowNotifications) Values() []AllowNotifications
Values returns all known values for AllowNotifications. 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 AppInstanceUserMembershipSummary ¶
type AppInstanceUserMembershipSummary struct { // The time at which an AppInstanceUser last marked a channel as read. ReadMarkerTimestamp *time.Time // The ID of the SubChannel that the AppInstanceUser is a member of. SubChannelId *string // The type of ChannelMembership . Type ChannelMembershipType // contains filtered or unexported fields }
Summary of the membership details of an AppInstanceUser .
type BadRequestException ¶
type BadRequestException struct { Message *string ErrorCodeOverride *string Code ErrorCode // contains filtered or unexported fields }
The input parameters don't match the service's restrictions.
func (*BadRequestException) Error ¶
func (e *BadRequestException) Error() string
func (*BadRequestException) ErrorCode ¶
func (e *BadRequestException) ErrorCode() string
func (*BadRequestException) ErrorFault ¶
func (e *BadRequestException) ErrorFault() smithy.ErrorFault
func (*BadRequestException) ErrorMessage ¶
func (e *BadRequestException) ErrorMessage() string
type BatchChannelMemberships ¶
type BatchChannelMemberships struct { // The ARN of the channel to which you're adding members. ChannelArn *string // The identifier of the member who invited another member. InvitedBy *Identity // The users successfully added to the request. Members []Identity // The ID of the SubChannel. SubChannelId *string // The membership types set for the channel members. Type ChannelMembershipType // contains filtered or unexported fields }
The membership information, including member ARNs, the channel ARN, and membership types.
type BatchCreateChannelMembershipError ¶
type BatchCreateChannelMembershipError struct { // The error code. ErrorCode ErrorCode // The error message. ErrorMessage *string // The AppInstanceUserArn of the member that the service couldn't add. MemberArn *string // contains filtered or unexported fields }
A list of failed member ARNs, error codes, and error messages.
type Channel ¶
type Channel struct { // The ARN of a channel. ChannelArn *string // The ARN of the channel flow. ChannelFlowArn *string // The AppInstanceUser who created the channel. CreatedBy *Identity // The time at which the AppInstanceUser created the channel. CreatedTimestamp *time.Time // The attributes required to configure and create an elastic channel. An elastic // channel can support a maximum of 1-million members. ElasticChannelConfiguration *ElasticChannelConfiguration // Settings that control when a channel expires. ExpirationSettings *ExpirationSettings // The time at which a member sent the last message in the channel. LastMessageTimestamp *time.Time // The time at which a channel was last updated. LastUpdatedTimestamp *time.Time // The channel's metadata. Metadata *string // The mode of the channel. Mode ChannelMode // The name of a channel. Name *string // The channel's privacy setting. Privacy ChannelPrivacy // contains filtered or unexported fields }
The details of a channel.
type ChannelAssociatedWithFlowSummary ¶
type ChannelAssociatedWithFlowSummary struct { // The ARN of the channel. ChannelArn *string // The channel's metadata. Metadata *string // The mode of the channel. Mode ChannelMode // The name of the channel flow. Name *string // The channel's privacy setting. Privacy ChannelPrivacy // contains filtered or unexported fields }
Summary of details of a channel associated with channel flow.
type ChannelBan ¶
type ChannelBan struct { // The ARN of the channel from which a member is being banned. ChannelArn *string // The AppInstanceUser who created the ban. CreatedBy *Identity // The time at which the ban was created. CreatedTimestamp *time.Time // The member being banned from the channel. Member *Identity // contains filtered or unexported fields }
The details of a channel ban.
type ChannelBanSummary ¶
type ChannelBanSummary struct { // The member being banned from a channel. Member *Identity // contains filtered or unexported fields }
Summary of the details of a ChannelBan .
type ChannelFlow ¶
type ChannelFlow struct { // The ARN of the channel flow. ChannelFlowArn *string // The time at which the channel flow was created. CreatedTimestamp *time.Time // The time at which a channel flow was updated. LastUpdatedTimestamp *time.Time // The name of the channel flow. Name *string // Information about the processor Lambda functions. Processors []Processor // contains filtered or unexported fields }
The details of a channel flow.
type ChannelFlowSummary ¶
type ChannelFlowSummary struct { // The ARN of the channel flow. ChannelFlowArn *string // The name of the channel flow. Name *string // Information about the processor Lambda functions. Processors []Processor // contains filtered or unexported fields }
Summary of details of a channel flow.
type ChannelMembership ¶
type ChannelMembership struct { // The ARN of the member's channel. ChannelArn *string // The time at which the channel membership was created. CreatedTimestamp *time.Time // The identifier of the member who invited another member. InvitedBy *Identity // The time at which a channel membership was last updated. LastUpdatedTimestamp *time.Time // The data of the channel member. Member *Identity // The ID of the SubChannel that a user belongs to. SubChannelId *string // The membership type set for the channel member. Type ChannelMembershipType // contains filtered or unexported fields }
The details of a channel member.
type ChannelMembershipForAppInstanceUserSummary ¶
type ChannelMembershipForAppInstanceUserSummary struct { // Returns the channel membership data for an AppInstance . AppInstanceUserMembershipSummary *AppInstanceUserMembershipSummary // Returns the channel data for an AppInstance . ChannelSummary *ChannelSummary // contains filtered or unexported fields }
Summary of the channel membership details of an AppInstanceUser .
type ChannelMembershipPreferences ¶
type ChannelMembershipPreferences struct { // The push notification configuration of a message. PushNotifications *PushNotificationPreferences // contains filtered or unexported fields }
The channel membership preferences for an AppInstanceUser .
type ChannelMembershipSummary ¶
type ChannelMembershipSummary struct { // A member's summary data. Member *Identity // contains filtered or unexported fields }
Summary of the details of a ChannelMembership .
type ChannelMembershipType ¶
type ChannelMembershipType string
const ( ChannelMembershipTypeDefault ChannelMembershipType = "DEFAULT" ChannelMembershipTypeHidden ChannelMembershipType = "HIDDEN" )
Enum values for ChannelMembershipType
func (ChannelMembershipType) Values ¶
func (ChannelMembershipType) Values() []ChannelMembershipType
Values returns all known values for ChannelMembershipType. 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 ChannelMessage ¶
type ChannelMessage struct { // The ARN of the channel. ChannelArn *string // The content of the channel message. For Amazon Lex V2 bot responses, this field // holds a list of messages originating from the bot. For more information, refer // to [Processing responses from an AppInstanceBot]in the Amazon Chime SDK Messaging Developer Guide. // // [Processing responses from an AppInstanceBot]: https://docs.aws.amazon.com/chime-sdk/latest/dg/appinstance-bots#process-response.html Content *string // The content type of the channel message. For Amazon Lex V2 bot responses, the // content type is application/amz-chime-lex-msgs for success responses and // application/amz-chime-lex-error for failure responses. For more information, // refer to [Processing responses from an AppInstanceBot]in the Amazon Chime SDK Messaging Developer Guide. // // [Processing responses from an AppInstanceBot]: https://docs.aws.amazon.com/chime-sdk/latest/dg/appinstance-bots#process-response.html ContentType *string // The time at which the message was created. CreatedTimestamp *time.Time // The time at which a message was edited. LastEditedTimestamp *time.Time // The time at which a message was updated. LastUpdatedTimestamp *time.Time // The attributes for the channel message. For Amazon Lex V2 bot responses, the // attributes are mapped to specific fields from the bot. For more information, // refer to [Processing responses from an AppInstanceBot]in the Amazon Chime SDK Messaging Developer Guide. // // [Processing responses from an AppInstanceBot]: https://docs.aws.amazon.com/chime-sdk/latest/dg/appinstance-bots#process-response.html MessageAttributes map[string]MessageAttributeValue // The ID of a message. MessageId *string // The message metadata. Metadata *string // The persistence setting for a channel message. Persistence ChannelMessagePersistenceType // Hides the content of a message. Redacted bool // The message sender. Sender *Identity // The status of the channel message. Status *ChannelMessageStatusStructure // The ID of the SubChannel. SubChannelId *string // The target of a message, a sender, a user, or a bot. Only the target and the // sender can view targeted messages. Only users who can see targeted messages can // take actions on them. However, administrators can delete targeted messages that // they can’t see. Target []Target // The message type. Type ChannelMessageType // contains filtered or unexported fields }
The details of a message in a channel.
type ChannelMessageCallback ¶
type ChannelMessageCallback struct { // The message ID. // // This member is required. MessageId *string // The message content. For Amazon Lex V2 bot responses, this field holds a list // of messages originating from the bot. For more information, refer to [Processing responses from an AppInstanceBot]in the // Amazon Chime SDK Messaging Developer Guide. // // [Processing responses from an AppInstanceBot]: https://docs.aws.amazon.com/chime-sdk/latest/dg/appinstance-bots#process-response.html Content *string // The content type of the call-back message. For Amazon Lex V2 bot responses, the // content type is application/amz-chime-lex-msgs for success responses and // application/amz-chime-lex-error for failure responses. For more information, // refer to [Processing responses from an AppInstanceBot]in the Amazon Chime SDK Messaging Developer Guide. // // [Processing responses from an AppInstanceBot]: https://docs.aws.amazon.com/chime-sdk/latest/dg/appinstance-bots#process-response.html ContentType *string // The attributes for the channel message. For Amazon Lex V2 bot responses, the // attributes are mapped to specific fields from the bot. For more information, // refer to [Processing responses from an AppInstanceBot]in the Amazon Chime SDK Messaging Developer Guide. // // [Processing responses from an AppInstanceBot]: https://docs.aws.amazon.com/chime-sdk/latest/dg/appinstance-bots#process-response.html MessageAttributes map[string]MessageAttributeValue // The message metadata. Metadata *string // The push notification configuration of the message. PushNotification *PushNotificationConfiguration // The ID of the SubChannel. SubChannelId *string // contains filtered or unexported fields }
Stores information about a callback.
type ChannelMessagePersistenceType ¶
type ChannelMessagePersistenceType string
const ( ChannelMessagePersistenceTypePersistent ChannelMessagePersistenceType = "PERSISTENT" ChannelMessagePersistenceTypeNonPersistent ChannelMessagePersistenceType = "NON_PERSISTENT" )
Enum values for ChannelMessagePersistenceType
func (ChannelMessagePersistenceType) Values ¶
func (ChannelMessagePersistenceType) Values() []ChannelMessagePersistenceType
Values returns all known values for ChannelMessagePersistenceType. 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 ChannelMessageStatus ¶
type ChannelMessageStatus string
const ( ChannelMessageStatusSent ChannelMessageStatus = "SENT" ChannelMessageStatusPending ChannelMessageStatus = "PENDING" ChannelMessageStatusFailed ChannelMessageStatus = "FAILED" ChannelMessageStatusDenied ChannelMessageStatus = "DENIED" )
Enum values for ChannelMessageStatus
func (ChannelMessageStatus) Values ¶
func (ChannelMessageStatus) Values() []ChannelMessageStatus
Values returns all known values for ChannelMessageStatus. 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 ChannelMessageStatusStructure ¶
type ChannelMessageStatusStructure struct { // Contains more details about the message status. Detail *string // The message status value. Value ChannelMessageStatus // contains filtered or unexported fields }
Stores information about a message status.
type ChannelMessageSummary ¶
type ChannelMessageSummary struct { // The content of the channel message. For Amazon Lex V2 bot responses, this field // holds a list of messages originating from the bot. For more information, refer // to [Processing responses from an AppInstanceBot]in the Amazon Chime SDK Messaging Developer Guide. // // [Processing responses from an AppInstanceBot]: https://docs.aws.amazon.com/chime-sdk/latest/dg/appinstance-bots#process-response.html Content *string // The content type of the channel message listed in the summary. For Amazon Lex // V2 bot responses, the content type is application/amz-chime-lex-msgs for // success responses and application/amz-chime-lex-error for failure responses. // For more information, refer to [Processing responses from an AppInstanceBot]in the Amazon Chime SDK Messaging Developer // Guide. // // [Processing responses from an AppInstanceBot]: https://docs.aws.amazon.com/chime-sdk/latest/dg/appinstance-bots#process-response.html ContentType *string // The time at which the message summary was created. CreatedTimestamp *time.Time // The time at which a message was last edited. LastEditedTimestamp *time.Time // The time at which a message was last updated. LastUpdatedTimestamp *time.Time // The attributes for the channel message. For Amazon Lex V2 bot responses, the // attributes are mapped to specific fields from the bot. For more information, // refer to [Processing responses from an AppInstanceBot]in the Amazon Chime SDK Messaging Developer Guide. // // [Processing responses from an AppInstanceBot]: https://docs.aws.amazon.com/chime-sdk/latest/dg/appinstance-bots#process-response.html MessageAttributes map[string]MessageAttributeValue // The ID of the message. MessageId *string // The metadata of the message. Metadata *string // Indicates whether a message was redacted. Redacted bool // The message sender. Sender *Identity // The message status. The status value is SENT for messages sent to a channel // without a channel flow. For channels associated with channel flow, the value // determines the processing stage. Status *ChannelMessageStatusStructure // The target of a message, a sender, a user, or a bot. Only the target and the // sender can view targeted messages. Only users who can see targeted messages can // take actions on them. However, administrators can delete targeted messages that // they can’t see. Target []Target // The type of message. Type ChannelMessageType // contains filtered or unexported fields }
Summary of the messages in a Channel .
type ChannelMessageType ¶
type ChannelMessageType string
const ( ChannelMessageTypeStandard ChannelMessageType = "STANDARD" ChannelMessageTypeControl ChannelMessageType = "CONTROL" )
Enum values for ChannelMessageType
func (ChannelMessageType) Values ¶
func (ChannelMessageType) Values() []ChannelMessageType
Values returns all known values for ChannelMessageType. 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 ChannelMode ¶
type ChannelMode string
const ( ChannelModeUnrestricted ChannelMode = "UNRESTRICTED" ChannelModeRestricted ChannelMode = "RESTRICTED" )
Enum values for ChannelMode
func (ChannelMode) Values ¶
func (ChannelMode) Values() []ChannelMode
Values returns all known values for ChannelMode. 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 ChannelModeratedByAppInstanceUserSummary ¶
type ChannelModeratedByAppInstanceUserSummary struct { // Summary of the details of a Channel . ChannelSummary *ChannelSummary // contains filtered or unexported fields }
Summary of the details of a moderated channel.
type ChannelModerator ¶
type ChannelModerator struct { // The ARN of the moderator's channel. ChannelArn *string // The AppInstanceUser who created the moderator. CreatedBy *Identity // The time at which the moderator was created. CreatedTimestamp *time.Time // The moderator's data. Moderator *Identity // contains filtered or unexported fields }
The details of a channel moderator.
type ChannelModeratorSummary ¶
type ChannelModeratorSummary struct { // The data for a moderator. Moderator *Identity // contains filtered or unexported fields }
Summary of the details of a ChannelModerator .
type ChannelPrivacy ¶
type ChannelPrivacy string
const ( ChannelPrivacyPublic ChannelPrivacy = "PUBLIC" ChannelPrivacyPrivate ChannelPrivacy = "PRIVATE" )
Enum values for ChannelPrivacy
func (ChannelPrivacy) Values ¶
func (ChannelPrivacy) Values() []ChannelPrivacy
Values returns all known values for ChannelPrivacy. 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 ChannelSummary ¶
type ChannelSummary struct { // The ARN of the channel. ChannelArn *string // The time at which the last persistent message visible to the caller in a // channel was sent. LastMessageTimestamp *time.Time // The metadata of the channel. Metadata *string // The mode of the channel. Mode ChannelMode // The name of the channel. Name *string // The privacy setting of the channel. Privacy ChannelPrivacy // contains filtered or unexported fields }
Summary of the details of a Channel .
type ConflictException ¶
type ConflictException struct { Message *string ErrorCodeOverride *string Code ErrorCode // contains filtered or unexported fields }
The request could not be processed because of conflict in the current state of the resource.
func (*ConflictException) Error ¶
func (e *ConflictException) Error() string
func (*ConflictException) ErrorCode ¶
func (e *ConflictException) ErrorCode() string
func (*ConflictException) ErrorFault ¶
func (e *ConflictException) ErrorFault() smithy.ErrorFault
func (*ConflictException) ErrorMessage ¶
func (e *ConflictException) ErrorMessage() string
type ElasticChannelConfiguration ¶
type ElasticChannelConfiguration struct { // The maximum number of SubChannels that you want to allow in the elastic channel. // // This member is required. MaximumSubChannels *int32 // The minimum allowed percentage of TargetMembershipsPerSubChannel users. Ceil of // the calculated value is used in balancing members among SubChannels of the // elastic channel. // // This member is required. MinimumMembershipPercentage *int32 // The maximum number of members allowed in a SubChannel. // // This member is required. TargetMembershipsPerSubChannel *int32 // contains filtered or unexported fields }
The attributes required to configure and create an elastic channel. An elastic channel can support a maximum of 1-million members.
type ErrorCode ¶
type ErrorCode string
const ( ErrorCodeBadRequest ErrorCode = "BadRequest" ErrorCodeConflict ErrorCode = "Conflict" ErrorCodeForbidden ErrorCode = "Forbidden" ErrorCodeNotFound ErrorCode = "NotFound" ErrorCodePreconditionFailed ErrorCode = "PreconditionFailed" ErrorCodeResourceLimitExceeded ErrorCode = "ResourceLimitExceeded" ErrorCodeServiceFailure ErrorCode = "ServiceFailure" ErrorCodeAccessDenied ErrorCode = "AccessDenied" ErrorCodeThrottled ErrorCode = "Throttled" ErrorCodeThrottling ErrorCode = "Throttling" ErrorCodeUnprocessable ErrorCode = "Unprocessable" ErrorCodeVoiceConnectorGroupAssociationsExist ErrorCode = "VoiceConnectorGroupAssociationsExist" ErrorCodePhoneNumberAssociationsExist ErrorCode = "PhoneNumberAssociationsExist" )
Enum values for ErrorCode
type ExpirationCriterion ¶
type ExpirationCriterion string
const ( ExpirationCriterionCreatedTimestamp ExpirationCriterion = "CREATED_TIMESTAMP" ExpirationCriterionLastMessageTimestamp ExpirationCriterion = "LAST_MESSAGE_TIMESTAMP" )
Enum values for ExpirationCriterion
func (ExpirationCriterion) Values ¶
func (ExpirationCriterion) Values() []ExpirationCriterion
Values returns all known values for ExpirationCriterion. 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 ExpirationSettings ¶
type ExpirationSettings struct { // The conditions that must be met for a channel to expire. // // This member is required. ExpirationCriterion ExpirationCriterion // The period in days after which the system automatically deletes a channel. // // This member is required. ExpirationDays *int32 // contains filtered or unexported fields }
Settings that control the interval after which a channel is deleted.
type FallbackAction ¶
type FallbackAction string
const ( FallbackActionContinue FallbackAction = "CONTINUE" FallbackActionAbort FallbackAction = "ABORT" )
Enum values for FallbackAction
func (FallbackAction) Values ¶
func (FallbackAction) Values() []FallbackAction
Values returns all known values for FallbackAction. 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 ForbiddenException ¶
type ForbiddenException struct { Message *string ErrorCodeOverride *string Code ErrorCode // contains filtered or unexported fields }
The client is permanently forbidden from making the request.
func (*ForbiddenException) Error ¶
func (e *ForbiddenException) Error() string
func (*ForbiddenException) ErrorCode ¶
func (e *ForbiddenException) ErrorCode() string
func (*ForbiddenException) ErrorFault ¶
func (e *ForbiddenException) ErrorFault() smithy.ErrorFault
func (*ForbiddenException) ErrorMessage ¶
func (e *ForbiddenException) ErrorMessage() string
type Identity ¶
type Identity struct { // The ARN in an Identity. Arn *string // The name in an Identity. Name *string // contains filtered or unexported fields }
The details of a user or bot.
type InvocationType ¶
type InvocationType string
const (
InvocationTypeAsync InvocationType = "ASYNC"
)
Enum values for InvocationType
func (InvocationType) Values ¶
func (InvocationType) Values() []InvocationType
Values returns all known values for InvocationType. 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 LambdaConfiguration ¶
type LambdaConfiguration struct { // Controls how the Lambda function is invoked. // // This member is required. InvocationType InvocationType // The ARN of the Lambda message processing function. // // This member is required. ResourceArn *string // contains filtered or unexported fields }
Stores metadata about a Lambda processor.
type MessageAttributeValue ¶
type MessageAttributeValue struct { // The strings in a message attribute value. StringValues []string // contains filtered or unexported fields }
A list of message attribute values.
type MessagingDataType ¶
type MessagingDataType string
const ( MessagingDataTypeChannel MessagingDataType = "Channel" MessagingDataTypeChannelMessage MessagingDataType = "ChannelMessage" )
Enum values for MessagingDataType
func (MessagingDataType) Values ¶
func (MessagingDataType) Values() []MessagingDataType
Values returns all known values for MessagingDataType. 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 MessagingSessionEndpoint ¶
type MessagingSessionEndpoint struct { // The endpoint to which you establish a websocket connection. Url *string // contains filtered or unexported fields }
The websocket endpoint used to connect to Amazon Chime SDK messaging.
type NotFoundException ¶
type NotFoundException struct { Message *string ErrorCodeOverride *string Code ErrorCode // contains filtered or unexported fields }
One or more of the resources in the request does not exist in the system.
func (*NotFoundException) Error ¶
func (e *NotFoundException) Error() string
func (*NotFoundException) ErrorCode ¶
func (e *NotFoundException) ErrorCode() string
func (*NotFoundException) ErrorFault ¶
func (e *NotFoundException) ErrorFault() smithy.ErrorFault
func (*NotFoundException) ErrorMessage ¶
func (e *NotFoundException) ErrorMessage() string
type Processor ¶
type Processor struct { // The information about the type of processor and its identifier. // // This member is required. Configuration *ProcessorConfiguration // The sequence in which processors run. If you have multiple processors in a // channel flow, message processing goes through each processor in the sequence. // The value determines the sequence. At this point, we support only 1 processor // within a flow. // // This member is required. ExecutionOrder *int32 // Determines whether to continue with message processing or stop it in cases // where communication with a processor fails. If a processor has a fallback action // of ABORT and communication with it fails, the processor sets the message status // to FAILED and does not send the message to any recipients. Note that if the // last processor in the channel flow sequence has a fallback action of CONTINUE // and communication with the processor fails, then the message is considered // processed and sent to recipients of the channel. // // This member is required. FallbackAction FallbackAction // The name of the channel flow. // // This member is required. Name *string // contains filtered or unexported fields }
The information about a processor in a channel flow.
type ProcessorConfiguration ¶
type ProcessorConfiguration struct { // Indicates that the processor is of type Lambda. // // This member is required. Lambda *LambdaConfiguration // contains filtered or unexported fields }
A processor's metadata.
type PushNotificationConfiguration ¶
type PushNotificationConfiguration struct { // The body of the push notification. Body *string // The title of the push notification. Title *string // Enum value that indicates the type of the push notification for a message. // DEFAULT : Normal mobile push notification. VOIP : VOIP mobile push notification. Type PushNotificationType // contains filtered or unexported fields }
The push notification configuration of the message.
type PushNotificationPreferences ¶
type PushNotificationPreferences struct { // Enum value that indicates which push notifications to send to the requested // member of a channel. ALL sends all push notifications, NONE sends no push // notifications, FILTERED sends only filtered push notifications. // // This member is required. AllowNotifications AllowNotifications // The simple JSON object used to send a subset of a push notification to the // requested member. FilterRule *string // contains filtered or unexported fields }
The channel membership preferences for push notification.
type PushNotificationType ¶
type PushNotificationType string
const ( PushNotificationTypeDefault PushNotificationType = "DEFAULT" PushNotificationTypeVoip PushNotificationType = "VOIP" )
Enum values for PushNotificationType
func (PushNotificationType) Values ¶
func (PushNotificationType) Values() []PushNotificationType
Values returns all known values for PushNotificationType. 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 ResourceLimitExceededException ¶
type ResourceLimitExceededException struct { Message *string ErrorCodeOverride *string Code ErrorCode // contains filtered or unexported fields }
The request exceeds the resource limit.
func (*ResourceLimitExceededException) Error ¶
func (e *ResourceLimitExceededException) Error() string
func (*ResourceLimitExceededException) ErrorCode ¶
func (e *ResourceLimitExceededException) ErrorCode() string
func (*ResourceLimitExceededException) ErrorFault ¶
func (e *ResourceLimitExceededException) ErrorFault() smithy.ErrorFault
func (*ResourceLimitExceededException) ErrorMessage ¶
func (e *ResourceLimitExceededException) ErrorMessage() string
type SearchField ¶
type SearchField struct { // An enum value that indicates the key to search the channel on. MEMBERS allows // you to search channels based on memberships. You can use it with the EQUALS // operator to get channels whose memberships are equal to the specified values, // and with the INCLUDES operator to get channels whose memberships include the // specified values. // // This member is required. Key SearchFieldKey // The operator used to compare field values, currently EQUALS or INCLUDES . Use // the EQUALS operator to find channels whose memberships equal the specified // values. Use the INCLUDES operator to find channels whose memberships include // the specified values. // // This member is required. Operator SearchFieldOperator // The values that you want to search for, a list of strings. The values must be // AppInstanceUserArns specified as a list of strings. // // This operation isn't supported for AppInstanceUsers with large number of // memberships. // // This member is required. Values []string // contains filtered or unexported fields }
A Field of the channel that you want to search.
type SearchFieldKey ¶
type SearchFieldKey string
const (
SearchFieldKeyMembers SearchFieldKey = "MEMBERS"
)
Enum values for SearchFieldKey
func (SearchFieldKey) Values ¶
func (SearchFieldKey) Values() []SearchFieldKey
Values returns all known values for SearchFieldKey. 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 SearchFieldOperator ¶
type SearchFieldOperator string
const ( SearchFieldOperatorEquals SearchFieldOperator = "EQUALS" SearchFieldOperatorIncludes SearchFieldOperator = "INCLUDES" )
Enum values for SearchFieldOperator
func (SearchFieldOperator) Values ¶
func (SearchFieldOperator) Values() []SearchFieldOperator
Values returns all known values for SearchFieldOperator. 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 ServiceFailureException ¶
type ServiceFailureException struct { Message *string ErrorCodeOverride *string Code ErrorCode // contains filtered or unexported fields }
The service encountered an unexpected error.
func (*ServiceFailureException) Error ¶
func (e *ServiceFailureException) Error() string
func (*ServiceFailureException) ErrorCode ¶
func (e *ServiceFailureException) ErrorCode() string
func (*ServiceFailureException) ErrorFault ¶
func (e *ServiceFailureException) ErrorFault() smithy.ErrorFault
func (*ServiceFailureException) ErrorMessage ¶
func (e *ServiceFailureException) ErrorMessage() string
type ServiceUnavailableException ¶
type ServiceUnavailableException struct { // contains filtered or unexported fields }
The service is currently unavailable.
func (*ServiceUnavailableException) Error ¶
func (e *ServiceUnavailableException) Error() string
func (*ServiceUnavailableException) ErrorCode ¶
func (e *ServiceUnavailableException) ErrorCode() string
func (*ServiceUnavailableException) ErrorFault ¶
func (e *ServiceUnavailableException) ErrorFault() smithy.ErrorFault
func (*ServiceUnavailableException) ErrorMessage ¶
func (e *ServiceUnavailableException) ErrorMessage() string
type StreamingConfiguration ¶
type StreamingConfiguration struct { // The data type of the configuration. // // This member is required. DataType MessagingDataType // The ARN of the resource in the configuration. // // This member is required. ResourceArn *string // contains filtered or unexported fields }
The configuration for connecting a messaging stream to Amazon Kinesis.
type SubChannelSummary ¶
type SubChannelSummary struct { // The number of members in a SubChannel. MembershipCount *int32 // The unique ID of a SubChannel. SubChannelId *string // contains filtered or unexported fields }
Summary of the sub-channels associated with the elastic channel.
type Tag ¶
type Tag struct { // The key in a tag. // // This member is required. Key *string // The value in a tag. // // This member is required. Value *string // contains filtered or unexported fields }
A tag object containing a key-value pair.
type Target ¶
type Target struct { // The ARN of the target channel member. MemberArn *string // contains filtered or unexported fields }
The target of a message, a sender, a user, or a bot. Only the target and the sender can view targeted messages. Only users who can see targeted messages can take actions on them. However, administrators can delete targeted messages that they can’t see.
type ThrottledClientException ¶
type ThrottledClientException struct { Message *string ErrorCodeOverride *string Code ErrorCode // contains filtered or unexported fields }
The client exceeded its request rate limit.
func (*ThrottledClientException) Error ¶
func (e *ThrottledClientException) Error() string
func (*ThrottledClientException) ErrorCode ¶
func (e *ThrottledClientException) ErrorCode() string
func (*ThrottledClientException) ErrorFault ¶
func (e *ThrottledClientException) ErrorFault() smithy.ErrorFault
func (*ThrottledClientException) ErrorMessage ¶
func (e *ThrottledClientException) ErrorMessage() string
type UnauthorizedClientException ¶
type UnauthorizedClientException struct { // contains filtered or unexported fields }
The client is not currently authorized to make the request.
func (*UnauthorizedClientException) Error ¶
func (e *UnauthorizedClientException) Error() string
func (*UnauthorizedClientException) ErrorCode ¶
func (e *UnauthorizedClientException) ErrorCode() string
func (*UnauthorizedClientException) ErrorFault ¶
func (e *UnauthorizedClientException) ErrorFault() smithy.ErrorFault
func (*UnauthorizedClientException) ErrorMessage ¶
func (e *UnauthorizedClientException) ErrorMessage() string