aws-sdk-sagemaker 1.147.0 → 1.148.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,596 @@
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::SageMaker
12
+ module Plugins
13
+ class Endpoints < Seahorse::Client::Plugin
14
+ option(
15
+ :endpoint_provider,
16
+ doc_type: 'Aws::SageMaker::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::SageMaker::EndpointParameters`'
21
+ ) do |cfg|
22
+ Aws::SageMaker::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 :add_association
60
+ Aws::SageMaker::Endpoints::AddAssociation.build(context)
61
+ when :add_tags
62
+ Aws::SageMaker::Endpoints::AddTags.build(context)
63
+ when :associate_trial_component
64
+ Aws::SageMaker::Endpoints::AssociateTrialComponent.build(context)
65
+ when :batch_describe_model_package
66
+ Aws::SageMaker::Endpoints::BatchDescribeModelPackage.build(context)
67
+ when :create_action
68
+ Aws::SageMaker::Endpoints::CreateAction.build(context)
69
+ when :create_algorithm
70
+ Aws::SageMaker::Endpoints::CreateAlgorithm.build(context)
71
+ when :create_app
72
+ Aws::SageMaker::Endpoints::CreateApp.build(context)
73
+ when :create_app_image_config
74
+ Aws::SageMaker::Endpoints::CreateAppImageConfig.build(context)
75
+ when :create_artifact
76
+ Aws::SageMaker::Endpoints::CreateArtifact.build(context)
77
+ when :create_auto_ml_job
78
+ Aws::SageMaker::Endpoints::CreateAutoMLJob.build(context)
79
+ when :create_code_repository
80
+ Aws::SageMaker::Endpoints::CreateCodeRepository.build(context)
81
+ when :create_compilation_job
82
+ Aws::SageMaker::Endpoints::CreateCompilationJob.build(context)
83
+ when :create_context
84
+ Aws::SageMaker::Endpoints::CreateContext.build(context)
85
+ when :create_data_quality_job_definition
86
+ Aws::SageMaker::Endpoints::CreateDataQualityJobDefinition.build(context)
87
+ when :create_device_fleet
88
+ Aws::SageMaker::Endpoints::CreateDeviceFleet.build(context)
89
+ when :create_domain
90
+ Aws::SageMaker::Endpoints::CreateDomain.build(context)
91
+ when :create_edge_deployment_plan
92
+ Aws::SageMaker::Endpoints::CreateEdgeDeploymentPlan.build(context)
93
+ when :create_edge_deployment_stage
94
+ Aws::SageMaker::Endpoints::CreateEdgeDeploymentStage.build(context)
95
+ when :create_edge_packaging_job
96
+ Aws::SageMaker::Endpoints::CreateEdgePackagingJob.build(context)
97
+ when :create_endpoint
98
+ Aws::SageMaker::Endpoints::CreateEndpoint.build(context)
99
+ when :create_endpoint_config
100
+ Aws::SageMaker::Endpoints::CreateEndpointConfig.build(context)
101
+ when :create_experiment
102
+ Aws::SageMaker::Endpoints::CreateExperiment.build(context)
103
+ when :create_feature_group
104
+ Aws::SageMaker::Endpoints::CreateFeatureGroup.build(context)
105
+ when :create_flow_definition
106
+ Aws::SageMaker::Endpoints::CreateFlowDefinition.build(context)
107
+ when :create_human_task_ui
108
+ Aws::SageMaker::Endpoints::CreateHumanTaskUi.build(context)
109
+ when :create_hyper_parameter_tuning_job
110
+ Aws::SageMaker::Endpoints::CreateHyperParameterTuningJob.build(context)
111
+ when :create_image
112
+ Aws::SageMaker::Endpoints::CreateImage.build(context)
113
+ when :create_image_version
114
+ Aws::SageMaker::Endpoints::CreateImageVersion.build(context)
115
+ when :create_inference_recommendations_job
116
+ Aws::SageMaker::Endpoints::CreateInferenceRecommendationsJob.build(context)
117
+ when :create_labeling_job
118
+ Aws::SageMaker::Endpoints::CreateLabelingJob.build(context)
119
+ when :create_model
120
+ Aws::SageMaker::Endpoints::CreateModel.build(context)
121
+ when :create_model_bias_job_definition
122
+ Aws::SageMaker::Endpoints::CreateModelBiasJobDefinition.build(context)
123
+ when :create_model_explainability_job_definition
124
+ Aws::SageMaker::Endpoints::CreateModelExplainabilityJobDefinition.build(context)
125
+ when :create_model_package
126
+ Aws::SageMaker::Endpoints::CreateModelPackage.build(context)
127
+ when :create_model_package_group
128
+ Aws::SageMaker::Endpoints::CreateModelPackageGroup.build(context)
129
+ when :create_model_quality_job_definition
130
+ Aws::SageMaker::Endpoints::CreateModelQualityJobDefinition.build(context)
131
+ when :create_monitoring_schedule
132
+ Aws::SageMaker::Endpoints::CreateMonitoringSchedule.build(context)
133
+ when :create_notebook_instance
134
+ Aws::SageMaker::Endpoints::CreateNotebookInstance.build(context)
135
+ when :create_notebook_instance_lifecycle_config
136
+ Aws::SageMaker::Endpoints::CreateNotebookInstanceLifecycleConfig.build(context)
137
+ when :create_pipeline
138
+ Aws::SageMaker::Endpoints::CreatePipeline.build(context)
139
+ when :create_presigned_domain_url
140
+ Aws::SageMaker::Endpoints::CreatePresignedDomainUrl.build(context)
141
+ when :create_presigned_notebook_instance_url
142
+ Aws::SageMaker::Endpoints::CreatePresignedNotebookInstanceUrl.build(context)
143
+ when :create_processing_job
144
+ Aws::SageMaker::Endpoints::CreateProcessingJob.build(context)
145
+ when :create_project
146
+ Aws::SageMaker::Endpoints::CreateProject.build(context)
147
+ when :create_studio_lifecycle_config
148
+ Aws::SageMaker::Endpoints::CreateStudioLifecycleConfig.build(context)
149
+ when :create_training_job
150
+ Aws::SageMaker::Endpoints::CreateTrainingJob.build(context)
151
+ when :create_transform_job
152
+ Aws::SageMaker::Endpoints::CreateTransformJob.build(context)
153
+ when :create_trial
154
+ Aws::SageMaker::Endpoints::CreateTrial.build(context)
155
+ when :create_trial_component
156
+ Aws::SageMaker::Endpoints::CreateTrialComponent.build(context)
157
+ when :create_user_profile
158
+ Aws::SageMaker::Endpoints::CreateUserProfile.build(context)
159
+ when :create_workforce
160
+ Aws::SageMaker::Endpoints::CreateWorkforce.build(context)
161
+ when :create_workteam
162
+ Aws::SageMaker::Endpoints::CreateWorkteam.build(context)
163
+ when :delete_action
164
+ Aws::SageMaker::Endpoints::DeleteAction.build(context)
165
+ when :delete_algorithm
166
+ Aws::SageMaker::Endpoints::DeleteAlgorithm.build(context)
167
+ when :delete_app
168
+ Aws::SageMaker::Endpoints::DeleteApp.build(context)
169
+ when :delete_app_image_config
170
+ Aws::SageMaker::Endpoints::DeleteAppImageConfig.build(context)
171
+ when :delete_artifact
172
+ Aws::SageMaker::Endpoints::DeleteArtifact.build(context)
173
+ when :delete_association
174
+ Aws::SageMaker::Endpoints::DeleteAssociation.build(context)
175
+ when :delete_code_repository
176
+ Aws::SageMaker::Endpoints::DeleteCodeRepository.build(context)
177
+ when :delete_context
178
+ Aws::SageMaker::Endpoints::DeleteContext.build(context)
179
+ when :delete_data_quality_job_definition
180
+ Aws::SageMaker::Endpoints::DeleteDataQualityJobDefinition.build(context)
181
+ when :delete_device_fleet
182
+ Aws::SageMaker::Endpoints::DeleteDeviceFleet.build(context)
183
+ when :delete_domain
184
+ Aws::SageMaker::Endpoints::DeleteDomain.build(context)
185
+ when :delete_edge_deployment_plan
186
+ Aws::SageMaker::Endpoints::DeleteEdgeDeploymentPlan.build(context)
187
+ when :delete_edge_deployment_stage
188
+ Aws::SageMaker::Endpoints::DeleteEdgeDeploymentStage.build(context)
189
+ when :delete_endpoint
190
+ Aws::SageMaker::Endpoints::DeleteEndpoint.build(context)
191
+ when :delete_endpoint_config
192
+ Aws::SageMaker::Endpoints::DeleteEndpointConfig.build(context)
193
+ when :delete_experiment
194
+ Aws::SageMaker::Endpoints::DeleteExperiment.build(context)
195
+ when :delete_feature_group
196
+ Aws::SageMaker::Endpoints::DeleteFeatureGroup.build(context)
197
+ when :delete_flow_definition
198
+ Aws::SageMaker::Endpoints::DeleteFlowDefinition.build(context)
199
+ when :delete_human_task_ui
200
+ Aws::SageMaker::Endpoints::DeleteHumanTaskUi.build(context)
201
+ when :delete_image
202
+ Aws::SageMaker::Endpoints::DeleteImage.build(context)
203
+ when :delete_image_version
204
+ Aws::SageMaker::Endpoints::DeleteImageVersion.build(context)
205
+ when :delete_model
206
+ Aws::SageMaker::Endpoints::DeleteModel.build(context)
207
+ when :delete_model_bias_job_definition
208
+ Aws::SageMaker::Endpoints::DeleteModelBiasJobDefinition.build(context)
209
+ when :delete_model_explainability_job_definition
210
+ Aws::SageMaker::Endpoints::DeleteModelExplainabilityJobDefinition.build(context)
211
+ when :delete_model_package
212
+ Aws::SageMaker::Endpoints::DeleteModelPackage.build(context)
213
+ when :delete_model_package_group
214
+ Aws::SageMaker::Endpoints::DeleteModelPackageGroup.build(context)
215
+ when :delete_model_package_group_policy
216
+ Aws::SageMaker::Endpoints::DeleteModelPackageGroupPolicy.build(context)
217
+ when :delete_model_quality_job_definition
218
+ Aws::SageMaker::Endpoints::DeleteModelQualityJobDefinition.build(context)
219
+ when :delete_monitoring_schedule
220
+ Aws::SageMaker::Endpoints::DeleteMonitoringSchedule.build(context)
221
+ when :delete_notebook_instance
222
+ Aws::SageMaker::Endpoints::DeleteNotebookInstance.build(context)
223
+ when :delete_notebook_instance_lifecycle_config
224
+ Aws::SageMaker::Endpoints::DeleteNotebookInstanceLifecycleConfig.build(context)
225
+ when :delete_pipeline
226
+ Aws::SageMaker::Endpoints::DeletePipeline.build(context)
227
+ when :delete_project
228
+ Aws::SageMaker::Endpoints::DeleteProject.build(context)
229
+ when :delete_studio_lifecycle_config
230
+ Aws::SageMaker::Endpoints::DeleteStudioLifecycleConfig.build(context)
231
+ when :delete_tags
232
+ Aws::SageMaker::Endpoints::DeleteTags.build(context)
233
+ when :delete_trial
234
+ Aws::SageMaker::Endpoints::DeleteTrial.build(context)
235
+ when :delete_trial_component
236
+ Aws::SageMaker::Endpoints::DeleteTrialComponent.build(context)
237
+ when :delete_user_profile
238
+ Aws::SageMaker::Endpoints::DeleteUserProfile.build(context)
239
+ when :delete_workforce
240
+ Aws::SageMaker::Endpoints::DeleteWorkforce.build(context)
241
+ when :delete_workteam
242
+ Aws::SageMaker::Endpoints::DeleteWorkteam.build(context)
243
+ when :deregister_devices
244
+ Aws::SageMaker::Endpoints::DeregisterDevices.build(context)
245
+ when :describe_action
246
+ Aws::SageMaker::Endpoints::DescribeAction.build(context)
247
+ when :describe_algorithm
248
+ Aws::SageMaker::Endpoints::DescribeAlgorithm.build(context)
249
+ when :describe_app
250
+ Aws::SageMaker::Endpoints::DescribeApp.build(context)
251
+ when :describe_app_image_config
252
+ Aws::SageMaker::Endpoints::DescribeAppImageConfig.build(context)
253
+ when :describe_artifact
254
+ Aws::SageMaker::Endpoints::DescribeArtifact.build(context)
255
+ when :describe_auto_ml_job
256
+ Aws::SageMaker::Endpoints::DescribeAutoMLJob.build(context)
257
+ when :describe_code_repository
258
+ Aws::SageMaker::Endpoints::DescribeCodeRepository.build(context)
259
+ when :describe_compilation_job
260
+ Aws::SageMaker::Endpoints::DescribeCompilationJob.build(context)
261
+ when :describe_context
262
+ Aws::SageMaker::Endpoints::DescribeContext.build(context)
263
+ when :describe_data_quality_job_definition
264
+ Aws::SageMaker::Endpoints::DescribeDataQualityJobDefinition.build(context)
265
+ when :describe_device
266
+ Aws::SageMaker::Endpoints::DescribeDevice.build(context)
267
+ when :describe_device_fleet
268
+ Aws::SageMaker::Endpoints::DescribeDeviceFleet.build(context)
269
+ when :describe_domain
270
+ Aws::SageMaker::Endpoints::DescribeDomain.build(context)
271
+ when :describe_edge_deployment_plan
272
+ Aws::SageMaker::Endpoints::DescribeEdgeDeploymentPlan.build(context)
273
+ when :describe_edge_packaging_job
274
+ Aws::SageMaker::Endpoints::DescribeEdgePackagingJob.build(context)
275
+ when :describe_endpoint
276
+ Aws::SageMaker::Endpoints::DescribeEndpoint.build(context)
277
+ when :describe_endpoint_config
278
+ Aws::SageMaker::Endpoints::DescribeEndpointConfig.build(context)
279
+ when :describe_experiment
280
+ Aws::SageMaker::Endpoints::DescribeExperiment.build(context)
281
+ when :describe_feature_group
282
+ Aws::SageMaker::Endpoints::DescribeFeatureGroup.build(context)
283
+ when :describe_feature_metadata
284
+ Aws::SageMaker::Endpoints::DescribeFeatureMetadata.build(context)
285
+ when :describe_flow_definition
286
+ Aws::SageMaker::Endpoints::DescribeFlowDefinition.build(context)
287
+ when :describe_human_task_ui
288
+ Aws::SageMaker::Endpoints::DescribeHumanTaskUi.build(context)
289
+ when :describe_hyper_parameter_tuning_job
290
+ Aws::SageMaker::Endpoints::DescribeHyperParameterTuningJob.build(context)
291
+ when :describe_image
292
+ Aws::SageMaker::Endpoints::DescribeImage.build(context)
293
+ when :describe_image_version
294
+ Aws::SageMaker::Endpoints::DescribeImageVersion.build(context)
295
+ when :describe_inference_recommendations_job
296
+ Aws::SageMaker::Endpoints::DescribeInferenceRecommendationsJob.build(context)
297
+ when :describe_labeling_job
298
+ Aws::SageMaker::Endpoints::DescribeLabelingJob.build(context)
299
+ when :describe_lineage_group
300
+ Aws::SageMaker::Endpoints::DescribeLineageGroup.build(context)
301
+ when :describe_model
302
+ Aws::SageMaker::Endpoints::DescribeModel.build(context)
303
+ when :describe_model_bias_job_definition
304
+ Aws::SageMaker::Endpoints::DescribeModelBiasJobDefinition.build(context)
305
+ when :describe_model_explainability_job_definition
306
+ Aws::SageMaker::Endpoints::DescribeModelExplainabilityJobDefinition.build(context)
307
+ when :describe_model_package
308
+ Aws::SageMaker::Endpoints::DescribeModelPackage.build(context)
309
+ when :describe_model_package_group
310
+ Aws::SageMaker::Endpoints::DescribeModelPackageGroup.build(context)
311
+ when :describe_model_quality_job_definition
312
+ Aws::SageMaker::Endpoints::DescribeModelQualityJobDefinition.build(context)
313
+ when :describe_monitoring_schedule
314
+ Aws::SageMaker::Endpoints::DescribeMonitoringSchedule.build(context)
315
+ when :describe_notebook_instance
316
+ Aws::SageMaker::Endpoints::DescribeNotebookInstance.build(context)
317
+ when :describe_notebook_instance_lifecycle_config
318
+ Aws::SageMaker::Endpoints::DescribeNotebookInstanceLifecycleConfig.build(context)
319
+ when :describe_pipeline
320
+ Aws::SageMaker::Endpoints::DescribePipeline.build(context)
321
+ when :describe_pipeline_definition_for_execution
322
+ Aws::SageMaker::Endpoints::DescribePipelineDefinitionForExecution.build(context)
323
+ when :describe_pipeline_execution
324
+ Aws::SageMaker::Endpoints::DescribePipelineExecution.build(context)
325
+ when :describe_processing_job
326
+ Aws::SageMaker::Endpoints::DescribeProcessingJob.build(context)
327
+ when :describe_project
328
+ Aws::SageMaker::Endpoints::DescribeProject.build(context)
329
+ when :describe_studio_lifecycle_config
330
+ Aws::SageMaker::Endpoints::DescribeStudioLifecycleConfig.build(context)
331
+ when :describe_subscribed_workteam
332
+ Aws::SageMaker::Endpoints::DescribeSubscribedWorkteam.build(context)
333
+ when :describe_training_job
334
+ Aws::SageMaker::Endpoints::DescribeTrainingJob.build(context)
335
+ when :describe_transform_job
336
+ Aws::SageMaker::Endpoints::DescribeTransformJob.build(context)
337
+ when :describe_trial
338
+ Aws::SageMaker::Endpoints::DescribeTrial.build(context)
339
+ when :describe_trial_component
340
+ Aws::SageMaker::Endpoints::DescribeTrialComponent.build(context)
341
+ when :describe_user_profile
342
+ Aws::SageMaker::Endpoints::DescribeUserProfile.build(context)
343
+ when :describe_workforce
344
+ Aws::SageMaker::Endpoints::DescribeWorkforce.build(context)
345
+ when :describe_workteam
346
+ Aws::SageMaker::Endpoints::DescribeWorkteam.build(context)
347
+ when :disable_sagemaker_servicecatalog_portfolio
348
+ Aws::SageMaker::Endpoints::DisableSagemakerServicecatalogPortfolio.build(context)
349
+ when :disassociate_trial_component
350
+ Aws::SageMaker::Endpoints::DisassociateTrialComponent.build(context)
351
+ when :enable_sagemaker_servicecatalog_portfolio
352
+ Aws::SageMaker::Endpoints::EnableSagemakerServicecatalogPortfolio.build(context)
353
+ when :get_device_fleet_report
354
+ Aws::SageMaker::Endpoints::GetDeviceFleetReport.build(context)
355
+ when :get_lineage_group_policy
356
+ Aws::SageMaker::Endpoints::GetLineageGroupPolicy.build(context)
357
+ when :get_model_package_group_policy
358
+ Aws::SageMaker::Endpoints::GetModelPackageGroupPolicy.build(context)
359
+ when :get_sagemaker_servicecatalog_portfolio_status
360
+ Aws::SageMaker::Endpoints::GetSagemakerServicecatalogPortfolioStatus.build(context)
361
+ when :get_search_suggestions
362
+ Aws::SageMaker::Endpoints::GetSearchSuggestions.build(context)
363
+ when :list_actions
364
+ Aws::SageMaker::Endpoints::ListActions.build(context)
365
+ when :list_algorithms
366
+ Aws::SageMaker::Endpoints::ListAlgorithms.build(context)
367
+ when :list_app_image_configs
368
+ Aws::SageMaker::Endpoints::ListAppImageConfigs.build(context)
369
+ when :list_apps
370
+ Aws::SageMaker::Endpoints::ListApps.build(context)
371
+ when :list_artifacts
372
+ Aws::SageMaker::Endpoints::ListArtifacts.build(context)
373
+ when :list_associations
374
+ Aws::SageMaker::Endpoints::ListAssociations.build(context)
375
+ when :list_auto_ml_jobs
376
+ Aws::SageMaker::Endpoints::ListAutoMLJobs.build(context)
377
+ when :list_candidates_for_auto_ml_job
378
+ Aws::SageMaker::Endpoints::ListCandidatesForAutoMLJob.build(context)
379
+ when :list_code_repositories
380
+ Aws::SageMaker::Endpoints::ListCodeRepositories.build(context)
381
+ when :list_compilation_jobs
382
+ Aws::SageMaker::Endpoints::ListCompilationJobs.build(context)
383
+ when :list_contexts
384
+ Aws::SageMaker::Endpoints::ListContexts.build(context)
385
+ when :list_data_quality_job_definitions
386
+ Aws::SageMaker::Endpoints::ListDataQualityJobDefinitions.build(context)
387
+ when :list_device_fleets
388
+ Aws::SageMaker::Endpoints::ListDeviceFleets.build(context)
389
+ when :list_devices
390
+ Aws::SageMaker::Endpoints::ListDevices.build(context)
391
+ when :list_domains
392
+ Aws::SageMaker::Endpoints::ListDomains.build(context)
393
+ when :list_edge_deployment_plans
394
+ Aws::SageMaker::Endpoints::ListEdgeDeploymentPlans.build(context)
395
+ when :list_edge_packaging_jobs
396
+ Aws::SageMaker::Endpoints::ListEdgePackagingJobs.build(context)
397
+ when :list_endpoint_configs
398
+ Aws::SageMaker::Endpoints::ListEndpointConfigs.build(context)
399
+ when :list_endpoints
400
+ Aws::SageMaker::Endpoints::ListEndpoints.build(context)
401
+ when :list_experiments
402
+ Aws::SageMaker::Endpoints::ListExperiments.build(context)
403
+ when :list_feature_groups
404
+ Aws::SageMaker::Endpoints::ListFeatureGroups.build(context)
405
+ when :list_flow_definitions
406
+ Aws::SageMaker::Endpoints::ListFlowDefinitions.build(context)
407
+ when :list_human_task_uis
408
+ Aws::SageMaker::Endpoints::ListHumanTaskUis.build(context)
409
+ when :list_hyper_parameter_tuning_jobs
410
+ Aws::SageMaker::Endpoints::ListHyperParameterTuningJobs.build(context)
411
+ when :list_image_versions
412
+ Aws::SageMaker::Endpoints::ListImageVersions.build(context)
413
+ when :list_images
414
+ Aws::SageMaker::Endpoints::ListImages.build(context)
415
+ when :list_inference_recommendations_job_steps
416
+ Aws::SageMaker::Endpoints::ListInferenceRecommendationsJobSteps.build(context)
417
+ when :list_inference_recommendations_jobs
418
+ Aws::SageMaker::Endpoints::ListInferenceRecommendationsJobs.build(context)
419
+ when :list_labeling_jobs
420
+ Aws::SageMaker::Endpoints::ListLabelingJobs.build(context)
421
+ when :list_labeling_jobs_for_workteam
422
+ Aws::SageMaker::Endpoints::ListLabelingJobsForWorkteam.build(context)
423
+ when :list_lineage_groups
424
+ Aws::SageMaker::Endpoints::ListLineageGroups.build(context)
425
+ when :list_model_bias_job_definitions
426
+ Aws::SageMaker::Endpoints::ListModelBiasJobDefinitions.build(context)
427
+ when :list_model_explainability_job_definitions
428
+ Aws::SageMaker::Endpoints::ListModelExplainabilityJobDefinitions.build(context)
429
+ when :list_model_metadata
430
+ Aws::SageMaker::Endpoints::ListModelMetadata.build(context)
431
+ when :list_model_package_groups
432
+ Aws::SageMaker::Endpoints::ListModelPackageGroups.build(context)
433
+ when :list_model_packages
434
+ Aws::SageMaker::Endpoints::ListModelPackages.build(context)
435
+ when :list_model_quality_job_definitions
436
+ Aws::SageMaker::Endpoints::ListModelQualityJobDefinitions.build(context)
437
+ when :list_models
438
+ Aws::SageMaker::Endpoints::ListModels.build(context)
439
+ when :list_monitoring_executions
440
+ Aws::SageMaker::Endpoints::ListMonitoringExecutions.build(context)
441
+ when :list_monitoring_schedules
442
+ Aws::SageMaker::Endpoints::ListMonitoringSchedules.build(context)
443
+ when :list_notebook_instance_lifecycle_configs
444
+ Aws::SageMaker::Endpoints::ListNotebookInstanceLifecycleConfigs.build(context)
445
+ when :list_notebook_instances
446
+ Aws::SageMaker::Endpoints::ListNotebookInstances.build(context)
447
+ when :list_pipeline_execution_steps
448
+ Aws::SageMaker::Endpoints::ListPipelineExecutionSteps.build(context)
449
+ when :list_pipeline_executions
450
+ Aws::SageMaker::Endpoints::ListPipelineExecutions.build(context)
451
+ when :list_pipeline_parameters_for_execution
452
+ Aws::SageMaker::Endpoints::ListPipelineParametersForExecution.build(context)
453
+ when :list_pipelines
454
+ Aws::SageMaker::Endpoints::ListPipelines.build(context)
455
+ when :list_processing_jobs
456
+ Aws::SageMaker::Endpoints::ListProcessingJobs.build(context)
457
+ when :list_projects
458
+ Aws::SageMaker::Endpoints::ListProjects.build(context)
459
+ when :list_stage_devices
460
+ Aws::SageMaker::Endpoints::ListStageDevices.build(context)
461
+ when :list_studio_lifecycle_configs
462
+ Aws::SageMaker::Endpoints::ListStudioLifecycleConfigs.build(context)
463
+ when :list_subscribed_workteams
464
+ Aws::SageMaker::Endpoints::ListSubscribedWorkteams.build(context)
465
+ when :list_tags
466
+ Aws::SageMaker::Endpoints::ListTags.build(context)
467
+ when :list_training_jobs
468
+ Aws::SageMaker::Endpoints::ListTrainingJobs.build(context)
469
+ when :list_training_jobs_for_hyper_parameter_tuning_job
470
+ Aws::SageMaker::Endpoints::ListTrainingJobsForHyperParameterTuningJob.build(context)
471
+ when :list_transform_jobs
472
+ Aws::SageMaker::Endpoints::ListTransformJobs.build(context)
473
+ when :list_trial_components
474
+ Aws::SageMaker::Endpoints::ListTrialComponents.build(context)
475
+ when :list_trials
476
+ Aws::SageMaker::Endpoints::ListTrials.build(context)
477
+ when :list_user_profiles
478
+ Aws::SageMaker::Endpoints::ListUserProfiles.build(context)
479
+ when :list_workforces
480
+ Aws::SageMaker::Endpoints::ListWorkforces.build(context)
481
+ when :list_workteams
482
+ Aws::SageMaker::Endpoints::ListWorkteams.build(context)
483
+ when :put_model_package_group_policy
484
+ Aws::SageMaker::Endpoints::PutModelPackageGroupPolicy.build(context)
485
+ when :query_lineage
486
+ Aws::SageMaker::Endpoints::QueryLineage.build(context)
487
+ when :register_devices
488
+ Aws::SageMaker::Endpoints::RegisterDevices.build(context)
489
+ when :render_ui_template
490
+ Aws::SageMaker::Endpoints::RenderUiTemplate.build(context)
491
+ when :retry_pipeline_execution
492
+ Aws::SageMaker::Endpoints::RetryPipelineExecution.build(context)
493
+ when :search
494
+ Aws::SageMaker::Endpoints::Search.build(context)
495
+ when :send_pipeline_execution_step_failure
496
+ Aws::SageMaker::Endpoints::SendPipelineExecutionStepFailure.build(context)
497
+ when :send_pipeline_execution_step_success
498
+ Aws::SageMaker::Endpoints::SendPipelineExecutionStepSuccess.build(context)
499
+ when :start_edge_deployment_stage
500
+ Aws::SageMaker::Endpoints::StartEdgeDeploymentStage.build(context)
501
+ when :start_monitoring_schedule
502
+ Aws::SageMaker::Endpoints::StartMonitoringSchedule.build(context)
503
+ when :start_notebook_instance
504
+ Aws::SageMaker::Endpoints::StartNotebookInstance.build(context)
505
+ when :start_pipeline_execution
506
+ Aws::SageMaker::Endpoints::StartPipelineExecution.build(context)
507
+ when :stop_auto_ml_job
508
+ Aws::SageMaker::Endpoints::StopAutoMLJob.build(context)
509
+ when :stop_compilation_job
510
+ Aws::SageMaker::Endpoints::StopCompilationJob.build(context)
511
+ when :stop_edge_deployment_stage
512
+ Aws::SageMaker::Endpoints::StopEdgeDeploymentStage.build(context)
513
+ when :stop_edge_packaging_job
514
+ Aws::SageMaker::Endpoints::StopEdgePackagingJob.build(context)
515
+ when :stop_hyper_parameter_tuning_job
516
+ Aws::SageMaker::Endpoints::StopHyperParameterTuningJob.build(context)
517
+ when :stop_inference_recommendations_job
518
+ Aws::SageMaker::Endpoints::StopInferenceRecommendationsJob.build(context)
519
+ when :stop_labeling_job
520
+ Aws::SageMaker::Endpoints::StopLabelingJob.build(context)
521
+ when :stop_monitoring_schedule
522
+ Aws::SageMaker::Endpoints::StopMonitoringSchedule.build(context)
523
+ when :stop_notebook_instance
524
+ Aws::SageMaker::Endpoints::StopNotebookInstance.build(context)
525
+ when :stop_pipeline_execution
526
+ Aws::SageMaker::Endpoints::StopPipelineExecution.build(context)
527
+ when :stop_processing_job
528
+ Aws::SageMaker::Endpoints::StopProcessingJob.build(context)
529
+ when :stop_training_job
530
+ Aws::SageMaker::Endpoints::StopTrainingJob.build(context)
531
+ when :stop_transform_job
532
+ Aws::SageMaker::Endpoints::StopTransformJob.build(context)
533
+ when :update_action
534
+ Aws::SageMaker::Endpoints::UpdateAction.build(context)
535
+ when :update_app_image_config
536
+ Aws::SageMaker::Endpoints::UpdateAppImageConfig.build(context)
537
+ when :update_artifact
538
+ Aws::SageMaker::Endpoints::UpdateArtifact.build(context)
539
+ when :update_code_repository
540
+ Aws::SageMaker::Endpoints::UpdateCodeRepository.build(context)
541
+ when :update_context
542
+ Aws::SageMaker::Endpoints::UpdateContext.build(context)
543
+ when :update_device_fleet
544
+ Aws::SageMaker::Endpoints::UpdateDeviceFleet.build(context)
545
+ when :update_devices
546
+ Aws::SageMaker::Endpoints::UpdateDevices.build(context)
547
+ when :update_domain
548
+ Aws::SageMaker::Endpoints::UpdateDomain.build(context)
549
+ when :update_endpoint
550
+ Aws::SageMaker::Endpoints::UpdateEndpoint.build(context)
551
+ when :update_endpoint_weights_and_capacities
552
+ Aws::SageMaker::Endpoints::UpdateEndpointWeightsAndCapacities.build(context)
553
+ when :update_experiment
554
+ Aws::SageMaker::Endpoints::UpdateExperiment.build(context)
555
+ when :update_feature_group
556
+ Aws::SageMaker::Endpoints::UpdateFeatureGroup.build(context)
557
+ when :update_feature_metadata
558
+ Aws::SageMaker::Endpoints::UpdateFeatureMetadata.build(context)
559
+ when :update_image
560
+ Aws::SageMaker::Endpoints::UpdateImage.build(context)
561
+ when :update_model_package
562
+ Aws::SageMaker::Endpoints::UpdateModelPackage.build(context)
563
+ when :update_monitoring_schedule
564
+ Aws::SageMaker::Endpoints::UpdateMonitoringSchedule.build(context)
565
+ when :update_notebook_instance
566
+ Aws::SageMaker::Endpoints::UpdateNotebookInstance.build(context)
567
+ when :update_notebook_instance_lifecycle_config
568
+ Aws::SageMaker::Endpoints::UpdateNotebookInstanceLifecycleConfig.build(context)
569
+ when :update_pipeline
570
+ Aws::SageMaker::Endpoints::UpdatePipeline.build(context)
571
+ when :update_pipeline_execution
572
+ Aws::SageMaker::Endpoints::UpdatePipelineExecution.build(context)
573
+ when :update_project
574
+ Aws::SageMaker::Endpoints::UpdateProject.build(context)
575
+ when :update_training_job
576
+ Aws::SageMaker::Endpoints::UpdateTrainingJob.build(context)
577
+ when :update_trial
578
+ Aws::SageMaker::Endpoints::UpdateTrial.build(context)
579
+ when :update_trial_component
580
+ Aws::SageMaker::Endpoints::UpdateTrialComponent.build(context)
581
+ when :update_user_profile
582
+ Aws::SageMaker::Endpoints::UpdateUserProfile.build(context)
583
+ when :update_workforce
584
+ Aws::SageMaker::Endpoints::UpdateWorkforce.build(context)
585
+ when :update_workteam
586
+ Aws::SageMaker::Endpoints::UpdateWorkteam.build(context)
587
+ end
588
+ end
589
+ end
590
+
591
+ def add_handlers(handlers, _config)
592
+ handlers.add(Handler, step: :build, priority: 75)
593
+ end
594
+ end
595
+ end
596
+ end
@@ -13,10 +13,14 @@ require 'aws-sigv4'
13
13
 
14
14
  require_relative 'aws-sdk-sagemaker/types'
15
15
  require_relative 'aws-sdk-sagemaker/client_api'
16
+ require_relative 'aws-sdk-sagemaker/plugins/endpoints.rb'
16
17
  require_relative 'aws-sdk-sagemaker/client'
17
18
  require_relative 'aws-sdk-sagemaker/errors'
18
19
  require_relative 'aws-sdk-sagemaker/waiters'
19
20
  require_relative 'aws-sdk-sagemaker/resource'
21
+ require_relative 'aws-sdk-sagemaker/endpoint_parameters'
22
+ require_relative 'aws-sdk-sagemaker/endpoint_provider'
23
+ require_relative 'aws-sdk-sagemaker/endpoints'
20
24
  require_relative 'aws-sdk-sagemaker/customizations'
21
25
 
22
26
  # This module provides support for Amazon SageMaker Service. This module is available in the
@@ -49,6 +53,6 @@ require_relative 'aws-sdk-sagemaker/customizations'
49
53
  # @!group service
50
54
  module Aws::SageMaker
51
55
 
52
- GEM_VERSION = '1.147.0'
56
+ GEM_VERSION = '1.148.0'
53
57
 
54
58
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-sagemaker
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.147.0
4
+ version: 1.148.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-10-24 00:00:00.000000000 Z
11
+ date: 2022-10-25 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-sagemaker/client.rb
60
60
  - lib/aws-sdk-sagemaker/client_api.rb
61
61
  - lib/aws-sdk-sagemaker/customizations.rb
62
+ - lib/aws-sdk-sagemaker/endpoint_parameters.rb
63
+ - lib/aws-sdk-sagemaker/endpoint_provider.rb
64
+ - lib/aws-sdk-sagemaker/endpoints.rb
62
65
  - lib/aws-sdk-sagemaker/errors.rb
66
+ - lib/aws-sdk-sagemaker/plugins/endpoints.rb
63
67
  - lib/aws-sdk-sagemaker/resource.rb
64
68
  - lib/aws-sdk-sagemaker/types.rb
65
69
  - lib/aws-sdk-sagemaker/waiters.rb