aws-sdk-healthlake 1.3.0 → 1.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-healthlake/client.rb +286 -7
- data/lib/aws-sdk-healthlake/client_api.rb +173 -3
- data/lib/aws-sdk-healthlake/types.rb +444 -16
- data/lib/aws-sdk-healthlake.rb +1 -1
- metadata +8 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e6c65a9b1b7bfb76690d8d5263ee36716c21776098922b779dd2cfcf1b6ee243
|
4
|
+
data.tar.gz: 4a06a34fd76f52fd45cab68461afcf9afee4fa1a7f9421c888f039481e5a5248
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c06733875651aee31082a355fed24149128b0d4b23be7a10713cef75f6d93ee3757c667703a724f65737ff060229e16137936d5ad9256113e7f41ae8b68597e8
|
7
|
+
data.tar.gz: 4f84eb5db57bff1f643a054791ed4963f26816b4f54d315bcb244ba66f0fa87128ab48e9829ea8e50c3ae1d731ee0f97b9bf080f6891aa1123ff9114197767ed
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.7.0 (2021-09-01)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.6.0 (2021-07-30)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.5.0 (2021-07-28)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.4.0 (2021-07-14)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - General availability for Amazon HealthLake. StartFHIRImportJob and StartFHIRExportJob APIs now require AWS KMS parameter. For more information, see the Amazon HealthLake Documentation https://docs.aws.amazon.com/healthlake/index.html.
|
23
|
+
|
4
24
|
1.3.0 (2021-03-10)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.7.0
|
@@ -345,6 +345,10 @@ module Aws::HealthLake
|
|
345
345
|
# @option params [required, String] :datastore_type_version
|
346
346
|
# The FHIR version of the Data Store. The only supported version is R4.
|
347
347
|
#
|
348
|
+
# @option params [Types::SseConfiguration] :sse_configuration
|
349
|
+
# The server-side encryption key configuration for a customer provided
|
350
|
+
# encryption key specified for creating a Data Store.
|
351
|
+
#
|
348
352
|
# @option params [Types::PreloadDataConfig] :preload_data_config
|
349
353
|
# Optional parameter to preload data upon creation of the Data Store.
|
350
354
|
# Currently, the only supported preloaded data is synthetic data
|
@@ -356,6 +360,9 @@ module Aws::HealthLake
|
|
356
360
|
# **A suitable default value is auto-generated.** You should normally
|
357
361
|
# not need to pass this option.**
|
358
362
|
#
|
363
|
+
# @option params [Array<Types::Tag>] :tags
|
364
|
+
# Resource tags that are applied to a Data Store when it is created.
|
365
|
+
#
|
359
366
|
# @return [Types::CreateFHIRDatastoreResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
360
367
|
#
|
361
368
|
# * {Types::CreateFHIRDatastoreResponse#datastore_id #datastore_id} => String
|
@@ -368,10 +375,22 @@ module Aws::HealthLake
|
|
368
375
|
# resp = client.create_fhir_datastore({
|
369
376
|
# datastore_name: "DatastoreName",
|
370
377
|
# datastore_type_version: "R4", # required, accepts R4
|
378
|
+
# sse_configuration: {
|
379
|
+
# kms_encryption_config: { # required
|
380
|
+
# cmk_type: "CUSTOMER_MANAGED_KMS_KEY", # required, accepts CUSTOMER_MANAGED_KMS_KEY, AWS_OWNED_KMS_KEY
|
381
|
+
# kms_key_id: "EncryptionKeyID",
|
382
|
+
# },
|
383
|
+
# },
|
371
384
|
# preload_data_config: {
|
372
385
|
# preload_data_type: "SYNTHEA", # required, accepts SYNTHEA
|
373
386
|
# },
|
374
387
|
# client_token: "ClientTokenString",
|
388
|
+
# tags: [
|
389
|
+
# {
|
390
|
+
# key: "TagKey", # required
|
391
|
+
# value: "TagValue", # required
|
392
|
+
# },
|
393
|
+
# ],
|
375
394
|
# })
|
376
395
|
#
|
377
396
|
# @example Response structure
|
@@ -451,6 +470,8 @@ module Aws::HealthLake
|
|
451
470
|
# resp.datastore_properties.created_at #=> Time
|
452
471
|
# resp.datastore_properties.datastore_type_version #=> String, one of "R4"
|
453
472
|
# resp.datastore_properties.datastore_endpoint #=> String
|
473
|
+
# resp.datastore_properties.sse_configuration.kms_encryption_config.cmk_type #=> String, one of "CUSTOMER_MANAGED_KMS_KEY", "AWS_OWNED_KMS_KEY"
|
474
|
+
# resp.datastore_properties.sse_configuration.kms_encryption_config.kms_key_id #=> String
|
454
475
|
# resp.datastore_properties.preload_data_config.preload_data_type #=> String, one of "SYNTHEA"
|
455
476
|
#
|
456
477
|
# @see http://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/DescribeFHIRDatastore AWS API Documentation
|
@@ -487,11 +508,12 @@ module Aws::HealthLake
|
|
487
508
|
#
|
488
509
|
# resp.export_job_properties.job_id #=> String
|
489
510
|
# resp.export_job_properties.job_name #=> String
|
490
|
-
# resp.export_job_properties.job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED", "FAILED"
|
511
|
+
# resp.export_job_properties.job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED_WITH_ERRORS", "COMPLETED", "FAILED"
|
491
512
|
# resp.export_job_properties.submit_time #=> Time
|
492
513
|
# resp.export_job_properties.end_time #=> Time
|
493
514
|
# resp.export_job_properties.datastore_id #=> String
|
494
|
-
# resp.export_job_properties.output_data_config.s3_uri #=> String
|
515
|
+
# resp.export_job_properties.output_data_config.s3_configuration.s3_uri #=> String
|
516
|
+
# resp.export_job_properties.output_data_config.s3_configuration.kms_key_id #=> String
|
495
517
|
# resp.export_job_properties.data_access_role_arn #=> String
|
496
518
|
# resp.export_job_properties.message #=> String
|
497
519
|
#
|
@@ -528,11 +550,13 @@ module Aws::HealthLake
|
|
528
550
|
#
|
529
551
|
# resp.import_job_properties.job_id #=> String
|
530
552
|
# resp.import_job_properties.job_name #=> String
|
531
|
-
# resp.import_job_properties.job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED", "FAILED"
|
553
|
+
# resp.import_job_properties.job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED_WITH_ERRORS", "COMPLETED", "FAILED"
|
532
554
|
# resp.import_job_properties.submit_time #=> Time
|
533
555
|
# resp.import_job_properties.end_time #=> Time
|
534
556
|
# resp.import_job_properties.datastore_id #=> String
|
535
557
|
# resp.import_job_properties.input_data_config.s3_uri #=> String
|
558
|
+
# resp.import_job_properties.job_output_data_config.s3_configuration.s3_uri #=> String
|
559
|
+
# resp.import_job_properties.job_output_data_config.s3_configuration.kms_key_id #=> String
|
536
560
|
# resp.import_job_properties.data_access_role_arn #=> String
|
537
561
|
# resp.import_job_properties.message #=> String
|
538
562
|
#
|
@@ -588,6 +612,8 @@ module Aws::HealthLake
|
|
588
612
|
# resp.datastore_properties_list[0].created_at #=> Time
|
589
613
|
# resp.datastore_properties_list[0].datastore_type_version #=> String, one of "R4"
|
590
614
|
# resp.datastore_properties_list[0].datastore_endpoint #=> String
|
615
|
+
# resp.datastore_properties_list[0].sse_configuration.kms_encryption_config.cmk_type #=> String, one of "CUSTOMER_MANAGED_KMS_KEY", "AWS_OWNED_KMS_KEY"
|
616
|
+
# resp.datastore_properties_list[0].sse_configuration.kms_encryption_config.kms_key_id #=> String
|
591
617
|
# resp.datastore_properties_list[0].preload_data_config.preload_data_type #=> String, one of "SYNTHEA"
|
592
618
|
# resp.next_token #=> String
|
593
619
|
#
|
@@ -600,6 +626,186 @@ module Aws::HealthLake
|
|
600
626
|
req.send_request(options)
|
601
627
|
end
|
602
628
|
|
629
|
+
# Lists all FHIR export jobs associated with an account and their
|
630
|
+
# statuses.
|
631
|
+
#
|
632
|
+
# @option params [required, String] :datastore_id
|
633
|
+
# This parameter limits the response to the export job with the
|
634
|
+
# specified Data Store ID.
|
635
|
+
#
|
636
|
+
# @option params [String] :next_token
|
637
|
+
# A pagination token used to identify the next page of results to return
|
638
|
+
# for a ListFHIRExportJobs query.
|
639
|
+
#
|
640
|
+
# @option params [Integer] :max_results
|
641
|
+
# This parameter limits the number of results returned for a
|
642
|
+
# ListFHIRExportJobs to a maximum quantity specified by the user.
|
643
|
+
#
|
644
|
+
# @option params [String] :job_name
|
645
|
+
# This parameter limits the response to the export job with the
|
646
|
+
# specified job name.
|
647
|
+
#
|
648
|
+
# @option params [String] :job_status
|
649
|
+
# This parameter limits the response to the export jobs with the
|
650
|
+
# specified job status.
|
651
|
+
#
|
652
|
+
# @option params [Time,DateTime,Date,Integer,String] :submitted_before
|
653
|
+
# This parameter limits the response to FHIR export jobs submitted
|
654
|
+
# before a user specified date.
|
655
|
+
#
|
656
|
+
# @option params [Time,DateTime,Date,Integer,String] :submitted_after
|
657
|
+
# This parameter limits the response to FHIR export jobs submitted after
|
658
|
+
# a user specified date.
|
659
|
+
#
|
660
|
+
# @return [Types::ListFHIRExportJobsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
661
|
+
#
|
662
|
+
# * {Types::ListFHIRExportJobsResponse#export_job_properties_list #export_job_properties_list} => Array<Types::ExportJobProperties>
|
663
|
+
# * {Types::ListFHIRExportJobsResponse#next_token #next_token} => String
|
664
|
+
#
|
665
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
666
|
+
#
|
667
|
+
# @example Request syntax with placeholder values
|
668
|
+
#
|
669
|
+
# resp = client.list_fhir_export_jobs({
|
670
|
+
# datastore_id: "DatastoreId", # required
|
671
|
+
# next_token: "NextToken",
|
672
|
+
# max_results: 1,
|
673
|
+
# job_name: "JobName",
|
674
|
+
# job_status: "SUBMITTED", # accepts SUBMITTED, IN_PROGRESS, COMPLETED_WITH_ERRORS, COMPLETED, FAILED
|
675
|
+
# submitted_before: Time.now,
|
676
|
+
# submitted_after: Time.now,
|
677
|
+
# })
|
678
|
+
#
|
679
|
+
# @example Response structure
|
680
|
+
#
|
681
|
+
# resp.export_job_properties_list #=> Array
|
682
|
+
# resp.export_job_properties_list[0].job_id #=> String
|
683
|
+
# resp.export_job_properties_list[0].job_name #=> String
|
684
|
+
# resp.export_job_properties_list[0].job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED_WITH_ERRORS", "COMPLETED", "FAILED"
|
685
|
+
# resp.export_job_properties_list[0].submit_time #=> Time
|
686
|
+
# resp.export_job_properties_list[0].end_time #=> Time
|
687
|
+
# resp.export_job_properties_list[0].datastore_id #=> String
|
688
|
+
# resp.export_job_properties_list[0].output_data_config.s3_configuration.s3_uri #=> String
|
689
|
+
# resp.export_job_properties_list[0].output_data_config.s3_configuration.kms_key_id #=> String
|
690
|
+
# resp.export_job_properties_list[0].data_access_role_arn #=> String
|
691
|
+
# resp.export_job_properties_list[0].message #=> String
|
692
|
+
# resp.next_token #=> String
|
693
|
+
#
|
694
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/ListFHIRExportJobs AWS API Documentation
|
695
|
+
#
|
696
|
+
# @overload list_fhir_export_jobs(params = {})
|
697
|
+
# @param [Hash] params ({})
|
698
|
+
def list_fhir_export_jobs(params = {}, options = {})
|
699
|
+
req = build_request(:list_fhir_export_jobs, params)
|
700
|
+
req.send_request(options)
|
701
|
+
end
|
702
|
+
|
703
|
+
# Lists all FHIR import jobs associated with an account and their
|
704
|
+
# statuses.
|
705
|
+
#
|
706
|
+
# @option params [required, String] :datastore_id
|
707
|
+
# This parameter limits the response to the import job with the
|
708
|
+
# specified Data Store ID.
|
709
|
+
#
|
710
|
+
# @option params [String] :next_token
|
711
|
+
# A pagination token used to identify the next page of results to return
|
712
|
+
# for a ListFHIRImportJobs query.
|
713
|
+
#
|
714
|
+
# @option params [Integer] :max_results
|
715
|
+
# This parameter limits the number of results returned for a
|
716
|
+
# ListFHIRImportJobs to a maximum quantity specified by the user.
|
717
|
+
#
|
718
|
+
# @option params [String] :job_name
|
719
|
+
# This parameter limits the response to the import job with the
|
720
|
+
# specified job name.
|
721
|
+
#
|
722
|
+
# @option params [String] :job_status
|
723
|
+
# This parameter limits the response to the import job with the
|
724
|
+
# specified job status.
|
725
|
+
#
|
726
|
+
# @option params [Time,DateTime,Date,Integer,String] :submitted_before
|
727
|
+
# This parameter limits the response to FHIR import jobs submitted
|
728
|
+
# before a user specified date.
|
729
|
+
#
|
730
|
+
# @option params [Time,DateTime,Date,Integer,String] :submitted_after
|
731
|
+
# This parameter limits the response to FHIR import jobs submitted after
|
732
|
+
# a user specified date.
|
733
|
+
#
|
734
|
+
# @return [Types::ListFHIRImportJobsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
735
|
+
#
|
736
|
+
# * {Types::ListFHIRImportJobsResponse#import_job_properties_list #import_job_properties_list} => Array<Types::ImportJobProperties>
|
737
|
+
# * {Types::ListFHIRImportJobsResponse#next_token #next_token} => String
|
738
|
+
#
|
739
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
740
|
+
#
|
741
|
+
# @example Request syntax with placeholder values
|
742
|
+
#
|
743
|
+
# resp = client.list_fhir_import_jobs({
|
744
|
+
# datastore_id: "DatastoreId", # required
|
745
|
+
# next_token: "NextToken",
|
746
|
+
# max_results: 1,
|
747
|
+
# job_name: "JobName",
|
748
|
+
# job_status: "SUBMITTED", # accepts SUBMITTED, IN_PROGRESS, COMPLETED_WITH_ERRORS, COMPLETED, FAILED
|
749
|
+
# submitted_before: Time.now,
|
750
|
+
# submitted_after: Time.now,
|
751
|
+
# })
|
752
|
+
#
|
753
|
+
# @example Response structure
|
754
|
+
#
|
755
|
+
# resp.import_job_properties_list #=> Array
|
756
|
+
# resp.import_job_properties_list[0].job_id #=> String
|
757
|
+
# resp.import_job_properties_list[0].job_name #=> String
|
758
|
+
# resp.import_job_properties_list[0].job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED_WITH_ERRORS", "COMPLETED", "FAILED"
|
759
|
+
# resp.import_job_properties_list[0].submit_time #=> Time
|
760
|
+
# resp.import_job_properties_list[0].end_time #=> Time
|
761
|
+
# resp.import_job_properties_list[0].datastore_id #=> String
|
762
|
+
# resp.import_job_properties_list[0].input_data_config.s3_uri #=> String
|
763
|
+
# resp.import_job_properties_list[0].job_output_data_config.s3_configuration.s3_uri #=> String
|
764
|
+
# resp.import_job_properties_list[0].job_output_data_config.s3_configuration.kms_key_id #=> String
|
765
|
+
# resp.import_job_properties_list[0].data_access_role_arn #=> String
|
766
|
+
# resp.import_job_properties_list[0].message #=> String
|
767
|
+
# resp.next_token #=> String
|
768
|
+
#
|
769
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/ListFHIRImportJobs AWS API Documentation
|
770
|
+
#
|
771
|
+
# @overload list_fhir_import_jobs(params = {})
|
772
|
+
# @param [Hash] params ({})
|
773
|
+
def list_fhir_import_jobs(params = {}, options = {})
|
774
|
+
req = build_request(:list_fhir_import_jobs, params)
|
775
|
+
req.send_request(options)
|
776
|
+
end
|
777
|
+
|
778
|
+
# Returns a list of all existing tags associated with a Data Store.
|
779
|
+
#
|
780
|
+
# @option params [required, String] :resource_arn
|
781
|
+
# The Amazon Resource Name(ARN) of the Data Store for which tags are
|
782
|
+
# being added.
|
783
|
+
#
|
784
|
+
# @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
785
|
+
#
|
786
|
+
# * {Types::ListTagsForResourceResponse#tags #tags} => Array<Types::Tag>
|
787
|
+
#
|
788
|
+
# @example Request syntax with placeholder values
|
789
|
+
#
|
790
|
+
# resp = client.list_tags_for_resource({
|
791
|
+
# resource_arn: "AmazonResourceName", # required
|
792
|
+
# })
|
793
|
+
#
|
794
|
+
# @example Response structure
|
795
|
+
#
|
796
|
+
# resp.tags #=> Array
|
797
|
+
# resp.tags[0].key #=> String
|
798
|
+
# resp.tags[0].value #=> String
|
799
|
+
#
|
800
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/ListTagsForResource AWS API Documentation
|
801
|
+
#
|
802
|
+
# @overload list_tags_for_resource(params = {})
|
803
|
+
# @param [Hash] params ({})
|
804
|
+
def list_tags_for_resource(params = {}, options = {})
|
805
|
+
req = build_request(:list_tags_for_resource, params)
|
806
|
+
req.send_request(options)
|
807
|
+
end
|
808
|
+
|
603
809
|
# Begins a FHIR export job.
|
604
810
|
#
|
605
811
|
# @option params [String] :job_name
|
@@ -633,7 +839,10 @@ module Aws::HealthLake
|
|
633
839
|
# resp = client.start_fhir_export_job({
|
634
840
|
# job_name: "JobName",
|
635
841
|
# output_data_config: { # required
|
636
|
-
#
|
842
|
+
# s3_configuration: {
|
843
|
+
# s3_uri: "S3Uri", # required
|
844
|
+
# kms_key_id: "EncryptionKeyID", # required
|
845
|
+
# },
|
637
846
|
# },
|
638
847
|
# datastore_id: "DatastoreId", # required
|
639
848
|
# data_access_role_arn: "IamRoleArn", # required
|
@@ -643,7 +852,7 @@ module Aws::HealthLake
|
|
643
852
|
# @example Response structure
|
644
853
|
#
|
645
854
|
# resp.job_id #=> String
|
646
|
-
# resp.job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED", "FAILED"
|
855
|
+
# resp.job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED_WITH_ERRORS", "COMPLETED", "FAILED"
|
647
856
|
# resp.datastore_id #=> String
|
648
857
|
#
|
649
858
|
# @see http://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/StartFHIRExportJob AWS API Documentation
|
@@ -664,6 +873,10 @@ module Aws::HealthLake
|
|
664
873
|
# The input properties of the FHIR Import job in the StartFHIRImport job
|
665
874
|
# request.
|
666
875
|
#
|
876
|
+
# @option params [required, Types::OutputDataConfig] :job_output_data_config
|
877
|
+
# The output data configuration that was supplied when the export job
|
878
|
+
# was created.
|
879
|
+
#
|
667
880
|
# @option params [required, String] :datastore_id
|
668
881
|
# The AWS-generated Data Store ID.
|
669
882
|
#
|
@@ -690,6 +903,12 @@ module Aws::HealthLake
|
|
690
903
|
# input_data_config: { # required
|
691
904
|
# s3_uri: "S3Uri",
|
692
905
|
# },
|
906
|
+
# job_output_data_config: { # required
|
907
|
+
# s3_configuration: {
|
908
|
+
# s3_uri: "S3Uri", # required
|
909
|
+
# kms_key_id: "EncryptionKeyID", # required
|
910
|
+
# },
|
911
|
+
# },
|
693
912
|
# datastore_id: "DatastoreId", # required
|
694
913
|
# data_access_role_arn: "IamRoleArn", # required
|
695
914
|
# client_token: "ClientTokenString", # required
|
@@ -698,7 +917,7 @@ module Aws::HealthLake
|
|
698
917
|
# @example Response structure
|
699
918
|
#
|
700
919
|
# resp.job_id #=> String
|
701
|
-
# resp.job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED", "FAILED"
|
920
|
+
# resp.job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED_WITH_ERRORS", "COMPLETED", "FAILED"
|
702
921
|
# resp.datastore_id #=> String
|
703
922
|
#
|
704
923
|
# @see http://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/StartFHIRImportJob AWS API Documentation
|
@@ -710,6 +929,66 @@ module Aws::HealthLake
|
|
710
929
|
req.send_request(options)
|
711
930
|
end
|
712
931
|
|
932
|
+
# Adds a user specifed key and value tag to a Data Store.
|
933
|
+
#
|
934
|
+
# @option params [required, String] :resource_arn
|
935
|
+
# The Amazon Resource Name(ARN)that gives Amazon HealthLake access to
|
936
|
+
# the Data Store which tags are being added to.
|
937
|
+
#
|
938
|
+
# @option params [required, Array<Types::Tag>] :tags
|
939
|
+
# The user specified key and value pair tags being added to a Data
|
940
|
+
# Store.
|
941
|
+
#
|
942
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
943
|
+
#
|
944
|
+
# @example Request syntax with placeholder values
|
945
|
+
#
|
946
|
+
# resp = client.tag_resource({
|
947
|
+
# resource_arn: "AmazonResourceName", # required
|
948
|
+
# tags: [ # required
|
949
|
+
# {
|
950
|
+
# key: "TagKey", # required
|
951
|
+
# value: "TagValue", # required
|
952
|
+
# },
|
953
|
+
# ],
|
954
|
+
# })
|
955
|
+
#
|
956
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/TagResource AWS API Documentation
|
957
|
+
#
|
958
|
+
# @overload tag_resource(params = {})
|
959
|
+
# @param [Hash] params ({})
|
960
|
+
def tag_resource(params = {}, options = {})
|
961
|
+
req = build_request(:tag_resource, params)
|
962
|
+
req.send_request(options)
|
963
|
+
end
|
964
|
+
|
965
|
+
# Removes tags from a Data Store.
|
966
|
+
#
|
967
|
+
# @option params [required, String] :resource_arn
|
968
|
+
# "The Amazon Resource Name(ARN) of the Data Store for which tags are
|
969
|
+
# being removed
|
970
|
+
#
|
971
|
+
# @option params [required, Array<String>] :tag_keys
|
972
|
+
# The keys for the tags to be removed from the Healthlake Data Store.
|
973
|
+
#
|
974
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
975
|
+
#
|
976
|
+
# @example Request syntax with placeholder values
|
977
|
+
#
|
978
|
+
# resp = client.untag_resource({
|
979
|
+
# resource_arn: "AmazonResourceName", # required
|
980
|
+
# tag_keys: ["TagKey"], # required
|
981
|
+
# })
|
982
|
+
#
|
983
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/UntagResource AWS API Documentation
|
984
|
+
#
|
985
|
+
# @overload untag_resource(params = {})
|
986
|
+
# @param [Hash] params ({})
|
987
|
+
def untag_resource(params = {}, options = {})
|
988
|
+
req = build_request(:untag_resource, params)
|
989
|
+
req.send_request(options)
|
990
|
+
end
|
991
|
+
|
713
992
|
# @!endgroup
|
714
993
|
|
715
994
|
# @param params ({})
|
@@ -723,7 +1002,7 @@ module Aws::HealthLake
|
|
723
1002
|
params: params,
|
724
1003
|
config: config)
|
725
1004
|
context[:gem_name] = 'aws-sdk-healthlake'
|
726
|
-
context[:gem_version] = '1.
|
1005
|
+
context[:gem_version] = '1.7.0'
|
727
1006
|
Seahorse::Client::Request.new(handlers, context)
|
728
1007
|
end
|
729
1008
|
|
@@ -14,8 +14,10 @@ module Aws::HealthLake
|
|
14
14
|
include Seahorse::Model
|
15
15
|
|
16
16
|
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
17
|
+
AmazonResourceName = Shapes::StringShape.new(name: 'AmazonResourceName')
|
17
18
|
BoundedLengthString = Shapes::StringShape.new(name: 'BoundedLengthString')
|
18
19
|
ClientTokenString = Shapes::StringShape.new(name: 'ClientTokenString')
|
20
|
+
CmkType = Shapes::StringShape.new(name: 'CmkType')
|
19
21
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
20
22
|
CreateFHIRDatastoreRequest = Shapes::StructureShape.new(name: 'CreateFHIRDatastoreRequest')
|
21
23
|
CreateFHIRDatastoreResponse = Shapes::StructureShape.new(name: 'CreateFHIRDatastoreResponse')
|
@@ -34,32 +36,53 @@ module Aws::HealthLake
|
|
34
36
|
DescribeFHIRExportJobResponse = Shapes::StructureShape.new(name: 'DescribeFHIRExportJobResponse')
|
35
37
|
DescribeFHIRImportJobRequest = Shapes::StructureShape.new(name: 'DescribeFHIRImportJobRequest')
|
36
38
|
DescribeFHIRImportJobResponse = Shapes::StructureShape.new(name: 'DescribeFHIRImportJobResponse')
|
39
|
+
EncryptionKeyID = Shapes::StringShape.new(name: 'EncryptionKeyID')
|
37
40
|
ExportJobProperties = Shapes::StructureShape.new(name: 'ExportJobProperties')
|
41
|
+
ExportJobPropertiesList = Shapes::ListShape.new(name: 'ExportJobPropertiesList')
|
38
42
|
FHIRVersion = Shapes::StringShape.new(name: 'FHIRVersion')
|
39
43
|
IamRoleArn = Shapes::StringShape.new(name: 'IamRoleArn')
|
40
44
|
ImportJobProperties = Shapes::StructureShape.new(name: 'ImportJobProperties')
|
41
|
-
|
45
|
+
ImportJobPropertiesList = Shapes::ListShape.new(name: 'ImportJobPropertiesList')
|
46
|
+
InputDataConfig = Shapes::UnionShape.new(name: 'InputDataConfig')
|
42
47
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
43
48
|
JobId = Shapes::StringShape.new(name: 'JobId')
|
44
49
|
JobName = Shapes::StringShape.new(name: 'JobName')
|
45
50
|
JobStatus = Shapes::StringShape.new(name: 'JobStatus')
|
51
|
+
KmsEncryptionConfig = Shapes::StructureShape.new(name: 'KmsEncryptionConfig')
|
46
52
|
ListFHIRDatastoresRequest = Shapes::StructureShape.new(name: 'ListFHIRDatastoresRequest')
|
47
53
|
ListFHIRDatastoresResponse = Shapes::StructureShape.new(name: 'ListFHIRDatastoresResponse')
|
54
|
+
ListFHIRExportJobsRequest = Shapes::StructureShape.new(name: 'ListFHIRExportJobsRequest')
|
55
|
+
ListFHIRExportJobsResponse = Shapes::StructureShape.new(name: 'ListFHIRExportJobsResponse')
|
56
|
+
ListFHIRImportJobsRequest = Shapes::StructureShape.new(name: 'ListFHIRImportJobsRequest')
|
57
|
+
ListFHIRImportJobsResponse = Shapes::StructureShape.new(name: 'ListFHIRImportJobsResponse')
|
58
|
+
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
59
|
+
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
48
60
|
MaxResultsInteger = Shapes::IntegerShape.new(name: 'MaxResultsInteger')
|
49
61
|
Message = Shapes::StringShape.new(name: 'Message')
|
50
62
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
51
|
-
OutputDataConfig = Shapes::
|
63
|
+
OutputDataConfig = Shapes::UnionShape.new(name: 'OutputDataConfig')
|
52
64
|
PreloadDataConfig = Shapes::StructureShape.new(name: 'PreloadDataConfig')
|
53
65
|
PreloadDataType = Shapes::StringShape.new(name: 'PreloadDataType')
|
54
66
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
67
|
+
S3Configuration = Shapes::StructureShape.new(name: 'S3Configuration')
|
55
68
|
S3Uri = Shapes::StringShape.new(name: 'S3Uri')
|
69
|
+
SseConfiguration = Shapes::StructureShape.new(name: 'SseConfiguration')
|
56
70
|
StartFHIRExportJobRequest = Shapes::StructureShape.new(name: 'StartFHIRExportJobRequest')
|
57
71
|
StartFHIRExportJobResponse = Shapes::StructureShape.new(name: 'StartFHIRExportJobResponse')
|
58
72
|
StartFHIRImportJobRequest = Shapes::StructureShape.new(name: 'StartFHIRImportJobRequest')
|
59
73
|
StartFHIRImportJobResponse = Shapes::StructureShape.new(name: 'StartFHIRImportJobResponse')
|
60
74
|
String = Shapes::StringShape.new(name: 'String')
|
75
|
+
Tag = Shapes::StructureShape.new(name: 'Tag')
|
76
|
+
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
77
|
+
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
78
|
+
TagList = Shapes::ListShape.new(name: 'TagList')
|
79
|
+
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
80
|
+
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
81
|
+
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
61
82
|
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
62
83
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
84
|
+
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
85
|
+
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
63
86
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
64
87
|
|
65
88
|
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
@@ -70,8 +93,10 @@ module Aws::HealthLake
|
|
70
93
|
|
71
94
|
CreateFHIRDatastoreRequest.add_member(:datastore_name, Shapes::ShapeRef.new(shape: DatastoreName, location_name: "DatastoreName"))
|
72
95
|
CreateFHIRDatastoreRequest.add_member(:datastore_type_version, Shapes::ShapeRef.new(shape: FHIRVersion, required: true, location_name: "DatastoreTypeVersion"))
|
96
|
+
CreateFHIRDatastoreRequest.add_member(:sse_configuration, Shapes::ShapeRef.new(shape: SseConfiguration, location_name: "SseConfiguration"))
|
73
97
|
CreateFHIRDatastoreRequest.add_member(:preload_data_config, Shapes::ShapeRef.new(shape: PreloadDataConfig, location_name: "PreloadDataConfig"))
|
74
98
|
CreateFHIRDatastoreRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientTokenString, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
99
|
+
CreateFHIRDatastoreRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
75
100
|
CreateFHIRDatastoreRequest.struct_class = Types::CreateFHIRDatastoreRequest
|
76
101
|
|
77
102
|
CreateFHIRDatastoreResponse.add_member(:datastore_id, Shapes::ShapeRef.new(shape: DatastoreId, required: true, location_name: "DatastoreId"))
|
@@ -93,6 +118,7 @@ module Aws::HealthLake
|
|
93
118
|
DatastoreProperties.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
|
94
119
|
DatastoreProperties.add_member(:datastore_type_version, Shapes::ShapeRef.new(shape: FHIRVersion, required: true, location_name: "DatastoreTypeVersion"))
|
95
120
|
DatastoreProperties.add_member(:datastore_endpoint, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DatastoreEndpoint"))
|
121
|
+
DatastoreProperties.add_member(:sse_configuration, Shapes::ShapeRef.new(shape: SseConfiguration, location_name: "SseConfiguration"))
|
96
122
|
DatastoreProperties.add_member(:preload_data_config, Shapes::ShapeRef.new(shape: PreloadDataConfig, location_name: "PreloadDataConfig"))
|
97
123
|
DatastoreProperties.struct_class = Types::DatastoreProperties
|
98
124
|
|
@@ -138,6 +164,8 @@ module Aws::HealthLake
|
|
138
164
|
ExportJobProperties.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
|
139
165
|
ExportJobProperties.struct_class = Types::ExportJobProperties
|
140
166
|
|
167
|
+
ExportJobPropertiesList.member = Shapes::ShapeRef.new(shape: ExportJobProperties)
|
168
|
+
|
141
169
|
ImportJobProperties.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
|
142
170
|
ImportJobProperties.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
|
143
171
|
ImportJobProperties.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, required: true, location_name: "JobStatus"))
|
@@ -145,16 +173,26 @@ module Aws::HealthLake
|
|
145
173
|
ImportJobProperties.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndTime"))
|
146
174
|
ImportJobProperties.add_member(:datastore_id, Shapes::ShapeRef.new(shape: DatastoreId, required: true, location_name: "DatastoreId"))
|
147
175
|
ImportJobProperties.add_member(:input_data_config, Shapes::ShapeRef.new(shape: InputDataConfig, required: true, location_name: "InputDataConfig"))
|
176
|
+
ImportJobProperties.add_member(:job_output_data_config, Shapes::ShapeRef.new(shape: OutputDataConfig, location_name: "JobOutputDataConfig"))
|
148
177
|
ImportJobProperties.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "DataAccessRoleArn"))
|
149
178
|
ImportJobProperties.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
|
150
179
|
ImportJobProperties.struct_class = Types::ImportJobProperties
|
151
180
|
|
181
|
+
ImportJobPropertiesList.member = Shapes::ShapeRef.new(shape: ImportJobProperties)
|
182
|
+
|
152
183
|
InputDataConfig.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Uri, location_name: "S3Uri"))
|
184
|
+
InputDataConfig.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
185
|
+
InputDataConfig.add_member_subclass(:s3_uri, Types::InputDataConfig::S3Uri)
|
186
|
+
InputDataConfig.add_member_subclass(:unknown, Types::InputDataConfig::Unknown)
|
153
187
|
InputDataConfig.struct_class = Types::InputDataConfig
|
154
188
|
|
155
189
|
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
156
190
|
InternalServerException.struct_class = Types::InternalServerException
|
157
191
|
|
192
|
+
KmsEncryptionConfig.add_member(:cmk_type, Shapes::ShapeRef.new(shape: CmkType, required: true, location_name: "CmkType"))
|
193
|
+
KmsEncryptionConfig.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: EncryptionKeyID, location_name: "KmsKeyId"))
|
194
|
+
KmsEncryptionConfig.struct_class = Types::KmsEncryptionConfig
|
195
|
+
|
158
196
|
ListFHIRDatastoresRequest.add_member(:filter, Shapes::ShapeRef.new(shape: DatastoreFilter, location_name: "Filter"))
|
159
197
|
ListFHIRDatastoresRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
160
198
|
ListFHIRDatastoresRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsInteger, location_name: "MaxResults"))
|
@@ -164,7 +202,42 @@ module Aws::HealthLake
|
|
164
202
|
ListFHIRDatastoresResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
165
203
|
ListFHIRDatastoresResponse.struct_class = Types::ListFHIRDatastoresResponse
|
166
204
|
|
167
|
-
|
205
|
+
ListFHIRExportJobsRequest.add_member(:datastore_id, Shapes::ShapeRef.new(shape: DatastoreId, required: true, location_name: "DatastoreId"))
|
206
|
+
ListFHIRExportJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
207
|
+
ListFHIRExportJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsInteger, location_name: "MaxResults"))
|
208
|
+
ListFHIRExportJobsRequest.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
|
209
|
+
ListFHIRExportJobsRequest.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
210
|
+
ListFHIRExportJobsRequest.add_member(:submitted_before, Shapes::ShapeRef.new(shape: Timestamp, location_name: "SubmittedBefore"))
|
211
|
+
ListFHIRExportJobsRequest.add_member(:submitted_after, Shapes::ShapeRef.new(shape: Timestamp, location_name: "SubmittedAfter"))
|
212
|
+
ListFHIRExportJobsRequest.struct_class = Types::ListFHIRExportJobsRequest
|
213
|
+
|
214
|
+
ListFHIRExportJobsResponse.add_member(:export_job_properties_list, Shapes::ShapeRef.new(shape: ExportJobPropertiesList, required: true, location_name: "ExportJobPropertiesList"))
|
215
|
+
ListFHIRExportJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
216
|
+
ListFHIRExportJobsResponse.struct_class = Types::ListFHIRExportJobsResponse
|
217
|
+
|
218
|
+
ListFHIRImportJobsRequest.add_member(:datastore_id, Shapes::ShapeRef.new(shape: DatastoreId, required: true, location_name: "DatastoreId"))
|
219
|
+
ListFHIRImportJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
220
|
+
ListFHIRImportJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsInteger, location_name: "MaxResults"))
|
221
|
+
ListFHIRImportJobsRequest.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
|
222
|
+
ListFHIRImportJobsRequest.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
|
223
|
+
ListFHIRImportJobsRequest.add_member(:submitted_before, Shapes::ShapeRef.new(shape: Timestamp, location_name: "SubmittedBefore"))
|
224
|
+
ListFHIRImportJobsRequest.add_member(:submitted_after, Shapes::ShapeRef.new(shape: Timestamp, location_name: "SubmittedAfter"))
|
225
|
+
ListFHIRImportJobsRequest.struct_class = Types::ListFHIRImportJobsRequest
|
226
|
+
|
227
|
+
ListFHIRImportJobsResponse.add_member(:import_job_properties_list, Shapes::ShapeRef.new(shape: ImportJobPropertiesList, required: true, location_name: "ImportJobPropertiesList"))
|
228
|
+
ListFHIRImportJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
229
|
+
ListFHIRImportJobsResponse.struct_class = Types::ListFHIRImportJobsResponse
|
230
|
+
|
231
|
+
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "ResourceARN"))
|
232
|
+
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
233
|
+
|
234
|
+
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
235
|
+
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
236
|
+
|
237
|
+
OutputDataConfig.add_member(:s3_configuration, Shapes::ShapeRef.new(shape: S3Configuration, location_name: "S3Configuration"))
|
238
|
+
OutputDataConfig.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
239
|
+
OutputDataConfig.add_member_subclass(:s3_configuration, Types::OutputDataConfig::S3Configuration)
|
240
|
+
OutputDataConfig.add_member_subclass(:unknown, Types::OutputDataConfig::Unknown)
|
168
241
|
OutputDataConfig.struct_class = Types::OutputDataConfig
|
169
242
|
|
170
243
|
PreloadDataConfig.add_member(:preload_data_type, Shapes::ShapeRef.new(shape: PreloadDataType, required: true, location_name: "PreloadDataType"))
|
@@ -173,6 +246,13 @@ module Aws::HealthLake
|
|
173
246
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
174
247
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
175
248
|
|
249
|
+
S3Configuration.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "S3Uri"))
|
250
|
+
S3Configuration.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: EncryptionKeyID, required: true, location_name: "KmsKeyId"))
|
251
|
+
S3Configuration.struct_class = Types::S3Configuration
|
252
|
+
|
253
|
+
SseConfiguration.add_member(:kms_encryption_config, Shapes::ShapeRef.new(shape: KmsEncryptionConfig, required: true, location_name: "KmsEncryptionConfig"))
|
254
|
+
SseConfiguration.struct_class = Types::SseConfiguration
|
255
|
+
|
176
256
|
StartFHIRExportJobRequest.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
|
177
257
|
StartFHIRExportJobRequest.add_member(:output_data_config, Shapes::ShapeRef.new(shape: OutputDataConfig, required: true, location_name: "OutputDataConfig"))
|
178
258
|
StartFHIRExportJobRequest.add_member(:datastore_id, Shapes::ShapeRef.new(shape: DatastoreId, required: true, location_name: "DatastoreId"))
|
@@ -187,6 +267,7 @@ module Aws::HealthLake
|
|
187
267
|
|
188
268
|
StartFHIRImportJobRequest.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
|
189
269
|
StartFHIRImportJobRequest.add_member(:input_data_config, Shapes::ShapeRef.new(shape: InputDataConfig, required: true, location_name: "InputDataConfig"))
|
270
|
+
StartFHIRImportJobRequest.add_member(:job_output_data_config, Shapes::ShapeRef.new(shape: OutputDataConfig, required: true, location_name: "JobOutputDataConfig"))
|
190
271
|
StartFHIRImportJobRequest.add_member(:datastore_id, Shapes::ShapeRef.new(shape: DatastoreId, required: true, location_name: "DatastoreId"))
|
191
272
|
StartFHIRImportJobRequest.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, required: true, location_name: "DataAccessRoleArn"))
|
192
273
|
StartFHIRImportJobRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientTokenString, required: true, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
@@ -197,9 +278,29 @@ module Aws::HealthLake
|
|
197
278
|
StartFHIRImportJobResponse.add_member(:datastore_id, Shapes::ShapeRef.new(shape: DatastoreId, location_name: "DatastoreId"))
|
198
279
|
StartFHIRImportJobResponse.struct_class = Types::StartFHIRImportJobResponse
|
199
280
|
|
281
|
+
Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
|
282
|
+
Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "Value"))
|
283
|
+
Tag.struct_class = Types::Tag
|
284
|
+
|
285
|
+
TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
|
286
|
+
|
287
|
+
TagList.member = Shapes::ShapeRef.new(shape: Tag)
|
288
|
+
|
289
|
+
TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "ResourceARN"))
|
290
|
+
TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "Tags"))
|
291
|
+
TagResourceRequest.struct_class = Types::TagResourceRequest
|
292
|
+
|
293
|
+
TagResourceResponse.struct_class = Types::TagResourceResponse
|
294
|
+
|
200
295
|
ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
201
296
|
ThrottlingException.struct_class = Types::ThrottlingException
|
202
297
|
|
298
|
+
UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "ResourceARN"))
|
299
|
+
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "TagKeys"))
|
300
|
+
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
301
|
+
|
302
|
+
UntagResourceResponse.struct_class = Types::UntagResourceResponse
|
303
|
+
|
203
304
|
ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
204
305
|
ValidationException.struct_class = Types::ValidationException
|
205
306
|
|
@@ -231,6 +332,7 @@ module Aws::HealthLake
|
|
231
332
|
o.output = Shapes::ShapeRef.new(shape: CreateFHIRDatastoreResponse)
|
232
333
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
233
334
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
335
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
234
336
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
235
337
|
end)
|
236
338
|
|
@@ -301,6 +403,54 @@ module Aws::HealthLake
|
|
301
403
|
)
|
302
404
|
end)
|
303
405
|
|
406
|
+
api.add_operation(:list_fhir_export_jobs, Seahorse::Model::Operation.new.tap do |o|
|
407
|
+
o.name = "ListFHIRExportJobs"
|
408
|
+
o.http_method = "POST"
|
409
|
+
o.http_request_uri = "/"
|
410
|
+
o.input = Shapes::ShapeRef.new(shape: ListFHIRExportJobsRequest)
|
411
|
+
o.output = Shapes::ShapeRef.new(shape: ListFHIRExportJobsResponse)
|
412
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
413
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
414
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
415
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
416
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
417
|
+
o[:pager] = Aws::Pager.new(
|
418
|
+
limit_key: "max_results",
|
419
|
+
tokens: {
|
420
|
+
"next_token" => "next_token"
|
421
|
+
}
|
422
|
+
)
|
423
|
+
end)
|
424
|
+
|
425
|
+
api.add_operation(:list_fhir_import_jobs, Seahorse::Model::Operation.new.tap do |o|
|
426
|
+
o.name = "ListFHIRImportJobs"
|
427
|
+
o.http_method = "POST"
|
428
|
+
o.http_request_uri = "/"
|
429
|
+
o.input = Shapes::ShapeRef.new(shape: ListFHIRImportJobsRequest)
|
430
|
+
o.output = Shapes::ShapeRef.new(shape: ListFHIRImportJobsResponse)
|
431
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
432
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
433
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
434
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
435
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
436
|
+
o[:pager] = Aws::Pager.new(
|
437
|
+
limit_key: "max_results",
|
438
|
+
tokens: {
|
439
|
+
"next_token" => "next_token"
|
440
|
+
}
|
441
|
+
)
|
442
|
+
end)
|
443
|
+
|
444
|
+
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
445
|
+
o.name = "ListTagsForResource"
|
446
|
+
o.http_method = "POST"
|
447
|
+
o.http_request_uri = "/"
|
448
|
+
o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
|
449
|
+
o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
|
450
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
451
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
452
|
+
end)
|
453
|
+
|
304
454
|
api.add_operation(:start_fhir_export_job, Seahorse::Model::Operation.new.tap do |o|
|
305
455
|
o.name = "StartFHIRExportJob"
|
306
456
|
o.http_method = "POST"
|
@@ -326,6 +476,26 @@ module Aws::HealthLake
|
|
326
476
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
327
477
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
328
478
|
end)
|
479
|
+
|
480
|
+
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
481
|
+
o.name = "TagResource"
|
482
|
+
o.http_method = "POST"
|
483
|
+
o.http_request_uri = "/"
|
484
|
+
o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
|
485
|
+
o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
|
486
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
487
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
488
|
+
end)
|
489
|
+
|
490
|
+
api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
|
491
|
+
o.name = "UntagResource"
|
492
|
+
o.http_method = "POST"
|
493
|
+
o.http_request_uri = "/"
|
494
|
+
o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
|
495
|
+
o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
|
496
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
497
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
498
|
+
end)
|
329
499
|
end
|
330
500
|
|
331
501
|
end
|