aws-sdk-sagemaker 1.418.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-sagemaker/client.rb +231 -2
- data/lib/aws-sdk-sagemaker/client_api.rb +199 -0
- data/lib/aws-sdk-sagemaker/types.rb +636 -0
- data/lib/aws-sdk-sagemaker.rb +1 -1
- data/sig/client.rbs +60 -0
- data/sig/types.rbs +137 -1
- metadata +1 -1
|
@@ -5414,6 +5414,438 @@ module Aws::SageMaker
|
|
|
5414
5414
|
include Aws::Structure
|
|
5415
5415
|
end
|
|
5416
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
|
+
|
|
5417
5849
|
# Specifies the type and size of the endpoint capacity to activate for a
|
|
5418
5850
|
# blue/green deployment, a rolling deployment, or a rollback strategy.
|
|
5419
5851
|
# You can specify your batches as either instance count or the overall
|
|
@@ -19263,6 +19695,32 @@ module Aws::SageMaker
|
|
|
19263
19695
|
include Aws::Structure
|
|
19264
19696
|
end
|
|
19265
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
|
+
|
|
19266
19724
|
# @!attribute [rw] event_id
|
|
19267
19725
|
# The unique identifier (UUID) of the event to describe. This ID can
|
|
19268
19726
|
# be obtained from the `ListClusterEvents` operation.
|
|
@@ -25048,6 +25506,66 @@ module Aws::SageMaker
|
|
|
25048
25506
|
include Aws::Structure
|
|
25049
25507
|
end
|
|
25050
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
|
+
|
|
25051
25569
|
# @!attribute [rw] domain_id
|
|
25052
25570
|
# The ID of the associated domain.
|
|
25053
25571
|
# @return [String]
|
|
@@ -29741,6 +30259,78 @@ module Aws::SageMaker
|
|
|
29741
30259
|
include Aws::Structure
|
|
29742
30260
|
end
|
|
29743
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
|
+
|
|
29744
30334
|
# @!attribute [rw] device_fleet_name
|
|
29745
30335
|
# The name of the fleet.
|
|
29746
30336
|
# @return [String]
|
|
@@ -36966,6 +37556,52 @@ module Aws::SageMaker
|
|
|
36966
37556
|
include Aws::Structure
|
|
36967
37557
|
end
|
|
36968
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
|
+
|
|
36969
37605
|
# @!attribute [rw] cluster_name
|
|
36970
37606
|
# The name or Amazon Resource Name (ARN) of the HyperPod cluster for
|
|
36971
37607
|
# which to list events.
|