aws-sdk-sagemaker 1.414.0 → 1.415.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.
data/sig/client.rbs CHANGED
@@ -3888,6 +3888,7 @@ module Aws
3888
3888
  include ::Seahorse::Client::_ResponseSuccess[Types::DescribeClusterExtensionResponse]
3889
3889
  def extension_details: () -> Types::ExtensionDetails
3890
3890
  def node_summary: () -> Types::ExtensionNodeSummary
3891
+ def health: () -> Types::ExtensionHealth
3891
3892
  end
3892
3893
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMaker/Client.html#describe_cluster_extension-instance_method
3893
3894
  def describe_cluster_extension: (
@@ -3908,6 +3909,23 @@ module Aws
3908
3909
  ) -> _DescribeClusterNodeResponseSuccess
3909
3910
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeClusterNodeResponseSuccess
3910
3911
 
3912
+ interface _DescribeClusterOperationResponseSuccess
3913
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeClusterOperationResponse]
3914
+ def operation_id: () -> ::String
3915
+ def cluster_arn: () -> ::String
3916
+ def type: () -> ("Scaling" | "DeepHealthCheck")
3917
+ def status: () -> ("InProgress" | "Superseded" | "Done")
3918
+ def creation_time: () -> ::Time
3919
+ def scaling_details: () -> ::Array[Types::ClusterOperationScalingDetails]
3920
+ def deep_health_check_details: () -> ::Array[Types::InstanceGroupHealthCheckConfiguration]
3921
+ end
3922
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMaker/Client.html#describe_cluster_operation-instance_method
3923
+ def describe_cluster_operation: (
3924
+ cluster_name: ::String,
3925
+ operation_id: ::String
3926
+ ) -> _DescribeClusterOperationResponseSuccess
3927
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeClusterOperationResponseSuccess
3928
+
3911
3929
  interface _DescribeClusterSchedulerConfigResponseSuccess
3912
3930
  include ::Seahorse::Client::_ResponseSuccess[Types::DescribeClusterSchedulerConfigResponse]
3913
3931
  def cluster_scheduler_config_arn: () -> ::String
@@ -5738,11 +5756,25 @@ module Aws
5738
5756
  ?sort_by: ("EventTime"),
5739
5757
  ?sort_order: ("Ascending" | "Descending"),
5740
5758
  ?resource_type: ("Cluster" | "InstanceGroup" | "Instance"),
5759
+ ?operation_id: ::String,
5741
5760
  ?max_results: ::Integer,
5742
5761
  ?next_token: ::String
5743
5762
  ) -> _ListClusterEventsResponseSuccess
5744
5763
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListClusterEventsResponseSuccess
5745
5764
 
5765
+ interface _ListClusterExtensionVersionsResponseSuccess
5766
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListClusterExtensionVersionsResponse]
5767
+ def extension_versions: () -> ::Array[Types::ExtensionVersionSummary]
5768
+ def next_token: () -> ::String
5769
+ end
5770
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMaker/Client.html#list_cluster_extension_versions-instance_method
5771
+ def list_cluster_extension_versions: (
5772
+ extension_name: ::String,
5773
+ ?max_results: ::Integer,
5774
+ ?next_token: ::String
5775
+ ) -> _ListClusterExtensionVersionsResponseSuccess
5776
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListClusterExtensionVersionsResponseSuccess
5777
+
5746
5778
  interface _ListClusterExtensionsResponseSuccess
5747
5779
  include ::Seahorse::Client::_ResponseSuccess[Types::ListClusterExtensionsResponse]
5748
5780
  def extensions: () -> ::Array[Types::ExtensionSummary]
@@ -5777,6 +5809,25 @@ module Aws
5777
5809
  ) -> _ListClusterNodesResponseSuccess
5778
5810
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListClusterNodesResponseSuccess
5779
5811
 
