Amazon SageMaker
App · 20 actions
Read SageMaker jobs, models, pipelines and endpoints in one AWS region.
Actions
| Action | What it does |
|---|---|
| Describe endpoint | Get the details of a SageMaker endpoint. |
| Describe endpoint config | Get the details of a SageMaker endpoint config. |
| Describe model | Get the details of a SageMaker model. |
| Describe model package group | Get the details of a SageMaker model package group. |
| Describe notebook instance | Get the details of a SageMaker notebook instance. |
| Describe pipeline | Get the details of a SageMaker pipeline. |
| Describe pipeline execution | Get the details of a SageMaker pipeline execution. |
| Describe processing job | Get the details of a SageMaker processing job. |
| Describe training job | Get the details of a SageMaker training job. |
| Describe transform job | Get the details of a SageMaker transform job. |
| List endpoint configs | Get one page of endpoint configs. |
| List endpoints | Get one page of endpoints. |
| List model package groups | Get one page of model package groups. |
| List models | Get one page of models. |
| List notebook instances | Get one page of notebook instances. |
| List pipeline executions | Get one page of pipeline executions. |
| List pipelines | Get one page of pipelines. |
| List processing jobs | Get one page of processing jobs. |
| List training jobs | Get one page of training jobs. |
| List transform jobs | Get one page of transform jobs. |
Describe endpoint
Get the details of a SageMaker endpoint.
Inputs
- Endpoint name
endpoint_nametextRequired - Endpoint name.
Outputs
dataobject- The response from Amazon SageMaker.
Example output
{
"data": {
"AsyncInferenceConfig": {
"ClientConfig": {
"MaxConcurrentInvocationsPerInstance": 1
},
"OutputConfig": {
"KmsKeyId": "example",
"NotificationConfig": {
"ErrorTopic": "example",
"IncludeInferenceResponseIn": [
"SUCCESS_NOTIFICATION_TOPIC"
],
"SuccessTopic": "example"
},
"S3FailurePath": "example",
"S3OutputPath": "example"
}
},
"CreationTime": "example",
"CrossRegionTrafficConfig": {
"MaxCrossRegionPercentPerEndpoint": 1,
"MaxInvocationsPerSecondPerInstance": 1
},
"DataCaptureConfig": {
"CaptureStatus": "Started",
"CurrentSamplingPercentage": 1,
"DestinationS3Uri": "example",
"EnableCapture": true,
"KmsKeyId": "example"
},
"EndpointArn": "example",
"EndpointConfigName": "example",
"EndpointName": "example",
"EndpointStatus": "OutOfService",
"ExplainerConfig": {
"ClarifyExplainerConfig": {
"EnableExplanations": "example",
"InferenceConfig": {
"ContentTemplate": "example",
"FeatureHeaders": [
"example"
],
"FeatureTypes": [
"numerical"
],
"FeaturesAttribute": "example",
"LabelAttribute": "example",
"LabelHeaders": [
"example"
],
"LabelIndex": 1,
"MaxPayloadInMB": 1,
"MaxRecordCount": 1,
"ProbabilityAttribute": "example",
"ProbabilityIndex": 1
},
"ShapConfig": {
"NumberOfSamples": 1,
"Seed": 1,
"ShapBaselineConfig": {},
"TextConfig": {},
"UseLogit": true
}
}
},
"FailureReason": "example",
"LastDeploymentConfig": {
"AutoRollbackConfiguration": {
"Alarms": [
{}
]
},
"BlueGreenUpdatePolicy": {
"MaximumExecutionTimeoutInSeconds": 1,
"TerminationWaitInSeconds": 1,
"TrafficRoutingConfiguration": {
"CanarySize": {},
"LinearStepSize": {},
"Type": "ALL_AT_ONCE",
"WaitIntervalInSeconds": 1
}
},
"RollingUpdatePolicy": {
"MaximumBatchSize": {
"Type": "INSTANCE_COUNT",
"Value": 1
},
"MaximumExecutionTimeoutInSeconds": 1,
"RollbackMaximumBatchSize": {
"Type": "INSTANCE_COUNT",
"Value": 1
},
"WaitIntervalInSeconds": 1
}
},
"LastModifiedTime": "example",
"MetricsConfig": {
"EnableDetailedObservability": true,
"EnableEnhancedMetrics": true,
"MetricPublishFrequencyInSeconds": 1
},
"PendingDeploymentSummary": {
"EndpointConfigName": "example",
"ProductionVariants": [
{
"AcceleratorPartitionLayouts": [
{}
],
"AcceleratorType": "ml.eia1.medium",
"CurrentInstanceCount": 1,
"CurrentServerlessConfig": {},
"CurrentWeight": 1,
"DeployedImages": [
{}
],
"DesiredInstanceCount": 1,
"DesiredServerlessConfig": {},
"DesiredWeight": 1,
"InstancePools": [
{}
],
"InstanceType": "ml.t2.medium",
"ManagedInstanceScaling": {},
"RoutingConfig": {},
"VariantName": "example",
"VariantStatus": [
{}
]
}
],
"ShadowProductionVariants": [
{
"AcceleratorPartitionLayouts": [
{}
],
"AcceleratorType": "ml.eia1.medium",
"CurrentInstanceCount": 1,
"CurrentServerlessConfig": {},
"CurrentWeight": 1,
"DeployedImages": [
{}
],
"DesiredInstanceCount": 1,
"DesiredServerlessConfig": {},
"DesiredWeight": 1,
"InstancePools": [
{}
],
"InstanceType": "ml.t2.medium",
"ManagedInstanceScaling": {},
"RoutingConfig": {},
"VariantName": "example",
"VariantStatus": [
{}
]
}
],
"StartTime": "example"
},
"ProductionVariants": [
{
"AcceleratorPartitionLayouts": [
{}
],
"CapacityReservationConfig": {
"AvailableInstanceCount": 1,
"CapacityReservationPreference": "capacity-reservations-only",
"Ec2CapacityReservations": [
{}
],
"MlReservationArn": "example",
"TotalInstanceCount": 1,
"UsedByCurrentEndpoint": 1
},
"CurrentInstanceCount": 1,
"CurrentServerlessConfig": {
"MaxConcurrency": 1,
"MemorySizeInMB": 1,
"ProvisionedConcurrency": 1
},
"CurrentWeight": 1,
"DeployedImages": [
{}
],
"DesiredInstanceCount": 1,
"DesiredServerlessConfig": {
"MaxConcurrency": 1,
"MemorySizeInMB": 1,
"ProvisionedConcurrency": 1
},
"DesiredWeight": 1,
"InstancePools": [
{}
],
"ManagedInstanceScaling": {
"MaxInstanceCount": 1,
"MinInstanceCount": 1,
"ScaleInPolicy": {},
"Status": "ENABLED"
},
"RoutingConfig": {
"PrefixAwareRoutingConfig": {},
"RoutingStrategy": "LEAST_OUTSTANDING_REQUESTS"
},
"VariantName": "example",
"VariantStatus": [
{}
]
}
],
"ShadowProductionVariants": [
{
"AcceleratorPartitionLayouts": [
{}
],
"CapacityReservationConfig": {
"AvailableInstanceCount": 1,
"CapacityReservationPreference": "capacity-reservations-only",
"Ec2CapacityReservations": [
{}
],
"MlReservationArn": "example",
"TotalInstanceCount": 1,
"UsedByCurrentEndpoint": 1
},
"CurrentInstanceCount": 1,
"CurrentServerlessConfig": {
"MaxConcurrency": 1,
"MemorySizeInMB": 1,
"ProvisionedConcurrency": 1
},
"CurrentWeight": 1,
"DeployedImages": [
{}
],
"DesiredInstanceCount": 1,
"DesiredServerlessConfig": {
"MaxConcurrency": 1,
"MemorySizeInMB": 1,
"ProvisionedConcurrency": 1
},
"DesiredWeight": 1,
"InstancePools": [
{}
],
"ManagedInstanceScaling": {
"MaxInstanceCount": 1,
"MinInstanceCount": 1,
"ScaleInPolicy": {},
"Status": "ENABLED"
},
"RoutingConfig": {
"PrefixAwareRoutingConfig": {},
"RoutingStrategy": "LEAST_OUTSTANDING_REQUESTS"
},
"VariantName": "example",
"VariantStatus": [
{}
]
}
]
}
}Describe endpoint config
Get the details of a SageMaker endpoint config.
Inputs
- Endpoint config name
endpoint_config_nametextRequired - Endpoint config name.
Outputs
dataobject- The response from Amazon SageMaker.
Example output
{
"data": {
"AsyncInferenceConfig": {
"ClientConfig": {
"MaxConcurrentInvocationsPerInstance": 1
},
"OutputConfig": {
"KmsKeyId": "example",
"NotificationConfig": {
"ErrorTopic": "example",
"IncludeInferenceResponseIn": [
"SUCCESS_NOTIFICATION_TOPIC"
],
"SuccessTopic": "example"
},
"S3FailurePath": "example",
"S3OutputPath": "example"
}
},
"CreationTime": "example",
"CrossRegionTrafficConfig": {
"MaxCrossRegionPercentPerEndpoint": 1,
"MaxInvocationsPerSecondPerInstance": 1
},
"DataCaptureConfig": {
"CaptureContentTypeHeader": {
"CsvContentTypes": [
"example"
],
"JsonContentTypes": [
"example"
]
},
"CaptureOptions": [
{
"CaptureMode": "Input"
}
],
"DestinationS3Uri": "example",
"EnableCapture": true,
"InitialSamplingPercentage": 1,
"KmsKeyId": "example"
},
"EnableNetworkIsolation": true,
"EndpointConfigArn": "example",
"EndpointConfigName": "example",
"ExecutionRoleArn": "example",
"ExplainerConfig": {
"ClarifyExplainerConfig": {
"EnableExplanations": "example",
"InferenceConfig": {
"ContentTemplate": "example",
"FeatureHeaders": [
"example"
],
"FeatureTypes": [
"numerical"
],
"FeaturesAttribute": "example",
"LabelAttribute": "example",
"LabelHeaders": [
"example"
],
"LabelIndex": 1,
"MaxPayloadInMB": 1,
"MaxRecordCount": 1,
"ProbabilityAttribute": "example",
"ProbabilityIndex": 1
},
"ShapConfig": {
"NumberOfSamples": 1,
"Seed": 1,
"ShapBaselineConfig": {},
"TextConfig": {},
"UseLogit": true
}
}
},
"KmsKeyId": "example",
"MetricsConfig": {
"EnableDetailedObservability": true,
"EnableEnhancedMetrics": true,
"MetricPublishFrequencyInSeconds": 1
},
"ProductionVariants": [
{
"AcceleratorPartitionLayouts": [
{}
],
"AcceleratorType": "ml.eia1.medium",
"CapacityReservationConfig": {
"CapacityReservationPreference": "capacity-reservations-only",
"MlReservationArn": "example"
},
"ContainerStartupHealthCheckTimeoutInSeconds": 1,
"CoreDumpConfig": {
"DestinationS3Uri": "example",
"KmsKeyId": "example"
},
"EnableSSMAccess": true,
"InferenceAmiVersion": "al2-ami-sagemaker-inference-gpu-2",
"InitialInstanceCount": 1,
"InitialVariantWeight": 1,
"InstancePools": [
{}
],
"InstanceType": "ml.t2.medium",
"ManagedInstanceScaling": {
"MaxInstanceCount": 1,
"MinInstanceCount": 1,
"ScaleInPolicy": {},
"Status": "ENABLED"
},
"ModelDataDownloadTimeoutInSeconds": 1,
"ModelName": "example",
"RoutingConfig": {
"PrefixAwareRoutingConfig": {},
"RoutingStrategy": "LEAST_OUTSTANDING_REQUESTS"
},
"ServerlessConfig": {
"MaxConcurrency": 1,
"MemorySizeInMB": 1,
"ProvisionedConcurrency": 1
},
"VariantInstanceProvisionTimeoutInSeconds": 1,
"VariantName": "example",
"VolumeSizeInGB": 1
}
],
"ShadowProductionVariants": [
{
"AcceleratorPartitionLayouts": [
{}
],
"AcceleratorType": "ml.eia1.medium",
"CapacityReservationConfig": {
"CapacityReservationPreference": "capacity-reservations-only",
"MlReservationArn": "example"
},
"ContainerStartupHealthCheckTimeoutInSeconds": 1,
"CoreDumpConfig": {
"DestinationS3Uri": "example",
"KmsKeyId": "example"
},
"EnableSSMAccess": true,
"InferenceAmiVersion": "al2-ami-sagemaker-inference-gpu-2",
"InitialInstanceCount": 1,
"InitialVariantWeight": 1,
"InstancePools": [
{}
],
"InstanceType": "ml.t2.medium",
"ManagedInstanceScaling": {
"MaxInstanceCount": 1,
"MinInstanceCount": 1,
"ScaleInPolicy": {},
"Status": "ENABLED"
},
"ModelDataDownloadTimeoutInSeconds": 1,
"ModelName": "example",
"RoutingConfig": {
"PrefixAwareRoutingConfig": {},
"RoutingStrategy": "LEAST_OUTSTANDING_REQUESTS"
},
"ServerlessConfig": {
"MaxConcurrency": 1,
"MemorySizeInMB": 1,
"ProvisionedConcurrency": 1
},
"VariantInstanceProvisionTimeoutInSeconds": 1,
"VariantName": "example",
"VolumeSizeInGB": 1
}
],
"VpcConfig": {
"SecurityGroupIds": [
"example"
],
"Subnets": [
"example"
]
}
}
}Describe model
Get the details of a SageMaker model.
Inputs
- Model name
model_nametextRequired - Model name.
Outputs
dataobject- The response from Amazon SageMaker.
Example output
{
"data": {
"Containers": [
{
"AdditionalModelDataSources": [
{}
],
"ContainerHostname": "example",
"ContainerMetricsConfig": {
"MetricsEndpoints": [
{}
]
},
"Environment": {},
"Image": "example",
"ImageConfig": {
"RepositoryAccessMode": "Platform",
"RepositoryAuthConfig": {}
},
"InferenceSpecificationName": "example",
"Mode": "SingleModel",
"ModelDataSource": {
"S3DataSource": {}
},
"ModelDataUrl": "example",
"ModelPackageName": "example",
"MultiModelConfig": {
"ModelCacheSetting": "Enabled"
}
}
],
"CreationTime": "example",
"DeploymentRecommendation": {
"RealTimeInferenceRecommendations": [
{
"Environment": {},
"InstanceType": "ml.t2.medium",
"RecommendationId": "example"
}
],
"RecommendationStatus": "IN_PROGRESS"
},
"EnableNetworkIsolation": true,
"ExecutionRoleArn": "example",
"InferenceExecutionConfig": {
"Mode": "Serial"
},
"ModelArn": "example",
"ModelName": "example",
"PrimaryContainer": {
"AdditionalModelDataSources": [
{
"ChannelName": "example",
"S3DataSource": {}
}
],
"ContainerHostname": "example",
"ContainerMetricsConfig": {
"MetricsEndpoints": [
{}
]
},
"Environment": {},
"Image": "example",
"ImageConfig": {
"RepositoryAccessMode": "Platform",
"RepositoryAuthConfig": {
"RepositoryCredentialsProviderArn": "example"
}
},
"InferenceSpecificationName": "example",
"Mode": "SingleModel",
"ModelDataSource": {
"S3DataSource": {
"CompressionType": "None",
"ETag": "example",
"HubAccessConfig": {},
"ManifestEtag": "example",
"ManifestS3Uri": "example",
"ModelAccessConfig": {},
"S3DataType": "S3Prefix",
"S3Uri": "example"
}
},
"ModelDataUrl": "example",
"ModelPackageName": "example",
"MultiModelConfig": {
"ModelCacheSetting": "Enabled"
}
},
"VpcConfig": {
"SecurityGroupIds": [
"example"
],
"Subnets": [
"example"
]
}
}
}Describe model package group
Get the details of a SageMaker model package group.
Inputs
- Model package group name
model_package_group_nametextRequired - Model package group name.
Outputs
dataobject- The response from Amazon SageMaker.
Example output
{
"data": {
"CreatedBy": {
"DomainId": "example",
"IamIdentity": {
"Arn": "example",
"PrincipalId": "example",
"SourceIdentity": "example"
},
"UserProfileArn": "example",
"UserProfileName": "example"
},
"CreationTime": "example",
"ManagedConfiguration": {
"ManagedStorageType": "Restricted"
},
"ModelPackageGroupArn": "example",
"ModelPackageGroupDescription": "example",
"ModelPackageGroupName": "example",
"ModelPackageGroupStatus": "Pending"
}
}Describe notebook instance
Get the details of a SageMaker notebook instance.
Inputs
- Notebook instance name
notebook_instance_nametextRequired - Notebook instance name.
Outputs
dataobject- The response from Amazon SageMaker.
Example output
{
"data": {
"AcceleratorTypes": [
"ml.eia1.medium"
],
"AdditionalCodeRepositories": [
"example"
],
"CreationTime": "example",
"DefaultCodeRepository": "example",
"DirectInternetAccess": "Enabled",
"FailureReason": "example",
"InstanceMetadataServiceConfiguration": {
"MinimumInstanceMetadataServiceVersion": "example"
},
"InstanceType": "ml.t2.medium",
"IpAddressType": "ipv4",
"KmsKeyId": "example",
"LastModifiedTime": "example",
"NetworkInterfaceId": "example",
"NotebookInstanceArn": "example",
"NotebookInstanceLifecycleConfigName": "example",
"NotebookInstanceName": "example",
"NotebookInstanceStatus": "Pending",
"PlatformIdentifier": "example",
"RoleArn": "example",
"RootAccess": "Enabled",
"SecurityGroups": [
"example"
],
"SubnetId": "example",
"Url": "example",
"VolumeSizeInGB": 1
}
}Describe pipeline
Get the details of a SageMaker pipeline.
Inputs
- Pipeline name
pipeline_nametextRequired - Pipeline name.
- Pipeline version ID
pipeline_version_idnumber - Pipeline version ID.At least 1.
- Pipeline version alias
pipeline_version_aliastext - Pipeline version alias.
Outputs
dataobject- The response from Amazon SageMaker.
Example output
{
"data": {
"CreatedBy": {
"DomainId": "example",
"IamIdentity": {
"Arn": "example",
"PrincipalId": "example",
"SourceIdentity": "example"
},
"UserProfileArn": "example",
"UserProfileName": "example"
},
"CreationTime": "example",
"LastModifiedBy": {
"DomainId": "example",
"IamIdentity": {
"Arn": "example",
"PrincipalId": "example",
"SourceIdentity": "example"
},
"UserProfileArn": "example",
"UserProfileName": "example"
},
"LastModifiedTime": "example",
"LastRunTime": "example",
"ParallelismConfiguration": {
"MaxParallelExecutionSteps": 1
},
"PipelineArn": "example",
"PipelineDefinition": "example",
"PipelineDescription": "example",
"PipelineDisplayName": "example",
"PipelineName": "example",
"PipelineStatus": "Active",
"PipelineVersionAliases": [
"example"
],
"PipelineVersionDescription": "example",
"PipelineVersionDisplayName": "example",
"RoleArn": "example"
}
}Describe pipeline execution
Get the details of a SageMaker pipeline execution.
Inputs
- Pipeline execution arn
pipeline_execution_arntextRequired - Pipeline execution arn.
Outputs
dataobject- The response from Amazon SageMaker.
Example output
{
"data": {
"CreatedBy": {
"DomainId": "example",
"IamIdentity": {
"Arn": "example",
"PrincipalId": "example",
"SourceIdentity": "example"
},
"UserProfileArn": "example",
"UserProfileName": "example"
},
"CreationTime": "example",
"FailureReason": "example",
"LastModifiedBy": {
"DomainId": "example",
"IamIdentity": {
"Arn": "example",
"PrincipalId": "example",
"SourceIdentity": "example"
},
"UserProfileArn": "example",
"UserProfileName": "example"
},
"LastModifiedTime": "example",
"MLflowConfig": {
"MlflowExperimentName": "example",
"MlflowResourceArn": "example"
},
"ParallelismConfiguration": {
"MaxParallelExecutionSteps": 1
},
"PipelineArn": "example",
"PipelineExecutionArn": "example",
"PipelineExecutionDescription": "example",
"PipelineExecutionDisplayName": "example",
"PipelineExecutionStatus": "Executing",
"PipelineExperimentConfig": {
"ExperimentName": "example",
"TrialName": "example"
},
"PipelineVersionAliases": [
"example"
],
"PipelineVersionId": 1,
"RoleArn": "example",
"SelectiveExecutionConfig": {
"SelectedSteps": [
{
"StepName": "example"
}
],
"SourcePipelineExecutionArn": "example"
}
}
}Describe processing job
Get the details of a SageMaker processing job.
Inputs
- Processing job name
processing_job_nametextRequired - Processing job name.
Outputs
dataobject- The response from Amazon SageMaker.
Example output
{
"data": {
"AppSpecification": {
"ContainerArguments": [
"example"
],
"ContainerEntrypoint": [
"example"
],
"ImageUri": "example"
},
"AutoMLJobArn": "example",
"CreationTime": "example",
"Environment": {},
"ExitMessage": "example",
"ExperimentConfig": {
"ExperimentName": "example",
"RunName": "example",
"TrialComponentDisplayName": "example",
"TrialName": "example"
},
"FailureReason": "example",
"LastModifiedTime": "example",
"MonitoringScheduleArn": "example",
"NetworkConfig": {
"EnableInterContainerTrafficEncryption": true,
"EnableNetworkIsolation": true,
"VpcConfig": {
"SecurityGroupIds": [
"example"
],
"Subnets": [
"example"
]
}
},
"ProcessingEndTime": "example",
"ProcessingInputs": [
{
"AppManaged": true,
"DatasetDefinition": {
"AthenaDatasetDefinition": {},
"DataDistributionType": "FullyReplicated",
"InputMode": "Pipe",
"LocalPath": "example",
"RedshiftDatasetDefinition": {}
},
"InputName": "example",
"S3Input": {
"LocalPath": "example",
"S3CompressionType": "None",
"S3DataDistributionType": "FullyReplicated",
"S3DataType": "ManifestFile",
"S3InputMode": "Pipe",
"S3Uri": "example"
}
}
],
"ProcessingJobArn": "example",
"ProcessingJobName": "example",
"ProcessingJobStatus": "InProgress",
"ProcessingOutputConfig": {
"KmsKeyId": "example",
"Outputs": [
{
"AppManaged": true,
"FeatureStoreOutput": {},
"OutputName": "example",
"S3Output": {}
}
]
},
"ProcessingResources": {
"ClusterConfig": {
"InstanceCount": 1,
"InstancePreferences": [
{}
],
"InstanceType": "ml.t3.medium",
"SelectedInstanceCount": 1,
"SelectedInstanceType": "ml.t3.medium",
"VolumeKmsKeyId": "example",
"VolumeSizeInGB": 1
}
},
"ProcessingStartTime": "example",
"RoleArn": "example",
"StoppingCondition": {
"MaxRuntimeInSeconds": 1
},
"TrainingJobArn": "example"
}
}Describe training job
Get the details of a SageMaker training job.
Inputs
- Training job name
training_job_nametextRequired - Training job name.
Outputs
dataobject- The response from Amazon SageMaker.
Example output
{
"data": {
"AlgorithmSpecification": {
"AlgorithmName": "example",
"ContainerArguments": [
"example"
],
"ContainerEntrypoint": [
"example"
],
"EnableSageMakerMetricsTimeSeries": true,
"MetricDefinitions": [
{
"Name": "example",
"Regex": "example"
}
],
"TrainingImage": "example",
"TrainingImageConfig": {
"TrainingRepositoryAccessMode": "Platform",
"TrainingRepositoryAuthConfig": {
"TrainingRepositoryCredentialsProviderArn": "example"
}
},
"TrainingInputMode": "Pipe"
},
"AutoMLJobArn": "example",
"BillableTimeInSeconds": 1,
"BillableTokenCount": 1,
"CheckpointConfig": {
"LocalPath": "example",
"S3Uri": "example"
},
"CreationTime": "example",
"DebugHookConfig": {
"CollectionConfigurations": [
{
"CollectionName": "example",
"CollectionParameters": {}
}
],
"HookParameters": {},
"LocalPath": "example",
"S3OutputPath": "example"
},
"DebugRuleConfigurations": [
{
"InstanceType": "ml.t3.medium",
"LocalPath": "example",
"RuleConfigurationName": "example",
"RuleEvaluatorImage": "example",
"RuleParameters": {},
"S3OutputPath": "example",
"VolumeSizeInGB": 1
}
],
"DebugRuleEvaluationStatuses": [
{
"LastModifiedTime": "example",
"RuleConfigurationName": "example",
"RuleEvaluationJobArn": "example",
"RuleEvaluationStatus": "InProgress",
"StatusDetails": "example"
}
],
"EnableInterContainerTrafficEncryption": true,
"EnableManagedSpotTraining": true,
"EnableNetworkIsolation": true,
"Environment": {},
"ExperimentConfig": {
"ExperimentName": "example",
"RunName": "example",
"TrialComponentDisplayName": "example",
"TrialName": "example"
},
"FailureReason": "example",
"FinalMetricDataList": [
{
"MetricName": "example",
"Timestamp": "example",
"Value": 1
}
],
"HyperParameters": {},
"InfraCheckConfig": {
"EnableInfraCheck": true
},
"InputDataConfig": [
{
"ChannelName": "example",
"CompressionType": "None",
"ContentType": "example",
"DataSource": {
"DatasetSource": {},
"FileSystemDataSource": {},
"S3DataSource": {}
},
"InputMode": "Pipe",
"RecordWrapperType": "None",
"ShuffleConfig": {
"Seed": 1
}
}
],
"LabelingJobArn": "example",
"LastModifiedTime": "example",
"MlflowConfig": {
"MlflowExperimentName": "example",
"MlflowResourceArn": "example",
"MlflowRunName": "example"
},
"MlflowDetails": {
"MlflowExperimentId": "example",
"MlflowRunId": "example"
},
"ModelArtifacts": {
"S3ModelArtifacts": "example"
},
"ModelPackageConfig": {
"ModelPackageGroupArn": "example",
"SourceModelPackageArn": "example"
},
"OutputDataConfig": {
"CompressionType": "GZIP",
"KmsKeyId": "example",
"S3OutputPath": "example"
},
"OutputModelPackageArn": "example",
"ProfilerConfig": {
"DisableProfiler": true,
"ProfilingIntervalInMilliseconds": 1,
"ProfilingParameters": {},
"S3OutputPath": "example"
},
"ProfilerRuleConfigurations": [
{
"InstanceType": "ml.t3.medium",
"LocalPath": "example",
"RuleConfigurationName": "example",
"RuleEvaluatorImage": "example",
"RuleParameters": {},
"S3OutputPath": "example",
"VolumeSizeInGB": 1
}
],
"ProfilerRuleEvaluationStatuses": [
{
"LastModifiedTime": "example",
"RuleConfigurationName": "example",
"RuleEvaluationJobArn": "example",
"RuleEvaluationStatus": "InProgress",
"StatusDetails": "example"
}
],
"ProfilingStatus": "Enabled",
"ProgressInfo": {
"CurrentEpoch": 1,
"CurrentStep": 1,
"MaxEpoch": 1,
"TotalStepCountPerEpoch": 1
},
"RemoteDebugConfig": {
"EnableRemoteDebug": true
},
"ResourceConfig": {
"InstanceCount": 1,
"InstanceGroups": [
{
"InstanceCount": 1,
"InstanceGroupName": "example",
"InstanceType": "ml.m4.xlarge"
}
],
"InstancePlacementConfig": {
"EnableMultipleJobs": true,
"PlacementSpecifications": [
{}
]
},
"InstancePreferences": [
{
"InstanceCount": 1,
"InstanceType": "ml.m4.xlarge",
"TrainingPlanArns": [
"example"
]
}
],
"InstanceType": "ml.m4.xlarge",
"KeepAlivePeriodInSeconds": 1,
"SelectedInstanceCount": 1,
"SelectedInstanceType": "ml.m4.xlarge",
"TrainingPlanArn": "example",
"VolumeKmsKeyId": "example",
"VolumeSizeInGB": 1
},
"RetryStrategy": {
"MaximumRetryAttempts": 1
},
"RoleArn": "example",
"SecondaryStatus": "Starting",
"SecondaryStatusTransitions": [
{
"EndTime": "example",
"StartTime": "example",
"Status": "Starting",
"StatusMessage": "example"
}
],
"ServerlessJobConfig": {
"AcceptEula": true,
"BaseModelArn": "example",
"CustomizationTechnique": "SFT",
"EvaluationType": "LLMAJEvaluation",
"EvaluatorArn": "example",
"JobType": "FineTuning",
"Peft": "LORA",
"SequenceLength": "example"
},
"StoppingCondition": {
"MaxPendingTimeInSeconds": 1,
"MaxRuntimeInSeconds": 1,
"MaxWaitTimeInSeconds": 1
},
"TensorBoardOutputConfig": {
"LocalPath": "example",
"S3OutputPath": "example"
},
"TrainingEndTime": "example",
"TrainingJobArn": "example",
"TrainingJobName": "example",
"TrainingJobStatus": "InProgress",
"TrainingStartTime": "example",
"TrainingTimeInSeconds": 1,
"TuningJobArn": "example",
"VpcConfig": {
"SecurityGroupIds": [
"example"
],
"Subnets": [
"example"
]
},
"WarmPoolStatus": {
"ResourceRetainedBillableTimeInSeconds": 1,
"ReusedByJob": "example",
"Status": "Available"
}
}
}Describe transform job
Get the details of a SageMaker transform job.
Inputs
- Transform job name
transform_job_nametextRequired - Transform job name.
Outputs
dataobject- The response from Amazon SageMaker.
Example output
{
"data": {
"AutoMLJobArn": "example",
"BatchStrategy": "MultiRecord",
"CreationTime": "example",
"DataCaptureConfig": {
"DestinationS3Uri": "example",
"GenerateInferenceId": true,
"KmsKeyId": "example"
},
"DataProcessing": {
"InputFilter": "example",
"JoinSource": "Input",
"OutputFilter": "example"
},
"Environment": {},
"ExperimentConfig": {
"ExperimentName": "example",
"RunName": "example",
"TrialComponentDisplayName": "example",
"TrialName": "example"
},
"FailureReason": "example",
"LabelingJobArn": "example",
"MaxConcurrentTransforms": 1,
"MaxPayloadInMB": 1,
"ModelClientConfig": {
"InvocationsMaxRetries": 1,
"InvocationsTimeoutInSeconds": 1
},
"ModelName": "example",
"TransformEndTime": "example",
"TransformInput": {
"CompressionType": "None",
"ContentType": "example",
"DataSource": {
"S3DataSource": {
"S3DataType": "ManifestFile",
"S3Uri": "example"
}
},
"SplitType": "None"
},
"TransformJobArn": "example",
"TransformJobName": "example",
"TransformJobStatus": "InProgress",
"TransformOutput": {
"Accept": "example",
"AssembleWith": "None",
"KmsKeyId": "example",
"S3OutputPath": "example"
},
"TransformResources": {
"InstanceCount": 1,
"InstanceType": "ml.m4.xlarge",
"TransformAmiVersion": "example",
"VolumeKmsKeyId": "example"
},
"TransformStartTime": "example"
}
}List endpoint configs
Get one page of endpoint configs.
Inputs
- Sort by
sort_bytext - Sort by.One of:
Name,CreationTime. - Sort order
sort_ordertext - Sort order.One of:
Ascending,Descending. - Next token
next_tokentext - Next token.
- Max results
max_resultsnumber - Max results.From 1 to 100.
- Name contains
name_containstext - Name contains.
- Creation time before
creation_time_beforedate and time - Creation time before.
- Creation time after
creation_time_afterdate and time - Creation time after.
Outputs
dataobject- The response from Amazon SageMaker.
Example output
{
"data": {
"EndpointConfigs": [
{
"CreationTime": "example",
"EndpointConfigArn": "example",
"EndpointConfigName": "example"
}
],
"NextToken": "example"
}
}List endpoints
Get one page of endpoints.
Inputs
- Sort by
sort_bytext - Sort by.One of:
Name,CreationTime,Status. - Sort order
sort_ordertext - Sort order.One of:
Ascending,Descending. - Next token
next_tokentext - Next token.
- Max results
max_resultsnumber - Max results.From 1 to 100.
- Name contains
name_containstext - Name contains.
- Creation time before
creation_time_beforedate and time - Creation time before.
- Creation time after
creation_time_afterdate and time - Creation time after.
- Last modified time before
last_modified_time_beforedate and time - Last modified time before.
- Last modified time after
last_modified_time_afterdate and time - Last modified time after.
- Status equals
status_equalstext - Status equals.One of:
OutOfService,Creating,Updating,SystemUpdating,RollingBack,InService,Deleting,Failed,UpdateRollbackFailed.
Outputs
dataobject- The response from Amazon SageMaker.
Example output
{
"data": {
"Endpoints": [
{
"CreationTime": "example",
"EndpointArn": "example",
"EndpointName": "example",
"EndpointStatus": "OutOfService",
"LastModifiedTime": "example"
}
],
"NextToken": "example"
}
}List model package groups
Get one page of model package groups.
Inputs
- Creation time after
creation_time_afterdate and time - Creation time after.
- Creation time before
creation_time_beforedate and time - Creation time before.
- Max results
max_resultsnumber - Max results.From 1 to 100.
- Name contains
name_containstext - Name contains.
- Next token
next_tokentext - Next token.
- Sort by
sort_bytext - Sort by.One of:
Name,CreationTime. - Sort order
sort_ordertext - Sort order.One of:
Ascending,Descending. - Cross account filter option
cross_account_filter_optiontext - Cross account filter option.One of:
SameAccount,CrossAccount.
Outputs
dataobject- The response from Amazon SageMaker.
Example output
{
"data": {
"ModelPackageGroupSummaryList": [
{
"CreationTime": "example",
"ManagedConfiguration": {
"ManagedStorageType": "Restricted"
},
"ModelPackageGroupArn": "example",
"ModelPackageGroupDescription": "example",
"ModelPackageGroupName": "example",
"ModelPackageGroupStatus": "Pending"
}
],
"NextToken": "example"
}
}List models
Get one page of models.
Inputs
- Sort by
sort_bytext - Sort by.One of:
Name,CreationTime. - Sort order
sort_ordertext - Sort order.One of:
Ascending,Descending. - Next token
next_tokentext - Next token.
- Max results
max_resultsnumber - Max results.From 1 to 100.
- Name contains
name_containstext - Name contains.
- Creation time before
creation_time_beforedate and time - Creation time before.
- Creation time after
creation_time_afterdate and time - Creation time after.
Outputs
dataobject- The response from Amazon SageMaker.
Example output
{
"data": {
"Models": [
{
"CreationTime": "example",
"ModelArn": "example",
"ModelName": "example"
}
],
"NextToken": "example"
}
}List notebook instances
Get one page of notebook instances.
Inputs
- Next token
next_tokentext - Next token.
- Max results
max_resultsnumber - Max results.From 1 to 100.
- Sort by
sort_bytext - Sort by.One of:
Name,CreationTime,Status. - Sort order
sort_ordertext - Sort order.One of:
Ascending,Descending. - Name contains
name_containstext - Name contains.
- Creation time before
creation_time_beforedate and time - Creation time before.
- Creation time after
creation_time_afterdate and time - Creation time after.
- Last modified time before
last_modified_time_beforedate and time - Last modified time before.
- Last modified time after
last_modified_time_afterdate and time - Last modified time after.
- Status equals
status_equalstext - Status equals.One of:
Pending,InService,Stopping,Stopped,Failed,Deleting,Updating,PendingMaintenance,InMaintenance. - Notebook instance lifecycle config name contains
notebook_instance_lifecycle_config_name_containstext - Notebook instance lifecycle config name contains.
- Default code repository contains
default_code_repository_containstext - Default code repository contains.
- Additional code repository equals
additional_code_repository_equalstext - Additional code repository equals.
Outputs
dataobject- The response from Amazon SageMaker.
Example output
{
"data": {
"NextToken": "example",
"NotebookInstances": [
{
"AdditionalCodeRepositories": [
"example"
],
"CreationTime": "example",
"DefaultCodeRepository": "example",
"InstanceType": "ml.t2.medium",
"LastModifiedTime": "example",
"NotebookInstanceArn": "example",
"NotebookInstanceLifecycleConfigName": "example",
"NotebookInstanceName": "example",
"NotebookInstanceStatus": "Pending",
"Url": "example"
}
]
}
}List pipeline executions
Get one page of pipeline executions.
Inputs
- Pipeline name
pipeline_nametextRequired - Pipeline name.
- Created after
created_afterdate and time - Created after.
- Created before
created_beforedate and time - Created before.
- Sort by
sort_bytext - Sort by.One of:
CreationTime,PipelineExecutionArn. - Sort order
sort_ordertext - Sort order.One of:
Ascending,Descending. - Next token
next_tokentext - Next token.
- Max results
max_resultsnumber - Max results.From 1 to 100.
- Pipeline version alias
pipeline_version_aliastext - Pipeline version alias.
Outputs
dataobject- The response from Amazon SageMaker.
Example output
{
"data": {
"NextToken": "example",
"PipelineExecutionSummaries": [
{
"PipelineExecutionArn": "example",
"PipelineExecutionDescription": "example",
"PipelineExecutionDisplayName": "example",
"PipelineExecutionFailureReason": "example",
"PipelineExecutionStatus": "Executing",
"PipelineVersionAliases": [
"example"
],
"StartTime": "example"
}
]
}
}List pipelines
Get one page of pipelines.
Inputs
- Pipeline name prefix
pipeline_name_prefixtext - Pipeline name prefix.
- Created after
created_afterdate and time - Created after.
- Created before
created_beforedate and time - Created before.
- Sort by
sort_bytext - Sort by.One of:
Name,CreationTime. - Sort order
sort_ordertext - Sort order.One of:
Ascending,Descending. - Next token
next_tokentext - Next token.
- Max results
max_resultsnumber - Max results.From 1 to 100.
- Managed by
managed_bytext - Managed by.One of:
AWS,CUSTOMER.
Outputs
dataobject- The response from Amazon SageMaker.
Example output
{
"data": {
"NextToken": "example",
"PipelineSummaries": [
{
"CreationTime": "example",
"LastExecutionTime": "example",
"LastModifiedTime": "example",
"PipelineArn": "example",
"PipelineDescription": "example",
"PipelineDisplayName": "example",
"PipelineName": "example",
"RoleArn": "example"
}
]
}
}List processing jobs
Get one page of processing jobs.
Inputs
- Creation time after
creation_time_afterdate and time - Creation time after.
- Creation time before
creation_time_beforedate and time - Creation time before.
- Last modified time after
last_modified_time_afterdate and time - Last modified time after.
- Last modified time before
last_modified_time_beforedate and time - Last modified time before.
- Name contains
name_containstext - Name contains.
- Status equals
status_equalstext - Status equals.One of:
InProgress,Completed,Failed,Stopping,Stopped. - Sort by
sort_bytext - Sort by.One of:
Name,CreationTime,Status. - Sort order
sort_ordertext - Sort order.One of:
Ascending,Descending. - Next token
next_tokentext - Next token.
- Max results
max_resultsnumber - Max results.From 1 to 100.
Outputs
dataobject- The response from Amazon SageMaker.
Example output
{
"data": {
"NextToken": "example",
"ProcessingJobSummaries": [
{
"CreationTime": "example",
"ExitMessage": "example",
"FailureReason": "example",
"LastModifiedTime": "example",
"ProcessingEndTime": "example",
"ProcessingJobArn": "example",
"ProcessingJobName": "example",
"ProcessingJobStatus": "InProgress"
}
]
}
}List training jobs
Get one page of training jobs.
Inputs
- Next token
next_tokentext - Next token.
- Max results
max_resultsnumber - Max results.From 1 to 100.
- Creation time after
creation_time_afterdate and time - Creation time after.
- Creation time before
creation_time_beforedate and time - Creation time before.
- Last modified time after
last_modified_time_afterdate and time - Last modified time after.
- Last modified time before
last_modified_time_beforedate and time - Last modified time before.
- Name contains
name_containstext - Name contains.
- Status equals
status_equalstext - Status equals.One of:
InProgress,Completed,Failed,Stopping,Stopped,Deleting. - Sort by
sort_bytext - Sort by.One of:
Name,CreationTime,Status. - Sort order
sort_ordertext - Sort order.One of:
Ascending,Descending. - Warm pool status equals
warm_pool_status_equalstext - Warm pool status equals.One of:
Available,Terminated,Reused,InUse. - Training plan arn equals
training_plan_arn_equalstext - Training plan arn equals.
Outputs
dataobject- The response from Amazon SageMaker.
Example output
{
"data": {
"NextToken": "example",
"TrainingJobSummaries": [
{
"CreationTime": "example",
"LastModifiedTime": "example",
"SecondaryStatus": "Starting",
"TrainingEndTime": "example",
"TrainingJobArn": "example",
"TrainingJobName": "example",
"TrainingJobStatus": "InProgress",
"TrainingPlanArn": "example",
"WarmPoolStatus": {
"ResourceRetainedBillableTimeInSeconds": 1,
"ReusedByJob": "example",
"Status": "Available"
}
}
]
}
}List transform jobs
Get one page of transform jobs.
Inputs
- Creation time after
creation_time_afterdate and time - Creation time after.
- Creation time before
creation_time_beforedate and time - Creation time before.
- Last modified time after
last_modified_time_afterdate and time - Last modified time after.
- Last modified time before
last_modified_time_beforedate and time - Last modified time before.
- Name contains
name_containstext - Name contains.
- Status equals
status_equalstext - Status equals.One of:
InProgress,Completed,Failed,Stopping,Stopped. - Sort by
sort_bytext - Sort by.One of:
Name,CreationTime,Status. - Sort order
sort_ordertext - Sort order.One of:
Ascending,Descending. - Next token
next_tokentext - Next token.
- Max results
max_resultsnumber - Max results.From 1 to 100.
Outputs
dataobject- The response from Amazon SageMaker.
Example output
{
"data": {
"NextToken": "example",
"TransformJobSummaries": [
{
"CreationTime": "example",
"FailureReason": "example",
"LastModifiedTime": "example",
"TransformEndTime": "example",
"TransformJobArn": "example",
"TransformJobName": "example",
"TransformJobStatus": "InProgress"
}
]
}
}