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

Syntax

New-SMModelPackage
-ModelPackageName <String>
-AdditionalInferenceSpecification <AdditionalInferenceSpecificationDefinition[]>
-CertifyForMarketplace <Boolean>
-MetadataProperties_CommitId <String>
-InferenceSpecification_Container <ModelPackageContainerDefinition[]>
-DriftCheckBaselines_Bias_ConfigFile_ContentDigest <String>
-PostTrainingConstraints_ContentDigest <String>
-PreTrainingConstraints_ContentDigest <String>
-DriftCheckBaselines_Explainability_ConfigFile_ContentDigest <String>
-DriftCheckBaselines_Explainability_Constraints_ContentDigest <String>
-DriftCheckBaselines_ModelDataQuality_Constraints_ContentDigest <String>
-DriftCheckBaselines_ModelDataQuality_Statistics_ContentDigest <String>
-DriftCheckBaselines_ModelQuality_Constraints_ContentDigest <String>
-DriftCheckBaselines_ModelQuality_Statistics_ContentDigest <String>
-PostTrainingReport_ContentDigest <String>
-PreTrainingReport_ContentDigest <String>
-ModelMetrics_Bias_Report_ContentDigest <String>
-ModelMetrics_Explainability_Report_ContentDigest <String>
-ModelMetrics_ModelDataQuality_Constraints_ContentDigest <String>
-ModelMetrics_ModelDataQuality_Statistics_ContentDigest <String>
-ModelMetrics_ModelQuality_Constraints_ContentDigest <String>
-ModelMetrics_ModelQuality_Statistics_ContentDigest <String>
-DriftCheckBaselines_Bias_ConfigFile_ContentType <String>
-PostTrainingConstraints_ContentType <String>
-PreTrainingConstraints_ContentType <String>
-DriftCheckBaselines_Explainability_ConfigFile_ContentType <String>
-DriftCheckBaselines_Explainability_Constraints_ContentType <String>
-DriftCheckBaselines_ModelDataQuality_Constraints_ContentType <String>
-DriftCheckBaselines_ModelDataQuality_Statistics_ContentType <String>
-DriftCheckBaselines_ModelQuality_Constraints_ContentType <String>
-DriftCheckBaselines_ModelQuality_Statistics_ContentType <String>
-PostTrainingReport_ContentType <String>
-PreTrainingReport_ContentType <String>
-ModelMetrics_Bias_Report_ContentType <String>
-ModelMetrics_Explainability_Report_ContentType <String>
-ModelMetrics_ModelDataQuality_Constraints_ContentType <String>
-ModelMetrics_ModelDataQuality_Statistics_ContentType <String>
-ModelMetrics_ModelQuality_Constraints_ContentType <String>
-ModelMetrics_ModelQuality_Statistics_ContentType <String>
-CustomerMetadataProperty <Hashtable>
-Domain <String>
-MetadataProperties_GeneratedBy <String>
-SecurityConfig_KmsKeyId <String>
-ModelApprovalStatus <ModelApprovalStatus>
-ModelCard_ModelCardContent <String>
-ModelCard_ModelCardStatus <ModelCardStatus>
-ModelPackageDescription <String>
-ModelPackageGroupName <String>
-MetadataProperties_ProjectId <String>
-MetadataProperties_Repository <String>
-DriftCheckBaselines_Bias_ConfigFile_S3Uri <String>
-PostTrainingConstraints_S3Uri <String>
-PreTrainingConstraints_S3Uri <String>
-DriftCheckBaselines_Explainability_ConfigFile_S3Uri <String>
-DriftCheckBaselines_Explainability_Constraints_S3Uri <String>
-DriftCheckBaselines_ModelDataQuality_Constraints_S3Uri <String>
-DriftCheckBaselines_ModelDataQuality_Statistics_S3Uri <String>
-DriftCheckBaselines_ModelQuality_Constraints_S3Uri <String>
-DriftCheckBaselines_ModelQuality_Statistics_S3Uri <String>
-PostTrainingReport_S3Uri <String>
-PreTrainingReport_S3Uri <String>
-ModelMetrics_Bias_Report_S3Uri <String>
-ModelMetrics_Explainability_Report_S3Uri <String>
-ModelMetrics_ModelDataQuality_Constraints_S3Uri <String>
-ModelMetrics_ModelDataQuality_Statistics_S3Uri <String>
-ModelMetrics_ModelQuality_Constraints_S3Uri <String>
-ModelMetrics_ModelQuality_Statistics_S3Uri <String>
-SamplePayloadUrl <String>
-SkipModelValidation <SkipModelValidation>
-SourceAlgorithmSpecification_SourceAlgorithm <SourceAlgorithm[]>
-SourceUri <String>
-ModelLifeCycle_Stage <String>
-ModelLifeCycle_StageDescription <String>
-ModelLifeCycle_StageStatus <String>
-InferenceSpecification_SupportedContentType <String[]>
-InferenceSpecification_SupportedRealtimeInferenceInstanceType <String[]>
-InferenceSpecification_SupportedResponseMIMEType <String[]>
-InferenceSpecification_SupportedTransformInstanceType <String[]>
-Tag <Tag[]>
-Task <String>
-ValidationSpecification_ValidationProfile <ModelPackageValidationProfile[]>
-ValidationSpecification_ValidationRole <String>
-ClientToken <String>
-Select <String>
-PassThru <SwitchParameter>
-Force <SwitchParameter>
-ClientConfig <AmazonSageMakerConfig>

