describe_explainability
(**kwargs)¶Describes an Explainability resource created using the CreateExplainability operation.
See also: AWS API Documentation
Request Syntax
response = client.describe_explainability(
ExplainabilityArn='string'
)
[REQUIRED]
The Amazon Resource Name (ARN) of the Explaianability to describe.
{
'ExplainabilityArn': 'string',
'ExplainabilityName': 'string',
'ResourceArn': 'string',
'ExplainabilityConfig': {
'TimeSeriesGranularity': 'ALL'|'SPECIFIC',
'TimePointGranularity': 'ALL'|'SPECIFIC'
},
'EnableVisualization': True|False,
'DataSource': {
'S3Config': {
'Path': 'string',
'RoleArn': 'string',
'KMSKeyArn': 'string'
}
},
'Schema': {
'Attributes': [
{
'AttributeName': 'string',
'AttributeType': 'string'|'integer'|'float'|'timestamp'|'geolocation'
},
]
},
'StartDateTime': 'string',
'EndDateTime': 'string',
'EstimatedTimeRemainingInMinutes': 123,
'Message': 'string',
'Status': 'string',
'CreationTime': datetime(2015, 1, 1),
'LastModificationTime': datetime(2015, 1, 1)
}
Response Structure
The Amazon Resource Name (ARN) of the Explainability.
The name of the Explainability.
The Amazon Resource Name (ARN) of the Predictor or Forecast used to create the Explainability resource.
The configuration settings that define the granularity of time series and time points for the Explainability.
To create an Explainability for all time series in your datasets, use ALL
. To create an Explainability for specific time series in your datasets, use SPECIFIC
.
Specify time series by uploading a CSV or Parquet file to an Amazon S3 bucket and set the location within the DataDestination data type.
To create an Explainability for all time points in your forecast horizon, use ALL
. To create an Explainability for specific time points in your forecast horizon, use SPECIFIC
.
Specify time points with the StartDateTime
and EndDateTime
parameters within the CreateExplainability operation.
Whether the visualization was enabled for the Explainability resource.
The source of your data, an Identity and Access Management (IAM) role that allows Amazon Forecast to access the data and, optionally, an Key Management Service (KMS) key.
The path to the data stored in an Amazon Simple Storage Service (Amazon S3) bucket along with the credentials to access the data.
The path to an Amazon Simple Storage Service (Amazon S3) bucket or file(s) in an Amazon S3 bucket.
The ARN of the Identity and Access Management (IAM) role that Amazon Forecast can assume to access the Amazon S3 bucket or files. If you provide a value for the KMSKeyArn
key, the role must allow access to the key.
Passing a role across Amazon Web Services accounts is not allowed. If you pass a role that isn't in your account, you get an InvalidInputException
error.
The Amazon Resource Name (ARN) of an Key Management Service (KMS) key.
Defines the fields of a dataset.
An array of attributes specifying the name and type of each field in a dataset.
An attribute of a schema, which defines a dataset field. A schema attribute is required for every field in a dataset. The Schema object contains an array of SchemaAttribute
objects.
The name of the dataset field.
The data type of the field.
For a related time series dataset, other than date, item_id, and forecast dimensions attributes, all attributes should be of numerical type (integer/float).
If TimePointGranularity
is set to SPECIFIC
, the first time point in the Explainability.
If TimePointGranularity
is set to SPECIFIC
, the last time point in the Explainability.
The estimated time remaining in minutes for the CreateExplainability job to complete.
If an error occurred, a message about the error.
The status of the Explainability resource. States include:
ACTIVE
CREATE_PENDING
, CREATE_IN_PROGRESS
, CREATE_FAILED
CREATE_STOPPING
, CREATE_STOPPED
DELETE_PENDING
, DELETE_IN_PROGRESS
, DELETE_FAILED
When the Explainability resource was created.
The last time the resource was modified. The timestamp depends on the status of the job:
CREATE_PENDING
- The CreationTime
.CREATE_IN_PROGRESS
- The current timestamp.CREATE_STOPPING
- The current timestamp.CREATE_STOPPED
- When the job stopped.ACTIVE
or CREATE_FAILED
- When the job finished or failed.Exceptions
ForecastService.Client.exceptions.InvalidInputException
ForecastService.Client.exceptions.ResourceNotFoundException