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 CreateModelBiasJobDefinition API operation.

Syntax

New-SMModelBiasJobDefinition
-JobDefinitionName <String>
-ModelBiasBaselineConfig_BaseliningJobName <String>
-ModelBiasAppSpecification_ConfigUri <String>
-NetworkConfig_EnableInterContainerTrafficEncryption <Boolean>
-NetworkConfig_EnableNetworkIsolation <Boolean>
-EndpointInput_EndpointName <String>
-EndpointInput_EndTimeOffset <String>
-ModelBiasAppSpecification_Environment <Hashtable>
-EndpointInput_FeaturesAttribute <String>
-ModelBiasAppSpecification_ImageUri <String>
-EndpointInput_InferenceAttribute <String>
-ClusterConfig_InstanceCount <Int32>
-ClusterConfig_InstanceType <ProcessingInstanceType>
-ModelBiasJobOutputConfig_KmsKeyId <String>
-EndpointInput_LocalPath <String>
-StoppingCondition_MaxRuntimeInSecond <Int32>
-ModelBiasJobOutputConfig_MonitoringOutput <MonitoringOutput[]>
-EndpointInput_ProbabilityAttribute <String>
-EndpointInput_ProbabilityThresholdAttribute <Double>
-RoleArn <String>
-EndpointInput_S3DataDistributionType <ProcessingS3DataDistributionType>
-EndpointInput_S3InputMode <ProcessingS3InputMode>
-ConstraintsResource_S3Uri <String>
-GroundTruthS3Input_S3Uri <String>
-VpcConfig_SecurityGroupId <String[]>
-EndpointInput_StartTimeOffset <String>
-VpcConfig_Subnet <String[]>
-Tag <Tag[]>
-ClusterConfig_VolumeKmsKeyId <String>
-ClusterConfig_VolumeSizeInGB <Int32>
-Select <String>
-PassThru <SwitchParameter>
-Force <SwitchParameter>

Description

Creates the definition for a model bias job.

Parameters

