Skip to main content

training_plan_extension_histories

Creates, updates, deletes, gets or lists a training_plan_extension_histories resource.

Overview​

Nametraining_plan_extension_histories
TypeResource
Idaws.sagemaker.training_plan_extension_histories

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
availability_zonestringThe Availability Zone of the extension.
availability_zone_idstringThe Availability Zone ID of the extension. (pattern: <code>[a-z]{3}\d-az\d</code>)
currency_codestringThe currency code for the upfront fee (e.g., USD).
duration_hoursintegerThe duration of the extension in hours.
end_datestring (date-time)The end date of the extension period.
extended_atstring (date-time)The timestamp when the extension was created.
payment_statusstringThe payment processing status of the extension.
start_datestring (date-time)The start date of the extension period.
statusstringThe current status of the extension (e.g., Pending, Active, Scheduled, Failed, Expired).
training_plan_extension_offering_idstringThe unique identifier of the extension offering that was used to create this extension.
upfront_feestringThe upfront fee for the extension.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_training_plan_extension_historyselectregionRetrieves the extension history for a specified training plan. The response includes details about each extension, such as the offering ID, start and end dates, status, payment status, and cost information.

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples​

Retrieves the extension history for a specified training plan. The response includes details about each extension, such as the offering ID, start and end dates, status, payment status, and cost information.

SELECT
availability_zone,
availability_zone_id,
currency_code,
duration_hours,
end_date,
extended_at,
payment_status,
start_date,
status,
training_plan_extension_offering_id,
upfront_fee
FROM aws.sagemaker.training_plan_extension_histories
WHERE region = '{{ region }}' -- required
;