Skip to main content

record_histories

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

Overview

Namerecord_histories
TypeResource
Idaws.servicecatalog.record_histories

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
created_timestring (date-time)The UTC time stamp of the creation time.
launch_role_arnstringThe ARN of the launch role associated with the provisioned product. (pattern: <code>arn:[a-z0-9-.]{1,63}:iam::[a-z0-9-.]{0,63}:role/.{0,1023}</code>)
path_idstringThe path identifier. (pattern: <code>^[a-zA-Z0-9_-]*</code>)
product_idstringThe product identifier. (pattern: <code>^[a-zA-Z0-9_-]*</code>)
provisioned_product_idstringThe identifier of the provisioned product. (pattern: <code>^[a-zA-Z0-9_-]*</code>)
provisioned_product_namestringThe user-friendly name of the provisioned product. (pattern: <code>[a-zA-Z0-9][a-zA-Z0-9._-]*</code>)
provisioned_product_typestringThe type of provisioned product. The supported values are CFN_STACK, CFN_STACKSET, TERRAFORM_OPEN_SOURCE, TERRAFORM_CLOUD, and EXTERNAL.
provisioning_artifact_idstringThe identifier of the provisioning artifact. (pattern: <code>^[a-zA-Z0-9_-]*</code>)
record_errorsarrayThe errors that occurred.
record_idstringThe identifier of the record. (pattern: <code>^[a-zA-Z0-9_-]*</code>)
record_tagsarrayOne or more tags.
record_typestringThe record type. PROVISION_PRODUCT UPDATE_PROVISIONED_PRODUCT TERMINATE_PROVISIONED_PRODUCT
statusstringThe status of the provisioned product. CREATED - The request was created but the operation has not started. IN_PROGRESS - The requested operation is in progress. IN_PROGRESS_IN_ERROR - The provisioned product is under change but the requested operation failed and some remediation is occurring. For example, a rollback. SUCCEEDED - The requested operation has successfully completed. FAILED - The requested operation has unsuccessfully completed. Investigate using the error messages returned. (CREATED, IN_PROGRESS, IN_PROGRESS_IN_ERROR, SUCCEEDED, FAILED)
updated_timestring (date-time)The time when the record was last updated.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_record_historyselectregionLists the specified requests or all performed requests.

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

Lists the specified requests or all performed requests.

SELECT
created_time,
launch_role_arn,
path_id,
product_id,
provisioned_product_id,
provisioned_product_name,
provisioned_product_type,
provisioning_artifact_id,
record_errors,
record_id,
record_tags,
record_type,
status,
updated_time
FROM aws.servicecatalog.record_histories
WHERE region = '{{ region }}' -- required
;