aws-sdk-healthlake 1.13.0 → 1.15.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 76b5ef47a523c019e88e9fc02e6861c69eeec0b357d1204bb2b02941a7e28130
4
- data.tar.gz: 3cda26759db054750389b0f8a84ca472532152686ae7db7f6b9696c74b7d1106
3
+ metadata.gz: 8ce22e5ee06d1827d7f967486eba82ff79e8bc201807fd3f7b8c86ccbae445bc
4
+ data.tar.gz: ca59b79940418cd430854399be45783ae188a14d93e9aad893bc4c01358d1c7d
5
5
  SHA512:
6
- metadata.gz: cafd2cf29091756b05ab887287bdde26f0aac746a12d97b18ce0d407b391e1ba28e2469127c2b9cbff25b45f2bca8cee89915cc094e797c067844b71de8b2976
7
- data.tar.gz: 2cea61f5f2dd641c7d86640426772809942c5745042174b0929cb21ada146ba6f050caa24f65528c06a649fd1d7179562c493b2873d6581e3c6fdd693be0f4bb
6
+ metadata.gz: 179e3319f8b509e37bb3cbf172164cb1547cb5ac5e16133c0df1dca3f93a3869855f4b8a54b16d6efb2175bd4604d1b9fa9de694404d58198b199ed24fb130eb
7
+ data.tar.gz: b1ea0db52fb718d80bdb692c80a1c5c4db897adfde401bc2756ddc64f889959c824458521eaf3bedc5a9568cee62455369ee29af3fdf372cdda92ab2f9fddad9
data/CHANGELOG.md CHANGED
@@ -1,6 +1,18 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.15.0 (2023-01-18)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code.
10
+
11
+ 1.14.0 (2022-10-25)
12
+ ------------------
13
+
14
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
15
+
4
16
  1.13.0 (2022-02-24)
5
17
  ------------------
6
18
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.13.0
1
+ 1.15.0
@@ -30,7 +30,7 @@ require 'aws-sdk-core/plugins/http_checksum.rb'
30
30
  require 'aws-sdk-core/plugins/checksum_algorithm.rb'
31
31
  require 'aws-sdk-core/plugins/defaults_mode.rb'
32
32
  require 'aws-sdk-core/plugins/recursion_detection.rb'
33
- require 'aws-sdk-core/plugins/signature_v4.rb'
33
+ require 'aws-sdk-core/plugins/sign.rb'
34
34
  require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
35
35
 
36
36
  Aws::Plugins::GlobalConfiguration.add_identifier(:healthlake)
@@ -79,8 +79,9 @@ module Aws::HealthLake
79
79
  add_plugin(Aws::Plugins::ChecksumAlgorithm)
80
80
  add_plugin(Aws::Plugins::DefaultsMode)
81
81
  add_plugin(Aws::Plugins::RecursionDetection)
82
- add_plugin(Aws::Plugins::SignatureV4)
82
+ add_plugin(Aws::Plugins::Sign)
83
83
  add_plugin(Aws::Plugins::Protocols::JsonRpc)
84
+ add_plugin(Aws::HealthLake::Plugins::Endpoints)
84
85
 
85
86
  # @overload initialize(options)
86
87
  # @param [Hash] options
@@ -297,6 +298,19 @@ module Aws::HealthLake
297
298
  # ** Please note ** When response stubbing is enabled, no HTTP
298
299
  # requests are made, and retries are disabled.
299
300
  #
301
+ # @option options [Aws::TokenProvider] :token_provider
302
+ # A Bearer Token Provider. This can be an instance of any one of the
303
+ # following classes:
304
+ #
305
+ # * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
306
+ # tokens.
307
+ #
308
+ # * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
309
+ # access token generated from `aws login`.
310
+ #
311
+ # When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
312
+ # will be used to search for tokens configured for your profile in shared configuration files.
313
+ #
300
314
  # @option options [Boolean] :use_dualstack_endpoint
301
315
  # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
302
316
  # will be used if available.
@@ -310,6 +324,9 @@ module Aws::HealthLake
310
324
  # When `true`, request parameters are validated before
311
325
  # sending the request.
312
326
  #
