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
|
// 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/amazon-connect-service-limits.html#feature-limits)
// 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 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 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
// Type of the item: message or event.
Type ChatItemType
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
}
// 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
|