aws-sdk-sagemaker 1.318.0 → 1.319.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 +307 -3
- data/lib/aws-sdk-sagemaker/client_api.rb +228 -0
- data/lib/aws-sdk-sagemaker/types.rb +789 -10
- data/lib/aws-sdk-sagemaker.rb +1 -1
- data/sig/client.rbs +66 -7
- data/sig/types.rbs +183 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 908693c7588541a0a675f6aad856e960d86910471f83e6195f5ab2f97c912656
|
4
|
+
data.tar.gz: 55968916ee145824527e4bffd9646b194df536b66a99ce6d946e9c0c2f32e623
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5be69095849e1483a7083a9d72890030196ce39435f5596f4c53dee067d7cd5d5966560b61a9822647978d944fd171975b0aea17fde638b0ede8fc5ac48f3f27
|
7
|
+
data.tar.gz: 614f17f9704a4102af218c433bc0a292f24d4ee2af86e0d0c7e2092637a55f64beb24e2c9516882600538bc90c1e12aa8149cd2d5b37d3ada48205297356d0fc
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.319.0 (2025-08-05)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Add support for SageMaker Hyperpod continuous scaling and custom AMI; Introduce new APIs: ListClusterEvents, DescribeClusterEvent, BatchAddClusterNodes
|
8
|
+
|
4
9
|
1.318.0 (2025-08-04)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.319.0
|
@@ -723,6 +723,75 @@ module Aws::SageMaker
|
|
723
723
|
req.send_request(options)
|
724
724
|
end
|
725
725
|
|
726
|
+
# Adds nodes to a HyperPod cluster by incrementing the target count for
|
727
|
+
# one or more instance groups. This operation returns a unique
|
728
|
+
# `NodeLogicalId` for each node being added, which can be used to track
|
729
|
+
# the provisioning status of the node. This API provides a safer
|
730
|
+
# alternative to `UpdateCluster` for scaling operations by avoiding
|
731
|
+
# unintended configuration changes.
|
732
|
+
#
|
733
|
+
# <note markdown="1"> This API is only supported for clusters using `Continuous` as the
|
734
|
+
# `NodeProvisioningMode`.
|
735
|
+
#
|
736
|
+
# </note>
|
737
|
+
#
|
738
|
+
# @option params [required, String] :cluster_name
|
739
|
+
# The name of the HyperPod cluster to which you want to add nodes.
|
740
|
+
#
|
741
|
+
# @option params [String] :client_token
|
742
|
+
# A unique, case-sensitive identifier that you provide to ensure the
|
743
|
+
# idempotency of the request. This token is valid for 8 hours. If you
|
744
|
+
# retry the request with the same client token within this timeframe and
|
745
|
+
# the same parameters, the API returns the same set of `NodeLogicalIds`
|
746
|
+
# with their latest status.
|
747
|
+
#
|
748
|
+
# **A suitable default value is auto-generated.** You should normally
|
749
|
+
# not need to pass this option.**
|
750
|
+
#
|
751
|
+
# @option params [required, Array<Types::AddClusterNodeSpecification>] :nodes_to_add
|
752
|
+
# A list of instance groups and the number of nodes to add to each. You
|
753
|
+
# can specify up to 5 instance groups in a single request, with a
|
754
|
+
# maximum of 50 nodes total across all instance groups.
|
755
|
+
#
|
756
|
+
# @return [Types::BatchAddClusterNodesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
757
|
+
#
|
758
|
+
# * {Types::BatchAddClusterNodesResponse#successful #successful} => Array<Types::NodeAdditionResult>
|
759
|
+
# * {Types::BatchAddClusterNodesResponse#failed #failed} => Array<Types::BatchAddClusterNodesError>
|
760
|
+
#
|
761
|
+
# @example Request syntax with placeholder values
|
762
|
+
#
|
763
|
+
# resp = client.batch_add_cluster_nodes({
|
764
|
+
# cluster_name: "ClusterNameOrArn", # required
|
765
|
+
# client_token: "BatchAddClusterNodesRequestClientTokenString",
|
766
|
+
# nodes_to_add: [ # required
|
767
|
+
# {
|
768
|
+
# instance_group_name: "ClusterInstanceGroupName", # required
|
769
|
+
# increment_target_count_by: 1, # required
|
770
|
+
# },
|
771
|
+
# ],
|
772
|
+
# })
|
773
|
+
#
|
774
|
+
# @example Response structure
|
775
|
+
#
|
776
|
+
# resp.successful #=> Array
|
777
|
+
# resp.successful[0].node_logical_id #=> String
|
778
|
+
# resp.successful[0].instance_group_name #=> String
|
779
|
+
# resp.successful[0].status #=> String, one of "Running", "Failure", "Pending", "ShuttingDown", "SystemUpdating", "DeepHealthCheckInProgress", "NotFound"
|
780
|
+
# resp.failed #=> Array
|
781
|
+
# resp.failed[0].instance_group_name #=> String
|
782
|
+
# resp.failed[0].error_code #=> String, one of "InstanceGroupNotFound", "InvalidInstanceGroupStatus"
|
783
|
+
# resp.failed[0].failed_count #=> Integer
|
784
|
+
# resp.failed[0].message #=> String
|
785
|
+
#
|
786
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/BatchAddClusterNodes AWS API Documentation
|
787
|
+
#
|
788
|
+
# @overload batch_add_cluster_nodes(params = {})
|
789
|
+
# @param [Hash] params ({})
|
790
|
+
def batch_add_cluster_nodes(params = {}, options = {})
|
791
|
+
req = build_request(:batch_add_cluster_nodes, params)
|
792
|
+
req.send_request(options)
|
793
|
+
end
|
794
|
+
|
726
795
|
# Deletes specific nodes within a SageMaker HyperPod cluster.
|
727
796
|
# `BatchDeleteClusterNodes` accepts a cluster name and a list of node
|
728
797
|
# IDs.
|
@@ -764,16 +833,25 @@ module Aws::SageMaker
|
|
764
833
|
#
|
765
834
|
# [1]: http://aws.amazon.com/contact-us/
|
766
835
|
#
|
836
|
+
# @option params [Array<String>] :node_logical_ids
|
837
|
+
# A list of `NodeLogicalIds` identifying the nodes to be deleted. You
|
838
|
+
# can specify up to 50 `NodeLogicalIds`. You must specify either
|
839
|
+
# `NodeLogicalIds`, `InstanceIds`, or both, with a combined maximum of
|
840
|
+
# 50 identifiers.
|
841
|
+
#
|
767
842
|
# @return [Types::BatchDeleteClusterNodesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
768
843
|
#
|
769
844
|
# * {Types::BatchDeleteClusterNodesResponse#failed #failed} => Array<Types::BatchDeleteClusterNodesError>
|
770
845
|
# * {Types::BatchDeleteClusterNodesResponse#successful #successful} => Array<String>
|
846
|
+
# * {Types::BatchDeleteClusterNodesResponse#failed_node_logical_ids #failed_node_logical_ids} => Array<Types::BatchDeleteClusterNodeLogicalIdsError>
|
847
|
+
# * {Types::BatchDeleteClusterNodesResponse#successful_node_logical_ids #successful_node_logical_ids} => Array<String>
|
771
848
|
#
|
772
849
|
# @example Request syntax with placeholder values
|
773
850
|
#
|
774
851
|
# resp = client.batch_delete_cluster_nodes({
|
775
852
|
# cluster_name: "ClusterNameOrArn", # required
|
776
853
|
# node_ids: ["ClusterNodeId"],
|
854
|
+
# node_logical_ids: ["ClusterNodeLogicalId"],
|
777
855
|
# })
|
778
856
|
#
|
779
857
|
# @example Response structure
|
@@ -784,6 +862,12 @@ module Aws::SageMaker
|
|
784
862
|
# resp.failed[0].node_id #=> String
|
785
863
|
# resp.successful #=> Array
|
786
864
|
# resp.successful[0] #=> String
|
865
|
+
# resp.failed_node_logical_ids #=> Array
|
866
|
+
# resp.failed_node_logical_ids[0].code #=> String, one of "NodeIdNotFound", "InvalidNodeStatus", "NodeIdInUse"
|
867
|
+
# resp.failed_node_logical_ids[0].message #=> String
|
868
|
+
# resp.failed_node_logical_ids[0].node_logical_id #=> String
|
869
|
+
# resp.successful_node_logical_ids #=> Array
|
870
|
+
# resp.successful_node_logical_ids[0] #=> String
|
787
871
|
#
|
788
872
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/BatchDeleteClusterNodes AWS API Documentation
|
789
873
|
#
|
@@ -2106,6 +2190,20 @@ module Aws::SageMaker
|
|
2106
2190
|
# administrators will need to manually manage any faulty cluster
|
2107
2191
|
# instances.
|
2108
2192
|
#
|
2193
|
+
# @option params [String] :node_provisioning_mode
|
2194
|
+
# The mode for provisioning nodes in the cluster. You can specify the
|
2195
|
+
# following modes:
|
2196
|
+
#
|
2197
|
+
# * **Continuous**: Scaling behavior that enables 1) concurrent
|
2198
|
+
# operation execution within instance groups, 2) continuous retry
|
2199
|
+
# mechanisms for failed operations, 3) enhanced customer visibility
|
2200
|
+
# into cluster events through detailed event streams, 4) partial
|
2201
|
+
# provisioning capabilities. Your clusters and instance groups remain
|
2202
|
+
# `InService` while scaling. This mode is only supported for EKS
|
2203
|
+
# orchestrated clusters.
|
2204
|
+
#
|
2205
|
+
# ^
|
2206
|
+
#
|
2109
2207
|
# @return [Types::CreateClusterResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2110
2208
|
#
|
2111
2209
|
# * {Types::CreateClusterResponse#cluster_arn #cluster_arn} => String
|
@@ -2159,6 +2257,7 @@ module Aws::SageMaker
|
|
2159
2257
|
# ],
|
2160
2258
|
# },
|
2161
2259
|
# },
|
2260
|
+
# image_id: "ImageId",
|
2162
2261
|
# },
|
2163
2262
|
# ],
|
2164
2263
|
# restricted_instance_groups: [
|
@@ -2226,6 +2325,7 @@ module Aws::SageMaker
|
|
2226
2325
|
# },
|
2227
2326
|
# },
|
2228
2327
|
# node_recovery: "Automatic", # accepts Automatic, None
|
2328
|
+
# node_provisioning_mode: "Continuous", # accepts Continuous
|
2229
2329
|
# })
|
2230
2330
|
#
|
2231
2331
|
# @example Response structure
|
@@ -13147,6 +13247,7 @@ module Aws::SageMaker
|
|
13147
13247
|
# * {Types::DescribeClusterResponse#vpc_config #vpc_config} => Types::VpcConfig
|
13148
13248
|
# * {Types::DescribeClusterResponse#orchestrator #orchestrator} => Types::ClusterOrchestrator
|
13149
13249
|
# * {Types::DescribeClusterResponse#node_recovery #node_recovery} => String
|
13250
|
+
# * {Types::DescribeClusterResponse#node_provisioning_mode #node_provisioning_mode} => String
|
13150
13251
|
#
|
13151
13252
|
# @example Request syntax with placeholder values
|
13152
13253
|
#
|
@@ -13189,6 +13290,8 @@ module Aws::SageMaker
|
|
13189
13290
|
# resp.instance_groups[0].scheduled_update_config.deployment_config.wait_interval_in_seconds #=> Integer
|
13190
13291
|
# resp.instance_groups[0].scheduled_update_config.deployment_config.auto_rollback_configuration #=> Array
|
13191
13292
|
# resp.instance_groups[0].scheduled_update_config.deployment_config.auto_rollback_configuration[0].alarm_name #=> String
|
13293
|
+
# resp.instance_groups[0].current_image_id #=> String
|
13294
|
+
# resp.instance_groups[0].desired_image_id #=> String
|
13192
13295
|
# resp.restricted_instance_groups #=> Array
|
13193
13296
|
# resp.restricted_instance_groups[0].current_count #=> Integer
|
13194
13297
|
# resp.restricted_instance_groups[0].target_count #=> Integer
|
@@ -13224,6 +13327,7 @@ module Aws::SageMaker
|
|
13224
13327
|
# resp.vpc_config.subnets[0] #=> String
|
13225
13328
|
# resp.orchestrator.eks.cluster_arn #=> String
|
13226
13329
|
# resp.node_recovery #=> String, one of "Automatic", "None"
|
13330
|
+
# resp.node_provisioning_mode #=> String, one of "Continuous"
|
13227
13331
|
#
|
13228
13332
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeCluster AWS API Documentation
|
13229
13333
|
#
|
@@ -13234,6 +13338,72 @@ module Aws::SageMaker
|
|
13234
13338
|
req.send_request(options)
|
13235
13339
|
end
|
13236
13340
|
|
13341
|
+
# Retrieves detailed information about a specific event for a given
|
13342
|
+
# HyperPod cluster. This functionality is only supported when the
|
13343
|
+
# `NodeProvisioningMode` is set to `Continuous`.
|
13344
|
+
#
|
13345
|
+
# @option params [required, String] :event_id
|
13346
|
+
# The unique identifier (UUID) of the event to describe. This ID can be
|
13347
|
+
# obtained from the `ListClusterEvents` operation.
|
13348
|
+
#
|
13349
|
+
# @option params [required, String] :cluster_name
|
13350
|
+
# The name or Amazon Resource Name (ARN) of the HyperPod cluster
|
13351
|
+
# associated with the event.
|
13352
|
+
#
|
13353
|
+
# @return [Types::DescribeClusterEventResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
13354
|
+
#
|
13355
|
+
# * {Types::DescribeClusterEventResponse#event_details #event_details} => Types::ClusterEventDetail
|
13356
|
+
#
|
13357
|
+
# @example Request syntax with placeholder values
|
13358
|
+
#
|
13359
|
+
# resp = client.describe_cluster_event({
|
13360
|
+
# event_id: "EventId", # required
|
13361
|
+
# cluster_name: "ClusterNameOrArn", # required
|
13362
|
+
# })
|
13363
|
+
#
|
13364
|
+
# @example Response structure
|
13365
|
+
#
|
13366
|
+
# resp.event_details.event_id #=> String
|
13367
|
+
# resp.event_details.cluster_arn #=> String
|
13368
|
+
# resp.event_details.cluster_name #=> String
|
13369
|
+
# resp.event_details.instance_group_name #=> String
|
13370
|
+
# resp.event_details.instance_id #=> String
|
13371
|
+
# resp.event_details.resource_type #=> String, one of "Cluster", "InstanceGroup", "Instance"
|
13372
|
+
# resp.event_details.event_time #=> Time
|
13373
|
+
# resp.event_details.event_details.event_metadata.cluster.failure_message #=> String
|
13374
|
+
# resp.event_details.event_details.event_metadata.cluster.eks_role_access_entries #=> Array
|
13375
|
+
# resp.event_details.event_details.event_metadata.cluster.eks_role_access_entries[0] #=> String
|
13376
|
+
# resp.event_details.event_details.event_metadata.cluster.slr_access_entry #=> String
|
13377
|
+
# resp.event_details.event_details.event_metadata.instance_group.failure_message #=> String
|
13378
|
+
# resp.event_details.event_details.event_metadata.instance_group.availability_zone_id #=> String
|
13379
|
+
# resp.event_details.event_details.event_metadata.instance_group.capacity_reservation.arn #=> String
|
13380
|
+
# resp.event_details.event_details.event_metadata.instance_group.capacity_reservation.type #=> String, one of "ODCR", "CRG"
|
13381
|
+
# resp.event_details.event_details.event_metadata.instance_group.subnet_id #=> String
|
13382
|
+
# resp.event_details.event_details.event_metadata.instance_group.security_group_ids #=> Array
|
13383
|
+
# resp.event_details.event_details.event_metadata.instance_group.security_group_ids[0] #=> String
|
13384
|
+
# resp.event_details.event_details.event_metadata.instance_group.ami_override #=> String
|
13385
|
+
# resp.event_details.event_details.event_metadata.instance_group_scaling.instance_count #=> Integer
|
13386
|
+
# resp.event_details.event_details.event_metadata.instance_group_scaling.target_count #=> Integer
|
13387
|
+
# resp.event_details.event_details.event_metadata.instance_group_scaling.failure_message #=> String
|
13388
|
+
# resp.event_details.event_details.event_metadata.instance.customer_eni #=> String
|
13389
|
+
# resp.event_details.event_details.event_metadata.instance.additional_enis.efa_enis #=> Array
|
13390
|
+
# resp.event_details.event_details.event_metadata.instance.additional_enis.efa_enis[0] #=> String
|
13391
|
+
# resp.event_details.event_details.event_metadata.instance.capacity_reservation.arn #=> String
|
13392
|
+
# resp.event_details.event_details.event_metadata.instance.capacity_reservation.type #=> String, one of "ODCR", "CRG"
|
13393
|
+
# resp.event_details.event_details.event_metadata.instance.failure_message #=> String
|
13394
|
+
# resp.event_details.event_details.event_metadata.instance.lcs_execution_state #=> String
|
13395
|
+
# resp.event_details.event_details.event_metadata.instance.node_logical_id #=> String
|
13396
|
+
# resp.event_details.description #=> String
|
13397
|
+
#
|
13398
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeClusterEvent AWS API Documentation
|
13399
|
+
#
|
13400
|
+
# @overload describe_cluster_event(params = {})
|
13401
|
+
# @param [Hash] params ({})
|
13402
|
+
def describe_cluster_event(params = {}, options = {})
|
13403
|
+
req = build_request(:describe_cluster_event, params)
|
13404
|
+
req.send_request(options)
|
13405
|
+
end
|
13406
|
+
|
13237
13407
|
# Retrieves information of a node (also called a *instance*
|
13238
13408
|
# interchangeably) of a SageMaker HyperPod cluster.
|
13239
13409
|
#
|
@@ -13244,6 +13414,12 @@ module Aws::SageMaker
|
|
13244
13414
|
# @option params [String] :node_id
|
13245
13415
|
# The ID of the SageMaker HyperPod cluster node.
|
13246
13416
|
#
|
13417
|
+
# @option params [String] :node_logical_id
|
13418
|
+
# The logical identifier of the node to describe. You can specify either
|
13419
|
+
# `NodeLogicalId` or `InstanceId`, but not both. `NodeLogicalId` can be
|
13420
|
+
# used to describe nodes that are still being provisioned and don't yet
|
13421
|
+
# have an `InstanceId` assigned.
|
13422
|
+
#
|
13247
13423
|
# @return [Types::DescribeClusterNodeResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
13248
13424
|
#
|
13249
13425
|
# * {Types::DescribeClusterNodeResponse#node_details #node_details} => Types::ClusterNodeDetails
|
@@ -13253,13 +13429,15 @@ module Aws::SageMaker
|
|
13253
13429
|
# resp = client.describe_cluster_node({
|
13254
13430
|
# cluster_name: "ClusterNameOrArn", # required
|
13255
13431
|
# node_id: "ClusterNodeId",
|
13432
|
+
# node_logical_id: "ClusterNodeLogicalId",
|
13256
13433
|
# })
|
13257
13434
|
#
|
13258
13435
|
# @example Response structure
|
13259
13436
|
#
|
13260
13437
|
# resp.node_details.instance_group_name #=> String
|
13261
13438
|
# resp.node_details.instance_id #=> String
|
13262
|
-
# resp.node_details.
|
13439
|
+
# resp.node_details.node_logical_id #=> String
|
13440
|
+
# resp.node_details.instance_status.status #=> String, one of "Running", "Failure", "Pending", "ShuttingDown", "SystemUpdating", "DeepHealthCheckInProgress", "NotFound"
|
13263
13441
|
# resp.node_details.instance_status.message #=> String
|
13264
13442
|
# resp.node_details.instance_type #=> String, one of "ml.p4d.24xlarge", "ml.p4de.24xlarge", "ml.p5.48xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.12xlarge", "ml.g5.16xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.c5n.large", "ml.c5n.2xlarge", "ml.c5n.4xlarge", "ml.c5n.9xlarge", "ml.c5n.18xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.g6.xlarge", "ml.g6.2xlarge", "ml.g6.4xlarge", "ml.g6.8xlarge", "ml.g6.16xlarge", "ml.g6.12xlarge", "ml.g6.24xlarge", "ml.g6.48xlarge", "ml.gr6.4xlarge", "ml.gr6.8xlarge", "ml.g6e.xlarge", "ml.g6e.2xlarge", "ml.g6e.4xlarge", "ml.g6e.8xlarge", "ml.g6e.16xlarge", "ml.g6e.12xlarge", "ml.g6e.24xlarge", "ml.g6e.48xlarge", "ml.p5e.48xlarge", "ml.p5en.48xlarge", "ml.p6-b200.48xlarge", "ml.trn2.48xlarge", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.4xlarge", "ml.c6i.8xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.m6i.large", "ml.m6i.xlarge", "ml.m6i.2xlarge", "ml.m6i.4xlarge", "ml.m6i.8xlarge", "ml.m6i.12xlarge", "ml.m6i.16xlarge", "ml.m6i.24xlarge", "ml.m6i.32xlarge", "ml.r6i.large", "ml.r6i.xlarge", "ml.r6i.2xlarge", "ml.r6i.4xlarge", "ml.r6i.8xlarge", "ml.r6i.12xlarge", "ml.r6i.16xlarge", "ml.r6i.24xlarge", "ml.r6i.32xlarge", "ml.i3en.large", "ml.i3en.xlarge", "ml.i3en.2xlarge", "ml.i3en.3xlarge", "ml.i3en.6xlarge", "ml.i3en.12xlarge", "ml.i3en.24xlarge", "ml.m7i.large", "ml.m7i.xlarge", "ml.m7i.2xlarge", "ml.m7i.4xlarge", "ml.m7i.8xlarge", "ml.m7i.12xlarge", "ml.m7i.16xlarge", "ml.m7i.24xlarge", "ml.m7i.48xlarge", "ml.r7i.large", "ml.r7i.xlarge", "ml.r7i.2xlarge", "ml.r7i.4xlarge", "ml.r7i.8xlarge", "ml.r7i.12xlarge", "ml.r7i.16xlarge", "ml.r7i.24xlarge", "ml.r7i.48xlarge"
|
13265
13443
|
# resp.node_details.launch_time #=> Time
|
@@ -13278,6 +13456,8 @@ module Aws::SageMaker
|
|
13278
13456
|
# resp.node_details.private_dns_hostname #=> String
|
13279
13457
|
# resp.node_details.placement.availability_zone #=> String
|
13280
13458
|
# resp.node_details.placement.availability_zone_id #=> String
|
13459
|
+
# resp.node_details.current_image_id #=> String
|
13460
|
+
# resp.node_details.desired_image_id #=> String
|
13281
13461
|
#
|
13282
13462
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeClusterNode AWS API Documentation
|
13283
13463
|
#
|
@@ -19666,6 +19846,95 @@ module Aws::SageMaker
|
|
19666
19846
|
req.send_request(options)
|
19667
19847
|
end
|
19668
19848
|
|
19849
|
+
# Retrieves a list of event summaries for a specified HyperPod cluster.
|
19850
|
+
# The operation supports filtering, sorting, and pagination of results.
|
19851
|
+
# This functionality is only supported when the `NodeProvisioningMode`
|
19852
|
+
# is set to `Continuous`.
|
19853
|
+
#
|
19854
|
+
# @option params [required, String] :cluster_name
|
19855
|
+
# The name or Amazon Resource Name (ARN) of the HyperPod cluster for
|
19856
|
+
# which to list events.
|
19857
|
+
#
|
19858
|
+
# @option params [String] :instance_group_name
|
19859
|
+
# The name of the instance group to filter events. If specified, only
|
19860
|
+
# events related to this instance group are returned.
|
19861
|
+
#
|
19862
|
+
# @option params [String] :node_id
|
19863
|
+
# The EC2 instance ID to filter events. If specified, only events
|
19864
|
+
# related to this instance are returned.
|
19865
|
+
#
|
19866
|
+
# @option params [Time,DateTime,Date,Integer,String] :event_time_after
|
19867
|
+
# The start of the time range for filtering events. Only events that
|
19868
|
+
# occurred after this time are included in the results.
|
19869
|
+
#
|
19870
|
+
# @option params [Time,DateTime,Date,Integer,String] :event_time_before
|
19871
|
+
# The end of the time range for filtering events. Only events that
|
19872
|
+
# occurred before this time are included in the results.
|
19873
|
+
#
|
19874
|
+
# @option params [String] :sort_by
|
19875
|
+
# The field to use for sorting the event list. Currently, the only
|
19876
|
+
# supported value is `EventTime`.
|
19877
|
+
#
|
19878
|
+
# @option params [String] :sort_order
|
19879
|
+
# The order in which to sort the results. Valid values are `Ascending`
|
19880
|
+
# or `Descending` (the default is `Descending`).
|
19881
|
+
#
|
19882
|
+
# @option params [String] :resource_type
|
19883
|
+
# The type of resource for which to filter events. Valid values are
|
19884
|
+
# `Cluster`, `InstanceGroup`, or `Instance`.
|
19885
|
+
#
|
19886
|
+
# @option params [Integer] :max_results
|
19887
|
+
# The maximum number of events to return in the response. Valid range is
|
19888
|
+
# 1 to 100.
|
19889
|
+
#
|
19890
|
+
# @option params [String] :next_token
|
19891
|
+
# A token to retrieve the next set of results. This token is obtained
|
19892
|
+
# from the output of a previous `ListClusterEvents` call.
|
19893
|
+
#
|
19894
|
+
# @return [Types::ListClusterEventsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
19895
|
+
#
|
19896
|
+
# * {Types::ListClusterEventsResponse#next_token #next_token} => String
|
19897
|
+
# * {Types::ListClusterEventsResponse#events #events} => Array<Types::ClusterEventSummary>
|
19898
|
+
#
|
19899
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
19900
|
+
#
|
19901
|
+
# @example Request syntax with placeholder values
|
19902
|
+
#
|
19903
|
+
# resp = client.list_cluster_events({
|
19904
|
+
# cluster_name: "ClusterNameOrArn", # required
|
19905
|
+
# instance_group_name: "ClusterInstanceGroupName",
|
19906
|
+
# node_id: "ClusterNodeId",
|
19907
|
+
# event_time_after: Time.now,
|
19908
|
+
# event_time_before: Time.now,
|
19909
|
+
# sort_by: "EventTime", # accepts EventTime
|
19910
|
+
# sort_order: "Ascending", # accepts Ascending, Descending
|
19911
|
+
# resource_type: "Cluster", # accepts Cluster, InstanceGroup, Instance
|
19912
|
+
# max_results: 1,
|
19913
|
+
# next_token: "NextToken",
|
19914
|
+
# })
|
19915
|
+
#
|
19916
|
+
# @example Response structure
|
19917
|
+
#
|
19918
|
+
# resp.next_token #=> String
|
19919
|
+
# resp.events #=> Array
|
19920
|
+
# resp.events[0].event_id #=> String
|
19921
|
+
# resp.events[0].cluster_arn #=> String
|
19922
|
+
# resp.events[0].cluster_name #=> String
|
19923
|
+
# resp.events[0].instance_group_name #=> String
|
19924
|
+
# resp.events[0].instance_id #=> String
|
19925
|
+
# resp.events[0].resource_type #=> String, one of "Cluster", "InstanceGroup", "Instance"
|
19926
|
+
# resp.events[0].event_time #=> Time
|
19927
|
+
# resp.events[0].description #=> String
|
19928
|
+
#
|
19929
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListClusterEvents AWS API Documentation
|
19930
|
+
#
|
19931
|
+
# @overload list_cluster_events(params = {})
|
19932
|
+
# @param [Hash] params ({})
|
19933
|
+
def list_cluster_events(params = {}, options = {})
|
19934
|
+
req = build_request(:list_cluster_events, params)
|
19935
|
+
req.send_request(options)
|
19936
|
+
end
|
19937
|
+
|
19669
19938
|
# Retrieves the list of instances (also called *nodes* interchangeably)
|
19670
19939
|
# in a SageMaker HyperPod cluster.
|
19671
19940
|
#
|
@@ -19729,6 +19998,12 @@ module Aws::SageMaker
|
|
19729
19998
|
# @option params [String] :sort_order
|
19730
19999
|
# The sort order for results. The default value is `Ascending`.
|
19731
20000
|
#
|
20001
|
+
# @option params [Boolean] :include_node_logical_ids
|
20002
|
+
# Specifies whether to include nodes that are still being provisioned in
|
20003
|
+
# the response. When set to true, the response includes all nodes
|
20004
|
+
# regardless of their provisioning status. When set to `False`
|
20005
|
+
# (default), only nodes with assigned `InstanceIds` are returned.
|
20006
|
+
#
|
19732
20007
|
# @return [Types::ListClusterNodesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
19733
20008
|
#
|
19734
20009
|
# * {Types::ListClusterNodesResponse#next_token #next_token} => String
|
@@ -19747,6 +20022,7 @@ module Aws::SageMaker
|
|
19747
20022
|
# next_token: "NextToken",
|
19748
20023
|
# sort_by: "CREATION_TIME", # accepts CREATION_TIME, NAME
|
19749
20024
|
# sort_order: "Ascending", # accepts Ascending, Descending
|
20025
|
+
# include_node_logical_ids: false,
|
19750
20026
|
# })
|
19751
20027
|
#
|
19752
20028
|
# @example Response structure
|
@@ -19755,10 +20031,11 @@ module Aws::SageMaker
|
|
19755
20031
|
# resp.cluster_node_summaries #=> Array
|
19756
20032
|
# resp.cluster_node_summaries[0].instance_group_name #=> String
|
19757
20033
|
# resp.cluster_node_summaries[0].instance_id #=> String
|
20034
|
+
# resp.cluster_node_summaries[0].node_logical_id #=> String
|
19758
20035
|
# resp.cluster_node_summaries[0].instance_type #=> String, one of "ml.p4d.24xlarge", "ml.p4de.24xlarge", "ml.p5.48xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.12xlarge", "ml.g5.16xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.c5n.large", "ml.c5n.2xlarge", "ml.c5n.4xlarge", "ml.c5n.9xlarge", "ml.c5n.18xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.g6.xlarge", "ml.g6.2xlarge", "ml.g6.4xlarge", "ml.g6.8xlarge", "ml.g6.16xlarge", "ml.g6.12xlarge", "ml.g6.24xlarge", "ml.g6.48xlarge", "ml.gr6.4xlarge", "ml.gr6.8xlarge", "ml.g6e.xlarge", "ml.g6e.2xlarge", "ml.g6e.4xlarge", "ml.g6e.8xlarge", "ml.g6e.16xlarge", "ml.g6e.12xlarge", "ml.g6e.24xlarge", "ml.g6e.48xlarge", "ml.p5e.48xlarge", "ml.p5en.48xlarge", "ml.p6-b200.48xlarge", "ml.trn2.48xlarge", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.4xlarge", "ml.c6i.8xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.m6i.large", "ml.m6i.xlarge", "ml.m6i.2xlarge", "ml.m6i.4xlarge", "ml.m6i.8xlarge", "ml.m6i.12xlarge", "ml.m6i.16xlarge", "ml.m6i.24xlarge", "ml.m6i.32xlarge", "ml.r6i.large", "ml.r6i.xlarge", "ml.r6i.2xlarge", "ml.r6i.4xlarge", "ml.r6i.8xlarge", "ml.r6i.12xlarge", "ml.r6i.16xlarge", "ml.r6i.24xlarge", "ml.r6i.32xlarge", "ml.i3en.large", "ml.i3en.xlarge", "ml.i3en.2xlarge", "ml.i3en.3xlarge", "ml.i3en.6xlarge", "ml.i3en.12xlarge", "ml.i3en.24xlarge", "ml.m7i.large", "ml.m7i.xlarge", "ml.m7i.2xlarge", "ml.m7i.4xlarge", "ml.m7i.8xlarge", "ml.m7i.12xlarge", "ml.m7i.16xlarge", "ml.m7i.24xlarge", "ml.m7i.48xlarge", "ml.r7i.large", "ml.r7i.xlarge", "ml.r7i.2xlarge", "ml.r7i.4xlarge", "ml.r7i.8xlarge", "ml.r7i.12xlarge", "ml.r7i.16xlarge", "ml.r7i.24xlarge", "ml.r7i.48xlarge"
|
19759
20036
|
# resp.cluster_node_summaries[0].launch_time #=> Time
|
19760
20037
|
# resp.cluster_node_summaries[0].last_software_update_time #=> Time
|
19761
|
-
# resp.cluster_node_summaries[0].instance_status.status #=> String, one of "Running", "Failure", "Pending", "ShuttingDown", "SystemUpdating", "DeepHealthCheckInProgress"
|
20038
|
+
# resp.cluster_node_summaries[0].instance_status.status #=> String, one of "Running", "Failure", "Pending", "ShuttingDown", "SystemUpdating", "DeepHealthCheckInProgress", "NotFound"
|
19762
20039
|
# resp.cluster_node_summaries[0].instance_status.message #=> String
|
19763
20040
|
#
|
19764
20041
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListClusterNodes AWS API Documentation
|
@@ -26954,6 +27231,7 @@ module Aws::SageMaker
|
|
26954
27231
|
# ],
|
26955
27232
|
# },
|
26956
27233
|
# },
|
27234
|
+
# image_id: "ImageId",
|
26957
27235
|
# },
|
26958
27236
|
# ],
|
26959
27237
|
# restricted_instance_groups: [
|
@@ -27094,6 +27372,31 @@ module Aws::SageMaker
|
|
27094
27372
|
# @option params [Types::DeploymentConfiguration] :deployment_config
|
27095
27373
|
# The configuration to use when updating the AMI versions.
|
27096
27374
|
#
|
27375
|
+
# @option params [String] :image_id
|
27376
|
+
# When configuring your HyperPod cluster, you can specify an image ID
|
27377
|
+
# using one of the following options:
|
27378
|
+
#
|
27379
|
+
# * `HyperPodPublicAmiId`: Use a HyperPod public AMI
|
27380
|
+
#
|
27381
|
+
# * `CustomAmiId`: Use your custom AMI
|
27382
|
+
#
|
27383
|
+
# * `default`: Use the default latest system image
|
27384
|
+
#
|
27385
|
+
# f you choose to use a custom AMI (`CustomAmiId`), ensure it meets the
|
27386
|
+
# following requirements:
|
27387
|
+
#
|
27388
|
+
# * Encryption: The custom AMI must be unencrypted.
|
27389
|
+
#
|
27390
|
+
# * Ownership: The custom AMI must be owned by the same Amazon Web
|
27391
|
+
# Services account that is creating the HyperPod cluster.
|
27392
|
+
#
|
27393
|
+
# * Volume support: Only the primary AMI snapshot volume is supported;
|
27394
|
+
# additional AMI volumes are not supported.
|
27395
|
+
#
|
27396
|
+
# When updating the instance group's AMI through the
|
27397
|
+
# `UpdateClusterSoftware` operation, if an instance group uses a custom
|
27398
|
+
# AMI, you must provide an `ImageId` or use the default as input.
|
27399
|
+
#
|
27097
27400
|
# @return [Types::UpdateClusterSoftwareResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
27098
27401
|
#
|
27099
27402
|
# * {Types::UpdateClusterSoftwareResponse#cluster_arn #cluster_arn} => String
|
@@ -27125,6 +27428,7 @@ module Aws::SageMaker
|
|
27125
27428
|
# },
|
27126
27429
|
# ],
|
27127
27430
|
# },
|
27431
|
+
# image_id: "ImageId",
|
27128
27432
|
# })
|
27129
27433
|
#
|
27130
27434
|
# @example Response structure
|
@@ -30579,7 +30883,7 @@ module Aws::SageMaker
|
|
30579
30883
|
tracer: tracer
|
30580
30884
|
)
|
30581
30885
|
context[:gem_name] = 'aws-sdk-sagemaker'
|
30582
|
-
context[:gem_version] = '1.
|
30886
|
+
context[:gem_version] = '1.319.0'
|
30583
30887
|
Seahorse::Client::Request.new(handlers, context)
|
30584
30888
|
end
|
30585
30889
|
|