-ClusterConfig_InstanceCount <Int32>
The number of ML compute instances to use in the model monitoring job. For distributed processing jobs, specify a value greater than 1. The default value is 1.
Required?True
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesJobResources_ClusterConfig_InstanceCount
-ClusterConfig_InstanceType <ProcessingInstanceType>
The ML compute instance type for the processing job.
Required?True
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesJobResources_ClusterConfig_InstanceType
-ClusterConfig_VolumeKmsKeyId <String>
The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance(s) that run the model monitoring job.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesJobResources_ClusterConfig_VolumeKmsKeyId
-ClusterConfig_VolumeSizeInGB <Int32>
The size of the ML storage volume, in gigabytes, that you want to provision. You must specify sufficient ML storage for your scenario.
Required?True
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesJobResources_ClusterConfig_VolumeSizeInGB
-ConstraintsResource_S3Uri <String>
The Amazon S3 URI for the constraints resource.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesModelBiasBaselineConfig_ConstraintsResource_S3Uri
-EndpointInput_EndpointName <String>
An endpoint in customer's account which has enabled DataCaptureConfig enabled.
Required?True
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesModelBiasJobInput_EndpointInput_EndpointName
-EndpointInput_EndTimeOffset <String>
If specified, monitoring jobs substract this time from the end time. For information about using offsets for scheduling monitoring jobs, see Schedule Model Quality Monitoring Jobs.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesModelBiasJobInput_EndpointInput_EndTimeOffset
-EndpointInput_FeaturesAttribute <String>
The attributes of the input data that are the input features.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesModelBiasJobInput_EndpointInput_FeaturesAttribute
-EndpointInput_InferenceAttribute <String>
The attribute of the input data that represents the ground truth label.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesModelBiasJobInput_EndpointInput_InferenceAttribute
-EndpointInput_LocalPath <String>
Path to the filesystem where the endpoint data is available to the container.
Required?True
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesModelBiasJobInput_EndpointInput_LocalPath
-EndpointInput_ProbabilityAttribute <String>
In a classification problem, the attribute that represents the class probability.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesModelBiasJobInput_EndpointInput_ProbabilityAttribute
-EndpointInput_ProbabilityThresholdAttribute <Double>
The threshold for the class probability to be evaluated as a positive result.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesModelBiasJobInput_EndpointInput_ProbabilityThresholdAttribute
-EndpointInput_S3DataDistributionType <ProcessingS3DataDistributionType>
Whether input data distributed in Amazon S3 is fully replicated or sharded by an S3 key. Defaults to FullyReplicated
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesModelBiasJobInput_EndpointInput_S3DataDistributionType
-EndpointInput_S3InputMode <ProcessingS3InputMode>
Whether the Pipe or File is used as the input mode for transferring data for the monitoring job. Pipe mode is recommended for large datasets. File mode is useful for small files that fit in memory. Defaults to File.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesModelBiasJobInput_EndpointInput_S3InputMode
-EndpointInput_StartTimeOffset <String>
If specified, monitoring jobs substract this time from the start time. For information about using offsets for scheduling monitoring jobs, see Schedule Model Quality Monitoring Jobs.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesModelBiasJobInput_EndpointInput_StartTimeOffset
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)
-GroundTruthS3Input_S3Uri <String>
The address of the Amazon S3 location of the ground truth labels.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesModelBiasJobInput_GroundTruthS3Input_S3Uri
-JobDefinitionName <String>
The name of the bias job definition. The name must be unique within an Amazon Web Services Region in the Amazon Web Services account.
Required?True
Position?1
Accept pipeline input?True (ByValue, ByPropertyName)
-ModelBiasAppSpecification_ConfigUri <String>
JSON formatted S3 file that defines bias parameters. For more information on this JSON configuration file, see Configure bias parameters.
Required?True
Position?Named
Accept pipeline input?True (ByPropertyName)
-ModelBiasAppSpecification_Environment <Hashtable>
Sets the environment variables in the Docker container.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-ModelBiasAppSpecification_ImageUri <String>
The container image to be run by the model bias job.
Required?True
Position?Named
Accept pipeline input?True (ByPropertyName)
-ModelBiasBaselineConfig_BaseliningJobName <String>
The name of the baseline model bias job.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-ModelBiasJobOutputConfig_KmsKeyId <String>
The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-ModelBiasJobOutputConfig_MonitoringOutput <MonitoringOutput[]>
Monitoring outputs for monitoring jobs. This is where the output of the periodic monitoring jobs is uploaded.
Required?True
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesModelBiasJobOutputConfig_MonitoringOutputs
-NetworkConfig_EnableInterContainerTrafficEncryption <Boolean>
Whether to encrypt all communications between the instances used for the monitoring jobs. Choose True to encrypt communications. Encryption provides greater security for distributed jobs, but the processing might take longer.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-NetworkConfig_EnableNetworkIsolation <Boolean>
Whether to allow inbound and outbound network calls to and from the containers used for the monitoring job.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-PassThru <SwitchParameter>
Changes the cmdlet behavior to return the value passed to the JobDefinitionName parameter. The -PassThru parameter is deprecated, use -Select '^JobDefinitionName' instead. This parameter will be removed in a future version.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-RoleArn <String>
The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to perform tasks on your behalf.
Required?True
Position?Named
Accept pipeline input?True (ByPropertyName)
-Select <String>
Use the -Select parameter to control the cmdlet output. The default value is 'JobDefinitionArn'. Specifying -Select '*' will result in the cmdlet returning the whole service response (Amazon.SageMaker.Model.CreateModelBiasJobDefinitionResponse). Specifying the name of a property of type Amazon.SageMaker.Model.CreateModelBiasJobDefinitionResponse 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)
-StoppingCondition_MaxRuntimeInSecond <Int32>
The maximum runtime allowed in seconds.The MaxRuntimeInSeconds cannot exceed the frequency of the job. For data quality and model explainability, this can be up to 3600 seconds for an hourly schedule. For model bias and model quality hourly schedules, this can be up to 1800 seconds.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesStoppingCondition_MaxRuntimeInSeconds
-Tag <Tag[]>
(Optional) An array of key-value pairs. For more information, see Using Cost Allocation Tags in the Amazon Web Services Billing and Cost Management User Guide.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesTags
-VpcConfig_SecurityGroupId <String[]>
The VPC security group IDs, in the form sg-xxxxxxxx. Specify the security groups for the VPC that is specified in the Subnets field.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesNetworkConfig_VpcConfig_SecurityGroupIds
-VpcConfig_Subnet <String[]>
The ID of the subnets in the VPC to which you want to connect your training job or model. For information about the availability of specific instance types, see Supported Instance Types and Availability Zones.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesNetworkConfig_VpcConfig_Subnets

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.CreateModelBiasJobDefinitionResponse) can also be referenced from properties attached to the cmdlet entry in the $AWSHistory stack.

Supported Version

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