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
data/sig/client.rbs
CHANGED
|
@@ -3949,6 +3949,16 @@ module Aws
|
|
|
3949
3949
|
) -> _DescribeAutoMLJobV2ResponseSuccess
|
|
3950
3950
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeAutoMLJobV2ResponseSuccess
|
|
3951
3951
|
|
|
3952
|
+
interface _DescribeCapacityReservationResponseSuccess
|
|
3953
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeCapacityReservationResponse]
|
|
3954
|
+
def capacity_reservation: () -> Types::CapacityReservationDetail
|
|
3955
|
+
end
|
|
3956
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMaker/Client.html#describe_capacity_reservation-instance_method
|
|
3957
|
+
def describe_capacity_reservation: (
|
|
3958
|
+
sm_capacity_reservation_arn: ::String
|
|
3959
|
+
) -> _DescribeCapacityReservationResponseSuccess
|
|
3960
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeCapacityReservationResponseSuccess
|
|
3961
|
+
|
|
3952
3962
|
interface _DescribeClusterResponseSuccess
|
|
3953
3963
|
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeClusterResponse]
|
|
3954
3964
|
def cluster_arn: () -> ::String
|
|
@@ -5222,6 +5232,21 @@ module Aws
|
|
|
5222
5232
|
) -> _DescribeReservedCapacityResponseSuccess
|
|
5223
5233
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeReservedCapacityResponseSuccess
|
|
5224
5234
|
|
|
5235
|
+
interface _DescribeResourceAssociationsResponseSuccess
|
|
5236
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeResourceAssociationsResponse]
|
|
5237
|
+
def sm_capacity_reservation_arn: () -> ::String
|
|
5238
|
+
def sm_capacity_reservation_id: () -> ::String
|
|
5239
|
+
def resource_associations: () -> ::Array[Types::CapacityReservationResourceAssociation]
|
|
5240
|
+
def next_token: () -> ::String
|
|
5241
|
+
end
|
|
5242
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMaker/Client.html#describe_resource_associations-instance_method
|
|
5243
|
+
def describe_resource_associations: (
|
|
5244
|
+
sm_capacity_reservation_arn: ::String,
|
|
5245
|
+
?max_results: ::Integer,
|
|
5246
|
+
?next_token: ::String
|
|
5247
|
+
) -> _DescribeResourceAssociationsResponseSuccess
|
|
5248
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeResourceAssociationsResponseSuccess
|
|
5249
|
+
|
|
5225
5250
|
interface _DescribeSpaceResponseSuccess
|
|
5226
5251
|
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeSpaceResponse]
|
|
5227
5252
|
def domain_id: () -> ::String
|
|
@@ -5551,6 +5576,23 @@ module Aws
|
|
|
5551
5576
|
) -> _ExtendTrainingPlanResponseSuccess
|
|
5552
5577
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ExtendTrainingPlanResponseSuccess
|
|
5553
5578
|
|
|
5579
|
+
interface _GetCapacityReservationUsageResponseSuccess
|
|
5580
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetCapacityReservationUsageResponse]
|
|
5581
|
+
def sm_capacity_reservation_id: () -> ::String
|
|
5582
|
+
def total_instance_count: () -> ::Integer
|
|
5583
|
+
def available_instance_count: () -> ::Integer
|
|
5584
|
+
def last_refresh_time: () -> ::Time
|
|
5585
|
+
def instance_usage_set: () -> ::Array[Types::CapacityReservationInstanceUsage]
|
|
5586
|
+
def next_token: () -> ::String
|
|
5587
|
+
end
|
|
5588
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMaker/Client.html#get_capacity_reservation_usage-instance_method
|
|
5589
|
+
def get_capacity_reservation_usage: (
|
|
5590
|
+
sm_capacity_reservation_arn: ::String,
|
|
5591
|
+
?max_results: ::Integer,
|
|
5592
|
+
?next_token: ::String
|
|
5593
|
+
) -> _GetCapacityReservationUsageResponseSuccess
|
|
5594
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCapacityReservationUsageResponseSuccess
|
|
5595
|
+
|
|
5554
5596
|
interface _GetDeviceFleetReportResponseSuccess
|
|
5555
5597
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetDeviceFleetReportResponse]
|
|
5556
5598
|
def device_fleet_arn: () -> ::String
|
|
@@ -5890,6 +5932,24 @@ module Aws
|
|
|
5890
5932
|
) -> _ListCandidatesForAutoMLJobResponseSuccess
|
|
5891
5933
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCandidatesForAutoMLJobResponseSuccess
|
|
5892
5934
|
|
|
5935
|
+
interface _ListCapacityReservationsResponseSuccess
|
|
5936
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListCapacityReservationsResponse]
|
|
5937
|
+
def capacity_reservation_summaries: () -> ::Array[Types::CapacityReservationSummary]
|
|
5938
|
+
def next_token: () -> ::String
|
|
5939
|
+
end
|
|
5940
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMaker/Client.html#list_capacity_reservations-instance_method
|
|
5941
|
+
def list_capacity_reservations: (
|
|
5942
|
+
?max_results: ::Integer,
|
|
5943
|
+
?next_token: ::String,
|
|
5944
|
+
?filters: Array[
|
|
5945
|
+
{
|
|
5946
|
+
name: ("Status"),
|
|
5947
|
+
values: Array[::String]
|
|
5948
|
+
}
|
|
5949
|
+
]
|
|
5950
|
+
) -> _ListCapacityReservationsResponseSuccess
|
|
5951
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCapacityReservationsResponseSuccess
|
|
5952
|
+
|
|
5893
5953
|
interface _ListClusterEventsResponseSuccess
|
|
5894
5954
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListClusterEventsResponse]
|
|
5895
5955
|
def next_token: () -> ::String
|
data/sig/types.rbs
CHANGED
|
@@ -1096,6 +1096,87 @@ module Aws::SageMaker
|
|
|
1096
1096
|
SENSITIVE: []
|
|
1097
1097
|
end
|
|
1098
1098
|
|
|
1099
|
+
class CapacityReservationDetail
|
|
1100
|
+
attr_accessor sm_capacity_reservation_arn: ::String
|
|
1101
|
+
attr_accessor sm_capacity_reservation_id: ::String
|
|
1102
|
+
attr_accessor owner: ::String
|
|
1103
|
+
attr_accessor status: ("Scheduled" | "Active" | "Expired")
|
|
1104
|
+
attr_accessor instance_type: ::String
|
|
1105
|
+
attr_accessor availability_zone: ::String
|
|
1106
|
+
attr_accessor availability_zone_id: ::String
|
|
1107
|
+
attr_accessor total_instance_count: ::Integer
|
|
1108
|
+
attr_accessor start_time: ::Time
|
|
1109
|
+
attr_accessor end_time: ::Time
|
|
1110
|
+
attr_accessor creation_time: ::Time
|
|
1111
|
+
SENSITIVE: []
|
|
1112
|
+
end
|
|
1113
|
+
|
|
1114
|
+
class CapacityReservationEndpointsAssociation
|
|
1115
|
+
attr_accessor ml_reservation_id: ::String
|
|
1116
|
+
attr_accessor status: ("Pending" | "Active" | "Inactive")
|
|
1117
|
+
attr_accessor match_criteria: ("Open" | "Targeted")
|
|
1118
|
+
attr_accessor endpoint_sharing: ("SingleEndpoint" | "MultipleEndpoints")
|
|
1119
|
+
attr_accessor ml_reservation_arn: ::String
|
|
1120
|
+
attr_accessor failure_reason: ::String
|
|
1121
|
+
attr_accessor associated_time: ::Time
|
|
1122
|
+
SENSITIVE: []
|
|
1123
|
+
end
|
|
1124
|
+
|
|
1125
|
+
class CapacityReservationFilter
|
|
1126
|
+
attr_accessor name: ("Status")
|
|
1127
|
+
attr_accessor values: ::Array[::String]
|
|
1128
|
+
SENSITIVE: []
|
|
1129
|
+
end
|
|
1130
|
+
|
|
1131
|
+
class CapacityReservationHyperPodClustersAssociation
|
|
1132
|
+
attr_accessor status: ("Pending" | "Active" | "Inactive")
|
|
1133
|
+
attr_accessor failure_reason: ::String
|
|
1134
|
+
attr_accessor associated_time: ::Time
|
|
1135
|
+
SENSITIVE: []
|
|
1136
|
+
end
|
|
1137
|
+
|
|
1138
|
+
class CapacityReservationInstanceUsage
|
|
1139
|
+
attr_accessor account_id: ::String
|
|
1140
|
+
attr_accessor in_use_instance_count: ::Integer
|
|
1141
|
+
attr_accessor resources_usage: ::Array[Types::CapacityReservationResourceUsage]
|
|
1142
|
+
SENSITIVE: []
|
|
1143
|
+
end
|
|
1144
|
+
|
|
1145
|
+
class CapacityReservationResourceAssociation
|
|
1146
|
+
attr_accessor hyper_pod_clusters: Types::CapacityReservationHyperPodClustersAssociation
|
|
1147
|
+
attr_accessor endpoints: Types::CapacityReservationEndpointsAssociation
|
|
1148
|
+
attr_accessor unknown: untyped
|
|
1149
|
+
SENSITIVE: []
|
|
1150
|
+
|
|
1151
|
+
class HyperPodClusters < CapacityReservationResourceAssociation
|
|
1152
|
+
end
|
|
1153
|
+
class Endpoints < CapacityReservationResourceAssociation
|
|
1154
|
+
end
|
|
1155
|
+
class Unknown < CapacityReservationResourceAssociation
|
|
1156
|
+
end
|
|
1157
|
+
end
|
|
1158
|
+
|
|
1159
|
+
class CapacityReservationResourceUsage
|
|
1160
|
+
attr_accessor resource_type: ("HyperPodClusters" | "Endpoints")
|
|
1161
|
+
attr_accessor in_use_instance_count: ::Integer
|
|
1162
|
+
SENSITIVE: []
|
|
1163
|
+
end
|
|
1164
|
+
|
|
1165
|
+
class CapacityReservationSummary
|
|
1166
|
+
attr_accessor sm_capacity_reservation_arn: ::String
|
|
1167
|
+
attr_accessor sm_capacity_reservation_id: ::String
|
|
1168
|
+
attr_accessor owner: ::String
|
|
1169
|
+
attr_accessor status: ("Scheduled" | "Active" | "Expired")
|
|
1170
|
+
attr_accessor instance_type: ::String
|
|
1171
|
+
attr_accessor availability_zone: ::String
|
|
1172
|
+
attr_accessor availability_zone_id: ::String
|
|
1173
|
+
attr_accessor total_instance_count: ::Integer
|
|
1174
|
+
attr_accessor start_time: ::Time
|
|
1175
|
+
attr_accessor end_time: ::Time
|
|
1176
|
+
attr_accessor creation_time: ::Time
|
|
1177
|
+
SENSITIVE: []
|
|
1178
|
+
end
|
|
1179
|
+
|
|
1099
1180
|
class CapacitySize
|
|
1100
1181
|
attr_accessor type: ("INSTANCE_COUNT" | "CAPACITY_PERCENT")
|
|
1101
1182
|
attr_accessor value: ::Integer
|
|
@@ -1412,7 +1493,7 @@ module Aws::SageMaker
|
|
|
1412
1493
|
attr_accessor kubernetes_config: Types::ClusterKubernetesConfigDetails
|
|
1413
1494
|
attr_accessor capacity_requirements: Types::ClusterCapacityRequirements
|
|
1414
1495
|
attr_accessor target_state_count: ::Integer
|
|
1415
|
-
attr_accessor software_update_status: ("Pending" | "InProgress" | "Succeeded" | "Failed" | "RollbackInProgress" | "RollbackComplete")
|
|
1496
|
+
attr_accessor software_update_status: ("Pending" | "InProgress" | "Succeeded" | "Failed" | "RollbackInProgress" | "RollbackComplete" | "PartiallySucceeded")
|
|
1416
1497
|
attr_accessor active_software_update_config: Types::DeploymentConfiguration
|
|
1417
1498
|
attr_accessor slurm_config: Types::ClusterSlurmConfigDetails
|
|
1418
1499
|
attr_accessor network_interface: Types::ClusterNetworkInterfaceDetails
|
|
@@ -4165,6 +4246,16 @@ module Aws::SageMaker
|
|
|
4165
4246
|
SENSITIVE: []
|
|
4166
4247
|
end
|
|
4167
4248
|
|
|
4249
|
+
class DescribeCapacityReservationRequest
|
|
4250
|
+
attr_accessor sm_capacity_reservation_arn: ::String
|
|
4251
|
+
SENSITIVE: []
|
|
4252
|
+
end
|
|
4253
|
+
|
|
4254
|
+
class DescribeCapacityReservationResponse
|
|
4255
|
+
attr_accessor capacity_reservation: Types::CapacityReservationDetail
|
|
4256
|
+
SENSITIVE: []
|
|
4257
|
+
end
|
|
4258
|
+
|
|
4168
4259
|
class DescribeClusterEventRequest
|
|
4169
4260
|
attr_accessor event_id: ::String
|
|
4170
4261
|
attr_accessor cluster_name: ::String
|
|
@@ -5439,6 +5530,21 @@ module Aws::SageMaker
|
|
|
5439
5530
|
SENSITIVE: []
|
|
5440
5531
|
end
|
|
5441
5532
|
|
|
5533
|
+
class DescribeResourceAssociationsRequest
|
|
5534
|
+
attr_accessor sm_capacity_reservation_arn: ::String
|
|
5535
|
+
attr_accessor max_results: ::Integer
|
|
5536
|
+
attr_accessor next_token: ::String
|
|
5537
|
+
SENSITIVE: []
|
|
5538
|
+
end
|
|
5539
|
+
|
|
5540
|
+
class DescribeResourceAssociationsResponse
|
|
5541
|
+
attr_accessor sm_capacity_reservation_arn: ::String
|
|
5542
|
+
attr_accessor sm_capacity_reservation_id: ::String
|
|
5543
|
+
attr_accessor resource_associations: ::Array[Types::CapacityReservationResourceAssociation]
|
|
5544
|
+
attr_accessor next_token: ::String
|
|
5545
|
+
SENSITIVE: []
|
|
5546
|
+
end
|
|
5547
|
+
|
|
5442
5548
|
class DescribeSpaceRequest
|
|
5443
5549
|
attr_accessor domain_id: ::String
|
|
5444
5550
|
attr_accessor space_name: ::String
|
|
@@ -6476,6 +6582,23 @@ module Aws::SageMaker
|
|
|
6476
6582
|
SENSITIVE: []
|
|
6477
6583
|
end
|
|
6478
6584
|
|
|
6585
|
+
class GetCapacityReservationUsageRequest
|
|
6586
|
+
attr_accessor sm_capacity_reservation_arn: ::String
|
|
6587
|
+
attr_accessor max_results: ::Integer
|
|
6588
|
+
attr_accessor next_token: ::String
|
|
6589
|
+
SENSITIVE: []
|
|
6590
|
+
end
|
|
6591
|
+
|
|
6592
|
+
class GetCapacityReservationUsageResponse
|
|
6593
|
+
attr_accessor sm_capacity_reservation_id: ::String
|
|
6594
|
+
attr_accessor total_instance_count: ::Integer
|
|
6595
|
+
attr_accessor available_instance_count: ::Integer
|
|
6596
|
+
attr_accessor last_refresh_time: ::Time
|
|
6597
|
+
attr_accessor instance_usage_set: ::Array[Types::CapacityReservationInstanceUsage]
|
|
6598
|
+
attr_accessor next_token: ::String
|
|
6599
|
+
SENSITIVE: []
|
|
6600
|
+
end
|
|
6601
|
+
|
|
6479
6602
|
class GetDeviceFleetReportRequest
|
|
6480
6603
|
attr_accessor device_fleet_name: ::String
|
|
6481
6604
|
SENSITIVE: []
|
|
@@ -7800,6 +7923,19 @@ module Aws::SageMaker
|
|
|
7800
7923
|
SENSITIVE: []
|
|
7801
7924
|
end
|
|
7802
7925
|
|
|
7926
|
+
class ListCapacityReservationsRequest
|
|
7927
|
+
attr_accessor max_results: ::Integer
|
|
7928
|
+
attr_accessor next_token: ::String
|
|
7929
|
+
attr_accessor filters: ::Array[Types::CapacityReservationFilter]
|
|
7930
|
+
SENSITIVE: []
|
|
7931
|
+
end
|
|
7932
|
+
|
|
7933
|
+
class ListCapacityReservationsResponse
|
|
7934
|
+
attr_accessor capacity_reservation_summaries: ::Array[Types::CapacityReservationSummary]
|
|
7935
|
+
attr_accessor next_token: ::String
|
|
7936
|
+
SENSITIVE: []
|
|
7937
|
+
end
|
|
7938
|
+
|
|
7803
7939
|
class ListClusterEventsRequest
|
|
7804
7940
|
attr_accessor cluster_name: ::String
|
|
7805
7941
|
attr_accessor instance_group_name: ::String
|