5812
+ interface _ListClusterOperationsResponseSuccess
5813
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListClusterOperationsResponse]
5814
+ def next_token: () -> ::String
5815
+ def cluster_operation_summaries: () -> ::Array[Types::ClusterOperationSummary]
5816
+ end
5817
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMaker/Client.html#list_cluster_operations-instance_method
5818
+ def list_cluster_operations: (
5819
+ cluster_name: ::String,
5820
+ ?status: ("InProgress" | "Superseded" | "Done"),
5821
+ ?type: ("Scaling" | "DeepHealthCheck"),
5822
+ ?creation_time_after: ::Time,
5823
+ ?creation_time_before: ::Time,
5824
+ ?sort_by: ("CreationTime"),
5825
+ ?sort_order: ("Ascending" | "Descending"),
5826
+ ?max_results: ::Integer,
5827
+ ?next_token: ::String
5828
+ ) -> _ListClusterOperationsResponseSuccess
5829
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListClusterOperationsResponseSuccess
5830
+
5780
5831
  interface _ListClusterSchedulerConfigsResponseSuccess
5781
5832
  include ::Seahorse::Client::_ResponseSuccess[Types::ListClusterSchedulerConfigsResponse]
5782
5833
  def cluster_scheduler_config_summaries: () -> ::Array[Types::ClusterSchedulerConfigSummary]
data/sig/params.rbs CHANGED
@@ -264,11 +264,16 @@ module Aws
264
264
  }
265
265
 
266
266
  type cluster_auto_patch_config = {
267
- patching_strategy: ("WhenIdle" | "WhenAllIdle"),
267
+ patching_strategy: ("WhenIdle" | "WhenAllIdle" | "DrainFirst"),
268
268
  patch_schedule: {
269
269
  next_patch_date: ::Time?
270
270
  }?,
271
- deployment_config: Params::deployment_configuration?
271
+ deployment_config: Params::deployment_configuration?,
272
+ idle_wait_window_in_seconds: ::Integer?,
273
+ drain_policy: {
274
+ drain_timeout_in_seconds: ::Integer?,
275
+ on_drain_timeout: ("Force" | "Skip")?
276
+ }?
272
277
  }
273
278
 