Description

Creates a model package that you can use to create SageMaker models or list on Amazon Web Services Marketplace, or a versioned model that is part of a model group. Buyers can subscribe to model packages listed on Amazon Web Services Marketplace to create models in SageMaker. To create a model package by specifying a Docker container that contains your inference code and the Amazon S3 location of your model artifacts, provide values for InferenceSpecification. To create a model from an algorithm resource that you created or subscribed to in Amazon Web Services Marketplace, provide a value for SourceAlgorithmSpecification. There are two types of model packages:
  • Versioned - a model that is part of a model group in the model registry.
  • Unversioned - a model package that is not part of a model group.

Parameters

-AdditionalInferenceSpecification <AdditionalInferenceSpecificationDefinition[]>
An array of additional Inference Specification objects. Each additional Inference Specification specifies artifacts based on this model package that can be used on inference endpoints. Generally used with SageMaker Neo to store the compiled artifacts.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAdditionalInferenceSpecifications
-CertifyForMarketplace <Boolean>
Whether to certify the model package for listing on Amazon Web Services Marketplace.This parameter is optional for unversioned models, and does not apply to versioned models.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-ClientConfig <AmazonSageMakerConfig>
Amazon.PowerShell.Cmdlets.SM.AmazonSageMakerClientCmdlet.ClientConfig
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-ClientToken <String>
A unique token that guarantees that the call to this API is idempotent.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-CustomerMetadataProperty <Hashtable>
The metadata properties associated with the model package versions.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesCustomerMetadataProperties
-Domain <String>
The machine learning domain of your model package and its components. Common machine learning domains include computer vision and natural language processing.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-DriftCheckBaselines_Bias_ConfigFile_ContentDigest <String>
The digest of the file source.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesConfigFile_ContentDigest
-DriftCheckBaselines_Bias_ConfigFile_ContentType <String>
The type of content stored in the file source.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesConfigFile_ContentType
-DriftCheckBaselines_Bias_ConfigFile_S3Uri <String>
The Amazon S3 URI for the file source.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesConfigFile_S3Uri
-DriftCheckBaselines_Explainability_ConfigFile_ContentDigest <String>
The digest of the file source.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-DriftCheckBaselines_Explainability_ConfigFile_ContentType <String>
The type of content stored in the file source.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-DriftCheckBaselines_Explainability_ConfigFile_S3Uri <String>
The Amazon S3 URI for the file source.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-DriftCheckBaselines_Explainability_Constraints_ContentDigest <String>
The hash key used for the metrics source.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesConstraints_ContentDigest
-DriftCheckBaselines_Explainability_Constraints_ContentType <String>
The metric source content type.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesConstraints_ContentType
-DriftCheckBaselines_Explainability_Constraints_S3Uri <String>
The S3 URI for the metrics source.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesConstraints_S3Uri
-DriftCheckBaselines_ModelDataQuality_Constraints_ContentDigest <String>
The hash key used for the metrics source.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-DriftCheckBaselines_ModelDataQuality_Constraints_ContentType <String>
The metric source content type.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-DriftCheckBaselines_ModelDataQuality_Constraints_S3Uri <String>
The S3 URI for the metrics source.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-DriftCheckBaselines_ModelDataQuality_Statistics_ContentDigest <String>
The hash key used for the metrics source.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesStatistics_ContentDigest
-DriftCheckBaselines_ModelDataQuality_Statistics_ContentType <String>
The metric source content type.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesStatistics_ContentType
-DriftCheckBaselines_ModelDataQuality_Statistics_S3Uri <String>
The S3 URI for the metrics source.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesStatistics_S3Uri
-DriftCheckBaselines_ModelQuality_Constraints_ContentDigest <String>
The hash key used for the metrics source.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-DriftCheckBaselines_ModelQuality_Constraints_ContentType <String>
The metric source content type.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-DriftCheckBaselines_ModelQuality_Constraints_S3Uri <String>
The S3 URI for the metrics source.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-DriftCheckBaselines_ModelQuality_Statistics_ContentDigest <String>
The hash key used for the metrics source.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-DriftCheckBaselines_ModelQuality_Statistics_ContentType <String>
The metric source content type.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-DriftCheckBaselines_ModelQuality_Statistics_S3Uri <String>
The S3 URI for the metrics source.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
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)
-InferenceSpecification_Container <ModelPackageContainerDefinition[]>
The Amazon ECR registry path of the Docker image that contains the inference code.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesInferenceSpecification_Containers
-InferenceSpecification_SupportedContentType <String[]>
The supported MIME types for the input data.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesInferenceSpecification_SupportedContentTypes
-InferenceSpecification_SupportedRealtimeInferenceInstanceType <String[]>
A list of the instance types that are used to generate inferences in real-time.This parameter is required for unversioned models, and optional for versioned models.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesInferenceSpecification_SupportedRealtimeInferenceInstanceTypes
-InferenceSpecification_SupportedResponseMIMEType <String[]>
The supported MIME types for the output data.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesInferenceSpecification_SupportedResponseMIMETypes
-InferenceSpecification_SupportedTransformInstanceType <String[]>
A list of the instance types on which a transformation job can be run or on which an endpoint can be deployed.This parameter is required for unversioned models, and optional for versioned models.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesInferenceSpecification_SupportedTransformInstanceTypes
-MetadataProperties_CommitId <String>
The commit ID.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-MetadataProperties_GeneratedBy <String>
The entity this entity was generated by.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-MetadataProperties_ProjectId <String>
The project ID.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-MetadataProperties_Repository <String>
The repository.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-ModelApprovalStatus <ModelApprovalStatus>
Whether the model is approved for deployment.This parameter is optional for versioned models, and does not apply to unversioned models.For versioned models, the value of this parameter must be set to Approved to deploy the model.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-ModelCard_ModelCardContent <String>
The content of the model card. The content must follow the schema described in Model Package Model Card Schema.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-ModelCard_ModelCardStatus <ModelCardStatus>
The approval status of the model card within your organization. Different organizations might have different criteria for model card review and approval.
  • Draft: The model card is a work in progress.
  • PendingReview: The model card is pending review.
  • Approved: The model card is approved.
  • Archived: The model card is archived. No more updates can be made to the model card content. If you try to update the model card content, you will receive the message Model Card is in Archived state.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-ModelLifeCycle_Stage <String>
