Returns details of an AI recommendation job, including its status, model source, performance targets, optimization recommendations, and deployment configurations.
See also: AWS API Documentation
describe-ai-recommendation-job
--ai-recommendation-job-name <value>
[--cli-input-json | --cli-input-yaml]
[--generate-cli-skeleton <value>]
[--debug]
[--endpoint-url <value>]
[--no-verify-ssl]
[--no-paginate]
[--output <value>]
[--query <value>]
[--profile <value>]
[--region <value>]
[--version <value>]
[--color <value>]
[--no-sign-request]
[--ca-bundle <value>]
[--cli-read-timeout <value>]
[--cli-connect-timeout <value>]
[--cli-binary-format <value>]
[--no-cli-pager]
[--cli-auto-prompt]
[--no-cli-auto-prompt]
[--cli-error-format <value>]
--ai-recommendation-job-name (string) [required]
The name of the AI recommendation job to describe.
Constraints:
- min:
1- max:
63- pattern:
[a-zA-Z0-9](-*[a-zA-Z0-9]){0,62}
--cli-input-json | --cli-input-yaml (string)
Reads arguments from the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, those values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally. This may not be specified along with --cli-input-yaml.
--generate-cli-skeleton (string)
Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. Similarly, if provided yaml-input it will print a sample input YAML that can be used with --cli-input-yaml. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command. The generated JSON skeleton is not stable between versions of the AWS CLI and there are no backwards compatibility guarantees in the JSON skeleton generated.
--debug (boolean)
Turn on debug logging.
--endpoint-url (string)
Override command’s default URL with the given URL.
--no-verify-ssl (boolean)
By default, the AWS CLI uses SSL when communicating with AWS services. For each SSL connection, the AWS CLI will verify SSL certificates. This option overrides the default behavior of verifying SSL certificates.
--no-paginate (boolean)
Disable automatic pagination. If automatic pagination is disabled, the AWS CLI will only make one call, for the first page of results.
--output (string)
The formatting style for command output.
--query (string)
A JMESPath query to use in filtering the response data.
--profile (string)
Use a specific profile from your credential file.
--region (string)
The region to use. Overrides config/env settings.
--version (string)
Display the version of this tool.
--color (string)
Turn on/off color output.
--no-sign-request (boolean)
Do not sign requests. Credentials will not be loaded if this argument is provided.
--ca-bundle (string)
The CA certificate bundle to use when verifying SSL certificates. Overrides config/env settings.
--cli-read-timeout (int)
The maximum socket read time in seconds. If the value is set to 0, the socket read will be blocking and not timeout. The default value is 60 seconds.
--cli-connect-timeout (int)
The maximum socket connect time in seconds. If the value is set to 0, the socket connect will be blocking and not timeout. The default value is 60 seconds.
--cli-binary-format (string)
The formatting style to be used for binary blobs. The default format is base64. The base64 format expects binary blobs to be provided as a base64 encoded string. The raw-in-base64-out format preserves compatibility with AWS CLI V1 behavior and binary values must be passed literally. When providing contents from a file that map to a binary blob fileb:// will always be treated as binary and use the file contents directly regardless of the cli-binary-format setting. When using file:// the file contents will need to properly formatted for the configured cli-binary-format.
--no-cli-pager (boolean)
Disable cli pager for output.
--cli-auto-prompt (boolean)
Automatically prompt for CLI input parameters.
--no-cli-auto-prompt (boolean)
Disable automatically prompt for CLI input parameters.
--cli-error-format (string)
The formatting style for error output. By default, errors are displayed in enhanced format.
AIRecommendationJobName -> (string)
The name of the AI recommendation job.
Constraints:
- min:
1- max:
63- pattern:
[a-zA-Z0-9](-*[a-zA-Z0-9]){0,62}
AIRecommendationJobArn -> (string)
The Amazon Resource Name (ARN) of the AI recommendation job.
Constraints:
- min:
0- max:
256- pattern:
arn:aws[a-z\-]*:sagemaker:[a-z0-9\-]*:[0-9]{12}:ai-recommendation-job/[a-zA-Z0-9](-*[a-zA-Z0-9]){0,62}
AIRecommendationJobStatus -> (string)
The status of the AI recommendation job.
Possible values:
InProgressCompletedFailedStoppingStopped
FailureReason -> (string)
If the recommendation job failed, the reason it failed.
Constraints:
- min:
0- max:
1024
ModelSource -> (tagged union structure)
The source of the model that was analyzed.
Note
This is a Tagged Union structure. Only one of the following top level keys can be set:S3.S3 -> (structure)
The Amazon S3 location of the model artifacts.
S3Uri -> (string)
The Amazon S3 URI of the model artifacts.
Constraints:
- min:
0- max:
1024- pattern:
(https|s3)://([^/]+)/?(.*)
OutputConfig -> (structure)
The output configuration for the recommendation job.
S3OutputLocation -> (string) [required]
The Amazon S3 URI where the recommendation job writes its output results.
Constraints:
- min:
0- max:
1024- pattern:
(https|s3)://([^/]+)/?(.*)ModelPackageGroupIdentifier -> (string)
The name or Amazon Resource Name (ARN) of the model package group where deployment-ready model packages are registered.
Constraints:
- min:
1- max:
256- pattern:
(arn:aws[a-z\-]*:sagemaker:[a-z0-9\-]*:[0-9]{12}:[a-z\-]*/)?([a-zA-Z0-9]([a-zA-Z0-9\-]){0,62})(?<!-)
InferenceSpecification -> (structure)
The inference framework configuration.
Framework -> (string)
The inference framework. Valid values are
LMIandVLLM.Possible values:
LMIVLLM
AIWorkloadConfigIdentifier -> (string)
The name or Amazon Resource Name (ARN) of the AI workload configuration used for this recommendation job.
Constraints:
- min:
1- max:
256- pattern:
(arn:aws[a-z\-]*:sagemaker:[a-z0-9\-]*:[0-9]{12}:[a-z\-]*/)?([a-zA-Z0-9]([a-zA-Z0-9\-]){0,62})(?<!-)
OptimizeModel -> (boolean)
Whether model optimization techniques were allowed.
PerformanceTarget -> (structure)
The performance targets specified for the recommendation job.
Constraints -> (list) [required]
An array of performance constraints that define the optimization objectives.
(structure)
A performance constraint for an AI recommendation job.
Metric -> (string) [required]
The performance metric. Valid values are
ttft-ms(time to first token in milliseconds),throughput, andcost.Possible values:
ttft-msthroughputcost
Recommendations -> (list)
The list of optimization recommendations generated by the job. Each recommendation includes optimization details, deployment configuration, expected performance metrics, and the associated benchmark job ARN.
(structure)
An optimization recommendation generated by an AI recommendation job.
RecommendationDescription -> (string)
A description of the recommendation.OptimizationDetails -> (list)
The optimization techniques applied in this recommendation.
(structure)
Details about an optimization technique applied in a recommendation.
OptimizationType -> (string) [required]
The type of optimization. Valid values are
SpeculativeDecodingandKernelTuning.Possible values:
SpeculativeDecodingKernelTuningOptimizationConfig -> (map)
A map of configuration parameters for the optimization technique.
key -> (string)
value -> (string)
ModelDetails -> (structure)
Details about the model package associated with this recommendation.
ModelPackageArn -> (string)
The Amazon Resource Name (ARN) of the model package.
Constraints:
- min:
1- max:
2048- pattern:
arn:aws[a-z\-]*:sagemaker:[a-z0-9\-]{9,16}:[0-9]{12}:model-package/[\S]{1,2048}InferenceSpecificationName -> (string)
The name of the inference specification within the model package.
Constraints:
- min:
0- max:
63- pattern:
[a-zA-Z0-9](-*[a-zA-Z0-9]){0,62}InstanceDetails -> (list)
The instance details for this recommendation, including instance type, count, and model copies per instance.
(structure)
Instance details for a recommendation.
InstanceType -> (string)
The recommended instance type.
Possible values:
ml.g5.xlargeml.g5.2xlargeml.g5.4xlargeml.g5.8xlargeml.g5.12xlargeml.g5.16xlargeml.g5.24xlargeml.g5.48xlargeml.g6.xlargeml.g6.2xlargeml.g6.4xlargeml.g6.8xlargeml.g6.12xlargeml.g6.16xlargeml.g6.24xlargeml.g6.48xlargeml.g6e.xlargeml.g6e.2xlargeml.g6e.4xlargeml.g6e.8xlargeml.g6e.12xlargeml.g6e.16xlargeml.g6e.24xlargeml.g6e.48xlargeml.g7e.2xlargeml.g7e.4xlargeml.g7e.8xlargeml.g7e.12xlargeml.g7e.24xlargeml.g7e.48xlargeml.p3.2xlargeml.p3.8xlargeml.p3.16xlargeml.p4d.24xlargeml.p4de.24xlargeml.p5.4xlargeml.p5.48xlargeml.p5e.48xlargeml.p5en.48xlargeInstanceCount -> (integer)
The recommended number of instances.CopyCountPerInstance -> (integer)
The number of model copies per instance.DeploymentConfiguration -> (structure)
The deployment configuration for this recommendation, including the container image, instance type, instance count, and environment variables.
S3 -> (list)
The Amazon S3 data channels for the deployment.
(structure)
An Amazon S3 data channel for a recommended deployment configuration, containing model artifacts or optimized model outputs.
ChannelName -> (string)
A custom name for this Amazon S3 data channel.
Constraints:
- min:
1- max:
64- pattern:
[A-Za-z0-9\.\-_]+Uri -> (string)
The Amazon S3 URI of the data for this channel.
Constraints:
- min:
0- max:
1024- pattern:
(https|s3)://([^/]+)/?(.*)ImageUri -> (string)
The URI of the container image for the deployment.InstanceType -> (string)
The recommended instance type for the deployment.
Possible values:
ml.g5.xlargeml.g5.2xlargeml.g5.4xlargeml.g5.8xlargeml.g5.12xlargeml.g5.16xlargeml.g5.24xlargeml.g5.48xlargeml.g6.xlargeml.g6.2xlargeml.g6.4xlargeml.g6.8xlargeml.g6.12xlargeml.g6.16xlargeml.g6.24xlargeml.g6.48xlargeml.g6e.xlargeml.g6e.2xlargeml.g6e.4xlargeml.g6e.8xlargeml.g6e.12xlargeml.g6e.16xlargeml.g6e.24xlargeml.g6e.48xlargeml.g7e.2xlargeml.g7e.4xlargeml.g7e.8xlargeml.g7e.12xlargeml.g7e.24xlargeml.g7e.48xlargeml.p3.2xlargeml.p3.8xlargeml.p3.16xlargeml.p4d.24xlargeml.p4de.24xlargeml.p5.4xlargeml.p5.48xlargeml.p5e.48xlargeml.p5en.48xlargeInstanceCount -> (integer)
The recommended number of instances for the deployment.CopyCountPerInstance -> (integer)
The number of model copies per instance.EnvironmentVariables -> (map)
The environment variables for the deployment.
Constraints:
- min:
0- max:
100key -> (string)
Constraints:
- min:
0- max:
1024- pattern:
[a-zA-Z_][a-zA-Z0-9_]*value -> (string)
Constraints:
- min:
0- max:
1024- pattern:
[\S\s]*AIBenchmarkJobArn -> (string)
The Amazon Resource Name (ARN) of the benchmark job associated with this recommendation.
Constraints:
- min:
0- max:
256- pattern:
arn:aws[a-z\-]*:sagemaker:[a-z0-9\-]*:[0-9]{12}:ai-benchmark-job/[a-zA-Z0-9](-*[a-zA-Z0-9]){0,62}ExpectedPerformance -> (list)
The expected performance metrics for this recommendation.
(structure)
An expected performance metric for a recommendation.
Metric -> (string) [required]
The name of the performance metric.Stat -> (string)
The statistical measure for the metric.Value -> (string) [required]
The value of the metric.Unit -> (string)
The unit of the metric value.
RoleArn -> (string)
The Amazon Resource Name (ARN) of the IAM role used by the recommendation job.
Constraints:
- min:
20- max:
2048- pattern:
arn:aws[a-z\-]*:iam::\d{12}:role/?[a-zA-Z_0-9+=,.@\-_/]+
ComputeSpec -> (structure)
The compute resource specification for the recommendation job.
InstanceTypes -> (list)
The list of instance types to consider for recommendations. You can specify up to 3 instance types.
Constraints:
- min:
0- max:
3(string)
Possible values:
ml.g5.xlargeml.g5.2xlargeml.g5.4xlargeml.g5.8xlargeml.g5.12xlargeml.g5.16xlargeml.g5.24xlargeml.g5.48xlargeml.g6.xlargeml.g6.2xlargeml.g6.4xlargeml.g6.8xlargeml.g6.12xlargeml.g6.16xlargeml.g6.24xlargeml.g6.48xlargeml.g6e.xlargeml.g6e.2xlargeml.g6e.4xlargeml.g6e.8xlargeml.g6e.12xlargeml.g6e.16xlargeml.g6e.24xlargeml.g6e.48xlargeml.g7e.2xlargeml.g7e.4xlargeml.g7e.8xlargeml.g7e.12xlargeml.g7e.24xlargeml.g7e.48xlargeml.p3.2xlargeml.p3.8xlargeml.p3.16xlargeml.p4d.24xlargeml.p4de.24xlargeml.p5.4xlargeml.p5.48xlargeml.p5e.48xlargeml.p5en.48xlargeCapacityReservationConfig -> (structure)
The capacity reservation configuration.
CapacityReservationPreference -> (string)
The capacity reservation preference. The only valid value is
capacity-reservations-only.Possible values:
capacity-reservations-onlyMlReservationArns -> (list)
The list of ML reservation ARNs to use.
(string)
Constraints:
- min:
0- max:
256- pattern:
arn:aws[a-z\-]*:sagemaker:[a-z0-9\-]*:[0-9]{12}:[a-z0-9\-]{1,14}/.*
CreationTime -> (timestamp)
A timestamp that indicates when the recommendation job was created.
StartTime -> (timestamp)
A timestamp that indicates when the recommendation job started running.
EndTime -> (timestamp)
A timestamp that indicates when the recommendation job completed.
Tags -> (list)
The tags associated with the recommendation job.
Constraints:
- min:
0- max:
50(structure)
A tag object that consists of a key and an optional value, used to manage metadata for SageMaker Amazon Web Services resources.
You can add tags to notebook instances, training jobs, hyperparameter tuning jobs, batch transform jobs, models, labeling jobs, work teams, endpoint configurations, and endpoints. For more information on adding tags to SageMaker resources, see AddTags .
For more information on adding metadata to your Amazon Web Services resources with tagging, see Tagging Amazon Web Services resources . For advice on best practices for managing Amazon Web Services resources with tagging, see Tagging Best Practices: Implement an Effective Amazon Web Services Resource Tagging Strategy .
Key -> (string) [required]
The tag key. Tag keys must be unique per resource.
Constraints:
- min:
1- max:
128- pattern:
([\p{L}\p{Z}\p{N}_.:/=+\-@]*)Value -> (string) [required]
The tag value.
Constraints:
- min:
0- max:
256- pattern:
([\p{L}\p{Z}\p{N}_.:/=+\-@]*)