record_histories
Creates, updates, deletes, gets or lists a record_histories resource.
Overview
| Name | record_histories |
| Type | Resource |
| Id | aws.servicecatalog.record_histories |
Fields
The following fields are returned by SELECT queries:
- list_record_history
| Name | Datatype | Description |
|---|---|---|
created_time | string (date-time) | The UTC time stamp of the creation time. |
launch_role_arn | string | The 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_id | string | The path identifier. (pattern: <code>^[a-zA-Z0-9_-]*</code>) |
product_id | string | The product identifier. (pattern: <code>^[a-zA-Z0-9_-]*</code>) |
provisioned_product_id | string | The identifier of the provisioned product. (pattern: <code>^[a-zA-Z0-9_-]*</code>) |
provisioned_product_name | string | The user-friendly name of the provisioned product. (pattern: <code>[a-zA-Z0-9][a-zA-Z0-9._-]*</code>) |
provisioned_product_type | string | The type of provisioned product. The supported values are CFN_STACK, CFN_STACKSET, TERRAFORM_OPEN_SOURCE, TERRAFORM_CLOUD, and EXTERNAL. |
provisioning_artifact_id | string | The identifier of the provisioning artifact. (pattern: <code>^[a-zA-Z0-9_-]*</code>) |
record_errors | array | The errors that occurred. |
record_id | string | The identifier of the record. (pattern: <code>^[a-zA-Z0-9_-]*</code>) |
record_tags | array | One or more tags. |
record_type | string | The record type. PROVISION_PRODUCT UPDATE_PROVISIONED_PRODUCT TERMINATE_PROVISIONED_PRODUCT |
status | string | The 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_time | string (date-time) | The time when the record was last updated. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_record_history | select | region | Lists 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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- list_record_history
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
;