327
+ # @option options [Aws::HealthLake::EndpointProvider] :endpoint_provider
328
+ # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::HealthLake::EndpointParameters`
329
+ #
313
330
  # @option options [URI::HTTP,String] :http_proxy A proxy to send
314
331
  # requests through. Formatted like 'http://proxy.com:123'.
315
332
  #
@@ -1026,7 +1043,7 @@ module Aws::HealthLake
1026
1043
  params: params,
1027
1044
  config: config)
1028
1045
  context[:gem_name] = 'aws-sdk-healthlake'
1029
- context[:gem_version] = '1.13.0'
1046
+ context[:gem_version] = '1.15.0'
1030
1047
  Seahorse::Client::Request.new(handlers, context)
1031
1048
  end
1032
1049
 
@@ -0,0 +1,66 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::HealthLake
11
+ # Endpoint parameters used to influence endpoints per request.
12
+ #
13
+ # @!attribute region
14
+ # The AWS region used to dispatch the request.
15
+ #
16
+ # @return [String]
17
+ #
18
+ # @!attribute use_dual_stack
19
+ # When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
20
+ #
21
+ # @return [Boolean]
22
+ #
23
+ # @!attribute use_fips
24
+ # When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
25
+ #
26
+ # @return [Boolean]
27
+ #
28
+ # @!attribute endpoint
29
+ # Override the endpoint used to send this request
30
+ #
31
+ # @return [String]
32
+ #
33
+ EndpointParameters = Struct.new(
34
+ :region,
35
+ :use_dual_stack,
36
+ :use_fips,
37
+ :endpoint,
38
+ ) do
39
+ include Aws::Structure
40
+
41
+ # @api private
42
+ class << self
43
+ PARAM_MAP = {
44
+ 'Region' => :region,
45
+ 'UseDualStack' => :use_dual_stack,
46
+ 'UseFIPS' => :use_fips,
47
+ 'Endpoint' => :endpoint,
48
+ }.freeze
49
+ end
50
+
51
+ def initialize(options = {})
52
+ self[:region] = options[:region]
53
+ self[:use_dual_stack] = options[:use_dual_stack]
54
+ self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
+ if self[:use_dual_stack].nil?
56
+ raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
57
+ end
58
+ self[:use_fips] = options[:use_fips]
59
+ self[:use_fips] = false if self[:use_fips].nil?
60
+ if self[:use_fips].nil?
61
+ raise ArgumentError, "Missing required EndpointParameter: :use_fips"
62
+ end
63
+ self[:endpoint] = options[:endpoint]
64
+ end
65
+ end
66
+ end
@@ -0,0 +1,51 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::HealthLake
11
+ class EndpointProvider
12
+ def resolve_endpoint(parameters)
13
+ region = parameters.region
14
+ use_dual_stack = parameters.use_dual_stack
15
+ use_fips = parameters.use_fips
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
33
+ 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"
38
+ end
39
+ 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: {})
42
+ end
43
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
44
+ end
45
+ return Aws::Endpoints::Endpoint.new(url: "https://healthlake.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
46
+ end
47
+ raise ArgumentError, 'No endpoint could be resolved'
48
+
49
+ end
50
+ end
51
+ end
@@ -0,0 +1,197 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+
11
+ module Aws::HealthLake
12
+ module Endpoints
13
+
14
+ class CreateFHIRDatastore
15
+ def self.build(context)
16
+ unless context.config.regional_endpoint
17
+ endpoint = context.config.endpoint.to_s
18
+ end
19
+ Aws::HealthLake::EndpointParameters.new(
20
+ region: context.config.region,
21
+ use_dual_stack: context.config.use_dualstack_endpoint,
22
+ use_fips: context.config.use_fips_endpoint,
23
+ endpoint: endpoint,
24
+ )
25
+ end
26
+ end
27
+
28
+ class DeleteFHIRDatastore
29
+ def self.build(context)
30
+ unless context.config.regional_endpoint
31
+ endpoint = context.config.endpoint.to_s
32
+ end
33
+ Aws::HealthLake::EndpointParameters.new(
34
+ region: context.config.region,
35
+ use_dual_stack: context.config.use_dualstack_endpoint,
36
+ use_fips: context.config.use_fips_endpoint,
37
+ endpoint: endpoint,
38
+ )
39
+ end
40
+ end
41
+
42
+ class DescribeFHIRDatastore
43
+ def self.build(context)
44
+ unless context.config.regional_endpoint
45
+ endpoint = context.config.endpoint.to_s
46
+ end
47
+ Aws::HealthLake::EndpointParameters.new(
48
+ region: context.config.region,
49
+ use_dual_stack: context.config.use_dualstack_endpoint,
50
+ use_fips: context.config.use_fips_endpoint,
51
+ endpoint: endpoint,
52
+ )
53
+ end
54
+ end
55
+
56
+ class DescribeFHIRExportJob
57
+ def self.build(context)
58
+ unless context.config.regional_endpoint
59
+ endpoint = context.config.endpoint.to_s
60
+ end
61
+ Aws::HealthLake::EndpointParameters.new(
62
+ region: context.config.region,
63
+ use_dual_stack: context.config.use_dualstack_endpoint,
64
+ use_fips: context.config.use_fips_endpoint,
65
+ endpoint: endpoint,
66
+ )
67
+ end
68
+ end
69
+
70
+ class DescribeFHIRImportJob
71
+ def self.build(context)
72
+ unless context.config.regional_endpoint
73
+ endpoint = context.config.endpoint.to_s
74
+ end
75
+ Aws::HealthLake::EndpointParameters.new(
76
+ region: context.config.region,
77
+ use_dual_stack: context.config.use_dualstack_endpoint,
78
+ use_fips: context.config.use_fips_endpoint,
79
+ endpoint: endpoint,
80
+ )
81
+ end
82
+ end
83
+
84
+ class ListFHIRDatastores
85
+ def self.build(context)
86
+ unless context.config.regional_endpoint
87
+ endpoint = context.config.endpoint.to_s
88
+ end
89
+ Aws::HealthLake::EndpointParameters.new(
90
+ region: context.config.region,
91
+ use_dual_stack: context.config.use_dualstack_endpoint,
92
+ use_fips: context.config.use_fips_endpoint,
93
+ endpoint: endpoint,
94
+ )
95
+ end
96
+ end
97
+
98
+ class ListFHIRExportJobs
99
+ def self.build(context)
100
+ unless context.config.regional_endpoint
101
+ endpoint = context.config.endpoint.to_s
102
+ end
103
+ Aws::HealthLake::EndpointParameters.new(
104
+ region: context.config.region,
105
+ use_dual_stack: context.config.use_dualstack_endpoint,
106
+ use_fips: context.config.use_fips_endpoint,
107
+ endpoint: endpoint,
108
+ )
109
+ end
110
+ end
111
+
112
+ class ListFHIRImportJobs
113
+ def self.build(context)
114
+ unless context.config.regional_endpoint
115
+ endpoint = context.config.endpoint.to_s
116
+ end
117
+ Aws::HealthLake::EndpointParameters.new(
118
+ region: context.config.region,
119
+ use_dual_stack: context.config.use_dualstack_endpoint,
120
+ use_fips: context.config.use_fips_endpoint,
121
+ endpoint: endpoint,
122
+ )
123
+ end
124
+ end
125
+
126
+ class ListTagsForResource
127
+ def self.build(context)
128
+ unless context.config.regional_endpoint
129
+ endpoint = context.config.endpoint.to_s
130
+ end
131
+ Aws::HealthLake::EndpointParameters.new(
132
+ region: context.config.region,
133
+ use_dual_stack: context.config.use_dualstack_endpoint,
134
+ use_fips: context.config.use_fips_endpoint,
135
+ endpoint: endpoint,
136
+ )
137
+ end
138
+ end
139
+
140
+ class StartFHIRExportJob
141
+ def self.build(context)
142
+ unless context.config.regional_endpoint
143
+ endpoint = context.config.endpoint.to_s
144
+ end
145
+ Aws::HealthLake::EndpointParameters.new(
146
+ region: context.config.region,
147
+ use_dual_stack: context.config.use_dualstack_endpoint,
148
+ use_fips: context.config.use_fips_endpoint,
149
+ endpoint: endpoint,
150
+ )
151
+ end
152
+ end
153
+
154
+ class StartFHIRImportJob
155
+ def self.build(context)
156
+ unless context.config.regional_endpoint
157
+ endpoint = context.config.endpoint.to_s
158
+ end
159
+ Aws::HealthLake::EndpointParameters.new(
160
+ region: context.config.region,
161
+ use_dual_stack: context.config.use_dualstack_endpoint,
162
+ use_fips: context.config.use_fips_endpoint,
163
+ endpoint: endpoint,
164
+ )
165
+ end
166
+ end
167
+
168
+ class TagResource
169
+ def self.build(context)
170
+ unless context.config.regional_endpoint
171
+ endpoint = context.config.endpoint.to_s
172
+ end
173
+ Aws::HealthLake::EndpointParameters.new(
174
+ region: context.config.region,
175
+ use_dual_stack: context.config.use_dualstack_endpoint,
176
+ use_fips: context.config.use_fips_endpoint,
177
+ endpoint: endpoint,
178
+ )
179
+ end
180
+ end
181
+
182
+ class UntagResource
183
+ def self.build(context)
184
+ unless context.config.regional_endpoint
185
+ endpoint = context.config.endpoint.to_s
186
+ end
187
+ Aws::HealthLake::EndpointParameters.new(
188
+ region: context.config.region,
189
+ use_dual_stack: context.config.use_dualstack_endpoint,
190
+ use_fips: context.config.use_fips_endpoint,
191
+ endpoint: endpoint,
192
+ )
193
+ end
194
+ end
195
+
196
+ end
197
+ end
@@ -0,0 +1,94 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+
11
+ module Aws::HealthLake
12
+ module Plugins
13
+ class Endpoints < Seahorse::Client::Plugin
14
+ option(
15
+ :endpoint_provider,
16
+ doc_type: 'Aws::HealthLake::EndpointProvider',
17
+ docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
+ 'object that responds to `#resolve_endpoint(parameters)` '\
19
+ 'where `parameters` is a Struct similar to '\
20
+ '`Aws::HealthLake::EndpointParameters`'
21
+ ) do |cfg|
22
+ Aws::HealthLake::EndpointProvider.new
23
+ end
24
+
25
+ # @api private
26
+ class Handler < Seahorse::Client::Handler
27
+ def call(context)
28
+ # If endpoint was discovered, do not resolve or apply the endpoint.
29
+ unless context[:discovered_endpoint]
30
+ params = parameters_for_operation(context)
31
+ endpoint = context.config.endpoint_provider.resolve_endpoint(params)
32
+
33
+ context.http_request.endpoint = endpoint.url
34
+ apply_endpoint_headers(context, endpoint.headers)
35
+ end
36
+
37
+ context[:endpoint_params] = params
38
+ context[:auth_scheme] =
39
+ Aws::Endpoints.resolve_auth_scheme(context, endpoint)
40
+
41
+ @handler.call(context)
42
+ end
43
+
44
+ private
45
+
46
+ def apply_endpoint_headers(context, headers)
47
+ headers.each do |key, values|
48
+ value = values
49
+ .compact
50
+ .map { |s| Seahorse::Util.escape_header_list_string(s.to_s) }
51
+ .join(',')
52
+
53
+ context.http_request.headers[key] = value
54
+ end
55
+ end
56
+
57
+ def parameters_for_operation(context)
58
+ case context.operation_name
59
+ when :create_fhir_datastore
60
+ Aws::HealthLake::Endpoints::CreateFHIRDatastore.build(context)
61
+ when :delete_fhir_datastore
62
+ Aws::HealthLake::Endpoints::DeleteFHIRDatastore.build(context)
63
+ when :describe_fhir_datastore
64
+ Aws::HealthLake::Endpoints::DescribeFHIRDatastore.build(context)
65
+ when :describe_fhir_export_job
66
+ Aws::HealthLake::Endpoints::DescribeFHIRExportJob.build(context)
67
+ when :describe_fhir_import_job
68
+ Aws::HealthLake::Endpoints::DescribeFHIRImportJob.build(context)
69
+ when :list_fhir_datastores
70
+ Aws::HealthLake::Endpoints::ListFHIRDatastores.build(context)
71
+ when :list_fhir_export_jobs
72
+ Aws::HealthLake::Endpoints::ListFHIRExportJobs.build(context)
73
+ when :list_fhir_import_jobs
74
+ Aws::HealthLake::Endpoints::ListFHIRImportJobs.build(context)
75
+ when :list_tags_for_resource
76
+ Aws::HealthLake::Endpoints::ListTagsForResource.build(context)
77
+ when :start_fhir_export_job
78
+ Aws::HealthLake::Endpoints::StartFHIRExportJob.build(context)
79
+ when :start_fhir_import_job
80
+ Aws::HealthLake::Endpoints::StartFHIRImportJob.build(context)
81
+ when :tag_resource
82
+ Aws::HealthLake::Endpoints::TagResource.build(context)
83
+ when :untag_resource
84
+ Aws::HealthLake::Endpoints::UntagResource.build(context)
85
+ end
86
+ end
87
+ end
88
+
89
+ def add_handlers(handlers, _config)
90
+ handlers.add(Handler, step: :build, priority: 75)
91
+ end
92
+ end
93
+ end
94
+ end
@@ -38,30 +38,6 @@ module Aws::HealthLake
38
38
  include Aws::Structure
39
39
  end
40
40
 
41
- # @note When making an API call, you may pass CreateFHIRDatastoreRequest
42
- # data as a hash:
43
- #
44
- # {
45
- # datastore_name: "DatastoreName",
46
- # datastore_type_version: "R4", # required, accepts R4
47
- # sse_configuration: {
48
- # kms_encryption_config: { # required
49
- # cmk_type: "CUSTOMER_MANAGED_KMS_KEY", # required, accepts CUSTOMER_MANAGED_KMS_KEY, AWS_OWNED_KMS_KEY
50
- # kms_key_id: "EncryptionKeyID",
51
- # },
52
- # },
53
- # preload_data_config: {
54
- # preload_data_type: "SYNTHEA", # required, accepts SYNTHEA
55
- # },
56
- # client_token: "ClientTokenString",
57
- # tags: [
58
- # {
59
- # key: "TagKey", # required
60
- # value: "TagValue", # required
61
- # },
62
- # ],
63
- # }
64
- #
65
41
  # @!attribute [rw] datastore_name
66
42
  # The user generated name for the Data Store.
67
43
  # @return [String]
@@ -140,16 +116,6 @@ module Aws::HealthLake
140
116
 
141
117
  # The filters applied to Data Store query.
142
118
  #
143
- # @note When making an API call, you may pass DatastoreFilter
144
- # data as a hash:
145
- #
146
- # {
147
- # datastore_name: "DatastoreName",
148
- # datastore_status: "CREATING", # accepts CREATING, ACTIVE, DELETING, DELETED
149
- # created_before: Time.now,
150
- # created_after: Time.now,
151
- # }
152
- #
153
119
  # @!attribute [rw] datastore_name
154
120
  # Allows the user to filter Data Store results by name.
155
121
  # @return [String]
@@ -240,13 +206,6 @@ module Aws::HealthLake
240
206
  include Aws::Structure
241
207
  end
242
208
 
243
- # @note When making an API call, you may pass DeleteFHIRDatastoreRequest
244
- # data as a hash:
245
- #
246
- # {
247
- # datastore_id: "DatastoreId",
248
- # }
249
- #
250
209
  # @!attribute [rw] datastore_id
251
210
  # The AWS-generated ID for the Data Store to be deleted.
252
211
  # @return [String]
@@ -289,13 +248,6 @@ module Aws::HealthLake
289
248
  include Aws::Structure
290
249
  end
291
250
 
292
- # @note When making an API call, you may pass DescribeFHIRDatastoreRequest
293
- # data as a hash:
294
- #
295
- # {
296
- # datastore_id: "DatastoreId",
297
- # }
298
- #
299
251
  # @!attribute [rw] datastore_id
300
252
  # The AWS-generated Data Store id. This is part of the
301
253
  # ‘CreateFHIRDatastore’ output.
@@ -323,14 +275,6 @@ module Aws::HealthLake
323
275
  include Aws::Structure
324
276
  end
325
277
 
326
- # @note When making an API call, you may pass DescribeFHIRExportJobRequest
327
- # data as a hash:
328
- #
329
- # {
330
- # datastore_id: "DatastoreId", # required
331
- # job_id: "JobId", # required
332
- # }
333
- #
334
278
  # @!attribute [rw] datastore_id
335
279
  # The AWS generated ID for the Data Store from which files are being
336
280
  # exported from for an export job.
@@ -362,14 +306,6 @@ module Aws::HealthLake
362
306
  include Aws::Structure
363
307
  end
364
308
 
365
- # @note When making an API call, you may pass DescribeFHIRImportJobRequest
366
- # data as a hash:
367
- #
368
- # {
369
- # datastore_id: "DatastoreId", # required
370
- # job_id: "JobId", # required
371
- # }
372
- #
373
309
  # @!attribute [rw] datastore_id
374
310
  # The AWS-generated ID of the Data Store.
375
311
  # @return [String]
@@ -565,14 +501,6 @@ module Aws::HealthLake
565
501
  # customer owned key is not specified, an AWS owned key will be used for
566
502
  # encryption.
567
503
  #
568
- # @note When making an API call, you may pass KmsEncryptionConfig
569
- # data as a hash:
570
- #
571
- # {
572
- # cmk_type: "CUSTOMER_MANAGED_KMS_KEY", # required, accepts CUSTOMER_MANAGED_KMS_KEY, AWS_OWNED_KMS_KEY
573
- # kms_key_id: "EncryptionKeyID",
574
- # }
575
- #
576
504
  # @!attribute [rw] cmk_type
577
505
  # The type of customer-managed-key(CMK) used for encyrption. The two
578
506
  # types of supported CMKs are customer owned CMKs and AWS owned CMKs.
@@ -592,20 +520,6 @@ module Aws::HealthLake
592
520
  include Aws::Structure
593
521
  end
594
522
 
595
- # @note When making an API call, you may pass ListFHIRDatastoresRequest
596
- # data as a hash:
597
- #
598
- # {
599
- # filter: {
600
- # datastore_name: "DatastoreName",
601
- # datastore_status: "CREATING", # accepts CREATING, ACTIVE, DELETING, DELETED
602
- # created_before: Time.now,
603
- # created_after: Time.now,
604
- # },
605
- # next_token: "NextToken",
606
- # max_results: 1,
607
- # }
608
- #
609
523
  # @!attribute [rw] filter
610
524
  # Lists all filters associated with a FHIR Data Store request.
611
525
  # @return [Types::DatastoreFilter]
@@ -647,19 +561,6 @@ module Aws::HealthLake
647
561
  include Aws::Structure
648
562
  end
649
563
 
650
- # @note When making an API call, you may pass ListFHIRExportJobsRequest
651
- # data as a hash:
652
- #
653
- # {
654
- # datastore_id: "DatastoreId", # required
655
- # next_token: "NextToken",
656
- # max_results: 1,
657
- # job_name: "JobName",
658
- # job_status: "SUBMITTED", # accepts SUBMITTED, IN_PROGRESS, COMPLETED_WITH_ERRORS, COMPLETED, FAILED
659
- # submitted_before: Time.now,
660
- # submitted_after: Time.now,
661
- # }
662
- #
663
564
  # @!attribute [rw] datastore_id
664
565
  # This parameter limits the response to the export job with the
665
566
  # specified Data Store ID.
@@ -728,19 +629,6 @@ module Aws::HealthLake
728
629
  include Aws::Structure
729
630
  end
730
631
 
731
- # @note When making an API call, you may pass ListFHIRImportJobsRequest
732
- # data as a hash:
733
- #
734
- # {
735
- # datastore_id: "DatastoreId", # required
736
- # next_token: "NextToken",
737
- # max_results: 1,
738
- # job_name: "JobName",
739
- # job_status: "SUBMITTED", # accepts SUBMITTED, IN_PROGRESS, COMPLETED_WITH_ERRORS, COMPLETED, FAILED
740
- # submitted_before: Time.now,
741
- # submitted_after: Time.now,
742
- # }
743
- #
744
632
  # @!attribute [rw] datastore_id
745
633
  # This parameter limits the response to the import job with the
746
634
  # specified Data Store ID.
@@ -809,13 +697,6 @@ module Aws::HealthLake
809
697
  include Aws::Structure
810
698
  end
811
699
 
812
- # @note When making an API call, you may pass ListTagsForResourceRequest
813
- # data as a hash:
814
- #
815
- # {
816
- # resource_arn: "AmazonResourceName", # required
817
- # }
818
- #
819
700
  # @!attribute [rw] resource_arn
820
701
  # The Amazon Resource Name(ARN) of the Data Store for which tags are
821
702
  # being added.
@@ -869,13 +750,6 @@ module Aws::HealthLake
869
750
  # The input properties for the preloaded Data Store. Only data preloaded
870
751
  # from Synthea is supported.
871
752
  #
872
- # @note When making an API call, you may pass PreloadDataConfig
873
- # data as a hash:
874
- #
875
- # {
876
- # preload_data_type: "SYNTHEA", # required, accepts SYNTHEA
877
- # }
878
- #
879
753
  # @!attribute [rw] preload_data_type
880
754
  # The type of preloaded data. Only Synthea preloaded data is
881
755
  # supported.
@@ -905,14 +779,6 @@ module Aws::HealthLake
905
779
  # The configuration of the S3 bucket for either an import or export job.
906
780
  # This includes assigning permissions for access.
907
781
  #
908
- # @note When making an API call, you may pass S3Configuration
909
- # data as a hash:
910
- #
911
- # {
912
- # s3_uri: "S3Uri", # required
913
- # kms_key_id: "EncryptionKeyID", # required
914
- # }
915
- #
916
782
  # @!attribute [rw] s3_uri
917
783
  # The S3Uri is the user specified S3 location of the FHIR data to be
918
784
  # imported into Amazon HealthLake.
@@ -934,16 +800,6 @@ module Aws::HealthLake
934
800
  # The server-side encryption key configuration for a customer provided
935
801
  # encryption key.
936
802
  #
937
- # @note When making an API call, you may pass SseConfiguration
938
- # data as a hash:
939
- #
940
- # {
941
- # kms_encryption_config: { # required
942
- # cmk_type: "CUSTOMER_MANAGED_KMS_KEY", # required, accepts CUSTOMER_MANAGED_KMS_KEY, AWS_OWNED_KMS_KEY
943
- # kms_key_id: "EncryptionKeyID",
944
- # },
945
- # }
946
- #
947
803
  # @!attribute [rw] kms_encryption_config
948
804
  # The KMS encryption configuration used to provide details for data
949
805
  # encryption.
@@ -957,22 +813,6 @@ module Aws::HealthLake
957
813
  include Aws::Structure
958
814
  end
959
815
 
960
- # @note When making an API call, you may pass StartFHIRExportJobRequest
961
- # data as a hash:
962
- #
963
- # {
964
- # job_name: "JobName",
965
- # output_data_config: { # required
966
- # s3_configuration: {
967
- # s3_uri: "S3Uri", # required
968
- # kms_key_id: "EncryptionKeyID", # required
969
- # },
970
- # },
971
- # datastore_id: "DatastoreId", # required
972
- # data_access_role_arn: "IamRoleArn", # required
973
- # client_token: "ClientTokenString", # required
974
- # }
975
- #
976
816
  # @!attribute [rw] job_name
977
817
  # The user generated name for an export job.
978
818
  # @return [String]
@@ -1034,25 +874,6 @@ module Aws::HealthLake
1034
874
  include Aws::Structure
1035
875
  end
1036
876
 
1037
- # @note When making an API call, you may pass StartFHIRImportJobRequest
1038
- # data as a hash:
1039
- #
1040
- # {
1041
- # job_name: "JobName",
1042
- # input_data_config: { # required
1043
- # s3_uri: "S3Uri",
1044
- # },
1045
- # job_output_data_config: { # required
1046
- # s3_configuration: {
1047
- # s3_uri: "S3Uri", # required
1048
- # kms_key_id: "EncryptionKeyID", # required
1049
- # },
1050
- # },
1051
- # datastore_id: "DatastoreId", # required
1052
- # data_access_role_arn: "IamRoleArn", # required
1053
- # client_token: "ClientTokenString", # required
1054
- # }
1055
- #
1056
877
  # @!attribute [rw] job_name
1057
878
  # The name of the FHIR Import job in the StartFHIRImport job request.
1058
879
  # @return [String]
@@ -1121,14 +942,6 @@ module Aws::HealthLake
1121
942
  # A tag is a label consisting of a user-defined key and value. The form
1122
943
  # for tags is \\\{"Key", "Value"\\}
1123
944
  #
1124
- # @note When making an API call, you may pass Tag
1125
- # data as a hash:
1126
- #
1127
- # {
1128
- # key: "TagKey", # required
1129
- # value: "TagValue", # required
1130
- # }
1131
- #
1132
945
  # @!attribute [rw] key
1133
946
  # The key portion of a tag. Tag keys are case sensitive.
1134
947
  # @return [String]
@@ -1146,19 +959,6 @@ module Aws::HealthLake
1146
959
  include Aws::Structure
1147
960
  end
1148
961
 
1149
- # @note When making an API call, you may pass TagResourceRequest
1150
- # data as a hash:
1151
- #
1152
- # {
1153
- # resource_arn: "AmazonResourceName", # required
1154
- # tags: [ # required
1155
- # {
1156
- # key: "TagKey", # required
1157
- # value: "TagValue", # required
1158
- # },
1159
- # ],
1160
- # }
1161
- #
1162
962
  # @!attribute [rw] resource_arn
1163
963
  # The Amazon Resource Name(ARN)that gives Amazon HealthLake access to
1164
964
  # the Data Store which tags are being added to.
@@ -1196,14 +996,6 @@ module Aws::HealthLake
1196
996
  include Aws::Structure
1197
997
  end
1198
998
 
1199
- # @note When making an API call, you may pass UntagResourceRequest
1200
- # data as a hash:
1201
- #
1202
- # {
1203
- # resource_arn: "AmazonResourceName", # required
1204
- # tag_keys: ["TagKey"], # required
1205
- # }
1206
- #
1207
999
  # @!attribute [rw] resource_arn
1208
1000
  # "The Amazon Resource Name(ARN) of the Data Store for which tags are
1209
1001
  # being removed
@@ -13,9 +13,13 @@ require 'aws-sigv4'
13
13
 
14
14
  require_relative 'aws-sdk-healthlake/types'
15
15
  require_relative 'aws-sdk-healthlake/client_api'
16
+ require_relative 'aws-sdk-healthlake/plugins/endpoints.rb'
16
17
  require_relative 'aws-sdk-healthlake/client'
17
18
  require_relative 'aws-sdk-healthlake/errors'
18
19
  require_relative 'aws-sdk-healthlake/resource'
20
+ require_relative 'aws-sdk-healthlake/endpoint_parameters'
21
+ require_relative 'aws-sdk-healthlake/endpoint_provider'
22
+ require_relative 'aws-sdk-healthlake/endpoints'
19
23
  require_relative 'aws-sdk-healthlake/customizations'
20
24
 
21
25
  # This module provides support for Amazon HealthLake. This module is available in the
@@ -48,6 +52,6 @@ require_relative 'aws-sdk-healthlake/customizations'
48
52
  # @!group service
49
53
  module Aws::HealthLake
50
54
 
51
- GEM_VERSION = '1.13.0'
55
+ GEM_VERSION = '1.15.0'
52
56
 
53
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.13.0
4
+ version: 1.15.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: 2022-02-24 00:00:00.000000000 Z
11
+ date: 2023-01-18 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.127.0
22
+ version: 3.165.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.127.0
32
+ version: 3.165.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -59,7 +59,11 @@ files:
59
59
  - lib/aws-sdk-healthlake/client.rb
60
60
  - lib/aws-sdk-healthlake/client_api.rb
61
61
  - lib/aws-sdk-healthlake/customizations.rb
62
+ - lib/aws-sdk-healthlake/endpoint_parameters.rb
63
+ - lib/aws-sdk-healthlake/endpoint_provider.rb
64
+ - lib/aws-sdk-healthlake/endpoints.rb
62
65
  - lib/aws-sdk-healthlake/errors.rb
66
+ - lib/aws-sdk-healthlake/plugins/endpoints.rb
63
67
  - lib/aws-sdk-healthlake/resource.rb
64
68
  - lib/aws-sdk-healthlake/types.rb
65
69
  homepage: https://github.com/aws/aws-sdk-ruby