| 1 |
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. |
| 2 |
|
| 3 |
package healthlake |
| 4 |
|
| 5 |
import ( |
| 6 |
"fmt" |
| 7 |
"time" |
| 8 |
|
| 9 |
"github.com/aws/aws-sdk-go/aws" |
| 10 |
"github.com/aws/aws-sdk-go/aws/awsutil" |
| 11 |
"github.com/aws/aws-sdk-go/aws/request" |
| 12 |
"github.com/aws/aws-sdk-go/private/protocol" |
| 13 |
"github.com/aws/aws-sdk-go/private/protocol/jsonrpc" |
| 14 |
) |
| 15 |
|
| 16 |
const opCreateFHIRDatastore = "CreateFHIRDatastore" |
| 17 |
|
| 18 |
// CreateFHIRDatastoreRequest generates a "aws/request.Request" representing the |
| 19 |
// client's request for the CreateFHIRDatastore operation. The "output" return |
| 20 |
// value will be populated with the request's response once the request completes |
| 21 |
// successfully. |
| 22 |
// |
| 23 |
// Use "Send" method on the returned Request to send the API call to the service. |
| 24 |
// the "output" return value is not valid until after Send returns without error. |
| 25 |
// |
| 26 |
// See CreateFHIRDatastore for more information on using the CreateFHIRDatastore |
| 27 |
// API call, and error handling. |
| 28 |
// |
| 29 |
// This method is useful when you want to inject custom logic or configuration |
| 30 |
// into the SDK's request lifecycle. Such as custom headers, or retry logic. |
| 31 |
// |
| 32 |
// // Example sending a request using the CreateFHIRDatastoreRequest method. |
| 33 |
// req, resp := client.CreateFHIRDatastoreRequest(params) |
| 34 |
// |
| 35 |
// err := req.Send() |
| 36 |
// if err == nil { // resp is now filled |
| 37 |
// fmt.Println(resp) |
| 38 |
// } |
| 39 |
// |
| 40 |
// See also, https://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/CreateFHIRDatastore |
| 41 |
func (c *HealthLake) CreateFHIRDatastoreRequest(input *CreateFHIRDatastoreInput) (req *request.Request, output *CreateFHIRDatastoreOutput) { |
| 42 |
op := &request.Operation{ |
| 43 |
Name: opCreateFHIRDatastore, |
| 44 |
HTTPMethod: "POST", |
| 45 |
HTTPPath: "/", |
| 46 |
} |
| 47 |
|
| 48 |
if input == nil { |
| 49 |
input = &CreateFHIRDatastoreInput{} |
| 50 |
} |
| 51 |
|
| 52 |
output = &CreateFHIRDatastoreOutput{} |
| 53 |
req = c.newRequest(op, input, output) |
| 54 |
return |
| 55 |
} |
| 56 |
|
| 57 |
// CreateFHIRDatastore API operation for Amazon HealthLake. |
| 58 |
// |
| 59 |
// Creates a data store that can ingest and export FHIR formatted data. |
| 60 |
// |
| 61 |
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions |
| 62 |
// with awserr.Error's Code and Message methods to get detailed information about |
| 63 |
// the error. |
| 64 |
// |
| 65 |
// See the AWS API reference guide for Amazon HealthLake's |
| 66 |
// API operation CreateFHIRDatastore for usage and error information. |
| 67 |
// |
| 68 |
// Returned Error Types: |
| 69 |
// |
| 70 |
// - ValidationException |
| 71 |
// The user input parameter was invalid. |
| 72 |
// |
| 73 |
// - ThrottlingException |
| 74 |
// The user has exceeded their maximum number of allowed calls to the given |
| 75 |
// API. |
| 76 |
// |
| 77 |
// - AccessDeniedException |
| 78 |
// Access is denied. Your account is not authorized to perform this operation. |
| 79 |
// |
| 80 |
// - InternalServerException |
| 81 |
// Unknown error occurs in the service. |
| 82 |
// |
| 83 |
// See also, https://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/CreateFHIRDatastore |
| 84 |
func (c *HealthLake) CreateFHIRDatastore(input *CreateFHIRDatastoreInput) (*CreateFHIRDatastoreOutput, error) { |
| 85 |
req, out := c.CreateFHIRDatastoreRequest(input) |
| 86 |
return out, req.Send() |
| 87 |
} |
| 88 |
|
| 89 |
// CreateFHIRDatastoreWithContext is the same as CreateFHIRDatastore with the addition of |
| 90 |
// the ability to pass a context and additional request options. |
| 91 |
// |
| 92 |
// See CreateFHIRDatastore for details on how to use this API operation. |
| 93 |
// |
| 94 |
// The context must be non-nil and will be used for request cancellation. If |
| 95 |
// the context is nil a panic will occur. In the future the SDK may create |
| 96 |
// sub-contexts for http.Requests. See https://golang.org/pkg/context/ |
| 97 |
// for more information on using Contexts. |
| 98 |
func (c *HealthLake) CreateFHIRDatastoreWithContext(ctx aws.Context, input *CreateFHIRDatastoreInput, opts ...request.Option) (*CreateFHIRDatastoreOutput, error) { |
| 99 |
req, out := c.CreateFHIRDatastoreRequest(input) |
| 100 |
req.SetContext(ctx) |
| 101 |
req.ApplyOptions(opts...) |
| 102 |
return out, req.Send() |
| 103 |
} |
| 104 |
|
| 105 |
const opDeleteFHIRDatastore = "DeleteFHIRDatastore" |
| 106 |
|
| 107 |
// DeleteFHIRDatastoreRequest generates a "aws/request.Request" representing the |
| 108 |
// client's request for the DeleteFHIRDatastore operation. The "output" return |
| 109 |
// value will be populated with the request's response once the request completes |
| 110 |
// successfully. |
| 111 |
// |
| 112 |
// Use "Send" method on the returned Request to send the API call to the service. |
| 113 |
// the "output" return value is not valid until after Send returns without error. |
| 114 |
// |
| 115 |
// See DeleteFHIRDatastore for more information on using the DeleteFHIRDatastore |
| 116 |
// API call, and error handling. |
| 117 |
// |
| 118 |
// This method is useful when you want to inject custom logic or configuration |
| 119 |
// into the SDK's request lifecycle. Such as custom headers, or retry logic. |
| 120 |
// |
| 121 |
// // Example sending a request using the DeleteFHIRDatastoreRequest method. |
| 122 |
// req, resp := client.DeleteFHIRDatastoreRequest(params) |
| 123 |
// |
| 124 |
// err := req.Send() |
| 125 |
// if err == nil { // resp is now filled |
| 126 |
// fmt.Println(resp) |
| 127 |
// } |
| 128 |
// |
| 129 |
// See also, https://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/DeleteFHIRDatastore |
| 130 |
func (c *HealthLake) DeleteFHIRDatastoreRequest(input *DeleteFHIRDatastoreInput) (req *request.Request, output *DeleteFHIRDatastoreOutput) { |
| 131 |
op := &request.Operation{ |
| 132 |
Name: opDeleteFHIRDatastore, |
| 133 |
HTTPMethod: "POST", |
| 134 |
HTTPPath: "/", |
| 135 |
} |
| 136 |
|
| 137 |
if input == nil { |
| 138 |
input = &DeleteFHIRDatastoreInput{} |
| 139 |
} |
| 140 |
|
| 141 |
output = &DeleteFHIRDatastoreOutput{} |
| 142 |
req = c.newRequest(op, input, output) |
| 143 |
return |
| 144 |
} |
| 145 |
|
| 146 |
// DeleteFHIRDatastore API operation for Amazon HealthLake. |
| 147 |
// |
| 148 |
// Deletes a data store. |
| 149 |
// |
| 150 |
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions |
| 151 |
// with awserr.Error's Code and Message methods to get detailed information about |
| 152 |
// the error. |
| 153 |
// |
| 154 |
// See the AWS API reference guide for Amazon HealthLake's |
| 155 |
// API operation DeleteFHIRDatastore for usage and error information. |
| 156 |
// |
| 157 |
// Returned Error Types: |
| 158 |
// |
| 159 |
// - AccessDeniedException |
| 160 |
// Access is denied. Your account is not authorized to perform this operation. |
| 161 |
// |
| 162 |
// - ConflictException |
| 163 |
// The data store is in a transition state and the user requested action can |
| 164 |
// not be performed. |
| 165 |
// |
| 166 |
// - ValidationException |
| 167 |
// The user input parameter was invalid. |
| 168 |
// |
| 169 |
// - ResourceNotFoundException |
| 170 |
// The requested data store was not found. |
| 171 |
// |
| 172 |
// - ThrottlingException |
| 173 |
// The user has exceeded their maximum number of allowed calls to the given |
| 174 |
// API. |
| 175 |
// |
| 176 |
// - InternalServerException |
| 177 |
// Unknown error occurs in the service. |
| 178 |
// |
| 179 |
// See also, https://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/DeleteFHIRDatastore |
| 180 |
func (c *HealthLake) DeleteFHIRDatastore(input *DeleteFHIRDatastoreInput) (*DeleteFHIRDatastoreOutput, error) { |
| 181 |
req, out := c.DeleteFHIRDatastoreRequest(input) |
| 182 |
return out, req.Send() |
| 183 |
} |
| 184 |
|
| 185 |
// DeleteFHIRDatastoreWithContext is the same as DeleteFHIRDatastore with the addition of |
| 186 |
// the ability to pass a context and additional request options. |
| 187 |
// |
| 188 |
// See DeleteFHIRDatastore for details on how to use this API operation. |
| 189 |
// |
| 190 |
// The context must be non-nil and will be used for request cancellation. If |
| 191 |
// the context is nil a panic will occur. In the future the SDK may create |
| 192 |
// sub-contexts for http.Requests. See https://golang.org/pkg/context/ |
| 193 |
// for more information on using Contexts. |
| 194 |
func (c *HealthLake) DeleteFHIRDatastoreWithContext(ctx aws.Context, input *DeleteFHIRDatastoreInput, opts ...request.Option) (*DeleteFHIRDatastoreOutput, error) { |
| 195 |
req, out := c.DeleteFHIRDatastoreRequest(input) |
| 196 |
req.SetContext(ctx) |
| 197 |
req.ApplyOptions(opts...) |
| 198 |
return out, req.Send() |
| 199 |
} |
| 200 |
|
| 201 |
const opDescribeFHIRDatastore = "DescribeFHIRDatastore" |
| 202 |
|
| 203 |
// DescribeFHIRDatastoreRequest generates a "aws/request.Request" representing the |
| 204 |
// client's request for the DescribeFHIRDatastore operation. The "output" return |
| 205 |
// value will be populated with the request's response once the request completes |
| 206 |
// successfully. |
| 207 |
// |
| 208 |
// Use "Send" method on the returned Request to send the API call to the service. |
| 209 |
// the "output" return value is not valid until after Send returns without error. |
| 210 |
// |
| 211 |
// See DescribeFHIRDatastore for more information on using the DescribeFHIRDatastore |
| 212 |
// API call, and error handling. |
| 213 |
// |
| 214 |
// This method is useful when you want to inject custom logic or configuration |
| 215 |
// into the SDK's request lifecycle. Such as custom headers, or retry logic. |
| 216 |
// |
| 217 |
// // Example sending a request using the DescribeFHIRDatastoreRequest method. |
| 218 |
// req, resp := client.DescribeFHIRDatastoreRequest(params) |
| 219 |
// |
| 220 |
// err := req.Send() |
| 221 |
// if err == nil { // resp is now filled |
| 222 |
// fmt.Println(resp) |
| 223 |
// } |
| 224 |
// |
| 225 |
// See also, https://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/DescribeFHIRDatastore |
| 226 |
func (c *HealthLake) DescribeFHIRDatastoreRequest(input *DescribeFHIRDatastoreInput) (req *request.Request, output *DescribeFHIRDatastoreOutput) { |
| 227 |
op := &request.Operation{ |
| 228 |
Name: opDescribeFHIRDatastore, |
| 229 |
HTTPMethod: "POST", |
| 230 |
HTTPPath: "/", |
| 231 |
} |
| 232 |
|
| 233 |
if input == nil { |
| 234 |
input = &DescribeFHIRDatastoreInput{} |
| 235 |
} |
| 236 |
|
| 237 |
output = &DescribeFHIRDatastoreOutput{} |
| 238 |
req = c.newRequest(op, input, output) |
| 239 |
return |
| 240 |
} |
| 241 |
|
| 242 |
// DescribeFHIRDatastore API operation for Amazon HealthLake. |
| 243 |
// |
| 244 |
// Gets the properties associated with the FHIR data store, including the data |
| 245 |
// store ID, data store ARN, data store name, data store status, when the data |
| 246 |
// store was created, data store type version, and the data store's endpoint. |
| 247 |
// |
| 248 |
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions |
| 249 |
// with awserr.Error's Code and Message methods to get detailed information about |
| 250 |
// the error. |
| 251 |
// |
| 252 |
// See the AWS API reference guide for Amazon HealthLake's |
| 253 |
// API operation DescribeFHIRDatastore for usage and error information. |
| 254 |
// |
| 255 |
// Returned Error Types: |
| 256 |
// |
| 257 |
// - ValidationException |
| 258 |
// The user input parameter was invalid. |
| 259 |
// |
| 260 |
// - ResourceNotFoundException |
| 261 |
// The requested data store was not found. |
| 262 |
// |
| 263 |
// - ThrottlingException |
| 264 |
// The user has exceeded their maximum number of allowed calls to the given |
| 265 |
// API. |
| 266 |
// |
| 267 |
// - InternalServerException |
| 268 |
// Unknown error occurs in the service. |
| 269 |
// |
| 270 |
// See also, https://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/DescribeFHIRDatastore |
| 271 |
func (c *HealthLake) DescribeFHIRDatastore(input *DescribeFHIRDatastoreInput) (*DescribeFHIRDatastoreOutput, error) { |
| 272 |
req, out := c.DescribeFHIRDatastoreRequest(input) |
| 273 |
return out, req.Send() |
| 274 |
} |
| 275 |
|
| 276 |
// DescribeFHIRDatastoreWithContext is the same as DescribeFHIRDatastore with the addition of |
| 277 |
// the ability to pass a context and additional request options. |
| 278 |
// |
| 279 |
// See DescribeFHIRDatastore for details on how to use this API operation. |
| 280 |
// |
| 281 |
// The context must be non-nil and will be used for request cancellation. If |
| 282 |
// the context is nil a panic will occur. In the future the SDK may create |
| 283 |
// sub-contexts for http.Requests. See https://golang.org/pkg/context/ |
| 284 |
// for more information on using Contexts. |
| 285 |
func (c *HealthLake) DescribeFHIRDatastoreWithContext(ctx aws.Context, input *DescribeFHIRDatastoreInput, opts ...request.Option) (*DescribeFHIRDatastoreOutput, error) { |
| 286 |
req, out := c.DescribeFHIRDatastoreRequest(input) |
| 287 |
req.SetContext(ctx) |
| 288 |
req.ApplyOptions(opts...) |
| 289 |
return out, req.Send() |
| 290 |
} |
| 291 |
|
| 292 |
const opDescribeFHIRExportJob = "DescribeFHIRExportJob" |
| 293 |
|
| 294 |
// DescribeFHIRExportJobRequest generates a "aws/request.Request" representing the |
| 295 |
// client's request for the DescribeFHIRExportJob operation. The "output" return |
| 296 |
// value will be populated with the request's response once the request completes |
| 297 |
// successfully. |
| 298 |
// |
| 299 |
// Use "Send" method on the returned Request to send the API call to the service. |
| 300 |
// the "output" return value is not valid until after Send returns without error. |
| 301 |
// |
| 302 |
// See DescribeFHIRExportJob for more information on using the DescribeFHIRExportJob |
| 303 |
// API call, and error handling. |
| 304 |
// |
| 305 |
// This method is useful when you want to inject custom logic or configuration |
| 306 |
// into the SDK's request lifecycle. Such as custom headers, or retry logic. |
| 307 |
// |
| 308 |
// // Example sending a request using the DescribeFHIRExportJobRequest method. |
| 309 |
// req, resp := client.DescribeFHIRExportJobRequest(params) |
| 310 |
// |
| 311 |
// err := req.Send() |
| 312 |
// if err == nil { // resp is now filled |
| 313 |
// fmt.Println(resp) |
| 314 |
// } |
| 315 |
// |
| 316 |
// See also, https://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/DescribeFHIRExportJob |
| 317 |
func (c *HealthLake) DescribeFHIRExportJobRequest(input *DescribeFHIRExportJobInput) (req *request.Request, output *DescribeFHIRExportJobOutput) { |
| 318 |
op := &request.Operation{ |
| 319 |
Name: opDescribeFHIRExportJob, |
| 320 |
HTTPMethod: "POST", |
| 321 |
HTTPPath: "/", |
| 322 |
} |
| 323 |
|
| 324 |
if input == nil { |
| 325 |
input = &DescribeFHIRExportJobInput{} |
| 326 |
} |
| 327 |
|
| 328 |
output = &DescribeFHIRExportJobOutput{} |
| 329 |
req = c.newRequest(op, input, output) |
| 330 |
return |
| 331 |
} |
| 332 |
|
| 333 |
// DescribeFHIRExportJob API operation for Amazon HealthLake. |
| 334 |
// |
| 335 |
// Displays the properties of a FHIR export job, including the ID, ARN, name, |
| 336 |
// and the status of the job. |
| 337 |
// |
| 338 |
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions |
| 339 |
// with awserr.Error's Code and Message methods to get detailed information about |
| 340 |
// the error. |
| 341 |
// |
| 342 |
// See the AWS API reference guide for Amazon HealthLake's |
| 343 |
// API operation DescribeFHIRExportJob for usage and error information. |
| 344 |
// |
| 345 |
// Returned Error Types: |
| 346 |
// |
| 347 |
// - ValidationException |
| 348 |
// The user input parameter was invalid. |
| 349 |
// |
| 350 |
// - ResourceNotFoundException |
| 351 |
// The requested data store was not found. |
| 352 |
// |
| 353 |
// - ThrottlingException |
| 354 |
// The user has exceeded their maximum number of allowed calls to the given |
| 355 |
// API. |
| 356 |
// |
| 357 |
// - InternalServerException |
| 358 |
// Unknown error occurs in the service. |
| 359 |
// |
| 360 |
// See also, https://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/DescribeFHIRExportJob |
| 361 |
func (c *HealthLake) DescribeFHIRExportJob(input *DescribeFHIRExportJobInput) (*DescribeFHIRExportJobOutput, error) { |
| 362 |
req, out := c.DescribeFHIRExportJobRequest(input) |
| 363 |
return out, req.Send() |
| 364 |
} |
| 365 |
|
| 366 |
// DescribeFHIRExportJobWithContext is the same as DescribeFHIRExportJob with the addition of |
| 367 |
// the ability to pass a context and additional request options. |
| 368 |
// |
| 369 |
// See DescribeFHIRExportJob for details on how to use this API operation. |
| 370 |
// |
| 371 |
// The context must be non-nil and will be used for request cancellation. If |
| 372 |
// the context is nil a panic will occur. In the future the SDK may create |
| 373 |
// sub-contexts for http.Requests. See https://golang.org/pkg/context/ |
| 374 |
// for more information on using Contexts. |
| 375 |
func (c *HealthLake) DescribeFHIRExportJobWithContext(ctx aws.Context, input *DescribeFHIRExportJobInput, opts ...request.Option) (*DescribeFHIRExportJobOutput, error) { |
| 376 |
req, out := c.DescribeFHIRExportJobRequest(input) |
| 377 |
req.SetContext(ctx) |
| 378 |
req.ApplyOptions(opts...) |
| 379 |
return out, req.Send() |
| 380 |
} |
| 381 |
|
| 382 |
const opDescribeFHIRImportJob = "DescribeFHIRImportJob" |
| 383 |
|
| 384 |
// DescribeFHIRImportJobRequest generates a "aws/request.Request" representing the |
| 385 |
// client's request for the DescribeFHIRImportJob operation. The "output" return |
| 386 |
// value will be populated with the request's response once the request completes |
| 387 |
// successfully. |
| 388 |
// |
| 389 |
// Use "Send" method on the returned Request to send the API call to the service. |
| 390 |
// the "output" return value is not valid until after Send returns without error. |
| 391 |
// |
| 392 |
// See DescribeFHIRImportJob for more information on using the DescribeFHIRImportJob |
| 393 |
// API call, and error handling. |
| 394 |
// |
| 395 |
// This method is useful when you want to inject custom logic or configuration |
| 396 |
// into the SDK's request lifecycle. Such as custom headers, or retry logic. |
| 397 |
// |
| 398 |
// // Example sending a request using the DescribeFHIRImportJobRequest method. |
| 399 |
// req, resp := client.DescribeFHIRImportJobRequest(params) |
| 400 |
// |
| 401 |
// err := req.Send() |
| 402 |
// if err == nil { // resp is now filled |
| 403 |
// fmt.Println(resp) |
| 404 |
// } |
| 405 |
// |
| 406 |
// See also, https://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/DescribeFHIRImportJob |
| 407 |
func (c *HealthLake) DescribeFHIRImportJobRequest(input *DescribeFHIRImportJobInput) (req *request.Request, output *DescribeFHIRImportJobOutput) { |
| 408 |
op := &request.Operation{ |
| 409 |
Name: opDescribeFHIRImportJob, |
| 410 |
HTTPMethod: "POST", |
| 411 |
HTTPPath: "/", |
| 412 |
} |
| 413 |
|
| 414 |
if input == nil { |
| 415 |
input = &DescribeFHIRImportJobInput{} |
| 416 |
} |
| 417 |
|
| 418 |
output = &DescribeFHIRImportJobOutput{} |
| 419 |
req = c.newRequest(op, input, output) |
| 420 |
return |
| 421 |
} |
| 422 |
|
| 423 |
// DescribeFHIRImportJob API operation for Amazon HealthLake. |
| 424 |
// |
| 425 |
// Displays the properties of a FHIR import job, including the ID, ARN, name, |
| 426 |
// and the status of the job. |
| 427 |
// |
| 428 |
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions |
| 429 |
// with awserr.Error's Code and Message methods to get detailed information about |
| 430 |
// the error. |
| 431 |
// |
| 432 |
// See the AWS API reference guide for Amazon HealthLake's |
| 433 |
// API operation DescribeFHIRImportJob for usage and error information. |
| 434 |
// |
| 435 |
// Returned Error Types: |
| 436 |
// |
| 437 |
// - ValidationException |
| 438 |
// The user input parameter was invalid. |
| 439 |
// |
| 440 |
// - ResourceNotFoundException |
| 441 |
// The requested data store was not found. |
| 442 |
// |
| 443 |
// - ThrottlingException |
| 444 |
// The user has exceeded their maximum number of allowed calls to the given |
| 445 |
// API. |
| 446 |
// |
| 447 |
// - InternalServerException |
| 448 |
// Unknown error occurs in the service. |
| 449 |
// |
| 450 |
// See also, https://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/DescribeFHIRImportJob |
| 451 |
func (c *HealthLake) DescribeFHIRImportJob(input *DescribeFHIRImportJobInput) (*DescribeFHIRImportJobOutput, error) { |
| 452 |
req, out := c.DescribeFHIRImportJobRequest(input) |
| 453 |
return out, req.Send() |
| 454 |
} |
| 455 |
|
| 456 |
// DescribeFHIRImportJobWithContext is the same as DescribeFHIRImportJob with the addition of |
| 457 |
// the ability to pass a context and additional request options. |
| 458 |
// |
| 459 |
// See DescribeFHIRImportJob for details on how to use this API operation. |
| 460 |
// |
| 461 |
// The context must be non-nil and will be used for request cancellation. If |
| 462 |
// the context is nil a panic will occur. In the future the SDK may create |
| 463 |
// sub-contexts for http.Requests. See https://golang.org/pkg/context/ |
| 464 |
// for more information on using Contexts. |
| 465 |
func (c *HealthLake) DescribeFHIRImportJobWithContext(ctx aws.Context, input *DescribeFHIRImportJobInput, opts ...request.Option) (*DescribeFHIRImportJobOutput, error) { |
| 466 |
req, out := c.DescribeFHIRImportJobRequest(input) |
| 467 |
req.SetContext(ctx) |
| 468 |
req.ApplyOptions(opts...) |
| 469 |
return out, req.Send() |
| 470 |
} |
| 471 |
|
| 472 |
const opListFHIRDatastores = "ListFHIRDatastores" |
| 473 |
|
| 474 |
// ListFHIRDatastoresRequest generates a "aws/request.Request" representing the |
| 475 |
// client's request for the ListFHIRDatastores operation. The "output" return |
| 476 |
// value will be populated with the request's response once the request completes |
| 477 |
// successfully. |
| 478 |
// |
| 479 |
// Use "Send" method on the returned Request to send the API call to the service. |
| 480 |
// the "output" return value is not valid until after Send returns without error. |
| 481 |
// |
| 482 |
// See ListFHIRDatastores for more information on using the ListFHIRDatastores |
| 483 |
// API call, and error handling. |
| 484 |
// |
| 485 |
// This method is useful when you want to inject custom logic or configuration |
| 486 |
// into the SDK's request lifecycle. Such as custom headers, or retry logic. |
| 487 |
// |
| 488 |
// // Example sending a request using the ListFHIRDatastoresRequest method. |
| 489 |
// req, resp := client.ListFHIRDatastoresRequest(params) |
| 490 |
// |
| 491 |
// err := req.Send() |
| 492 |
// if err == nil { // resp is now filled |
| 493 |
// fmt.Println(resp) |
| 494 |
// } |
| 495 |
// |
| 496 |
// See also, https://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/ListFHIRDatastores |
| 497 |
func (c *HealthLake) ListFHIRDatastoresRequest(input *ListFHIRDatastoresInput) (req *request.Request, output *ListFHIRDatastoresOutput) { |
| 498 |
op := &request.Operation{ |
| 499 |
Name: opListFHIRDatastores, |
| 500 |
HTTPMethod: "POST", |
| 501 |
HTTPPath: "/", |
| 502 |
Paginator: &request.Paginator{ |
| 503 |
InputTokens: []string{"NextToken"}, |
| 504 |
OutputTokens: []string{"NextToken"}, |
| 505 |
LimitToken: "MaxResults", |
| 506 |
TruncationToken: "", |
| 507 |
}, |
| 508 |
} |
| 509 |
|
| 510 |
if input == nil { |
| 511 |
input = &ListFHIRDatastoresInput{} |
| 512 |
} |
| 513 |
|
| 514 |
output = &ListFHIRDatastoresOutput{} |
| 515 |
req = c.newRequest(op, input, output) |
| 516 |
return |
| 517 |
} |
| 518 |
|
| 519 |
// ListFHIRDatastores API operation for Amazon HealthLake. |
| 520 |
// |
| 521 |
// Lists all FHIR data stores that are in the user’s account, regardless of |
| 522 |
// data store status. |
| 523 |
// |
| 524 |
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions |
| 525 |
// with awserr.Error's Code and Message methods to get detailed information about |
| 526 |
// the error. |
| 527 |
// |
| 528 |
// See the AWS API reference guide for Amazon HealthLake's |
| 529 |
// API operation ListFHIRDatastores for usage and error information. |
| 530 |
// |
| 531 |
// Returned Error Types: |
| 532 |
// |
| 533 |
// - ValidationException |
| 534 |
// The user input parameter was invalid. |
| 535 |
// |
| 536 |
// - ThrottlingException |
| 537 |
// The user has exceeded their maximum number of allowed calls to the given |
| 538 |
// API. |
| 539 |
// |
| 540 |
// - InternalServerException |
| 541 |
// Unknown error occurs in the service. |
| 542 |
// |
| 543 |
// See also, https://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/ListFHIRDatastores |
| 544 |
func (c *HealthLake) ListFHIRDatastores(input *ListFHIRDatastoresInput) (*ListFHIRDatastoresOutput, error) { |
| 545 |
req, out := c.ListFHIRDatastoresRequest(input) |
| 546 |
return out, req.Send() |
| 547 |
} |
| 548 |
|
| 549 |
// ListFHIRDatastoresWithContext is the same as ListFHIRDatastores with the addition of |
| 550 |
// the ability to pass a context and additional request options. |
| 551 |
// |
| 552 |
// See ListFHIRDatastores for details on how to use this API operation. |
| 553 |
// |
| 554 |
// The context must be non-nil and will be used for request cancellation. If |
| 555 |
// the context is nil a panic will occur. In the future the SDK may create |
| 556 |
// sub-contexts for http.Requests. See https://golang.org/pkg/context/ |
| 557 |
// for more information on using Contexts. |
| 558 |
func (c *HealthLake) ListFHIRDatastoresWithContext(ctx aws.Context, input *ListFHIRDatastoresInput, opts ...request.Option) (*ListFHIRDatastoresOutput, error) { |
| 559 |
req, out := c.ListFHIRDatastoresRequest(input) |
| 560 |
req.SetContext(ctx) |
| 561 |
req.ApplyOptions(opts...) |
| 562 |
return out, req.Send() |
| 563 |
} |
| 564 |
|
| 565 |
// ListFHIRDatastoresPages iterates over the pages of a ListFHIRDatastores operation, |
| 566 |
// calling the "fn" function with the response data for each page. To stop |
| 567 |
// iterating, return false from the fn function. |
| 568 |
// |
| 569 |
// See ListFHIRDatastores method for more information on how to use this operation. |
| 570 |
// |
| 571 |
// Note: This operation can generate multiple requests to a service. |
| 572 |
// |
| 573 |
// // Example iterating over at most 3 pages of a ListFHIRDatastores operation. |
| 574 |
// pageNum := 0 |
| 575 |
// err := client.ListFHIRDatastoresPages(params, |
| 576 |
// func(page *healthlake.ListFHIRDatastoresOutput, lastPage bool) bool { |
| 577 |
// pageNum++ |
| 578 |
// fmt.Println(page) |
| 579 |
// return pageNum <= 3 |
| 580 |
// }) |
| 581 |
func (c *HealthLake) ListFHIRDatastoresPages(input *ListFHIRDatastoresInput, fn func(*ListFHIRDatastoresOutput, bool) bool) error { |
| 582 |
return c.ListFHIRDatastoresPagesWithContext(aws.BackgroundContext(), input, fn) |
| 583 |
} |
| 584 |
|
| 585 |
// ListFHIRDatastoresPagesWithContext same as ListFHIRDatastoresPages except |
| 586 |
// it takes a Context and allows setting request options on the pages. |
| 587 |
// |
| 588 |
// The context must be non-nil and will be used for request cancellation. If |
| 589 |
// the context is nil a panic will occur. In the future the SDK may create |
| 590 |
// sub-contexts for http.Requests. See https://golang.org/pkg/context/ |
| 591 |
// for more information on using Contexts. |
| 592 |
func (c *HealthLake) ListFHIRDatastoresPagesWithContext(ctx aws.Context, input *ListFHIRDatastoresInput, fn func(*ListFHIRDatastoresOutput, bool) bool, opts ...request.Option) error { |
| 593 |
p := request.Pagination{ |
| 594 |
NewRequest: func() (*request.Request, error) { |
| 595 |
var inCpy *ListFHIRDatastoresInput |
| 596 |
if input != nil { |
| 597 |
tmp := *input |
| 598 |
inCpy = &tmp |
| 599 |
} |
| 600 |
req, _ := c.ListFHIRDatastoresRequest(inCpy) |
| 601 |
req.SetContext(ctx) |
| 602 |
req.ApplyOptions(opts...) |
| 603 |
return req, nil |
| 604 |
}, |
| 605 |
} |
| 606 |
|
| 607 |
for p.Next() { |
| 608 |
if !fn(p.Page().(*ListFHIRDatastoresOutput), !p.HasNextPage()) { |
| 609 |
break |
| 610 |
} |
| 611 |
} |
| 612 |
|
| 613 |
return p.Err() |
| 614 |
} |
| 615 |
|
| 616 |
const opListFHIRExportJobs = "ListFHIRExportJobs" |
| 617 |
|
| 618 |
// ListFHIRExportJobsRequest generates a "aws/request.Request" representing the |
| 619 |
// client's request for the ListFHIRExportJobs operation. The "output" return |
| 620 |
// value will be populated with the request's response once the request completes |
| 621 |
// successfully. |
| 622 |
// |
| 623 |
// Use "Send" method on the returned Request to send the API call to the service. |
| 624 |
// the "output" return value is not valid until after Send returns without error. |
| 625 |
// |
| 626 |
// See ListFHIRExportJobs for more information on using the ListFHIRExportJobs |
| 627 |
// API call, and error handling. |
| 628 |
// |
| 629 |
// This method is useful when you want to inject custom logic or configuration |
| 630 |
// into the SDK's request lifecycle. Such as custom headers, or retry logic. |
| 631 |
// |
| 632 |
// // Example sending a request using the ListFHIRExportJobsRequest method. |
| 633 |
// req, resp := client.ListFHIRExportJobsRequest(params) |
| 634 |
// |
| 635 |
// err := req.Send() |
| 636 |
// if err == nil { // resp is now filled |
| 637 |
// fmt.Println(resp) |
| 638 |
// } |
| 639 |
// |
| 640 |
// See also, https://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/ListFHIRExportJobs |
| 641 |
func (c *HealthLake) ListFHIRExportJobsRequest(input *ListFHIRExportJobsInput) (req *request.Request, output *ListFHIRExportJobsOutput) { |
| 642 |
op := &request.Operation{ |
| 643 |
Name: opListFHIRExportJobs, |
| 644 |
HTTPMethod: "POST", |
| 645 |
HTTPPath: "/", |
| 646 |
Paginator: &request.Paginator{ |
| 647 |
InputTokens: []string{"NextToken"}, |
| 648 |
OutputTokens: []string{"NextToken"}, |
| 649 |
LimitToken: "MaxResults", |
| 650 |
TruncationToken: "", |
| 651 |
}, |
| 652 |
} |
| 653 |
|
| 654 |
if input == nil { |
| 655 |
input = &ListFHIRExportJobsInput{} |
| 656 |
} |
| 657 |
|
| 658 |
output = &ListFHIRExportJobsOutput{} |
| 659 |
req = c.newRequest(op, input, output) |
| 660 |
return |
| 661 |
} |
| 662 |
|
| 663 |
// ListFHIRExportJobs API operation for Amazon HealthLake. |
| 664 |
// |
| 665 |
// Lists all FHIR export jobs associated with an account and their statuses. |
| 666 |
// |
| 667 |
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions |
| 668 |
// with awserr.Error's Code and Message methods to get detailed information about |
| 669 |
// the error. |
| 670 |
// |
| 671 |
// See the AWS API reference guide for Amazon HealthLake's |
| 672 |
// API operation ListFHIRExportJobs for usage and error information. |
| 673 |
// |
| 674 |
// Returned Error Types: |
| 675 |
// |
| 676 |
// - ValidationException |
| 677 |
// The user input parameter was invalid. |
| 678 |
// |
| 679 |
// - ResourceNotFoundException |
| 680 |
// The requested data store was not found. |
| 681 |
// |
| 682 |
// - AccessDeniedException |
| 683 |
// Access is denied. Your account is not authorized to perform this operation. |
| 684 |
// |
| 685 |
// - ThrottlingException |
| 686 |
// The user has exceeded their maximum number of allowed calls to the given |
| 687 |
// API. |
| 688 |
// |
| 689 |
// - InternalServerException |
| 690 |
// Unknown error occurs in the service. |
| 691 |
// |
| 692 |
// See also, https://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/ListFHIRExportJobs |
| 693 |
func (c *HealthLake) ListFHIRExportJobs(input *ListFHIRExportJobsInput) (*ListFHIRExportJobsOutput, error) { |
| 694 |
req, out := c.ListFHIRExportJobsRequest(input) |
| 695 |
return out, req.Send() |
| 696 |
} |
| 697 |
|
| 698 |
// ListFHIRExportJobsWithContext is the same as ListFHIRExportJobs with the addition of |
| 699 |
// the ability to pass a context and additional request options. |
| 700 |
// |
| 701 |
// See ListFHIRExportJobs for details on how to use this API operation. |
| 702 |
// |
| 703 |
// The context must be non-nil and will be used for request cancellation. If |
| 704 |
// the context is nil a panic will occur. In the future the SDK may create |
| 705 |
// sub-contexts for http.Requests. See https://golang.org/pkg/context/ |
| 706 |
// for more information on using Contexts. |
| 707 |
func (c *HealthLake) ListFHIRExportJobsWithContext(ctx aws.Context, input *ListFHIRExportJobsInput, opts ...request.Option) (*ListFHIRExportJobsOutput, error) { |
| 708 |
req, out := c.ListFHIRExportJobsRequest(input) |
| 709 |
req.SetContext(ctx) |
| 710 |
req.ApplyOptions(opts...) |
| 711 |
return out, req.Send() |
| 712 |
} |
| 713 |
|
| 714 |
// ListFHIRExportJobsPages iterates over the pages of a ListFHIRExportJobs operation, |
| 715 |
// calling the "fn" function with the response data for each page. To stop |
| 716 |
// iterating, return false from the fn function. |
| 717 |
// |
| 718 |
// See ListFHIRExportJobs method for more information on how to use this operation. |
| 719 |
// |
| 720 |
// Note: This operation can generate multiple requests to a service. |
| 721 |
// |
| 722 |
// // Example iterating over at most 3 pages of a ListFHIRExportJobs operation. |
| 723 |
// pageNum := 0 |
| 724 |
// err := client.ListFHIRExportJobsPages(params, |
| 725 |
// func(page *healthlake.ListFHIRExportJobsOutput, lastPage bool) bool { |
| 726 |
// pageNum++ |
| 727 |
// fmt.Println(page) |
| 728 |
// return pageNum <= 3 |
| 729 |
// }) |
| 730 |
func (c *HealthLake) ListFHIRExportJobsPages(input *ListFHIRExportJobsInput, fn func(*ListFHIRExportJobsOutput, bool) bool) error { |
| 731 |
return c.ListFHIRExportJobsPagesWithContext(aws.BackgroundContext(), input, fn) |
| 732 |
} |
| 733 |
|
| 734 |
// ListFHIRExportJobsPagesWithContext same as ListFHIRExportJobsPages except |
| 735 |
// it takes a Context and allows setting request options on the pages. |
| 736 |
// |
| 737 |
// The context must be non-nil and will be used for request cancellation. If |
| 738 |
// the context is nil a panic will occur. In the future the SDK may create |
| 739 |
// sub-contexts for http.Requests. See https://golang.org/pkg/context/ |
| 740 |
// for more information on using Contexts. |
| 741 |
func (c *HealthLake) ListFHIRExportJobsPagesWithContext(ctx aws.Context, input *ListFHIRExportJobsInput, fn func(*ListFHIRExportJobsOutput, bool) bool, opts ...request.Option) error { |
| 742 |
p := request.Pagination{ |
| 743 |
NewRequest: func() (*request.Request, error) { |
| 744 |
var inCpy *ListFHIRExportJobsInput |
| 745 |
if input != nil { |
| 746 |
tmp := *input |
| 747 |
inCpy = &tmp |
| 748 |
} |
| 749 |
req, _ := c.ListFHIRExportJobsRequest(inCpy) |
| 750 |
req.SetContext(ctx) |
| 751 |
req.ApplyOptions(opts...) |
| 752 |
return req, nil |
| 753 |
}, |
| 754 |
} |
| 755 |
|
| 756 |
for p.Next() { |
| 757 |
if !fn(p.Page().(*ListFHIRExportJobsOutput), !p.HasNextPage()) { |
| 758 |
break |
| 759 |
} |
| 760 |
} |
| 761 |
|
| 762 |
return p.Err() |
| 763 |
} |
| 764 |
|
| 765 |
const opListFHIRImportJobs = "ListFHIRImportJobs" |
| 766 |
|
| 767 |
// ListFHIRImportJobsRequest generates a "aws/request.Request" representing the |
| 768 |
// client's request for the ListFHIRImportJobs operation. The "output" return |
| 769 |
// value will be populated with the request's response once the request completes |
| 770 |
// successfully. |
| 771 |
// |
| 772 |
// Use "Send" method on the returned Request to send the API call to the service. |
| 773 |
// the "output" return value is not valid until after Send returns without error. |
| 774 |
// |
| 775 |
// See ListFHIRImportJobs for more information on using the ListFHIRImportJobs |
| 776 |
// API call, and error handling. |
| 777 |
// |
| 778 |
// This method is useful when you want to inject custom logic or configuration |
| 779 |
// into the SDK's request lifecycle. Such as custom headers, or retry logic. |
| 780 |
// |
| 781 |
// // Example sending a request using the ListFHIRImportJobsRequest method. |
| 782 |
// req, resp := client.ListFHIRImportJobsRequest(params) |
| 783 |
// |
| 784 |
// err := req.Send() |
| 785 |
// if err == nil { // resp is now filled |
| 786 |
// fmt.Println(resp) |
| 787 |
// } |
| 788 |
// |
| 789 |
// See also, https://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/ListFHIRImportJobs |
| 790 |
func (c *HealthLake) ListFHIRImportJobsRequest(input *ListFHIRImportJobsInput) (req *request.Request, output *ListFHIRImportJobsOutput) { |
| 791 |
op := &request.Operation{ |
| 792 |
Name: opListFHIRImportJobs, |
| 793 |
HTTPMethod: "POST", |
| 794 |
HTTPPath: "/", |
| 795 |
Paginator: &request.Paginator{ |
| 796 |
InputTokens: []string{"NextToken"}, |
| 797 |
OutputTokens: []string{"NextToken"}, |
| 798 |
LimitToken: "MaxResults", |
| 799 |
TruncationToken: "", |
| 800 |
}, |
| 801 |
} |
| 802 |
|
| 803 |
if input == nil { |
| 804 |
input = &ListFHIRImportJobsInput{} |
| 805 |
} |
| 806 |
|
| 807 |
output = &ListFHIRImportJobsOutput{} |
| 808 |
req = c.newRequest(op, input, output) |
| 809 |
return |
| 810 |
} |
| 811 |
|
| 812 |
// ListFHIRImportJobs API operation for Amazon HealthLake. |
| 813 |
// |
| 814 |
// Lists all FHIR import jobs associated with an account and their statuses. |
| 815 |
// |
| 816 |
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions |
| 817 |
// with awserr.Error's Code and Message methods to get detailed information about |
| 818 |
// the error. |
| 819 |
// |
| 820 |
// See the AWS API reference guide for Amazon HealthLake's |
| 821 |
// API operation ListFHIRImportJobs for usage and error information. |
| 822 |
// |
| 823 |
// Returned Error Types: |
| 824 |
// |
| 825 |
// - ValidationException |
| 826 |
// The user input parameter was invalid. |
| 827 |
// |
| 828 |
// - ResourceNotFoundException |
| 829 |
// The requested data store was not found. |
| 830 |
// |
| 831 |
// - AccessDeniedException |
| 832 |
// Access is denied. Your account is not authorized to perform this operation. |
| 833 |
// |
| 834 |
// - ThrottlingException |
| 835 |
// The user has exceeded their maximum number of allowed calls to the given |
| 836 |
// API. |
| 837 |
// |
| 838 |
// - InternalServerException |
| 839 |
// Unknown error occurs in the service. |
| 840 |
// |
| 841 |
// See also, https://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/ListFHIRImportJobs |
| 842 |
func (c *HealthLake) ListFHIRImportJobs(input *ListFHIRImportJobsInput) (*ListFHIRImportJobsOutput, error) { |
| 843 |
req, out := c.ListFHIRImportJobsRequest(input) |
| 844 |
return out, req.Send() |
| 845 |
} |
| 846 |
|
| 847 |
// ListFHIRImportJobsWithContext is the same as ListFHIRImportJobs with the addition of |
| 848 |
// the ability to pass a context and additional request options. |
| 849 |
// |
| 850 |
// See ListFHIRImportJobs for details on how to use this API operation. |
| 851 |
// |
| 852 |
// The context must be non-nil and will be used for request cancellation. If |
| 853 |
// the context is nil a panic will occur. In the future the SDK may create |
| 854 |
// sub-contexts for http.Requests. See https://golang.org/pkg/context/ |
| 855 |
// for more information on using Contexts. |
| 856 |
func (c *HealthLake) ListFHIRImportJobsWithContext(ctx aws.Context, input *ListFHIRImportJobsInput, opts ...request.Option) (*ListFHIRImportJobsOutput, error) { |
| 857 |
req, out := c.ListFHIRImportJobsRequest(input) |
| 858 |
req.SetContext(ctx) |
| 859 |
req.ApplyOptions(opts...) |
| 860 |
return out, req.Send() |
| 861 |
} |
| 862 |
|
| 863 |
// ListFHIRImportJobsPages iterates over the pages of a ListFHIRImportJobs operation, |
| 864 |
// calling the "fn" function with the response data for each page. To stop |
| 865 |
// iterating, return false from the fn function. |
| 866 |
// |
| 867 |
// See ListFHIRImportJobs method for more information on how to use this operation. |
| 868 |
// |
| 869 |
// Note: This operation can generate multiple requests to a service. |
| 870 |
// |
| 871 |
// // Example iterating over at most 3 pages of a ListFHIRImportJobs operation. |
| 872 |
// pageNum := 0 |
| 873 |
// err := client.ListFHIRImportJobsPages(params, |
| 874 |
// func(page *healthlake.ListFHIRImportJobsOutput, lastPage bool) bool { |
| 875 |
// pageNum++ |
| 876 |
// fmt.Println(page) |
| 877 |
// return pageNum <= 3 |
| 878 |
// }) |
| 879 |
func (c *HealthLake) ListFHIRImportJobsPages(input *ListFHIRImportJobsInput, fn func(*ListFHIRImportJobsOutput, bool) bool) error { |
| 880 |
return c.ListFHIRImportJobsPagesWithContext(aws.BackgroundContext(), input, fn) |
| 881 |
} |
| 882 |
|
| 883 |
// ListFHIRImportJobsPagesWithContext same as ListFHIRImportJobsPages except |
| 884 |
// it takes a Context and allows setting request options on the pages. |
| 885 |
// |
| 886 |
// The context must be non-nil and will be used for request cancellation. If |
| 887 |
// the context is nil a panic will occur. In the future the SDK may create |
| 888 |
// sub-contexts for http.Requests. See https://golang.org/pkg/context/ |
| 889 |
// for more information on using Contexts. |
| 890 |
func (c *HealthLake) ListFHIRImportJobsPagesWithContext(ctx aws.Context, input *ListFHIRImportJobsInput, fn func(*ListFHIRImportJobsOutput, bool) bool, opts ...request.Option) error { |
| 891 |
p := request.Pagination{ |
| 892 |
NewRequest: func() (*request.Request, error) { |
| 893 |
var inCpy *ListFHIRImportJobsInput |
| 894 |
if input != nil { |
| 895 |
tmp := *input |
| 896 |
inCpy = &tmp |
| 897 |
} |
| 898 |
req, _ := c.ListFHIRImportJobsRequest(inCpy) |
| 899 |
req.SetContext(ctx) |
| 900 |
req.ApplyOptions(opts...) |
| 901 |
return req, nil |
| 902 |
}, |
| 903 |
} |
| 904 |
|
| 905 |
for p.Next() { |
| 906 |
if !fn(p.Page().(*ListFHIRImportJobsOutput), !p.HasNextPage()) { |
| 907 |
break |
| 908 |
} |
| 909 |
} |
| 910 |
|
| 911 |
return p.Err() |
| 912 |
} |
| 913 |
|
| 914 |
const opListTagsForResource = "ListTagsForResource" |
| 915 |
|
| 916 |
// ListTagsForResourceRequest generates a "aws/request.Request" representing the |
| 917 |
// client's request for the ListTagsForResource operation. The "output" return |
| 918 |
// value will be populated with the request's response once the request completes |
| 919 |
// successfully. |
| 920 |
// |
| 921 |
// Use "Send" method on the returned Request to send the API call to the service. |
| 922 |
// the "output" return value is not valid until after Send returns without error. |
| 923 |
// |
| 924 |
// See ListTagsForResource for more information on using the ListTagsForResource |
| 925 |
// API call, and error handling. |
| 926 |
// |
| 927 |
// This method is useful when you want to inject custom logic or configuration |
| 928 |
// into the SDK's request lifecycle. Such as custom headers, or retry logic. |
| 929 |
// |
| 930 |
// // Example sending a request using the ListTagsForResourceRequest method. |
| 931 |
// req, resp := client.ListTagsForResourceRequest(params) |
| 932 |
// |
| 933 |
// err := req.Send() |
| 934 |
// if err == nil { // resp is now filled |
| 935 |
// fmt.Println(resp) |
| 936 |
// } |
| 937 |
// |
| 938 |
// See also, https://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/ListTagsForResource |
| 939 |
func (c *HealthLake) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { |
| 940 |
op := &request.Operation{ |
| 941 |
Name: opListTagsForResource, |
| 942 |
HTTPMethod: "POST", |
| 943 |
HTTPPath: "/", |
| 944 |
} |
| 945 |
|
| 946 |
if input == nil { |
| 947 |
input = &ListTagsForResourceInput{} |
| 948 |
} |
| 949 |
|
| 950 |
output = &ListTagsForResourceOutput{} |
| 951 |
req = c.newRequest(op, input, output) |
| 952 |
return |
| 953 |
} |
| 954 |
|
| 955 |
// ListTagsForResource API operation for Amazon HealthLake. |
| 956 |
// |
| 957 |
// Returns a list of all existing tags associated with a data store. |
| 958 |
// |
| 959 |
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions |
| 960 |
// with awserr.Error's Code and Message methods to get detailed information about |
| 961 |
// the error. |
| 962 |
// |
| 963 |
// See the AWS API reference guide for Amazon HealthLake's |
| 964 |
// API operation ListTagsForResource for usage and error information. |
| 965 |
// |
| 966 |
// Returned Error Types: |
| 967 |
// |
| 968 |
// - ValidationException |
| 969 |
// The user input parameter was invalid. |
| 970 |
// |
| 971 |
// - ResourceNotFoundException |
| 972 |
// The requested data store was not found. |
| 973 |
// |
| 974 |
// See also, https://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/ListTagsForResource |
| 975 |
func (c *HealthLake) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { |
| 976 |
req, out := c.ListTagsForResourceRequest(input) |
| 977 |
return out, req.Send() |
| 978 |
} |
| 979 |
|
| 980 |
// ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of |
| 981 |
// the ability to pass a context and additional request options. |
| 982 |
// |
| 983 |
// See ListTagsForResource for details on how to use this API operation. |
| 984 |
// |
| 985 |
// The context must be non-nil and will be used for request cancellation. If |
| 986 |
// the context is nil a panic will occur. In the future the SDK may create |
| 987 |
// sub-contexts for http.Requests. See https://golang.org/pkg/context/ |
| 988 |
// for more information on using Contexts. |
| 989 |
func (c *HealthLake) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error) { |
| 990 |
req, out := c.ListTagsForResourceRequest(input) |
| 991 |
req.SetContext(ctx) |
| 992 |
req.ApplyOptions(opts...) |
| 993 |
return out, req.Send() |
| 994 |
} |
| 995 |
|
| 996 |
const opStartFHIRExportJob = "StartFHIRExportJob" |
| 997 |
|
| 998 |
// StartFHIRExportJobRequest generates a "aws/request.Request" representing the |
| 999 |
// client's request for the StartFHIRExportJob operation. The "output" return |
| 1000 |
// value will be populated with the request's response once the request completes |
| 1001 |
// successfully. |
| 1002 |
// |
| 1003 |
// Use "Send" method on the returned Request to send the API call to the service. |
| 1004 |
// the "output" return value is not valid until after Send returns without error. |
| 1005 |
// |
| 1006 |
// See StartFHIRExportJob for more information on using the StartFHIRExportJob |
| 1007 |
// API call, and error handling. |
| 1008 |
// |
| 1009 |
// This method is useful when you want to inject custom logic or configuration |
| 1010 |
// into the SDK's request lifecycle. Such as custom headers, or retry logic. |
| 1011 |
// |
| 1012 |
// // Example sending a request using the StartFHIRExportJobRequest method. |
| 1013 |
// req, resp := client.StartFHIRExportJobRequest(params) |
| 1014 |
// |
| 1015 |
// err := req.Send() |
| 1016 |
// if err == nil { // resp is now filled |
| 1017 |
// fmt.Println(resp) |
| 1018 |
// } |
| 1019 |
// |
| 1020 |
// See also, https://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/StartFHIRExportJob |
| 1021 |
func (c *HealthLake) StartFHIRExportJobRequest(input *StartFHIRExportJobInput) (req *request.Request, output *StartFHIRExportJobOutput) { |
| 1022 |
op := &request.Operation{ |
| 1023 |
Name: opStartFHIRExportJob, |
| 1024 |
HTTPMethod: "POST", |
| 1025 |
HTTPPath: "/", |
| 1026 |
} |
| 1027 |
|
| 1028 |
if input == nil { |
| 1029 |
input = &StartFHIRExportJobInput{} |
| 1030 |
} |
| 1031 |
|
| 1032 |
output = &StartFHIRExportJobOutput{} |
| 1033 |
req = c.newRequest(op, input, output) |
| 1034 |
return |
| 1035 |
} |
| 1036 |
|
| 1037 |
// StartFHIRExportJob API operation for Amazon HealthLake. |
| 1038 |
// |
| 1039 |
// Begins a FHIR export job. |
| 1040 |
// |
| 1041 |
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions |
| 1042 |
// with awserr.Error's Code and Message methods to get detailed information about |
| 1043 |
// the error. |
| 1044 |
// |
| 1045 |
// See the AWS API reference guide for Amazon HealthLake's |
| 1046 |
// API operation StartFHIRExportJob for usage and error information. |
| 1047 |
// |
| 1048 |
// Returned Error Types: |
| 1049 |
// |
| 1050 |
// - ValidationException |
| 1051 |
// The user input parameter was invalid. |
| 1052 |
// |
| 1053 |
// - ThrottlingException |
| 1054 |
// The user has exceeded their maximum number of allowed calls to the given |
| 1055 |
// API. |
| 1056 |
// |
| 1057 |
// - AccessDeniedException |
| 1058 |
// Access is denied. Your account is not authorized to perform this operation. |
| 1059 |
// |
| 1060 |
// - ResourceNotFoundException |
| 1061 |
// The requested data store was not found. |
| 1062 |
// |
| 1063 |
// - InternalServerException |
| 1064 |
// Unknown error occurs in the service. |
| 1065 |
// |
| 1066 |
// See also, https://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/StartFHIRExportJob |
| 1067 |
func (c *HealthLake) StartFHIRExportJob(input *StartFHIRExportJobInput) (*StartFHIRExportJobOutput, error) { |
| 1068 |
req, out := c.StartFHIRExportJobRequest(input) |
| 1069 |
return out, req.Send() |
| 1070 |
} |
| 1071 |
|
| 1072 |
// StartFHIRExportJobWithContext is the same as StartFHIRExportJob with the addition of |
| 1073 |
// the ability to pass a context and additional request options. |
| 1074 |
// |
| 1075 |
// See StartFHIRExportJob for details on how to use this API operation. |
| 1076 |
// |
| 1077 |
// The context must be non-nil and will be used for request cancellation. If |
| 1078 |
// the context is nil a panic will occur. In the future the SDK may create |
| 1079 |
// sub-contexts for http.Requests. See https://golang.org/pkg/context/ |
| 1080 |
// for more information on using Contexts. |
| 1081 |
func (c *HealthLake) StartFHIRExportJobWithContext(ctx aws.Context, input *StartFHIRExportJobInput, opts ...request.Option) (*StartFHIRExportJobOutput, error) { |
| 1082 |
req, out := c.StartFHIRExportJobRequest(input) |
| 1083 |
req.SetContext(ctx) |
| 1084 |
req.ApplyOptions(opts...) |
| 1085 |
return out, req.Send() |
| 1086 |
} |
| 1087 |
|
| 1088 |
const opStartFHIRImportJob = "StartFHIRImportJob" |
| 1089 |
|
| 1090 |
// StartFHIRImportJobRequest generates a "aws/request.Request" representing the |
| 1091 |
// client's request for the StartFHIRImportJob operation. The "output" return |
| 1092 |
// value will be populated with the request's response once the request completes |
| 1093 |
// successfully. |
| 1094 |
// |
| 1095 |
// Use "Send" method on the returned Request to send the API call to the service. |
| 1096 |
// the "output" return value is not valid until after Send returns without error. |
| 1097 |
// |
| 1098 |
// See StartFHIRImportJob for more information on using the StartFHIRImportJob |
| 1099 |
// API call, and error handling. |
| 1100 |
// |
| 1101 |
// This method is useful when you want to inject custom logic or configuration |
| 1102 |
// into the SDK's request lifecycle. Such as custom headers, or retry logic. |
| 1103 |
// |
| 1104 |
// // Example sending a request using the StartFHIRImportJobRequest method. |
| 1105 |
// req, resp := client.StartFHIRImportJobRequest(params) |
| 1106 |
// |
| 1107 |
// err := req.Send() |
| 1108 |
// if err == nil { // resp is now filled |
| 1109 |
// fmt.Println(resp) |
| 1110 |
// } |
| 1111 |
// |
| 1112 |
// See also, https://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/StartFHIRImportJob |
| 1113 |
func (c *HealthLake) StartFHIRImportJobRequest(input *StartFHIRImportJobInput) (req *request.Request, output *StartFHIRImportJobOutput) { |
| 1114 |
op := &request.Operation{ |
| 1115 |
Name: opStartFHIRImportJob, |
| 1116 |
HTTPMethod: "POST", |
| 1117 |
HTTPPath: "/", |
| 1118 |
} |
| 1119 |
|
| 1120 |
if input == nil { |
| 1121 |
input = &StartFHIRImportJobInput{} |
| 1122 |
} |
| 1123 |
|
| 1124 |
output = &StartFHIRImportJobOutput{} |
| 1125 |
req = c.newRequest(op, input, output) |
| 1126 |
return |
| 1127 |
} |
| 1128 |
|
| 1129 |
// StartFHIRImportJob API operation for Amazon HealthLake. |
| 1130 |
// |
| 1131 |
// Begins a FHIR Import job. |
| 1132 |
// |
| 1133 |
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions |
| 1134 |
// with awserr.Error's Code and Message methods to get detailed information about |
| 1135 |
// the error. |
| 1136 |
// |
| 1137 |
// See the AWS API reference guide for Amazon HealthLake's |
| 1138 |
// API operation StartFHIRImportJob for usage and error information. |
| 1139 |
// |
| 1140 |
// Returned Error Types: |
| 1141 |
// |
| 1142 |
// - ValidationException |
| 1143 |
// The user input parameter was invalid. |
| 1144 |
// |
| 1145 |
// - ThrottlingException |
| 1146 |
// The user has exceeded their maximum number of allowed calls to the given |
| 1147 |
// API. |
| 1148 |
// |
| 1149 |
// - AccessDeniedException |
| 1150 |
// Access is denied. Your account is not authorized to perform this operation. |
| 1151 |
// |
| 1152 |
// - ResourceNotFoundException |
| 1153 |
// The requested data store was not found. |
| 1154 |
// |
| 1155 |
// - InternalServerException |
| 1156 |
// Unknown error occurs in the service. |
| 1157 |
// |
| 1158 |
// See also, https://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/StartFHIRImportJob |
| 1159 |
func (c *HealthLake) StartFHIRImportJob(input *StartFHIRImportJobInput) (*StartFHIRImportJobOutput, error) { |
| 1160 |
req, out := c.StartFHIRImportJobRequest(input) |
| 1161 |
return out, req.Send() |
| 1162 |
} |
| 1163 |
|
| 1164 |
// StartFHIRImportJobWithContext is the same as StartFHIRImportJob with the addition of |
| 1165 |
// the ability to pass a context and additional request options. |
| 1166 |
// |
| 1167 |
// See StartFHIRImportJob for details on how to use this API operation. |
| 1168 |
// |
| 1169 |
// The context must be non-nil and will be used for request cancellation. If |
| 1170 |
// the context is nil a panic will occur. In the future the SDK may create |
| 1171 |
// sub-contexts for http.Requests. See https://golang.org/pkg/context/ |
| 1172 |
// for more information on using Contexts. |
| 1173 |
func (c *HealthLake) StartFHIRImportJobWithContext(ctx aws.Context, input *StartFHIRImportJobInput, opts ...request.Option) (*StartFHIRImportJobOutput, error) { |
| 1174 |
req, out := c.StartFHIRImportJobRequest(input) |
| 1175 |
req.SetContext(ctx) |
| 1176 |
req.ApplyOptions(opts...) |
| 1177 |
return out, req.Send() |
| 1178 |
} |
| 1179 |
|
| 1180 |
const opTagResource = "TagResource" |
| 1181 |
|
| 1182 |
// TagResourceRequest generates a "aws/request.Request" representing the |
| 1183 |
// client's request for the TagResource operation. The "output" return |
| 1184 |
// value will be populated with the request's response once the request completes |
| 1185 |
// successfully. |
| 1186 |
// |
| 1187 |
// Use "Send" method on the returned Request to send the API call to the service. |
| 1188 |
// the "output" return value is not valid until after Send returns without error. |
| 1189 |
// |
| 1190 |
// See TagResource for more information on using the TagResource |
| 1191 |
// API call, and error handling. |
| 1192 |
// |
| 1193 |
// This method is useful when you want to inject custom logic or configuration |
| 1194 |
// into the SDK's request lifecycle. Such as custom headers, or retry logic. |
| 1195 |
// |
| 1196 |
// // Example sending a request using the TagResourceRequest method. |
| 1197 |
// req, resp := client.TagResourceRequest(params) |
| 1198 |
// |
| 1199 |
// err := req.Send() |
| 1200 |
// if err == nil { // resp is now filled |
| 1201 |
// fmt.Println(resp) |
| 1202 |
// } |
| 1203 |
// |
| 1204 |
// See also, https://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/TagResource |
| 1205 |
func (c *HealthLake) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { |
| 1206 |
op := &request.Operation{ |
| 1207 |
Name: opTagResource, |
| 1208 |
HTTPMethod: "POST", |
| 1209 |
HTTPPath: "/", |
| 1210 |
} |
| 1211 |
|
| 1212 |
if input == nil { |
| 1213 |
input = &TagResourceInput{} |
| 1214 |
} |
| 1215 |
|
| 1216 |
output = &TagResourceOutput{} |
| 1217 |
req = c.newRequest(op, input, output) |
| 1218 |
req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) |
| 1219 |
return |
| 1220 |
} |
| 1221 |
|
| 1222 |
// TagResource API operation for Amazon HealthLake. |
| 1223 |
// |
| 1224 |
// Adds a user specified key and value tag to a data store. |
| 1225 |
// |
| 1226 |
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions |
| 1227 |
// with awserr.Error's Code and Message methods to get detailed information about |
| 1228 |
// the error. |
| 1229 |
// |
| 1230 |
// See the AWS API reference guide for Amazon HealthLake's |
| 1231 |
// API operation TagResource for usage and error information. |
| 1232 |
// |
| 1233 |
// Returned Error Types: |
| 1234 |
// |
| 1235 |
// - ValidationException |
| 1236 |
// The user input parameter was invalid. |
| 1237 |
// |
| 1238 |
// - ResourceNotFoundException |
| 1239 |
// The requested data store was not found. |
| 1240 |
// |
| 1241 |
// See also, https://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/TagResource |
| 1242 |
func (c *HealthLake) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { |
| 1243 |
req, out := c.TagResourceRequest(input) |
| 1244 |
return out, req.Send() |
| 1245 |
} |
| 1246 |
|
| 1247 |
// TagResourceWithContext is the same as TagResource with the addition of |
| 1248 |
// the ability to pass a context and additional request options. |
| 1249 |
// |
| 1250 |
// See TagResource for details on how to use this API operation. |
| 1251 |
// |
| 1252 |
// The context must be non-nil and will be used for request cancellation. If |
| 1253 |
// the context is nil a panic will occur. In the future the SDK may create |
| 1254 |
// sub-contexts for http.Requests. See https://golang.org/pkg/context/ |
| 1255 |
// for more information on using Contexts. |
| 1256 |
func (c *HealthLake) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error) { |
| 1257 |
req, out := c.TagResourceRequest(input) |
| 1258 |
req.SetContext(ctx) |
| 1259 |
req.ApplyOptions(opts...) |
| 1260 |
return out, req.Send() |
| 1261 |
} |
| 1262 |
|
| 1263 |
const opUntagResource = "UntagResource" |
| 1264 |
|
| 1265 |
// UntagResourceRequest generates a "aws/request.Request" representing the |
| 1266 |
// client's request for the UntagResource operation. The "output" return |
| 1267 |
// value will be populated with the request's response once the request completes |
| 1268 |
// successfully. |
| 1269 |
// |
| 1270 |
// Use "Send" method on the returned Request to send the API call to the service. |
| 1271 |
// the "output" return value is not valid until after Send returns without error. |
| 1272 |
// |
| 1273 |
// See UntagResource for more information on using the UntagResource |
| 1274 |
// API call, and error handling. |
| 1275 |
// |
| 1276 |
// This method is useful when you want to inject custom logic or configuration |
| 1277 |
// into the SDK's request lifecycle. Such as custom headers, or retry logic. |
| 1278 |
// |
| 1279 |
// // Example sending a request using the UntagResourceRequest method. |
| 1280 |
// req, resp := client.UntagResourceRequest(params) |
| 1281 |
// |
| 1282 |
// err := req.Send() |
| 1283 |
// if err == nil { // resp is now filled |
| 1284 |
// fmt.Println(resp) |
| 1285 |
// } |
| 1286 |
// |
| 1287 |
// See also, https://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/UntagResource |
| 1288 |
func (c *HealthLake) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { |
| 1289 |
op := &request.Operation{ |
| 1290 |
Name: opUntagResource, |
| 1291 |
HTTPMethod: "POST", |
| 1292 |
HTTPPath: "/", |
| 1293 |
} |
| 1294 |
|
| 1295 |
if input == nil { |
| 1296 |
input = &UntagResourceInput{} |
| 1297 |
} |
| 1298 |
|
| 1299 |
output = &UntagResourceOutput{} |
| 1300 |
req = c.newRequest(op, input, output) |
| 1301 |
req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) |
| 1302 |
return |
| 1303 |
} |
| 1304 |
|
| 1305 |
// UntagResource API operation for Amazon HealthLake. |
| 1306 |
// |
| 1307 |
// Removes tags from a data store. |
| 1308 |
// |
| 1309 |
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions |
| 1310 |
// with awserr.Error's Code and Message methods to get detailed information about |
| 1311 |
// the error. |
| 1312 |
// |
| 1313 |
// See the AWS API reference guide for Amazon HealthLake's |
| 1314 |
// API operation UntagResource for usage and error information. |
| 1315 |
// |
| 1316 |
// Returned Error Types: |
| 1317 |
// |
| 1318 |
// - ValidationException |
| 1319 |
// The user input parameter was invalid. |
| 1320 |
// |
| 1321 |
// - ResourceNotFoundException |
| 1322 |
// The requested data store was not found. |
| 1323 |
// |
| 1324 |
// See also, https://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/UntagResource |
| 1325 |
func (c *HealthLake) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { |
| 1326 |
req, out := c.UntagResourceRequest(input) |
| 1327 |
return out, req.Send() |
| 1328 |
} |
| 1329 |
|
| 1330 |
// UntagResourceWithContext is the same as UntagResource with the addition of |
| 1331 |
// the ability to pass a context and additional request options. |
| 1332 |
// |
| 1333 |
// See UntagResource for details on how to use this API operation. |
| 1334 |
// |
| 1335 |
// The context must be non-nil and will be used for request cancellation. If |
| 1336 |
// the context is nil a panic will occur. In the future the SDK may create |
| 1337 |
// sub-contexts for http.Requests. See https://golang.org/pkg/context/ |
| 1338 |
// for more information on using Contexts. |
| 1339 |
func (c *HealthLake) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error) { |
| 1340 |
req, out := c.UntagResourceRequest(input) |
| 1341 |
req.SetContext(ctx) |
| 1342 |
req.ApplyOptions(opts...) |
| 1343 |
return out, req.Send() |
| 1344 |
} |
| 1345 |
|
| 1346 |
// Access is denied. Your account is not authorized to perform this operation. |
| 1347 |
type AccessDeniedException struct { |
| 1348 |
_ struct{} `type:"structure"` |
| 1349 |
RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` |
| 1350 |
|
| 1351 |
Message_ *string `locationName:"Message" type:"string"` |
| 1352 |
} |
| 1353 |
|
| 1354 |
// String returns the string representation. |
| 1355 |
// |
| 1356 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 1357 |
// be included in the string output. The member name will be present, but the |
| 1358 |
// value will be replaced with "sensitive". |
| 1359 |
func (s AccessDeniedException) String() string { |
| 1360 |
return awsutil.Prettify(s) |
| 1361 |
} |
| 1362 |
|
| 1363 |
// GoString returns the string representation. |
| 1364 |
// |
| 1365 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 1366 |
// be included in the string output. The member name will be present, but the |
| 1367 |
// value will be replaced with "sensitive". |
| 1368 |
func (s AccessDeniedException) GoString() string { |
| 1369 |
return s.String() |
| 1370 |
} |
| 1371 |
|
| 1372 |
func newErrorAccessDeniedException(v protocol.ResponseMetadata) error { |
| 1373 |
return &AccessDeniedException{ |
| 1374 |
RespMetadata: v, |
| 1375 |
} |
| 1376 |
} |
| 1377 |
|
| 1378 |
// Code returns the exception type name. |
| 1379 |
func (s *AccessDeniedException) Code() string { |
| 1380 |
return "AccessDeniedException" |
| 1381 |
} |
| 1382 |
|
| 1383 |
// Message returns the exception's message. |
| 1384 |
func (s *AccessDeniedException) Message() string { |
| 1385 |
if s.Message_ != nil { |
| 1386 |
return *s.Message_ |
| 1387 |
} |
| 1388 |
return "" |
| 1389 |
} |
| 1390 |
|
| 1391 |
// OrigErr always returns nil, satisfies awserr.Error interface. |
| 1392 |
func (s *AccessDeniedException) OrigErr() error { |
| 1393 |
return nil |
| 1394 |
} |
| 1395 |
|
| 1396 |
func (s *AccessDeniedException) Error() string { |
| 1397 |
return fmt.Sprintf("%s: %s", s.Code(), s.Message()) |
| 1398 |
} |
| 1399 |
|
| 1400 |
// Status code returns the HTTP status code for the request's response error. |
| 1401 |
func (s *AccessDeniedException) StatusCode() int { |
| 1402 |
return s.RespMetadata.StatusCode |
| 1403 |
} |
| 1404 |
|
| 1405 |
// RequestID returns the service's response RequestID for request. |
| 1406 |
func (s *AccessDeniedException) RequestID() string { |
| 1407 |
return s.RespMetadata.RequestID |
| 1408 |
} |
| 1409 |
|
| 1410 |
// The data store is in a transition state and the user requested action can |
| 1411 |
// not be performed. |
| 1412 |
type ConflictException struct { |
| 1413 |
_ struct{} `type:"structure"` |
| 1414 |
RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` |
| 1415 |
|
| 1416 |
Message_ *string `locationName:"Message" type:"string"` |
| 1417 |
} |
| 1418 |
|
| 1419 |
// String returns the string representation. |
| 1420 |
// |
| 1421 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 1422 |
// be included in the string output. The member name will be present, but the |
| 1423 |
// value will be replaced with "sensitive". |
| 1424 |
func (s ConflictException) String() string { |
| 1425 |
return awsutil.Prettify(s) |
| 1426 |
} |
| 1427 |
|
| 1428 |
// GoString returns the string representation. |
| 1429 |
// |
| 1430 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 1431 |
// be included in the string output. The member name will be present, but the |
| 1432 |
// value will be replaced with "sensitive". |
| 1433 |
func (s ConflictException) GoString() string { |
| 1434 |
return s.String() |
| 1435 |
} |
| 1436 |
|
| 1437 |
func newErrorConflictException(v protocol.ResponseMetadata) error { |
| 1438 |
return &ConflictException{ |
| 1439 |
RespMetadata: v, |
| 1440 |
} |
| 1441 |
} |
| 1442 |
|
| 1443 |
// Code returns the exception type name. |
| 1444 |
func (s *ConflictException) Code() string { |
| 1445 |
return "ConflictException" |
| 1446 |
} |
| 1447 |
|
| 1448 |
// Message returns the exception's message. |
| 1449 |
func (s *ConflictException) Message() string { |
| 1450 |
if s.Message_ != nil { |
| 1451 |
return *s.Message_ |
| 1452 |
} |
| 1453 |
return "" |
| 1454 |
} |
| 1455 |
|
| 1456 |
// OrigErr always returns nil, satisfies awserr.Error interface. |
| 1457 |
func (s *ConflictException) OrigErr() error { |
| 1458 |
return nil |
| 1459 |
} |
| 1460 |
|
| 1461 |
func (s *ConflictException) Error() string { |
| 1462 |
return fmt.Sprintf("%s: %s", s.Code(), s.Message()) |
| 1463 |
} |
| 1464 |
|
| 1465 |
// Status code returns the HTTP status code for the request's response error. |
| 1466 |
func (s *ConflictException) StatusCode() int { |
| 1467 |
return s.RespMetadata.StatusCode |
| 1468 |
} |
| 1469 |
|
| 1470 |
// RequestID returns the service's response RequestID for request. |
| 1471 |
func (s *ConflictException) RequestID() string { |
| 1472 |
return s.RespMetadata.RequestID |
| 1473 |
} |
| 1474 |
|
| 1475 |
type CreateFHIRDatastoreInput struct { |
| 1476 |
_ struct{} `type:"structure"` |
| 1477 |
|
| 1478 |
// Optional user provided token used for ensuring idempotency. |
| 1479 |
ClientToken *string `min:"1" type:"string" idempotencyToken:"true"` |
| 1480 |
|
| 1481 |
// The user generated name for the data store. |
| 1482 |
DatastoreName *string `min:"1" type:"string"` |
| 1483 |
|
| 1484 |
// The FHIR version of the data store. The only supported version is R4. |
| 1485 |
// |
| 1486 |
// DatastoreTypeVersion is a required field |
| 1487 |
DatastoreTypeVersion *string `type:"string" required:"true" enum:"FHIRVersion"` |
| 1488 |
|
| 1489 |
// The configuration of the identity provider that you want to use for your |
| 1490 |
// data store. |
| 1491 |
IdentityProviderConfiguration *IdentityProviderConfiguration `type:"structure"` |
| 1492 |
|
| 1493 |
// Optional parameter to preload data upon creation of the data store. Currently, |
| 1494 |
// the only supported preloaded data is synthetic data generated from Synthea. |
| 1495 |
PreloadDataConfig *PreloadDataConfig `type:"structure"` |
| 1496 |
|
| 1497 |
// The server-side encryption key configuration for a customer provided encryption |
| 1498 |
// key specified for creating a data store. |
| 1499 |
SseConfiguration *SseConfiguration `type:"structure"` |
| 1500 |
|
| 1501 |
// Resource tags that are applied to a data store when it is created. |
| 1502 |
Tags []*Tag `type:"list"` |
| 1503 |
} |
| 1504 |
|
| 1505 |
// String returns the string representation. |
| 1506 |
// |
| 1507 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 1508 |
// be included in the string output. The member name will be present, but the |
| 1509 |
// value will be replaced with "sensitive". |
| 1510 |
func (s CreateFHIRDatastoreInput) String() string { |
| 1511 |
return awsutil.Prettify(s) |
| 1512 |
} |
| 1513 |
|
| 1514 |
// GoString returns the string representation. |
| 1515 |
// |
| 1516 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 1517 |
// be included in the string output. The member name will be present, but the |
| 1518 |
// value will be replaced with "sensitive". |
| 1519 |
func (s CreateFHIRDatastoreInput) GoString() string { |
| 1520 |
return s.String() |
| 1521 |
} |
| 1522 |
|
| 1523 |
// Validate inspects the fields of the type to determine if they are valid. |
| 1524 |
func (s *CreateFHIRDatastoreInput) Validate() error { |
| 1525 |
invalidParams := request.ErrInvalidParams{Context: "CreateFHIRDatastoreInput"} |
| 1526 |
if s.ClientToken != nil && len(*s.ClientToken) < 1 { |
| 1527 |
invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1)) |
| 1528 |
} |
| 1529 |
if s.DatastoreName != nil && len(*s.DatastoreName) < 1 { |
| 1530 |
invalidParams.Add(request.NewErrParamMinLen("DatastoreName", 1)) |
| 1531 |
} |
| 1532 |
if s.DatastoreTypeVersion == nil { |
| 1533 |
invalidParams.Add(request.NewErrParamRequired("DatastoreTypeVersion")) |
| 1534 |
} |
| 1535 |
if s.IdentityProviderConfiguration != nil { |
| 1536 |
if err := s.IdentityProviderConfiguration.Validate(); err != nil { |
| 1537 |
invalidParams.AddNested("IdentityProviderConfiguration", err.(request.ErrInvalidParams)) |
| 1538 |
} |
| 1539 |
} |
| 1540 |
if s.PreloadDataConfig != nil { |
| 1541 |
if err := s.PreloadDataConfig.Validate(); err != nil { |
| 1542 |
invalidParams.AddNested("PreloadDataConfig", err.(request.ErrInvalidParams)) |
| 1543 |
} |
| 1544 |
} |
| 1545 |
if s.SseConfiguration != nil { |
| 1546 |
if err := s.SseConfiguration.Validate(); err != nil { |
| 1547 |
invalidParams.AddNested("SseConfiguration", err.(request.ErrInvalidParams)) |
| 1548 |
} |
| 1549 |
} |
| 1550 |
if s.Tags != nil { |
| 1551 |
for i, v := range s.Tags { |
| 1552 |
if v == nil { |
| 1553 |
continue |
| 1554 |
} |
| 1555 |
if err := v.Validate(); err != nil { |
| 1556 |
invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) |
| 1557 |
} |
| 1558 |
} |
| 1559 |
} |
| 1560 |
|
| 1561 |
if invalidParams.Len() > 0 { |
| 1562 |
return invalidParams |
| 1563 |
} |
| 1564 |
return nil |
| 1565 |
} |
| 1566 |
|
| 1567 |
// SetClientToken sets the ClientToken field's value. |
| 1568 |
func (s *CreateFHIRDatastoreInput) SetClientToken(v string) *CreateFHIRDatastoreInput { |
| 1569 |
s.ClientToken = &v |
| 1570 |
return s |
| 1571 |
} |
| 1572 |
|
| 1573 |
// SetDatastoreName sets the DatastoreName field's value. |
| 1574 |
func (s *CreateFHIRDatastoreInput) SetDatastoreName(v string) *CreateFHIRDatastoreInput { |
| 1575 |
s.DatastoreName = &v |
| 1576 |
return s |
| 1577 |
} |
| 1578 |
|
| 1579 |
// SetDatastoreTypeVersion sets the DatastoreTypeVersion field's value. |
| 1580 |
func (s *CreateFHIRDatastoreInput) SetDatastoreTypeVersion(v string) *CreateFHIRDatastoreInput { |
| 1581 |
s.DatastoreTypeVersion = &v |
| 1582 |
return s |
| 1583 |
} |
| 1584 |
|
| 1585 |
// SetIdentityProviderConfiguration sets the IdentityProviderConfiguration field's value. |
| 1586 |
func (s *CreateFHIRDatastoreInput) SetIdentityProviderConfiguration(v *IdentityProviderConfiguration) *CreateFHIRDatastoreInput { |
| 1587 |
s.IdentityProviderConfiguration = v |
| 1588 |
return s |
| 1589 |
} |
| 1590 |
|
| 1591 |
// SetPreloadDataConfig sets the PreloadDataConfig field's value. |
| 1592 |
func (s *CreateFHIRDatastoreInput) SetPreloadDataConfig(v *PreloadDataConfig) *CreateFHIRDatastoreInput { |
| 1593 |
s.PreloadDataConfig = v |
| 1594 |
return s |
| 1595 |
} |
| 1596 |
|
| 1597 |
// SetSseConfiguration sets the SseConfiguration field's value. |
| 1598 |
func (s *CreateFHIRDatastoreInput) SetSseConfiguration(v *SseConfiguration) *CreateFHIRDatastoreInput { |
| 1599 |
s.SseConfiguration = v |
| 1600 |
return s |
| 1601 |
} |
| 1602 |
|
| 1603 |
// SetTags sets the Tags field's value. |
| 1604 |
func (s *CreateFHIRDatastoreInput) SetTags(v []*Tag) *CreateFHIRDatastoreInput { |
| 1605 |
s.Tags = v |
| 1606 |
return s |
| 1607 |
} |
| 1608 |
|
| 1609 |
type CreateFHIRDatastoreOutput struct { |
| 1610 |
_ struct{} `type:"structure"` |
| 1611 |
|
| 1612 |
// The data store ARN is generated during the creation of the data store and |
| 1613 |
// can be found in the output from the initial data store creation call. |
| 1614 |
// |
| 1615 |
// DatastoreArn is a required field |
| 1616 |
DatastoreArn *string `type:"string" required:"true"` |
| 1617 |
|
| 1618 |
// The AWS endpoint for the created data store. |
| 1619 |
// |
| 1620 |
// DatastoreEndpoint is a required field |
| 1621 |
DatastoreEndpoint *string `min:"1" type:"string" required:"true"` |
| 1622 |
|
| 1623 |
// The AWS-generated data store id. This id is in the output from the initial |
| 1624 |
// data store creation call. |
| 1625 |
// |
| 1626 |
// DatastoreId is a required field |
| 1627 |
DatastoreId *string `min:"1" type:"string" required:"true"` |
| 1628 |
|
| 1629 |
// The status of the FHIR data store. |
| 1630 |
// |
| 1631 |
// DatastoreStatus is a required field |
| 1632 |
DatastoreStatus *string `type:"string" required:"true" enum:"DatastoreStatus"` |
| 1633 |
} |
| 1634 |
|
| 1635 |
// String returns the string representation. |
| 1636 |
// |
| 1637 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 1638 |
// be included in the string output. The member name will be present, but the |
| 1639 |
// value will be replaced with "sensitive". |
| 1640 |
func (s CreateFHIRDatastoreOutput) String() string { |
| 1641 |
return awsutil.Prettify(s) |
| 1642 |
} |
| 1643 |
|
| 1644 |
// GoString returns the string representation. |
| 1645 |
// |
| 1646 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 1647 |
// be included in the string output. The member name will be present, but the |
| 1648 |
// value will be replaced with "sensitive". |
| 1649 |
func (s CreateFHIRDatastoreOutput) GoString() string { |
| 1650 |
return s.String() |
| 1651 |
} |
| 1652 |
|
| 1653 |
// SetDatastoreArn sets the DatastoreArn field's value. |
| 1654 |
func (s *CreateFHIRDatastoreOutput) SetDatastoreArn(v string) *CreateFHIRDatastoreOutput { |
| 1655 |
s.DatastoreArn = &v |
| 1656 |
return s |
| 1657 |
} |
| 1658 |
|
| 1659 |
// SetDatastoreEndpoint sets the DatastoreEndpoint field's value. |
| 1660 |
func (s *CreateFHIRDatastoreOutput) SetDatastoreEndpoint(v string) *CreateFHIRDatastoreOutput { |
| 1661 |
s.DatastoreEndpoint = &v |
| 1662 |
return s |
| 1663 |
} |
| 1664 |
|
| 1665 |
// SetDatastoreId sets the DatastoreId field's value. |
| 1666 |
func (s *CreateFHIRDatastoreOutput) SetDatastoreId(v string) *CreateFHIRDatastoreOutput { |
| 1667 |
s.DatastoreId = &v |
| 1668 |
return s |
| 1669 |
} |
| 1670 |
|
| 1671 |
// SetDatastoreStatus sets the DatastoreStatus field's value. |
| 1672 |
func (s *CreateFHIRDatastoreOutput) SetDatastoreStatus(v string) *CreateFHIRDatastoreOutput { |
| 1673 |
s.DatastoreStatus = &v |
| 1674 |
return s |
| 1675 |
} |
| 1676 |
|
| 1677 |
// The filters applied to data store query. |
| 1678 |
type DatastoreFilter struct { |
| 1679 |
_ struct{} `type:"structure"` |
| 1680 |
|
| 1681 |
// A filter that allows the user to set cutoff dates for records. All data stores |
| 1682 |
// created after the specified date will be included in the results. |
| 1683 |
CreatedAfter *time.Time `type:"timestamp"` |
| 1684 |
|
| 1685 |
// A filter that allows the user to set cutoff dates for records. All data stores |
| 1686 |
// created before the specified date will be included in the results. |
| 1687 |
CreatedBefore *time.Time `type:"timestamp"` |
| 1688 |
|
| 1689 |
// Allows the user to filter data store results by name. |
| 1690 |
DatastoreName *string `min:"1" type:"string"` |
| 1691 |
|
| 1692 |
// Allows the user to filter data store results by status. |
| 1693 |
DatastoreStatus *string `type:"string" enum:"DatastoreStatus"` |
| 1694 |
} |
| 1695 |
|
| 1696 |
// String returns the string representation. |
| 1697 |
// |
| 1698 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 1699 |
// be included in the string output. The member name will be present, but the |
| 1700 |
// value will be replaced with "sensitive". |
| 1701 |
func (s DatastoreFilter) String() string { |
| 1702 |
return awsutil.Prettify(s) |
| 1703 |
} |
| 1704 |
|
| 1705 |
// GoString returns the string representation. |
| 1706 |
// |
| 1707 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 1708 |
// be included in the string output. The member name will be present, but the |
| 1709 |
// value will be replaced with "sensitive". |
| 1710 |
func (s DatastoreFilter) GoString() string { |
| 1711 |
return s.String() |
| 1712 |
} |
| 1713 |
|
| 1714 |
// Validate inspects the fields of the type to determine if they are valid. |
| 1715 |
func (s *DatastoreFilter) Validate() error { |
| 1716 |
invalidParams := request.ErrInvalidParams{Context: "DatastoreFilter"} |
| 1717 |
if s.DatastoreName != nil && len(*s.DatastoreName) < 1 { |
| 1718 |
invalidParams.Add(request.NewErrParamMinLen("DatastoreName", 1)) |
| 1719 |
} |
| 1720 |
|
| 1721 |
if invalidParams.Len() > 0 { |
| 1722 |
return invalidParams |
| 1723 |
} |
| 1724 |
return nil |
| 1725 |
} |
| 1726 |
|
| 1727 |
// SetCreatedAfter sets the CreatedAfter field's value. |
| 1728 |
func (s *DatastoreFilter) SetCreatedAfter(v time.Time) *DatastoreFilter { |
| 1729 |
s.CreatedAfter = &v |
| 1730 |
return s |
| 1731 |
} |
| 1732 |
|
| 1733 |
// SetCreatedBefore sets the CreatedBefore field's value. |
| 1734 |
func (s *DatastoreFilter) SetCreatedBefore(v time.Time) *DatastoreFilter { |
| 1735 |
s.CreatedBefore = &v |
| 1736 |
return s |
| 1737 |
} |
| 1738 |
|
| 1739 |
// SetDatastoreName sets the DatastoreName field's value. |
| 1740 |
func (s *DatastoreFilter) SetDatastoreName(v string) *DatastoreFilter { |
| 1741 |
s.DatastoreName = &v |
| 1742 |
return s |
| 1743 |
} |
| 1744 |
|
| 1745 |
// SetDatastoreStatus sets the DatastoreStatus field's value. |
| 1746 |
func (s *DatastoreFilter) SetDatastoreStatus(v string) *DatastoreFilter { |
| 1747 |
s.DatastoreStatus = &v |
| 1748 |
return s |
| 1749 |
} |
| 1750 |
|
| 1751 |
// Displays the properties of the data store, including the ID, ARN, name, and |
| 1752 |
// the status of the data store. |
| 1753 |
type DatastoreProperties struct { |
| 1754 |
_ struct{} `type:"structure"` |
| 1755 |
|
| 1756 |
// The time that a data store was created. |
| 1757 |
CreatedAt *time.Time `type:"timestamp"` |
| 1758 |
|
| 1759 |
// The Amazon Resource Name used in the creation of the data store. |
| 1760 |
// |
| 1761 |
// DatastoreArn is a required field |
| 1762 |
DatastoreArn *string `type:"string" required:"true"` |
| 1763 |
|
| 1764 |
// The AWS endpoint for the data store. Each data store will have it's own endpoint |
| 1765 |
// with data store ID in the endpoint URL. |
| 1766 |
// |
| 1767 |
// DatastoreEndpoint is a required field |
| 1768 |
DatastoreEndpoint *string `type:"string" required:"true"` |
| 1769 |
|
| 1770 |
// The AWS-generated ID number for the data store. |
| 1771 |
// |
| 1772 |
// DatastoreId is a required field |
| 1773 |
DatastoreId *string `min:"1" type:"string" required:"true"` |
| 1774 |
|
| 1775 |
// The user-generated name for the data store. |
| 1776 |
DatastoreName *string `min:"1" type:"string"` |
| 1777 |
|
| 1778 |
// The status of the data store. |
| 1779 |
// |
| 1780 |
// DatastoreStatus is a required field |
| 1781 |
DatastoreStatus *string `type:"string" required:"true" enum:"DatastoreStatus"` |
| 1782 |
|
| 1783 |
// The FHIR version. Only R4 version data is supported. |
| 1784 |
// |
| 1785 |
// DatastoreTypeVersion is a required field |
| 1786 |
DatastoreTypeVersion *string `type:"string" required:"true" enum:"FHIRVersion"` |
| 1787 |
|
| 1788 |
// The identity provider that you selected when you created the data store. |
| 1789 |
IdentityProviderConfiguration *IdentityProviderConfiguration `type:"structure"` |
| 1790 |
|
| 1791 |
// The preloaded data configuration for the data store. Only data preloaded |
| 1792 |
// from Synthea is supported. |
| 1793 |
PreloadDataConfig *PreloadDataConfig `type:"structure"` |
| 1794 |
|
| 1795 |
// The server-side encryption key configuration for a customer provided encryption |
| 1796 |
// key (CMK). |
| 1797 |
SseConfiguration *SseConfiguration `type:"structure"` |
| 1798 |
} |
| 1799 |
|
| 1800 |
// String returns the string representation. |
| 1801 |
// |
| 1802 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 1803 |
// be included in the string output. The member name will be present, but the |
| 1804 |
// value will be replaced with "sensitive". |
| 1805 |
func (s DatastoreProperties) String() string { |
| 1806 |
return awsutil.Prettify(s) |
| 1807 |
} |
| 1808 |
|
| 1809 |
// GoString returns the string representation. |
| 1810 |
// |
| 1811 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 1812 |
// be included in the string output. The member name will be present, but the |
| 1813 |
// value will be replaced with "sensitive". |
| 1814 |
func (s DatastoreProperties) GoString() string { |
| 1815 |
return s.String() |
| 1816 |
} |
| 1817 |
|
| 1818 |
// SetCreatedAt sets the CreatedAt field's value. |
| 1819 |
func (s *DatastoreProperties) SetCreatedAt(v time.Time) *DatastoreProperties { |
| 1820 |
s.CreatedAt = &v |
| 1821 |
return s |
| 1822 |
} |
| 1823 |
|
| 1824 |
// SetDatastoreArn sets the DatastoreArn field's value. |
| 1825 |
func (s *DatastoreProperties) SetDatastoreArn(v string) *DatastoreProperties { |
| 1826 |
s.DatastoreArn = &v |
| 1827 |
return s |
| 1828 |
} |
| 1829 |
|
| 1830 |
// SetDatastoreEndpoint sets the DatastoreEndpoint field's value. |
| 1831 |
func (s *DatastoreProperties) SetDatastoreEndpoint(v string) *DatastoreProperties { |
| 1832 |
s.DatastoreEndpoint = &v |
| 1833 |
return s |
| 1834 |
} |
| 1835 |
|
| 1836 |
// SetDatastoreId sets the DatastoreId field's value. |
| 1837 |
func (s *DatastoreProperties) SetDatastoreId(v string) *DatastoreProperties { |
| 1838 |
s.DatastoreId = &v |
| 1839 |
return s |
| 1840 |
} |
| 1841 |
|
| 1842 |
// SetDatastoreName sets the DatastoreName field's value. |
| 1843 |
func (s *DatastoreProperties) SetDatastoreName(v string) *DatastoreProperties { |
| 1844 |
s.DatastoreName = &v |
| 1845 |
return s |
| 1846 |
} |
| 1847 |
|
| 1848 |
// SetDatastoreStatus sets the DatastoreStatus field's value. |
| 1849 |
func (s *DatastoreProperties) SetDatastoreStatus(v string) *DatastoreProperties { |
| 1850 |
s.DatastoreStatus = &v |
| 1851 |
return s |
| 1852 |
} |
| 1853 |
|
| 1854 |
// SetDatastoreTypeVersion sets the DatastoreTypeVersion field's value. |
| 1855 |
func (s *DatastoreProperties) SetDatastoreTypeVersion(v string) *DatastoreProperties { |
| 1856 |
s.DatastoreTypeVersion = &v |
| 1857 |
return s |
| 1858 |
} |
| 1859 |
|
| 1860 |
// SetIdentityProviderConfiguration sets the IdentityProviderConfiguration field's value. |
| 1861 |
func (s *DatastoreProperties) SetIdentityProviderConfiguration(v *IdentityProviderConfiguration) *DatastoreProperties { |
| 1862 |
s.IdentityProviderConfiguration = v |
| 1863 |
return s |
| 1864 |
} |
| 1865 |
|
| 1866 |
// SetPreloadDataConfig sets the PreloadDataConfig field's value. |
| 1867 |
func (s *DatastoreProperties) SetPreloadDataConfig(v *PreloadDataConfig) *DatastoreProperties { |
| 1868 |
s.PreloadDataConfig = v |
| 1869 |
return s |
| 1870 |
} |
| 1871 |
|
| 1872 |
// SetSseConfiguration sets the SseConfiguration field's value. |
| 1873 |
func (s *DatastoreProperties) SetSseConfiguration(v *SseConfiguration) *DatastoreProperties { |
| 1874 |
s.SseConfiguration = v |
| 1875 |
return s |
| 1876 |
} |
| 1877 |
|
| 1878 |
type DeleteFHIRDatastoreInput struct { |
| 1879 |
_ struct{} `type:"structure"` |
| 1880 |
|
| 1881 |
// The AWS-generated ID for the data store to be deleted. |
| 1882 |
// |
| 1883 |
// DatastoreId is a required field |
| 1884 |
DatastoreId *string `min:"1" type:"string" required:"true"` |
| 1885 |
} |
| 1886 |
|
| 1887 |
// String returns the string representation. |
| 1888 |
// |
| 1889 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 1890 |
// be included in the string output. The member name will be present, but the |
| 1891 |
// value will be replaced with "sensitive". |
| 1892 |
func (s DeleteFHIRDatastoreInput) String() string { |
| 1893 |
return awsutil.Prettify(s) |
| 1894 |
} |
| 1895 |
|
| 1896 |
// GoString returns the string representation. |
| 1897 |
// |
| 1898 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 1899 |
// be included in the string output. The member name will be present, but the |
| 1900 |
// value will be replaced with "sensitive". |
| 1901 |
func (s DeleteFHIRDatastoreInput) GoString() string { |
| 1902 |
return s.String() |
| 1903 |
} |
| 1904 |
|
| 1905 |
// Validate inspects the fields of the type to determine if they are valid. |
| 1906 |
func (s *DeleteFHIRDatastoreInput) Validate() error { |
| 1907 |
invalidParams := request.ErrInvalidParams{Context: "DeleteFHIRDatastoreInput"} |
| 1908 |
if s.DatastoreId == nil { |
| 1909 |
invalidParams.Add(request.NewErrParamRequired("DatastoreId")) |
| 1910 |
} |
| 1911 |
if s.DatastoreId != nil && len(*s.DatastoreId) < 1 { |
| 1912 |
invalidParams.Add(request.NewErrParamMinLen("DatastoreId", 1)) |
| 1913 |
} |
| 1914 |
|
| 1915 |
if invalidParams.Len() > 0 { |
| 1916 |
return invalidParams |
| 1917 |
} |
| 1918 |
return nil |
| 1919 |
} |
| 1920 |
|
| 1921 |
// SetDatastoreId sets the DatastoreId field's value. |
| 1922 |
func (s *DeleteFHIRDatastoreInput) SetDatastoreId(v string) *DeleteFHIRDatastoreInput { |
| 1923 |
s.DatastoreId = &v |
| 1924 |
return s |
| 1925 |
} |
| 1926 |
|
| 1927 |
type DeleteFHIRDatastoreOutput struct { |
| 1928 |
_ struct{} `type:"structure"` |
| 1929 |
|
| 1930 |
// The Amazon Resource Name (ARN) that gives AWS HealthLake access permission. |
| 1931 |
// |
| 1932 |
// DatastoreArn is a required field |
| 1933 |
DatastoreArn *string `type:"string" required:"true"` |
| 1934 |
|
| 1935 |
// The AWS endpoint for the data store the user has requested to be deleted. |
| 1936 |
// |
| 1937 |
// DatastoreEndpoint is a required field |
| 1938 |
DatastoreEndpoint *string `min:"1" type:"string" required:"true"` |
| 1939 |
|
| 1940 |
// The AWS-generated ID for the data store to be deleted. |
| 1941 |
// |
| 1942 |
// DatastoreId is a required field |
| 1943 |
DatastoreId *string `min:"1" type:"string" required:"true"` |
| 1944 |
|
| 1945 |
// The status of the data store that the user has requested to be deleted. |
| 1946 |
// |
| 1947 |
// DatastoreStatus is a required field |
| 1948 |
DatastoreStatus *string `type:"string" required:"true" enum:"DatastoreStatus"` |
| 1949 |
} |
| 1950 |
|
| 1951 |
// String returns the string representation. |
| 1952 |
// |
| 1953 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 1954 |
// be included in the string output. The member name will be present, but the |
| 1955 |
// value will be replaced with "sensitive". |
| 1956 |
func (s DeleteFHIRDatastoreOutput) String() string { |
| 1957 |
return awsutil.Prettify(s) |
| 1958 |
} |
| 1959 |
|
| 1960 |
// GoString returns the string representation. |
| 1961 |
// |
| 1962 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 1963 |
// be included in the string output. The member name will be present, but the |
| 1964 |
// value will be replaced with "sensitive". |
| 1965 |
func (s DeleteFHIRDatastoreOutput) GoString() string { |
| 1966 |
return s.String() |
| 1967 |
} |
| 1968 |
|
| 1969 |
// SetDatastoreArn sets the DatastoreArn field's value. |
| 1970 |
func (s *DeleteFHIRDatastoreOutput) SetDatastoreArn(v string) *DeleteFHIRDatastoreOutput { |
| 1971 |
s.DatastoreArn = &v |
| 1972 |
return s |
| 1973 |
} |
| 1974 |
|
| 1975 |
// SetDatastoreEndpoint sets the DatastoreEndpoint field's value. |
| 1976 |
func (s *DeleteFHIRDatastoreOutput) SetDatastoreEndpoint(v string) *DeleteFHIRDatastoreOutput { |
| 1977 |
s.DatastoreEndpoint = &v |
| 1978 |
return s |
| 1979 |
} |
| 1980 |
|
| 1981 |
// SetDatastoreId sets the DatastoreId field's value. |
| 1982 |
func (s *DeleteFHIRDatastoreOutput) SetDatastoreId(v string) *DeleteFHIRDatastoreOutput { |
| 1983 |
s.DatastoreId = &v |
| 1984 |
return s |
| 1985 |
} |
| 1986 |
|
| 1987 |
// SetDatastoreStatus sets the DatastoreStatus field's value. |
| 1988 |
func (s *DeleteFHIRDatastoreOutput) SetDatastoreStatus(v string) *DeleteFHIRDatastoreOutput { |
| 1989 |
s.DatastoreStatus = &v |
| 1990 |
return s |
| 1991 |
} |
| 1992 |
|
| 1993 |
type DescribeFHIRDatastoreInput struct { |
| 1994 |
_ struct{} `type:"structure"` |
| 1995 |
|
| 1996 |
// The AWS-generated data store ID. |
| 1997 |
// |
| 1998 |
// DatastoreId is a required field |
| 1999 |
DatastoreId *string `min:"1" type:"string" required:"true"` |
| 2000 |
} |
| 2001 |
|
| 2002 |
// String returns the string representation. |
| 2003 |
// |
| 2004 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 2005 |
// be included in the string output. The member name will be present, but the |
| 2006 |
// value will be replaced with "sensitive". |
| 2007 |
func (s DescribeFHIRDatastoreInput) String() string { |
| 2008 |
return awsutil.Prettify(s) |
| 2009 |
} |
| 2010 |
|
| 2011 |
// GoString returns the string representation. |
| 2012 |
// |
| 2013 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 2014 |
// be included in the string output. The member name will be present, but the |
| 2015 |
// value will be replaced with "sensitive". |
| 2016 |
func (s DescribeFHIRDatastoreInput) GoString() string { |
| 2017 |
return s.String() |
| 2018 |
} |
| 2019 |
|
| 2020 |
// Validate inspects the fields of the type to determine if they are valid. |
| 2021 |
func (s *DescribeFHIRDatastoreInput) Validate() error { |
| 2022 |
invalidParams := request.ErrInvalidParams{Context: "DescribeFHIRDatastoreInput"} |
| 2023 |
if s.DatastoreId == nil { |
| 2024 |
invalidParams.Add(request.NewErrParamRequired("DatastoreId")) |
| 2025 |
} |
| 2026 |
if s.DatastoreId != nil && len(*s.DatastoreId) < 1 { |
| 2027 |
invalidParams.Add(request.NewErrParamMinLen("DatastoreId", 1)) |
| 2028 |
} |
| 2029 |
|
| 2030 |
if invalidParams.Len() > 0 { |
| 2031 |
return invalidParams |
| 2032 |
} |
| 2033 |
return nil |
| 2034 |
} |
| 2035 |
|
| 2036 |
// SetDatastoreId sets the DatastoreId field's value. |
| 2037 |
func (s *DescribeFHIRDatastoreInput) SetDatastoreId(v string) *DescribeFHIRDatastoreInput { |
| 2038 |
s.DatastoreId = &v |
| 2039 |
return s |
| 2040 |
} |
| 2041 |
|
| 2042 |
type DescribeFHIRDatastoreOutput struct { |
| 2043 |
_ struct{} `type:"structure"` |
| 2044 |
|
| 2045 |
// All properties associated with a data store, including the data store ID, |
| 2046 |
// data store ARN, data store name, data store status, when the data store was |
| 2047 |
// created, data store type version, and the data store's endpoint. |
| 2048 |
// |
| 2049 |
// DatastoreProperties is a required field |
| 2050 |
DatastoreProperties *DatastoreProperties `type:"structure" required:"true"` |
| 2051 |
} |
| 2052 |
|
| 2053 |
// String returns the string representation. |
| 2054 |
// |
| 2055 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 2056 |
// be included in the string output. The member name will be present, but the |
| 2057 |
// value will be replaced with "sensitive". |
| 2058 |
func (s DescribeFHIRDatastoreOutput) String() string { |
| 2059 |
return awsutil.Prettify(s) |
| 2060 |
} |
| 2061 |
|
| 2062 |
// GoString returns the string representation. |
| 2063 |
// |
| 2064 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 2065 |
// be included in the string output. The member name will be present, but the |
| 2066 |
// value will be replaced with "sensitive". |
| 2067 |
func (s DescribeFHIRDatastoreOutput) GoString() string { |
| 2068 |
return s.String() |
| 2069 |
} |
| 2070 |
|
| 2071 |
// SetDatastoreProperties sets the DatastoreProperties field's value. |
| 2072 |
func (s *DescribeFHIRDatastoreOutput) SetDatastoreProperties(v *DatastoreProperties) *DescribeFHIRDatastoreOutput { |
| 2073 |
s.DatastoreProperties = v |
| 2074 |
return s |
| 2075 |
} |
| 2076 |
|
| 2077 |
type DescribeFHIRExportJobInput struct { |
| 2078 |
_ struct{} `type:"structure"` |
| 2079 |
|
| 2080 |
// The AWS generated ID for the data store from which files are being exported |
| 2081 |
// from for an export job. |
| 2082 |
// |
| 2083 |
// DatastoreId is a required field |
| 2084 |
DatastoreId *string `min:"1" type:"string" required:"true"` |
| 2085 |
|
| 2086 |
// The AWS generated ID for an export job. |
| 2087 |
// |
| 2088 |
// JobId is a required field |
| 2089 |
JobId *string `min:"1" type:"string" required:"true"` |
| 2090 |
} |
| 2091 |
|
| 2092 |
// String returns the string representation. |
| 2093 |
// |
| 2094 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 2095 |
// be included in the string output. The member name will be present, but the |
| 2096 |
// value will be replaced with "sensitive". |
| 2097 |
func (s DescribeFHIRExportJobInput) String() string { |
| 2098 |
return awsutil.Prettify(s) |
| 2099 |
} |
| 2100 |
|
| 2101 |
// GoString returns the string representation. |
| 2102 |
// |
| 2103 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 2104 |
// be included in the string output. The member name will be present, but the |
| 2105 |
// value will be replaced with "sensitive". |
| 2106 |
func (s DescribeFHIRExportJobInput) GoString() string { |
| 2107 |
return s.String() |
| 2108 |
} |
| 2109 |
|
| 2110 |
// Validate inspects the fields of the type to determine if they are valid. |
| 2111 |
func (s *DescribeFHIRExportJobInput) Validate() error { |
| 2112 |
invalidParams := request.ErrInvalidParams{Context: "DescribeFHIRExportJobInput"} |
| 2113 |
if s.DatastoreId == nil { |
| 2114 |
invalidParams.Add(request.NewErrParamRequired("DatastoreId")) |
| 2115 |
} |
| 2116 |
if s.DatastoreId != nil && len(*s.DatastoreId) < 1 { |
| 2117 |
invalidParams.Add(request.NewErrParamMinLen("DatastoreId", 1)) |
| 2118 |
} |
| 2119 |
if s.JobId == nil { |
| 2120 |
invalidParams.Add(request.NewErrParamRequired("JobId")) |
| 2121 |
} |
| 2122 |
if s.JobId != nil && len(*s.JobId) < 1 { |
| 2123 |
invalidParams.Add(request.NewErrParamMinLen("JobId", 1)) |
| 2124 |
} |
| 2125 |
|
| 2126 |
if invalidParams.Len() > 0 { |
| 2127 |
return invalidParams |
| 2128 |
} |
| 2129 |
return nil |
| 2130 |
} |
| 2131 |
|
| 2132 |
// SetDatastoreId sets the DatastoreId field's value. |
| 2133 |
func (s *DescribeFHIRExportJobInput) SetDatastoreId(v string) *DescribeFHIRExportJobInput { |
| 2134 |
s.DatastoreId = &v |
| 2135 |
return s |
| 2136 |
} |
| 2137 |
|
| 2138 |
// SetJobId sets the JobId field's value. |
| 2139 |
func (s *DescribeFHIRExportJobInput) SetJobId(v string) *DescribeFHIRExportJobInput { |
| 2140 |
s.JobId = &v |
| 2141 |
return s |
| 2142 |
} |
| 2143 |
|
| 2144 |
type DescribeFHIRExportJobOutput struct { |
| 2145 |
_ struct{} `type:"structure"` |
| 2146 |
|
| 2147 |
// Displays the properties of the export job, including the ID, Arn, Name, and |
| 2148 |
// the status of the job. |
| 2149 |
// |
| 2150 |
// ExportJobProperties is a required field |
| 2151 |
ExportJobProperties *ExportJobProperties `type:"structure" required:"true"` |
| 2152 |
} |
| 2153 |
|
| 2154 |
// String returns the string representation. |
| 2155 |
// |
| 2156 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 2157 |
// be included in the string output. The member name will be present, but the |
| 2158 |
// value will be replaced with "sensitive". |
| 2159 |
func (s DescribeFHIRExportJobOutput) String() string { |
| 2160 |
return awsutil.Prettify(s) |
| 2161 |
} |
| 2162 |
|
| 2163 |
// GoString returns the string representation. |
| 2164 |
// |
| 2165 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 2166 |
// be included in the string output. The member name will be present, but the |
| 2167 |
// value will be replaced with "sensitive". |
| 2168 |
func (s DescribeFHIRExportJobOutput) GoString() string { |
| 2169 |
return s.String() |
| 2170 |
} |
| 2171 |
|
| 2172 |
// SetExportJobProperties sets the ExportJobProperties field's value. |
| 2173 |
func (s *DescribeFHIRExportJobOutput) SetExportJobProperties(v *ExportJobProperties) *DescribeFHIRExportJobOutput { |
| 2174 |
s.ExportJobProperties = v |
| 2175 |
return s |
| 2176 |
} |
| 2177 |
|
| 2178 |
type DescribeFHIRImportJobInput struct { |
| 2179 |
_ struct{} `type:"structure"` |
| 2180 |
|
| 2181 |
// The AWS-generated ID of the data store. |
| 2182 |
// |
| 2183 |
// DatastoreId is a required field |
| 2184 |
DatastoreId *string `min:"1" type:"string" required:"true"` |
| 2185 |
|
| 2186 |
// The AWS-generated job ID. |
| 2187 |
// |
| 2188 |
// JobId is a required field |
| 2189 |
JobId *string `min:"1" type:"string" required:"true"` |
| 2190 |
} |
| 2191 |
|
| 2192 |
// String returns the string representation. |
| 2193 |
// |
| 2194 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 2195 |
// be included in the string output. The member name will be present, but the |
| 2196 |
// value will be replaced with "sensitive". |
| 2197 |
func (s DescribeFHIRImportJobInput) String() string { |
| 2198 |
return awsutil.Prettify(s) |
| 2199 |
} |
| 2200 |
|
| 2201 |
// GoString returns the string representation. |
| 2202 |
// |
| 2203 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 2204 |
// be included in the string output. The member name will be present, but the |
| 2205 |
// value will be replaced with "sensitive". |
| 2206 |
func (s DescribeFHIRImportJobInput) GoString() string { |
| 2207 |
return s.String() |
| 2208 |
} |
| 2209 |
|
| 2210 |
// Validate inspects the fields of the type to determine if they are valid. |
| 2211 |
func (s *DescribeFHIRImportJobInput) Validate() error { |
| 2212 |
invalidParams := request.ErrInvalidParams{Context: "DescribeFHIRImportJobInput"} |
| 2213 |
if s.DatastoreId == nil { |
| 2214 |
invalidParams.Add(request.NewErrParamRequired("DatastoreId")) |
| 2215 |
} |
| 2216 |
if s.DatastoreId != nil && len(*s.DatastoreId) < 1 { |
| 2217 |
invalidParams.Add(request.NewErrParamMinLen("DatastoreId", 1)) |
| 2218 |
} |
| 2219 |
if s.JobId == nil { |
| 2220 |
invalidParams.Add(request.NewErrParamRequired("JobId")) |
| 2221 |
} |
| 2222 |
if s.JobId != nil && len(*s.JobId) < 1 { |
| 2223 |
invalidParams.Add(request.NewErrParamMinLen("JobId", 1)) |
| 2224 |
} |
| 2225 |
|
| 2226 |
if invalidParams.Len() > 0 { |
| 2227 |
return invalidParams |
| 2228 |
} |
| 2229 |
return nil |
| 2230 |
} |
| 2231 |
|
| 2232 |
// SetDatastoreId sets the DatastoreId field's value. |
| 2233 |
func (s *DescribeFHIRImportJobInput) SetDatastoreId(v string) *DescribeFHIRImportJobInput { |
| 2234 |
s.DatastoreId = &v |
| 2235 |
return s |
| 2236 |
} |
| 2237 |
|
| 2238 |
// SetJobId sets the JobId field's value. |
| 2239 |
func (s *DescribeFHIRImportJobInput) SetJobId(v string) *DescribeFHIRImportJobInput { |
| 2240 |
s.JobId = &v |
| 2241 |
return s |
| 2242 |
} |
| 2243 |
|
| 2244 |
type DescribeFHIRImportJobOutput struct { |
| 2245 |
_ struct{} `type:"structure"` |
| 2246 |
|
| 2247 |
// The properties of the Import job request, including the ID, ARN, name, and |
| 2248 |
// the status of the job. |
| 2249 |
// |
| 2250 |
// ImportJobProperties is a required field |
| 2251 |
ImportJobProperties *ImportJobProperties `type:"structure" required:"true"` |
| 2252 |
} |
| 2253 |
|
| 2254 |
// String returns the string representation. |
| 2255 |
// |
| 2256 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 2257 |
// be included in the string output. The member name will be present, but the |
| 2258 |
// value will be replaced with "sensitive". |
| 2259 |
func (s DescribeFHIRImportJobOutput) String() string { |
| 2260 |
return awsutil.Prettify(s) |
| 2261 |
} |
| 2262 |
|
| 2263 |
// GoString returns the string representation. |
| 2264 |
// |
| 2265 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 2266 |
// be included in the string output. The member name will be present, but the |
| 2267 |
// value will be replaced with "sensitive". |
| 2268 |
func (s DescribeFHIRImportJobOutput) GoString() string { |
| 2269 |
return s.String() |
| 2270 |
} |
| 2271 |
|
| 2272 |
// SetImportJobProperties sets the ImportJobProperties field's value. |
| 2273 |
func (s *DescribeFHIRImportJobOutput) SetImportJobProperties(v *ImportJobProperties) *DescribeFHIRImportJobOutput { |
| 2274 |
s.ImportJobProperties = v |
| 2275 |
return s |
| 2276 |
} |
| 2277 |
|
| 2278 |
// The properties of a FHIR export job, including the ID, ARN, name, and the |
| 2279 |
// status of the job. |
| 2280 |
type ExportJobProperties struct { |
| 2281 |
_ struct{} `type:"structure"` |
| 2282 |
|
| 2283 |
// The Amazon Resource Name used during the initiation of the job. |
| 2284 |
DataAccessRoleArn *string `min:"20" type:"string"` |
| 2285 |
|
| 2286 |
// The AWS generated ID for the data store from which files are being exported |
| 2287 |
// for an export job. |
| 2288 |
// |
| 2289 |
// DatastoreId is a required field |
| 2290 |
DatastoreId *string `min:"1" type:"string" required:"true"` |
| 2291 |
|
| 2292 |
// The time an export job completed. |
| 2293 |
EndTime *time.Time `type:"timestamp"` |
| 2294 |
|
| 2295 |
// The AWS generated ID for an export job. |
| 2296 |
// |
| 2297 |
// JobId is a required field |
| 2298 |
JobId *string `min:"1" type:"string" required:"true"` |
| 2299 |
|
| 2300 |
// The user generated name for an export job. |
| 2301 |
JobName *string `min:"1" type:"string"` |
| 2302 |
|
| 2303 |
// The status of a FHIR export job. Possible statuses are SUBMITTED, IN_PROGRESS, |
| 2304 |
// COMPLETED, or FAILED. |
| 2305 |
// |
| 2306 |
// JobStatus is a required field |
| 2307 |
JobStatus *string `type:"string" required:"true" enum:"JobStatus"` |
| 2308 |
|
| 2309 |
// An explanation of any errors that may have occurred during the export job. |
| 2310 |
Message *string `min:"1" type:"string"` |
| 2311 |
|
| 2312 |
// The output data configuration that was supplied when the export job was created. |
| 2313 |
// |
| 2314 |
// OutputDataConfig is a required field |
| 2315 |
OutputDataConfig *OutputDataConfig `type:"structure" required:"true"` |
| 2316 |
|
| 2317 |
// The time an export job was initiated. |
| 2318 |
// |
| 2319 |
// SubmitTime is a required field |
| 2320 |
SubmitTime *time.Time `type:"timestamp" required:"true"` |
| 2321 |
} |
| 2322 |
|
| 2323 |
// String returns the string representation. |
| 2324 |
// |
| 2325 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 2326 |
// be included in the string output. The member name will be present, but the |
| 2327 |
// value will be replaced with "sensitive". |
| 2328 |
func (s ExportJobProperties) String() string { |
| 2329 |
return awsutil.Prettify(s) |
| 2330 |
} |
| 2331 |
|
| 2332 |
// GoString returns the string representation. |
| 2333 |
// |
| 2334 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 2335 |
// be included in the string output. The member name will be present, but the |
| 2336 |
// value will be replaced with "sensitive". |
| 2337 |
func (s ExportJobProperties) GoString() string { |
| 2338 |
return s.String() |
| 2339 |
} |
| 2340 |
|
| 2341 |
// SetDataAccessRoleArn sets the DataAccessRoleArn field's value. |
| 2342 |
func (s *ExportJobProperties) SetDataAccessRoleArn(v string) *ExportJobProperties { |
| 2343 |
s.DataAccessRoleArn = &v |
| 2344 |
return s |
| 2345 |
} |
| 2346 |
|
| 2347 |
// SetDatastoreId sets the DatastoreId field's value. |
| 2348 |
func (s *ExportJobProperties) SetDatastoreId(v string) *ExportJobProperties { |
| 2349 |
s.DatastoreId = &v |
| 2350 |
return s |
| 2351 |
} |
| 2352 |
|
| 2353 |
// SetEndTime sets the EndTime field's value. |
| 2354 |
func (s *ExportJobProperties) SetEndTime(v time.Time) *ExportJobProperties { |
| 2355 |
s.EndTime = &v |
| 2356 |
return s |
| 2357 |
} |
| 2358 |
|
| 2359 |
// SetJobId sets the JobId field's value. |
| 2360 |
func (s *ExportJobProperties) SetJobId(v string) *ExportJobProperties { |
| 2361 |
s.JobId = &v |
| 2362 |
return s |
| 2363 |
} |
| 2364 |
|
| 2365 |
// SetJobName sets the JobName field's value. |
| 2366 |
func (s *ExportJobProperties) SetJobName(v string) *ExportJobProperties { |
| 2367 |
s.JobName = &v |
| 2368 |
return s |
| 2369 |
} |
| 2370 |
|
| 2371 |
// SetJobStatus sets the JobStatus field's value. |
| 2372 |
func (s *ExportJobProperties) SetJobStatus(v string) *ExportJobProperties { |
| 2373 |
s.JobStatus = &v |
| 2374 |
return s |
| 2375 |
} |
| 2376 |
|
| 2377 |
// SetMessage sets the Message field's value. |
| 2378 |
func (s *ExportJobProperties) SetMessage(v string) *ExportJobProperties { |
| 2379 |
s.Message = &v |
| 2380 |
return s |
| 2381 |
} |
| 2382 |
|
| 2383 |
// SetOutputDataConfig sets the OutputDataConfig field's value. |
| 2384 |
func (s *ExportJobProperties) SetOutputDataConfig(v *OutputDataConfig) *ExportJobProperties { |
| 2385 |
s.OutputDataConfig = v |
| 2386 |
return s |
| 2387 |
} |
| 2388 |
|
| 2389 |
// SetSubmitTime sets the SubmitTime field's value. |
| 2390 |
func (s *ExportJobProperties) SetSubmitTime(v time.Time) *ExportJobProperties { |
| 2391 |
s.SubmitTime = &v |
| 2392 |
return s |
| 2393 |
} |
| 2394 |
|
| 2395 |
// The identity provider configuration that you gave when the data store was |
| 2396 |
// created. |
| 2397 |
type IdentityProviderConfiguration struct { |
| 2398 |
_ struct{} `type:"structure"` |
| 2399 |
|
| 2400 |
// The authorization strategy that you selected when you created the data store. |
| 2401 |
// |
| 2402 |
// AuthorizationStrategy is a required field |
| 2403 |
AuthorizationStrategy *string `type:"string" required:"true" enum:"AuthorizationStrategy"` |
| 2404 |
|
| 2405 |
// If you enabled fine-grained authorization when you created the data store. |
| 2406 |
FineGrainedAuthorizationEnabled *bool `type:"boolean"` |
| 2407 |
|
| 2408 |
// The Amazon Resource Name (ARN) of the Lambda function that you want to use |
| 2409 |
// to decode the access token created by the authorization server. |
| 2410 |
IdpLambdaArn *string `min:"49" type:"string"` |
| 2411 |
|
| 2412 |
// The JSON metadata elements that you want to use in your identity provider |
| 2413 |
// configuration. Required elements are listed based on the launch specification |
| 2414 |
// of the SMART application. For more information on all possible elements, |
| 2415 |
// see Metadata (https://build.fhir.org/ig/HL7/smart-app-launch/conformance.html#metadata) |
| 2416 |
// in SMART's App Launch specification. |
| 2417 |
// |
| 2418 |
// authorization_endpoint: The URL to the OAuth2 authorization endpoint. |
| 2419 |
// |
| 2420 |
// grant_types_supported: An array of grant types that are supported at the |
| 2421 |
// token endpoint. You must provide at least one grant type option. Valid options |
| 2422 |
// are authorization_code and client_credentials. |
| 2423 |
// |
| 2424 |
// token_endpoint: The URL to the OAuth2 token endpoint. |
| 2425 |
// |
| 2426 |
// capabilities: An array of strings of the SMART capabilities that the authorization |
| 2427 |
// server supports. |
| 2428 |
// |
| 2429 |
// code_challenge_methods_supported: An array of strings of supported PKCE code |
| 2430 |
// challenge methods. You must include the S256 method in the array of PKCE |
| 2431 |
// code challenge methods. |
| 2432 |
Metadata *string `type:"string"` |
| 2433 |
} |
| 2434 |
|
| 2435 |
// String returns the string representation. |
| 2436 |
// |
| 2437 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 2438 |
// be included in the string output. The member name will be present, but the |
| 2439 |
// value will be replaced with "sensitive". |
| 2440 |
func (s IdentityProviderConfiguration) String() string { |
| 2441 |
return awsutil.Prettify(s) |
| 2442 |
} |
| 2443 |
|
| 2444 |
// GoString returns the string representation. |
| 2445 |
// |
| 2446 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 2447 |
// be included in the string output. The member name will be present, but the |
| 2448 |
// value will be replaced with "sensitive". |
| 2449 |
func (s IdentityProviderConfiguration) GoString() string { |
| 2450 |
return s.String() |
| 2451 |
} |
| 2452 |
|
| 2453 |
// Validate inspects the fields of the type to determine if they are valid. |
| 2454 |
func (s *IdentityProviderConfiguration) Validate() error { |
| 2455 |
invalidParams := request.ErrInvalidParams{Context: "IdentityProviderConfiguration"} |
| 2456 |
if s.AuthorizationStrategy == nil { |
| 2457 |
invalidParams.Add(request.NewErrParamRequired("AuthorizationStrategy")) |
| 2458 |
} |
| 2459 |
if s.IdpLambdaArn != nil && len(*s.IdpLambdaArn) < 49 { |
| 2460 |
invalidParams.Add(request.NewErrParamMinLen("IdpLambdaArn", 49)) |
| 2461 |
} |
| 2462 |
|
| 2463 |
if invalidParams.Len() > 0 { |
| 2464 |
return invalidParams |
| 2465 |
} |
| 2466 |
return nil |
| 2467 |
} |
| 2468 |
|
| 2469 |
// SetAuthorizationStrategy sets the AuthorizationStrategy field's value. |
| 2470 |
func (s *IdentityProviderConfiguration) SetAuthorizationStrategy(v string) *IdentityProviderConfiguration { |
| 2471 |
s.AuthorizationStrategy = &v |
| 2472 |
return s |
| 2473 |
} |
| 2474 |
|
| 2475 |
// SetFineGrainedAuthorizationEnabled sets the FineGrainedAuthorizationEnabled field's value. |
| 2476 |
func (s *IdentityProviderConfiguration) SetFineGrainedAuthorizationEnabled(v bool) *IdentityProviderConfiguration { |
| 2477 |
s.FineGrainedAuthorizationEnabled = &v |
| 2478 |
return s |
| 2479 |
} |
| 2480 |
|
| 2481 |
// SetIdpLambdaArn sets the IdpLambdaArn field's value. |
| 2482 |
func (s *IdentityProviderConfiguration) SetIdpLambdaArn(v string) *IdentityProviderConfiguration { |
| 2483 |
s.IdpLambdaArn = &v |
| 2484 |
return s |
| 2485 |
} |
| 2486 |
|
| 2487 |
// SetMetadata sets the Metadata field's value. |
| 2488 |
func (s *IdentityProviderConfiguration) SetMetadata(v string) *IdentityProviderConfiguration { |
| 2489 |
s.Metadata = &v |
| 2490 |
return s |
| 2491 |
} |
| 2492 |
|
| 2493 |
// Displays the properties of the import job, including the ID, Arn, Name, and |
| 2494 |
// the status of the data store. |
| 2495 |
type ImportJobProperties struct { |
| 2496 |
_ struct{} `type:"structure"` |
| 2497 |
|
| 2498 |
// The Amazon Resource Name (ARN) that gives AWS HealthLake access to your input |
| 2499 |
// data. |
| 2500 |
DataAccessRoleArn *string `min:"20" type:"string"` |
| 2501 |
|
| 2502 |
// The datastore id used when the Import job was created. |
| 2503 |
// |
| 2504 |
// DatastoreId is a required field |
| 2505 |
DatastoreId *string `min:"1" type:"string" required:"true"` |
| 2506 |
|
| 2507 |
// The time that the Import job was completed. |
| 2508 |
EndTime *time.Time `type:"timestamp"` |
| 2509 |
|
| 2510 |
// The input data configuration that was supplied when the Import job was created. |
| 2511 |
// |
| 2512 |
// InputDataConfig is a required field |
| 2513 |
InputDataConfig *InputDataConfig `type:"structure" required:"true"` |
| 2514 |
|
| 2515 |
// The AWS-generated id number for the Import job. |
| 2516 |
// |
| 2517 |
// JobId is a required field |
| 2518 |
JobId *string `min:"1" type:"string" required:"true"` |
| 2519 |
|
| 2520 |
// The user-generated name for an Import job. |
| 2521 |
JobName *string `min:"1" type:"string"` |
| 2522 |
|
| 2523 |
// The output data configuration that was supplied when the export job was created. |
| 2524 |
JobOutputDataConfig *OutputDataConfig `type:"structure"` |
| 2525 |
|
| 2526 |
// The job status for an Import job. Possible statuses are SUBMITTED, IN_PROGRESS, |
| 2527 |
// COMPLETED_WITH_ERRORS, COMPLETED, FAILED. |
| 2528 |
// |
| 2529 |
// JobStatus is a required field |
| 2530 |
JobStatus *string `type:"string" required:"true" enum:"JobStatus"` |
| 2531 |
|
| 2532 |
// An explanation of any errors that may have occurred during the FHIR import |
| 2533 |
// job. |
| 2534 |
Message *string `min:"1" type:"string"` |
| 2535 |
|
| 2536 |
// The time that the Import job was submitted for processing. |
| 2537 |
// |
| 2538 |
// SubmitTime is a required field |
| 2539 |
SubmitTime *time.Time `type:"timestamp" required:"true"` |
| 2540 |
} |
| 2541 |
|
| 2542 |
// String returns the string representation. |
| 2543 |
// |
| 2544 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 2545 |
// be included in the string output. The member name will be present, but the |
| 2546 |
// value will be replaced with "sensitive". |
| 2547 |
func (s ImportJobProperties) String() string { |
| 2548 |
return awsutil.Prettify(s) |
| 2549 |
} |
| 2550 |
|
| 2551 |
// GoString returns the string representation. |
| 2552 |
// |
| 2553 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 2554 |
// be included in the string output. The member name will be present, but the |
| 2555 |
// value will be replaced with "sensitive". |
| 2556 |
func (s ImportJobProperties) GoString() string { |
| 2557 |
return s.String() |
| 2558 |
} |
| 2559 |
|
| 2560 |
// SetDataAccessRoleArn sets the DataAccessRoleArn field's value. |
| 2561 |
func (s *ImportJobProperties) SetDataAccessRoleArn(v string) *ImportJobProperties { |
| 2562 |
s.DataAccessRoleArn = &v |
| 2563 |
return s |
| 2564 |
} |
| 2565 |
|
| 2566 |
// SetDatastoreId sets the DatastoreId field's value. |
| 2567 |
func (s *ImportJobProperties) SetDatastoreId(v string) *ImportJobProperties { |
| 2568 |
s.DatastoreId = &v |
| 2569 |
return s |
| 2570 |
} |
| 2571 |
|
| 2572 |
// SetEndTime sets the EndTime field's value. |
| 2573 |
func (s *ImportJobProperties) SetEndTime(v time.Time) *ImportJobProperties { |
| 2574 |
s.EndTime = &v |
| 2575 |
return s |
| 2576 |
} |
| 2577 |
|
| 2578 |
// SetInputDataConfig sets the InputDataConfig field's value. |
| 2579 |
func (s *ImportJobProperties) SetInputDataConfig(v *InputDataConfig) *ImportJobProperties { |
| 2580 |
s.InputDataConfig = v |
| 2581 |
return s |
| 2582 |
} |
| 2583 |
|
| 2584 |
// SetJobId sets the JobId field's value. |
| 2585 |
func (s *ImportJobProperties) SetJobId(v string) *ImportJobProperties { |
| 2586 |
s.JobId = &v |
| 2587 |
return s |
| 2588 |
} |
| 2589 |
|
| 2590 |
// SetJobName sets the JobName field's value. |
| 2591 |
func (s *ImportJobProperties) SetJobName(v string) *ImportJobProperties { |
| 2592 |
s.JobName = &v |
| 2593 |
return s |
| 2594 |
} |
| 2595 |
|
| 2596 |
// SetJobOutputDataConfig sets the JobOutputDataConfig field's value. |
| 2597 |
func (s *ImportJobProperties) SetJobOutputDataConfig(v *OutputDataConfig) *ImportJobProperties { |
| 2598 |
s.JobOutputDataConfig = v |
| 2599 |
return s |
| 2600 |
} |
| 2601 |
|
| 2602 |
// SetJobStatus sets the JobStatus field's value. |
| 2603 |
func (s *ImportJobProperties) SetJobStatus(v string) *ImportJobProperties { |
| 2604 |
s.JobStatus = &v |
| 2605 |
return s |
| 2606 |
} |
| 2607 |
|
| 2608 |
// SetMessage sets the Message field's value. |
| 2609 |
func (s *ImportJobProperties) SetMessage(v string) *ImportJobProperties { |
| 2610 |
s.Message = &v |
| 2611 |
return s |
| 2612 |
} |
| 2613 |
|
| 2614 |
// SetSubmitTime sets the SubmitTime field's value. |
| 2615 |
func (s *ImportJobProperties) SetSubmitTime(v time.Time) *ImportJobProperties { |
| 2616 |
s.SubmitTime = &v |
| 2617 |
return s |
| 2618 |
} |
| 2619 |
|
| 2620 |
// The input properties for an import job. |
| 2621 |
type InputDataConfig struct { |
| 2622 |
_ struct{} `type:"structure"` |
| 2623 |
|
| 2624 |
// The S3Uri is the user specified S3 location of the FHIR data to be imported |
| 2625 |
// into AWS HealthLake. |
| 2626 |
S3Uri *string `type:"string"` |
| 2627 |
} |
| 2628 |
|
| 2629 |
// String returns the string representation. |
| 2630 |
// |
| 2631 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 2632 |
// be included in the string output. The member name will be present, but the |
| 2633 |
// value will be replaced with "sensitive". |
| 2634 |
func (s InputDataConfig) String() string { |
| 2635 |
return awsutil.Prettify(s) |
| 2636 |
} |
| 2637 |
|
| 2638 |
// GoString returns the string representation. |
| 2639 |
// |
| 2640 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 2641 |
// be included in the string output. The member name will be present, but the |
| 2642 |
// value will be replaced with "sensitive". |
| 2643 |
func (s InputDataConfig) GoString() string { |
| 2644 |
return s.String() |
| 2645 |
} |
| 2646 |
|
| 2647 |
// SetS3Uri sets the S3Uri field's value. |
| 2648 |
func (s *InputDataConfig) SetS3Uri(v string) *InputDataConfig { |
| 2649 |
s.S3Uri = &v |
| 2650 |
return s |
| 2651 |
} |
| 2652 |
|
| 2653 |
// Unknown error occurs in the service. |
| 2654 |
type InternalServerException struct { |
| 2655 |
_ struct{} `type:"structure"` |
| 2656 |
RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` |
| 2657 |
|
| 2658 |
Message_ *string `locationName:"Message" type:"string"` |
| 2659 |
} |
| 2660 |
|
| 2661 |
// String returns the string representation. |
| 2662 |
// |
| 2663 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 2664 |
// be included in the string output. The member name will be present, but the |
| 2665 |
// value will be replaced with "sensitive". |
| 2666 |
func (s InternalServerException) String() string { |
| 2667 |
return awsutil.Prettify(s) |
| 2668 |
} |
| 2669 |
|
| 2670 |
// GoString returns the string representation. |
| 2671 |
// |
| 2672 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 2673 |
// be included in the string output. The member name will be present, but the |
| 2674 |
// value will be replaced with "sensitive". |
| 2675 |
func (s InternalServerException) GoString() string { |
| 2676 |
return s.String() |
| 2677 |
} |
| 2678 |
|
| 2679 |
func newErrorInternalServerException(v protocol.ResponseMetadata) error { |
| 2680 |
return &InternalServerException{ |
| 2681 |
RespMetadata: v, |
| 2682 |
} |
| 2683 |
} |
| 2684 |
|
| 2685 |
// Code returns the exception type name. |
| 2686 |
func (s *InternalServerException) Code() string { |
| 2687 |
return "InternalServerException" |
| 2688 |
} |
| 2689 |
|
| 2690 |
// Message returns the exception's message. |
| 2691 |
func (s *InternalServerException) Message() string { |
| 2692 |
if s.Message_ != nil { |
| 2693 |
return *s.Message_ |
| 2694 |
} |
| 2695 |
return "" |
| 2696 |
} |
| 2697 |
|
| 2698 |
// OrigErr always returns nil, satisfies awserr.Error interface. |
| 2699 |
func (s *InternalServerException) OrigErr() error { |
| 2700 |
return nil |
| 2701 |
} |
| 2702 |
|
| 2703 |
func (s *InternalServerException) Error() string { |
| 2704 |
return fmt.Sprintf("%s: %s", s.Code(), s.Message()) |
| 2705 |
} |
| 2706 |
|
| 2707 |
// Status code returns the HTTP status code for the request's response error. |
| 2708 |
func (s *InternalServerException) StatusCode() int { |
| 2709 |
return s.RespMetadata.StatusCode |
| 2710 |
} |
| 2711 |
|
| 2712 |
// RequestID returns the service's response RequestID for request. |
| 2713 |
func (s *InternalServerException) RequestID() string { |
| 2714 |
return s.RespMetadata.RequestID |
| 2715 |
} |
| 2716 |
|
| 2717 |
// The customer-managed-key(CMK) used when creating a data store. If a customer |
| 2718 |
// owned key is not specified, an AWS owned key will be used for encryption. |
| 2719 |
type KmsEncryptionConfig struct { |
| 2720 |
_ struct{} `type:"structure"` |
| 2721 |
|
| 2722 |
// The type of customer-managed-key(CMK) used for encryption. The two types |
| 2723 |
// of supported CMKs are customer owned CMKs and AWS owned CMKs. |
| 2724 |
// |
| 2725 |
// CmkType is a required field |
| 2726 |
CmkType *string `type:"string" required:"true" enum:"CmkType"` |
| 2727 |
|
| 2728 |
// The KMS encryption key id/alias used to encrypt the data store contents at |
| 2729 |
// rest. |
| 2730 |
KmsKeyId *string `min:"1" type:"string"` |
| 2731 |
} |
| 2732 |
|
| 2733 |
// String returns the string representation. |
| 2734 |
// |
| 2735 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 2736 |
// be included in the string output. The member name will be present, but the |
| 2737 |
// value will be replaced with "sensitive". |
| 2738 |
func (s KmsEncryptionConfig) String() string { |
| 2739 |
return awsutil.Prettify(s) |
| 2740 |
} |
| 2741 |
|
| 2742 |
// GoString returns the string representation. |
| 2743 |
// |
| 2744 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 2745 |
// be included in the string output. The member name will be present, but the |
| 2746 |
// value will be replaced with "sensitive". |
| 2747 |
func (s KmsEncryptionConfig) GoString() string { |
| 2748 |
return s.String() |
| 2749 |
} |
| 2750 |
|
| 2751 |
// Validate inspects the fields of the type to determine if they are valid. |
| 2752 |
func (s *KmsEncryptionConfig) Validate() error { |
| 2753 |
invalidParams := request.ErrInvalidParams{Context: "KmsEncryptionConfig"} |
| 2754 |
if s.CmkType == nil { |
| 2755 |
invalidParams.Add(request.NewErrParamRequired("CmkType")) |
| 2756 |
} |
| 2757 |
if s.KmsKeyId != nil && len(*s.KmsKeyId) < 1 { |
| 2758 |
invalidParams.Add(request.NewErrParamMinLen("KmsKeyId", 1)) |
| 2759 |
} |
| 2760 |
|
| 2761 |
if invalidParams.Len() > 0 { |
| 2762 |
return invalidParams |
| 2763 |
} |
| 2764 |
return nil |
| 2765 |
} |
| 2766 |
|
| 2767 |
// SetCmkType sets the CmkType field's value. |
| 2768 |
func (s *KmsEncryptionConfig) SetCmkType(v string) *KmsEncryptionConfig { |
| 2769 |
s.CmkType = &v |
| 2770 |
return s |
| 2771 |
} |
| 2772 |
|
| 2773 |
// SetKmsKeyId sets the KmsKeyId field's value. |
| 2774 |
func (s *KmsEncryptionConfig) SetKmsKeyId(v string) *KmsEncryptionConfig { |
| 2775 |
s.KmsKeyId = &v |
| 2776 |
return s |
| 2777 |
} |
| 2778 |
|
| 2779 |
type ListFHIRDatastoresInput struct { |
| 2780 |
_ struct{} `type:"structure"` |
| 2781 |
|
| 2782 |
// Lists all filters associated with a FHIR data store request. |
| 2783 |
Filter *DatastoreFilter `type:"structure"` |
| 2784 |
|
| 2785 |
// The maximum number of data stores returned in a single page of a ListFHIRDatastoresRequest |
| 2786 |
// call. |
| 2787 |
MaxResults *int64 `min:"1" type:"integer"` |
| 2788 |
|
| 2789 |
// Fetches the next page of data stores when results are paginated. |
| 2790 |
NextToken *string `type:"string"` |
| 2791 |
} |
| 2792 |
|
| 2793 |
// String returns the string representation. |
| 2794 |
// |
| 2795 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 2796 |
// be included in the string output. The member name will be present, but the |
| 2797 |
// value will be replaced with "sensitive". |
| 2798 |
func (s ListFHIRDatastoresInput) String() string { |
| 2799 |
return awsutil.Prettify(s) |
| 2800 |
} |
| 2801 |
|
| 2802 |
// GoString returns the string representation. |
| 2803 |
// |
| 2804 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 2805 |
// be included in the string output. The member name will be present, but the |
| 2806 |
// value will be replaced with "sensitive". |
| 2807 |
func (s ListFHIRDatastoresInput) GoString() string { |
| 2808 |
return s.String() |
| 2809 |
} |
| 2810 |
|
| 2811 |
// Validate inspects the fields of the type to determine if they are valid. |
| 2812 |
func (s *ListFHIRDatastoresInput) Validate() error { |
| 2813 |
invalidParams := request.ErrInvalidParams{Context: "ListFHIRDatastoresInput"} |
| 2814 |
if s.MaxResults != nil && *s.MaxResults < 1 { |
| 2815 |
invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) |
| 2816 |
} |
| 2817 |
if s.Filter != nil { |
| 2818 |
if err := s.Filter.Validate(); err != nil { |
| 2819 |
invalidParams.AddNested("Filter", err.(request.ErrInvalidParams)) |
| 2820 |
} |
| 2821 |
} |
| 2822 |
|
| 2823 |
if invalidParams.Len() > 0 { |
| 2824 |
return invalidParams |
| 2825 |
} |
| 2826 |
return nil |
| 2827 |
} |
| 2828 |
|
| 2829 |
// SetFilter sets the Filter field's value. |
| 2830 |
func (s *ListFHIRDatastoresInput) SetFilter(v *DatastoreFilter) *ListFHIRDatastoresInput { |
| 2831 |
s.Filter = v |
| 2832 |
return s |
| 2833 |
} |
| 2834 |
|
| 2835 |
// SetMaxResults sets the MaxResults field's value. |
| 2836 |
func (s *ListFHIRDatastoresInput) SetMaxResults(v int64) *ListFHIRDatastoresInput { |
| 2837 |
s.MaxResults = &v |
| 2838 |
return s |
| 2839 |
} |
| 2840 |
|
| 2841 |
// SetNextToken sets the NextToken field's value. |
| 2842 |
func (s *ListFHIRDatastoresInput) SetNextToken(v string) *ListFHIRDatastoresInput { |
| 2843 |
s.NextToken = &v |
| 2844 |
return s |
| 2845 |
} |
| 2846 |
|
| 2847 |
type ListFHIRDatastoresOutput struct { |
| 2848 |
_ struct{} `type:"structure"` |
| 2849 |
|
| 2850 |
// All properties associated with the listed data stores. |
| 2851 |
// |
| 2852 |
// DatastorePropertiesList is a required field |
| 2853 |
DatastorePropertiesList []*DatastoreProperties `type:"list" required:"true"` |
| 2854 |
|
| 2855 |
// Pagination token that can be used to retrieve the next page of results. |
| 2856 |
NextToken *string `type:"string"` |
| 2857 |
} |
| 2858 |
|
| 2859 |
// String returns the string representation. |
| 2860 |
// |
| 2861 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 2862 |
// be included in the string output. The member name will be present, but the |
| 2863 |
// value will be replaced with "sensitive". |
| 2864 |
func (s ListFHIRDatastoresOutput) String() string { |
| 2865 |
return awsutil.Prettify(s) |
| 2866 |
} |
| 2867 |
|
| 2868 |
// GoString returns the string representation. |
| 2869 |
// |
| 2870 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 2871 |
// be included in the string output. The member name will be present, but the |
| 2872 |
// value will be replaced with "sensitive". |
| 2873 |
func (s ListFHIRDatastoresOutput) GoString() string { |
| 2874 |
return s.String() |
| 2875 |
} |
| 2876 |
|
| 2877 |
// SetDatastorePropertiesList sets the DatastorePropertiesList field's value. |
| 2878 |
func (s *ListFHIRDatastoresOutput) SetDatastorePropertiesList(v []*DatastoreProperties) *ListFHIRDatastoresOutput { |
| 2879 |
s.DatastorePropertiesList = v |
| 2880 |
return s |
| 2881 |
} |
| 2882 |
|
| 2883 |
// SetNextToken sets the NextToken field's value. |
| 2884 |
func (s *ListFHIRDatastoresOutput) SetNextToken(v string) *ListFHIRDatastoresOutput { |
| 2885 |
s.NextToken = &v |
| 2886 |
return s |
| 2887 |
} |
| 2888 |
|
| 2889 |
type ListFHIRExportJobsInput struct { |
| 2890 |
_ struct{} `type:"structure"` |
| 2891 |
|
| 2892 |
// This parameter limits the response to the export job with the specified data |
| 2893 |
// store ID. |
| 2894 |
// |
| 2895 |
// DatastoreId is a required field |
| 2896 |
DatastoreId *string `min:"1" type:"string" required:"true"` |
| 2897 |
|
| 2898 |
// This parameter limits the response to the export job with the specified job |
| 2899 |
// name. |
| 2900 |
JobName *string `min:"1" type:"string"` |
| 2901 |
|
| 2902 |
// This parameter limits the response to the export jobs with the specified |
| 2903 |
// job status. |
| 2904 |
JobStatus *string `type:"string" enum:"JobStatus"` |
| 2905 |
|
| 2906 |
// This parameter limits the number of results returned for a ListFHIRExportJobs |
| 2907 |
// to a maximum quantity specified by the user. |
| 2908 |
MaxResults *int64 `min:"1" type:"integer"` |
| 2909 |
|
| 2910 |
// A pagination token used to identify the next page of results to return for |
| 2911 |
// a ListFHIRExportJobs query. |
| 2912 |
NextToken *string `type:"string"` |
| 2913 |
|
| 2914 |
// This parameter limits the response to FHIR export jobs submitted after a |
| 2915 |
// user specified date. |
| 2916 |
SubmittedAfter *time.Time `type:"timestamp"` |
| 2917 |
|
| 2918 |
// This parameter limits the response to FHIR export jobs submitted before a |
| 2919 |
// user specified date. |
| 2920 |
SubmittedBefore *time.Time `type:"timestamp"` |
| 2921 |
} |
| 2922 |
|
| 2923 |
// String returns the string representation. |
| 2924 |
// |
| 2925 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 2926 |
// be included in the string output. The member name will be present, but the |
| 2927 |
// value will be replaced with "sensitive". |
| 2928 |
func (s ListFHIRExportJobsInput) String() string { |
| 2929 |
return awsutil.Prettify(s) |
| 2930 |
} |
| 2931 |
|
| 2932 |
// GoString returns the string representation. |
| 2933 |
// |
| 2934 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 2935 |
// be included in the string output. The member name will be present, but the |
| 2936 |
// value will be replaced with "sensitive". |
| 2937 |
func (s ListFHIRExportJobsInput) GoString() string { |
| 2938 |
return s.String() |
| 2939 |
} |
| 2940 |
|
| 2941 |
// Validate inspects the fields of the type to determine if they are valid. |
| 2942 |
func (s *ListFHIRExportJobsInput) Validate() error { |
| 2943 |
invalidParams := request.ErrInvalidParams{Context: "ListFHIRExportJobsInput"} |
| 2944 |
if s.DatastoreId == nil { |
| 2945 |
invalidParams.Add(request.NewErrParamRequired("DatastoreId")) |
| 2946 |
} |
| 2947 |
if s.DatastoreId != nil && len(*s.DatastoreId) < 1 { |
| 2948 |
invalidParams.Add(request.NewErrParamMinLen("DatastoreId", 1)) |
| 2949 |
} |
| 2950 |
if s.JobName != nil && len(*s.JobName) < 1 { |
| 2951 |
invalidParams.Add(request.NewErrParamMinLen("JobName", 1)) |
| 2952 |
} |
| 2953 |
if s.MaxResults != nil && *s.MaxResults < 1 { |
| 2954 |
invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) |
| 2955 |
} |
| 2956 |
|
| 2957 |
if invalidParams.Len() > 0 { |
| 2958 |
return invalidParams |
| 2959 |
} |
| 2960 |
return nil |
| 2961 |
} |
| 2962 |
|
| 2963 |
// SetDatastoreId sets the DatastoreId field's value. |
| 2964 |
func (s *ListFHIRExportJobsInput) SetDatastoreId(v string) *ListFHIRExportJobsInput { |
| 2965 |
s.DatastoreId = &v |
| 2966 |
return s |
| 2967 |
} |
| 2968 |
|
| 2969 |
// SetJobName sets the JobName field's value. |
| 2970 |
func (s *ListFHIRExportJobsInput) SetJobName(v string) *ListFHIRExportJobsInput { |
| 2971 |
s.JobName = &v |
| 2972 |
return s |
| 2973 |
} |
| 2974 |
|
| 2975 |
// SetJobStatus sets the JobStatus field's value. |
| 2976 |
func (s *ListFHIRExportJobsInput) SetJobStatus(v string) *ListFHIRExportJobsInput { |
| 2977 |
s.JobStatus = &v |
| 2978 |
return s |
| 2979 |
} |
| 2980 |
|
| 2981 |
// SetMaxResults sets the MaxResults field's value. |
| 2982 |
func (s *ListFHIRExportJobsInput) SetMaxResults(v int64) *ListFHIRExportJobsInput { |
| 2983 |
s.MaxResults = &v |
| 2984 |
return s |
| 2985 |
} |
| 2986 |
|
| 2987 |
// SetNextToken sets the NextToken field's value. |
| 2988 |
func (s *ListFHIRExportJobsInput) SetNextToken(v string) *ListFHIRExportJobsInput { |
| 2989 |
s.NextToken = &v |
| 2990 |
return s |
| 2991 |
} |
| 2992 |
|
| 2993 |
// SetSubmittedAfter sets the SubmittedAfter field's value. |
| 2994 |
func (s *ListFHIRExportJobsInput) SetSubmittedAfter(v time.Time) *ListFHIRExportJobsInput { |
| 2995 |
s.SubmittedAfter = &v |
| 2996 |
return s |
| 2997 |
} |
| 2998 |
|
| 2999 |
// SetSubmittedBefore sets the SubmittedBefore field's value. |
| 3000 |
func (s *ListFHIRExportJobsInput) SetSubmittedBefore(v time.Time) *ListFHIRExportJobsInput { |
| 3001 |
s.SubmittedBefore = &v |
| 3002 |
return s |
| 3003 |
} |
| 3004 |
|
| 3005 |
type ListFHIRExportJobsOutput struct { |
| 3006 |
_ struct{} `type:"structure"` |
| 3007 |
|
| 3008 |
// The properties of listed FHIR export jobs, including the ID, ARN, name, and |
| 3009 |
// the status of the job. |
| 3010 |
// |
| 3011 |
// ExportJobPropertiesList is a required field |
| 3012 |
ExportJobPropertiesList []*ExportJobProperties `type:"list" required:"true"` |
| 3013 |
|
| 3014 |
// A pagination token used to identify the next page of results to return for |
| 3015 |
// a ListFHIRExportJobs query. |
| 3016 |
NextToken *string `type:"string"` |
| 3017 |
} |
| 3018 |
|
| 3019 |
// String returns the string representation. |
| 3020 |
// |
| 3021 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 3022 |
// be included in the string output. The member name will be present, but the |
| 3023 |
// value will be replaced with "sensitive". |
| 3024 |
func (s ListFHIRExportJobsOutput) String() string { |
| 3025 |
return awsutil.Prettify(s) |
| 3026 |
} |
| 3027 |
|
| 3028 |
// GoString returns the string representation. |
| 3029 |
// |
| 3030 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 3031 |
// be included in the string output. The member name will be present, but the |
| 3032 |
// value will be replaced with "sensitive". |
| 3033 |
func (s ListFHIRExportJobsOutput) GoString() string { |
| 3034 |
return s.String() |
| 3035 |
} |
| 3036 |
|
| 3037 |
// SetExportJobPropertiesList sets the ExportJobPropertiesList field's value. |
| 3038 |
func (s *ListFHIRExportJobsOutput) SetExportJobPropertiesList(v []*ExportJobProperties) *ListFHIRExportJobsOutput { |
| 3039 |
s.ExportJobPropertiesList = v |
| 3040 |
return s |
| 3041 |
} |
| 3042 |
|
| 3043 |
// SetNextToken sets the NextToken field's value. |
| 3044 |
func (s *ListFHIRExportJobsOutput) SetNextToken(v string) *ListFHIRExportJobsOutput { |
| 3045 |
s.NextToken = &v |
| 3046 |
return s |
| 3047 |
} |
| 3048 |
|
| 3049 |
type ListFHIRImportJobsInput struct { |
| 3050 |
_ struct{} `type:"structure"` |
| 3051 |
|
| 3052 |
// This parameter limits the response to the import job with the specified data |
| 3053 |
// store ID. |
| 3054 |
// |
| 3055 |
// DatastoreId is a required field |
| 3056 |
DatastoreId *string `min:"1" type:"string" required:"true"` |
| 3057 |
|
| 3058 |
// This parameter limits the response to the import job with the specified job |
| 3059 |
// name. |
| 3060 |
JobName *string `min:"1" type:"string"` |
| 3061 |
|
| 3062 |
// This parameter limits the response to the import job with the specified job |
| 3063 |
// status. |
| 3064 |
JobStatus *string `type:"string" enum:"JobStatus"` |
| 3065 |
|
| 3066 |
// This parameter limits the number of results returned for a ListFHIRImportJobs |
| 3067 |
// to a maximum quantity specified by the user. |
| 3068 |
MaxResults *int64 `min:"1" type:"integer"` |
| 3069 |
|
| 3070 |
// A pagination token used to identify the next page of results to return for |
| 3071 |
// a ListFHIRImportJobs query. |
| 3072 |
NextToken *string `type:"string"` |
| 3073 |
|
| 3074 |
// This parameter limits the response to FHIR import jobs submitted after a |
| 3075 |
// user specified date. |
| 3076 |
SubmittedAfter *time.Time `type:"timestamp"` |
| 3077 |
|
| 3078 |
// This parameter limits the response to FHIR import jobs submitted before a |
| 3079 |
// user specified date. |
| 3080 |
SubmittedBefore *time.Time `type:"timestamp"` |
| 3081 |
} |
| 3082 |
|
| 3083 |
// String returns the string representation. |
| 3084 |
// |
| 3085 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 3086 |
// be included in the string output. The member name will be present, but the |
| 3087 |
// value will be replaced with "sensitive". |
| 3088 |
func (s ListFHIRImportJobsInput) String() string { |
| 3089 |
return awsutil.Prettify(s) |
| 3090 |
} |
| 3091 |
|
| 3092 |
// GoString returns the string representation. |
| 3093 |
// |
| 3094 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 3095 |
// be included in the string output. The member name will be present, but the |
| 3096 |
// value will be replaced with "sensitive". |
| 3097 |
func (s ListFHIRImportJobsInput) GoString() string { |
| 3098 |
return s.String() |
| 3099 |
} |
| 3100 |
|
| 3101 |
// Validate inspects the fields of the type to determine if they are valid. |
| 3102 |
func (s *ListFHIRImportJobsInput) Validate() error { |
| 3103 |
invalidParams := request.ErrInvalidParams{Context: "ListFHIRImportJobsInput"} |
| 3104 |
if s.DatastoreId == nil { |
| 3105 |
invalidParams.Add(request.NewErrParamRequired("DatastoreId")) |
| 3106 |
} |
| 3107 |
if s.DatastoreId != nil && len(*s.DatastoreId) < 1 { |
| 3108 |
invalidParams.Add(request.NewErrParamMinLen("DatastoreId", 1)) |
| 3109 |
} |
| 3110 |
if s.JobName != nil && len(*s.JobName) < 1 { |
| 3111 |
invalidParams.Add(request.NewErrParamMinLen("JobName", 1)) |
| 3112 |
} |
| 3113 |
if s.MaxResults != nil && *s.MaxResults < 1 { |
| 3114 |
invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) |
| 3115 |
} |
| 3116 |
|
| 3117 |
if invalidParams.Len() > 0 { |
| 3118 |
return invalidParams |
| 3119 |
} |
| 3120 |
return nil |
| 3121 |
} |
| 3122 |
|
| 3123 |
// SetDatastoreId sets the DatastoreId field's value. |
| 3124 |
func (s *ListFHIRImportJobsInput) SetDatastoreId(v string) *ListFHIRImportJobsInput { |
| 3125 |
s.DatastoreId = &v |
| 3126 |
return s |
| 3127 |
} |
| 3128 |
|
| 3129 |
// SetJobName sets the JobName field's value. |
| 3130 |
func (s *ListFHIRImportJobsInput) SetJobName(v string) *ListFHIRImportJobsInput { |
| 3131 |
s.JobName = &v |
| 3132 |
return s |
| 3133 |
} |
| 3134 |
|
| 3135 |
// SetJobStatus sets the JobStatus field's value. |
| 3136 |
func (s *ListFHIRImportJobsInput) SetJobStatus(v string) *ListFHIRImportJobsInput { |
| 3137 |
s.JobStatus = &v |
| 3138 |
return s |
| 3139 |
} |
| 3140 |
|
| 3141 |
// SetMaxResults sets the MaxResults field's value. |
| 3142 |
func (s *ListFHIRImportJobsInput) SetMaxResults(v int64) *ListFHIRImportJobsInput { |
| 3143 |
s.MaxResults = &v |
| 3144 |
return s |
| 3145 |
} |
| 3146 |
|
| 3147 |
// SetNextToken sets the NextToken field's value. |
| 3148 |
func (s *ListFHIRImportJobsInput) SetNextToken(v string) *ListFHIRImportJobsInput { |
| 3149 |
s.NextToken = &v |
| 3150 |
return s |
| 3151 |
} |
| 3152 |
|
| 3153 |
// SetSubmittedAfter sets the SubmittedAfter field's value. |
| 3154 |
func (s *ListFHIRImportJobsInput) SetSubmittedAfter(v time.Time) *ListFHIRImportJobsInput { |
| 3155 |
s.SubmittedAfter = &v |
| 3156 |
return s |
| 3157 |
} |
| 3158 |
|
| 3159 |
// SetSubmittedBefore sets the SubmittedBefore field's value. |
| 3160 |
func (s *ListFHIRImportJobsInput) SetSubmittedBefore(v time.Time) *ListFHIRImportJobsInput { |
| 3161 |
s.SubmittedBefore = &v |
| 3162 |
return s |
| 3163 |
} |
| 3164 |
|
| 3165 |
type ListFHIRImportJobsOutput struct { |
| 3166 |
_ struct{} `type:"structure"` |
| 3167 |
|
| 3168 |
// The properties of a listed FHIR import jobs, including the ID, ARN, name, |
| 3169 |
// and the status of the job. |
| 3170 |
// |
| 3171 |
// ImportJobPropertiesList is a required field |
| 3172 |
ImportJobPropertiesList []*ImportJobProperties `type:"list" required:"true"` |
| 3173 |
|
| 3174 |
// A pagination token used to identify the next page of results to return for |
| 3175 |
// a ListFHIRImportJobs query. |
| 3176 |
NextToken *string `type:"string"` |
| 3177 |
} |
| 3178 |
|
| 3179 |
// String returns the string representation. |
| 3180 |
// |
| 3181 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 3182 |
// be included in the string output. The member name will be present, but the |
| 3183 |
// value will be replaced with "sensitive". |
| 3184 |
func (s ListFHIRImportJobsOutput) String() string { |
| 3185 |
return awsutil.Prettify(s) |
| 3186 |
} |
| 3187 |
|
| 3188 |
// GoString returns the string representation. |
| 3189 |
// |
| 3190 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 3191 |
// be included in the string output. The member name will be present, but the |
| 3192 |
// value will be replaced with "sensitive". |
| 3193 |
func (s ListFHIRImportJobsOutput) GoString() string { |
| 3194 |
return s.String() |
| 3195 |
} |
| 3196 |
|
| 3197 |
// SetImportJobPropertiesList sets the ImportJobPropertiesList field's value. |
| 3198 |
func (s *ListFHIRImportJobsOutput) SetImportJobPropertiesList(v []*ImportJobProperties) *ListFHIRImportJobsOutput { |
| 3199 |
s.ImportJobPropertiesList = v |
| 3200 |
return s |
| 3201 |
} |
| 3202 |
|
| 3203 |
// SetNextToken sets the NextToken field's value. |
| 3204 |
func (s *ListFHIRImportJobsOutput) SetNextToken(v string) *ListFHIRImportJobsOutput { |
| 3205 |
s.NextToken = &v |
| 3206 |
return s |
| 3207 |
} |
| 3208 |
|
| 3209 |
type ListTagsForResourceInput struct { |
| 3210 |
_ struct{} `type:"structure"` |
| 3211 |
|
| 3212 |
// The Amazon Resource Name(ARN) of the data store for which tags are being |
| 3213 |
// added. |
| 3214 |
// |
| 3215 |
// ResourceARN is a required field |
| 3216 |
ResourceARN *string `min:"1" type:"string" required:"true"` |
| 3217 |
} |
| 3218 |
|
| 3219 |
// String returns the string representation. |
| 3220 |
// |
| 3221 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 3222 |
// be included in the string output. The member name will be present, but the |
| 3223 |
// value will be replaced with "sensitive". |
| 3224 |
func (s ListTagsForResourceInput) String() string { |
| 3225 |
return awsutil.Prettify(s) |
| 3226 |
} |
| 3227 |
|
| 3228 |
// GoString returns the string representation. |
| 3229 |
// |
| 3230 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 3231 |
// be included in the string output. The member name will be present, but the |
| 3232 |
// value will be replaced with "sensitive". |
| 3233 |
func (s ListTagsForResourceInput) GoString() string { |
| 3234 |
return s.String() |
| 3235 |
} |
| 3236 |
|
| 3237 |
// Validate inspects the fields of the type to determine if they are valid. |
| 3238 |
func (s *ListTagsForResourceInput) Validate() error { |
| 3239 |
invalidParams := request.ErrInvalidParams{Context: "ListTagsForResourceInput"} |
| 3240 |
if s.ResourceARN == nil { |
| 3241 |
invalidParams.Add(request.NewErrParamRequired("ResourceARN")) |
| 3242 |
} |
| 3243 |
if s.ResourceARN != nil && len(*s.ResourceARN) < 1 { |
| 3244 |
invalidParams.Add(request.NewErrParamMinLen("ResourceARN", 1)) |
| 3245 |
} |
| 3246 |
|
| 3247 |
if invalidParams.Len() > 0 { |
| 3248 |
return invalidParams |
| 3249 |
} |
| 3250 |
return nil |
| 3251 |
} |
| 3252 |
|
| 3253 |
// SetResourceARN sets the ResourceARN field's value. |
| 3254 |
func (s *ListTagsForResourceInput) SetResourceARN(v string) *ListTagsForResourceInput { |
| 3255 |
s.ResourceARN = &v |
| 3256 |
return s |
| 3257 |
} |
| 3258 |
|
| 3259 |
type ListTagsForResourceOutput struct { |
| 3260 |
_ struct{} `type:"structure"` |
| 3261 |
|
| 3262 |
// Returns a list of tags associated with a data store. |
| 3263 |
Tags []*Tag `type:"list"` |
| 3264 |
} |
| 3265 |
|
| 3266 |
// String returns the string representation. |
| 3267 |
// |
| 3268 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 3269 |
// be included in the string output. The member name will be present, but the |
| 3270 |
// value will be replaced with "sensitive". |
| 3271 |
func (s ListTagsForResourceOutput) String() string { |
| 3272 |
return awsutil.Prettify(s) |
| 3273 |
} |
| 3274 |
|
| 3275 |
// GoString returns the string representation. |
| 3276 |
// |
| 3277 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 3278 |
// be included in the string output. The member name will be present, but the |
| 3279 |
// value will be replaced with "sensitive". |
| 3280 |
func (s ListTagsForResourceOutput) GoString() string { |
| 3281 |
return s.String() |
| 3282 |
} |
| 3283 |
|
| 3284 |
// SetTags sets the Tags field's value. |
| 3285 |
func (s *ListTagsForResourceOutput) SetTags(v []*Tag) *ListTagsForResourceOutput { |
| 3286 |
s.Tags = v |
| 3287 |
return s |
| 3288 |
} |
| 3289 |
|
| 3290 |
// The output data configuration that was supplied when the export job was created. |
| 3291 |
type OutputDataConfig struct { |
| 3292 |
_ struct{} `type:"structure"` |
| 3293 |
|
| 3294 |
// The output data configuration that was supplied when the export job was created. |
| 3295 |
S3Configuration *S3Configuration `type:"structure"` |
| 3296 |
} |
| 3297 |
|
| 3298 |
// String returns the string representation. |
| 3299 |
// |
| 3300 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 3301 |
// be included in the string output. The member name will be present, but the |
| 3302 |
// value will be replaced with "sensitive". |
| 3303 |
func (s OutputDataConfig) String() string { |
| 3304 |
return awsutil.Prettify(s) |
| 3305 |
} |
| 3306 |
|
| 3307 |
// GoString returns the string representation. |
| 3308 |
// |
| 3309 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 3310 |
// be included in the string output. The member name will be present, but the |
| 3311 |
// value will be replaced with "sensitive". |
| 3312 |
func (s OutputDataConfig) GoString() string { |
| 3313 |
return s.String() |
| 3314 |
} |
| 3315 |
|
| 3316 |
// Validate inspects the fields of the type to determine if they are valid. |
| 3317 |
func (s *OutputDataConfig) Validate() error { |
| 3318 |
invalidParams := request.ErrInvalidParams{Context: "OutputDataConfig"} |
| 3319 |
if s.S3Configuration != nil { |
| 3320 |
if err := s.S3Configuration.Validate(); err != nil { |
| 3321 |
invalidParams.AddNested("S3Configuration", err.(request.ErrInvalidParams)) |
| 3322 |
} |
| 3323 |
} |
| 3324 |
|
| 3325 |
if invalidParams.Len() > 0 { |
| 3326 |
return invalidParams |
| 3327 |
} |
| 3328 |
return nil |
| 3329 |
} |
| 3330 |
|
| 3331 |
// SetS3Configuration sets the S3Configuration field's value. |
| 3332 |
func (s *OutputDataConfig) SetS3Configuration(v *S3Configuration) *OutputDataConfig { |
| 3333 |
s.S3Configuration = v |
| 3334 |
return s |
| 3335 |
} |
| 3336 |
|
| 3337 |
// The input properties for the preloaded data store. Only data preloaded from |
| 3338 |
// Synthea is supported. |
| 3339 |
type PreloadDataConfig struct { |
| 3340 |
_ struct{} `type:"structure"` |
| 3341 |
|
| 3342 |
// The type of preloaded data. Only Synthea preloaded data is supported. |
| 3343 |
// |
| 3344 |
// PreloadDataType is a required field |
| 3345 |
PreloadDataType *string `type:"string" required:"true" enum:"PreloadDataType"` |
| 3346 |
} |
| 3347 |
|
| 3348 |
// String returns the string representation. |
| 3349 |
// |
| 3350 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 3351 |
// be included in the string output. The member name will be present, but the |
| 3352 |
// value will be replaced with "sensitive". |
| 3353 |
func (s PreloadDataConfig) String() string { |
| 3354 |
return awsutil.Prettify(s) |
| 3355 |
} |
| 3356 |
|
| 3357 |
// GoString returns the string representation. |
| 3358 |
// |
| 3359 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 3360 |
// be included in the string output. The member name will be present, but the |
| 3361 |
// value will be replaced with "sensitive". |
| 3362 |
func (s PreloadDataConfig) GoString() string { |
| 3363 |
return s.String() |
| 3364 |
} |
| 3365 |
|
| 3366 |
// Validate inspects the fields of the type to determine if they are valid. |
| 3367 |
func (s *PreloadDataConfig) Validate() error { |
| 3368 |
invalidParams := request.ErrInvalidParams{Context: "PreloadDataConfig"} |
| 3369 |
if s.PreloadDataType == nil { |
| 3370 |
invalidParams.Add(request.NewErrParamRequired("PreloadDataType")) |
| 3371 |
} |
| 3372 |
|
| 3373 |
if invalidParams.Len() > 0 { |
| 3374 |
return invalidParams |
| 3375 |
} |
| 3376 |
return nil |
| 3377 |
} |
| 3378 |
|
| 3379 |
// SetPreloadDataType sets the PreloadDataType field's value. |
| 3380 |
func (s *PreloadDataConfig) SetPreloadDataType(v string) *PreloadDataConfig { |
| 3381 |
s.PreloadDataType = &v |
| 3382 |
return s |
| 3383 |
} |
| 3384 |
|
| 3385 |
// The requested data store was not found. |
| 3386 |
type ResourceNotFoundException struct { |
| 3387 |
_ struct{} `type:"structure"` |
| 3388 |
RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` |
| 3389 |
|
| 3390 |
Message_ *string `locationName:"Message" type:"string"` |
| 3391 |
} |
| 3392 |
|
| 3393 |
// String returns the string representation. |
| 3394 |
// |
| 3395 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 3396 |
// be included in the string output. The member name will be present, but the |
| 3397 |
// value will be replaced with "sensitive". |
| 3398 |
func (s ResourceNotFoundException) String() string { |
| 3399 |
return awsutil.Prettify(s) |
| 3400 |
} |
| 3401 |
|
| 3402 |
// GoString returns the string representation. |
| 3403 |
// |
| 3404 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 3405 |
// be included in the string output. The member name will be present, but the |
| 3406 |
// value will be replaced with "sensitive". |
| 3407 |
func (s ResourceNotFoundException) GoString() string { |
| 3408 |
return s.String() |
| 3409 |
} |
| 3410 |
|
| 3411 |
func newErrorResourceNotFoundException(v protocol.ResponseMetadata) error { |
| 3412 |
return &ResourceNotFoundException{ |
| 3413 |
RespMetadata: v, |
| 3414 |
} |
| 3415 |
} |
| 3416 |
|
| 3417 |
// Code returns the exception type name. |
| 3418 |
func (s *ResourceNotFoundException) Code() string { |
| 3419 |
return "ResourceNotFoundException" |
| 3420 |
} |
| 3421 |
|
| 3422 |
// Message returns the exception's message. |
| 3423 |
func (s *ResourceNotFoundException) Message() string { |
| 3424 |
if s.Message_ != nil { |
| 3425 |
return *s.Message_ |
| 3426 |
} |
| 3427 |
return "" |
| 3428 |
} |
| 3429 |
|
| 3430 |
// OrigErr always returns nil, satisfies awserr.Error interface. |
| 3431 |
func (s *ResourceNotFoundException) OrigErr() error { |
| 3432 |
return nil |
| 3433 |
} |
| 3434 |
|
| 3435 |
func (s *ResourceNotFoundException) Error() string { |
| 3436 |
return fmt.Sprintf("%s: %s", s.Code(), s.Message()) |
| 3437 |
} |
| 3438 |
|
| 3439 |
// Status code returns the HTTP status code for the request's response error. |
| 3440 |
func (s *ResourceNotFoundException) StatusCode() int { |
| 3441 |
return s.RespMetadata.StatusCode |
| 3442 |
} |
| 3443 |
|
| 3444 |
// RequestID returns the service's response RequestID for request. |
| 3445 |
func (s *ResourceNotFoundException) RequestID() string { |
| 3446 |
return s.RespMetadata.RequestID |
| 3447 |
} |
| 3448 |
|
| 3449 |
// The configuration of the S3 bucket for either an import or export job. This |
| 3450 |
// includes assigning permissions for access. |
| 3451 |
type S3Configuration struct { |
| 3452 |
_ struct{} `type:"structure"` |
| 3453 |
|
| 3454 |
// The KMS key ID used to access the S3 bucket. |
| 3455 |
// |
| 3456 |
// KmsKeyId is a required field |
| 3457 |
KmsKeyId *string `min:"1" type:"string" required:"true"` |
| 3458 |
|
| 3459 |
// The S3Uri is the user specified S3 location of the FHIR data to be imported |
| 3460 |
// into AWS HealthLake. |
| 3461 |
// |
| 3462 |
// S3Uri is a required field |
| 3463 |
S3Uri *string `type:"string" required:"true"` |
| 3464 |
} |
| 3465 |
|
| 3466 |
// String returns the string representation. |
| 3467 |
// |
| 3468 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 3469 |
// be included in the string output. The member name will be present, but the |
| 3470 |
// value will be replaced with "sensitive". |
| 3471 |
func (s S3Configuration) String() string { |
| 3472 |
return awsutil.Prettify(s) |
| 3473 |
} |
| 3474 |
|
| 3475 |
// GoString returns the string representation. |
| 3476 |
// |
| 3477 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 3478 |
// be included in the string output. The member name will be present, but the |
| 3479 |
// value will be replaced with "sensitive". |
| 3480 |
func (s S3Configuration) GoString() string { |
| 3481 |
return s.String() |
| 3482 |
} |
| 3483 |
|
| 3484 |
// Validate inspects the fields of the type to determine if they are valid. |
| 3485 |
func (s *S3Configuration) Validate() error { |
| 3486 |
invalidParams := request.ErrInvalidParams{Context: "S3Configuration"} |
| 3487 |
if s.KmsKeyId == nil { |
| 3488 |
invalidParams.Add(request.NewErrParamRequired("KmsKeyId")) |
| 3489 |
} |
| 3490 |
if s.KmsKeyId != nil && len(*s.KmsKeyId) < 1 { |
| 3491 |
invalidParams.Add(request.NewErrParamMinLen("KmsKeyId", 1)) |
| 3492 |
} |
| 3493 |
if s.S3Uri == nil { |
| 3494 |
invalidParams.Add(request.NewErrParamRequired("S3Uri")) |
| 3495 |
} |
| 3496 |
|
| 3497 |
if invalidParams.Len() > 0 { |
| 3498 |
return invalidParams |
| 3499 |
} |
| 3500 |
return nil |
| 3501 |
} |
| 3502 |
|
| 3503 |
// SetKmsKeyId sets the KmsKeyId field's value. |
| 3504 |
func (s *S3Configuration) SetKmsKeyId(v string) *S3Configuration { |
| 3505 |
s.KmsKeyId = &v |
| 3506 |
return s |
| 3507 |
} |
| 3508 |
|
| 3509 |
// SetS3Uri sets the S3Uri field's value. |
| 3510 |
func (s *S3Configuration) SetS3Uri(v string) *S3Configuration { |
| 3511 |
s.S3Uri = &v |
| 3512 |
return s |
| 3513 |
} |
| 3514 |
|
| 3515 |
// The server-side encryption key configuration for a customer provided encryption |
| 3516 |
// key. |
| 3517 |
type SseConfiguration struct { |
| 3518 |
_ struct{} `type:"structure"` |
| 3519 |
|
| 3520 |
// The KMS encryption configuration used to provide details for data encryption. |
| 3521 |
// |
| 3522 |
// KmsEncryptionConfig is a required field |
| 3523 |
KmsEncryptionConfig *KmsEncryptionConfig `type:"structure" required:"true"` |
| 3524 |
} |
| 3525 |
|
| 3526 |
// String returns the string representation. |
| 3527 |
// |
| 3528 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 3529 |
// be included in the string output. The member name will be present, but the |
| 3530 |
// value will be replaced with "sensitive". |
| 3531 |
func (s SseConfiguration) String() string { |
| 3532 |
return awsutil.Prettify(s) |
| 3533 |
} |
| 3534 |
|
| 3535 |
// GoString returns the string representation. |
| 3536 |
// |
| 3537 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 3538 |
// be included in the string output. The member name will be present, but the |
| 3539 |
// value will be replaced with "sensitive". |
| 3540 |
func (s SseConfiguration) GoString() string { |
| 3541 |
return s.String() |
| 3542 |
} |
| 3543 |
|
| 3544 |
// Validate inspects the fields of the type to determine if they are valid. |
| 3545 |
func (s *SseConfiguration) Validate() error { |
| 3546 |
invalidParams := request.ErrInvalidParams{Context: "SseConfiguration"} |
| 3547 |
if s.KmsEncryptionConfig == nil { |
| 3548 |
invalidParams.Add(request.NewErrParamRequired("KmsEncryptionConfig")) |
| 3549 |
} |
| 3550 |
if s.KmsEncryptionConfig != nil { |
| 3551 |
if err := s.KmsEncryptionConfig.Validate(); err != nil { |
| 3552 |
invalidParams.AddNested("KmsEncryptionConfig", err.(request.ErrInvalidParams)) |
| 3553 |
} |
| 3554 |
} |
| 3555 |
|
| 3556 |
if invalidParams.Len() > 0 { |
| 3557 |
return invalidParams |
| 3558 |
} |
| 3559 |
return nil |
| 3560 |
} |
| 3561 |
|
| 3562 |
// SetKmsEncryptionConfig sets the KmsEncryptionConfig field's value. |
| 3563 |
func (s *SseConfiguration) SetKmsEncryptionConfig(v *KmsEncryptionConfig) *SseConfiguration { |
| 3564 |
s.KmsEncryptionConfig = v |
| 3565 |
return s |
| 3566 |
} |
| 3567 |
|
| 3568 |
type StartFHIRExportJobInput struct { |
| 3569 |
_ struct{} `type:"structure"` |
| 3570 |
|
| 3571 |
// An optional user provided token used for ensuring idempotency. |
| 3572 |
ClientToken *string `min:"1" type:"string" idempotencyToken:"true"` |
| 3573 |
|
| 3574 |
// The Amazon Resource Name used during the initiation of the job. |
| 3575 |
// |
| 3576 |
// DataAccessRoleArn is a required field |
| 3577 |
DataAccessRoleArn *string `min:"20" type:"string" required:"true"` |
| 3578 |
|
| 3579 |
// The AWS generated ID for the data store from which files are being exported |
| 3580 |
// for an export job. |
| 3581 |
// |
| 3582 |
// DatastoreId is a required field |
| 3583 |
DatastoreId *string `min:"1" type:"string" required:"true"` |
| 3584 |
|
| 3585 |
// The user generated name for an export job. |
| 3586 |
JobName *string `min:"1" type:"string"` |
| 3587 |
|
| 3588 |
// The output data configuration that was supplied when the export job was created. |
| 3589 |
// |
| 3590 |
// OutputDataConfig is a required field |
| 3591 |
OutputDataConfig *OutputDataConfig `type:"structure" required:"true"` |
| 3592 |
} |
| 3593 |
|
| 3594 |
// String returns the string representation. |
| 3595 |
// |
| 3596 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 3597 |
// be included in the string output. The member name will be present, but the |
| 3598 |
// value will be replaced with "sensitive". |
| 3599 |
func (s StartFHIRExportJobInput) String() string { |
| 3600 |
return awsutil.Prettify(s) |
| 3601 |
} |
| 3602 |
|
| 3603 |
// GoString returns the string representation. |
| 3604 |
// |
| 3605 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 3606 |
// be included in the string output. The member name will be present, but the |
| 3607 |
// value will be replaced with "sensitive". |
| 3608 |
func (s StartFHIRExportJobInput) GoString() string { |
| 3609 |
return s.String() |
| 3610 |
} |
| 3611 |
|
| 3612 |
// Validate inspects the fields of the type to determine if they are valid. |
| 3613 |
func (s *StartFHIRExportJobInput) Validate() error { |
| 3614 |
invalidParams := request.ErrInvalidParams{Context: "StartFHIRExportJobInput"} |
| 3615 |
if s.ClientToken != nil && len(*s.ClientToken) < 1 { |
| 3616 |
invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1)) |
| 3617 |
} |
| 3618 |
if s.DataAccessRoleArn == nil { |
| 3619 |
invalidParams.Add(request.NewErrParamRequired("DataAccessRoleArn")) |
| 3620 |
} |
| 3621 |
if s.DataAccessRoleArn != nil && len(*s.DataAccessRoleArn) < 20 { |
| 3622 |
invalidParams.Add(request.NewErrParamMinLen("DataAccessRoleArn", 20)) |
| 3623 |
} |
| 3624 |
if s.DatastoreId == nil { |
| 3625 |
invalidParams.Add(request.NewErrParamRequired("DatastoreId")) |
| 3626 |
} |
| 3627 |
if s.DatastoreId != nil && len(*s.DatastoreId) < 1 { |
| 3628 |
invalidParams.Add(request.NewErrParamMinLen("DatastoreId", 1)) |
| 3629 |
} |
| 3630 |
if s.JobName != nil && len(*s.JobName) < 1 { |
| 3631 |
invalidParams.Add(request.NewErrParamMinLen("JobName", 1)) |
| 3632 |
} |
| 3633 |
if s.OutputDataConfig == nil { |
| 3634 |
invalidParams.Add(request.NewErrParamRequired("OutputDataConfig")) |
| 3635 |
} |
| 3636 |
if s.OutputDataConfig != nil { |
| 3637 |
if err := s.OutputDataConfig.Validate(); err != nil { |
| 3638 |
invalidParams.AddNested("OutputDataConfig", err.(request.ErrInvalidParams)) |
| 3639 |
} |
| 3640 |
} |
| 3641 |
|
| 3642 |
if invalidParams.Len() > 0 { |
| 3643 |
return invalidParams |
| 3644 |
} |
| 3645 |
return nil |
| 3646 |
} |
| 3647 |
|
| 3648 |
// SetClientToken sets the ClientToken field's value. |
| 3649 |
func (s *StartFHIRExportJobInput) SetClientToken(v string) *StartFHIRExportJobInput { |
| 3650 |
s.ClientToken = &v |
| 3651 |
return s |
| 3652 |
} |
| 3653 |
|
| 3654 |
// SetDataAccessRoleArn sets the DataAccessRoleArn field's value. |
| 3655 |
func (s *StartFHIRExportJobInput) SetDataAccessRoleArn(v string) *StartFHIRExportJobInput { |
| 3656 |
s.DataAccessRoleArn = &v |
| 3657 |
return s |
| 3658 |
} |
| 3659 |
|
| 3660 |
// SetDatastoreId sets the DatastoreId field's value. |
| 3661 |
func (s *StartFHIRExportJobInput) SetDatastoreId(v string) *StartFHIRExportJobInput { |
| 3662 |
s.DatastoreId = &v |
| 3663 |
return s |
| 3664 |
} |
| 3665 |
|
| 3666 |
// SetJobName sets the JobName field's value. |
| 3667 |
func (s *StartFHIRExportJobInput) SetJobName(v string) *StartFHIRExportJobInput { |
| 3668 |
s.JobName = &v |
| 3669 |
return s |
| 3670 |
} |
| 3671 |
|
| 3672 |
// SetOutputDataConfig sets the OutputDataConfig field's value. |
| 3673 |
func (s *StartFHIRExportJobInput) SetOutputDataConfig(v *OutputDataConfig) *StartFHIRExportJobInput { |
| 3674 |
s.OutputDataConfig = v |
| 3675 |
return s |
| 3676 |
} |
| 3677 |
|
| 3678 |
type StartFHIRExportJobOutput struct { |
| 3679 |
_ struct{} `type:"structure"` |
| 3680 |
|
| 3681 |
// The AWS generated ID for the data store from which files are being exported |
| 3682 |
// for an export job. |
| 3683 |
DatastoreId *string `min:"1" type:"string"` |
| 3684 |
|
| 3685 |
// The AWS generated ID for an export job. |
| 3686 |
// |
| 3687 |
// JobId is a required field |
| 3688 |
JobId *string `min:"1" type:"string" required:"true"` |
| 3689 |
|
| 3690 |
// The status of a FHIR export job. Possible statuses are SUBMITTED, IN_PROGRESS, |
| 3691 |
// COMPLETED, or FAILED. |
| 3692 |
// |
| 3693 |
// JobStatus is a required field |
| 3694 |
JobStatus *string `type:"string" required:"true" enum:"JobStatus"` |
| 3695 |
} |
| 3696 |
|
| 3697 |
// String returns the string representation. |
| 3698 |
// |
| 3699 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 3700 |
// be included in the string output. The member name will be present, but the |
| 3701 |
// value will be replaced with "sensitive". |
| 3702 |
func (s StartFHIRExportJobOutput) String() string { |
| 3703 |
return awsutil.Prettify(s) |
| 3704 |
} |
| 3705 |
|
| 3706 |
// GoString returns the string representation. |
| 3707 |
// |
| 3708 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 3709 |
// be included in the string output. The member name will be present, but the |
| 3710 |
// value will be replaced with "sensitive". |
| 3711 |
func (s StartFHIRExportJobOutput) GoString() string { |
| 3712 |
return s.String() |
| 3713 |
} |
| 3714 |
|
| 3715 |
// SetDatastoreId sets the DatastoreId field's value. |
| 3716 |
func (s *StartFHIRExportJobOutput) SetDatastoreId(v string) *StartFHIRExportJobOutput { |
| 3717 |
s.DatastoreId = &v |
| 3718 |
return s |
| 3719 |
} |
| 3720 |
|
| 3721 |
// SetJobId sets the JobId field's value. |
| 3722 |
func (s *StartFHIRExportJobOutput) SetJobId(v string) *StartFHIRExportJobOutput { |
| 3723 |
s.JobId = &v |
| 3724 |
return s |
| 3725 |
} |
| 3726 |
|
| 3727 |
// SetJobStatus sets the JobStatus field's value. |
| 3728 |
func (s *StartFHIRExportJobOutput) SetJobStatus(v string) *StartFHIRExportJobOutput { |
| 3729 |
s.JobStatus = &v |
| 3730 |
return s |
| 3731 |
} |
| 3732 |
|
| 3733 |
type StartFHIRImportJobInput struct { |
| 3734 |
_ struct{} `type:"structure"` |
| 3735 |
|
| 3736 |
// Optional user provided token used for ensuring idempotency. |
| 3737 |
ClientToken *string `min:"1" type:"string" idempotencyToken:"true"` |
| 3738 |
|
| 3739 |
// The Amazon Resource Name (ARN) that gives AWS HealthLake access permission. |
| 3740 |
// |
| 3741 |
// DataAccessRoleArn is a required field |
| 3742 |
DataAccessRoleArn *string `min:"20" type:"string" required:"true"` |
| 3743 |
|
| 3744 |
// The AWS-generated data store ID. |
| 3745 |
// |
| 3746 |
// DatastoreId is a required field |
| 3747 |
DatastoreId *string `min:"1" type:"string" required:"true"` |
| 3748 |
|
| 3749 |
// The input properties of the FHIR Import job in the StartFHIRImport job request. |
| 3750 |
// |
| 3751 |
// InputDataConfig is a required field |
| 3752 |
InputDataConfig *InputDataConfig `type:"structure" required:"true"` |
| 3753 |
|
| 3754 |
// The name of the FHIR Import job in the StartFHIRImport job request. |
| 3755 |
JobName *string `min:"1" type:"string"` |
| 3756 |
|
| 3757 |
// The output data configuration that was supplied when the export job was created. |
| 3758 |
// |
| 3759 |
// JobOutputDataConfig is a required field |
| 3760 |
JobOutputDataConfig *OutputDataConfig `type:"structure" required:"true"` |
| 3761 |
} |
| 3762 |
|
| 3763 |
// String returns the string representation. |
| 3764 |
// |
| 3765 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 3766 |
// be included in the string output. The member name will be present, but the |
| 3767 |
// value will be replaced with "sensitive". |
| 3768 |
func (s StartFHIRImportJobInput) String() string { |
| 3769 |
return awsutil.Prettify(s) |
| 3770 |
} |
| 3771 |
|
| 3772 |
// GoString returns the string representation. |
| 3773 |
// |
| 3774 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 3775 |
// be included in the string output. The member name will be present, but the |
| 3776 |
// value will be replaced with "sensitive". |
| 3777 |
func (s StartFHIRImportJobInput) GoString() string { |
| 3778 |
return s.String() |
| 3779 |
} |
| 3780 |
|
| 3781 |
// Validate inspects the fields of the type to determine if they are valid. |
| 3782 |
func (s *StartFHIRImportJobInput) Validate() error { |
| 3783 |
invalidParams := request.ErrInvalidParams{Context: "StartFHIRImportJobInput"} |
| 3784 |
if s.ClientToken != nil && len(*s.ClientToken) < 1 { |
| 3785 |
invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1)) |
| 3786 |
} |
| 3787 |
if s.DataAccessRoleArn == nil { |
| 3788 |
invalidParams.Add(request.NewErrParamRequired("DataAccessRoleArn")) |
| 3789 |
} |
| 3790 |
if s.DataAccessRoleArn != nil && len(*s.DataAccessRoleArn) < 20 { |
| 3791 |
invalidParams.Add(request.NewErrParamMinLen("DataAccessRoleArn", 20)) |
| 3792 |
} |
| 3793 |
if s.DatastoreId == nil { |
| 3794 |
invalidParams.Add(request.NewErrParamRequired("DatastoreId")) |
| 3795 |
} |
| 3796 |
if s.DatastoreId != nil && len(*s.DatastoreId) < 1 { |
| 3797 |
invalidParams.Add(request.NewErrParamMinLen("DatastoreId", 1)) |
| 3798 |
} |
| 3799 |
if s.InputDataConfig == nil { |
| 3800 |
invalidParams.Add(request.NewErrParamRequired("InputDataConfig")) |
| 3801 |
} |
| 3802 |
if s.JobName != nil && len(*s.JobName) < 1 { |
| 3803 |
invalidParams.Add(request.NewErrParamMinLen("JobName", 1)) |
| 3804 |
} |
| 3805 |
if s.JobOutputDataConfig == nil { |
| 3806 |
invalidParams.Add(request.NewErrParamRequired("JobOutputDataConfig")) |
| 3807 |
} |
| 3808 |
if s.JobOutputDataConfig != nil { |
| 3809 |
if err := s.JobOutputDataConfig.Validate(); err != nil { |
| 3810 |
invalidParams.AddNested("JobOutputDataConfig", err.(request.ErrInvalidParams)) |
| 3811 |
} |
| 3812 |
} |
| 3813 |
|
| 3814 |
if invalidParams.Len() > 0 { |
| 3815 |
return invalidParams |
| 3816 |
} |
| 3817 |
return nil |
| 3818 |
} |
| 3819 |
|
| 3820 |
// SetClientToken sets the ClientToken field's value. |
| 3821 |
func (s *StartFHIRImportJobInput) SetClientToken(v string) *StartFHIRImportJobInput { |
| 3822 |
s.ClientToken = &v |
| 3823 |
return s |
| 3824 |
} |
| 3825 |
|
| 3826 |
// SetDataAccessRoleArn sets the DataAccessRoleArn field's value. |
| 3827 |
func (s *StartFHIRImportJobInput) SetDataAccessRoleArn(v string) *StartFHIRImportJobInput { |
| 3828 |
s.DataAccessRoleArn = &v |
| 3829 |
return s |
| 3830 |
} |
| 3831 |
|
| 3832 |
// SetDatastoreId sets the DatastoreId field's value. |
| 3833 |
func (s *StartFHIRImportJobInput) SetDatastoreId(v string) *StartFHIRImportJobInput { |
| 3834 |
s.DatastoreId = &v |
| 3835 |
return s |
| 3836 |
} |
| 3837 |
|
| 3838 |
// SetInputDataConfig sets the InputDataConfig field's value. |
| 3839 |
func (s *StartFHIRImportJobInput) SetInputDataConfig(v *InputDataConfig) *StartFHIRImportJobInput { |
| 3840 |
s.InputDataConfig = v |
| 3841 |
return s |
| 3842 |
} |
| 3843 |
|
| 3844 |
// SetJobName sets the JobName field's value. |
| 3845 |
func (s *StartFHIRImportJobInput) SetJobName(v string) *StartFHIRImportJobInput { |
| 3846 |
s.JobName = &v |
| 3847 |
return s |
| 3848 |
} |
| 3849 |
|
| 3850 |
// SetJobOutputDataConfig sets the JobOutputDataConfig field's value. |
| 3851 |
func (s *StartFHIRImportJobInput) SetJobOutputDataConfig(v *OutputDataConfig) *StartFHIRImportJobInput { |
| 3852 |
s.JobOutputDataConfig = v |
| 3853 |
return s |
| 3854 |
} |
| 3855 |
|
| 3856 |
type StartFHIRImportJobOutput struct { |
| 3857 |
_ struct{} `type:"structure"` |
| 3858 |
|
| 3859 |
// The AWS-generated data store ID. |
| 3860 |
DatastoreId *string `min:"1" type:"string"` |
| 3861 |
|
| 3862 |
// The AWS-generated job ID. |
| 3863 |
// |
| 3864 |
// JobId is a required field |
| 3865 |
JobId *string `min:"1" type:"string" required:"true"` |
| 3866 |
|
| 3867 |
// The status of an import job. |
| 3868 |
// |
| 3869 |
// JobStatus is a required field |
| 3870 |
JobStatus *string `type:"string" required:"true" enum:"JobStatus"` |
| 3871 |
} |
| 3872 |
|
| 3873 |
// String returns the string representation. |
| 3874 |
// |
| 3875 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 3876 |
// be included in the string output. The member name will be present, but the |
| 3877 |
// value will be replaced with "sensitive". |
| 3878 |
func (s StartFHIRImportJobOutput) String() string { |
| 3879 |
return awsutil.Prettify(s) |
| 3880 |
} |
| 3881 |
|
| 3882 |
// GoString returns the string representation. |
| 3883 |
// |
| 3884 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 3885 |
// be included in the string output. The member name will be present, but the |
| 3886 |
// value will be replaced with "sensitive". |
| 3887 |
func (s StartFHIRImportJobOutput) GoString() string { |
| 3888 |
return s.String() |
| 3889 |
} |
| 3890 |
|
| 3891 |
// SetDatastoreId sets the DatastoreId field's value. |
| 3892 |
func (s *StartFHIRImportJobOutput) SetDatastoreId(v string) *StartFHIRImportJobOutput { |
| 3893 |
s.DatastoreId = &v |
| 3894 |
return s |
| 3895 |
} |
| 3896 |
|
| 3897 |
// SetJobId sets the JobId field's value. |
| 3898 |
func (s *StartFHIRImportJobOutput) SetJobId(v string) *StartFHIRImportJobOutput { |
| 3899 |
s.JobId = &v |
| 3900 |
return s |
| 3901 |
} |
| 3902 |
|
| 3903 |
// SetJobStatus sets the JobStatus field's value. |
| 3904 |
func (s *StartFHIRImportJobOutput) SetJobStatus(v string) *StartFHIRImportJobOutput { |
| 3905 |
s.JobStatus = &v |
| 3906 |
return s |
| 3907 |
} |
| 3908 |
|
| 3909 |
// A tag is a label consisting of a user-defined key and value. The form for |
| 3910 |
// tags is {"Key", "Value"} |
| 3911 |
type Tag struct { |
| 3912 |
_ struct{} `type:"structure"` |
| 3913 |
|
| 3914 |
// The key portion of a tag. Tag keys are case sensitive. |
| 3915 |
// |
| 3916 |
// Key is a required field |
| 3917 |
Key *string `min:"1" type:"string" required:"true"` |
| 3918 |
|
| 3919 |
// The value portion of a tag. Tag values are case sensitive. |
| 3920 |
// |
| 3921 |
// Value is a required field |
| 3922 |
Value *string `type:"string" required:"true"` |
| 3923 |
} |
| 3924 |
|
| 3925 |
// String returns the string representation. |
| 3926 |
// |
| 3927 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 3928 |
// be included in the string output. The member name will be present, but the |
| 3929 |
// value will be replaced with "sensitive". |
| 3930 |
func (s Tag) String() string { |
| 3931 |
return awsutil.Prettify(s) |
| 3932 |
} |
| 3933 |
|
| 3934 |
// GoString returns the string representation. |
| 3935 |
// |
| 3936 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 3937 |
// be included in the string output. The member name will be present, but the |
| 3938 |
// value will be replaced with "sensitive". |
| 3939 |
func (s Tag) GoString() string { |
| 3940 |
return s.String() |
| 3941 |
} |
| 3942 |
|
| 3943 |
// Validate inspects the fields of the type to determine if they are valid. |
| 3944 |
func (s *Tag) Validate() error { |
| 3945 |
invalidParams := request.ErrInvalidParams{Context: "Tag"} |
| 3946 |
if s.Key == nil { |
| 3947 |
invalidParams.Add(request.NewErrParamRequired("Key")) |
| 3948 |
} |
| 3949 |
if s.Key != nil && len(*s.Key) < 1 { |
| 3950 |
invalidParams.Add(request.NewErrParamMinLen("Key", 1)) |
| 3951 |
} |
| 3952 |
if s.Value == nil { |
| 3953 |
invalidParams.Add(request.NewErrParamRequired("Value")) |
| 3954 |
} |
| 3955 |
|
| 3956 |
if invalidParams.Len() > 0 { |
| 3957 |
return invalidParams |
| 3958 |
} |
| 3959 |
return nil |
| 3960 |
} |
| 3961 |
|
| 3962 |
// SetKey sets the Key field's value. |
| 3963 |
func (s *Tag) SetKey(v string) *Tag { |
| 3964 |
s.Key = &v |
| 3965 |
return s |
| 3966 |
} |
| 3967 |
|
| 3968 |
// SetValue sets the Value field's value. |
| 3969 |
func (s *Tag) SetValue(v string) *Tag { |
| 3970 |
s.Value = &v |
| 3971 |
return s |
| 3972 |
} |
| 3973 |
|
| 3974 |
type TagResourceInput struct { |
| 3975 |
_ struct{} `type:"structure"` |
| 3976 |
|
| 3977 |
// The Amazon Resource Name(ARN)that gives AWS HealthLake access to the data |
| 3978 |
// store which tags are being added to. |
| 3979 |
// |
| 3980 |
// ResourceARN is a required field |
| 3981 |
ResourceARN *string `min:"1" type:"string" required:"true"` |
| 3982 |
|
| 3983 |
// The user specified key and value pair tags being added to a data store. |
| 3984 |
// |
| 3985 |
// Tags is a required field |
| 3986 |
Tags []*Tag `type:"list" required:"true"` |
| 3987 |
} |
| 3988 |
|
| 3989 |
// String returns the string representation. |
| 3990 |
// |
| 3991 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 3992 |
// be included in the string output. The member name will be present, but the |
| 3993 |
// value will be replaced with "sensitive". |
| 3994 |
func (s TagResourceInput) String() string { |
| 3995 |
return awsutil.Prettify(s) |
| 3996 |
} |
| 3997 |
|
| 3998 |
// GoString returns the string representation. |
| 3999 |
// |
| 4000 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 4001 |
// be included in the string output. The member name will be present, but the |
| 4002 |
// value will be replaced with "sensitive". |
| 4003 |
func (s TagResourceInput) GoString() string { |
| 4004 |
return s.String() |
| 4005 |
} |
| 4006 |
|
| 4007 |
// Validate inspects the fields of the type to determine if they are valid. |
| 4008 |
func (s *TagResourceInput) Validate() error { |
| 4009 |
invalidParams := request.ErrInvalidParams{Context: "TagResourceInput"} |
| 4010 |
if s.ResourceARN == nil { |
| 4011 |
invalidParams.Add(request.NewErrParamRequired("ResourceARN")) |
| 4012 |
} |
| 4013 |
if s.ResourceARN != nil && len(*s.ResourceARN) < 1 { |
| 4014 |
invalidParams.Add(request.NewErrParamMinLen("ResourceARN", 1)) |
| 4015 |
} |
| 4016 |
if s.Tags == nil { |
| 4017 |
invalidParams.Add(request.NewErrParamRequired("Tags")) |
| 4018 |
} |
| 4019 |
if s.Tags != nil { |
| 4020 |
for i, v := range s.Tags { |
| 4021 |
if v == nil { |
| 4022 |
continue |
| 4023 |
} |
| 4024 |
if err := v.Validate(); err != nil { |
| 4025 |
invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) |
| 4026 |
} |
| 4027 |
} |
| 4028 |
} |
| 4029 |
|
| 4030 |
if invalidParams.Len() > 0 { |
| 4031 |
return invalidParams |
| 4032 |
} |
| 4033 |
return nil |
| 4034 |
} |
| 4035 |
|
| 4036 |
// SetResourceARN sets the ResourceARN field's value. |
| 4037 |
func (s *TagResourceInput) SetResourceARN(v string) *TagResourceInput { |
| 4038 |
s.ResourceARN = &v |
| 4039 |
return s |
| 4040 |
} |
| 4041 |
|
| 4042 |
// SetTags sets the Tags field's value. |
| 4043 |
func (s *TagResourceInput) SetTags(v []*Tag) *TagResourceInput { |
| 4044 |
s.Tags = v |
| 4045 |
return s |
| 4046 |
} |
| 4047 |
|
| 4048 |
type TagResourceOutput struct { |
| 4049 |
_ struct{} `type:"structure"` |
| 4050 |
} |
| 4051 |
|
| 4052 |
// String returns the string representation. |
| 4053 |
// |
| 4054 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 4055 |
// be included in the string output. The member name will be present, but the |
| 4056 |
// value will be replaced with "sensitive". |
| 4057 |
func (s TagResourceOutput) String() string { |
| 4058 |
return awsutil.Prettify(s) |
| 4059 |
} |
| 4060 |
|
| 4061 |
// GoString returns the string representation. |
| 4062 |
// |
| 4063 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 4064 |
// be included in the string output. The member name will be present, but the |
| 4065 |
// value will be replaced with "sensitive". |
| 4066 |
func (s TagResourceOutput) GoString() string { |
| 4067 |
return s.String() |
| 4068 |
} |
| 4069 |
|
| 4070 |
// The user has exceeded their maximum number of allowed calls to the given |
| 4071 |
// API. |
| 4072 |
type ThrottlingException struct { |
| 4073 |
_ struct{} `type:"structure"` |
| 4074 |
RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` |
| 4075 |
|
| 4076 |
Message_ *string `locationName:"Message" type:"string"` |
| 4077 |
} |
| 4078 |
|
| 4079 |
// String returns the string representation. |
| 4080 |
// |
| 4081 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 4082 |
// be included in the string output. The member name will be present, but the |
| 4083 |
// value will be replaced with "sensitive". |
| 4084 |
func (s ThrottlingException) String() string { |
| 4085 |
return awsutil.Prettify(s) |
| 4086 |
} |
| 4087 |
|
| 4088 |
// GoString returns the string representation. |
| 4089 |
// |
| 4090 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 4091 |
// be included in the string output. The member name will be present, but the |
| 4092 |
// value will be replaced with "sensitive". |
| 4093 |
func (s ThrottlingException) GoString() string { |
| 4094 |
return s.String() |
| 4095 |
} |
| 4096 |
|
| 4097 |
func newErrorThrottlingException(v protocol.ResponseMetadata) error { |
| 4098 |
return &ThrottlingException{ |
| 4099 |
RespMetadata: v, |
| 4100 |
} |
| 4101 |
} |
| 4102 |
|
| 4103 |
// Code returns the exception type name. |
| 4104 |
func (s *ThrottlingException) Code() string { |
| 4105 |
return "ThrottlingException" |
| 4106 |
} |
| 4107 |
|
| 4108 |
// Message returns the exception's message. |
| 4109 |
func (s *ThrottlingException) Message() string { |
| 4110 |
if s.Message_ != nil { |
| 4111 |
return *s.Message_ |
| 4112 |
} |
| 4113 |
return "" |
| 4114 |
} |
| 4115 |
|
| 4116 |
// OrigErr always returns nil, satisfies awserr.Error interface. |
| 4117 |
func (s *ThrottlingException) OrigErr() error { |
| 4118 |
return nil |
| 4119 |
} |
| 4120 |
|
| 4121 |
func (s *ThrottlingException) Error() string { |
| 4122 |
return fmt.Sprintf("%s: %s", s.Code(), s.Message()) |
| 4123 |
} |
| 4124 |
|
| 4125 |
// Status code returns the HTTP status code for the request's response error. |
| 4126 |
func (s *ThrottlingException) StatusCode() int { |
| 4127 |
return s.RespMetadata.StatusCode |
| 4128 |
} |
| 4129 |
|
| 4130 |
// RequestID returns the service's response RequestID for request. |
| 4131 |
func (s *ThrottlingException) RequestID() string { |
| 4132 |
return s.RespMetadata.RequestID |
| 4133 |
} |
| 4134 |
|
| 4135 |
type UntagResourceInput struct { |
| 4136 |
_ struct{} `type:"structure"` |
| 4137 |
|
| 4138 |
// The Amazon Resource Name(ARN) of the data store for which tags are being |
| 4139 |
// removed. |
| 4140 |
// |
| 4141 |
// ResourceARN is a required field |
| 4142 |
ResourceARN *string `min:"1" type:"string" required:"true"` |
| 4143 |
|
| 4144 |
// The keys for the tags to be removed from the HealthLake data store. |
| 4145 |
// |
| 4146 |
// TagKeys is a required field |
| 4147 |
TagKeys []*string `type:"list" required:"true"` |
| 4148 |
} |
| 4149 |
|
| 4150 |
// String returns the string representation. |
| 4151 |
// |
| 4152 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 4153 |
// be included in the string output. The member name will be present, but the |
| 4154 |
// value will be replaced with "sensitive". |
| 4155 |
func (s UntagResourceInput) String() string { |
| 4156 |
return awsutil.Prettify(s) |
| 4157 |
} |
| 4158 |
|
| 4159 |
// GoString returns the string representation. |
| 4160 |
// |
| 4161 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 4162 |
// be included in the string output. The member name will be present, but the |
| 4163 |
// value will be replaced with "sensitive". |
| 4164 |
func (s UntagResourceInput) GoString() string { |
| 4165 |
return s.String() |
| 4166 |
} |
| 4167 |
|
| 4168 |
// Validate inspects the fields of the type to determine if they are valid. |
| 4169 |
func (s *UntagResourceInput) Validate() error { |
| 4170 |
invalidParams := request.ErrInvalidParams{Context: "UntagResourceInput"} |
| 4171 |
if s.ResourceARN == nil { |
| 4172 |
invalidParams.Add(request.NewErrParamRequired("ResourceARN")) |
| 4173 |
} |
| 4174 |
if s.ResourceARN != nil && len(*s.ResourceARN) < 1 { |
| 4175 |
invalidParams.Add(request.NewErrParamMinLen("ResourceARN", 1)) |
| 4176 |
} |
| 4177 |
if s.TagKeys == nil { |
| 4178 |
invalidParams.Add(request.NewErrParamRequired("TagKeys")) |
| 4179 |
} |
| 4180 |
|
| 4181 |
if invalidParams.Len() > 0 { |
| 4182 |
return invalidParams |
| 4183 |
} |
| 4184 |
return nil |
| 4185 |
} |
| 4186 |
|
| 4187 |
// SetResourceARN sets the ResourceARN field's value. |
| 4188 |
func (s *UntagResourceInput) SetResourceARN(v string) *UntagResourceInput { |
| 4189 |
s.ResourceARN = &v |
| 4190 |
return s |
| 4191 |
} |
| 4192 |
|
| 4193 |
// SetTagKeys sets the TagKeys field's value. |
| 4194 |
func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput { |
| 4195 |
s.TagKeys = v |
| 4196 |
return s |
| 4197 |
} |
| 4198 |
|
| 4199 |
type UntagResourceOutput struct { |
| 4200 |
_ struct{} `type:"structure"` |
| 4201 |
} |
| 4202 |
|
| 4203 |
// String returns the string representation. |
| 4204 |
// |
| 4205 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 4206 |
// be included in the string output. The member name will be present, but the |
| 4207 |
// value will be replaced with "sensitive". |
| 4208 |
func (s UntagResourceOutput) String() string { |
| 4209 |
return awsutil.Prettify(s) |
| 4210 |
} |
| 4211 |
|
| 4212 |
// GoString returns the string representation. |
| 4213 |
// |
| 4214 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 4215 |
// be included in the string output. The member name will be present, but the |
| 4216 |
// value will be replaced with "sensitive". |
| 4217 |
func (s UntagResourceOutput) GoString() string { |
| 4218 |
return s.String() |
| 4219 |
} |
| 4220 |
|
| 4221 |
// The user input parameter was invalid. |
| 4222 |
type ValidationException struct { |
| 4223 |
_ struct{} `type:"structure"` |
| 4224 |
RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` |
| 4225 |
|
| 4226 |
Message_ *string `locationName:"Message" type:"string"` |
| 4227 |
} |
| 4228 |
|
| 4229 |
// String returns the string representation. |
| 4230 |
// |
| 4231 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 4232 |
// be included in the string output. The member name will be present, but the |
| 4233 |
// value will be replaced with "sensitive". |
| 4234 |
func (s ValidationException) String() string { |
| 4235 |
return awsutil.Prettify(s) |
| 4236 |
} |
| 4237 |
|
| 4238 |
// GoString returns the string representation. |
| 4239 |
// |
| 4240 |
// API parameter values that are decorated as "sensitive" in the API will not |
| 4241 |
// be included in the string output. The member name will be present, but the |
| 4242 |
// value will be replaced with "sensitive". |
| 4243 |
func (s ValidationException) GoString() string { |
| 4244 |
return s.String() |
| 4245 |
} |
| 4246 |
|
| 4247 |
func newErrorValidationException(v protocol.ResponseMetadata) error { |
| 4248 |
return &ValidationException{ |
| 4249 |
RespMetadata: v, |
| 4250 |
} |
| 4251 |
} |
| 4252 |
|
| 4253 |
// Code returns the exception type name. |
| 4254 |
func (s *ValidationException) Code() string { |
| 4255 |
return "ValidationException" |
| 4256 |
} |
| 4257 |
|
| 4258 |
// Message returns the exception's message. |
| 4259 |
func (s *ValidationException) Message() string { |
| 4260 |
if s.Message_ != nil { |
| 4261 |
return *s.Message_ |
| 4262 |
} |
| 4263 |
return "" |
| 4264 |
} |
| 4265 |
|
| 4266 |
// OrigErr always returns nil, satisfies awserr.Error interface. |
| 4267 |
func (s *ValidationException) OrigErr() error { |
| 4268 |
return nil |
| 4269 |
} |
| 4270 |
|
| 4271 |
func (s *ValidationException) Error() string { |
| 4272 |
return fmt.Sprintf("%s: %s", s.Code(), s.Message()) |
| 4273 |
} |
| 4274 |
|
| 4275 |
// Status code returns the HTTP status code for the request's response error. |
| 4276 |
func (s *ValidationException) StatusCode() int { |
| 4277 |
return s.RespMetadata.StatusCode |
| 4278 |
} |
| 4279 |
|
| 4280 |
// RequestID returns the service's response RequestID for request. |
| 4281 |
func (s *ValidationException) RequestID() string { |
| 4282 |
return s.RespMetadata.RequestID |
| 4283 |
} |
| 4284 |
|
| 4285 |
const ( |
| 4286 |
// AuthorizationStrategySmartOnFhirV1 is a AuthorizationStrategy enum value |
| 4287 |
AuthorizationStrategySmartOnFhirV1 = "SMART_ON_FHIR_V1" |
| 4288 |
|
| 4289 |
// AuthorizationStrategyAwsAuth is a AuthorizationStrategy enum value |
| 4290 |
AuthorizationStrategyAwsAuth = "AWS_AUTH" |
| 4291 |
) |
| 4292 |
|
| 4293 |
// AuthorizationStrategy_Values returns all elements of the AuthorizationStrategy enum |
| 4294 |
func AuthorizationStrategy_Values() []string { |
| 4295 |
return []string{ |
| 4296 |
AuthorizationStrategySmartOnFhirV1, |
| 4297 |
AuthorizationStrategyAwsAuth, |
| 4298 |
} |
| 4299 |
} |
| 4300 |
|
| 4301 |
const ( |
| 4302 |
// CmkTypeCustomerManagedKmsKey is a CmkType enum value |
| 4303 |
CmkTypeCustomerManagedKmsKey = "CUSTOMER_MANAGED_KMS_KEY" |
| 4304 |
|
| 4305 |
// CmkTypeAwsOwnedKmsKey is a CmkType enum value |
| 4306 |
CmkTypeAwsOwnedKmsKey = "AWS_OWNED_KMS_KEY" |
| 4307 |
) |
| 4308 |
|
| 4309 |
// CmkType_Values returns all elements of the CmkType enum |
| 4310 |
func CmkType_Values() []string { |
| 4311 |
return []string{ |
| 4312 |
CmkTypeCustomerManagedKmsKey, |
| 4313 |
CmkTypeAwsOwnedKmsKey, |
| 4314 |
} |
| 4315 |
} |
| 4316 |
|
| 4317 |
const ( |
| 4318 |
// DatastoreStatusCreating is a DatastoreStatus enum value |
| 4319 |
DatastoreStatusCreating = "CREATING" |
| 4320 |
|
| 4321 |
// DatastoreStatusActive is a DatastoreStatus enum value |
| 4322 |
DatastoreStatusActive = "ACTIVE" |
| 4323 |
|
| 4324 |
// DatastoreStatusDeleting is a DatastoreStatus enum value |
| 4325 |
DatastoreStatusDeleting = "DELETING" |
| 4326 |
|
| 4327 |
// DatastoreStatusDeleted is a DatastoreStatus enum value |
| 4328 |
DatastoreStatusDeleted = "DELETED" |
| 4329 |
) |
| 4330 |
|
| 4331 |
// DatastoreStatus_Values returns all elements of the DatastoreStatus enum |
| 4332 |
func DatastoreStatus_Values() []string { |
| 4333 |
return []string{ |
| 4334 |
DatastoreStatusCreating, |
| 4335 |
DatastoreStatusActive, |
| 4336 |
DatastoreStatusDeleting, |
| 4337 |
DatastoreStatusDeleted, |
| 4338 |
} |
| 4339 |
} |
| 4340 |
|
| 4341 |
const ( |
| 4342 |
// FHIRVersionR4 is a FHIRVersion enum value |
| 4343 |
FHIRVersionR4 = "R4" |
| 4344 |
) |
| 4345 |
|
| 4346 |
// FHIRVersion_Values returns all elements of the FHIRVersion enum |
| 4347 |
func FHIRVersion_Values() []string { |
| 4348 |
return []string{ |
| 4349 |
FHIRVersionR4, |
| 4350 |
} |
| 4351 |
} |
| 4352 |
|
| 4353 |
const ( |
| 4354 |
// JobStatusSubmitted is a JobStatus enum value |
| 4355 |
JobStatusSubmitted = "SUBMITTED" |
| 4356 |
|
| 4357 |
// JobStatusInProgress is a JobStatus enum value |
| 4358 |
JobStatusInProgress = "IN_PROGRESS" |
| 4359 |
|
| 4360 |
// JobStatusCompletedWithErrors is a JobStatus enum value |
| 4361 |
JobStatusCompletedWithErrors = "COMPLETED_WITH_ERRORS" |
| 4362 |
|
| 4363 |
// JobStatusCompleted is a JobStatus enum value |
| 4364 |
JobStatusCompleted = "COMPLETED" |
| 4365 |
|
| 4366 |
// JobStatusFailed is a JobStatus enum value |
| 4367 |
JobStatusFailed = "FAILED" |
| 4368 |
|
| 4369 |
// JobStatusCancelSubmitted is a JobStatus enum value |
| 4370 |
JobStatusCancelSubmitted = "CANCEL_SUBMITTED" |
| 4371 |
|
| 4372 |
// JobStatusCancelInProgress is a JobStatus enum value |
| 4373 |
JobStatusCancelInProgress = "CANCEL_IN_PROGRESS" |
| 4374 |
|
| 4375 |
// JobStatusCancelCompleted is a JobStatus enum value |
| 4376 |
JobStatusCancelCompleted = "CANCEL_COMPLETED" |
| 4377 |
|
| 4378 |
// JobStatusCancelFailed is a JobStatus enum value |
| 4379 |
JobStatusCancelFailed = "CANCEL_FAILED" |
| 4380 |
) |
| 4381 |
|
| 4382 |
// JobStatus_Values returns all elements of the JobStatus enum |
| 4383 |
func JobStatus_Values() []string { |
| 4384 |
return []string{ |
| 4385 |
JobStatusSubmitted, |
| 4386 |
JobStatusInProgress, |
| 4387 |
JobStatusCompletedWithErrors, |
| 4388 |
JobStatusCompleted, |
| 4389 |
JobStatusFailed, |
| 4390 |
JobStatusCancelSubmitted, |
| 4391 |
JobStatusCancelInProgress, |
| 4392 |
JobStatusCancelCompleted, |
| 4393 |
JobStatusCancelFailed, |
| 4394 |
} |
| 4395 |
} |
| 4396 |
|
| 4397 |
const ( |
| 4398 |
// PreloadDataTypeSynthea is a PreloadDataType enum value |
| 4399 |
PreloadDataTypeSynthea = "SYNTHEA" |
| 4400 |
) |
| 4401 |
|
| 4402 |
// PreloadDataType_Values returns all elements of the PreloadDataType enum |
| 4403 |
func PreloadDataType_Values() []string { |
| 4404 |
return []string{ |
| 4405 |
PreloadDataTypeSynthea, |
| 4406 |
} |
| 4407 |
} |