aws-sdk-healthlake 1.15.0 → 1.16.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8ce22e5ee06d1827d7f967486eba82ff79e8bc201807fd3f7b8c86ccbae445bc
4
- data.tar.gz: ca59b79940418cd430854399be45783ae188a14d93e9aad893bc4c01358d1c7d
3
+ metadata.gz: 1618cd17de79f7e20300bb343448fff1471fe98c3fc192a7f62820efe05c5412
4
+ data.tar.gz: 0f8666e3353b7e4cce7ff883b78f5e42f061093ff62e3053b2f79f4c372a0942
5
5
  SHA512:
6
- metadata.gz: 179e3319f8b509e37bb3cbf172164cb1547cb5ac5e16133c0df1dca3f93a3869855f4b8a54b16d6efb2175bd4604d1b9fa9de694404d58198b199ed24fb130eb
7
- data.tar.gz: b1ea0db52fb718d80bdb692c80a1c5c4db897adfde401bc2756ddc64f889959c824458521eaf3bedc5a9568cee62455369ee29af3fdf372cdda92ab2f9fddad9
6
+ metadata.gz: 43a919a1f6848bf7d0318453e19174d6bc8d5b19f5656f4d6bd941344701132a9110798e42f998a896369e31e7313ab0f3ed234106586a6dc35adb070bac755c
7
+ data.tar.gz: 2b22f779019ca74b4150dc188bd35430cb8107a9d7d0f0015b514f7eba9bbf7a0caad0cf5fd16a29aab9e30ebb2cf66d6de1d5d6a54dabff56dae91e6a04c5e1
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.16.0 (2023-05-31)
5
+ ------------------
6
+
7
+ * Feature - This release adds a new request parameter to the CreateFHIRDatastore API operation. IdentityProviderConfiguration specifies how you want to authenticate incoming requests to your Healthlake Data Store.
8
+
4
9
  1.15.0 (2023-01-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.15.0
1
+ 1.16.0
@@ -275,6 +275,11 @@ module Aws::HealthLake
275
275
  # in the future.
276
276
  #
277
277
  #
278
+ # @option options [String] :sdk_ua_app_id
279
+ # A unique and opaque application ID that is appended to the
280
+ # User-Agent header as app/<sdk_ua_app_id>. It should have a
281
+ # maximum length of 50.
282
+ #
278
283
  # @option options [String] :secret_access_key
279
284
  #
280
285
  # @option options [String] :session_token
@@ -404,6 +409,10 @@ module Aws::HealthLake
404
409
  # @option params [Array<Types::Tag>] :tags
405
410
  # Resource tags that are applied to a Data Store when it is created.
406
411
  #
412
+ # @option params [Types::IdentityProviderConfiguration] :identity_provider_configuration
413
+ # The configuration of the identity provider that you want to use for
414
+ # your Data Store.
415
+ #
407
416
  # @return [Types::CreateFHIRDatastoreResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
408
417
  #
409
418
  # * {Types::CreateFHIRDatastoreResponse#datastore_id #datastore_id} => String
@@ -432,6 +441,12 @@ module Aws::HealthLake
432
441
  # value: "TagValue", # required
433
442
  # },
434
443
  # ],
444
+ # identity_provider_configuration: {
445
+ # authorization_strategy: "SMART_ON_FHIR_V1", # required, accepts SMART_ON_FHIR_V1, AWS_AUTH
446
+ # fine_grained_authorization_enabled: false,
447
+ # metadata: "ConfigurationMetadata",
448
+ # idp_lambda_arn: "LambdaArn",
449
+ # },
435
450
  # })
436
451
  #
437
452
  # @example Response structure
@@ -452,7 +467,7 @@ module Aws::HealthLake
452
467
 
453
468
  # Deletes a Data Store.
454
469
  #
455
- # @option params [String] :datastore_id
470
+ # @option params [required, String] :datastore_id
456
471
  # The AWS-generated ID for the Data Store to be deleted.
457
472
  #
458
473
  # @return [Types::DeleteFHIRDatastoreResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -465,7 +480,7 @@ module Aws::HealthLake
465
480
  # @example Request syntax with placeholder values
466
481
  #
467
482
  # resp = client.delete_fhir_datastore({
468
- # datastore_id: "DatastoreId",
483
+ # datastore_id: "DatastoreId", # required
469
484
  # })
470
485
  #
471
486
  # @example Response structure
@@ -488,9 +503,8 @@ module Aws::HealthLake
488
503
  # Data Store ID, Data Store ARN, Data Store name, Data Store status,
489
504
  # created at, Data Store type version, and Data Store endpoint.
490
505
  #
491
- # @option params [String] :datastore_id
492
- # The AWS-generated Data Store id. This is part of the
493
- # ‘CreateFHIRDatastore’ output.
506
+ # @option params [required, String] :datastore_id
507
+ # The AWS-generated Data Store ID.
494
508
  #
495
509
  # @return [Types::DescribeFHIRDatastoreResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
496
510
  #
@@ -499,7 +513,7 @@ module Aws::HealthLake
499
513
  # @example Request syntax with placeholder values
500
514
  #
501
515
  # resp = client.describe_fhir_datastore({
502
- # datastore_id: "DatastoreId",
516
+ # datastore_id: "DatastoreId", # required
503
517
  # })
504
518
  #
505
519
  # @example Response structure
@@ -514,6 +528,10 @@ module Aws::HealthLake
514
528
  # resp.datastore_properties.sse_configuration.kms_encryption_config.cmk_type #=> String, one of "CUSTOMER_MANAGED_KMS_KEY", "AWS_OWNED_KMS_KEY"
515
529
  # resp.datastore_properties.sse_configuration.kms_encryption_config.kms_key_id #=> String
516
530
  # resp.datastore_properties.preload_data_config.preload_data_type #=> String, one of "SYNTHEA"
531
+ # resp.datastore_properties.identity_provider_configuration.authorization_strategy #=> String, one of "SMART_ON_FHIR_V1", "AWS_AUTH"
532
+ # resp.datastore_properties.identity_provider_configuration.fine_grained_authorization_enabled #=> Boolean
533
+ # resp.datastore_properties.identity_provider_configuration.metadata #=> String
534
+ # resp.datastore_properties.identity_provider_configuration.idp_lambda_arn #=> String
517
535
  #
518
536
  # @see http://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/DescribeFHIRDatastore AWS API Documentation
519
537
  #
@@ -549,7 +567,7 @@ module Aws::HealthLake
549
567
  #
550
568
  # resp.export_job_properties.job_id #=> String
551
569
  # resp.export_job_properties.job_name #=> String
552
- # resp.export_job_properties.job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED_WITH_ERRORS", "COMPLETED", "FAILED"
570
+ # resp.export_job_properties.job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED_WITH_ERRORS", "COMPLETED", "FAILED", "CANCEL_SUBMITTED", "CANCEL_IN_PROGRESS", "CANCEL_COMPLETED", "CANCEL_FAILED"
553
571
  # resp.export_job_properties.submit_time #=> Time
554
572
  # resp.export_job_properties.end_time #=> Time
555
573
  # resp.export_job_properties.datastore_id #=> String
@@ -591,7 +609,7 @@ module Aws::HealthLake
591
609
  #
592
610
  # resp.import_job_properties.job_id #=> String
593
611
  # resp.import_job_properties.job_name #=> String
594
- # resp.import_job_properties.job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED_WITH_ERRORS", "COMPLETED", "FAILED"
612
+ # resp.import_job_properties.job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED_WITH_ERRORS", "COMPLETED", "FAILED", "CANCEL_SUBMITTED", "CANCEL_IN_PROGRESS", "CANCEL_COMPLETED", "CANCEL_FAILED"
595
613
  # resp.import_job_properties.submit_time #=> Time
596
614
  # resp.import_job_properties.end_time #=> Time
597
615
  # resp.import_job_properties.datastore_id #=> String
@@ -656,6 +674,10 @@ module Aws::HealthLake
656
674
  # resp.datastore_properties_list[0].sse_configuration.kms_encryption_config.cmk_type #=> String, one of "CUSTOMER_MANAGED_KMS_KEY", "AWS_OWNED_KMS_KEY"
657
675
  # resp.datastore_properties_list[0].sse_configuration.kms_encryption_config.kms_key_id #=> String
658
676
  # resp.datastore_properties_list[0].preload_data_config.preload_data_type #=> String, one of "SYNTHEA"
677
+ # resp.datastore_properties_list[0].identity_provider_configuration.authorization_strategy #=> String, one of "SMART_ON_FHIR_V1", "AWS_AUTH"
678
+ # resp.datastore_properties_list[0].identity_provider_configuration.fine_grained_authorization_enabled #=> Boolean
679
+ # resp.datastore_properties_list[0].identity_provider_configuration.metadata #=> String
680
+ # resp.datastore_properties_list[0].identity_provider_configuration.idp_lambda_arn #=> String
659
681
  # resp.next_token #=> String
660
682
  #
661
683
  # @see http://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/ListFHIRDatastores AWS API Documentation
@@ -712,7 +734,7 @@ module Aws::HealthLake
712
734
  # next_token: "NextToken",
713
735
  # max_results: 1,
714
736
  # job_name: "JobName",
715
- # job_status: "SUBMITTED", # accepts SUBMITTED, IN_PROGRESS, COMPLETED_WITH_ERRORS, COMPLETED, FAILED
737
+ # job_status: "SUBMITTED", # accepts SUBMITTED, IN_PROGRESS, COMPLETED_WITH_ERRORS, COMPLETED, FAILED, CANCEL_SUBMITTED, CANCEL_IN_PROGRESS, CANCEL_COMPLETED, CANCEL_FAILED
716
738
  # submitted_before: Time.now,
717
739
  # submitted_after: Time.now,
718
740
  # })
@@ -722,7 +744,7 @@ module Aws::HealthLake
722
744
  # resp.export_job_properties_list #=> Array
723
745
  # resp.export_job_properties_list[0].job_id #=> String
724
746
  # resp.export_job_properties_list[0].job_name #=> String
725
- # resp.export_job_properties_list[0].job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED_WITH_ERRORS", "COMPLETED", "FAILED"
747
+ # resp.export_job_properties_list[0].job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED_WITH_ERRORS", "COMPLETED", "FAILED", "CANCEL_SUBMITTED", "CANCEL_IN_PROGRESS", "CANCEL_COMPLETED", "CANCEL_FAILED"
726
748
  # resp.export_job_properties_list[0].submit_time #=> Time
727
749
  # resp.export_job_properties_list[0].end_time #=> Time
728
750
  # resp.export_job_properties_list[0].datastore_id #=> String
@@ -786,7 +808,7 @@ module Aws::HealthLake
786
808
  # next_token: "NextToken",
787
809
  # max_results: 1,
788
810
  # job_name: "JobName",
789
- # job_status: "SUBMITTED", # accepts SUBMITTED, IN_PROGRESS, COMPLETED_WITH_ERRORS, COMPLETED, FAILED
811
+ # job_status: "SUBMITTED", # accepts SUBMITTED, IN_PROGRESS, COMPLETED_WITH_ERRORS, COMPLETED, FAILED, CANCEL_SUBMITTED, CANCEL_IN_PROGRESS, CANCEL_COMPLETED, CANCEL_FAILED
790
812
  # submitted_before: Time.now,
791
813
  # submitted_after: Time.now,
792
814
  # })
@@ -796,7 +818,7 @@ module Aws::HealthLake
796
818
  # resp.import_job_properties_list #=> Array
797
819
  # resp.import_job_properties_list[0].job_id #=> String
798
820
  # resp.import_job_properties_list[0].job_name #=> String
799
- # resp.import_job_properties_list[0].job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED_WITH_ERRORS", "COMPLETED", "FAILED"
821
+ # resp.import_job_properties_list[0].job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED_WITH_ERRORS", "COMPLETED", "FAILED", "CANCEL_SUBMITTED", "CANCEL_IN_PROGRESS", "CANCEL_COMPLETED", "CANCEL_FAILED"
800
822
  # resp.import_job_properties_list[0].submit_time #=> Time
801
823
  # resp.import_job_properties_list[0].end_time #=> Time
802
824
  # resp.import_job_properties_list[0].datastore_id #=> String
@@ -893,7 +915,7 @@ module Aws::HealthLake
893
915
  # @example Response structure
894
916
  #
895
917
  # resp.job_id #=> String
896
- # resp.job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED_WITH_ERRORS", "COMPLETED", "FAILED"
918
+ # resp.job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED_WITH_ERRORS", "COMPLETED", "FAILED", "CANCEL_SUBMITTED", "CANCEL_IN_PROGRESS", "CANCEL_COMPLETED", "CANCEL_FAILED"
897
919
  # resp.datastore_id #=> String
898
920
  #
899
921
  # @see http://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/StartFHIRExportJob AWS API Documentation
@@ -958,7 +980,7 @@ module Aws::HealthLake
958
980
  # @example Response structure
959
981
  #
960
982
  # resp.job_id #=> String
961
- # resp.job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED_WITH_ERRORS", "COMPLETED", "FAILED"
983
+ # resp.job_status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED_WITH_ERRORS", "COMPLETED", "FAILED", "CANCEL_SUBMITTED", "CANCEL_IN_PROGRESS", "CANCEL_COMPLETED", "CANCEL_FAILED"
962
984
  # resp.datastore_id #=> String
963
985
  #
964
986
  # @see http://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/StartFHIRImportJob AWS API Documentation
@@ -970,7 +992,7 @@ module Aws::HealthLake
970
992
  req.send_request(options)
971
993
  end
972
994
 
973
- # Adds a user specifed key and value tag to a Data Store.
995
+ # Adds a user specified key and value tag to a Data Store.
974
996
  #
975
997
  # @option params [required, String] :resource_arn
976
998
  # The Amazon Resource Name(ARN)that gives Amazon HealthLake access to
@@ -1043,7 +1065,7 @@ module Aws::HealthLake
1043
1065
  params: params,
1044
1066
  config: config)
