aws-sdk-pcs 1.68.0 → 1.69.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-pcs/client.rb +67 -1
- data/lib/aws-sdk-pcs/client_api.rb +37 -0
- data/lib/aws-sdk-pcs/types.rb +246 -1
- data/lib/aws-sdk-pcs.rb +1 -1
- data/sig/client.rbs +25 -0
- data/sig/types.rbs +39 -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: 05c343f6c8b1b99ae6140ca736cc5a1d492ac23beaf49bc4a5fa1929c1679a19
|
|
4
|
+
data.tar.gz: b7653dc51c7fc4cf70568596cbe0813b34c9455164ac36c46ee717c03a9f0e45
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cad8bb3939f93006fa37fec035c413b7f390721900e09a7ea4e40571ade21eea5224cb6b64e8c44ea11e1da61d92d2970691ace0412cccd3ad2ba88411adbd07
|
|
7
|
+
data.tar.gz: 4b24a46df91e3792bdc89dd8aa2fd23536393cb873b8310e611798f41ced1316447c9d576da0e6b3a19af8d9a5c25aaeffdf4d696c01fbea36626e359938ec4c
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.69.0
|
data/lib/aws-sdk-pcs/client.rb
CHANGED
|
@@ -799,6 +799,14 @@ module Aws::PCS
|
|
|
799
799
|
# of a compute node's lifecycle, such as when a compute node finishes
|
|
800
800
|
# bootstrapping or becomes ready to accept jobs.
|
|
801
801
|
#
|
|
802
|
+
# @option params [Types::InstanceHealthChecksRequest] :instance_health_checks
|
|
803
|
+
# The instance health check settings for the compute node group.
|
|
804
|
+
# Instance health checks detect faults on instances in the compute node
|
|
805
|
+
# group and respond with the repair action that you choose. You can
|
|
806
|
+
# configure health monitoring, deep health checks, or both. You can't
|
|
807
|
+
# specify an empty object (`{}`). Instance health checks require Slurm
|
|
808
|
+
# version 26.05 or later.
|
|
809
|
+
#
|
|
802
810
|
# @option params [String] :client_token
|
|
803
811
|
# A unique, case-sensitive identifier that you provide to ensure the
|
|
804
812
|
# idempotency of the request. Idempotency ensures that an API request
|
|
@@ -892,6 +900,18 @@ module Aws::PCS
|
|
|
892
900
|
# },
|
|
893
901
|
# script_caching_policy: "CACHE_ONCE", # accepts CACHE_ONCE, REFRESH_ON_REBOOT
|
|
894
902
|
# },
|
|
903
|
+
# instance_health_checks: {
|
|
904
|
+
# health_monitoring: {
|
|
905
|
+
# mode: "NONE", # accepts NONE, STANDARD
|
|
906
|
+
# repair_action: "AUTO", # accepts AUTO, REPLACE, ISOLATE, NONE
|
|
907
|
+
# },
|
|
908
|
+
# deep_health_checks: {
|
|
909
|
+
# on_start: {
|
|
910
|
+
# profile: "NONE", # accepts NONE, QUICK, MEDIUM, LONG
|
|
911
|
+
# repair_action: "AUTO", # accepts AUTO, REPLACE, ISOLATE, NONE
|
|
912
|
+
# },
|
|
913
|
+
# },
|
|
914
|
+
# },
|
|
895
915
|
# client_token: "SBClientToken",
|
|
896
916
|
# tags: {
|
|
897
917
|
# "TagKey" => "TagValue",
|
|
@@ -949,6 +969,10 @@ module Aws::PCS
|
|
|
949
969
|
# resp.compute_node_group.node_lifecycle_actions.stages.node_ready[0].on_error #=> String, one of "TERMINATE", "STOP_SEQUENCE", "CONTINUE"
|
|
950
970
|
# resp.compute_node_group.node_lifecycle_actions.stages.node_ready[0].execution_policy #=> String, one of "FIRST_BOOT_ONLY", "EVERY_BOOT"
|
|
951
971
|
# resp.compute_node_group.node_lifecycle_actions.script_caching_policy #=> String, one of "CACHE_ONCE", "REFRESH_ON_REBOOT"
|
|
972
|
+
# resp.compute_node_group.instance_health_checks.health_monitoring.mode #=> String, one of "NONE", "STANDARD"
|
|
973
|
+
# resp.compute_node_group.instance_health_checks.health_monitoring.repair_action #=> String, one of "AUTO", "REPLACE", "ISOLATE", "NONE"
|
|
974
|
+
# resp.compute_node_group.instance_health_checks.deep_health_checks.on_start.profile #=> String, one of "NONE", "QUICK", "MEDIUM", "LONG"
|
|
975
|
+
# resp.compute_node_group.instance_health_checks.deep_health_checks.on_start.repair_action #=> String, one of "AUTO", "REPLACE", "ISOLATE", "NONE"
|
|
952
976
|
# resp.compute_node_group.error_info #=> Array
|
|
953
977
|
# resp.compute_node_group.error_info[0].code #=> String
|
|
954
978
|
# resp.compute_node_group.error_info[0].message #=> String
|
|
@@ -1315,6 +1339,10 @@ module Aws::PCS
|
|
|
1315
1339
|
# resp.compute_node_group.node_lifecycle_actions.stages.node_ready[0].on_error #=> String, one of "TERMINATE", "STOP_SEQUENCE", "CONTINUE"
|
|
1316
1340
|
# resp.compute_node_group.node_lifecycle_actions.stages.node_ready[0].execution_policy #=> String, one of "FIRST_BOOT_ONLY", "EVERY_BOOT"
|
|
1317
1341
|
# resp.compute_node_group.node_lifecycle_actions.script_caching_policy #=> String, one of "CACHE_ONCE", "REFRESH_ON_REBOOT"
|
|
1342
|
+
# resp.compute_node_group.instance_health_checks.health_monitoring.mode #=> String, one of "NONE", "STANDARD"
|
|
1343
|
+
# resp.compute_node_group.instance_health_checks.health_monitoring.repair_action #=> String, one of "AUTO", "REPLACE", "ISOLATE", "NONE"
|
|
1344
|
+
# resp.compute_node_group.instance_health_checks.deep_health_checks.on_start.profile #=> String, one of "NONE", "QUICK", "MEDIUM", "LONG"
|
|
1345
|
+
# resp.compute_node_group.instance_health_checks.deep_health_checks.on_start.repair_action #=> String, one of "AUTO", "REPLACE", "ISOLATE", "NONE"
|
|
1318
1346
|
# resp.compute_node_group.error_info #=> Array
|
|
1319
1347
|
# resp.compute_node_group.error_info[0].code #=> String
|
|
1320
1348
|
# resp.compute_node_group.error_info[0].message #=> String
|
|
@@ -1586,6 +1614,7 @@ module Aws::PCS
|
|
|
1586
1614
|
# * {Types::RegisterComputeNodeGroupInstanceResponse#compute_node_group_name #compute_node_group_name} => String
|
|
1587
1615
|
# * {Types::RegisterComputeNodeGroupInstanceResponse#node_lifecycle_actions #node_lifecycle_actions} => Types::NodeLifecycleActions
|
|
1588
1616
|
# * {Types::RegisterComputeNodeGroupInstanceResponse#scheduler_version #scheduler_version} => String
|
|
1617
|
+
# * {Types::RegisterComputeNodeGroupInstanceResponse#instance_health_checks #instance_health_checks} => Types::InstanceHealthChecks
|
|
1589
1618
|
#
|
|
1590
1619
|
# @example Request syntax with placeholder values
|
|
1591
1620
|
#
|
|
@@ -1627,6 +1656,10 @@ module Aws::PCS
|
|
|
1627
1656
|
# resp.node_lifecycle_actions.stages.node_ready[0].execution_policy #=> String, one of "FIRST_BOOT_ONLY", "EVERY_BOOT"
|
|
1628
1657
|
# resp.node_lifecycle_actions.script_caching_policy #=> String, one of "CACHE_ONCE", "REFRESH_ON_REBOOT"
|
|
1629
1658
|
# resp.scheduler_version #=> String
|
|
1659
|
+
# resp.instance_health_checks.health_monitoring.mode #=> String, one of "NONE", "STANDARD"
|
|
1660
|
+
# resp.instance_health_checks.health_monitoring.repair_action #=> String, one of "AUTO", "REPLACE", "ISOLATE", "NONE"
|
|
1661
|
+
# resp.instance_health_checks.deep_health_checks.on_start.profile #=> String, one of "NONE", "QUICK", "MEDIUM", "LONG"
|
|
1662
|
+
# resp.instance_health_checks.deep_health_checks.on_start.repair_action #=> String, one of "AUTO", "REPLACE", "ISOLATE", "NONE"
|
|
1630
1663
|
#
|
|
1631
1664
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pcs-2023-02-10/RegisterComputeNodeGroupInstance AWS API Documentation
|
|
1632
1665
|
#
|
|
@@ -1981,6 +2014,23 @@ module Aws::PCS
|
|
|
1981
2014
|
# of a compute node's lifecycle, such as when a compute node finishes
|
|
1982
2015
|
# bootstrapping or becomes ready to accept jobs.
|
|
1983
2016
|
#
|
|
2017
|
+
# @option params [Types::UpdateInstanceHealthChecksRequest] :instance_health_checks
|
|
2018
|
+
# The instance health check settings for the compute node group.
|
|
2019
|
+
# Instance health checks detect faults on instances in the compute node
|
|
2020
|
+
# group and respond with the repair action that you choose. You can
|
|
2021
|
+
# configure health monitoring, deep health checks, or both. You can't
|
|
2022
|
+
# specify an empty object (`{}`). Instance health checks require Slurm
|
|
2023
|
+
# version 26.05 or later.
|
|
2024
|
+
#
|
|
2025
|
+
# The settings that you specify replace all of the current instance
|
|
2026
|
+
# health check settings of the compute node group. Include every setting
|
|
2027
|
+
# that you want to keep. If you omit this member, the current settings
|
|
2028
|
+
# don't change. If you omit `healthMonitoring` or `deepHealthChecks`,
|
|
2029
|
+
# that check is turned off. You can also turn off a check: set
|
|
2030
|
+
# `healthMonitoring.mode` or `deepHealthChecks.onStart.profile` to
|
|
2031
|
+
# `NONE` and omit its `repairAction`. When you change these settings,
|
|
2032
|
+
# PCS drains and replaces the instances in the compute node group.
|
|
2033
|
+
#
|
|
1984
2034
|
# @option params [String] :client_token
|
|
1985
2035
|
# A unique, case-sensitive identifier that you provide to ensure the
|
|
1986
2036
|
# idempotency of the request. Idempotency ensures that an API request
|
|
@@ -2065,6 +2115,18 @@ module Aws::PCS
|
|
|
2065
2115
|
# },
|
|
2066
2116
|
# script_caching_policy: "CACHE_ONCE", # accepts CACHE_ONCE, REFRESH_ON_REBOOT
|
|
2067
2117
|
# },
|
|
2118
|
+
# instance_health_checks: {
|
|
2119
|
+
# health_monitoring: {
|
|
2120
|
+
# mode: "NONE", # accepts NONE, STANDARD
|
|
2121
|
+
# repair_action: "AUTO", # accepts AUTO, REPLACE, ISOLATE, NONE
|
|
2122
|
+
# },
|
|
2123
|
+
# deep_health_checks: {
|
|
2124
|
+
# on_start: {
|
|
2125
|
+
# profile: "NONE", # accepts NONE, QUICK, MEDIUM, LONG
|
|
2126
|
+
# repair_action: "AUTO", # accepts AUTO, REPLACE, ISOLATE, NONE
|
|
2127
|
+
# },
|
|
2128
|
+
# },
|
|
2129
|
+
# },
|
|
2068
2130
|
# client_token: "SBClientToken",
|
|
2069
2131
|
# })
|
|
2070
2132
|
#
|
|
@@ -2119,6 +2181,10 @@ module Aws::PCS
|
|
|
2119
2181
|
# resp.compute_node_group.node_lifecycle_actions.stages.node_ready[0].on_error #=> String, one of "TERMINATE", "STOP_SEQUENCE", "CONTINUE"
|
|
2120
2182
|
# resp.compute_node_group.node_lifecycle_actions.stages.node_ready[0].execution_policy #=> String, one of "FIRST_BOOT_ONLY", "EVERY_BOOT"
|
|
2121
2183
|
# resp.compute_node_group.node_lifecycle_actions.script_caching_policy #=> String, one of "CACHE_ONCE", "REFRESH_ON_REBOOT"
|
|
2184
|
+
# resp.compute_node_group.instance_health_checks.health_monitoring.mode #=> String, one of "NONE", "STANDARD"
|
|
2185
|
+
# resp.compute_node_group.instance_health_checks.health_monitoring.repair_action #=> String, one of "AUTO", "REPLACE", "ISOLATE", "NONE"
|
|
2186
|
+
# resp.compute_node_group.instance_health_checks.deep_health_checks.on_start.profile #=> String, one of "NONE", "QUICK", "MEDIUM", "LONG"
|
|
2187
|
+
# resp.compute_node_group.instance_health_checks.deep_health_checks.on_start.repair_action #=> String, one of "AUTO", "REPLACE", "ISOLATE", "NONE"
|
|
2122
2188
|
# resp.compute_node_group.error_info #=> Array
|
|
2123
2189
|
# resp.compute_node_group.error_info[0].code #=> String
|
|
2124
2190
|
# resp.compute_node_group.error_info[0].message #=> String
|
|
@@ -2230,7 +2296,7 @@ module Aws::PCS
|
|
|
2230
2296
|
tracer: tracer
|
|
2231
2297
|
)
|
|
2232
2298
|
context[:gem_name] = 'aws-sdk-pcs'
|
|
2233
|
-
context[:gem_version] = '1.
|
|
2299
|
+
context[:gem_version] = '1.69.0'
|
|
2234
2300
|
Seahorse::Client::Request.new(handlers, context)
|
|
2235
2301
|
end
|
|
2236
2302
|
|
|
@@ -56,6 +56,10 @@ module Aws::PCS
|
|
|
56
56
|
CreateQueueRequest = Shapes::StructureShape.new(name: 'CreateQueueRequest')
|
|
57
57
|
CreateQueueResponse = Shapes::StructureShape.new(name: 'CreateQueueResponse')
|
|
58
58
|
CustomLaunchTemplate = Shapes::StructureShape.new(name: 'CustomLaunchTemplate')
|
|
59
|
+
DeepHealthCheckOnStart = Shapes::StructureShape.new(name: 'DeepHealthCheckOnStart')
|
|
60
|
+
DeepHealthCheckOnStartProfile = Shapes::StringShape.new(name: 'DeepHealthCheckOnStartProfile')
|
|
61
|
+
DeepHealthCheckOnStartRepairAction = Shapes::StringShape.new(name: 'DeepHealthCheckOnStartRepairAction')
|
|
62
|
+
DeepHealthChecks = Shapes::StructureShape.new(name: 'DeepHealthChecks')
|
|
59
63
|
DeleteClusterRequest = Shapes::StructureShape.new(name: 'DeleteClusterRequest')
|
|
60
64
|
DeleteClusterResponse = Shapes::StructureShape.new(name: 'DeleteClusterResponse')
|
|
61
65
|
DeleteComputeNodeGroupRequest = Shapes::StructureShape.new(name: 'DeleteComputeNodeGroupRequest')
|
|
@@ -76,7 +80,12 @@ module Aws::PCS
|
|
|
76
80
|
GetQueueResponse = Shapes::StructureShape.new(name: 'GetQueueResponse')
|
|
77
81
|
GresCustomSettingMap = Shapes::MapShape.new(name: 'GresCustomSettingMap')
|
|
78
82
|
GresCustomSettings = Shapes::ListShape.new(name: 'GresCustomSettings')
|
|
83
|
+
HealthMonitoring = Shapes::StructureShape.new(name: 'HealthMonitoring')
|
|
84
|
+
HealthMonitoringMode = Shapes::StringShape.new(name: 'HealthMonitoringMode')
|
|
85
|
+
HealthMonitoringRepairAction = Shapes::StringShape.new(name: 'HealthMonitoringRepairAction')
|
|
79
86
|
InstanceConfig = Shapes::StructureShape.new(name: 'InstanceConfig')
|
|
87
|
+
InstanceHealthChecks = Shapes::StructureShape.new(name: 'InstanceHealthChecks')
|
|
88
|
+
InstanceHealthChecksRequest = Shapes::StructureShape.new(name: 'InstanceHealthChecksRequest')
|
|
80
89
|
InstanceList = Shapes::ListShape.new(name: 'InstanceList')
|
|
81
90
|
InstanceProfileArn = Shapes::StringShape.new(name: 'InstanceProfileArn')
|
|
82
91
|
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
|
@@ -183,6 +192,7 @@ module Aws::PCS
|
|
|
183
192
|
UpdateComputeNodeGroupResponse = Shapes::StructureShape.new(name: 'UpdateComputeNodeGroupResponse')
|
|
184
193
|
UpdateComputeNodeGroupSlurmConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateComputeNodeGroupSlurmConfigurationRequest')
|
|
185
194
|
UpdateComputeNodeGroupSlurmConfigurationRequestScaleDownIdleTimeInSecondsInteger = Shapes::IntegerShape.new(name: 'UpdateComputeNodeGroupSlurmConfigurationRequestScaleDownIdleTimeInSecondsInteger')
|
|
195
|
+
UpdateInstanceHealthChecksRequest = Shapes::StructureShape.new(name: 'UpdateInstanceHealthChecksRequest')
|
|
186
196
|
UpdateNodeLifecycleActionsRequest = Shapes::StructureShape.new(name: 'UpdateNodeLifecycleActionsRequest')
|
|
187
197
|
UpdateQueueRequest = Shapes::StructureShape.new(name: 'UpdateQueueRequest')
|
|
188
198
|
UpdateQueueResponse = Shapes::StructureShape.new(name: 'UpdateQueueResponse')
|
|
@@ -275,6 +285,7 @@ module Aws::PCS
|
|
|
275
285
|
ComputeNodeGroup.add_member(:spot_options, Shapes::ShapeRef.new(shape: SpotOptions, location_name: "spotOptions"))
|
|
276
286
|
ComputeNodeGroup.add_member(:slurm_configuration, Shapes::ShapeRef.new(shape: ComputeNodeGroupSlurmConfiguration, location_name: "slurmConfiguration"))
|
|
277
287
|
ComputeNodeGroup.add_member(:node_lifecycle_actions, Shapes::ShapeRef.new(shape: NodeLifecycleActions, location_name: "nodeLifecycleActions"))
|
|
288
|
+
ComputeNodeGroup.add_member(:instance_health_checks, Shapes::ShapeRef.new(shape: InstanceHealthChecks, location_name: "instanceHealthChecks"))
|
|
278
289
|
ComputeNodeGroup.add_member(:error_info, Shapes::ShapeRef.new(shape: ErrorInfoList, location_name: "errorInfo"))
|
|
279
290
|
ComputeNodeGroup.struct_class = Types::ComputeNodeGroup
|
|
280
291
|
|
|
@@ -336,6 +347,7 @@ module Aws::PCS
|
|
|
336
347
|
CreateComputeNodeGroupRequest.add_member(:spot_options, Shapes::ShapeRef.new(shape: SpotOptions, location_name: "spotOptions"))
|
|
337
348
|
CreateComputeNodeGroupRequest.add_member(:slurm_configuration, Shapes::ShapeRef.new(shape: ComputeNodeGroupSlurmConfigurationRequest, location_name: "slurmConfiguration"))
|
|
338
349
|
CreateComputeNodeGroupRequest.add_member(:node_lifecycle_actions, Shapes::ShapeRef.new(shape: NodeLifecycleActionsRequest, location_name: "nodeLifecycleActions"))
|
|
350
|
+
CreateComputeNodeGroupRequest.add_member(:instance_health_checks, Shapes::ShapeRef.new(shape: InstanceHealthChecksRequest, location_name: "instanceHealthChecks"))
|
|
339
351
|
CreateComputeNodeGroupRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: SBClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
|
340
352
|
CreateComputeNodeGroupRequest.add_member(:tags, Shapes::ShapeRef.new(shape: RequestTagMap, location_name: "tags"))
|
|
341
353
|
CreateComputeNodeGroupRequest.struct_class = Types::CreateComputeNodeGroupRequest
|
|
@@ -358,6 +370,13 @@ module Aws::PCS
|
|
|
358
370
|
CustomLaunchTemplate.add_member(:version, Shapes::ShapeRef.new(shape: String, required: true, location_name: "version"))
|
|
359
371
|
CustomLaunchTemplate.struct_class = Types::CustomLaunchTemplate
|
|
360
372
|
|
|
373
|
+
DeepHealthCheckOnStart.add_member(:profile, Shapes::ShapeRef.new(shape: DeepHealthCheckOnStartProfile, location_name: "profile"))
|
|
374
|
+
DeepHealthCheckOnStart.add_member(:repair_action, Shapes::ShapeRef.new(shape: DeepHealthCheckOnStartRepairAction, location_name: "repairAction"))
|
|
375
|
+
DeepHealthCheckOnStart.struct_class = Types::DeepHealthCheckOnStart
|
|
376
|
+
|
|
377
|
+
DeepHealthChecks.add_member(:on_start, Shapes::ShapeRef.new(shape: DeepHealthCheckOnStart, location_name: "onStart"))
|
|
378
|
+
DeepHealthChecks.struct_class = Types::DeepHealthChecks
|
|
379
|
+
|
|
361
380
|
DeleteClusterRequest.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: ClusterIdentifier, required: true, location_name: "clusterIdentifier"))
|
|
362
381
|
DeleteClusterRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: SBClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
|
363
382
|
DeleteClusterRequest.struct_class = Types::DeleteClusterRequest
|
|
@@ -418,9 +437,21 @@ module Aws::PCS
|
|
|
418
437
|
|
|
419
438
|
GresCustomSettings.member = Shapes::ShapeRef.new(shape: GresCustomSettingMap)
|
|
420
439
|
|
|
440
|
+
HealthMonitoring.add_member(:mode, Shapes::ShapeRef.new(shape: HealthMonitoringMode, location_name: "mode"))
|
|
441
|
+
HealthMonitoring.add_member(:repair_action, Shapes::ShapeRef.new(shape: HealthMonitoringRepairAction, location_name: "repairAction"))
|
|
442
|
+
HealthMonitoring.struct_class = Types::HealthMonitoring
|
|
443
|
+
|
|
421
444
|
InstanceConfig.add_member(:instance_type, Shapes::ShapeRef.new(shape: String, location_name: "instanceType"))
|
|
422
445
|
InstanceConfig.struct_class = Types::InstanceConfig
|
|
423
446
|
|
|
447
|
+
InstanceHealthChecks.add_member(:health_monitoring, Shapes::ShapeRef.new(shape: HealthMonitoring, location_name: "healthMonitoring"))
|
|
448
|
+
InstanceHealthChecks.add_member(:deep_health_checks, Shapes::ShapeRef.new(shape: DeepHealthChecks, location_name: "deepHealthChecks"))
|
|
449
|
+
InstanceHealthChecks.struct_class = Types::InstanceHealthChecks
|
|
450
|
+
|
|
451
|
+
InstanceHealthChecksRequest.add_member(:health_monitoring, Shapes::ShapeRef.new(shape: HealthMonitoring, location_name: "healthMonitoring"))
|
|
452
|
+
InstanceHealthChecksRequest.add_member(:deep_health_checks, Shapes::ShapeRef.new(shape: DeepHealthChecks, location_name: "deepHealthChecks"))
|
|
453
|
+
InstanceHealthChecksRequest.struct_class = Types::InstanceHealthChecksRequest
|
|
454
|
+
|
|
424
455
|
InstanceList.member = Shapes::ShapeRef.new(shape: InstanceConfig)
|
|
425
456
|
|
|
426
457
|
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
|
@@ -551,6 +582,7 @@ module Aws::PCS
|
|
|
551
582
|
RegisterComputeNodeGroupInstanceResponse.add_member(:compute_node_group_name, Shapes::ShapeRef.new(shape: String, location_name: "computeNodeGroupName"))
|
|
552
583
|
RegisterComputeNodeGroupInstanceResponse.add_member(:node_lifecycle_actions, Shapes::ShapeRef.new(shape: NodeLifecycleActions, location_name: "nodeLifecycleActions"))
|
|
553
584
|
RegisterComputeNodeGroupInstanceResponse.add_member(:scheduler_version, Shapes::ShapeRef.new(shape: String, location_name: "schedulerVersion"))
|
|
585
|
+
RegisterComputeNodeGroupInstanceResponse.add_member(:instance_health_checks, Shapes::ShapeRef.new(shape: InstanceHealthChecks, location_name: "instanceHealthChecks"))
|
|
554
586
|
RegisterComputeNodeGroupInstanceResponse.struct_class = Types::RegisterComputeNodeGroupInstanceResponse
|
|
555
587
|
|
|
556
588
|
RequestTagMap.key = Shapes::ShapeRef.new(shape: TagKey)
|
|
@@ -679,6 +711,7 @@ module Aws::PCS
|
|
|
679
711
|
UpdateComputeNodeGroupRequest.add_member(:iam_instance_profile_arn, Shapes::ShapeRef.new(shape: InstanceProfileArn, location_name: "iamInstanceProfileArn"))
|
|
680
712
|
UpdateComputeNodeGroupRequest.add_member(:slurm_configuration, Shapes::ShapeRef.new(shape: UpdateComputeNodeGroupSlurmConfigurationRequest, location_name: "slurmConfiguration"))
|
|
681
713
|
UpdateComputeNodeGroupRequest.add_member(:node_lifecycle_actions, Shapes::ShapeRef.new(shape: UpdateNodeLifecycleActionsRequest, location_name: "nodeLifecycleActions"))
|
|
714
|
+
UpdateComputeNodeGroupRequest.add_member(:instance_health_checks, Shapes::ShapeRef.new(shape: UpdateInstanceHealthChecksRequest, location_name: "instanceHealthChecks"))
|
|
682
715
|
UpdateComputeNodeGroupRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: SBClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
|
683
716
|
UpdateComputeNodeGroupRequest.struct_class = Types::UpdateComputeNodeGroupRequest
|
|
684
717
|
|
|
@@ -690,6 +723,10 @@ module Aws::PCS
|
|
|
690
723
|
UpdateComputeNodeGroupSlurmConfigurationRequest.add_member(:gres_custom_settings, Shapes::ShapeRef.new(shape: GresCustomSettings, location_name: "gresCustomSettings"))
|
|
691
724
|
UpdateComputeNodeGroupSlurmConfigurationRequest.struct_class = Types::UpdateComputeNodeGroupSlurmConfigurationRequest
|
|
692
725
|
|
|
726
|
+
UpdateInstanceHealthChecksRequest.add_member(:health_monitoring, Shapes::ShapeRef.new(shape: HealthMonitoring, location_name: "healthMonitoring"))
|
|
727
|
+
UpdateInstanceHealthChecksRequest.add_member(:deep_health_checks, Shapes::ShapeRef.new(shape: DeepHealthChecks, location_name: "deepHealthChecks"))
|
|
728
|
+
UpdateInstanceHealthChecksRequest.struct_class = Types::UpdateInstanceHealthChecksRequest
|
|
729
|
+
|
|
693
730
|
UpdateNodeLifecycleActionsRequest.add_member(:stages, Shapes::ShapeRef.new(shape: NodeLifecycleStages, required: true, location_name: "stages"))
|
|
694
731
|
UpdateNodeLifecycleActionsRequest.add_member(:script_caching_policy, Shapes::ShapeRef.new(shape: ScriptCachingPolicy, location_name: "scriptCachingPolicy"))
|
|
695
732
|
UpdateNodeLifecycleActionsRequest.struct_class = Types::UpdateNodeLifecycleActionsRequest
|
data/lib/aws-sdk-pcs/types.rb
CHANGED
|
@@ -566,6 +566,12 @@ module Aws::PCS
|
|
|
566
566
|
# bootstrapping or becomes ready to accept jobs.
|
|
567
567
|
# @return [Types::NodeLifecycleActions]
|
|
568
568
|
#
|
|
569
|
+
# @!attribute [rw] instance_health_checks
|
|
570
|
+
# The instance health check settings of the compute node group.
|
|
571
|
+
# Instance health checks detect faults on instances in the compute
|
|
572
|
+
# node group and respond with the repair action that you choose.
|
|
573
|
+
# @return [Types::InstanceHealthChecks]
|
|
574
|
+
#
|
|
569
575
|
# @!attribute [rw] error_info
|
|
570
576
|
# The list of errors that occurred during compute node group
|
|
571
577
|
# provisioning.
|
|
@@ -594,6 +600,7 @@ module Aws::PCS
|
|
|
594
600
|
:spot_options,
|
|
595
601
|
:slurm_configuration,
|
|
596
602
|
:node_lifecycle_actions,
|
|
603
|
+
:instance_health_checks,
|
|
597
604
|
:error_info)
|
|
598
605
|
SENSITIVE = []
|
|
599
606
|
include Aws::Structure
|
|
@@ -985,6 +992,15 @@ module Aws::PCS
|
|
|
985
992
|
# bootstrapping or becomes ready to accept jobs.
|
|
986
993
|
# @return [Types::NodeLifecycleActionsRequest]
|
|
987
994
|
#
|
|
995
|
+
# @!attribute [rw] instance_health_checks
|
|
996
|
+
# The instance health check settings for the compute node group.
|
|
997
|
+
# Instance health checks detect faults on instances in the compute
|
|
998
|
+
# node group and respond with the repair action that you choose. You
|
|
999
|
+
# can configure health monitoring, deep health checks, or both. You
|
|
1000
|
+
# can't specify an empty object (`{}`). Instance health checks
|
|
1001
|
+
# require Slurm version 26.05 or later.
|
|
1002
|
+
# @return [Types::InstanceHealthChecksRequest]
|
|
1003
|
+
#
|
|
988
1004
|
# @!attribute [rw] client_token
|
|
989
1005
|
# A unique, case-sensitive identifier that you provide to ensure the
|
|
990
1006
|
# idempotency of the request. Idempotency ensures that an API request
|
|
@@ -1021,6 +1037,7 @@ module Aws::PCS
|
|
|
1021
1037
|
:spot_options,
|
|
1022
1038
|
:slurm_configuration,
|
|
1023
1039
|
:node_lifecycle_actions,
|
|
1040
|
+
:instance_health_checks,
|
|
1024
1041
|
:client_token,
|
|
1025
1042
|
:tags)
|
|
1026
1043
|
SENSITIVE = []
|
|
@@ -1123,6 +1140,83 @@ module Aws::PCS
|
|
|
1123
1140
|
include Aws::Structure
|
|
1124
1141
|
end
|
|
1125
1142
|
|
|
1143
|
+
# The deep health check that runs each time an instance starts,
|
|
1144
|
+
# including after a reboot, before the compute node accepts jobs.
|
|
1145
|
+
#
|
|
1146
|
+
# @!attribute [rw] profile
|
|
1147
|
+
# The deep health check profile to run. Each profile other than `NONE`
|
|
1148
|
+
# runs NVIDIA Data Center GPU Manager (DCGM) diagnostics. More
|
|
1149
|
+
# thorough profiles run more tests and add more time to instance
|
|
1150
|
+
# launch. A profile other than `NONE` requires instance types with
|
|
1151
|
+
# NVIDIA GPUs. This value is required when you specify `onStart`.
|
|
1152
|
+
# There is no default value. Valid values:
|
|
1153
|
+
#
|
|
1154
|
+
# * `NONE` – Turns off the deep health check. You can't specify
|
|
1155
|
+
# `repairAction` with this profile.
|
|
1156
|
+
#
|
|
1157
|
+
# * `QUICK` – Runs basic GPU tests (DCGM diagnostics level 1). This
|
|
1158
|
+
# profile adds the least time to instance launch.
|
|
1159
|
+
#
|
|
1160
|
+
# * `MEDIUM` – Runs extended GPU tests (DCGM diagnostics level 2).
|
|
1161
|
+
#
|
|
1162
|
+
# * `LONG` – Runs GPU stress and diagnostic tests (DCGM diagnostics
|
|
1163
|
+
# level 3). This profile adds the most time to instance launch.
|
|
1164
|
+
# @return [String]
|
|
1165
|
+
#
|
|
1166
|
+
# @!attribute [rw] repair_action
|
|
1167
|
+
# The action that PCS takes when an instance fails the deep health
|
|
1168
|
+
# check. You can't specify this value when `profile` is `NONE`. If
|
|
1169
|
+
# you don't specify this value and `profile` isn't `NONE`, PCS uses
|
|
1170
|
+
# `AUTO`. `GetComputeNodeGroup` doesn't return a `repairAction` that
|
|
1171
|
+
# you didn't specify. Valid values:
|
|
1172
|
+
#
|
|
1173
|
+
# * `AUTO` – PCS chooses the repair action based on the fault.
|
|
1174
|
+
#
|
|
1175
|
+
# * `REPLACE` – Replaces the instance before it accepts jobs.
|
|
1176
|
+
#
|
|
1177
|
+
# * `ISOLATE` – Stops new jobs on the instance and keeps the instance
|
|
1178
|
+
# running until you investigate.
|
|
1179
|
+
#
|
|
1180
|
+
# * `NONE` – Records the fault in Slurm and leaves the instance
|
|
1181
|
+
# available for jobs.
|
|
1182
|
+
# @return [String]
|
|
1183
|
+
#
|
|
1184
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pcs-2023-02-10/DeepHealthCheckOnStart AWS API Documentation
|
|
1185
|
+
#
|
|
1186
|
+
class DeepHealthCheckOnStart < Struct.new(
|
|
1187
|
+
:profile,
|
|
1188
|
+
:repair_action)
|
|
1189
|
+
SENSITIVE = []
|
|
1190
|
+
include Aws::Structure
|
|
1191
|
+
end
|
|
1192
|
+
|
|
1193
|
+
# The deep health check settings of a compute node group. Deep health
|
|
1194
|
+
# checks test the graphics processing units (GPUs) of an instance each
|
|
1195
|
+
# time it starts, including after a reboot, before it accepts jobs. Deep
|
|
1196
|
+
# health checks with a profile other than `NONE` require instance types
|
|
1197
|
+
# with NVIDIA GPUs.
|
|
1198
|
+
#
|
|
1199
|
+
# @!attribute [rw] on_start
|
|
1200
|
+
# The deep health check to run each time an instance starts, including
|
|
1201
|
+
# after a reboot, before the compute node accepts jobs. If the check
|
|
1202
|
+
# fails after a reboot, PCS takes the same `repairAction` as at
|
|
1203
|
+
# launch. For example, with `REPLACE`, PCS replaces the instance
|
|
1204
|
+
# instead of returning it to service. If the compute node group has
|
|
1205
|
+
# scripts in the `nodeBootstrapped` stage of `nodeLifecycleActions`,
|
|
1206
|
+
# the deep health check runs after those scripts. If a script fails
|
|
1207
|
+
# and its `onError` setting terminates the compute node, the deep
|
|
1208
|
+
# health check doesn't run. This value is required when you specify
|
|
1209
|
+
# `deepHealthChecks`.
|
|
1210
|
+
# @return [Types::DeepHealthCheckOnStart]
|
|
1211
|
+
#
|
|
1212
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pcs-2023-02-10/DeepHealthChecks AWS API Documentation
|
|
1213
|
+
#
|
|
1214
|
+
class DeepHealthChecks < Struct.new(
|
|
1215
|
+
:on_start)
|
|
1216
|
+
SENSITIVE = []
|
|
1217
|
+
include Aws::Structure
|
|
1218
|
+
end
|
|
1219
|
+
|
|
1126
1220
|
# @!attribute [rw] cluster_identifier
|
|
1127
1221
|
# The name or ID of the cluster to delete.
|
|
1128
1222
|
# @return [String]
|
|
@@ -1369,6 +1463,48 @@ module Aws::PCS
|
|
|
1369
1463
|
include Aws::Structure
|
|
1370
1464
|
end
|
|
1371
1465
|
|
|
1466
|
+
# The health monitoring settings of a compute node group. Health
|
|
1467
|
+
# monitoring continuously checks running instances for hardware and
|
|
1468
|
+
# software faults.
|
|
1469
|
+
#
|
|
1470
|
+
# @!attribute [rw] mode
|
|
1471
|
+
# The health monitoring mode. This value is required when you specify
|
|
1472
|
+
# `healthMonitoring`. There is no default value. Valid values:
|
|
1473
|
+
#
|
|
1474
|
+
# * `NONE` – Turns off health monitoring. You can't specify
|
|
1475
|
+
# `repairAction` with this mode.
|
|
1476
|
+
#
|
|
1477
|
+
# * `STANDARD` – Continuously checks running instances for hardware
|
|
1478
|
+
# and software faults.
|
|
1479
|
+
# @return [String]
|
|
1480
|
+
#
|
|
1481
|
+
# @!attribute [rw] repair_action
|
|
1482
|
+
# The action that PCS takes when health monitoring finds a fault on an
|
|
1483
|
+
# instance. You can't specify this value when `mode` is `NONE`. If
|
|
1484
|
+
# you don't specify this value and `mode` isn't `NONE`, PCS uses
|
|
1485
|
+
# `AUTO`. `GetComputeNodeGroup` doesn't return a `repairAction` that
|
|
1486
|
+
# you didn't specify. Valid values:
|
|
1487
|
+
#
|
|
1488
|
+
# * `AUTO` – PCS chooses the repair action based on the fault.
|
|
1489
|
+
#
|
|
1490
|
+
# * `REPLACE` – Replaces the instance after running jobs finish.
|
|
1491
|
+
#
|
|
1492
|
+
# * `ISOLATE` – Stops new jobs on the instance and keeps the instance
|
|
1493
|
+
# running until you investigate.
|
|
1494
|
+
#
|
|
1495
|
+
# * `NONE` – Records the fault in Slurm and leaves the instance
|
|
1496
|
+
# available for jobs.
|
|
1497
|
+
# @return [String]
|
|
1498
|
+
#
|
|
1499
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pcs-2023-02-10/HealthMonitoring AWS API Documentation
|
|
1500
|
+
#
|
|
1501
|
+
class HealthMonitoring < Struct.new(
|
|
1502
|
+
:mode,
|
|
1503
|
+
:repair_action)
|
|
1504
|
+
SENSITIVE = []
|
|
1505
|
+
include Aws::Structure
|
|
1506
|
+
end
|
|
1507
|
+
|
|
1372
1508
|
# An EC2 instance configuration PCS uses to launch compute nodes.
|
|
1373
1509
|
#
|
|
1374
1510
|
# @!attribute [rw] instance_type
|
|
@@ -1386,6 +1522,57 @@ module Aws::PCS
|
|
|
1386
1522
|
include Aws::Structure
|
|
1387
1523
|
end
|
|
1388
1524
|
|
|
1525
|
+
# The instance health check settings of a compute node group. Instance
|
|
1526
|
+
# health checks detect faults on instances in the compute node group and
|
|
1527
|
+
# respond with the repair action that you choose.
|
|
1528
|
+
#
|
|
1529
|
+
# @!attribute [rw] health_monitoring
|
|
1530
|
+
# The health monitoring settings. Health monitoring continuously
|
|
1531
|
+
# checks running instances for hardware and software faults.
|
|
1532
|
+
# @return [Types::HealthMonitoring]
|
|
1533
|
+
#
|
|
1534
|
+
# @!attribute [rw] deep_health_checks
|
|
1535
|
+
# The deep health check settings. Deep health checks test the graphics
|
|
1536
|
+
# processing units (GPUs) of an instance each time it starts,
|
|
1537
|
+
# including after a reboot, before it accepts jobs.
|
|
1538
|
+
# @return [Types::DeepHealthChecks]
|
|
1539
|
+
#
|
|
1540
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pcs-2023-02-10/InstanceHealthChecks AWS API Documentation
|
|
1541
|
+
#
|
|
1542
|
+
class InstanceHealthChecks < Struct.new(
|
|
1543
|
+
:health_monitoring,
|
|
1544
|
+
:deep_health_checks)
|
|
1545
|
+
SENSITIVE = []
|
|
1546
|
+
include Aws::Structure
|
|
1547
|
+
end
|
|
1548
|
+
|
|
1549
|
+
# The instance health check settings to configure on a compute node
|
|
1550
|
+
# group when you create it. Specify `healthMonitoring`,
|
|
1551
|
+
# `deepHealthChecks`, or both. You can't specify an empty object
|
|
1552
|
+
# (`{}`).
|
|
1553
|
+
#
|
|
1554
|
+
# @!attribute [rw] health_monitoring
|
|
1555
|
+
# The health monitoring settings. Health monitoring continuously
|
|
1556
|
+
# checks running instances for hardware and software faults. If you
|
|
1557
|
+
# specify this object, it can't be empty.
|
|
1558
|
+
# @return [Types::HealthMonitoring]
|
|
1559
|
+
#
|
|
1560
|
+
# @!attribute [rw] deep_health_checks
|
|
1561
|
+
# The deep health check settings. Deep health checks test the graphics
|
|
1562
|
+
# processing units (GPUs) of an instance each time it starts,
|
|
1563
|
+
# including after a reboot, before it accepts jobs. If you specify
|
|
1564
|
+
# this object, it can't be empty.
|
|
1565
|
+
# @return [Types::DeepHealthChecks]
|
|
1566
|
+
#
|
|
1567
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pcs-2023-02-10/InstanceHealthChecksRequest AWS API Documentation
|
|
1568
|
+
#
|
|
1569
|
+
class InstanceHealthChecksRequest < Struct.new(
|
|
1570
|
+
:health_monitoring,
|
|
1571
|
+
:deep_health_checks)
|
|
1572
|
+
SENSITIVE = []
|
|
1573
|
+
include Aws::Structure
|
|
1574
|
+
end
|
|
1575
|
+
|
|
1389
1576
|
# PCS can't process your request right now. Try again later.
|
|
1390
1577
|
#
|
|
1391
1578
|
# @!attribute [rw] message
|
|
@@ -2124,6 +2311,13 @@ module Aws::PCS
|
|
|
2124
2311
|
# uses this value to run the matching scheduler version.
|
|
2125
2312
|
# @return [String]
|
|
2126
2313
|
#
|
|
2314
|
+
# @!attribute [rw] instance_health_checks
|
|
2315
|
+
# The instance health check settings configured for the compute node
|
|
2316
|
+
# group that the compute node registered into. The compute node uses
|
|
2317
|
+
# these settings to configure health monitoring and deep health
|
|
2318
|
+
# checks.
|
|
2319
|
+
# @return [Types::InstanceHealthChecks]
|
|
2320
|
+
#
|
|
2127
2321
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pcs-2023-02-10/RegisterComputeNodeGroupInstanceResponse AWS API Documentation
|
|
2128
2322
|
#
|
|
2129
2323
|
class RegisterComputeNodeGroupInstanceResponse < Struct.new(
|
|
@@ -2134,7 +2328,8 @@ module Aws::PCS
|
|
|
2134
2328
|
:compute_node_group_id,
|
|
2135
2329
|
:compute_node_group_name,
|
|
2136
2330
|
:node_lifecycle_actions,
|
|
2137
|
-
:scheduler_version
|
|
2331
|
+
:scheduler_version,
|
|
2332
|
+
:instance_health_checks)
|
|
2138
2333
|
SENSITIVE = [:shared_secret]
|
|
2139
2334
|
include Aws::Structure
|
|
2140
2335
|
end
|
|
@@ -2842,6 +3037,25 @@ module Aws::PCS
|
|
|
2842
3037
|
# bootstrapping or becomes ready to accept jobs.
|
|
2843
3038
|
# @return [Types::UpdateNodeLifecycleActionsRequest]
|
|
2844
3039
|
#
|
|
3040
|
+
# @!attribute [rw] instance_health_checks
|
|
3041
|
+
# The instance health check settings for the compute node group.
|
|
3042
|
+
# Instance health checks detect faults on instances in the compute
|
|
3043
|
+
# node group and respond with the repair action that you choose. You
|
|
3044
|
+
# can configure health monitoring, deep health checks, or both. You
|
|
3045
|
+
# can't specify an empty object (`{}`). Instance health checks
|
|
3046
|
+
# require Slurm version 26.05 or later.
|
|
3047
|
+
#
|
|
3048
|
+
# The settings that you specify replace all of the current instance
|
|
3049
|
+
# health check settings of the compute node group. Include every
|
|
3050
|
+
# setting that you want to keep. If you omit this member, the current
|
|
3051
|
+
# settings don't change. If you omit `healthMonitoring` or
|
|
3052
|
+
# `deepHealthChecks`, that check is turned off. You can also turn off
|
|
3053
|
+
# a check: set `healthMonitoring.mode` or
|
|
3054
|
+
# `deepHealthChecks.onStart.profile` to `NONE` and omit its
|
|
3055
|
+
# `repairAction`. When you change these settings, PCS drains and
|
|
3056
|
+
# replaces the instances in the compute node group.
|
|
3057
|
+
# @return [Types::UpdateInstanceHealthChecksRequest]
|
|
3058
|
+
#
|
|
2845
3059
|
# @!attribute [rw] client_token
|
|
2846
3060
|
# A unique, case-sensitive identifier that you provide to ensure the
|
|
2847
3061
|
# idempotency of the request. Idempotency ensures that an API request
|
|
@@ -2872,6 +3086,7 @@ module Aws::PCS
|
|
|
2872
3086
|
:iam_instance_profile_arn,
|
|
2873
3087
|
:slurm_configuration,
|
|
2874
3088
|
:node_lifecycle_actions,
|
|
3089
|
+
:instance_health_checks,
|
|
2875
3090
|
:client_token)
|
|
2876
3091
|
SENSITIVE = []
|
|
2877
3092
|
include Aws::Structure
|
|
@@ -2922,6 +3137,36 @@ module Aws::PCS
|
|
|
2922
3137
|
include Aws::Structure
|
|
2923
3138
|
end
|
|
2924
3139
|
|
|
3140
|
+
# The instance health check settings to configure on a compute node
|
|
3141
|
+
# group when you update it. These settings replace all of the current
|
|
3142
|
+
# instance health check settings of the compute node group. Specify
|
|
3143
|
+
# `healthMonitoring`, `deepHealthChecks`, or both. You can't specify an
|
|
3144
|
+
# empty object (`{}`).
|
|
3145
|
+
#
|
|
3146
|
+
# @!attribute [rw] health_monitoring
|
|
3147
|
+
# The health monitoring settings. Health monitoring continuously
|
|
3148
|
+
# checks running instances for hardware and software faults. If you
|
|
3149
|
+
# specify this object, it can't be empty. If you omit this object,
|
|
3150
|
+
# health monitoring is turned off.
|
|
3151
|
+
# @return [Types::HealthMonitoring]
|
|
3152
|
+
#
|
|
3153
|
+
# @!attribute [rw] deep_health_checks
|
|
3154
|
+
# The deep health check settings. Deep health checks test the graphics
|
|
3155
|
+
# processing units (GPUs) of an instance each time it starts,
|
|
3156
|
+
# including after a reboot, before it accepts jobs. If you specify
|
|
3157
|
+
# this object, it can't be empty. If you omit this object, deep
|
|
3158
|
+
# health checks are turned off.
|
|
3159
|
+
# @return [Types::DeepHealthChecks]
|
|
3160
|
+
#
|
|
3161
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pcs-2023-02-10/UpdateInstanceHealthChecksRequest AWS API Documentation
|
|
3162
|
+
#
|
|
3163
|
+
class UpdateInstanceHealthChecksRequest < Struct.new(
|
|
3164
|
+
:health_monitoring,
|
|
3165
|
+
:deep_health_checks)
|
|
3166
|
+
SENSITIVE = []
|
|
3167
|
+
include Aws::Structure
|
|
3168
|
+
end
|
|
3169
|
+
|
|
2925
3170
|
# The lifecycle actions to configure on a compute node group when you
|
|
2926
3171
|
# update it. Lifecycle actions define scripts that PCS runs on compute
|
|
2927
3172
|
# nodes at specific stages of their lifecycle.
|
data/lib/aws-sdk-pcs.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -180,6 +180,18 @@ module Aws
|
|
|
180
180
|
stages: Params::node_lifecycle_stages,
|
|
181
181
|
script_caching_policy: ("CACHE_ONCE" | "REFRESH_ON_REBOOT")?
|
|
182
182
|
},
|
|
183
|
+
?instance_health_checks: {
|
|
184
|
+
health_monitoring: {
|
|
185
|
+
mode: ("NONE" | "STANDARD")?,
|
|
186
|
+
repair_action: ("AUTO" | "REPLACE" | "ISOLATE" | "NONE")?
|
|
187
|
+
}?,
|
|
188
|
+
deep_health_checks: {
|
|
189
|
+
on_start: {
|
|
190
|
+
profile: ("NONE" | "QUICK" | "MEDIUM" | "LONG")?,
|
|
191
|
+
repair_action: ("AUTO" | "REPLACE" | "ISOLATE" | "NONE")?
|
|
192
|
+
}?
|
|
193
|
+
}?
|
|
194
|
+
},
|
|
183
195
|
?client_token: ::String,
|
|
184
196
|
?tags: Hash[::String, ::String]
|
|
185
197
|
) -> _CreateComputeNodeGroupResponseSuccess
|
|
@@ -333,6 +345,7 @@ module Aws
|
|
|
333
345
|
def compute_node_group_name: () -> ::String
|
|
334
346
|
def node_lifecycle_actions: () -> Types::NodeLifecycleActions
|
|
335
347
|
def scheduler_version: () -> ::String
|
|
348
|
+
def instance_health_checks: () -> Types::InstanceHealthChecks
|
|
336
349
|
end
|
|
337
350
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PCS/Client.html#register_compute_node_group_instance-instance_method
|
|
338
351
|
def register_compute_node_group_instance: (
|
|
@@ -448,6 +461,18 @@ module Aws
|
|
|
448
461
|
stages: Params::node_lifecycle_stages,
|
|
449
462
|
script_caching_policy: ("CACHE_ONCE" | "REFRESH_ON_REBOOT")?
|
|
450
463
|
},
|
|
464
|
+
?instance_health_checks: {
|
|
465
|
+
health_monitoring: {
|
|
466
|
+
mode: ("NONE" | "STANDARD")?,
|
|
467
|
+
repair_action: ("AUTO" | "REPLACE" | "ISOLATE" | "NONE")?
|
|
468
|
+
}?,
|
|
469
|
+
deep_health_checks: {
|
|
470
|
+
on_start: {
|
|
471
|
+
profile: ("NONE" | "QUICK" | "MEDIUM" | "LONG")?,
|
|
472
|
+
repair_action: ("AUTO" | "REPLACE" | "ISOLATE" | "NONE")?
|
|
473
|
+
}?
|
|
474
|
+
}?
|
|
475
|
+
},
|
|
451
476
|
?client_token: ::String
|
|
452
477
|
) -> _UpdateComputeNodeGroupResponseSuccess
|
|
453
478
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateComputeNodeGroupResponseSuccess
|
data/sig/types.rbs
CHANGED
|
@@ -102,6 +102,7 @@ module Aws::PCS
|
|
|
102
102
|
attr_accessor spot_options: Types::SpotOptions
|
|
103
103
|
attr_accessor slurm_configuration: Types::ComputeNodeGroupSlurmConfiguration
|
|
104
104
|
attr_accessor node_lifecycle_actions: Types::NodeLifecycleActions
|
|
105
|
+
attr_accessor instance_health_checks: Types::InstanceHealthChecks
|
|
105
106
|
attr_accessor error_info: ::Array[Types::ErrorInfo]
|
|
106
107
|
SENSITIVE: []
|
|
107
108
|
end
|
|
@@ -175,6 +176,7 @@ module Aws::PCS
|
|
|
175
176
|
attr_accessor spot_options: Types::SpotOptions
|
|
176
177
|
attr_accessor slurm_configuration: Types::ComputeNodeGroupSlurmConfigurationRequest
|
|
177
178
|
attr_accessor node_lifecycle_actions: Types::NodeLifecycleActionsRequest
|
|
179
|
+
attr_accessor instance_health_checks: Types::InstanceHealthChecksRequest
|
|
178
180
|
attr_accessor client_token: ::String
|
|
179
181
|
attr_accessor tags: ::Hash[::String, ::String]
|
|
180
182
|
SENSITIVE: []
|
|
@@ -206,6 +208,17 @@ module Aws::PCS
|
|
|
206
208
|
SENSITIVE: []
|
|
207
209
|
end
|
|
208
210
|
|
|
211
|
+
class DeepHealthCheckOnStart
|
|
212
|
+
attr_accessor profile: ("NONE" | "QUICK" | "MEDIUM" | "LONG")
|
|
213
|
+
attr_accessor repair_action: ("AUTO" | "REPLACE" | "ISOLATE" | "NONE")
|
|
214
|
+
SENSITIVE: []
|
|
215
|
+
end
|
|
216
|
+
|
|
217
|
+
class DeepHealthChecks
|
|
218
|
+
attr_accessor on_start: Types::DeepHealthCheckOnStart
|
|
219
|
+
SENSITIVE: []
|
|
220
|
+
end
|
|
221
|
+
|
|
209
222
|
class DeleteClusterRequest
|
|
210
223
|
attr_accessor cluster_identifier: ::String
|
|
211
224
|
attr_accessor client_token: ::String
|
|
@@ -282,11 +295,29 @@ module Aws::PCS
|
|
|
282
295
|
SENSITIVE: []
|
|
283
296
|
end
|
|
284
297
|
|
|
298
|
+
class HealthMonitoring
|
|
299
|
+
attr_accessor mode: ("NONE" | "STANDARD")
|
|
300
|
+
attr_accessor repair_action: ("AUTO" | "REPLACE" | "ISOLATE" | "NONE")
|
|
301
|
+
SENSITIVE: []
|
|
302
|
+
end
|
|
303
|
+
|
|
285
304
|
class InstanceConfig
|
|
286
305
|
attr_accessor instance_type: ::String
|
|
287
306
|
SENSITIVE: []
|
|
288
307
|
end
|
|
289
308
|
|
|
309
|
+
class InstanceHealthChecks
|
|
310
|
+
attr_accessor health_monitoring: Types::HealthMonitoring
|
|
311
|
+
attr_accessor deep_health_checks: Types::DeepHealthChecks
|
|
312
|
+
SENSITIVE: []
|
|
313
|
+
end
|
|
314
|
+
|
|
315
|
+
class InstanceHealthChecksRequest
|
|
316
|
+
attr_accessor health_monitoring: Types::HealthMonitoring
|
|
317
|
+
attr_accessor deep_health_checks: Types::DeepHealthChecks
|
|
318
|
+
SENSITIVE: []
|
|
319
|
+
end
|
|
320
|
+
|
|
290
321
|
class InternalServerException
|
|
291
322
|
attr_accessor message: ::String
|
|
292
323
|
SENSITIVE: []
|
|
@@ -456,6 +487,7 @@ module Aws::PCS
|
|
|
456
487
|
attr_accessor compute_node_group_name: ::String
|
|
457
488
|
attr_accessor node_lifecycle_actions: Types::NodeLifecycleActions
|
|
458
489
|
attr_accessor scheduler_version: ::String
|
|
490
|
+
attr_accessor instance_health_checks: Types::InstanceHealthChecks
|
|
459
491
|
SENSITIVE: [:shared_secret]
|
|
460
492
|
end
|
|
461
493
|
|
|
@@ -608,6 +640,7 @@ module Aws::PCS
|
|
|
608
640
|
attr_accessor iam_instance_profile_arn: ::String
|
|
609
641
|
attr_accessor slurm_configuration: Types::UpdateComputeNodeGroupSlurmConfigurationRequest
|
|
610
642
|
attr_accessor node_lifecycle_actions: Types::UpdateNodeLifecycleActionsRequest
|
|
643
|
+
attr_accessor instance_health_checks: Types::UpdateInstanceHealthChecksRequest
|
|
611
644
|
attr_accessor client_token: ::String
|
|
612
645
|
SENSITIVE: []
|
|
613
646
|
end
|
|
@@ -624,6 +657,12 @@ module Aws::PCS
|
|
|
624
657
|
SENSITIVE: []
|
|
625
658
|
end
|
|
626
659
|
|
|
660
|
+
class UpdateInstanceHealthChecksRequest
|
|
661
|
+
attr_accessor health_monitoring: Types::HealthMonitoring
|
|
662
|
+
attr_accessor deep_health_checks: Types::DeepHealthChecks
|
|
663
|
+
SENSITIVE: []
|
|
664
|
+
end
|
|
665
|
+
|
|
627
666
|
class UpdateNodeLifecycleActionsRequest
|
|
628
667
|
attr_accessor stages: Types::NodeLifecycleStages
|
|
629
668
|
attr_accessor script_caching_policy: ("CACHE_ONCE" | "REFRESH_ON_REBOOT")
|