1// Code generated by smithy-go-codegen DO NOT EDIT.
2
3package types
4
5// The case-insensitive input to indicate standard MIME type that describes the
6// format of the file that will be uploaded.
7type AttachmentItem struct {
8
9	// A unique identifier for the attachment.
10	AttachmentId *string
11
12	// A case-sensitive name of the attachment being uploaded.
13	AttachmentName *string
14
15	// Describes the MIME file type of the attachment. For a list of supported file
16	// types, see Feature specifications
17	// (https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html#feature-limits)
18	// in the Amazon Connect Administrator Guide.
19	ContentType *string
20
21	// Status of the attachment.
22	Status ArtifactStatus
23}
24
25// Connection credentials.
26type ConnectionCredentials struct {
27
28	// The connection token.
29	ConnectionToken *string
30
31	// The expiration of the token. It's specified in ISO 8601 format:
32	// yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.
33	Expiry *string
34}
35
36// An item - message or event - that has been sent.
37type Item struct {
38
39	// The time when the message or event was sent. It's specified in ISO 8601 format:
40	// yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.
41	AbsoluteTime *string
42
43	// Provides information about the attachments.
44	Attachments []AttachmentItem
45
46	// The content of the message or event.
47	Content *string
48
49	// The type of content of the item.
50	ContentType *string
51
52	// The chat display name of the sender.
53	DisplayName *string
54
55	// The ID of the item.
56	Id *string
57
58	// The ID of the sender in the session.
59	ParticipantId *string
60
61	// The role of the sender. For example, is it a customer, agent, or system.
62	ParticipantRole ParticipantRole
63
64	// Type of the item: message or event.
65	Type ChatItemType
66}
67
68// A filtering option for where to start. For example, if you sent 100 messages,
69// start with message 50.
70type StartPosition struct {
71
72	// The time in ISO format where to start. It's specified in ISO 8601 format:
73	// yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.
74	AbsoluteTime *string
75
76	// The ID of the message or event where to start.
77	Id *string
78
79	// The start position of the most recent message where you want to start.
80	MostRecent int32
81}
82
83// Fields to be used while uploading the attachment.
84type UploadMetadata struct {
85
86	// The headers to be provided while uploading the file to the URL.
87	HeadersToInclude map[string]string
88
89	// The pre-signed URL using which file would be downloaded from Amazon S3 by the
90	// API caller.
91	Url *string
92
93	// The expiration time of the URL in ISO timestamp. It's specified in ISO 8601
94	// format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.
95	UrlExpiry *string
96}
97
98// The websocket for the participant's connection.
99type Websocket struct {
100
101	// The URL expiration timestamp in ISO date format. It's specified in ISO 8601
102	// format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.
103	ConnectionExpiry *string
104
105	// The URL of the websocket.
106	Url *string
107}
108