describe_archive
(**kwargs)¶Retrieves details about an archive.
See also: AWS API Documentation
Request Syntax
response = client.describe_archive(
ArchiveName='string'
)
[REQUIRED]
The name of the archive to retrieve.
{
'ArchiveArn': 'string',
'ArchiveName': 'string',
'EventSourceArn': 'string',
'Description': 'string',
'EventPattern': 'string',
'State': 'ENABLED'|'DISABLED'|'CREATING'|'UPDATING'|'CREATE_FAILED'|'UPDATE_FAILED',
'StateReason': 'string',
'RetentionDays': 123,
'SizeBytes': 123,
'EventCount': 123,
'CreationTime': datetime(2015, 1, 1)
}
Response Structure
The ARN of the archive.
The name of the archive.
The ARN of the event source associated with the archive.
The description of the archive.
The event pattern used to filter events sent to the archive.
The state of the archive.
The reason that the archive is in the state.
The number of days to retain events for in the archive.
The size of the archive in bytes.
The number of events in the archive.
The time at which the archive was created.
Exceptions
EventBridge.Client.exceptions.ResourceAlreadyExistsException
EventBridge.Client.exceptions.ResourceNotFoundException
EventBridge.Client.exceptions.InternalException