1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206
|
// Code generated by smithy-go-codegen DO NOT EDIT.
package types
import (
smithydocument "github.com/aws/smithy-go/document"
)
// The case-insensitive input to indicate standard MIME type that describes the
// format of the file that will be uploaded.
type AttachmentItem struct {
// A unique identifier for the attachment.
AttachmentId *string
// A case-sensitive name of the attachment being uploaded.
AttachmentName *string
// Describes the MIME file type of the attachment. For a list of supported file
// types, see Feature specifications (https://docs.aws.amazon.com/connect/latest/adminguide/feature-limits.html)
// in the Amazon Connect Administrator Guide.
ContentType *string
// Status of the attachment.
Status ArtifactStatus
noSmithyDocumentSerde
}
// Connection credentials.
type ConnectionCredentials struct {
// The connection token.
ConnectionToken *string
// The expiration of the token. It's specified in ISO 8601 format:
// yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.
Expiry *string
noSmithyDocumentSerde
}
// An item - message or event - that has been sent.
type Item struct {
// The time when the message or event was sent. It's specified in ISO 8601 format:
// yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.
AbsoluteTime *string
// Provides information about the attachments.
Attachments []AttachmentItem
// The contactId on which the transcript item was originally sent. This field is
// populated only when the transcript item is from the current chat session.
ContactId *string
// The content of the message or event.
Content *string
// The type of content of the item.
ContentType *string
// The chat display name of the sender.
DisplayName *string
// The ID of the item.
Id *string
// The metadata related to the message. Currently this supports only information
// related to message receipts.
MessageMetadata *MessageMetadata
// The ID of the sender in the session.
ParticipantId *string
// The role of the sender. For example, is it a customer, agent, or system.
ParticipantRole ParticipantRole
// The contactId on which the transcript item was originally sent. This field is
// only populated for persistent chats when the transcript item is from the past
// chat session. For more information, see Enable persistent chat (https://docs.aws.amazon.com/connect/latest/adminguide/chat-persistence.html)
// .
RelatedContactId *string
// Type of the item: message or event.
Type ChatItemType
noSmithyDocumentSerde
}
// Contains metadata related to a message.
type MessageMetadata struct {
// The identifier of the message that contains the metadata information.
MessageId *string
// The list of receipt information for a message for different recipients.
Receipts []Receipt
noSmithyDocumentSerde
}
// The receipt for the message delivered to the recipient.
type Receipt struct {
// The time when the message was delivered to the recipient.
DeliveredTimestamp *string
// The time when the message was read by the recipient.
ReadTimestamp *string
// The identifier of the recipient of the message.
RecipientParticipantId *string
noSmithyDocumentSerde
}
// A filtering option for where to start. For example, if you sent 100 messages,
// start with message 50.
type StartPosition struct {
// The time in ISO format where to start. It's specified in ISO 8601 format:
// yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.
AbsoluteTime *string
// The ID of the message or event where to start.
Id *string
// The start position of the most recent message where you want to start.
MostRecent int32
noSmithyDocumentSerde
}
// Fields to be used while uploading the attachment.
type UploadMetadata struct {
// The headers to be provided while uploading the file to the URL.
HeadersToInclude map[string]string
// This is the pre-signed URL that can be used for uploading the file to Amazon S3
// when used in response to StartAttachmentUpload (https://docs.aws.amazon.com/connect-participant/latest/APIReference/API_StartAttachmentUpload.html)
// .
Url *string
// The expiration time of the URL in ISO timestamp. It's specified in ISO 8601
// format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.
UrlExpiry *string
noSmithyDocumentSerde
}
// A view resource object. Contains metadata and content necessary to render the
// view.
type View struct {
// The Amazon Resource Name (ARN) of the view.
Arn *string
// View content containing all content necessary to render a view except for
// runtime input data.
Content *ViewContent
// The identifier of the view.
Id *string
// The name of the view.
Name *string
// The current version of the view.
Version *int32
noSmithyDocumentSerde
}
// View content containing all content necessary to render a view except for
// runtime input data.
type ViewContent struct {
// A list of actions possible from the view
Actions []string
// The schema representing the input data that the view template must be supplied
// to render.
InputSchema *string
// The view template representing the structure of the view.
Template *string
noSmithyDocumentSerde
}
// The websocket for the participant's connection.
type Websocket struct {
// The URL expiration timestamp in ISO date format. It's specified in ISO 8601
// format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.
ConnectionExpiry *string
// The URL of the websocket.
Url *string
noSmithyDocumentSerde
}
type noSmithyDocumentSerde = smithydocument.NoSerde
|