1045
1067
  context[:gem_name] = 'aws-sdk-healthlake'
1046
- context[:gem_version] = '1.15.0'
1068
+ context[:gem_version] = '1.16.0'
1047
1069
  Seahorse::Client::Request.new(handlers, context)
1048
1070
  end
1049
1071
 
@@ -15,9 +15,12 @@ module Aws::HealthLake
15
15
 
16
16
  AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
17
17
  AmazonResourceName = Shapes::StringShape.new(name: 'AmazonResourceName')
18
+ AuthorizationStrategy = Shapes::StringShape.new(name: 'AuthorizationStrategy')
19
+ Boolean = Shapes::BooleanShape.new(name: 'Boolean')
18
20
  BoundedLengthString = Shapes::StringShape.new(name: 'BoundedLengthString')
19
21
  ClientTokenString = Shapes::StringShape.new(name: 'ClientTokenString')
20
22
  CmkType = Shapes::StringShape.new(name: 'CmkType')
23
+ ConfigurationMetadata = Shapes::StringShape.new(name: 'ConfigurationMetadata')
21
24
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
22
25
  CreateFHIRDatastoreRequest = Shapes::StructureShape.new(name: 'CreateFHIRDatastoreRequest')
23
26
  CreateFHIRDatastoreResponse = Shapes::StructureShape.new(name: 'CreateFHIRDatastoreResponse')
