1// Code generated by smithy-go-codegen DO NOT EDIT. 2 3package types 4 5import ( 6 "time" 7) 8 9// The filters applied to datastore query. 10type DatastoreFilter struct { 11 12 // A filter that allows the user to set cutoff dates for records. All datastores 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 datastores 17 // created before the specified date will be included in the results. 18 CreatedBefore *time.Time 19 20 // Allows the user to filter datastore results by name. 21 DatastoreName *string 22 23 // Allows the user to filter datastore results by status. 24 DatastoreStatus DatastoreStatus 25} 26 27// Displays the properties of the datastore, including the ID, Arn, name, and the 28// status of the datastore. 29type DatastoreProperties struct { 30 31 // The Amazon Resource Name used in the creation of the datastore. 32 // 33 // This member is required. 34 DatastoreArn *string 35 36 // The AWS endpoint for the datastore. Each datastore will have it's own endpoint 37 // with datastore ID in the endpoint URL. 38 // 39 // This member is required. 40 DatastoreEndpoint *string 41 42 // The AWS-generated ID number for the datastore. 43 // 44 // This member is required. 45 DatastoreId *string 46 47 // The status of the datastore. 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 datastore was created. 59 CreatedAt *time.Time 60 61 // The user-generated name for the datastore. 62 DatastoreName *string 63 64 // The preloaded data configuration for the datastore. Only data preloaded from 65 // Synthea is supported. 66 PreloadDataConfig *PreloadDataConfig 67} 68 69// Displays the properties of the import job, including the ID, Arn, Name, and the 70// status of the datastore. 71type ImportJobProperties struct { 72 73 // The datastore id used when the Import job was created. 74 // 75 // This member is required. 76 DatastoreId *string 77 78 // The input data configuration that was supplied when the Import job was created. 79 // 80 // This member is required. 81 InputDataConfig InputDataConfig 82 83 // The AWS-generated id number for the Import job. 84 // 85 // This member is required. 86 JobId *string 87 88 // The job status for an Import job. Possible statuses are SUBMITTED, IN_PROGRESS, 89 // COMPLETED, FAILED. 90 // 91 // This member is required. 92 JobStatus JobStatus 93 94 // The time that the Import job was submitted for processing. 95 // 96 // This member is required. 97 SubmitTime *time.Time 98 99 // The Amazon Resource Name (ARN) that gives Amazon HealthLake access to your input 100 // data. 101 DataAccessRoleArn *string 102 103 // The time that the Import job was completed. 104 EndTime *time.Time 105 106 // The user-generated name for an Import job. 107 JobName *string 108 109 // An explanation of any errors that may have occurred during the FHIR import job. 110 Message *string 111} 112 113// The input properties for an import job. 114// 115// The following types satisfy this interface: 116// InputDataConfigMemberS3Uri 117type InputDataConfig interface { 118 isInputDataConfig() 119} 120 121// The S3Uri is the user specified S3 location of the FHIR data to be imported into 122// Amazon HealthLake. 123type InputDataConfigMemberS3Uri struct { 124 Value string 125} 126 127func (*InputDataConfigMemberS3Uri) isInputDataConfig() {} 128 129// The input properties for the preloaded datastore. Only data preloaded from 130// Synthea is supported. 131type PreloadDataConfig struct { 132 133 // The type of preloaded data. Only Synthea preloaded data is supported. 134 // 135 // This member is required. 136 PreloadDataType PreloadDataType 137} 138 139// UnknownUnionMember is returned when a union member is returned over the wire, 140// but has an unknown tag. 141type UnknownUnionMember struct { 142 Tag string 143 Value []byte 144} 145 146func (*UnknownUnionMember) isInputDataConfig() {} 147