aws-sdk-sagemaker 1.396.0 → 1.397.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 +23 -1
- data/lib/aws-sdk-sagemaker/client_api.rb +32 -0
- data/lib/aws-sdk-sagemaker/types.rb +152 -1
- data/lib/aws-sdk-sagemaker.rb +1 -1
- data/sig/params.rbs +11 -3
- data/sig/types.rbs +29 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 60184d66f5fc055b3066304e404c5429da9e425f26dfa8015553366a4e23bb54
|
|
4
|
+
data.tar.gz: bdb3d7091bcafa3850ed9ab718001ed21e0e0e2d77e84f9271a94e0bf45d4b26
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 441814fb7d8221320512d6dea033c4ce07bbca816b0942049369aceb7c2a6e49d9f1c5ab6b226eae37b28ada0bd3c8c198e8e3e09bc628f225928cc20c7d3fec
|
|
7
|
+
data.tar.gz: 844958a9b62f0f6c557260e6574a202b901472eaac99f349b52d141439806f7c7f1935712e5fea33356d384008b4407e0559087696f9ca7e0aa45b4584d8c0f2
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.397.0
|
|
@@ -3062,6 +3062,12 @@ module Aws::SageMaker
|
|
|
3062
3062
|
# },
|
|
3063
3063
|
# slurm: {
|
|
3064
3064
|
# slurm_config_strategy: "Overwrite", # accepts Overwrite, Managed, Merge
|
|
3065
|
+
# accounting_database: {
|
|
3066
|
+
# endpoint: "ClusterAccountingDatabaseEndpoint", # required
|
|
3067
|
+
# port: 1,
|
|
3068
|
+
# name: "ClusterAccountingDatabaseName",
|
|
3069
|
+
# secret_arn: "ClusterAccountingDatabaseSecretArn", # required
|
|
3070
|
+
# },
|
|
3065
3071
|
# },
|
|
3066
3072
|
# },
|
|
3067
3073
|
# node_recovery: "Automatic", # accepts Automatic, None
|
|
@@ -15267,6 +15273,10 @@ module Aws::SageMaker
|
|
|
15267
15273
|
# resp.vpc_config.subnets[0] #=> String
|
|
15268
15274
|
# resp.orchestrator.eks.cluster_arn #=> String
|
|
15269
15275
|
# resp.orchestrator.slurm.slurm_config_strategy #=> String, one of "Overwrite", "Managed", "Merge"
|
|
15276
|
+
# resp.orchestrator.slurm.accounting_database.endpoint #=> String
|
|
15277
|
+
# resp.orchestrator.slurm.accounting_database.port #=> Integer
|
|
15278
|
+
# resp.orchestrator.slurm.accounting_database.name #=> String
|
|
15279
|
+
# resp.orchestrator.slurm.accounting_database.secret_arn #=> String
|
|
15270
15280
|
# resp.tiered_storage_config.mode #=> String, one of "Enable", "Disable"
|
|
15271
15281
|
# resp.tiered_storage_config.instance_memory_allocation_percentage #=> Integer
|
|
15272
15282
|
# resp.node_recovery #=> String, one of "Automatic", "None"
|
|
@@ -15346,6 +15356,12 @@ module Aws::SageMaker
|
|
|
15346
15356
|
# resp.event_details.event_details.event_metadata.instance.failure_message #=> String
|
|
15347
15357
|
# resp.event_details.event_details.event_metadata.instance.lcs_execution_state #=> String
|
|
15348
15358
|
# resp.event_details.event_details.event_metadata.instance.node_logical_id #=> String
|
|
15359
|
+
# resp.event_details.event_details.event_metadata.database_configuration.rollback_status #=> String, one of "NotApplicable", "Reverted", "RevertFailed"
|
|
15360
|
+
# resp.event_details.event_details.event_metadata.database_configuration.advisory #=> String
|
|
15361
|
+
# resp.event_details.event_details.event_metadata.database_configuration.failure_message #=> String
|
|
15362
|
+
# resp.event_details.event_details.event_metadata.slurm_health.component #=> String, one of "Slurmdbd"
|
|
15363
|
+
# resp.event_details.event_details.event_metadata.slurm_health.status #=> String, one of "Healthy", "Unhealthy"
|
|
15364
|
+
# resp.event_details.event_details.event_metadata.slurm_health.reason #=> String, one of "DaemonDown", "DaemonDisabled", "DbUnreachable"
|
|
15349
15365
|
# resp.event_details.description #=> String
|
|
15350
15366
|
# resp.event_details.event_level #=> String, one of "Info", "Warn", "Error"
|
|
15351
15367
|
#
|
|
@@ -30821,6 +30837,12 @@ module Aws::SageMaker
|
|
|
30821
30837
|
# },
|
|
30822
30838
|
# slurm: {
|
|
30823
30839
|
# slurm_config_strategy: "Overwrite", # accepts Overwrite, Managed, Merge
|
|
30840
|
+
# accounting_database: {
|
|
30841
|
+
# endpoint: "ClusterAccountingDatabaseEndpoint", # required
|
|
30842
|
+
# port: 1,
|
|
30843
|
+
# name: "ClusterAccountingDatabaseName",
|
|
30844
|
+
# secret_arn: "ClusterAccountingDatabaseSecretArn", # required
|
|
30845
|
+
# },
|
|
30824
30846
|
# },
|
|
30825
30847
|
# },
|
|
30826
30848
|
# })
|
|
@@ -34760,7 +34782,7 @@ module Aws::SageMaker
|
|
|
34760
34782
|
tracer: tracer
|
|
34761
34783
|
)
|
|
34762
34784
|
context[:gem_name] = 'aws-sdk-sagemaker'
|
|
34763
|
-
context[:gem_version] = '1.
|
|
34785
|
+
context[:gem_version] = '1.397.0'
|
|
34764
34786
|
Seahorse::Client::Request.new(handlers, context)
|
|
34765
34787
|
end
|
|
34766
34788
|
|
|
@@ -428,6 +428,11 @@ module Aws::SageMaker
|
|
|
428
428
|
ClientId = Shapes::StringShape.new(name: 'ClientId')
|
|
429
429
|
ClientSecret = Shapes::StringShape.new(name: 'ClientSecret')
|
|
430
430
|
ClientToken = Shapes::StringShape.new(name: 'ClientToken')
|
|
431
|
+
ClusterAccountingDatabase = Shapes::StructureShape.new(name: 'ClusterAccountingDatabase')
|
|
432
|
+
ClusterAccountingDatabaseEndpoint = Shapes::StringShape.new(name: 'ClusterAccountingDatabaseEndpoint')
|
|
433
|
+
ClusterAccountingDatabaseName = Shapes::StringShape.new(name: 'ClusterAccountingDatabaseName')
|
|
434
|
+
ClusterAccountingDatabasePort = Shapes::IntegerShape.new(name: 'ClusterAccountingDatabasePort')
|
|
435
|
+
ClusterAccountingDatabaseSecretArn = Shapes::StringShape.new(name: 'ClusterAccountingDatabaseSecretArn')
|
|
431
436
|
ClusterArn = Shapes::StringShape.new(name: 'ClusterArn')
|
|
432
437
|
ClusterAutoPatchConfig = Shapes::StructureShape.new(name: 'ClusterAutoPatchConfig')
|
|
433
438
|
ClusterAutoPatchConfigDetails = Shapes::StructureShape.new(name: 'ClusterAutoPatchConfigDetails')
|
|
@@ -794,6 +799,8 @@ module Aws::SageMaker
|
|
|
794
799
|
DataSource = Shapes::StructureShape.new(name: 'DataSource')
|
|
795
800
|
DataSourceName = Shapes::StringShape.new(name: 'DataSourceName')
|
|
796
801
|
Database = Shapes::StringShape.new(name: 'Database')
|
|
802
|
+
DatabaseConfigurationMetadata = Shapes::StructureShape.new(name: 'DatabaseConfigurationMetadata')
|
|
803
|
+
DatabaseConfigurationRollbackStatus = Shapes::StringShape.new(name: 'DatabaseConfigurationRollbackStatus')
|
|
797
804
|
DatasetDefinition = Shapes::StructureShape.new(name: 'DatasetDefinition')
|
|
798
805
|
DatasetSource = Shapes::StructureShape.new(name: 'DatasetSource')
|
|
799
806
|
DebugHookConfig = Shapes::StructureShape.new(name: 'DebugHookConfig')
|
|
@@ -2572,6 +2579,10 @@ module Aws::SageMaker
|
|
|
2572
2579
|
SingleSignOnApplicationArn = Shapes::StringShape.new(name: 'SingleSignOnApplicationArn')
|
|
2573
2580
|
SingleSignOnUserIdentifier = Shapes::StringShape.new(name: 'SingleSignOnUserIdentifier')
|
|
2574
2581
|
SkipModelValidation = Shapes::StringShape.new(name: 'SkipModelValidation')
|
|
2582
|
+
SlurmHealthComponent = Shapes::StringShape.new(name: 'SlurmHealthComponent')
|
|
2583
|
+
SlurmHealthMetadata = Shapes::StructureShape.new(name: 'SlurmHealthMetadata')
|
|
2584
|
+
SlurmHealthReason = Shapes::StringShape.new(name: 'SlurmHealthReason')
|
|
2585
|
+
SlurmHealthStatus = Shapes::StringShape.new(name: 'SlurmHealthStatus')
|
|
2575
2586
|
SnsTopicArn = Shapes::StringShape.new(name: 'SnsTopicArn')
|
|
2576
2587
|
SoftwareUpdateStatus = Shapes::StringShape.new(name: 'SoftwareUpdateStatus')
|
|
2577
2588
|
SortActionsBy = Shapes::StringShape.new(name: 'SortActionsBy')
|
|
@@ -4085,6 +4096,12 @@ module Aws::SageMaker
|
|
|
4085
4096
|
ClarifyTextConfig.add_member(:granularity, Shapes::ShapeRef.new(shape: ClarifyTextGranularity, required: true, location_name: "Granularity"))
|
|
4086
4097
|
ClarifyTextConfig.struct_class = Types::ClarifyTextConfig
|
|
4087
4098
|
|
|
4099
|
+
ClusterAccountingDatabase.add_member(:endpoint, Shapes::ShapeRef.new(shape: ClusterAccountingDatabaseEndpoint, required: true, location_name: "Endpoint"))
|
|
4100
|
+
ClusterAccountingDatabase.add_member(:port, Shapes::ShapeRef.new(shape: ClusterAccountingDatabasePort, location_name: "Port"))
|
|
4101
|
+
ClusterAccountingDatabase.add_member(:name, Shapes::ShapeRef.new(shape: ClusterAccountingDatabaseName, location_name: "Name"))
|
|
4102
|
+
ClusterAccountingDatabase.add_member(:secret_arn, Shapes::ShapeRef.new(shape: ClusterAccountingDatabaseSecretArn, required: true, location_name: "SecretArn"))
|
|
4103
|
+
ClusterAccountingDatabase.struct_class = Types::ClusterAccountingDatabase
|
|
4104
|
+
|
|
4088
4105
|
ClusterAutoPatchConfig.add_member(:patching_strategy, Shapes::ShapeRef.new(shape: ClusterPatchingStrategy, required: true, location_name: "PatchingStrategy"))
|
|
4089
4106
|
ClusterAutoPatchConfig.add_member(:patch_schedule, Shapes::ShapeRef.new(shape: ClusterPatchSchedule, location_name: "PatchSchedule"))
|
|
4090
4107
|
ClusterAutoPatchConfig.add_member(:deployment_config, Shapes::ShapeRef.new(shape: DeploymentConfiguration, location_name: "DeploymentConfig"))
|
|
@@ -4345,6 +4362,7 @@ module Aws::SageMaker
|
|
|
4345
4362
|
ClusterOrchestratorEksConfig.struct_class = Types::ClusterOrchestratorEksConfig
|
|
4346
4363
|
|
|
4347
4364
|
ClusterOrchestratorSlurmConfig.add_member(:slurm_config_strategy, Shapes::ShapeRef.new(shape: ClusterSlurmConfigStrategy, location_name: "SlurmConfigStrategy"))
|
|
4365
|
+
ClusterOrchestratorSlurmConfig.add_member(:accounting_database, Shapes::ShapeRef.new(shape: ClusterAccountingDatabase, location_name: "AccountingDatabase"))
|
|
4348
4366
|
ClusterOrchestratorSlurmConfig.struct_class = Types::ClusterOrchestratorSlurmConfig
|
|
4349
4367
|
|
|
4350
4368
|
ClusterPartitionNames.member = Shapes::ShapeRef.new(shape: ClusterPartitionName)
|
|
@@ -5636,6 +5654,11 @@ module Aws::SageMaker
|
|
|
5636
5654
|
DataSource.add_member(:dataset_source, Shapes::ShapeRef.new(shape: DatasetSource, location_name: "DatasetSource"))
|
|
5637
5655
|
DataSource.struct_class = Types::DataSource
|
|
5638
5656
|
|
|
5657
|
+
DatabaseConfigurationMetadata.add_member(:rollback_status, Shapes::ShapeRef.new(shape: DatabaseConfigurationRollbackStatus, location_name: "RollbackStatus"))
|
|
5658
|
+
DatabaseConfigurationMetadata.add_member(:advisory, Shapes::ShapeRef.new(shape: String, location_name: "Advisory"))
|
|
5659
|
+
DatabaseConfigurationMetadata.add_member(:failure_message, Shapes::ShapeRef.new(shape: String, location_name: "FailureMessage"))
|
|
5660
|
+
DatabaseConfigurationMetadata.struct_class = Types::DatabaseConfigurationMetadata
|
|
5661
|
+
|
|
5639
5662
|
DatasetDefinition.add_member(:athena_dataset_definition, Shapes::ShapeRef.new(shape: AthenaDatasetDefinition, location_name: "AthenaDatasetDefinition"))
|
|
5640
5663
|
DatasetDefinition.add_member(:redshift_dataset_definition, Shapes::ShapeRef.new(shape: RedshiftDatasetDefinition, location_name: "RedshiftDatasetDefinition"))
|
|
5641
5664
|
DatasetDefinition.add_member(:local_path, Shapes::ShapeRef.new(shape: ProcessingLocalPath, location_name: "LocalPath"))
|
|
@@ -7800,11 +7823,15 @@ module Aws::SageMaker
|
|
|
7800
7823
|
EventMetadata.add_member(:instance_group, Shapes::ShapeRef.new(shape: InstanceGroupMetadata, location_name: "InstanceGroup"))
|
|
7801
7824
|
EventMetadata.add_member(:instance_group_scaling, Shapes::ShapeRef.new(shape: InstanceGroupScalingMetadata, location_name: "InstanceGroupScaling"))
|
|
7802
7825
|
EventMetadata.add_member(:instance, Shapes::ShapeRef.new(shape: InstanceMetadata, location_name: "Instance"))
|
|
7826
|
+
EventMetadata.add_member(:database_configuration, Shapes::ShapeRef.new(shape: DatabaseConfigurationMetadata, location_name: "DatabaseConfiguration"))
|
|
7827
|
+
EventMetadata.add_member(:slurm_health, Shapes::ShapeRef.new(shape: SlurmHealthMetadata, location_name: "SlurmHealth"))
|
|
7803
7828
|
EventMetadata.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
7804
7829
|
EventMetadata.add_member_subclass(:cluster, Types::EventMetadata::Cluster)
|
|
7805
7830
|
EventMetadata.add_member_subclass(:instance_group, Types::EventMetadata::InstanceGroup)
|
|
7806
7831
|
EventMetadata.add_member_subclass(:instance_group_scaling, Types::EventMetadata::InstanceGroupScaling)
|
|
7807
7832
|
EventMetadata.add_member_subclass(:instance, Types::EventMetadata::Instance)
|
|
7833
|
+
EventMetadata.add_member_subclass(:database_configuration, Types::EventMetadata::DatabaseConfiguration)
|
|
7834
|
+
EventMetadata.add_member_subclass(:slurm_health, Types::EventMetadata::SlurmHealth)
|
|
7808
7835
|
EventMetadata.add_member_subclass(:unknown, Types::EventMetadata::Unknown)
|
|
7809
7836
|
EventMetadata.struct_class = Types::EventMetadata
|
|
7810
7837
|
|
|
@@ -12042,6 +12069,11 @@ module Aws::SageMaker
|
|
|
12042
12069
|
ShuffleConfig.add_member(:seed, Shapes::ShapeRef.new(shape: Seed, required: true, location_name: "Seed", metadata: {"box" => true}))
|
|
12043
12070
|
ShuffleConfig.struct_class = Types::ShuffleConfig
|
|
12044
12071
|
|
|
12072
|
+
SlurmHealthMetadata.add_member(:component, Shapes::ShapeRef.new(shape: SlurmHealthComponent, required: true, location_name: "Component"))
|
|
12073
|
+
SlurmHealthMetadata.add_member(:status, Shapes::ShapeRef.new(shape: SlurmHealthStatus, required: true, location_name: "Status"))
|
|
12074
|
+
SlurmHealthMetadata.add_member(:reason, Shapes::ShapeRef.new(shape: SlurmHealthReason, location_name: "Reason"))
|
|
12075
|
+
SlurmHealthMetadata.struct_class = Types::SlurmHealthMetadata
|
|
12076
|
+
|
|
12045
12077
|
SourceAlgorithm.add_member(:model_data_url, Shapes::ShapeRef.new(shape: Url, location_name: "ModelDataUrl"))
|
|
12046
12078
|
SourceAlgorithm.add_member(:model_data_source, Shapes::ShapeRef.new(shape: ModelDataSource, location_name: "ModelDataSource"))
|
|
12047
12079
|
SourceAlgorithm.add_member(:model_data_etag, Shapes::ShapeRef.new(shape: String, location_name: "ModelDataETag"))
|
|
@@ -6127,6 +6127,47 @@ module Aws::SageMaker
|
|
|
6127
6127
|
include Aws::Structure
|
|
6128
6128
|
end
|
|
6129
6129
|
|
|
6130
|
+
# The external MySQL-compatible database that the Slurm accounting
|
|
6131
|
+
# daemon (`slurmdbd`) connects to for a SageMaker HyperPod cluster. You
|
|
6132
|
+
# provide the database credentials in an Amazon Web Services Secrets
|
|
6133
|
+
# Manager secret instead of in the request.
|
|
6134
|
+
#
|
|
6135
|
+
# @!attribute [rw] endpoint
|
|
6136
|
+
# The hostname or endpoint of the accounting database, such as the
|
|
6137
|
+
# endpoint of an Amazon RDS for MySQL or Aurora MySQL database. The
|
|
6138
|
+
# database must be reachable from the subnets and security groups that
|
|
6139
|
+
# you configure for the cluster.
|
|
6140
|
+
# @return [String]
|
|
6141
|
+
#
|
|
6142
|
+
# @!attribute [rw] port
|
|
6143
|
+
# The port that the accounting database listens on. The default is
|
|
6144
|
+
# `3306`.
|
|
6145
|
+
# @return [Integer]
|
|
6146
|
+
#
|
|
6147
|
+
# @!attribute [rw] name
|
|
6148
|
+
# The name of the database schema that stores the Slurm accounting
|
|
6149
|
+
# data. The default is `slurm_acct_db_` followed by the cluster ID
|
|
6150
|
+
# from the cluster ARN, for example `slurm_acct_db_a1b2c3d4e5f6`.
|
|
6151
|
+
# @return [String]
|
|
6152
|
+
#
|
|
6153
|
+
# @!attribute [rw] secret_arn
|
|
6154
|
+
# The Amazon Resource Name (ARN) of the Amazon Web Services Secrets
|
|
6155
|
+
# Manager secret that contains the user name and password for the
|
|
6156
|
+
# accounting database. The database user must be able to create the
|
|
6157
|
+
# schema and to read from and write to it.
|
|
6158
|
+
# @return [String]
|
|
6159
|
+
#
|
|
6160
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ClusterAccountingDatabase AWS API Documentation
|
|
6161
|
+
#
|
|
6162
|
+
class ClusterAccountingDatabase < Struct.new(
|
|
6163
|
+
:endpoint,
|
|
6164
|
+
:port,
|
|
6165
|
+
:name,
|
|
6166
|
+
:secret_arn)
|
|
6167
|
+
SENSITIVE = []
|
|
6168
|
+
include Aws::Structure
|
|
6169
|
+
end
|
|
6170
|
+
|
|
6130
6171
|
# The configuration for automatic patching of the instance group. When
|
|
6131
6172
|
# configured, the system automatically applies security patch AMI
|
|
6132
6173
|
# updates to the instance group.
|
|
@@ -7626,10 +7667,23 @@ module Aws::SageMaker
|
|
|
7626
7667
|
# Valid values are `Managed`, `Overwrite`, and `Merge`.
|
|
7627
7668
|
# @return [String]
|
|
7628
7669
|
#
|
|
7670
|
+
# @!attribute [rw] accounting_database
|
|
7671
|
+
# The external database that stores the Slurm accounting data for the
|
|
7672
|
+
# cluster, such as job history, associations, and usage. When you omit
|
|
7673
|
+
# this field, Slurm accounting uses a database on the cluster's
|
|
7674
|
+
# controller node.
|
|
7675
|
+
#
|
|
7676
|
+
# <note markdown="1"> This field is only supported for clusters using `Continuous` as the
|
|
7677
|
+
# `NodeProvisioningMode`.
|
|
7678
|
+
#
|
|
7679
|
+
# </note>
|
|
7680
|
+
# @return [Types::ClusterAccountingDatabase]
|
|
7681
|
+
#
|
|
7629
7682
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ClusterOrchestratorSlurmConfig AWS API Documentation
|
|
7630
7683
|
#
|
|
7631
7684
|
class ClusterOrchestratorSlurmConfig < Struct.new(
|
|
7632
|
-
:slurm_config_strategy
|
|
7685
|
+
:slurm_config_strategy,
|
|
7686
|
+
:accounting_database)
|
|
7633
7687
|
SENSITIVE = []
|
|
7634
7688
|
include Aws::Structure
|
|
7635
7689
|
end
|
|
@@ -15660,6 +15714,48 @@ module Aws::SageMaker
|
|
|
15660
15714
|
include Aws::Structure
|
|
15661
15715
|
end
|
|
15662
15716
|
|
|
15717
|
+
# Metadata information about a change to the external Slurm accounting
|
|
15718
|
+
# database of a HyperPod cluster.
|
|
15719
|
+
#
|
|
15720
|
+
# @!attribute [rw] rollback_status
|
|
15721
|
+
# Whether HyperPod restored the previous accounting database
|
|
15722
|
+
# configuration after the change failed. Valid values:
|
|
15723
|
+
#
|
|
15724
|
+
# * `NotApplicable`: The change failed before HyperPod modified the
|
|
15725
|
+
# cluster, for example because the database could not be reached or
|
|
15726
|
+
# rejected the credentials, so there was nothing to restore.
|
|
15727
|
+
#
|
|
15728
|
+
# * `Reverted`: The change failed after it was applied, and HyperPod
|
|
15729
|
+
# restored the previous configuration. The cluster continues to use
|
|
15730
|
+
# the previous accounting database.
|
|
15731
|
+
#
|
|
15732
|
+
# * `RevertFailed`: The change failed and HyperPod could not restore
|
|
15733
|
+
# the previous configuration, so Slurm accounting on the cluster
|
|
15734
|
+
# might not be working.
|
|
15735
|
+
#
|
|
15736
|
+
# This field is omitted when the change succeeds.
|
|
15737
|
+
# @return [String]
|
|
15738
|
+
#
|
|
15739
|
+
# @!attribute [rw] advisory
|
|
15740
|
+
# Additional information about a change that succeeded, such as an
|
|
15741
|
+
# action to take on the cluster.
|
|
15742
|
+
# @return [String]
|
|
15743
|
+
#
|
|
15744
|
+
# @!attribute [rw] failure_message
|
|
15745
|
+
# An error message describing why the accounting database change
|
|
15746
|
+
# failed, and how to resolve it.
|
|
15747
|
+
# @return [String]
|
|
15748
|
+
#
|
|
15749
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DatabaseConfigurationMetadata AWS API Documentation
|
|
15750
|
+
#
|
|
15751
|
+
class DatabaseConfigurationMetadata < Struct.new(
|
|
15752
|
+
:rollback_status,
|
|
15753
|
+
:advisory,
|
|
15754
|
+
:failure_message)
|
|
15755
|
+
SENSITIVE = []
|
|
15756
|
+
include Aws::Structure
|
|
15757
|
+
end
|
|
15758
|
+
|
|
15663
15759
|
# Configuration for Dataset Definition inputs. The Dataset Definition
|
|
15664
15760
|
# input must specify exactly one of either `AthenaDatasetDefinition` or
|
|
15665
15761
|
# `RedshiftDatasetDefinition` types.
|
|
@@ -26973,6 +27069,16 @@ module Aws::SageMaker
|
|
|
26973
27069
|
# Metadata specific to instance-level events.
|
|
26974
27070
|
# @return [Types::InstanceMetadata]
|
|
26975
27071
|
#
|
|
27072
|
+
# @!attribute [rw] database_configuration
|
|
27073
|
+
# Metadata specific to events about the external Slurm accounting
|
|
27074
|
+
# database of the cluster.
|
|
27075
|
+
# @return [Types::DatabaseConfigurationMetadata]
|
|
27076
|
+
#
|
|
27077
|
+
# @!attribute [rw] slurm_health
|
|
27078
|
+
# Metadata specific to events about the health of the Slurm components
|
|
27079
|
+
# on the controller node of the cluster.
|
|
27080
|
+
# @return [Types::SlurmHealthMetadata]
|
|
27081
|
+
#
|
|
26976
27082
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/EventMetadata AWS API Documentation
|
|
26977
27083
|
#
|
|
26978
27084
|
class EventMetadata < Struct.new(
|
|
@@ -26980,6 +27086,8 @@ module Aws::SageMaker
|
|
|
26980
27086
|
:instance_group,
|
|
26981
27087
|
:instance_group_scaling,
|
|
26982
27088
|
:instance,
|
|
27089
|
+
:database_configuration,
|
|
27090
|
+
:slurm_health,
|
|
26983
27091
|
:unknown)
|
|
26984
27092
|
SENSITIVE = []
|
|
26985
27093
|
include Aws::Structure
|
|
@@ -26989,6 +27097,8 @@ module Aws::SageMaker
|
|
|
26989
27097
|
class InstanceGroup < EventMetadata; end
|
|
26990
27098
|
class InstanceGroupScaling < EventMetadata; end
|
|
26991
27099
|
class Instance < EventMetadata; end
|
|
27100
|
+
class DatabaseConfiguration < EventMetadata; end
|
|
27101
|
+
class SlurmHealth < EventMetadata; end
|
|
26992
27102
|
class Unknown < EventMetadata; end
|
|
26993
27103
|
end
|
|
26994
27104
|
|
|
@@ -51872,6 +51982,47 @@ module Aws::SageMaker
|
|
|
51872
51982
|
include Aws::Structure
|
|
51873
51983
|
end
|
|
51874
51984
|
|
|
51985
|
+
# Metadata information about the health of a Slurm component on the
|
|
51986
|
+
# controller node of a HyperPod cluster.
|
|
51987
|
+
#
|
|
51988
|
+
# @!attribute [rw] component
|
|
51989
|
+
# The Slurm component that the health information describes. The valid
|
|
51990
|
+
# value is `Slurmdbd`, the Slurm accounting daemon.
|
|
51991
|
+
# @return [String]
|
|
51992
|
+
#
|
|
51993
|
+
# @!attribute [rw] status
|
|
51994
|
+
# The health of the component. Valid values are `Healthy` and
|
|
51995
|
+
# `Unhealthy`.
|
|
51996
|
+
# @return [String]
|
|
51997
|
+
#
|
|
51998
|
+
# @!attribute [rw] reason
|
|
51999
|
+
# The reason the component is unhealthy. Valid values:
|
|
52000
|
+
#
|
|
52001
|
+
# * `DaemonDown`: The daemon is not running, so job accounting records
|
|
52002
|
+
# are not being written.
|
|
52003
|
+
#
|
|
52004
|
+
# * `DaemonDisabled`: The daemon is running and its accounting
|
|
52005
|
+
# database is responding, but the daemon is not enabled to start
|
|
52006
|
+
# automatically. Job accounting stops the next time the controller
|
|
52007
|
+
# node restarts.
|
|
52008
|
+
#
|
|
52009
|
+
# * `DbUnreachable`: The daemon is running, but its accounting
|
|
52010
|
+
# database did not respond. Job accounting records might not be
|
|
52011
|
+
# written.
|
|
52012
|
+
#
|
|
52013
|
+
# This field is omitted when the component is healthy.
|
|
52014
|
+
# @return [String]
|
|
52015
|
+
#
|
|
52016
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/SlurmHealthMetadata AWS API Documentation
|
|
52017
|
+
#
|
|
52018
|
+
class SlurmHealthMetadata < Struct.new(
|
|
52019
|
+
:component,
|
|
52020
|
+
:status,
|
|
52021
|
+
:reason)
|
|
52022
|
+
SENSITIVE = []
|
|
52023
|
+
include Aws::Structure
|
|
52024
|
+
end
|
|
52025
|
+
|
|
51875
52026
|
# Specifies an algorithm that was used to create the model package. The
|
|
51876
52027
|
# algorithm must be either an algorithm resource in your SageMaker
|
|
51877
52028
|
# account or an algorithm in Amazon Web Services Marketplace that you
|
data/lib/aws-sdk-sagemaker.rb
CHANGED
data/sig/params.rbs
CHANGED
|
@@ -377,13 +377,21 @@ module Aws
|
|
|
377
377
|
}
|
|
378
378
|
}
|
|
379
379
|
|
|
380
|
+
type cluster_orchestrator_slurm_config = {
|
|
381
|
+
slurm_config_strategy: ("Overwrite" | "Managed" | "Merge")?,
|
|
382
|
+
accounting_database: {
|
|
383
|
+
endpoint: ::String,
|
|
384
|
+
port: ::Integer?,
|
|
385
|
+
name: ::String?,
|
|
386
|
+
secret_arn: ::String
|
|
387
|
+
}?
|
|
388
|
+
}
|
|
389
|
+
|
|
380
390
|
type cluster_orchestrator = {
|
|
381
391
|
eks: {
|
|
382
392
|
cluster_arn: ::String
|
|
383
393
|
}?,
|
|
384
|
-
slurm:
|
|
385
|
-
slurm_config_strategy: ("Overwrite" | "Managed" | "Merge")?
|
|
386
|
-
}?
|
|
394
|
+
slurm: Params::cluster_orchestrator_slurm_config?
|
|
387
395
|
}
|
|
388
396
|
|
|
389
397
|
type scheduler_config = {
|
data/sig/types.rbs
CHANGED
|
@@ -1227,6 +1227,14 @@ module Aws::SageMaker
|
|
|
1227
1227
|
SENSITIVE: []
|
|
1228
1228
|
end
|
|
1229
1229
|
|
|
1230
|
+
class ClusterAccountingDatabase
|
|
1231
|
+
attr_accessor endpoint: ::String
|
|
1232
|
+
attr_accessor port: ::Integer
|
|
1233
|
+
attr_accessor name: ::String
|
|
1234
|
+
attr_accessor secret_arn: ::String
|
|
1235
|
+
SENSITIVE: []
|
|
1236
|
+
end
|
|
1237
|
+
|
|
1230
1238
|
class ClusterAutoPatchConfig
|
|
1231
1239
|
attr_accessor patching_strategy: ("WhenIdle" | "WhenAllIdle")
|
|
1232
1240
|
attr_accessor patch_schedule: Types::ClusterPatchSchedule
|
|
@@ -1527,6 +1535,7 @@ module Aws::SageMaker
|
|
|
1527
1535
|
|
|
1528
1536
|
class ClusterOrchestratorSlurmConfig
|
|
1529
1537
|
attr_accessor slurm_config_strategy: ("Overwrite" | "Managed" | "Merge")
|
|
1538
|
+
attr_accessor accounting_database: Types::ClusterAccountingDatabase
|
|
1530
1539
|
SENSITIVE: []
|
|
1531
1540
|
end
|
|
1532
1541
|
|
|
@@ -3152,6 +3161,13 @@ module Aws::SageMaker
|
|
|
3152
3161
|
SENSITIVE: []
|
|
3153
3162
|
end
|
|
3154
3163
|
|
|
3164
|
+
class DatabaseConfigurationMetadata
|
|
3165
|
+
attr_accessor rollback_status: ("NotApplicable" | "Reverted" | "RevertFailed")
|
|
3166
|
+
attr_accessor advisory: ::String
|
|
3167
|
+
attr_accessor failure_message: ::String
|
|
3168
|
+
SENSITIVE: []
|
|
3169
|
+
end
|
|
3170
|
+
|
|
3155
3171
|
class DatasetDefinition
|
|
3156
3172
|
attr_accessor athena_dataset_definition: Types::AthenaDatasetDefinition
|
|
3157
3173
|
attr_accessor redshift_dataset_definition: Types::RedshiftDatasetDefinition
|
|
@@ -5871,6 +5887,8 @@ module Aws::SageMaker
|
|
|
5871
5887
|
attr_accessor instance_group: Types::InstanceGroupMetadata
|
|
5872
5888
|
attr_accessor instance_group_scaling: Types::InstanceGroupScalingMetadata
|
|
5873
5889
|
attr_accessor instance: Types::InstanceMetadata
|
|
5890
|
+
attr_accessor database_configuration: Types::DatabaseConfigurationMetadata
|
|
5891
|
+
attr_accessor slurm_health: Types::SlurmHealthMetadata
|
|
5874
5892
|
attr_accessor unknown: untyped
|
|
5875
5893
|
SENSITIVE: []
|
|
5876
5894
|
|
|
@@ -5882,6 +5900,10 @@ module Aws::SageMaker
|
|
|
5882
5900
|
end
|
|
5883
5901
|
class Instance < EventMetadata
|
|
5884
5902
|
end
|
|
5903
|
+
class DatabaseConfiguration < EventMetadata
|
|
5904
|
+
end
|
|
5905
|
+
class SlurmHealth < EventMetadata
|
|
5906
|
+
end
|
|
5885
5907
|
class Unknown < EventMetadata
|
|
5886
5908
|
end
|
|
5887
5909
|
end
|
|
@@ -10979,6 +11001,13 @@ module Aws::SageMaker
|
|
|
10979
11001
|
SENSITIVE: []
|
|
10980
11002
|
end
|
|
10981
11003
|
|
|
11004
|
+
class SlurmHealthMetadata
|
|
11005
|
+
attr_accessor component: ("Slurmdbd")
|
|
11006
|
+
attr_accessor status: ("Healthy" | "Unhealthy")
|
|
11007
|
+
attr_accessor reason: ("DaemonDown" | "DaemonDisabled" | "DbUnreachable")
|
|
11008
|
+
SENSITIVE: []
|
|
11009
|
+
end
|
|
11010
|
+
|
|
10982
11011
|
class SourceAlgorithm
|
|
10983
11012
|
attr_accessor model_data_url: ::String
|
|
10984
11013
|
attr_accessor model_data_source: Types::ModelDataSource
|