@@ -41,6 +44,7 @@ module Aws::HealthLake
41
44
  ExportJobPropertiesList = Shapes::ListShape.new(name: 'ExportJobPropertiesList')
42
45
  FHIRVersion = Shapes::StringShape.new(name: 'FHIRVersion')
43
46
  IamRoleArn = Shapes::StringShape.new(name: 'IamRoleArn')
47
+ IdentityProviderConfiguration = Shapes::StructureShape.new(name: 'IdentityProviderConfiguration')
44
48
  ImportJobProperties = Shapes::StructureShape.new(name: 'ImportJobProperties')
45
49
  ImportJobPropertiesList = Shapes::ListShape.new(name: 'ImportJobPropertiesList')
46
50
  InputDataConfig = Shapes::UnionShape.new(name: 'InputDataConfig')
@@ -49,6 +53,7 @@ module Aws::HealthLake
49
53
  JobName = Shapes::StringShape.new(name: 'JobName')
50
54
  JobStatus = Shapes::StringShape.new(name: 'JobStatus')
51
55
  KmsEncryptionConfig = Shapes::StructureShape.new(name: 'KmsEncryptionConfig')
56
+ LambdaArn = Shapes::StringShape.new(name: 'LambdaArn')
52
57
  ListFHIRDatastoresRequest = Shapes::StructureShape.new(name: 'ListFHIRDatastoresRequest')
