View a markdown version of this page

拡張機能を検索する - Amazon SageMaker AI

翻訳は機械翻訳により提供されています。提供された翻訳内容と英語版の間で齟齬、不一致または矛盾がある場合、英語版が優先します。

拡張機能を検索する

API を TrainingPlanArnパラメータSearchTrainingPlanOfferingsとともに使用して、トレーニングプランで使用できる拡張機能を見つけます。

次の例では、 AWS CLI コマンドを使用して、既存のトレーニングプランの拡張機能を検索します。

aws sagemaker search-training-plan-offerings \ --training-plan-arn "arn:aws:sagemaker:us-east-2:123456789012:training-plan/my-training-plan" \ --duration-hours 48

この JSON ドキュメントは、SageMaker トレーニングプラン API からのサンプルレスポンスです。レスポンスには、指定されたトレーニングプランで利用可能な拡張機能TrainingPlanExtensionOfferingsが含まれます。

{ "TrainingPlanOfferings": [], "TrainingPlanExtensionOfferings": [ { "TrainingPlanExtensionOfferingId": "tpeo-SHA-256-hash-value", "AvailabilityZone": "us-east-2a", "StartDate": "2025-09-23T12:00:00Z", "EndDate": "2025-09-25T12:00:00Z", "DurationHours": 48, "UpfrontFee": "xxxx.xx", "CurrencyCode": "USD" } ] }

以下のセクションでは、拡張機能を検索するときに SearchTrainingPlanOfferings API オペレーションの必須およびオプションの入力リクエストパラメータを定義します。

必須パラメータ

SearchTrainingPlanOfferings API を呼び出して拡張機能を検索する場合は、次の値を指定する必要があります。

  • TrainingPlanArn: 拡張するトレーニングプランの 。は、ステータスが Activeまたは の既存のトレーニングプランを参照TrainingPlanArnする必要がありますScheduled

任意指定のパラメータ

以下のセクションでは、拡張機能を検索するときに SearchTrainingPlanOfferings API リクエストに渡すことができるオプションパラメータの詳細について説明します。

  • DurationHours: 拡張機能に必要な時間単位の期間。DurationHours は、24 の最も近い倍数に切り上げられます。