AWS Tools for Windows PowerShell
Command Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Synopsis

Calls the Amazon SageMaker Service UpdateClusterSoftware API operation.

Syntax

Update-SMClusterSoftware
-ClusterName <String>
-DeploymentConfig_AutoRollbackConfiguration <AlarmDetails[]>
-ImageId <String>
-InstanceGroup <UpdateClusterSoftwareInstanceGroupSpecification[]>
-MaximumBatchSize_Type <NodeUnavailabilityType>
-RollbackMaximumBatchSize_Type <NodeUnavailabilityType>
-MaximumBatchSize_Value <Int32>
-RollbackMaximumBatchSize_Value <Int32>
-DeploymentConfig_WaitIntervalInSecond <Int32>
-Select <String>
-Force <SwitchParameter>
-ClientConfig <AmazonSageMakerConfig>

Description

Updates the platform software of a SageMaker HyperPod cluster for security patching. To learn how to use this API, see Update the SageMaker HyperPod platform software of a cluster. The UpgradeClusterSoftware API call may impact your SageMaker HyperPod cluster uptime and availability. Plan accordingly to mitigate potential disruptions to your workloads.

Parameters

-ClientConfig <AmazonSageMakerConfig>
Amazon.PowerShell.Cmdlets.SM.AmazonSageMakerClientCmdlet.ClientConfig
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-ClusterName <String>
Specify the name or the Amazon Resource Name (ARN) of the SageMaker HyperPod cluster you want to update for security patching.
Required?True
Position?1
Accept pipeline input?True (ByValue, ByPropertyName)
-DeploymentConfig_AutoRollbackConfiguration <AlarmDetails[]>
An array that contains the alarms that SageMaker monitors to know whether to roll back the AMI update. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-DeploymentConfig_WaitIntervalInSecond <Int32>
The duration in seconds that SageMaker waits before updating more instances in the cluster.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesDeploymentConfig_WaitIntervalInSeconds
This parameter overrides confirmation prompts to force the cmdlet to continue its operation. This parameter should always be used with caution.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-ImageId <String>
When configuring your HyperPod cluster, you can specify an image ID using one of the following options:
  • HyperPodPublicAmiId: Use a HyperPod public AMI
  • CustomAmiId: Use your custom AMI
  • default: Use the default latest system image
If you choose to use a custom AMI (CustomAmiId), ensure it meets the following requirements:
  • Encryption: The custom AMI must be unencrypted.
  • Ownership: The custom AMI must be owned by the same Amazon Web Services account that is creating the HyperPod cluster.
  • Volume support: Only the primary AMI snapshot volume is supported; additional AMI volumes are not supported.
When updating the instance group's AMI through the UpdateClusterSoftware operation, if an instance group uses a custom AMI, you must provide an ImageId or use the default as input. Note that if you don't specify an instance group in your UpdateClusterSoftware request, then all of the instance groups are patched with the specified image.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
The array of instance groups for which to update AMI versions. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesInstanceGroups
-MaximumBatchSize_Type <NodeUnavailabilityType>
Specifies whether SageMaker should process the update by amount or percentage of instances.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesDeploymentConfig_RollingUpdatePolicy_MaximumBatchSize_Type
-MaximumBatchSize_Value <Int32>
Specifies the amount or percentage of instances SageMaker updates at a time.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesDeploymentConfig_RollingUpdatePolicy_MaximumBatchSize_Value
-RollbackMaximumBatchSize_Type <NodeUnavailabilityType>
Specifies whether SageMaker should process the update by amount or percentage of instances.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesDeploymentConfig_RollingUpdatePolicy_RollbackMaximumBatchSize_Type
-RollbackMaximumBatchSize_Value <Int32>
Specifies the amount or percentage of instances SageMaker updates at a time.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesDeploymentConfig_RollingUpdatePolicy_RollbackMaximumBatchSize_Value
-Select <String>
Use the -Select parameter to control the cmdlet output. The default value is 'ClusterArn'. Specifying -Select '*' will result in the cmdlet returning the whole service response (Amazon.SageMaker.Model.UpdateClusterSoftwareResponse). Specifying the name of a property of type Amazon.SageMaker.Model.UpdateClusterSoftwareResponse will result in that property being returned. Specifying -Select '^ParameterName' will result in the cmdlet returning the selected cmdlet parameter value.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)

Common Credential and Region Parameters

-AccessKey <String>
The AWS access key for the user account. This can be a temporary access key if the corresponding session token is supplied to the -SessionToken parameter.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAK
-Credential <AWSCredentials>
An AWSCredentials object instance containing access and secret key information, and optionally a token for session-based credentials.
Required?False
Position?Named
Accept pipeline input?True (ByValue, ByPropertyName)
-EndpointUrl <String>
The endpoint to make the call against.Note: This parameter is primarily for internal AWS use and is not required/should not be specified for normal usage. The cmdlets normally determine which endpoint to call based on the region specified to the -Region parameter or set as default in the shell (via Set-DefaultAWSRegion). Only specify this parameter if you must direct the call to a specific custom endpoint.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-NetworkCredential <PSCredential>
Used with SAML-based authentication when ProfileName references a SAML role profile. Contains the network credentials to be supplied during authentication with the configured identity provider's endpoint. This parameter is not required if the user's default network identity can or should be used during authentication.
Required?False
Position?Named
Accept pipeline input?True (ByValue, ByPropertyName)
-ProfileLocation <String>
Used to specify the name and location of the ini-format credential file (shared with the AWS CLI and other AWS SDKs)If this optional parameter is omitted this cmdlet will search the encrypted credential file used by the AWS SDK for .NET and AWS Toolkit for Visual Studio first. If the profile is not found then the cmdlet will search in the ini-format credential file at the default location: (user's home directory)\.aws\credentials.If this parameter is specified then this cmdlet will only search the ini-format credential file at the location given.As the current folder can vary in a shell or during script execution it is advised that you use specify a fully qualified path instead of a relative path.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAWSProfilesLocation, ProfilesLocation
-ProfileName <String>
The user-defined name of an AWS credentials or SAML-based role profile containing credential information. The profile is expected to be found in the secure credential file shared with the AWS SDK for .NET and AWS Toolkit for Visual Studio. You can also specify the name of a profile stored in the .ini-format credential file used with the AWS CLI and other AWS SDKs.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesStoredCredentials, AWSProfileName
-Region <Object>
The system name of an AWS region or an AWSRegion instance. This governs the endpoint that will be used when calling service operations. Note that the AWS resources referenced in a call are usually region-specific.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesRegionToCall
-SecretKey <String>
The AWS secret key for the user account. This can be a temporary secret key if the corresponding session token is supplied to the -SessionToken parameter.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesSK, SecretAccessKey
-SessionToken <String>
The session token if the access and secret keys are temporary session-based credentials.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesST

Outputs

This cmdlet returns a System.String object. The service call response (type Amazon.SageMaker.Model.UpdateClusterSoftwareResponse) can be returned by specifying '-Select *'.

Supported Version

AWS Tools for PowerShell: 2.x.y.z