53
58
  ListFHIRDatastoresResponse = Shapes::StructureShape.new(name: 'ListFHIRDatastoresResponse')
54
59
  ListFHIRExportJobsRequest = Shapes::StructureShape.new(name: 'ListFHIRExportJobsRequest')
@@ -97,6 +102,7 @@ module Aws::HealthLake
97
102
  CreateFHIRDatastoreRequest.add_member(:preload_data_config, Shapes::ShapeRef.new(shape: PreloadDataConfig, location_name: "PreloadDataConfig"))
98
103
  CreateFHIRDatastoreRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientTokenString, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
99
104
  CreateFHIRDatastoreRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
105
+ CreateFHIRDatastoreRequest.add_member(:identity_provider_configuration, Shapes::ShapeRef.new(shape: IdentityProviderConfiguration, location_name: "IdentityProviderConfiguration"))
100
106
  CreateFHIRDatastoreRequest.struct_class = Types::CreateFHIRDatastoreRequest
101
107
 
102
108
  CreateFHIRDatastoreResponse.add_member(:datastore_id, Shapes::ShapeRef.new(shape: DatastoreId, required: true, location_name: "DatastoreId"))
@@ -120,11 +126,12 @@ module Aws::HealthLake
120
126
  DatastoreProperties.add_member(:datastore_endpoint, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DatastoreEndpoint"))
121
127
  DatastoreProperties.add_member(:sse_configuration, Shapes::ShapeRef.new(shape: SseConfiguration, location_name: "SseConfiguration"))
122
128
  DatastoreProperties.add_member(:preload_data_config, Shapes::ShapeRef.new(shape: PreloadDataConfig, location_name: "PreloadDataConfig"))
129
+ DatastoreProperties.add_member(:identity_provider_configuration, Shapes::ShapeRef.new(shape: IdentityProviderConfiguration, location_name: "IdentityProviderConfiguration"))
123
130
  DatastoreProperties.struct_class = Types::DatastoreProperties
124
131
 
125
132
  DatastorePropertiesList.member = Shapes::ShapeRef.new(shape: DatastoreProperties)
126
133
 
127
- DeleteFHIRDatastoreRequest.add_member(:datastore_id, Shapes::ShapeRef.new(shape: DatastoreId, location_name: "DatastoreId"))
134
+ DeleteFHIRDatastoreRequest.add_member(:datastore_id, Shapes::ShapeRef.new(shape: DatastoreId, required: true, location_name: "DatastoreId"))
128
135
  DeleteFHIRDatastoreRequest.struct_class = Types::DeleteFHIRDatastoreRequest
129
136
 
130
137
  DeleteFHIRDatastoreResponse.add_member(:datastore_id, Shapes::ShapeRef.new(shape: DatastoreId, required: true, location_name: "DatastoreId"))
@@ -133,7 +140,7 @@ module Aws::HealthLake
133
140
  DeleteFHIRDatastoreResponse.add_member(:datastore_endpoint, Shapes::ShapeRef.new(shape: BoundedLengthString, required: true, location_name: "DatastoreEndpoint"))
134
141
  DeleteFHIRDatastoreResponse.struct_class = Types::DeleteFHIRDatastoreResponse
135
142
 
136
- DescribeFHIRDatastoreRequest.add_member(:datastore_id, Shapes::ShapeRef.new(shape: DatastoreId, location_name: "DatastoreId"))
143
+ DescribeFHIRDatastoreRequest.add_member(:datastore_id, Shapes::ShapeRef.new(shape: DatastoreId, required: true, location_name: "DatastoreId"))
137
144
  DescribeFHIRDatastoreRequest.struct_class = Types::DescribeFHIRDatastoreRequest
138
145
 
139
146
  DescribeFHIRDatastoreResponse.add_member(:datastore_properties, Shapes::ShapeRef.new(shape: DatastoreProperties, required: true, location_name: "DatastoreProperties"))
@@ -166,6 +173,12 @@ module Aws::HealthLake
166
173
 
167
174
  ExportJobPropertiesList.member = Shapes::ShapeRef.new(shape: ExportJobProperties)
168
175
 
176
+ IdentityProviderConfiguration.add_member(:authorization_strategy, Shapes::ShapeRef.new(shape: AuthorizationStrategy, required: true, location_name: "AuthorizationStrategy"))
177
+ IdentityProviderConfiguration.add_member(:fine_grained_authorization_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "FineGrainedAuthorizationEnabled"))
178
+ IdentityProviderConfiguration.add_member(:metadata, Shapes::ShapeRef.new(shape: ConfigurationMetadata, location_name: "Metadata"))
179
+ IdentityProviderConfiguration.add_member(:idp_lambda_arn, Shapes::ShapeRef.new(shape: LambdaArn, location_name: "IdpLambdaArn"))
180
+ IdentityProviderConfiguration.struct_class = Types::IdentityProviderConfiguration
181
+
169
182
  ImportJobProperties.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
