1// Code generated by smithy-go-codegen DO NOT EDIT.
2
3package types
4
5import (
6	"time"
7)
8
9// The filters applied to Data Store query.
10type DatastoreFilter struct {
11
12	// A filter that allows the user to set cutoff dates for records. All Data Stores
13	// created after the specified date will be included in the results.
14	CreatedAfter *time.Time
15
16	// A filter that allows the user to set cutoff dates for records. All Data Stores
17	// created before the specified date will be included in the results.
18	CreatedBefore *time.Time
19
20	// Allows the user to filter Data Store results by name.
21	DatastoreName *string
22
23	// Allows the user to filter Data Store results by status.
24	DatastoreStatus DatastoreStatus
25}
26
27// Displays the properties of the Data Store, including the ID, Arn, name, and the
28// status of the Data Store.
29type DatastoreProperties struct {
30
31	// The Amazon Resource Name used in the creation of the Data Store.
32	//
33	// This member is required.
34	DatastoreArn *string
35
36	// The AWS endpoint for the Data Store. Each Data Store will have it's own endpoint
37	// with Data Store ID in the endpoint URL.
38	//
39	// This member is required.
40	DatastoreEndpoint *string
41
42	// The AWS-generated ID number for the Data Store.
43	//
44	// This member is required.
45	DatastoreId *string
46
47	// The status of the Data Store. Possible statuses are 'CREATING', 'ACTIVE',
48	// 'DELETING', or 'DELETED'.
49	//
50	// This member is required.
51	DatastoreStatus DatastoreStatus
52
53	// The FHIR version. Only R4 version data is supported.
54	//
55	// This member is required.
56	DatastoreTypeVersion FHIRVersion
57
58	// The time that a Data Store was created.
59	CreatedAt *time.Time
60
61	// The user-generated name for the Data Store.
62	DatastoreName *string
63
64	// The preloaded data configuration for the Data Store. Only data preloaded from
65	// Synthea is supported.
66	PreloadDataConfig *PreloadDataConfig
67}
68
69// The properties of a FHIR export job, including the ID, ARN, name, and the status
70// of the job.
71type ExportJobProperties struct {
72
73	// The AWS generated ID for the Data Store from which files are being exported for
74	// an export job.
75	//
76	// This member is required.
77	DatastoreId *string
78
79	// The AWS generated ID for an export job.
80	//
81	// This member is required.
82	JobId *string
83
84	// The status of a FHIR export job. Possible statuses are SUBMITTED, IN_PROGRESS,
85	// COMPLETED, or FAILED.
86	//
87	// This member is required.
88	JobStatus JobStatus
89
90	// The output data configuration that was supplied when the export job was created.
91	//
92	// This member is required.
93	OutputDataConfig OutputDataConfig
94
95	// The time an export job was initiated.
96	//
97	// This member is required.
98	SubmitTime *time.Time
99
100	// The Amazon Resource Name used during the initiation of the job.
101	DataAccessRoleArn *string
102
103	// The time an export job completed.
104	EndTime *time.Time
105
106	// The user generated name for an export job.
107	JobName *string
108
109	// An explanation of any errors that may have occurred during the export job.
110	Message *string
111}
112
113// Displays the properties of the import job, including the ID, Arn, Name, and the
114// status of the Data Store.
115type ImportJobProperties struct {
116
117	// The datastore id used when the Import job was created.
118	//
119	// This member is required.
120	DatastoreId *string
121
122	// The input data configuration that was supplied when the Import job was created.
123	//
124	// This member is required.
125	InputDataConfig InputDataConfig
126
127	// The AWS-generated id number for the Import job.
128	//
129	// This member is required.
130	JobId *string
131
132	// The job status for an Import job. Possible statuses are SUBMITTED, IN_PROGRESS,
133	// COMPLETED, FAILED.
134	//
135	// This member is required.
136	JobStatus JobStatus
137
138	// The time that the Import job was submitted for processing.
139	//
140	// This member is required.
141	SubmitTime *time.Time
142
143	// The Amazon Resource Name (ARN) that gives Amazon HealthLake access to your input
144	// data.
145	DataAccessRoleArn *string
146
147	// The time that the Import job was completed.
148	EndTime *time.Time
149
150	// The user-generated name for an Import job.
151	JobName *string
152
153	// An explanation of any errors that may have occurred during the FHIR import job.
154	Message *string
155}
156
157// The input properties for an import job.
158//
159// The following types satisfy this interface:
160//  InputDataConfigMemberS3Uri
161type InputDataConfig interface {
162	isInputDataConfig()
163}
164
165// The S3Uri is the user specified S3 location of the FHIR data to be imported into
166// Amazon HealthLake.
167type InputDataConfigMemberS3Uri struct {
168	Value string
169}
170
171func (*InputDataConfigMemberS3Uri) isInputDataConfig() {}
172
173// The output data configuration that was supplied when the export job was created.
174//
175// The following types satisfy this interface:
176//  OutputDataConfigMemberS3Uri
177type OutputDataConfig interface {
178	isOutputDataConfig()
179}
180
181// The S3Uri is the user specified S3 location to which data will be exported from
182// a FHIR Data Store.
183type OutputDataConfigMemberS3Uri struct {
184	Value string
185}
186
187func (*OutputDataConfigMemberS3Uri) isOutputDataConfig() {}
188
189// The input properties for the preloaded Data Store. Only data preloaded from
190// Synthea is supported.
191type PreloadDataConfig struct {
192
193	// The type of preloaded data. Only Synthea preloaded data is supported.
194	//
195	// This member is required.
196	PreloadDataType PreloadDataType
197}
198
199// UnknownUnionMember is returned when a union member is returned over the wire,
200// but has an unknown tag.
201type UnknownUnionMember struct {
202	Tag   string
203	Value []byte
204}
205
206func (*UnknownUnionMember) isInputDataConfig()  {}
207func (*UnknownUnionMember) isOutputDataConfig() {}
208