aws-sdk-sagemaker 1.222.0 → 1.223.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -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 +26 -0
- 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
|
@@ -79,6 +79,8 @@ module Aws::SageMaker
|
|
79
79
|
Aws::SageMaker::Endpoints::CreateAutoMLJob.build(context)
|
80
80
|
when :create_auto_ml_job_v2
|
81
81
|
Aws::SageMaker::Endpoints::CreateAutoMLJobV2.build(context)
|
82
|
+
when :create_cluster
|
83
|
+
Aws::SageMaker::Endpoints::CreateCluster.build(context)
|
82
84
|
when :create_code_repository
|
83
85
|
Aws::SageMaker::Endpoints::CreateCodeRepository.build(context)
|
84
86
|
when :create_compilation_job
|
@@ -117,6 +119,8 @@ module Aws::SageMaker
|
|
117
119
|
Aws::SageMaker::Endpoints::CreateImage.build(context)
|
118
120
|
when :create_image_version
|
119
121
|
Aws::SageMaker::Endpoints::CreateImageVersion.build(context)
|
122
|
+
when :create_inference_component
|
123
|
+
Aws::SageMaker::Endpoints::CreateInferenceComponent.build(context)
|
120
124
|
when :create_inference_experiment
|
121
125
|
Aws::SageMaker::Endpoints::CreateInferenceExperiment.build(context)
|
122
126
|
when :create_inference_recommendations_job
|
@@ -185,6 +189,8 @@ module Aws::SageMaker
|
|
185
189
|
Aws::SageMaker::Endpoints::DeleteArtifact.build(context)
|
186
190
|
when :delete_association
|
187
191
|
Aws::SageMaker::Endpoints::DeleteAssociation.build(context)
|
192
|
+
when :delete_cluster
|
193
|
+
Aws::SageMaker::Endpoints::DeleteCluster.build(context)
|
188
194
|
when :delete_code_repository
|
189
195
|
Aws::SageMaker::Endpoints::DeleteCodeRepository.build(context)
|
190
196
|
when :delete_context
|
@@ -219,6 +225,8 @@ module Aws::SageMaker
|
|
219
225
|
Aws::SageMaker::Endpoints::DeleteImage.build(context)
|
220
226
|
when :delete_image_version
|
221
227
|
Aws::SageMaker::Endpoints::DeleteImageVersion.build(context)
|
228
|
+
when :delete_inference_component
|
229
|
+
Aws::SageMaker::Endpoints::DeleteInferenceComponent.build(context)
|
222
230
|
when :delete_inference_experiment
|
223
231
|
Aws::SageMaker::Endpoints::DeleteInferenceExperiment.build(context)
|
224
232
|
when :delete_model
|
@@ -279,6 +287,10 @@ module Aws::SageMaker
|
|
279
287
|
Aws::SageMaker::Endpoints::DescribeAutoMLJob.build(context)
|
280
288
|
when :describe_auto_ml_job_v2
|
281
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)
|
282
294
|
when :describe_code_repository
|
283
295
|
Aws::SageMaker::Endpoints::DescribeCodeRepository.build(context)
|
284
296
|
when :describe_compilation_job
|
@@ -321,6 +333,8 @@ module Aws::SageMaker
|
|
321
333
|
Aws::SageMaker::Endpoints::DescribeImage.build(context)
|
322
334
|
when :describe_image_version
|
323
335
|
Aws::SageMaker::Endpoints::DescribeImageVersion.build(context)
|
336
|
+
when :describe_inference_component
|
337
|
+
Aws::SageMaker::Endpoints::DescribeInferenceComponent.build(context)
|
324
338
|
when :describe_inference_experiment
|
325
339
|
Aws::SageMaker::Endpoints::DescribeInferenceExperiment.build(context)
|
326
340
|
when :describe_inference_recommendations_job
|
@@ -419,6 +433,10 @@ module Aws::SageMaker
|
|
419
433
|
Aws::SageMaker::Endpoints::ListAutoMLJobs.build(context)
|
420
434
|
when :list_candidates_for_auto_ml_job
|
421
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)
|
422
440
|
when :list_code_repositories
|
423
441
|
Aws::SageMaker::Endpoints::ListCodeRepositories.build(context)
|
424
442
|
when :list_compilation_jobs
|
@@ -461,6 +479,8 @@ module Aws::SageMaker
|
|
461
479
|
Aws::SageMaker::Endpoints::ListImageVersions.build(context)
|
462
480
|
when :list_images
|
463
481
|
Aws::SageMaker::Endpoints::ListImages.build(context)
|
482
|
+
when :list_inference_components
|
483
|
+
Aws::SageMaker::Endpoints::ListInferenceComponents.build(context)
|
464
484
|
when :list_inference_experiments
|
465
485
|
Aws::SageMaker::Endpoints::ListInferenceExperiments.build(context)
|
466
486
|
when :list_inference_recommendations_job_steps
|
@@ -605,6 +625,8 @@ module Aws::SageMaker
|
|
605
625
|
Aws::SageMaker::Endpoints::UpdateAppImageConfig.build(context)
|
606
626
|
when :update_artifact
|
607
627
|
Aws::SageMaker::Endpoints::UpdateArtifact.build(context)
|
628
|
+
when :update_cluster
|
629
|
+
Aws::SageMaker::Endpoints::UpdateCluster.build(context)
|
608
630
|
when :update_code_repository
|
609
631
|
Aws::SageMaker::Endpoints::UpdateCodeRepository.build(context)
|
610
632
|
when :update_context
|
@@ -631,6 +653,10 @@ module Aws::SageMaker
|
|
631
653
|
Aws::SageMaker::Endpoints::UpdateImage.build(context)
|
632
654
|
when :update_image_version
|
633
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)
|
634
660
|
when :update_inference_experiment
|
635
661
|
Aws::SageMaker::Endpoints::UpdateInferenceExperiment.build(context)
|
636
662
|
when :update_model_card
|