170
183
  ImportJobProperties.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, location_name: "JobName"))
171
184
  ImportJobProperties.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, required: true, location_name: "JobStatus"))
@@ -14,36 +14,39 @@ module Aws::HealthLake
14
14
  use_dual_stack = parameters.use_dual_stack
15
15
  use_fips = parameters.use_fips
16
16
  endpoint = parameters.endpoint
17
- if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
- if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
19
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
- raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
- end
22
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
- raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
- end
25
- return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
26
- end
27
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
29
- return Aws::Endpoints::Endpoint.new(url: "https://healthlake-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
- end
31
- raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
32
- end
17
+ if Aws::Endpoints::Matchers.set?(endpoint)
33
18
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
- return Aws::Endpoints::Endpoint.new(url: "https://healthlake-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
- end
37
- raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
19
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
38
20
  end
39
21
  if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
40
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
41
- return Aws::Endpoints::Endpoint.new(url: "https://healthlake.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
22
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
23
+ end
24
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
25
+ end
26
+ if Aws::Endpoints::Matchers.set?(region)
27
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
28
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
29
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
30
+ return Aws::Endpoints::Endpoint.new(url: "https://healthlake-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
31
+ end
32
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
+ end
34
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
36
+ return Aws::Endpoints::Endpoint.new(url: "https://healthlake-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
+ end
38
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
39
+ end
40
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
41
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
42
+ return Aws::Endpoints::Endpoint.new(url: "https://healthlake.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
43
+ end
44
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
42
45
  end
43
- raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
46
+ return Aws::Endpoints::Endpoint.new(url: "https://healthlake.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
44
47
  end
45
- return Aws::Endpoints::Endpoint.new(url: "https://healthlake.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
46
48
  end
49
+ raise ArgumentError, "Invalid Configuration: Missing Region"
47
50
  raise ArgumentError, 'No endpoint could be resolved'
48
51
 
49
52
  end
@@ -69,6 +69,11 @@ module Aws::HealthLake
69
69
  # Resource tags that are applied to a Data Store when it is created.
70
70
  # @return [Array<Types::Tag>]
71
71
  #
72
+ # @!attribute [rw] identity_provider_configuration
73
+ # The configuration of the identity provider that you want to use for
74
+ # your Data Store.
75
+ # @return [Types::IdentityProviderConfiguration]
76
+ #
72
77
  # @see http://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/CreateFHIRDatastoreRequest AWS API Documentation
73
78
  #
74
79
  class CreateFHIRDatastoreRequest < Struct.new(
@@ -77,7 +82,8 @@ module Aws::HealthLake
77
82
  :sse_configuration,
78
83
  :preload_data_config,
79
84
  :client_token,
80
- :tags)
85
+ :tags,
86
+ :identity_provider_configuration)
81
87
  SENSITIVE = []
82
88
  include Aws::Structure
83
89
  end
@@ -88,9 +94,9 @@ module Aws::HealthLake
88
94
  # @return [String]
89
95
  #
90
96
  # @!attribute [rw] datastore_arn
91
- # The datastore ARN is generated during the creation of the Data Store
92
- # and can be found in the output from the initial Data Store creation
93
- # call.
97
+ # The Data Store ARN is generated during the creation of the Data
98
+ # Store and can be found in the output from the initial Data Store
99
+ # creation call.
94
100
  # @return [String]
95
101
  #
96
102
  # @!attribute [rw] datastore_status
@@ -99,8 +105,7 @@ module Aws::HealthLake
99
105
  # @return [String]
100
106
  #
101
107
  # @!attribute [rw] datastore_endpoint
102
- # The AWS endpoint for the created Data Store. For preview, only
103
- # US-east-1 endpoints are supported.
108
+ # The AWS endpoint for the created Data Store.
104
109
  # @return [String]
105
110
  #
106
111
  # @see http://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/CreateFHIRDatastoreResponse AWS API Documentation
@@ -147,7 +152,7 @@ module Aws::HealthLake
147
152
  include Aws::Structure
148
153
  end
149
154
 
150
- # Displays the properties of the Data Store, including the ID, Arn,
155
+ # Displays the properties of the Data Store, including the ID, ARN,
151
156
  # name, and the status of the Data Store.
152
157
  #
153
158
  # @!attribute [rw] datastore_id
@@ -190,6 +195,11 @@ module Aws::HealthLake
190
195
  # preloaded from Synthea is supported.
191
196
  # @return [Types::PreloadDataConfig]
192
197
  #
198
+ # @!attribute [rw] identity_provider_configuration
199
+ # The identity provider that you selected when you created the Data
200
+ # Store.
201
+ # @return [Types::IdentityProviderConfiguration]
202
+ #
193
203
  # @see http://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/DatastoreProperties AWS API Documentation
194
204
  #
195
205
  class DatastoreProperties < Struct.new(
@@ -201,7 +211,8 @@ module Aws::HealthLake
201
211
  :datastore_type_version,
202
212
  :datastore_endpoint,
203
213
  :sse_configuration,
204
- :preload_data_config)
214
+ :preload_data_config,
215
+ :identity_provider_configuration)
205
216
  SENSITIVE = []
206
217
  include Aws::Structure
207
218
  end
@@ -249,8 +260,7 @@ module Aws::HealthLake
249
260
  end
250
261
 
251
262
  # @!attribute [rw] datastore_id
252
- # The AWS-generated Data Store id. This is part of the
253
- # ‘CreateFHIRDatastore’ output.
263
+ # The AWS-generated Data Store ID.
254
264
  # @return [String]
255
265
  #
256
266
  # @see http://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/DescribeFHIRDatastoreRequest AWS API Documentation
@@ -395,6 +405,65 @@ module Aws::HealthLake
395
405
  include Aws::Structure
396
406
  end
397
407
 
408
+ # The identity provider configuration that you gave when the Data Store
409
+ # was created.
410
+ #
411
+ # @!attribute [rw] authorization_strategy
412
+ # The authorization strategy that you selected when you created the
413
+ # Data Store.
414
+ # @return [String]
415
+ #
416
+ # @!attribute [rw] fine_grained_authorization_enabled
417
+ # If you enabled fine-grained authorization when you created the Data
418
+ # Store.
419
+ # @return [Boolean]
420
+ #
421
+ # @!attribute [rw] metadata
422
+ # The JSON metadata elements that you want to use in your identity
423
+ # provider configuration. Required elements are listed based on the
424
+ # launch specification of the SMART application. For more information
425
+ # on all possible elements, see [Metadata][1] in SMART's App Launch
426
+ # specification.
427
+ #
428
+ # `authorization_endpoint`: The URL to the OAuth2 authorization
429
+ # endpoint.
430
+ #
431
+ # `grant_types_supported`: An array of grant types that are supported
432
+ # at the token endpoint. You must provide at least one grant type
433
+ # option. Valid options are `authorization_code` and
434
+ # `client_credentials`.
435
+ #
436
+ # `token_endpoint`: The URL to the OAuth2 token endpoint.
437
+ #
438
+ # `capabilities`: An array of strings of the SMART capabilities that
439
+ # the authorization server supports.
440
+ #
441
+ # `code_challenge_methods_supported`: An array of strings of supported
442
+ # PKCE code challenge methods. You must include the `S256` method in
443
+ # the array of PKCE code challenge methods.
444
+ #
445
+ #
446
+ #
447
+ # [1]: https://build.fhir.org/ig/HL7/smart-app-launch/conformance.html#metadata
448
+ # @return [String]
449
+ #
450
+ # @!attribute [rw] idp_lambda_arn
451
+ # The Amazon Resource Name (ARN) of the Lambda function that you want
452
+ # to use to decode the access token created by the authorization
453
+ # server.
454
+ # @return [String]
455
+ #
456
+ # @see http://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/IdentityProviderConfiguration AWS API Documentation
457
+ #
458
+ class IdentityProviderConfiguration < Struct.new(
459
+ :authorization_strategy,
460
+ :fine_grained_authorization_enabled,
461
+ :metadata,
462
+ :idp_lambda_arn)
463
+ SENSITIVE = []
464
+ include Aws::Structure
465
+ end
466
+
398
467
  # Displays the properties of the import job, including the ID, Arn,
399
468
  # Name, and the status of the Data Store.
400
469
  #
@@ -408,7 +477,7 @@ module Aws::HealthLake
408
477
  #
409
478
  # @!attribute [rw] job_status
410
479
  # The job status for an Import job. Possible statuses are SUBMITTED,
411
- # IN\_PROGRESS, COMPLETED, FAILED.
480
+ # IN\_PROGRESS, COMPLETED\_WITH\_ERRORS, COMPLETED, FAILED.
412
481
  # @return [String]
413
482
  #
414
483
  # @!attribute [rw] submit_time
@@ -947,7 +1016,7 @@ module Aws::HealthLake
947
1016
  # @return [String]
948
1017
  #
949
1018
  # @!attribute [rw] value
950
- # The value portion of tag. Tag values are case sensitive.
1019
+ # The value portion of a tag. Tag values are case sensitive.
951
1020
  # @return [String]
952
1021
  #
953
1022
  # @see http://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/Tag AWS API Documentation
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-healthlake/customizations'
52
52
  # @!group service
53
53
  module Aws::HealthLake
54
54
 
55
- GEM_VERSION = '1.15.0'
55
+ GEM_VERSION = '1.16.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-healthlake
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.15.0
4
+ version: 1.16.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-18 00:00:00.000000000 Z
11
+ date: 2023-05-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.165.0
22
+ version: 3.174.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.165.0
32
+ version: 3.174.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement