aws-sdk-sagemaker 1.417.0 → 1.419.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-sagemaker/client.rb +886 -6
- data/lib/aws-sdk-sagemaker/client_api.rb +533 -0
- data/lib/aws-sdk-sagemaker/types.rb +1551 -1
- data/lib/aws-sdk-sagemaker.rb +1 -1
- data/sig/client.rbs +229 -0
- data/sig/params.rbs +9 -0
- data/sig/types.rbs +351 -3
- metadata +1 -1
|
@@ -1069,6 +1069,71 @@ module Aws::SageMaker
|
|
|
1069
1069
|
include Aws::Structure
|
|
1070
1070
|
end
|
|
1071
1071
|
|
|
1072
|
+
# @!attribute [rw] identifier
|
|
1073
|
+
# The name, Amazon Resource Name (ARN), or ID of the global inference
|
|
1074
|
+
# gateway.
|
|
1075
|
+
# @return [String]
|
|
1076
|
+
#
|
|
1077
|
+
# @!attribute [rw] cluster_arn
|
|
1078
|
+
# The Amazon Resource Name (ARN) of the SageMaker HyperPod cluster
|
|
1079
|
+
# that runs the in-cluster inference gateway. The cluster must be in
|
|
1080
|
+
# the same account and partition as the global inference gateway. It
|
|
1081
|
+
# can be in a different Region, but not in an opt-in Region.
|
|
1082
|
+
# @return [String]
|
|
1083
|
+
#
|
|
1084
|
+
# @!attribute [rw] namespace
|
|
1085
|
+
# The Kubernetes namespace of the in-cluster inference gateway.
|
|
1086
|
+
# @return [String]
|
|
1087
|
+
#
|
|
1088
|
+
# @!attribute [rw] name
|
|
1089
|
+
# The name of the `InferenceGatewayConfig` resource that defines the
|
|
1090
|
+
# in-cluster inference gateway.
|
|
1091
|
+
# @return [String]
|
|
1092
|
+
#
|
|
1093
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/AddInferenceGatewayRequest AWS API Documentation
|
|
1094
|
+
#
|
|
1095
|
+
class AddInferenceGatewayRequest < Struct.new(
|
|
1096
|
+
:identifier,
|
|
1097
|
+
:cluster_arn,
|
|
1098
|
+
:namespace,
|
|
1099
|
+
:name)
|
|
1100
|
+
SENSITIVE = []
|
|
1101
|
+
include Aws::Structure
|
|
1102
|
+
end
|
|
1103
|
+
|
|
1104
|
+
# @!attribute [rw] arn
|
|
1105
|
+
# The Amazon Resource Name (ARN) of the global inference gateway.
|
|
1106
|
+
# @return [String]
|
|
1107
|
+
#
|
|
1108
|
+
# @!attribute [rw] id
|
|
1109
|
+
# The ID of the global inference gateway.
|
|
1110
|
+
# @return [String]
|
|
1111
|
+
#
|
|
1112
|
+
# @!attribute [rw] name
|
|
1113
|
+
# The name of the global inference gateway.
|
|
1114
|
+
# @return [String]
|
|
1115
|
+
#
|
|
1116
|
+
# @!attribute [rw] gateway
|
|
1117
|
+
# The in-cluster inference gateway that you added.
|
|
1118
|
+
# @return [Types::GlobalInferenceGatewayMember]
|
|
1119
|
+
#
|
|
1120
|
+
# @!attribute [rw] status
|
|
1121
|
+
# The status of the in-cluster inference gateway in the global
|
|
1122
|
+
# inference gateway.
|
|
1123
|
+
# @return [String]
|
|
1124
|
+
#
|
|
1125
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/AddInferenceGatewayResponse AWS API Documentation
|
|
1126
|
+
#
|
|
1127
|
+
class AddInferenceGatewayResponse < Struct.new(
|
|
1128
|
+
:arn,
|
|
1129
|
+
:id,
|
|
1130
|
+
:name,
|
|
1131
|
+
:gateway,
|
|
1132
|
+
:status)
|
|
1133
|
+
SENSITIVE = []
|
|
1134
|
+
include Aws::Structure
|
|
1135
|
+
end
|
|
1136
|
+
|
|
1072
1137
|
# @!attribute [rw] resource_arn
|
|
1073
1138
|
# The Amazon Resource Name (ARN) of the resource that you want to tag.
|
|
1074
1139
|
# @return [String]
|
|
@@ -5349,6 +5414,438 @@ module Aws::SageMaker
|
|
|
5349
5414
|
include Aws::Structure
|
|
5350
5415
|
end
|
|
5351
5416
|
|
|
5417
|
+
# Details about a SageMaker Capacity Reservation. A SageMaker Capacity
|
|
5418
|
+
# Reservation reserves a number of instances of one instance type in one
|
|
5419
|
+
# Availability Zone for a period of time.
|
|
5420
|
+
#
|
|
5421
|
+
# @!attribute [rw] sm_capacity_reservation_arn
|
|
5422
|
+
# The Amazon Resource Name (ARN) of the SageMaker Capacity
|
|
5423
|
+
# Reservation.
|
|
5424
|
+
# @return [String]
|
|
5425
|
+
#
|
|
5426
|
+
# @!attribute [rw] sm_capacity_reservation_id
|
|
5427
|
+
# The ID of the SageMaker Capacity Reservation. The ID is the last
|
|
5428
|
+
# part of the ARN and starts with `smcr-`.
|
|
5429
|
+
# @return [String]
|
|
5430
|
+
#
|
|
5431
|
+
# @!attribute [rw] owner
|
|
5432
|
+
# The ID of the Amazon Web Services account that owns the SageMaker
|
|
5433
|
+
# Capacity Reservation.
|
|
5434
|
+
# @return [String]
|
|
5435
|
+
#
|
|
5436
|
+
# @!attribute [rw] status
|
|
5437
|
+
# The status of the SageMaker Capacity Reservation. SageMaker AI sets
|
|
5438
|
+
# the status from the start and end times of the reservation. Valid
|
|
5439
|
+
# values:
|
|
5440
|
+
#
|
|
5441
|
+
# Scheduled
|
|
5442
|
+
#
|
|
5443
|
+
# : The current time is before `StartTime`.
|
|
5444
|
+
#
|
|
5445
|
+
# Active
|
|
5446
|
+
#
|
|
5447
|
+
# : The current time is between `StartTime` and `EndTime`. You can use
|
|
5448
|
+
# the reserved instances.
|
|
5449
|
+
#
|
|
5450
|
+
# Expired
|
|
5451
|
+
#
|
|
5452
|
+
# : The current time is at or after `EndTime`.
|
|
5453
|
+
# @return [String]
|
|
5454
|
+
#
|
|
5455
|
+
# @!attribute [rw] instance_type
|
|
5456
|
+
# The SageMaker AI instance type of the reserved instances, for
|
|
5457
|
+
# example `ml.p5.48xlarge`.
|
|
5458
|
+
# @return [String]
|
|
5459
|
+
#
|
|
5460
|
+
# @!attribute [rw] availability_zone
|
|
5461
|
+
# The name of the Availability Zone of the reserved instances, for
|
|
5462
|
+
# example `us-east-1a`. Availability Zone names can map to different
|
|
5463
|
+
# physical zones in different accounts. To identify the same zone
|
|
5464
|
+
# across accounts, use `AvailabilityZoneId`.
|
|
5465
|
+
# @return [String]
|
|
5466
|
+
#
|
|
5467
|
+
# @!attribute [rw] availability_zone_id
|
|
5468
|
+
# The ID of the Availability Zone of the reserved instances, for
|
|
5469
|
+
# example `use1-az1`. An Availability Zone ID identifies the same
|
|
5470
|
+
# physical zone in every account.
|
|
5471
|
+
# @return [String]
|
|
5472
|
+
#
|
|
5473
|
+
# @!attribute [rw] total_instance_count
|
|
5474
|
+
# The number of instances in the SageMaker Capacity Reservation.
|
|
5475
|
+
# @return [Integer]
|
|
5476
|
+
#
|
|
5477
|
+
# @!attribute [rw] start_time
|
|
5478
|
+
# The time when the reserved instances become available.
|
|
5479
|
+
# @return [Time]
|
|
5480
|
+
#
|
|
5481
|
+
# @!attribute [rw] end_time
|
|
5482
|
+
# The time when the SageMaker Capacity Reservation ends. This value is
|
|
5483
|
+
# not returned if the reservation has no end time.
|
|
5484
|
+
# @return [Time]
|
|
5485
|
+
#
|
|
5486
|
+
# @!attribute [rw] creation_time
|
|
5487
|
+
# The time when the SageMaker Capacity Reservation was created.
|
|
5488
|
+
# @return [Time]
|
|
5489
|
+
#
|
|
5490
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CapacityReservationDetail AWS API Documentation
|
|
5491
|
+
#
|
|
5492
|
+
class CapacityReservationDetail < Struct.new(
|
|
5493
|
+
:sm_capacity_reservation_arn,
|
|
5494
|
+
:sm_capacity_reservation_id,
|
|
5495
|
+
:owner,
|
|
5496
|
+
:status,
|
|
5497
|
+
:instance_type,
|
|
5498
|
+
:availability_zone,
|
|
5499
|
+
:availability_zone_id,
|
|
5500
|
+
:total_instance_count,
|
|
5501
|
+
:start_time,
|
|
5502
|
+
:end_time,
|
|
5503
|
+
:creation_time)
|
|
5504
|
+
SENSITIVE = []
|
|
5505
|
+
include Aws::Structure
|
|
5506
|
+
end
|
|
5507
|
+
|
|
5508
|
+
# The association between the SageMaker AI endpoints in your account and
|
|
5509
|
+
# a SageMaker Capacity Reservation, through one ML capacity reservation.
|
|
5510
|
+
# To use the reserved instances for an endpoint, specify the ML capacity
|
|
5511
|
+
# reservation ARN in the `MlReservationArn` field of
|
|
5512
|
+
# `ProductionVariantCapacityReservationConfig` when you call
|
|
5513
|
+
# `CreateEndpointConfig`.
|
|
5514
|
+
#
|
|
5515
|
+
# @!attribute [rw] ml_reservation_id
|
|
5516
|
+
# The name of the ML capacity reservation. The name is the last part
|
|
5517
|
+
# of the ML capacity reservation ARN.
|
|
5518
|
+
# @return [String]
|
|
5519
|
+
#
|
|
5520
|
+
# @!attribute [rw] status
|
|
5521
|
+
# The status of the association. Valid values:
|
|
5522
|
+
#
|
|
5523
|
+
# Pending
|
|
5524
|
+
#
|
|
5525
|
+
# : SageMaker AI is adding or removing the association.
|
|
5526
|
+
#
|
|
5527
|
+
# Active
|
|
5528
|
+
#
|
|
5529
|
+
# : The resources are associated with the SageMaker Capacity
|
|
5530
|
+
# Reservation and can use its instances.
|
|
5531
|
+
#
|
|
5532
|
+
# Inactive
|
|
5533
|
+
#
|
|
5534
|
+
# : The resources are not associated with the SageMaker Capacity
|
|
5535
|
+
# Reservation.
|
|
5536
|
+
# @return [String]
|
|
5537
|
+
#
|
|
5538
|
+
# @!attribute [rw] match_criteria
|
|
5539
|
+
# How endpoints in your account match the ML capacity reservation.
|
|
5540
|
+
# Valid values:
|
|
5541
|
+
#
|
|
5542
|
+
# Open
|
|
5543
|
+
#
|
|
5544
|
+
# : Endpoints in your account use the ML capacity reservation
|
|
5545
|
+
# automatically when their instance type matches. You don't specify
|
|
5546
|
+
# the ML capacity reservation ARN when you create the endpoint.
|
|
5547
|
+
#
|
|
5548
|
+
# Targeted
|
|
5549
|
+
#
|
|
5550
|
+
# : An endpoint uses the ML capacity reservation only when you specify
|
|
5551
|
+
# its ARN when you create or update the endpoint.
|
|
5552
|
+
# @return [String]
|
|
5553
|
+
#
|
|
5554
|
+
# @!attribute [rw] endpoint_sharing
|
|
5555
|
+
# Whether one endpoint or multiple endpoints can use the ML capacity
|
|
5556
|
+
# reservation. Valid values:
|
|
5557
|
+
#
|
|
5558
|
+
# SingleEndpoint
|
|
5559
|
+
#
|
|
5560
|
+
# : Only one endpoint can use the ML capacity reservation.
|
|
5561
|
+
#
|
|
5562
|
+
# MultipleEndpoints
|
|
5563
|
+
#
|
|
5564
|
+
# : Multiple endpoints can use the ML capacity reservation.
|
|
5565
|
+
# @return [String]
|
|
5566
|
+
#
|
|
5567
|
+
# @!attribute [rw] ml_reservation_arn
|
|
5568
|
+
# The Amazon Resource Name (ARN) of the ML capacity reservation.
|
|
5569
|
+
# Specify this ARN in `CreateEndpointConfig` to use the reserved
|
|
5570
|
+
# instances for an endpoint. For a new ML capacity reservation, this
|
|
5571
|
+
# value is returned when the status is `Active`.
|
|
5572
|
+
# @return [String]
|
|
5573
|
+
#
|
|
5574
|
+
# @!attribute [rw] failure_reason
|
|
5575
|
+
# The reason that the most recent attempt to add or remove the
|
|
5576
|
+
# association failed. This value is returned only when the most recent
|
|
5577
|
+
# attempt failed. After a failure to add the association, the status
|
|
5578
|
+
# is `Inactive`. After a failure to remove the association, the status
|
|
5579
|
+
# is `Active`.
|
|
5580
|
+
# @return [String]
|
|
5581
|
+
#
|
|
5582
|
+
# @!attribute [rw] associated_time
|
|
5583
|
+
# The time when SageMaker AI started the current association. This
|
|
5584
|
+
# time resets when you add the association again after it was removed
|
|
5585
|
+
# or after it failed.
|
|
5586
|
+
# @return [Time]
|
|
5587
|
+
#
|
|
5588
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CapacityReservationEndpointsAssociation AWS API Documentation
|
|
5589
|
+
#
|
|
5590
|
+
class CapacityReservationEndpointsAssociation < Struct.new(
|
|
5591
|
+
:ml_reservation_id,
|
|
5592
|
+
:status,
|
|
5593
|
+
:match_criteria,
|
|
5594
|
+
:endpoint_sharing,
|
|
5595
|
+
:ml_reservation_arn,
|
|
5596
|
+
:failure_reason,
|
|
5597
|
+
:associated_time)
|
|
5598
|
+
SENSITIVE = []
|
|
5599
|
+
include Aws::Structure
|
|
5600
|
+
end
|
|
5601
|
+
|
|
5602
|
+
# A filter for the `ListCapacityReservations` operation. A reservation
|
|
5603
|
+
# matches the filter when its value for `Name` equals any of the values
|
|
5604
|
+
# in `Values`.
|
|
5605
|
+
#
|
|
5606
|
+
# @!attribute [rw] name
|
|
5607
|
+
# The name of the field to filter on. The only supported value is
|
|
5608
|
+
# `Status`.
|
|
5609
|
+
# @return [String]
|
|
5610
|
+
#
|
|
5611
|
+
# @!attribute [rw] values
|
|
5612
|
+
# The values to match. For the `Status` filter, valid values are
|
|
5613
|
+
# `Scheduled`, `Active`, and `Expired`. Values are case sensitive. You
|
|
5614
|
+
# can specify up to 10 values.
|
|
5615
|
+
# @return [Array<String>]
|
|
5616
|
+
#
|
|
5617
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CapacityReservationFilter AWS API Documentation
|
|
5618
|
+
#
|
|
5619
|
+
class CapacityReservationFilter < Struct.new(
|
|
5620
|
+
:name,
|
|
5621
|
+
:values)
|
|
5622
|
+
SENSITIVE = []
|
|
5623
|
+
include Aws::Structure
|
|
5624
|
+
end
|
|
5625
|
+
|
|
5626
|
+
# The association between the SageMaker AI HyperPod clusters in your
|
|
5627
|
+
# account and a SageMaker Capacity Reservation.
|
|
5628
|
+
#
|
|
5629
|
+
# @!attribute [rw] status
|
|
5630
|
+
# The status of the association. Valid values:
|
|
5631
|
+
#
|
|
5632
|
+
# Pending
|
|
5633
|
+
#
|
|
5634
|
+
# : SageMaker AI is adding or removing the association.
|
|
5635
|
+
#
|
|
5636
|
+
# Active
|
|
5637
|
+
#
|
|
5638
|
+
# : The resources are associated with the SageMaker Capacity
|
|
5639
|
+
# Reservation and can use its instances.
|
|
5640
|
+
#
|
|
5641
|
+
# Inactive
|
|
5642
|
+
#
|
|
5643
|
+
# : The resources are not associated with the SageMaker Capacity
|
|
5644
|
+
# Reservation.
|
|
5645
|
+
# @return [String]
|
|
5646
|
+
#
|
|
5647
|
+
# @!attribute [rw] failure_reason
|
|
5648
|
+
# The reason that the most recent attempt to add or remove the
|
|
5649
|
+
# association failed. This value is returned only when the most recent
|
|
5650
|
+
# attempt failed. After a failure to add the association, the status
|
|
5651
|
+
# is `Inactive`. After a failure to remove the association, the status
|
|
5652
|
+
# is `Active`.
|
|
5653
|
+
# @return [String]
|
|
5654
|
+
#
|
|
5655
|
+
# @!attribute [rw] associated_time
|
|
5656
|
+
# The time when SageMaker AI started the current association. This
|
|
5657
|
+
# time resets when you add the association again after it was removed
|
|
5658
|
+
# or after it failed.
|
|
5659
|
+
# @return [Time]
|
|
5660
|
+
#
|
|
5661
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CapacityReservationHyperPodClustersAssociation AWS API Documentation
|
|
5662
|
+
#
|
|
5663
|
+
class CapacityReservationHyperPodClustersAssociation < Struct.new(
|
|
5664
|
+
:status,
|
|
5665
|
+
:failure_reason,
|
|
5666
|
+
:associated_time)
|
|
5667
|
+
SENSITIVE = []
|
|
5668
|
+
include Aws::Structure
|
|
5669
|
+
end
|
|
5670
|
+
|
|
5671
|
+
# The instances from a SageMaker Capacity Reservation that one account
|
|
5672
|
+
# uses.
|
|
5673
|
+
#
|
|
5674
|
+
# @!attribute [rw] account_id
|
|
5675
|
+
# The ID of the Amazon Web Services account that uses the instances.
|
|
5676
|
+
# @return [String]
|
|
5677
|
+
#
|
|
5678
|
+
# @!attribute [rw] in_use_instance_count
|
|
5679
|
+
# The number of instances that the account uses, across all resource
|
|
5680
|
+
# types.
|
|
5681
|
+
# @return [Integer]
|
|
5682
|
+
#
|
|
5683
|
+
# @!attribute [rw] resources_usage
|
|
5684
|
+
# The instance usage for each resource type that has instances in use
|
|
5685
|
+
# in the account.
|
|
5686
|
+
# @return [Array<Types::CapacityReservationResourceUsage>]
|
|
5687
|
+
#
|
|
5688
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CapacityReservationInstanceUsage AWS API Documentation
|
|
5689
|
+
#
|
|
5690
|
+
class CapacityReservationInstanceUsage < Struct.new(
|
|
5691
|
+
:account_id,
|
|
5692
|
+
:in_use_instance_count,
|
|
5693
|
+
:resources_usage)
|
|
5694
|
+
SENSITIVE = []
|
|
5695
|
+
include Aws::Structure
|
|
5696
|
+
end
|
|
5697
|
+
|
|
5698
|
+
# An association between one type of resource in your account and a
|
|
5699
|
+
# SageMaker Capacity Reservation. Each item contains exactly one member.
|
|
5700
|
+
#
|
|
5701
|
+
# @note CapacityReservationResourceAssociation is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of CapacityReservationResourceAssociation corresponding to the set member.
|
|
5702
|
+
#
|
|
5703
|
+
# @!attribute [rw] hyper_pod_clusters
|
|
5704
|
+
# The association between the SageMaker AI HyperPod clusters in your
|
|
5705
|
+
# account and the SageMaker Capacity Reservation. The association
|
|
5706
|
+
# applies to all HyperPod clusters in your account.
|
|
5707
|
+
# @return [Types::CapacityReservationHyperPodClustersAssociation]
|
|
5708
|
+
#
|
|
5709
|
+
# @!attribute [rw] endpoints
|
|
5710
|
+
# The association between the SageMaker AI endpoints in your account
|
|
5711
|
+
# and the SageMaker Capacity Reservation, through one ML capacity
|
|
5712
|
+
# reservation. The response includes one item for each ML capacity
|
|
5713
|
+
# reservation.
|
|
5714
|
+
# @return [Types::CapacityReservationEndpointsAssociation]
|
|
5715
|
+
#
|
|
5716
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CapacityReservationResourceAssociation AWS API Documentation
|
|
5717
|
+
#
|
|
5718
|
+
class CapacityReservationResourceAssociation < Struct.new(
|
|
5719
|
+
:hyper_pod_clusters,
|
|
5720
|
+
:endpoints,
|
|
5721
|
+
:unknown)
|
|
5722
|
+
SENSITIVE = []
|
|
5723
|
+
include Aws::Structure
|
|
5724
|
+
include Aws::Structure::Union
|
|
5725
|
+
|
|
5726
|
+
class HyperPodClusters < CapacityReservationResourceAssociation; end
|
|
5727
|
+
class Endpoints < CapacityReservationResourceAssociation; end
|
|
5728
|
+
class Unknown < CapacityReservationResourceAssociation; end
|
|
5729
|
+
end
|
|
5730
|
+
|
|
5731
|
+
# The instances from a SageMaker Capacity Reservation that one resource
|
|
5732
|
+
# type uses in an account.
|
|
5733
|
+
#
|
|
5734
|
+
# @!attribute [rw] resource_type
|
|
5735
|
+
# The type of resource that uses the instances. Valid values:
|
|
5736
|
+
#
|
|
5737
|
+
# HyperPodClusters
|
|
5738
|
+
#
|
|
5739
|
+
# : SageMaker AI HyperPod clusters.
|
|
5740
|
+
#
|
|
5741
|
+
# Endpoints
|
|
5742
|
+
#
|
|
5743
|
+
# : SageMaker AI endpoints.
|
|
5744
|
+
# @return [String]
|
|
5745
|
+
#
|
|
5746
|
+
# @!attribute [rw] in_use_instance_count
|
|
5747
|
+
# The number of instances from the SageMaker Capacity Reservation that
|
|
5748
|
+
# are in use.
|
|
5749
|
+
# @return [Integer]
|
|
5750
|
+
#
|
|
5751
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CapacityReservationResourceUsage AWS API Documentation
|
|
5752
|
+
#
|
|
5753
|
+
class CapacityReservationResourceUsage < Struct.new(
|
|
5754
|
+
:resource_type,
|
|
5755
|
+
:in_use_instance_count)
|
|
5756
|
+
SENSITIVE = []
|
|
5757
|
+
include Aws::Structure
|
|
5758
|
+
end
|
|
5759
|
+
|
|
5760
|
+
# Summary information about a SageMaker Capacity Reservation.
|
|
5761
|
+
#
|
|
5762
|
+
# @!attribute [rw] sm_capacity_reservation_arn
|
|
5763
|
+
# The Amazon Resource Name (ARN) of the SageMaker Capacity
|
|
5764
|
+
# Reservation.
|
|
5765
|
+
# @return [String]
|
|
5766
|
+
#
|
|
5767
|
+
# @!attribute [rw] sm_capacity_reservation_id
|
|
5768
|
+
# The ID of the SageMaker Capacity Reservation. The ID is the last
|
|
5769
|
+
# part of the ARN and starts with `smcr-`.
|
|
5770
|
+
# @return [String]
|
|
5771
|
+
#
|
|
5772
|
+
# @!attribute [rw] owner
|
|
5773
|
+
# The ID of the Amazon Web Services account that owns the SageMaker
|
|
5774
|
+
# Capacity Reservation.
|
|
5775
|
+
# @return [String]
|
|
5776
|
+
#
|
|
5777
|
+
# @!attribute [rw] status
|
|
5778
|
+
# The status of the SageMaker Capacity Reservation. SageMaker AI sets
|
|
5779
|
+
# the status from the start and end times of the reservation. Valid
|
|
5780
|
+
# values:
|
|
5781
|
+
#
|
|
5782
|
+
# Scheduled
|
|
5783
|
+
#
|
|
5784
|
+
# : The current time is before `StartTime`.
|
|
5785
|
+
#
|
|
5786
|
+
# Active
|
|
5787
|
+
#
|
|
5788
|
+
# : The current time is between `StartTime` and `EndTime`. You can use
|
|
5789
|
+
# the reserved instances.
|
|
5790
|
+
#
|
|
5791
|
+
# Expired
|
|
5792
|
+
#
|
|
5793
|
+
# : The current time is at or after `EndTime`.
|
|
5794
|
+
# @return [String]
|
|
5795
|
+
#
|
|
5796
|
+
# @!attribute [rw] instance_type
|
|
5797
|
+
# The SageMaker AI instance type of the reserved instances, for
|
|
5798
|
+
# example `ml.p5.48xlarge`.
|
|
5799
|
+
# @return [String]
|
|
5800
|
+
#
|
|
5801
|
+
# @!attribute [rw] availability_zone
|
|
5802
|
+
# The name of the Availability Zone of the reserved instances, for
|
|
5803
|
+
# example `us-east-1a`. Availability Zone names can map to different
|
|
5804
|
+
# physical zones in different accounts. To identify the same zone
|
|
5805
|
+
# across accounts, use `AvailabilityZoneId`.
|
|
5806
|
+
# @return [String]
|
|
5807
|
+
#
|
|
5808
|
+
# @!attribute [rw] availability_zone_id
|
|
5809
|
+
# The ID of the Availability Zone of the reserved instances, for
|
|
5810
|
+
# example `use1-az1`. An Availability Zone ID identifies the same
|
|
5811
|
+
# physical zone in every account.
|
|
5812
|
+
# @return [String]
|
|
5813
|
+
#
|
|
5814
|
+
# @!attribute [rw] total_instance_count
|
|
5815
|
+
# The number of instances in the SageMaker Capacity Reservation.
|
|
5816
|
+
# @return [Integer]
|
|
5817
|
+
#
|
|
5818
|
+
# @!attribute [rw] start_time
|
|
5819
|
+
# The time when the reserved instances become available.
|
|
5820
|
+
# @return [Time]
|
|
5821
|
+
#
|
|
5822
|
+
# @!attribute [rw] end_time
|
|
5823
|
+
# The time when the SageMaker Capacity Reservation ends. This value is
|
|
5824
|
+
# not returned if the reservation has no end time.
|
|
5825
|
+
# @return [Time]
|
|
5826
|
+
#
|
|
5827
|
+
# @!attribute [rw] creation_time
|
|
5828
|
+
# The time when the SageMaker Capacity Reservation was created.
|
|
5829
|
+
# @return [Time]
|
|
5830
|
+
#
|
|
5831
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CapacityReservationSummary AWS API Documentation
|
|
5832
|
+
#
|
|
5833
|
+
class CapacityReservationSummary < Struct.new(
|
|
5834
|
+
:sm_capacity_reservation_arn,
|
|
5835
|
+
:sm_capacity_reservation_id,
|
|
5836
|
+
:owner,
|
|
5837
|
+
:status,
|
|
5838
|
+
:instance_type,
|
|
5839
|
+
:availability_zone,
|
|
5840
|
+
:availability_zone_id,
|
|
5841
|
+
:total_instance_count,
|
|
5842
|
+
:start_time,
|
|
5843
|
+
:end_time,
|
|
5844
|
+
:creation_time)
|
|
5845
|
+
SENSITIVE = []
|
|
5846
|
+
include Aws::Structure
|
|
5847
|
+
end
|
|
5848
|
+
|
|
5352
5849
|
# Specifies the type and size of the endpoint capacity to activate for a
|
|
5353
5850
|
# blue/green deployment, a rolling deployment, or a rollback strategy.
|
|
5354
5851
|
# You can specify your batches as either instance count or the overall
|
|
@@ -11695,6 +12192,123 @@ module Aws::SageMaker
|
|
|
11695
12192
|
include Aws::Structure
|
|
11696
12193
|
end
|
|
11697
12194
|
|
|
12195
|
+
# @!attribute [rw] name
|
|
12196
|
+
# The name of the global inference gateway. The name must be unique in
|
|
12197
|
+
# your account in the current Region, and is case-sensitive. The name
|
|
12198
|
+
# can't be exactly 12 lowercase letters or digits, because the global
|
|
12199
|
+
# inference gateway ID uses that format.
|
|
12200
|
+
# @return [String]
|
|
12201
|
+
#
|
|
12202
|
+
# @!attribute [rw] routing
|
|
12203
|
+
# The routing configuration of the global inference gateway. If you
|
|
12204
|
+
# omit it, the global inference gateway uses default routing weights.
|
|
12205
|
+
# @return [Types::GlobalInferenceGatewayRouting]
|
|
12206
|
+
#
|
|
12207
|
+
# @!attribute [rw] execution_role_arn
|
|
12208
|
+
# The Amazon Resource Name (ARN) of the IAM role that the global
|
|
12209
|
+
# inference gateway assumes to access your SageMaker HyperPod
|
|
12210
|
+
# clusters. The role must be in your account and partition, and you
|
|
12211
|
+
# must have `iam:PassRole` permission for it. You can't change the
|
|
12212
|
+
# role after you create the global inference gateway.
|
|
12213
|
+
# @return [String]
|
|
12214
|
+
#
|
|
12215
|
+
# @!attribute [rw] gateways
|
|
12216
|
+
# The 1 to 10 in-cluster inference gateways to add to the global
|
|
12217
|
+
# inference gateway. A global inference gateway must always have at
|
|
12218
|
+
# least one in-cluster inference gateway, so `RemoveInferenceGateway`
|
|
12219
|
+
# can't remove the last one.
|
|
12220
|
+
# @return [Array<Types::GlobalInferenceGatewayMember>]
|
|
12221
|
+
#
|
|
12222
|
+
# @!attribute [rw] client_token
|
|
12223
|
+
# A unique, case-sensitive identifier that you provide to ensure the
|
|
12224
|
+
# idempotency of the request. An idempotent operation completes no
|
|
12225
|
+
# more than one time. If you don't specify a client token, the Amazon
|
|
12226
|
+
# Web Services SDKs and the Amazon Web Services CLI generate one for
|
|
12227
|
+
# you.
|
|
12228
|
+
#
|
|
12229
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
12230
|
+
# not need to pass this option.
|
|
12231
|
+
# @return [String]
|
|
12232
|
+
#
|
|
12233
|
+
# @!attribute [rw] tags
|
|
12234
|
+
# Custom tags for managing the global inference gateway as an Amazon
|
|
12235
|
+
# Web Services resource. You can add tags to your global inference
|
|
12236
|
+
# gateway in the same way you add them in other Amazon Web Services
|
|
12237
|
+
# services that support tagging. For more information about tagging
|
|
12238
|
+
# Amazon Web Services resources, see [Tagging your Amazon Web Services
|
|
12239
|
+
# resources][1] in the *Tagging Amazon Web Services Resources User
|
|
12240
|
+
# Guide*.
|
|
12241
|
+
#
|
|
12242
|
+
# The global inference gateway doesn't return tags in its responses.
|
|
12243
|
+
# To read the tags, use `ListTags`.
|
|
12244
|
+
#
|
|
12245
|
+
#
|
|
12246
|
+
#
|
|
12247
|
+
# [1]: https://docs.aws.amazon.com/tag-editor/latest/userguide/tagging.html
|
|
12248
|
+
# @return [Array<Types::Tag>]
|
|
12249
|
+
#
|
|
12250
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateGlobalInferenceGatewayRequest AWS API Documentation
|
|
12251
|
+
#
|
|
12252
|
+
class CreateGlobalInferenceGatewayRequest < Struct.new(
|
|
12253
|
+
:name,
|
|
12254
|
+
:routing,
|
|
12255
|
+
:execution_role_arn,
|
|
12256
|
+
:gateways,
|
|
12257
|
+
:client_token,
|
|
12258
|
+
:tags)
|
|
12259
|
+
SENSITIVE = []
|
|
12260
|
+
include Aws::Structure
|
|
12261
|
+
end
|
|
12262
|
+
|
|
12263
|
+
# Contains the identifiers and status of the new global inference
|
|
12264
|
+
# gateway, and the parameters from the request except `Tags`. To read
|
|
12265
|
+
# the tags, use `ListTags`.
|
|
12266
|
+
#
|
|
12267
|
+
# @!attribute [rw] arn
|
|
12268
|
+
# The Amazon Resource Name (ARN) of the global inference gateway.
|
|
12269
|
+
# @return [String]
|
|
12270
|
+
#
|
|
12271
|
+
# @!attribute [rw] id
|
|
12272
|
+
# The ID of the global inference gateway.
|
|
12273
|
+
# @return [String]
|
|
12274
|
+
#
|
|
12275
|
+
# @!attribute [rw] name
|
|
12276
|
+
# The name of the global inference gateway.
|
|
12277
|
+
# @return [String]
|
|
12278
|
+
#
|
|
12279
|
+
# @!attribute [rw] status
|
|
12280
|
+
# The status of the global inference gateway. A new global inference
|
|
12281
|
+
# gateway starts in the `CREATING` status.
|
|
12282
|
+
# @return [String]
|
|
12283
|
+
#
|
|
12284
|
+
# @!attribute [rw] execution_role_arn
|
|
12285
|
+
# The Amazon Resource Name (ARN) of the IAM role that the global
|
|
12286
|
+
# inference gateway assumes to access your SageMaker HyperPod
|
|
12287
|
+
# clusters.
|
|
12288
|
+
# @return [String]
|
|
12289
|
+
#
|
|
12290
|
+
# @!attribute [rw] routing
|
|
12291
|
+
# The routing configuration of the global inference gateway.
|
|
12292
|
+
# @return [Types::GlobalInferenceGatewayRouting]
|
|
12293
|
+
#
|
|
12294
|
+
# @!attribute [rw] gateways
|
|
12295
|
+
# The in-cluster inference gateways that you specified in the request.
|
|
12296
|
+
# @return [Array<Types::GlobalInferenceGatewayMember>]
|
|
12297
|
+
#
|
|
12298
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateGlobalInferenceGatewayResponse AWS API Documentation
|
|
12299
|
+
#
|
|
12300
|
+
class CreateGlobalInferenceGatewayResponse < Struct.new(
|
|
12301
|
+
:arn,
|
|
12302
|
+
:id,
|
|
12303
|
+
:name,
|
|
12304
|
+
:status,
|
|
12305
|
+
:execution_role_arn,
|
|
12306
|
+
:routing,
|
|
12307
|
+
:gateways)
|
|
12308
|
+
SENSITIVE = []
|
|
12309
|
+
include Aws::Structure
|
|
12310
|
+
end
|
|
12311
|
+
|
|
11698
12312
|
# @!attribute [rw] hub_name
|
|
11699
12313
|
# The name or Amazon Resource Name (ARN) of the hub that contains the
|
|
11700
12314
|
# content. For public content, use `SageMakerPublicHub`.
|
|
@@ -17182,6 +17796,44 @@ module Aws::SageMaker
|
|
|
17182
17796
|
#
|
|
17183
17797
|
class DeleteFlowDefinitionResponse < Aws::EmptyStructure; end
|
|
17184
17798
|
|
|
17799
|
+
# @!attribute [rw] identifier
|
|
17800
|
+
# The name, Amazon Resource Name (ARN), or ID of the global inference
|
|
17801
|
+
# gateway to delete.
|
|
17802
|
+
# @return [String]
|
|
17803
|
+
#
|
|
17804
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteGlobalInferenceGatewayRequest AWS API Documentation
|
|
17805
|
+
#
|
|
17806
|
+
class DeleteGlobalInferenceGatewayRequest < Struct.new(
|
|
17807
|
+
:identifier)
|
|
17808
|
+
SENSITIVE = []
|
|
17809
|
+
include Aws::Structure
|
|
17810
|
+
end
|
|
17811
|
+
|
|
17812
|
+
# @!attribute [rw] arn
|
|
17813
|
+
# Set when a global inference gateway was deleted, and for an
|
|
17814
|
+
# already-gone one when the Identifier was an ARN or Id.
|
|
17815
|
+
# @return [String]
|
|
17816
|
+
#
|
|
17817
|
+
# @!attribute [rw] id
|
|
17818
|
+
# Set when a global inference gateway was deleted, and for an
|
|
17819
|
+
# already-gone one when the Identifier was an ARN or Id.
|
|
17820
|
+
# @return [String]
|
|
17821
|
+
#
|
|
17822
|
+
# @!attribute [rw] name
|
|
17823
|
+
# Set when a global inference gateway was deleted, and for an
|
|
17824
|
+
# already-gone one when the Identifier was a name.
|
|
17825
|
+
# @return [String]
|
|
17826
|
+
#
|
|
17827
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteGlobalInferenceGatewayResponse AWS API Documentation
|
|
17828
|
+
#
|
|
17829
|
+
class DeleteGlobalInferenceGatewayResponse < Struct.new(
|
|
17830
|
+
:arn,
|
|
17831
|
+
:id,
|
|
17832
|
+
:name)
|
|
17833
|
+
SENSITIVE = []
|
|
17834
|
+
include Aws::Structure
|
|
17835
|
+
end
|
|
17836
|
+
|
|
17185
17837
|
# @!attribute [rw] hub_name
|
|
17186
17838
|
# The name of the hub to delete the hub content reference from.
|
|
17187
17839
|
# @return [String]
|
|
@@ -19043,6 +19695,32 @@ module Aws::SageMaker
|
|
|
19043
19695
|
include Aws::Structure
|
|
19044
19696
|
end
|
|
19045
19697
|
|
|
19698
|
+
# @!attribute [rw] sm_capacity_reservation_arn
|
|
19699
|
+
# The Amazon Resource Name (ARN) of the SageMaker Capacity
|
|
19700
|
+
# Reservation. The ARN has the format
|
|
19701
|
+
# `arn:aws:sagemaker:region:account-id:sm-capacity-reservation/smcr-id`.
|
|
19702
|
+
# @return [String]
|
|
19703
|
+
#
|
|
19704
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeCapacityReservationRequest AWS API Documentation
|
|
19705
|
+
#
|
|
19706
|
+
class DescribeCapacityReservationRequest < Struct.new(
|
|
19707
|
+
:sm_capacity_reservation_arn)
|
|
19708
|
+
SENSITIVE = []
|
|
19709
|
+
include Aws::Structure
|
|
19710
|
+
end
|
|
19711
|
+
|
|
19712
|
+
# @!attribute [rw] capacity_reservation
|
|
19713
|
+
# Details about the SageMaker Capacity Reservation.
|
|
19714
|
+
# @return [Types::CapacityReservationDetail]
|
|
19715
|
+
#
|
|
19716
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeCapacityReservationResponse AWS API Documentation
|
|
19717
|
+
#
|
|
19718
|
+
class DescribeCapacityReservationResponse < Struct.new(
|
|
19719
|
+
:capacity_reservation)
|
|
19720
|
+
SENSITIVE = []
|
|
19721
|
+
include Aws::Structure
|
|
19722
|
+
end
|
|
19723
|
+
|
|
19046
19724
|
# @!attribute [rw] event_id
|
|
19047
19725
|
# The unique identifier (UUID) of the event to describe. This ID can
|
|
19048
19726
|
# be obtained from the `ListClusterEvents` operation.
|
|
@@ -21033,6 +21711,84 @@ module Aws::SageMaker
|
|
|
21033
21711
|
include Aws::Structure
|
|
21034
21712
|
end
|
|
21035
21713
|
|
|
21714
|
+
# @!attribute [rw] identifier
|
|
21715
|
+
# The name, Amazon Resource Name (ARN), or ID of the global inference
|
|
21716
|
+
# gateway.
|
|
21717
|
+
# @return [String]
|
|
21718
|
+
#
|
|
21719
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeGlobalInferenceGatewayRequest AWS API Documentation
|
|
21720
|
+
#
|
|
21721
|
+
class DescribeGlobalInferenceGatewayRequest < Struct.new(
|
|
21722
|
+
:identifier)
|
|
21723
|
+
SENSITIVE = []
|
|
21724
|
+
include Aws::Structure
|
|
21725
|
+
end
|
|
21726
|
+
|
|
21727
|
+
# @!attribute [rw] arn
|
|
21728
|
+
# The Amazon Resource Name (ARN) of the global inference gateway.
|
|
21729
|
+
# @return [String]
|
|
21730
|
+
#
|
|
21731
|
+
# @!attribute [rw] id
|
|
21732
|
+
# The ID of the global inference gateway.
|
|
21733
|
+
# @return [String]
|
|
21734
|
+
#
|
|
21735
|
+
# @!attribute [rw] name
|
|
21736
|
+
# The name of the global inference gateway.
|
|
21737
|
+
# @return [String]
|
|
21738
|
+
#
|
|
21739
|
+
# @!attribute [rw] execution_role_arn
|
|
21740
|
+
# The Amazon Resource Name (ARN) of the IAM role that the global
|
|
21741
|
+
# inference gateway assumes to access your SageMaker HyperPod
|
|
21742
|
+
# clusters. You can't change the role after you create the global
|
|
21743
|
+
# inference gateway.
|
|
21744
|
+
# @return [String]
|
|
21745
|
+
#
|
|
21746
|
+
# @!attribute [rw] status
|
|
21747
|
+
# The status of the global inference gateway.
|
|
21748
|
+
# @return [String]
|
|
21749
|
+
#
|
|
21750
|
+
# @!attribute [rw] endpoint_url
|
|
21751
|
+
# The URL that you use to invoke the global inference gateway. This
|
|
21752
|
+
# value is set after the global inference gateway becomes `ACTIVE`.
|
|
21753
|
+
# @return [String]
|
|
21754
|
+
#
|
|
21755
|
+
# @!attribute [rw] vpc_endpoint_service_name
|
|
21756
|
+
# The name of the VPC endpoint service to create an interface VPC
|
|
21757
|
+
# endpoint (AWS PrivateLink) from, so that you can call `EndpointUrl`
|
|
21758
|
+
# without going over the internet. This value is set after the global
|
|
21759
|
+
# inference gateway becomes `ACTIVE`.
|
|
21760
|
+
# @return [String]
|
|
21761
|
+
#
|
|
21762
|
+
# @!attribute [rw] routing
|
|
21763
|
+
# The routing configuration of the global inference gateway.
|
|
21764
|
+
# @return [Types::GlobalInferenceGatewayRouting]
|
|
21765
|
+
#
|
|
21766
|
+
# @!attribute [rw] creation_time
|
|
21767
|
+
# The time when the global inference gateway was created.
|
|
21768
|
+
# @return [Time]
|
|
21769
|
+
#
|
|
21770
|
+
# @!attribute [rw] failure_reason
|
|
21771
|
+
# The reason that the global inference gateway failed. SageMaker
|
|
21772
|
+
# returns this value only when the status is `FAILED`.
|
|
21773
|
+
# @return [String]
|
|
21774
|
+
#
|
|
21775
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeGlobalInferenceGatewayResponse AWS API Documentation
|
|
21776
|
+
#
|
|
21777
|
+
class DescribeGlobalInferenceGatewayResponse < Struct.new(
|
|
21778
|
+
:arn,
|
|
21779
|
+
:id,
|
|
21780
|
+
:name,
|
|
21781
|
+
:execution_role_arn,
|
|
21782
|
+
:status,
|
|
21783
|
+
:endpoint_url,
|
|
21784
|
+
:vpc_endpoint_service_name,
|
|
21785
|
+
:routing,
|
|
21786
|
+
:creation_time,
|
|
21787
|
+
:failure_reason)
|
|
21788
|
+
SENSITIVE = []
|
|
21789
|
+
include Aws::Structure
|
|
21790
|
+
end
|
|
21791
|
+
|
|
21036
21792
|
# @!attribute [rw] hub_name
|
|
21037
21793
|
# The name of the hub that contains the content to describe.
|
|
21038
21794
|
# @return [String]
|
|
@@ -24750,6 +25506,66 @@ module Aws::SageMaker
|
|
|
24750
25506
|
include Aws::Structure
|
|
24751
25507
|
end
|
|
24752
25508
|
|
|
25509
|
+
# @!attribute [rw] sm_capacity_reservation_arn
|
|
25510
|
+
# The Amazon Resource Name (ARN) of the SageMaker Capacity
|
|
25511
|
+
# Reservation. The ARN has the format
|
|
25512
|
+
# `arn:aws:sagemaker:region:account-id:sm-capacity-reservation/smcr-id`.
|
|
25513
|
+
# @return [String]
|
|
25514
|
+
#
|
|
25515
|
+
# @!attribute [rw] max_results
|
|
25516
|
+
# The maximum number of results to return in the response. If more
|
|
25517
|
+
# results are available, the response includes a `NextToken` value.
|
|
25518
|
+
# @return [Integer]
|
|
25519
|
+
#
|
|
25520
|
+
# @!attribute [rw] next_token
|
|
25521
|
+
# If the previous response was truncated, the response includes a
|
|
25522
|
+
# `NextToken` value. To retrieve the next set of results, use that
|
|
25523
|
+
# token in your next request.
|
|
25524
|
+
# @return [String]
|
|
25525
|
+
#
|
|
25526
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeResourceAssociationsRequest AWS API Documentation
|
|
25527
|
+
#
|
|
25528
|
+
class DescribeResourceAssociationsRequest < Struct.new(
|
|
25529
|
+
:sm_capacity_reservation_arn,
|
|
25530
|
+
:max_results,
|
|
25531
|
+
:next_token)
|
|
25532
|
+
SENSITIVE = []
|
|
25533
|
+
include Aws::Structure
|
|
25534
|
+
end
|
|
25535
|
+
|
|
25536
|
+
# @!attribute [rw] sm_capacity_reservation_arn
|
|
25537
|
+
# The Amazon Resource Name (ARN) of the SageMaker Capacity
|
|
25538
|
+
# Reservation.
|
|
25539
|
+
# @return [String]
|
|
25540
|
+
#
|
|
25541
|
+
# @!attribute [rw] sm_capacity_reservation_id
|
|
25542
|
+
# The ID of the SageMaker Capacity Reservation. The ID is the last
|
|
25543
|
+
# part of the ARN and starts with `smcr-`.
|
|
25544
|
+
# @return [String]
|
|
25545
|
+
#
|
|
25546
|
+
# @!attribute [rw] resource_associations
|
|
25547
|
+
# The associations between resources in your account and the SageMaker
|
|
25548
|
+
# Capacity Reservation. The list is empty when your account has no
|
|
25549
|
+
# associations with the reservation.
|
|
25550
|
+
# @return [Array<Types::CapacityReservationResourceAssociation>]
|
|
25551
|
+
#
|
|
25552
|
+
# @!attribute [rw] next_token
|
|
25553
|
+
# If the response is truncated, SageMaker AI returns this token. To
|
|
25554
|
+
# retrieve the next set of results, use this token in your next
|
|
25555
|
+
# request.
|
|
25556
|
+
# @return [String]
|
|
25557
|
+
#
|
|
25558
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeResourceAssociationsResponse AWS API Documentation
|
|
25559
|
+
#
|
|
25560
|
+
class DescribeResourceAssociationsResponse < Struct.new(
|
|
25561
|
+
:sm_capacity_reservation_arn,
|
|
25562
|
+
:sm_capacity_reservation_id,
|
|
25563
|
+
:resource_associations,
|
|
25564
|
+
:next_token)
|
|
25565
|
+
SENSITIVE = []
|
|
25566
|
+
include Aws::Structure
|
|
25567
|
+
end
|
|
25568
|
+
|
|
24753
25569
|
# @!attribute [rw] domain_id
|
|
24754
25570
|
# The ID of the associated domain.
|
|
24755
25571
|
# @return [String]
|
|
@@ -29443,6 +30259,78 @@ module Aws::SageMaker
|
|
|
29443
30259
|
include Aws::Structure
|
|
29444
30260
|
end
|
|
29445
30261
|
|
|
30262
|
+
# @!attribute [rw] sm_capacity_reservation_arn
|
|
30263
|
+
# The Amazon Resource Name (ARN) of the SageMaker Capacity
|
|
30264
|
+
# Reservation. The ARN has the format
|
|
30265
|
+
# `arn:aws:sagemaker:region:account-id:sm-capacity-reservation/smcr-id`.
|
|
30266
|
+
# @return [String]
|
|
30267
|
+
#
|
|
30268
|
+
# @!attribute [rw] max_results
|
|
30269
|
+
# The maximum number of results to return in the response. If more
|
|
30270
|
+
# results are available, the response includes a `NextToken` value.
|
|
30271
|
+
# @return [Integer]
|
|
30272
|
+
#
|
|
30273
|
+
# @!attribute [rw] next_token
|
|
30274
|
+
# If the previous response was truncated, the response includes a
|
|
30275
|
+
# `NextToken` value. To retrieve the next set of results, use that
|
|
30276
|
+
# token in your next request.
|
|
30277
|
+
# @return [String]
|
|
30278
|
+
#
|
|
30279
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/GetCapacityReservationUsageRequest AWS API Documentation
|
|
30280
|
+
#
|
|
30281
|
+
class GetCapacityReservationUsageRequest < Struct.new(
|
|
30282
|
+
:sm_capacity_reservation_arn,
|
|
30283
|
+
:max_results,
|
|
30284
|
+
:next_token)
|
|
30285
|
+
SENSITIVE = []
|
|
30286
|
+
include Aws::Structure
|
|
30287
|
+
end
|
|
30288
|
+
|
|
30289
|
+
# @!attribute [rw] sm_capacity_reservation_id
|
|
30290
|
+
# The ID of the SageMaker Capacity Reservation. The ID is the last
|
|
30291
|
+
# part of the ARN and starts with `smcr-`.
|
|
30292
|
+
# @return [String]
|
|
30293
|
+
#
|
|
30294
|
+
# @!attribute [rw] total_instance_count
|
|
30295
|
+
# The number of instances in the SageMaker Capacity Reservation.
|
|
30296
|
+
# @return [Integer]
|
|
30297
|
+
#
|
|
30298
|
+
# @!attribute [rw] available_instance_count
|
|
30299
|
+
# The number of instances in the SageMaker Capacity Reservation that
|
|
30300
|
+
# are not in use.
|
|
30301
|
+
# @return [Integer]
|
|
30302
|
+
#
|
|
30303
|
+
# @!attribute [rw] last_refresh_time
|
|
30304
|
+
# The time when SageMaker AI last refreshed the usage counts in this
|
|
30305
|
+
# response.
|
|
30306
|
+
# @return [Time]
|
|
30307
|
+
#
|
|
30308
|
+
# @!attribute [rw] instance_usage_set
|
|
30309
|
+
# The instance usage for each account that uses instances from the
|
|
30310
|
+
# SageMaker Capacity Reservation, sorted by account ID. Each account
|
|
30311
|
+
# appears at most once across all pages. The list is empty when no
|
|
30312
|
+
# instances are in use.
|
|
30313
|
+
# @return [Array<Types::CapacityReservationInstanceUsage>]
|
|
30314
|
+
#
|
|
30315
|
+
# @!attribute [rw] next_token
|
|
30316
|
+
# If the response is truncated, SageMaker AI returns this token. To
|
|
30317
|
+
# retrieve the next set of results, use this token in your next
|
|
30318
|
+
# request.
|
|
30319
|
+
# @return [String]
|
|
30320
|
+
#
|
|
30321
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/GetCapacityReservationUsageResponse AWS API Documentation
|
|
30322
|
+
#
|
|
30323
|
+
class GetCapacityReservationUsageResponse < Struct.new(
|
|
30324
|
+
:sm_capacity_reservation_id,
|
|
30325
|
+
:total_instance_count,
|
|
30326
|
+
:available_instance_count,
|
|
30327
|
+
:last_refresh_time,
|
|
30328
|
+
:instance_usage_set,
|
|
30329
|
+
:next_token)
|
|
30330
|
+
SENSITIVE = []
|
|
30331
|
+
include Aws::Structure
|
|
30332
|
+
end
|
|
30333
|
+
|
|
29446
30334
|
# @!attribute [rw] device_fleet_name
|
|
29447
30335
|
# The name of the fleet.
|
|
29448
30336
|
# @return [String]
|
|
@@ -29783,6 +30671,210 @@ module Aws::SageMaker
|
|
|
29783
30671
|
include Aws::Structure
|
|
29784
30672
|
end
|
|
29785
30673
|
|
|
30674
|
+
# A filter for `ListGlobalInferenceGateways`. The filter matches the
|
|
30675
|
+
# global inference gateways whose attribute named by `Name` equals
|
|
30676
|
+
# `Value`.
|
|
30677
|
+
#
|
|
30678
|
+
# @!attribute [rw] name
|
|
30679
|
+
# The attribute to filter global inference gateways on. The only
|
|
30680
|
+
# supported value is `Status`.
|
|
30681
|
+
# @return [String]
|
|
30682
|
+
#
|
|
30683
|
+
# @!attribute [rw] value
|
|
30684
|
+
# The value to match. For the `Status` filter, specify a global
|
|
30685
|
+
# inference gateway status.
|
|
30686
|
+
# @return [String]
|
|
30687
|
+
#
|
|
30688
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/GlobalInferenceGatewayFilter AWS API Documentation
|
|
30689
|
+
#
|
|
30690
|
+
class GlobalInferenceGatewayFilter < Struct.new(
|
|
30691
|
+
:name,
|
|
30692
|
+
:value)
|
|
30693
|
+
SENSITIVE = []
|
|
30694
|
+
include Aws::Structure
|
|
30695
|
+
end
|
|
30696
|
+
|
|
30697
|
+
# An in-cluster inference gateway, identified by the SageMaker HyperPod
|
|
30698
|
+
# cluster that runs it (`ClusterArn`), its Kubernetes namespace
|
|
30699
|
+
# (`Namespace`), and the name of the `InferenceGatewayConfig` resource
|
|
30700
|
+
# that defines it (`Name`).
|
|
30701
|
+
#
|
|
30702
|
+
# @!attribute [rw] name
|
|
30703
|
+
# The name of the `InferenceGatewayConfig` resource that defines the
|
|
30704
|
+
# in-cluster inference gateway.
|
|
30705
|
+
# @return [String]
|
|
30706
|
+
#
|
|
30707
|
+
# @!attribute [rw] namespace
|
|
30708
|
+
# The Kubernetes namespace of the in-cluster inference gateway.
|
|
30709
|
+
# @return [String]
|
|
30710
|
+
#
|
|
30711
|
+
# @!attribute [rw] cluster_arn
|
|
30712
|
+
# The Amazon Resource Name (ARN) of the SageMaker HyperPod cluster
|
|
30713
|
+
# that runs the in-cluster inference gateway. The cluster must be in
|
|
30714
|
+
# the same account and partition as the global inference gateway. It
|
|
30715
|
+
# can be in a different Region, but not in an opt-in Region.
|
|
30716
|
+
# @return [String]
|
|
30717
|
+
#
|
|
30718
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/GlobalInferenceGatewayMember AWS API Documentation
|
|
30719
|
+
#
|
|
30720
|
+
class GlobalInferenceGatewayMember < Struct.new(
|
|
30721
|
+
:name,
|
|
30722
|
+
:namespace,
|
|
30723
|
+
:cluster_arn)
|
|
30724
|
+
SENSITIVE = []
|
|
30725
|
+
include Aws::Structure
|
|
30726
|
+
end
|
|
30727
|
+
|
|
30728
|
+
# A filter for `ListInferenceGateways`. The filter matches the
|
|
30729
|
+
# in-cluster inference gateways whose attribute named by `Name` equals
|
|
30730
|
+
# `Value`.
|
|
30731
|
+
#
|
|
30732
|
+
# @!attribute [rw] name
|
|
30733
|
+
# The attribute to filter in-cluster inference gateways on. Supported
|
|
30734
|
+
# values are `Status` and `ClusterArn`.
|
|
30735
|
+
# @return [String]
|
|
30736
|
+
#
|
|
30737
|
+
# @!attribute [rw] value
|
|
30738
|
+
# The value to match. For the `Status` filter, specify a status of an
|
|
30739
|
+
# in-cluster inference gateway. For the `ClusterArn` filter, specify
|
|
30740
|
+
# the Amazon Resource Name (ARN) of a SageMaker HyperPod cluster.
|
|
30741
|
+
# @return [String]
|
|
30742
|
+
#
|
|
30743
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/GlobalInferenceGatewayMemberFilter AWS API Documentation
|
|
30744
|
+
#
|
|
30745
|
+
class GlobalInferenceGatewayMemberFilter < Struct.new(
|
|
30746
|
+
:name,
|
|
30747
|
+
:value)
|
|
30748
|
+
SENSITIVE = []
|
|
30749
|
+
include Aws::Structure
|
|
30750
|
+
end
|
|
30751
|
+
|
|
30752
|
+
# Summary information about an in-cluster inference gateway in a global
|
|
30753
|
+
# inference gateway, including its status.
|
|
30754
|
+
#
|
|
30755
|
+
# @!attribute [rw] name
|
|
30756
|
+
# The name of the `InferenceGatewayConfig` resource that defines the
|
|
30757
|
+
# in-cluster inference gateway.
|
|
30758
|
+
# @return [String]
|
|
30759
|
+
#
|
|
30760
|
+
# @!attribute [rw] namespace
|
|
30761
|
+
# The Kubernetes namespace of the in-cluster inference gateway.
|
|
30762
|
+
# @return [String]
|
|
30763
|
+
#
|
|
30764
|
+
# @!attribute [rw] cluster_arn
|
|
30765
|
+
# The Amazon Resource Name (ARN) of the SageMaker HyperPod cluster
|
|
30766
|
+
# that runs the in-cluster inference gateway.
|
|
30767
|
+
# @return [String]
|
|
30768
|
+
#
|
|
30769
|
+
# @!attribute [rw] status
|
|
30770
|
+
# The status of the in-cluster inference gateway in the global
|
|
30771
|
+
# inference gateway. This status describes the membership in the
|
|
30772
|
+
# global inference gateway, not the health of the in-cluster inference
|
|
30773
|
+
# gateway.
|
|
30774
|
+
# @return [String]
|
|
30775
|
+
#
|
|
30776
|
+
# @!attribute [rw] failure_reason
|
|
30777
|
+
# The reason that adding or removing the in-cluster inference gateway
|
|
30778
|
+
# failed. This value is set only when the status is `FAILED`.
|
|
30779
|
+
# @return [String]
|
|
30780
|
+
#
|
|
30781
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/GlobalInferenceGatewayMemberSummary AWS API Documentation
|
|
30782
|
+
#
|
|
30783
|
+
class GlobalInferenceGatewayMemberSummary < Struct.new(
|
|
30784
|
+
:name,
|
|
30785
|
+
:namespace,
|
|
30786
|
+
:cluster_arn,
|
|
30787
|
+
:status,
|
|
30788
|
+
:failure_reason)
|
|
30789
|
+
SENSITIVE = []
|
|
30790
|
+
include Aws::Structure
|
|
30791
|
+
end
|
|
30792
|
+
|
|
30793
|
+
# The routing configuration of a global inference gateway. To add or
|
|
30794
|
+
# remove in-cluster inference gateways, use `AddInferenceGateway` and
|
|
30795
|
+
# `RemoveInferenceGateway`.
|
|
30796
|
+
#
|
|
30797
|
+
# @!attribute [rw] weights
|
|
30798
|
+
# The weights that the global inference gateway applies to each
|
|
30799
|
+
# routing signal when it scores the in-cluster inference gateways for
|
|
30800
|
+
# a request.
|
|
30801
|
+
# @return [Types::GlobalInferenceGatewayRoutingWeights]
|
|
30802
|
+
#
|
|
30803
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/GlobalInferenceGatewayRouting AWS API Documentation
|
|
30804
|
+
#
|
|
30805
|
+
class GlobalInferenceGatewayRouting < Struct.new(
|
|
30806
|
+
:weights)
|
|
30807
|
+
SENSITIVE = []
|
|
30808
|
+
include Aws::Structure
|
|
30809
|
+
end
|
|
30810
|
+
|
|
30811
|
+
# The relative weights of the four routing signals, each from 0 to 1.
|
|
30812
|
+
# Specify all four weights or none. If you specify them, they must sum
|
|
30813
|
+
# to 1.0, within 0.001. If you specify none, the global inference
|
|
30814
|
+
# gateway uses default weights.
|
|
30815
|
+
#
|
|
30816
|
+
# @!attribute [rw] kv_headroom
|
|
30817
|
+
# The weight of the free key-value (KV) cache capacity on the cluster.
|
|
30818
|
+
# @return [Float]
|
|
30819
|
+
#
|
|
30820
|
+
# @!attribute [rw] queue_depth
|
|
30821
|
+
# The weight of the number of requests that are waiting on the
|
|
30822
|
+
# cluster.
|
|
30823
|
+
# @return [Float]
|
|
30824
|
+
#
|
|
30825
|
+
# @!attribute [rw] region_proximity
|
|
30826
|
+
# The weight of how close the cluster is to the caller.
|
|
30827
|
+
# @return [Float]
|
|
30828
|
+
#
|
|
30829
|
+
# @!attribute [rw] error_rate
|
|
30830
|
+
# The weight of the recent error rate of the cluster.
|
|
30831
|
+
# @return [Float]
|
|
30832
|
+
#
|
|
30833
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/GlobalInferenceGatewayRoutingWeights AWS API Documentation
|
|
30834
|
+
#
|
|
30835
|
+
class GlobalInferenceGatewayRoutingWeights < Struct.new(
|
|
30836
|
+
:kv_headroom,
|
|
30837
|
+
:queue_depth,
|
|
30838
|
+
:region_proximity,
|
|
30839
|
+
:error_rate)
|
|
30840
|
+
SENSITIVE = []
|
|
30841
|
+
include Aws::Structure
|
|
30842
|
+
end
|
|
30843
|
+
|
|
30844
|
+
# Summary information about a global inference gateway.
|
|
30845
|
+
#
|
|
30846
|
+
# @!attribute [rw] arn
|
|
30847
|
+
# The Amazon Resource Name (ARN) of the global inference gateway.
|
|
30848
|
+
# @return [String]
|
|
30849
|
+
#
|
|
30850
|
+
# @!attribute [rw] id
|
|
30851
|
+
# The ID of the global inference gateway.
|
|
30852
|
+
# @return [String]
|
|
30853
|
+
#
|
|
30854
|
+
# @!attribute [rw] name
|
|
30855
|
+
# The name of the global inference gateway.
|
|
30856
|
+
# @return [String]
|
|
30857
|
+
#
|
|
30858
|
+
# @!attribute [rw] status
|
|
30859
|
+
# The status of the global inference gateway.
|
|
30860
|
+
# @return [String]
|
|
30861
|
+
#
|
|
30862
|
+
# @!attribute [rw] creation_time
|
|
30863
|
+
# The time when the global inference gateway was created.
|
|
30864
|
+
# @return [Time]
|
|
30865
|
+
#
|
|
30866
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/GlobalInferenceGatewaySummary AWS API Documentation
|
|
30867
|
+
#
|
|
30868
|
+
class GlobalInferenceGatewaySummary < Struct.new(
|
|
30869
|
+
:arn,
|
|
30870
|
+
:id,
|
|
30871
|
+
:name,
|
|
30872
|
+
:status,
|
|
30873
|
+
:creation_time)
|
|
30874
|
+
SENSITIVE = []
|
|
30875
|
+
include Aws::Structure
|
|
30876
|
+
end
|
|
30877
|
+
|
|
29786
30878
|
# The SageMaker images that are hidden from the Studio user interface.
|
|
29787
30879
|
# You must specify the SageMaker image name and version aliases.
|
|
29788
30880
|
#
|
|
@@ -36464,6 +37556,52 @@ module Aws::SageMaker
|
|
|
36464
37556
|
include Aws::Structure
|
|
36465
37557
|
end
|
|
36466
37558
|
|
|
37559
|
+
# @!attribute [rw] max_results
|
|
37560
|
+
# The maximum number of results to return in the response. If more
|
|
37561
|
+
# results are available, the response includes a `NextToken` value.
|
|
37562
|
+
# @return [Integer]
|
|
37563
|
+
#
|
|
37564
|
+
# @!attribute [rw] next_token
|
|
37565
|
+
# If the previous response was truncated, the response includes a
|
|
37566
|
+
# `NextToken` value. To retrieve the next set of results, use that
|
|
37567
|
+
# token in your next request.
|
|
37568
|
+
# @return [String]
|
|
37569
|
+
#
|
|
37570
|
+
# @!attribute [rw] filters
|
|
37571
|
+
# A filter that returns only the reservations that match it. You can
|
|
37572
|
+
# specify one filter. If you don't specify a filter, the response
|
|
37573
|
+
# includes all reservations in your account.
|
|
37574
|
+
# @return [Array<Types::CapacityReservationFilter>]
|
|
37575
|
+
#
|
|
37576
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListCapacityReservationsRequest AWS API Documentation
|
|
37577
|
+
#
|
|
37578
|
+
class ListCapacityReservationsRequest < Struct.new(
|
|
37579
|
+
:max_results,
|
|
37580
|
+
:next_token,
|
|
37581
|
+
:filters)
|
|
37582
|
+
SENSITIVE = []
|
|
37583
|
+
include Aws::Structure
|
|
37584
|
+
end
|
|
37585
|
+
|
|
37586
|
+
# @!attribute [rw] capacity_reservation_summaries
|
|
37587
|
+
# Summaries of the SageMaker Capacity Reservations in your account.
|
|
37588
|
+
# @return [Array<Types::CapacityReservationSummary>]
|
|
37589
|
+
#
|
|
37590
|
+
# @!attribute [rw] next_token
|
|
37591
|
+
# If the response is truncated, SageMaker AI returns this token. To
|
|
37592
|
+
# retrieve the next set of results, use this token in your next
|
|
37593
|
+
# request.
|
|
37594
|
+
# @return [String]
|
|
37595
|
+
#
|
|
37596
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListCapacityReservationsResponse AWS API Documentation
|
|
37597
|
+
#
|
|
37598
|
+
class ListCapacityReservationsResponse < Struct.new(
|
|
37599
|
+
:capacity_reservation_summaries,
|
|
37600
|
+
:next_token)
|
|
37601
|
+
SENSITIVE = []
|
|
37602
|
+
include Aws::Structure
|
|
37603
|
+
end
|
|
37604
|
+
|
|
36467
37605
|
# @!attribute [rw] cluster_name
|
|
36468
37606
|
# The name or Amazon Resource Name (ARN) of the HyperPod cluster for
|
|
36469
37607
|
# which to list events.
|
|
@@ -38128,6 +39266,53 @@ module Aws::SageMaker
|
|
|
38128
39266
|
include Aws::Structure
|
|
38129
39267
|
end
|
|
38130
39268
|
|
|
39269
|
+
# @!attribute [rw] filters
|
|
39270
|
+
# The filters to apply to the results. You can filter by `Status`.
|
|
39271
|
+
# Multiple filters are combined with a logical AND.
|
|
39272
|
+
# @return [Array<Types::GlobalInferenceGatewayFilter>]
|
|
39273
|
+
#
|
|
39274
|
+
# @!attribute [rw] next_token
|
|
39275
|
+
# If the result of the previous `ListGlobalInferenceGateways` request
|
|
39276
|
+
# was truncated, the response includes a `NextToken`. To retrieve the
|
|
39277
|
+
# next set of global inference gateways, use the token in the next
|
|
39278
|
+
# request.
|
|
39279
|
+
# @return [String]
|
|
39280
|
+
#
|
|
39281
|
+
# @!attribute [rw] max_results
|
|
39282
|
+
# The maximum number of global inference gateways to return in the
|
|
39283
|
+
# response.
|
|
39284
|
+
# @return [Integer]
|
|
39285
|
+
#
|
|
39286
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListGlobalInferenceGatewaysRequest AWS API Documentation
|
|
39287
|
+
#
|
|
39288
|
+
class ListGlobalInferenceGatewaysRequest < Struct.new(
|
|
39289
|
+
:filters,
|
|
39290
|
+
:next_token,
|
|
39291
|
+
:max_results)
|
|
39292
|
+
SENSITIVE = []
|
|
39293
|
+
include Aws::Structure
|
|
39294
|
+
end
|
|
39295
|
+
|
|
39296
|
+
# @!attribute [rw] global_inference_gateway_summaries
|
|
39297
|
+
# The summaries of the global inference gateways.
|
|
39298
|
+
# @return [Array<Types::GlobalInferenceGatewaySummary>]
|
|
39299
|
+
#
|
|
39300
|
+
# @!attribute [rw] next_token
|
|
39301
|
+
# If the result of the previous `ListGlobalInferenceGateways` request
|
|
39302
|
+
# was truncated, the response includes a `NextToken`. To retrieve the
|
|
39303
|
+
# next set of global inference gateways, use the token in the next
|
|
39304
|
+
# request.
|
|
39305
|
+
# @return [String]
|
|
39306
|
+
#
|
|
39307
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListGlobalInferenceGatewaysResponse AWS API Documentation
|
|
39308
|
+
#
|
|
39309
|
+
class ListGlobalInferenceGatewaysResponse < Struct.new(
|
|
39310
|
+
:global_inference_gateway_summaries,
|
|
39311
|
+
:next_token)
|
|
39312
|
+
SENSITIVE = []
|
|
39313
|
+
include Aws::Structure
|
|
39314
|
+
end
|
|
39315
|
+
|
|
38131
39316
|
# @!attribute [rw] hub_name
|
|
38132
39317
|
# The name of the hub to list the content versions of.
|
|
38133
39318
|
# @return [String]
|
|
@@ -38856,6 +40041,60 @@ module Aws::SageMaker
|
|
|
38856
40041
|
include Aws::Structure
|
|
38857
40042
|
end
|
|
38858
40043
|
|
|
40044
|
+
# @!attribute [rw] identifier
|
|
40045
|
+
# The name, Amazon Resource Name (ARN), or ID of the global inference
|
|
40046
|
+
# gateway.
|
|
40047
|
+
# @return [String]
|
|
40048
|
+
#
|
|
40049
|
+
# @!attribute [rw] filters
|
|
40050
|
+
# The filters to apply to the results. You can filter by `Status` and
|
|
40051
|
+
# `ClusterArn`. Multiple filters are combined with a logical AND.
|
|
40052
|
+
# @return [Array<Types::GlobalInferenceGatewayMemberFilter>]
|
|
40053
|
+
#
|
|
40054
|
+
# @!attribute [rw] next_token
|
|
40055
|
+
# If the result of the previous `ListInferenceGateways` request was
|
|
40056
|
+
# truncated, the response includes a `NextToken`. To retrieve the next
|
|
40057
|
+
# set of in-cluster inference gateways, use the token in the next
|
|
40058
|
+
# request.
|
|
40059
|
+
# @return [String]
|
|
40060
|
+
#
|
|
40061
|
+
# @!attribute [rw] max_results
|
|
40062
|
+
# The maximum number of in-cluster inference gateways to return in the
|
|
40063
|
+
# response.
|
|
40064
|
+
# @return [Integer]
|
|
40065
|
+
#
|
|
40066
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListInferenceGatewaysRequest AWS API Documentation
|
|
40067
|
+
#
|
|
40068
|
+
class ListInferenceGatewaysRequest < Struct.new(
|
|
40069
|
+
:identifier,
|
|
40070
|
+
:filters,
|
|
40071
|
+
:next_token,
|
|
40072
|
+
:max_results)
|
|
40073
|
+
SENSITIVE = []
|
|
40074
|
+
include Aws::Structure
|
|
40075
|
+
end
|
|
40076
|
+
|
|
40077
|
+
# @!attribute [rw] inference_gateway_summaries
|
|
40078
|
+
# The summaries of the in-cluster inference gateways, in the order
|
|
40079
|
+
# that they were added.
|
|
40080
|
+
# @return [Array<Types::GlobalInferenceGatewayMemberSummary>]
|
|
40081
|
+
#
|
|
40082
|
+
# @!attribute [rw] next_token
|
|
40083
|
+
# If the result of the previous `ListInferenceGateways` request was
|
|
40084
|
+
# truncated, the response includes a `NextToken`. To retrieve the next
|
|
40085
|
+
# set of in-cluster inference gateways, use the token in the next
|
|
40086
|
+
# request.
|
|
40087
|
+
# @return [String]
|
|
40088
|
+
#
|
|
40089
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListInferenceGatewaysResponse AWS API Documentation
|
|
40090
|
+
#
|
|
40091
|
+
class ListInferenceGatewaysResponse < Struct.new(
|
|
40092
|
+
:inference_gateway_summaries,
|
|
40093
|
+
:next_token)
|
|
40094
|
+
SENSITIVE = []
|
|
40095
|
+
include Aws::Structure
|
|
40096
|
+
end
|
|
40097
|
+
|
|
38859
40098
|
# @!attribute [rw] job_name
|
|
38860
40099
|
# The name for the Inference Recommender job.
|
|
38861
40100
|
# @return [String]
|
|
@@ -41223,7 +42462,7 @@ module Aws::SageMaker
|
|
|
41223
42462
|
# Filters the pipelines by who manages them. Specify `AWS` to return
|
|
41224
42463
|
# pipelines that Amazon Web Services manages, or `CUSTOMER` to return
|
|
41225
42464
|
# pipelines that you created. If you don't specify a value, the
|
|
41226
|
-
# response includes
|
|
42465
|
+
# response includes only pipelines that you created.
|
|
41227
42466
|
# @return [String]
|
|
41228
42467
|
#
|
|
41229
42468
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListPipelinesRequest AWS API Documentation
|
|
@@ -45946,6 +47185,203 @@ module Aws::SageMaker
|
|
|
45946
47185
|
include Aws::Structure
|
|
45947
47186
|
end
|
|
45948
47187
|
|
|
47188
|
+
# Describes why a node, identified by its `NodeLogicalId`, could not be
|
|
47189
|
+
# moved in a `MoveClusterNodes` request. Contains the `NodeLogicalId`,
|
|
47190
|
+
# an error code, and an error message.
|
|
47191
|
+
#
|
|
47192
|
+
# @!attribute [rw] code
|
|
47193
|
+
# The error code associated with the error encountered when moving the
|
|
47194
|
+
# node. The error code is one of the following values:
|
|
47195
|
+
#
|
|
47196
|
+
# * `NodeIdNotFound`: The node does not exist in the source instance
|
|
47197
|
+
# group.
|
|
47198
|
+
#
|
|
47199
|
+
# * `InvalidNodeStatus`: The node is not in a state that allows the
|
|
47200
|
+
# move. For example, the node is not `Running`, is not in a subnet
|
|
47201
|
+
# of the target instance group, or has an attached Amazon EBS volume
|
|
47202
|
+
# that you must detach first.
|
|
47203
|
+
#
|
|
47204
|
+
# * `NodeIdInUse`: Another operation is already in progress for this
|
|
47205
|
+
# node. Wait for the operation to complete before retrying.
|
|
47206
|
+
#
|
|
47207
|
+
# * `NodeInstanceTypeMismatch`: The target instance group does not
|
|
47208
|
+
# support the node's instance type.
|
|
47209
|
+
# @return [String]
|
|
47210
|
+
#
|
|
47211
|
+
# @!attribute [rw] message
|
|
47212
|
+
# A human-readable message describing the error encountered when
|
|
47213
|
+
# moving the node.
|
|
47214
|
+
# @return [String]
|
|
47215
|
+
#
|
|
47216
|
+
# @!attribute [rw] node_logical_id
|
|
47217
|
+
# The `NodeLogicalId` of the node that could not be moved.
|
|
47218
|
+
# @return [String]
|
|
47219
|
+
#
|
|
47220
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/MoveClusterNodeLogicalIdsError AWS API Documentation
|
|
47221
|
+
#
|
|
47222
|
+
class MoveClusterNodeLogicalIdsError < Struct.new(
|
|
47223
|
+
:code,
|
|
47224
|
+
:message,
|
|
47225
|
+
:node_logical_id)
|
|
47226
|
+
SENSITIVE = []
|
|
47227
|
+
include Aws::Structure
|
|
47228
|
+
end
|
|
47229
|
+
|
|
47230
|
+
# Describes why a node, identified by its instance ID, could not be
|
|
47231
|
+
# moved in a `MoveClusterNodes` request. Contains the instance ID, an
|
|
47232
|
+
# error code, and an error message.
|
|
47233
|
+
#
|
|
47234
|
+
# @!attribute [rw] code
|
|
47235
|
+
# The error code associated with the error encountered when moving the
|
|
47236
|
+
# node. The error code is one of the following values:
|
|
47237
|
+
#
|
|
47238
|
+
# * `NodeIdNotFound`: The node does not exist in the source instance
|
|
47239
|
+
# group.
|
|
47240
|
+
#
|
|
47241
|
+
# * `InvalidNodeStatus`: The node is not in a state that allows the
|
|
47242
|
+
# move. For example, the node is not `Running`, is not in a subnet
|
|
47243
|
+
# of the target instance group, or has an attached Amazon EBS volume
|
|
47244
|
+
# that you must detach first.
|
|
47245
|
+
#
|
|
47246
|
+
# * `NodeIdInUse`: Another operation is already in progress for this
|
|
47247
|
+
# node. Wait for the operation to complete before retrying.
|
|
47248
|
+
#
|
|
47249
|
+
# * `NodeInstanceTypeMismatch`: The target instance group does not
|
|
47250
|
+
# support the node's instance type.
|
|
47251
|
+
# @return [String]
|
|
47252
|
+
#
|
|
47253
|
+
# @!attribute [rw] message
|
|
47254
|
+
# A human-readable message describing the error encountered when
|
|
47255
|
+
# moving the node.
|
|
47256
|
+
# @return [String]
|
|
47257
|
+
#
|
|
47258
|
+
# @!attribute [rw] node_id
|
|
47259
|
+
# The instance ID of the node that could not be moved.
|
|
47260
|
+
# @return [String]
|
|
47261
|
+
#
|
|
47262
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/MoveClusterNodesError AWS API Documentation
|
|
47263
|
+
#
|
|
47264
|
+
class MoveClusterNodesError < Struct.new(
|
|
47265
|
+
:code,
|
|
47266
|
+
:message,
|
|
47267
|
+
:node_id)
|
|
47268
|
+
SENSITIVE = []
|
|
47269
|
+
include Aws::Structure
|
|
47270
|
+
end
|
|
47271
|
+
|
|
47272
|
+
# @!attribute [rw] source_cluster_arn
|
|
47273
|
+
# The Amazon Resource Name (ARN) of the HyperPod cluster that the
|
|
47274
|
+
# nodes are moved from.
|
|
47275
|
+
# @return [String]
|
|
47276
|
+
#
|
|
47277
|
+
# @!attribute [rw] source_instance_group_name
|
|
47278
|
+
# The name of the instance group in the source cluster that the nodes
|
|
47279
|
+
# are moved from.
|
|
47280
|
+
# @return [String]
|
|
47281
|
+
#
|
|
47282
|
+
# @!attribute [rw] target_cluster_arn
|
|
47283
|
+
# The Amazon Resource Name (ARN) of the HyperPod cluster that the
|
|
47284
|
+
# nodes are moved to. The target cluster must be in the same account
|
|
47285
|
+
# and Region as the source cluster, and can be the same cluster as the
|
|
47286
|
+
# source.
|
|
47287
|
+
# @return [String]
|
|
47288
|
+
#
|
|
47289
|
+
# @!attribute [rw] target_instance_group_name
|
|
47290
|
+
# The name of the instance group in the target cluster that the nodes
|
|
47291
|
+
# are moved to. If the target cluster is the same as the source
|
|
47292
|
+
# cluster, the target instance group must be different from the source
|
|
47293
|
+
# instance group.
|
|
47294
|
+
# @return [String]
|
|
47295
|
+
#
|
|
47296
|
+
# @!attribute [rw] instance_count
|
|
47297
|
+
# The number of nodes to move, from 1 to 50. HyperPod selects the
|
|
47298
|
+
# nodes from the source instance group. If fewer than this number of
|
|
47299
|
+
# nodes are eligible to move, the request fails and no nodes are
|
|
47300
|
+
# moved. Specify exactly one of `NodeIds`, `NodeLogicalIds`, or
|
|
47301
|
+
# `InstanceCount`.
|
|
47302
|
+
# @return [Integer]
|
|
47303
|
+
#
|
|
47304
|
+
# @!attribute [rw] node_ids
|
|
47305
|
+
# A list of instance IDs of the nodes to move. You can specify up to
|
|
47306
|
+
# 50 instance IDs. Each node is evaluated separately, so some nodes
|
|
47307
|
+
# can be moved while others fail. The request fails if moving the
|
|
47308
|
+
# eligible nodes would reduce the source instance group below its
|
|
47309
|
+
# minimum instance count. Specify exactly one of `NodeIds`,
|
|
47310
|
+
# `NodeLogicalIds`, or `InstanceCount`.
|
|
47311
|
+
# @return [Array<String>]
|
|
47312
|
+
#
|
|
47313
|
+
# @!attribute [rw] node_logical_ids
|
|
47314
|
+
# A list of `NodeLogicalIds` of the nodes to move. You can specify up
|
|
47315
|
+
# to 50 `NodeLogicalIds`. Each node is evaluated separately, so some
|
|
47316
|
+
# nodes can be moved while others fail. The request fails if moving
|
|
47317
|
+
# the eligible nodes would reduce the source instance group below its
|
|
47318
|
+
# minimum instance count. Specify exactly one of `NodeIds`,
|
|
47319
|
+
# `NodeLogicalIds`, or `InstanceCount`.
|
|
47320
|
+
# @return [Array<String>]
|
|
47321
|
+
#
|
|
47322
|
+
# @!attribute [rw] client_token
|
|
47323
|
+
# A unique, case-sensitive identifier that you provide to ensure that
|
|
47324
|
+
# the operation completes no more than one time. If you retry the
|
|
47325
|
+
# request with the same client token and the same parameters within 8
|
|
47326
|
+
# hours, the service returns the original response. It doesn't start
|
|
47327
|
+
# a new move. If you reuse a client token with different parameters,
|
|
47328
|
+
# the request fails.
|
|
47329
|
+
#
|
|
47330
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
47331
|
+
# not need to pass this option.
|
|
47332
|
+
# @return [String]
|
|
47333
|
+
#
|
|
47334
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/MoveClusterNodesRequest AWS API Documentation
|
|
47335
|
+
#
|
|
47336
|
+
class MoveClusterNodesRequest < Struct.new(
|
|
47337
|
+
:source_cluster_arn,
|
|
47338
|
+
:source_instance_group_name,
|
|
47339
|
+
:target_cluster_arn,
|
|
47340
|
+
:target_instance_group_name,
|
|
47341
|
+
:instance_count,
|
|
47342
|
+
:node_ids,
|
|
47343
|
+
:node_logical_ids,
|
|
47344
|
+
:client_token)
|
|
47345
|
+
SENSITIVE = []
|
|
47346
|
+
include Aws::Structure
|
|
47347
|
+
end
|
|
47348
|
+
|
|
47349
|
+
# @!attribute [rw] successful
|
|
47350
|
+
# This list contains the instance IDs of the nodes that were accepted
|
|
47351
|
+
# for the move. The response includes this list when you specify
|
|
47352
|
+
# `NodeIds` or `InstanceCount`.
|
|
47353
|
+
# @return [Array<String>]
|
|
47354
|
+
#
|
|
47355
|
+
# @!attribute [rw] failed
|
|
47356
|
+
# The instance IDs that could not be moved, each with an error code
|
|
47357
|
+
# and message. The response includes this list when you specify
|
|
47358
|
+
# `NodeIds`. If none of the specified nodes can be moved, the request
|
|
47359
|
+
# fails and no nodes are moved.
|
|
47360
|
+
# @return [Array<Types::MoveClusterNodesError>]
|
|
47361
|
+
#
|
|
47362
|
+
# @!attribute [rw] successful_node_logical_ids
|
|
47363
|
+
# The `NodeLogicalIds` of the nodes that were accepted for the move.
|
|
47364
|
+
# The response includes this list when you specify `NodeLogicalIds`.
|
|
47365
|
+
# @return [Array<String>]
|
|
47366
|
+
#
|
|
47367
|
+
# @!attribute [rw] failed_node_logical_ids
|
|
47368
|
+
# The `NodeLogicalIds` that could not be moved, each with an error
|
|
47369
|
+
# code and message. The response includes this list when you specify
|
|
47370
|
+
# `NodeLogicalIds`. If none of the specified nodes can be moved, the
|
|
47371
|
+
# request fails and no nodes are moved.
|
|
47372
|
+
# @return [Array<Types::MoveClusterNodeLogicalIdsError>]
|
|
47373
|
+
#
|
|
47374
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/MoveClusterNodesResponse AWS API Documentation
|
|
47375
|
+
#
|
|
47376
|
+
class MoveClusterNodesResponse < Struct.new(
|
|
47377
|
+
:successful,
|
|
47378
|
+
:failed,
|
|
47379
|
+
:successful_node_logical_ids,
|
|
47380
|
+
:failed_node_logical_ids)
|
|
47381
|
+
SENSITIVE = []
|
|
47382
|
+
include Aws::Structure
|
|
47383
|
+
end
|
|
47384
|
+
|
|
45949
47385
|
# Specifies additional configuration for hosting multi-model endpoints.
|
|
45950
47386
|
#
|
|
45951
47387
|
# @!attribute [rw] model_cache_setting
|
|
@@ -51496,6 +52932,70 @@ module Aws::SageMaker
|
|
|
51496
52932
|
include Aws::Structure
|
|
51497
52933
|
end
|
|
51498
52934
|
|
|
52935
|
+
# @!attribute [rw] identifier
|
|
52936
|
+
# The name, Amazon Resource Name (ARN), or ID of the global inference
|
|
52937
|
+
# gateway.
|
|
52938
|
+
# @return [String]
|
|
52939
|
+
#
|
|
52940
|
+
# @!attribute [rw] cluster_arn
|
|
52941
|
+
# The Amazon Resource Name (ARN) of the SageMaker HyperPod cluster
|
|
52942
|
+
# that runs the in-cluster inference gateway.
|
|
52943
|
+
# @return [String]
|
|
52944
|
+
#
|
|
52945
|
+
# @!attribute [rw] namespace
|
|
52946
|
+
# The Kubernetes namespace of the in-cluster inference gateway.
|
|
52947
|
+
# @return [String]
|
|
52948
|
+
#
|
|
52949
|
+
# @!attribute [rw] name
|
|
52950
|
+
# The name of the `InferenceGatewayConfig` resource that defines the
|
|
52951
|
+
# in-cluster inference gateway.
|
|
52952
|
+
# @return [String]
|
|
52953
|
+
#
|
|
52954
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/RemoveInferenceGatewayRequest AWS API Documentation
|
|
52955
|
+
#
|
|
52956
|
+
class RemoveInferenceGatewayRequest < Struct.new(
|
|
52957
|
+
:identifier,
|
|
52958
|
+
:cluster_arn,
|
|
52959
|
+
:namespace,
|
|
52960
|
+
:name)
|
|
52961
|
+
SENSITIVE = []
|
|
52962
|
+
include Aws::Structure
|
|
52963
|
+
end
|
|
52964
|
+
|
|
52965
|
+
# @!attribute [rw] arn
|
|
52966
|
+
# The Amazon Resource Name (ARN) of the global inference gateway.
|
|
52967
|
+
# @return [String]
|
|
52968
|
+
#
|
|
52969
|
+
# @!attribute [rw] id
|
|
52970
|
+
# The ID of the global inference gateway.
|
|
52971
|
+
# @return [String]
|
|
52972
|
+
#
|
|
52973
|
+
# @!attribute [rw] name
|
|
52974
|
+
# The name of the global inference gateway.
|
|
52975
|
+
# @return [String]
|
|
52976
|
+
#
|
|
52977
|
+
# @!attribute [rw] gateway
|
|
52978
|
+
# The in-cluster inference gateway that you removed.
|
|
52979
|
+
# @return [Types::GlobalInferenceGatewayMember]
|
|
52980
|
+
#
|
|
52981
|
+
# @!attribute [rw] status
|
|
52982
|
+
# The status of the in-cluster inference gateway in the global
|
|
52983
|
+
# inference gateway. This value is absent if the in-cluster inference
|
|
52984
|
+
# gateway wasn't in the global inference gateway.
|
|
52985
|
+
# @return [String]
|
|
52986
|
+
#
|
|
52987
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/RemoveInferenceGatewayResponse AWS API Documentation
|
|
52988
|
+
#
|
|
52989
|
+
class RemoveInferenceGatewayResponse < Struct.new(
|
|
52990
|
+
:arn,
|
|
52991
|
+
:id,
|
|
52992
|
+
:name,
|
|
52993
|
+
:gateway,
|
|
52994
|
+
:status)
|
|
52995
|
+
SENSITIVE = []
|
|
52996
|
+
include Aws::Structure
|
|
52997
|
+
end
|
|
52998
|
+
|
|
51499
52999
|
# @!attribute [rw] ui_template
|
|
51500
53000
|
# A `Template` object containing the worker UI template to render.
|
|
51501
53001
|
# @return [Types::UiTemplate]
|
|
@@ -60179,6 +61679,56 @@ module Aws::SageMaker
|
|
|
60179
61679
|
include Aws::Structure
|
|
60180
61680
|
end
|
|
60181
61681
|
|
|
61682
|
+
# @!attribute [rw] identifier
|
|
61683
|
+
# The name, Amazon Resource Name (ARN), or ID of the global inference
|
|
61684
|
+
# gateway to update.
|
|
61685
|
+
# @return [String]
|
|
61686
|
+
#
|
|
61687
|
+
# @!attribute [rw] routing
|
|
61688
|
+
# The new routing configuration of the global inference gateway.
|
|
61689
|
+
# @return [Types::GlobalInferenceGatewayRouting]
|
|
61690
|
+
#
|
|
61691
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateGlobalInferenceGatewayRequest AWS API Documentation
|
|
61692
|
+
#
|
|
61693
|
+
class UpdateGlobalInferenceGatewayRequest < Struct.new(
|
|
61694
|
+
:identifier,
|
|
61695
|
+
:routing)
|
|
61696
|
+
SENSITIVE = []
|
|
61697
|
+
include Aws::Structure
|
|
61698
|
+
end
|
|
61699
|
+
|
|
61700
|
+
# @!attribute [rw] arn
|
|
61701
|
+
# The Amazon Resource Name (ARN) of the global inference gateway.
|
|
61702
|
+
# @return [String]
|
|
61703
|
+
#
|
|
61704
|
+
# @!attribute [rw] id
|
|
61705
|
+
# The ID of the global inference gateway.
|
|
61706
|
+
# @return [String]
|
|
61707
|
+
#
|
|
61708
|
+
# @!attribute [rw] name
|
|
61709
|
+
# The name of the global inference gateway.
|
|
61710
|
+
# @return [String]
|
|
61711
|
+
#
|
|
61712
|
+
# @!attribute [rw] status
|
|
61713
|
+
# The status of the global inference gateway.
|
|
61714
|
+
# @return [String]
|
|
61715
|
+
#
|
|
61716
|
+
# @!attribute [rw] routing
|
|
61717
|
+
# The routing configuration that you specified in the request.
|
|
61718
|
+
# @return [Types::GlobalInferenceGatewayRouting]
|
|
61719
|
+
#
|
|
61720
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateGlobalInferenceGatewayResponse AWS API Documentation
|
|
61721
|
+
#
|
|
61722
|
+
class UpdateGlobalInferenceGatewayResponse < Struct.new(
|
|
61723
|
+
:arn,
|
|
61724
|
+
:id,
|
|
61725
|
+
:name,
|
|
61726
|
+
:status,
|
|
61727
|
+
:routing)
|
|
61728
|
+
SENSITIVE = []
|
|
61729
|
+
include Aws::Structure
|
|
61730
|
+
end
|
|
61731
|
+
|
|
60182
61732
|
# @!attribute [rw] hub_name
|
|
60183
61733
|
# The name of the SageMaker hub that contains the hub content you want
|
|
60184
61734
|
# to update. You can optionally use the hub ARN instead.
|