274
279
  type cluster_kubernetes_config = {
data/sig/types.rbs CHANGED
@@ -1274,17 +1274,21 @@ module Aws::SageMaker
1274
1274
  end
1275
1275
 
1276
1276
  class ClusterAutoPatchConfig
1277
- attr_accessor patching_strategy: ("WhenIdle" | "WhenAllIdle")
1277
+ attr_accessor patching_strategy: ("WhenIdle" | "WhenAllIdle" | "DrainFirst")
1278
1278
  attr_accessor patch_schedule: Types::ClusterPatchSchedule
1279
1279
  attr_accessor deployment_config: Types::DeploymentConfiguration
1280
+ attr_accessor idle_wait_window_in_seconds: ::Integer
1281
+ attr_accessor drain_policy: Types::ClusterDrainPolicy
1280
1282
  SENSITIVE: []
1281
1283
  end
1282
1284
 
1283
1285
  class ClusterAutoPatchConfigDetails
1284
- attr_accessor patching_strategy: ("WhenIdle" | "WhenAllIdle")
1286
+ attr_accessor patching_strategy: ("WhenIdle" | "WhenAllIdle" | "DrainFirst")
1285
1287
  attr_accessor current_patch_schedule: Types::ClusterPatchScheduleDetails
1286
1288
  attr_accessor desired_patch_schedule: Types::ClusterPatchScheduleDetails
1287
1289
  attr_accessor deployment_config: Types::DeploymentConfiguration
1290
+ attr_accessor idle_wait_window_in_seconds: ::Integer
1291
+ attr_accessor drain_policy: Types::ClusterDrainPolicy
1288
1292
  SENSITIVE: []
1289
1293
  end
1290
1294
 
@@ -1308,6 +1312,12 @@ module Aws::SageMaker
1308
1312
  SENSITIVE: []
1309
1313
  end
1310
1314
 
1315
+ class ClusterDrainPolicy
1316
+ attr_accessor drain_timeout_in_seconds: ::Integer
1317
+ attr_accessor on_drain_timeout: ("Force" | "Skip")
1318
+ SENSITIVE: []
1319
+ end
1320
+
1311
1321
  class ClusterEbsVolumeConfig
1312
1322
  attr_accessor volume_size_in_gb: ::Integer
1313
1323
  attr_accessor volume_kms_key_id: ::String
@@ -1326,6 +1336,7 @@ module Aws::SageMaker
1326
1336
  attr_accessor event_details: Types::EventDetails
1327
1337
  attr_accessor description: ::String
1328
1338
  attr_accessor event_level: ("Info" | "Warn" | "Error")
1339
+ attr_accessor operation_id: ::String
1329
1340
  SENSITIVE: []
1330
1341
  end
1331
1342
 
@@ -1339,6 +1350,7 @@ module Aws::SageMaker
1339
1350
  attr_accessor event_time: ::Time
1340
1351
  attr_accessor description: ::String
1341
1352
  attr_accessor event_level: ("Info" | "Warn" | "Error")
1353
+ attr_accessor operation_id: ::String
1342
1354
  SENSITIVE: []
1343
1355
  end
1344
1356
 
@@ -1560,6 +1572,30 @@ module Aws::SageMaker
1560
1572
  class ClusterOnDemandOptions < Aws::EmptyStructure
1561
1573
  end
1562
1574
 
1575
+ class ClusterOperationScalingConfiguration
1576
+ attr_accessor current_count: ::Integer
1577
+ attr_accessor target_count: ::Integer
1578
+ attr_accessor min_count: ::Integer
1579
+ SENSITIVE: []
1580
+ end
1581
+
1582
+ class ClusterOperationScalingDetails
1583
+ attr_accessor instance_group_name: ::String
1584
+ attr_accessor status: ("InProgress" | "Superseded" | "Done")
1585
+ attr_accessor original: Types::ClusterOperationScalingConfiguration
1586
+ attr_accessor desired: Types::ClusterOperationScalingConfiguration
1587
+ SENSITIVE: []
1588
+ end
1589
+
1590
+ class ClusterOperationSummary
1591
+ attr_accessor operation_id: ::String
1592
+ attr_accessor cluster_arn: ::String
1593
+ attr_accessor type: ("Scaling" | "DeepHealthCheck")
1594
+ attr_accessor status: ("InProgress" | "Superseded" | "Done")
1595
+ attr_accessor creation_time: ::Time
1596
+ SENSITIVE: []
1597
+ end
1598
+
1563
1599
  class ClusterOrchestrator
1564
1600
  attr_accessor eks: Types::ClusterOrchestratorEksConfig
1565
1601
  attr_accessor slurm: Types::ClusterOrchestratorSlurmConfig
@@ -4066,6 +4102,7 @@ module Aws::SageMaker
4066
4102
  class DescribeClusterExtensionResponse
4067
4103
  attr_accessor extension_details: Types::ExtensionDetails
4068
4104
  attr_accessor node_summary: Types::ExtensionNodeSummary
4105
+ attr_accessor health: Types::ExtensionHealth
4069
4106
  SENSITIVE: []
4070
4107
  end
4071
4108
 
@@ -4081,6 +4118,23 @@ module Aws::SageMaker
4081
4118
  SENSITIVE: []
4082
4119
  end
4083
4120
 
4121
+ class DescribeClusterOperationRequest
4122
+ attr_accessor cluster_name: ::String
4123
+ attr_accessor operation_id: ::String
4124
+ SENSITIVE: []
4125
+ end
4126
+
4127
+ class DescribeClusterOperationResponse
4128
+ attr_accessor operation_id: ::String
4129
+ attr_accessor cluster_arn: ::String
4130
+ attr_accessor type: ("Scaling" | "DeepHealthCheck")
4131
+ attr_accessor status: ("InProgress" | "Superseded" | "Done")
4132
+ attr_accessor creation_time: ::Time
4133
+ attr_accessor scaling_details: ::Array[Types::ClusterOperationScalingDetails]
4134
+ attr_accessor deep_health_check_details: ::Array[Types::InstanceGroupHealthCheckConfiguration]
4135
+ SENSITIVE: []
4136
+ end
4137
+
4084
4138
  class DescribeClusterRequest
4085
4139
  attr_accessor cluster_name: ::String
4086
4140
  SENSITIVE: []
@@ -6106,6 +6160,18 @@ module Aws::SageMaker
6106
6160
  SENSITIVE: []
6107
6161
  end
6108
6162
 
6163
+ class ExtensionHealth
6164
+ attr_accessor issues: ::Array[Types::ExtensionHealthIssue]
6165
+ SENSITIVE: []
6166
+ end
6167
+
6168
+ class ExtensionHealthIssue
6169
+ attr_accessor code: ("InvalidConfiguration" | "ConfigurationConflict" | "AccessDenied" | "ResourceNotFound" | "DependencyUnreachable" | "ExtensionUnhealthy" | "InternalFailure" | "Other")
6170
+ attr_accessor message: ::String
6171
+ attr_accessor node_count: ::Integer
6172
+ SENSITIVE: []
6173
+ end
6174
+
6109
6175
  class ExtensionNodeSummary
6110
6176
  attr_accessor total_count: ::Integer
6111
6177
  attr_accessor active_count: ::Integer
@@ -6121,6 +6187,11 @@ module Aws::SageMaker
6121
6187
  SENSITIVE: []
6122
6188
  end
6123
6189
 
6190
+ class ExtensionVersionSummary
6191
+ attr_accessor extension_version: ::String
6192
+ SENSITIVE: []
6193
+ end
6194
+
6124
6195
  class FSxLustreConfig
6125
6196
  attr_accessor size_in_gi_b: ::Integer
6126
6197
  attr_accessor per_unit_storage_throughput: ::Integer
@@ -7542,6 +7613,7 @@ module Aws::SageMaker
7542
7613
  attr_accessor sort_by: ("EventTime")
7543
7614
  attr_accessor sort_order: ("Ascending" | "Descending")
7544
7615
  attr_accessor resource_type: ("Cluster" | "InstanceGroup" | "Instance")
7616
+ attr_accessor operation_id: ::String
7545
7617
  attr_accessor max_results: ::Integer
7546
7618
  attr_accessor next_token: ::String
7547
7619
  SENSITIVE: []
@@ -7553,6 +7625,19 @@ module Aws::SageMaker
7553
7625
  SENSITIVE: []
7554
7626
  end
7555
7627
 
7628
+ class ListClusterExtensionVersionsRequest
7629
+ attr_accessor extension_name: ::String
7630
+ attr_accessor max_results: ::Integer
7631
+ attr_accessor next_token: ::String
7632
+ SENSITIVE: []
7633
+ end
7634
+
7635
+ class ListClusterExtensionVersionsResponse
7636
+ attr_accessor extension_versions: ::Array[Types::ExtensionVersionSummary]
7637
+ attr_accessor next_token: ::String
7638
+ SENSITIVE: []
7639
+ end
7640
+
7556
7641
  class ListClusterExtensionsRequest
7557
7642
  attr_accessor cluster_arn: ::String
7558
7643
  attr_accessor max_results: ::Integer
@@ -7587,6 +7672,25 @@ module Aws::SageMaker
7587
7672
  SENSITIVE: []
7588
7673
  end
7589
7674
 
7675
+ class ListClusterOperationsRequest
7676
+ attr_accessor cluster_name: ::String
7677
+ attr_accessor status: ("InProgress" | "Superseded" | "Done")
7678
+ attr_accessor type: ("Scaling" | "DeepHealthCheck")
7679
+ attr_accessor creation_time_after: ::Time
7680
+ attr_accessor creation_time_before: ::Time
7681
+ attr_accessor sort_by: ("CreationTime")
7682
+ attr_accessor sort_order: ("Ascending" | "Descending")
7683
+ attr_accessor max_results: ::Integer
7684
+ attr_accessor next_token: ::String
7685
+ SENSITIVE: []
7686
+ end
7687
+
7688
+ class ListClusterOperationsResponse
7689
+ attr_accessor next_token: ::String
7690
+ attr_accessor cluster_operation_summaries: ::Array[Types::ClusterOperationSummary]
7691
+ SENSITIVE: []
7692
+ end
7693
+
7590
7694
  class ListClusterSchedulerConfigsRequest
7591
7695
  attr_accessor created_after: ::Time
7592
7696
  attr_accessor created_before: ::Time
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-sagemaker
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.414.0
4
+ version: 1.415.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services