aws-sdk-sagemaker 1.221.0 → 1.223.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-sagemaker/client.rb +1083 -65
- data/lib/aws-sdk-sagemaker/client_api.rb +493 -3
- data/lib/aws-sdk-sagemaker/endpoints.rb +182 -0
- data/lib/aws-sdk-sagemaker/plugins/endpoints.rb +29 -2
- data/lib/aws-sdk-sagemaker/types.rb +1651 -85
- data/lib/aws-sdk-sagemaker.rb +1 -1
- metadata +2 -2
@@ -166,6 +166,20 @@ module Aws::SageMaker
|
|
166
166
|
end
|
167
167
|
end
|
168
168
|
|
169
|
+
class CreateCluster
|
170
|
+
def self.build(context)
|
171
|
+
unless context.config.regional_endpoint
|
172
|
+
endpoint = context.config.endpoint.to_s
|
173
|
+
end
|
174
|
+
Aws::SageMaker::EndpointParameters.new(
|
175
|
+
region: context.config.region,
|
176
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
177
|
+
use_fips: context.config.use_fips_endpoint,
|
178
|
+
endpoint: endpoint,
|
179
|
+
)
|
180
|
+
end
|
181
|
+
end
|
182
|
+
|
169
183
|
class CreateCodeRepository
|
170
184
|
def self.build(context)
|
171
185
|
unless context.config.regional_endpoint
|
@@ -432,6 +446,20 @@ module Aws::SageMaker
|
|
432
446
|
end
|
433
447
|
end
|
434
448
|
|
449
|
+
class CreateInferenceComponent
|
450
|
+
def self.build(context)
|
451
|
+
unless context.config.regional_endpoint
|
452
|
+
endpoint = context.config.endpoint.to_s
|
453
|
+
end
|
454
|
+
Aws::SageMaker::EndpointParameters.new(
|
455
|
+
region: context.config.region,
|
456
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
457
|
+
use_fips: context.config.use_fips_endpoint,
|
458
|
+
endpoint: endpoint,
|
459
|
+
)
|
460
|
+
end
|
461
|
+
end
|
462
|
+
|
435
463
|
class CreateInferenceExperiment
|
436
464
|
def self.build(context)
|
437
465
|
unless context.config.regional_endpoint
|
@@ -908,6 +936,20 @@ module Aws::SageMaker
|
|
908
936
|
end
|
909
937
|
end
|
910
938
|
|
939
|
+
class DeleteCluster
|
940
|
+
def self.build(context)
|
941
|
+
unless context.config.regional_endpoint
|
942
|
+
endpoint = context.config.endpoint.to_s
|
943
|
+
end
|
944
|
+
Aws::SageMaker::EndpointParameters.new(
|
945
|
+
region: context.config.region,
|
946
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
947
|
+
use_fips: context.config.use_fips_endpoint,
|
948
|
+
endpoint: endpoint,
|
949
|
+
)
|
950
|
+
end
|
951
|
+
end
|
952
|
+
|
911
953
|
class DeleteCodeRepository
|
912
954
|
def self.build(context)
|
913
955
|
unless context.config.regional_endpoint
|
@@ -1146,6 +1188,20 @@ module Aws::SageMaker
|
|
1146
1188
|
end
|
1147
1189
|
end
|
1148
1190
|
|
1191
|
+
class DeleteInferenceComponent
|
1192
|
+
def self.build(context)
|
1193
|
+
unless context.config.regional_endpoint
|
1194
|
+
endpoint = context.config.endpoint.to_s
|
1195
|
+
end
|
1196
|
+
Aws::SageMaker::EndpointParameters.new(
|
1197
|
+
region: context.config.region,
|
1198
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
1199
|
+
use_fips: context.config.use_fips_endpoint,
|
1200
|
+
endpoint: endpoint,
|
1201
|
+
)
|
1202
|
+
end
|
1203
|
+
end
|
1204
|
+
|
1149
1205
|
class DeleteInferenceExperiment
|
1150
1206
|
def self.build(context)
|
1151
1207
|
unless context.config.regional_endpoint
|
@@ -1566,6 +1622,34 @@ module Aws::SageMaker
|
|
1566
1622
|
end
|
1567
1623
|
end
|
1568
1624
|
|
1625
|
+
class DescribeCluster
|
1626
|
+
def self.build(context)
|
1627
|
+
unless context.config.regional_endpoint
|
1628
|
+
endpoint = context.config.endpoint.to_s
|
1629
|
+
end
|
1630
|
+
Aws::SageMaker::EndpointParameters.new(
|
1631
|
+
region: context.config.region,
|
1632
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
1633
|
+
use_fips: context.config.use_fips_endpoint,
|
1634
|
+
endpoint: endpoint,
|
1635
|
+
)
|
1636
|
+
end
|
1637
|
+
end
|
1638
|
+
|
1639
|
+
class DescribeClusterNode
|
1640
|
+
def self.build(context)
|
1641
|
+
unless context.config.regional_endpoint
|
1642
|
+
endpoint = context.config.endpoint.to_s
|
1643
|
+
end
|
1644
|
+
Aws::SageMaker::EndpointParameters.new(
|
1645
|
+
region: context.config.region,
|
1646
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
1647
|
+
use_fips: context.config.use_fips_endpoint,
|
1648
|
+
endpoint: endpoint,
|
1649
|
+
)
|
1650
|
+
end
|
1651
|
+
end
|
1652
|
+
|
1569
1653
|
class DescribeCodeRepository
|
1570
1654
|
def self.build(context)
|
1571
1655
|
unless context.config.regional_endpoint
|
@@ -1860,6 +1944,20 @@ module Aws::SageMaker
|
|
1860
1944
|
end
|
1861
1945
|
end
|
1862
1946
|
|
1947
|
+
class DescribeInferenceComponent
|
1948
|
+
def self.build(context)
|
1949
|
+
unless context.config.regional_endpoint
|
1950
|
+
endpoint = context.config.endpoint.to_s
|
1951
|
+
end
|
1952
|
+
Aws::SageMaker::EndpointParameters.new(
|
1953
|
+
region: context.config.region,
|
1954
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
1955
|
+
use_fips: context.config.use_fips_endpoint,
|
1956
|
+
endpoint: endpoint,
|
1957
|
+
)
|
1958
|
+
end
|
1959
|
+
end
|
1960
|
+
|
1863
1961
|
class DescribeInferenceExperiment
|
1864
1962
|
def self.build(context)
|
1865
1963
|
unless context.config.regional_endpoint
|
@@ -2546,6 +2644,34 @@ module Aws::SageMaker
|
|
2546
2644
|
end
|
2547
2645
|
end
|
2548
2646
|
|
2647
|
+
class ListClusterNodes
|
2648
|
+
def self.build(context)
|
2649
|
+
unless context.config.regional_endpoint
|
2650
|
+
endpoint = context.config.endpoint.to_s
|
2651
|
+
end
|
2652
|
+
Aws::SageMaker::EndpointParameters.new(
|
2653
|
+
region: context.config.region,
|
2654
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
2655
|
+
use_fips: context.config.use_fips_endpoint,
|
2656
|
+
endpoint: endpoint,
|
2657
|
+
)
|
2658
|
+
end
|
2659
|
+
end
|
2660
|
+
|
2661
|
+
class ListClusters
|
2662
|
+
def self.build(context)
|
2663
|
+
unless context.config.regional_endpoint
|
2664
|
+
endpoint = context.config.endpoint.to_s
|
2665
|
+
end
|
2666
|
+
Aws::SageMaker::EndpointParameters.new(
|
2667
|
+
region: context.config.region,
|
2668
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
2669
|
+
use_fips: context.config.use_fips_endpoint,
|
2670
|
+
endpoint: endpoint,
|
2671
|
+
)
|
2672
|
+
end
|
2673
|
+
end
|
2674
|
+
|
2549
2675
|
class ListCodeRepositories
|
2550
2676
|
def self.build(context)
|
2551
2677
|
unless context.config.regional_endpoint
|
@@ -2840,6 +2966,20 @@ module Aws::SageMaker
|
|
2840
2966
|
end
|
2841
2967
|
end
|
2842
2968
|
|
2969
|
+
class ListInferenceComponents
|
2970
|
+
def self.build(context)
|
2971
|
+
unless context.config.regional_endpoint
|
2972
|
+
endpoint = context.config.endpoint.to_s
|
2973
|
+
end
|
2974
|
+
Aws::SageMaker::EndpointParameters.new(
|
2975
|
+
region: context.config.region,
|
2976
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
2977
|
+
use_fips: context.config.use_fips_endpoint,
|
2978
|
+
endpoint: endpoint,
|
2979
|
+
)
|
2980
|
+
end
|
2981
|
+
end
|
2982
|
+
|
2843
2983
|
class ListInferenceExperiments
|
2844
2984
|
def self.build(context)
|
2845
2985
|
unless context.config.regional_endpoint
|
@@ -3848,6 +3988,20 @@ module Aws::SageMaker
|
|
3848
3988
|
end
|
3849
3989
|
end
|
3850
3990
|
|
3991
|
+
class UpdateCluster
|
3992
|
+
def self.build(context)
|
3993
|
+
unless context.config.regional_endpoint
|
3994
|
+
endpoint = context.config.endpoint.to_s
|
3995
|
+
end
|
3996
|
+
Aws::SageMaker::EndpointParameters.new(
|
3997
|
+
region: context.config.region,
|
3998
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
3999
|
+
use_fips: context.config.use_fips_endpoint,
|
4000
|
+
endpoint: endpoint,
|
4001
|
+
)
|
4002
|
+
end
|
4003
|
+
end
|
4004
|
+
|
3851
4005
|
class UpdateCodeRepository
|
3852
4006
|
def self.build(context)
|
3853
4007
|
unless context.config.regional_endpoint
|
@@ -4030,6 +4184,34 @@ module Aws::SageMaker
|
|
4030
4184
|
end
|
4031
4185
|
end
|
4032
4186
|
|
4187
|
+
class UpdateInferenceComponent
|
4188
|
+
def self.build(context)
|
4189
|
+
unless context.config.regional_endpoint
|
4190
|
+
endpoint = context.config.endpoint.to_s
|
4191
|
+
end
|
4192
|
+
Aws::SageMaker::EndpointParameters.new(
|
4193
|
+
region: context.config.region,
|
4194
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
4195
|
+
use_fips: context.config.use_fips_endpoint,
|
4196
|
+
endpoint: endpoint,
|
4197
|
+
)
|
4198
|
+
end
|
4199
|
+
end
|
4200
|
+
|
4201
|
+
class UpdateInferenceComponentRuntimeConfig
|
4202
|
+
def self.build(context)
|
4203
|
+
unless context.config.regional_endpoint
|
4204
|
+
endpoint = context.config.endpoint.to_s
|
4205
|
+
end
|
4206
|
+
Aws::SageMaker::EndpointParameters.new(
|
4207
|
+
region: context.config.region,
|
4208
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
4209
|
+
use_fips: context.config.use_fips_endpoint,
|
4210
|
+
endpoint: endpoint,
|
4211
|
+
)
|
4212
|
+
end
|
4213
|
+
end
|
4214
|
+
|
4033
4215
|
class UpdateInferenceExperiment
|
4034
4216
|
def self.build(context)
|
4035
4217
|
unless context.config.regional_endpoint
|
@@ -25,16 +25,17 @@ module Aws::SageMaker
|
|
25
25
|
# @api private
|
26
26
|
class Handler < Seahorse::Client::Handler
|
27
27
|
def call(context)
|
28
|
-
# If endpoint was discovered, do not resolve or apply the endpoint.
|
29
28
|
unless context[:discovered_endpoint]
|
30
29
|
params = parameters_for_operation(context)
|
31
30
|
endpoint = context.config.endpoint_provider.resolve_endpoint(params)
|
32
31
|
|
33
32
|
context.http_request.endpoint = endpoint.url
|
34
33
|
apply_endpoint_headers(context, endpoint.headers)
|
34
|
+
|
35
|
+
context[:endpoint_params] = params
|
36
|
+
context[:endpoint_properties] = endpoint.properties
|
35
37
|
end
|
36
38
|
|
37
|
-
context[:endpoint_params] = params
|
38
39
|
context[:auth_scheme] =
|
39
40
|
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
|
40
41
|
|
@@ -78,6 +79,8 @@ module Aws::SageMaker
|
|
78
79
|
Aws::SageMaker::Endpoints::CreateAutoMLJob.build(context)
|
79
80
|
when :create_auto_ml_job_v2
|
80
81
|
Aws::SageMaker::Endpoints::CreateAutoMLJobV2.build(context)
|
82
|
+
when :create_cluster
|
83
|
+
Aws::SageMaker::Endpoints::CreateCluster.build(context)
|
81
84
|
when :create_code_repository
|
82
85
|
Aws::SageMaker::Endpoints::CreateCodeRepository.build(context)
|
83
86
|
when :create_compilation_job
|
@@ -116,6 +119,8 @@ module Aws::SageMaker
|
|
116
119
|
Aws::SageMaker::Endpoints::CreateImage.build(context)
|
117
120
|
when :create_image_version
|
118
121
|
Aws::SageMaker::Endpoints::CreateImageVersion.build(context)
|
122
|
+
when :create_inference_component
|
123
|
+
Aws::SageMaker::Endpoints::CreateInferenceComponent.build(context)
|
119
124
|
when :create_inference_experiment
|
120
125
|
Aws::SageMaker::Endpoints::CreateInferenceExperiment.build(context)
|
121
126
|
when :create_inference_recommendations_job
|
@@ -184,6 +189,8 @@ module Aws::SageMaker
|
|
184
189
|
Aws::SageMaker::Endpoints::DeleteArtifact.build(context)
|
185
190
|
when :delete_association
|
186
191
|
Aws::SageMaker::Endpoints::DeleteAssociation.build(context)
|
192
|
+
when :delete_cluster
|
193
|
+
Aws::SageMaker::Endpoints::DeleteCluster.build(context)
|
187
194
|
when :delete_code_repository
|
188
195
|
Aws::SageMaker::Endpoints::DeleteCodeRepository.build(context)
|
189
196
|
when :delete_context
|
@@ -218,6 +225,8 @@ module Aws::SageMaker
|
|
218
225
|
Aws::SageMaker::Endpoints::DeleteImage.build(context)
|
219
226
|
when :delete_image_version
|
220
227
|
Aws::SageMaker::Endpoints::DeleteImageVersion.build(context)
|
228
|
+
when :delete_inference_component
|
229
|
+
Aws::SageMaker::Endpoints::DeleteInferenceComponent.build(context)
|
221
230
|
when :delete_inference_experiment
|
222
231
|
Aws::SageMaker::Endpoints::DeleteInferenceExperiment.build(context)
|
223
232
|
when :delete_model
|
@@ -278,6 +287,10 @@ module Aws::SageMaker
|
|
278
287
|
Aws::SageMaker::Endpoints::DescribeAutoMLJob.build(context)
|
279
288
|
when :describe_auto_ml_job_v2
|
280
289
|
Aws::SageMaker::Endpoints::DescribeAutoMLJobV2.build(context)
|
290
|
+
when :describe_cluster
|
291
|
+
Aws::SageMaker::Endpoints::DescribeCluster.build(context)
|
292
|
+
when :describe_cluster_node
|
293
|
+
Aws::SageMaker::Endpoints::DescribeClusterNode.build(context)
|
281
294
|
when :describe_code_repository
|
282
295
|
Aws::SageMaker::Endpoints::DescribeCodeRepository.build(context)
|
283
296
|
when :describe_compilation_job
|
@@ -320,6 +333,8 @@ module Aws::SageMaker
|
|
320
333
|
Aws::SageMaker::Endpoints::DescribeImage.build(context)
|
321
334
|
when :describe_image_version
|
322
335
|
Aws::SageMaker::Endpoints::DescribeImageVersion.build(context)
|
336
|
+
when :describe_inference_component
|
337
|
+
Aws::SageMaker::Endpoints::DescribeInferenceComponent.build(context)
|
323
338
|
when :describe_inference_experiment
|
324
339
|
Aws::SageMaker::Endpoints::DescribeInferenceExperiment.build(context)
|
325
340
|
when :describe_inference_recommendations_job
|
@@ -418,6 +433,10 @@ module Aws::SageMaker
|
|
418
433
|
Aws::SageMaker::Endpoints::ListAutoMLJobs.build(context)
|
419
434
|
when :list_candidates_for_auto_ml_job
|
420
435
|
Aws::SageMaker::Endpoints::ListCandidatesForAutoMLJob.build(context)
|
436
|
+
when :list_cluster_nodes
|
437
|
+
Aws::SageMaker::Endpoints::ListClusterNodes.build(context)
|
438
|
+
when :list_clusters
|
439
|
+
Aws::SageMaker::Endpoints::ListClusters.build(context)
|
421
440
|
when :list_code_repositories
|
422
441
|
Aws::SageMaker::Endpoints::ListCodeRepositories.build(context)
|
423
442
|
when :list_compilation_jobs
|
@@ -460,6 +479,8 @@ module Aws::SageMaker
|
|
460
479
|
Aws::SageMaker::Endpoints::ListImageVersions.build(context)
|
461
480
|
when :list_images
|
462
481
|
Aws::SageMaker::Endpoints::ListImages.build(context)
|
482
|
+
when :list_inference_components
|
483
|
+
Aws::SageMaker::Endpoints::ListInferenceComponents.build(context)
|
463
484
|
when :list_inference_experiments
|
464
485
|
Aws::SageMaker::Endpoints::ListInferenceExperiments.build(context)
|
465
486
|
when :list_inference_recommendations_job_steps
|
@@ -604,6 +625,8 @@ module Aws::SageMaker
|
|
604
625
|
Aws::SageMaker::Endpoints::UpdateAppImageConfig.build(context)
|
605
626
|
when :update_artifact
|
606
627
|
Aws::SageMaker::Endpoints::UpdateArtifact.build(context)
|
628
|
+
when :update_cluster
|
629
|
+
Aws::SageMaker::Endpoints::UpdateCluster.build(context)
|
607
630
|
when :update_code_repository
|
608
631
|
Aws::SageMaker::Endpoints::UpdateCodeRepository.build(context)
|
609
632
|
when :update_context
|
@@ -630,6 +653,10 @@ module Aws::SageMaker
|
|
630
653
|
Aws::SageMaker::Endpoints::UpdateImage.build(context)
|
631
654
|
when :update_image_version
|
632
655
|
Aws::SageMaker::Endpoints::UpdateImageVersion.build(context)
|
656
|
+
when :update_inference_component
|
657
|
+
Aws::SageMaker::Endpoints::UpdateInferenceComponent.build(context)
|
658
|
+
when :update_inference_component_runtime_config
|
659
|
+
Aws::SageMaker::Endpoints::UpdateInferenceComponentRuntimeConfig.build(context)
|
633
660
|
when :update_inference_experiment
|
634
661
|
Aws::SageMaker::Endpoints::UpdateInferenceExperiment.build(context)
|
635
662
|
when :update_model_card
|