AppRunner.Client.
delete_observability_configuration
(**kwargs)¶Delete an App Runner observability configuration resource. You can delete a specific revision or the latest active revision. You can't delete a configuration that's used by one or more App Runner services.
See also: AWS API Documentation
Request Syntax
response = client.delete_observability_configuration(
ObservabilityConfigurationArn='string'
)
[REQUIRED]
The Amazon Resource Name (ARN) of the App Runner observability configuration that you want to delete.
The ARN can be a full observability configuration ARN, or a partial ARN ending with either .../name
or .../name/revision
. If a revision isn't specified, the latest active revision is deleted.
{
'ObservabilityConfiguration': {
'ObservabilityConfigurationArn': 'string',
'ObservabilityConfigurationName': 'string',
'TraceConfiguration': {
'Vendor': 'AWSXRAY'
},
'ObservabilityConfigurationRevision': 123,
'Latest': True|False,
'Status': 'ACTIVE'|'INACTIVE',
'CreatedAt': datetime(2015, 1, 1),
'DeletedAt': datetime(2015, 1, 1)
}
}
Response Structure
A description of the App Runner observability configuration that this request just deleted.
The Amazon Resource Name (ARN) of this observability configuration.
The customer-provided observability configuration name. It can be used in multiple revisions of a configuration.
The configuration of the tracing feature within this observability configuration. If not specified, tracing isn't enabled.
The implementation provider chosen for tracing App Runner services.
The revision of this observability configuration. It's unique among all the active configurations ( "Status": "ACTIVE"
) that share the same ObservabilityConfigurationName
.
It's set to true
for the configuration with the highest Revision
among all configurations that share the same ObservabilityConfigurationName
. It's set to false
otherwise.
The current state of the observability configuration. If the status of a configuration revision is INACTIVE
, it was deleted and can't be used. Inactive configuration revisions are permanently removed some time after they are deleted.
The time when the observability configuration was created. It's in Unix time stamp format.
The time when the observability configuration was deleted. It's in Unix time stamp format.
Exceptions
AppRunner.Client.exceptions.InvalidRequestException
AppRunner.Client.exceptions.InternalServiceErrorException
AppRunner.Client.exceptions.ResourceNotFoundException