The current stage in the model life cycle.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-ModelLifeCycle_StageDescription <String>
Describes the stage related details.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-ModelLifeCycle_StageStatus <String>
The current status of a stage in model life cycle.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-ModelMetrics_Bias_Report_ContentDigest <String>
The hash key used for the metrics source.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesBias_Report_ContentDigest
-ModelMetrics_Bias_Report_ContentType <String>
The metric source content type.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesBias_Report_ContentType
-ModelMetrics_Bias_Report_S3Uri <String>
The S3 URI for the metrics source.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesBias_Report_S3Uri
-ModelMetrics_Explainability_Report_ContentDigest <String>
The hash key used for the metrics source.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-ModelMetrics_Explainability_Report_ContentType <String>
The metric source content type.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-ModelMetrics_Explainability_Report_S3Uri <String>
The S3 URI for the metrics source.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-ModelMetrics_ModelDataQuality_Constraints_ContentDigest <String>
The hash key used for the metrics source.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesModelDataQuality_Constraints_ContentDigest
-ModelMetrics_ModelDataQuality_Constraints_ContentType <String>
The metric source content type.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesModelDataQuality_Constraints_ContentType
-ModelMetrics_ModelDataQuality_Constraints_S3Uri <String>
The S3 URI for the metrics source.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesModelDataQuality_Constraints_S3Uri
-ModelMetrics_ModelDataQuality_Statistics_ContentDigest <String>
The hash key used for the metrics source.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesModelDataQuality_Statistics_ContentDigest
-ModelMetrics_ModelDataQuality_Statistics_ContentType <String>
The metric source content type.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesModelDataQuality_Statistics_ContentType
-ModelMetrics_ModelDataQuality_Statistics_S3Uri <String>
The S3 URI for the metrics source.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesModelDataQuality_Statistics_S3Uri
-ModelMetrics_ModelQuality_Constraints_ContentDigest <String>
The hash key used for the metrics source.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-ModelMetrics_ModelQuality_Constraints_ContentType <String>
The metric source content type.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-ModelMetrics_ModelQuality_Constraints_S3Uri <String>
The S3 URI for the metrics source.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-ModelMetrics_ModelQuality_Statistics_ContentDigest <String>
The hash key used for the metrics source.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-ModelMetrics_ModelQuality_Statistics_ContentType <String>
The metric source content type.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-ModelMetrics_ModelQuality_Statistics_S3Uri <String>
The S3 URI for the metrics source.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-ModelPackageDescription <String>
A description of the model package.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-ModelPackageGroupName <String>
The name or Amazon Resource Name (ARN) of the model package group that this model version belongs to.This parameter is required for versioned models, and does not apply to unversioned models.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-ModelPackageName <String>
The name of the model package. The name must have 1 to 63 characters. Valid characters are a-z, A-Z, 0-9, and - (hyphen).This parameter is required for unversioned models. It is not applicable to versioned models.
Required?False
Position?1
Accept pipeline input?True (ByValue, ByPropertyName)
-PassThru <SwitchParameter>
Changes the cmdlet behavior to return the value passed to the ModelPackageName parameter. The -PassThru parameter is deprecated, use -Select '^ModelPackageName' instead. This parameter will be removed in a future version.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-PostTrainingConstraints_ContentDigest <String>
The hash key used for the metrics source.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesDriftCheckBaselines_Bias_PostTrainingConstraints_ContentDigest
-PostTrainingConstraints_ContentType <String>
The metric source content type.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesDriftCheckBaselines_Bias_PostTrainingConstraints_ContentType
-PostTrainingConstraints_S3Uri <String>
The S3 URI for the metrics source.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesDriftCheckBaselines_Bias_PostTrainingConstraints_S3Uri
-PostTrainingReport_ContentDigest <String>
The hash key used for the metrics source.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesModelMetrics_Bias_PostTrainingReport_ContentDigest
-PostTrainingReport_ContentType <String>
The metric source content type.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesModelMetrics_Bias_PostTrainingReport_ContentType
-PostTrainingReport_S3Uri <String>
The S3 URI for the metrics source.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesModelMetrics_Bias_PostTrainingReport_S3Uri
-PreTrainingConstraints_ContentDigest <String>
The hash key used for the metrics source.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesDriftCheckBaselines_Bias_PreTrainingConstraints_ContentDigest
-PreTrainingConstraints_ContentType <String>
The metric source content type.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesDriftCheckBaselines_Bias_PreTrainingConstraints_ContentType
-PreTrainingConstraints_S3Uri <String>
The S3 URI for the metrics source.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesDriftCheckBaselines_Bias_PreTrainingConstraints_S3Uri
-PreTrainingReport_ContentDigest <String>
The hash key used for the metrics source.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesModelMetrics_Bias_PreTrainingReport_ContentDigest
-PreTrainingReport_ContentType <String>
The metric source content type.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesModelMetrics_Bias_PreTrainingReport_ContentType
-PreTrainingReport_S3Uri <String>
The S3 URI for the metrics source.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesModelMetrics_Bias_PreTrainingReport_S3Uri
-SamplePayloadUrl <String>
The Amazon Simple Storage Service (Amazon S3) path where the sample payload is stored. This path must point to a single gzip compressed tar archive (.tar.gz suffix). This archive can hold multiple files that are all equally used in the load test. Each file in the archive must satisfy the size constraints of the InvokeEndpoint call.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-SecurityConfig_KmsKeyId <String>
The KMS Key ID (KMSKeyId) used for encryption of model package information.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-Select <String>
Use the -Select parameter to control the cmdlet output. The default value is 'ModelPackageArn'. Specifying -Select '*' will result in the cmdlet returning the whole service response (Amazon.SageMaker.Model.CreateModelPackageResponse). Specifying the name of a property of type Amazon.SageMaker.Model.CreateModelPackageResponse 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)
-SkipModelValidation <SkipModelValidation>
Indicates if you want to skip model validation.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-SourceAlgorithmSpecification_SourceAlgorithm <SourceAlgorithm[]>
A list of the algorithms that were used to create a model package.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesSourceAlgorithmSpecification_SourceAlgorithms
-SourceUri <String>
The URI of the source for the model package. If you want to clone a model package, set it to the model package Amazon Resource Name (ARN). If you want to register a model, set it to the model ARN.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-Tag <Tag[]>
A list of key value pairs associated with the model. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference Guide.If you supply ModelPackageGroupName, your model package belongs to the model group you specify and uses the tags associated with the model group. In this case, you cannot supply a tag argument.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesTags
-Task <String>
The machine learning task your model package accomplishes. Common machine learning tasks include object detection and image classification. The following tasks are supported by Inference Recommender: "IMAGE_CLASSIFICATION" | "OBJECT_DETECTION" | "TEXT_GENERATION" |"IMAGE_SEGMENTATION" | "FILL_MASK" | "CLASSIFICATION" | "REGRESSION" | "OTHER".Specify "OTHER" if none of the tasks listed fit your use case.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-ValidationSpecification_ValidationProfile <ModelPackageValidationProfile[]>
An array of ModelPackageValidationProfile objects, each of which specifies a batch transform job that SageMaker runs to validate your model package.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesValidationSpecification_ValidationProfiles
-ValidationSpecification_ValidationRole <String>
The IAM roles to be used for the validation of the model package.
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.CreateModelPackageResponse) can be returned by specifying '-Select *'.

Supported Version

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