get_documentation_version
(**kwargs)¶Gets a documentation version.
See also: AWS API Documentation
Request Syntax
response = client.get_documentation_version(
restApiId='string',
documentationVersion='string'
)
[REQUIRED]
The string identifier of the associated RestApi.
[REQUIRED]
The version identifier of the to-be-retrieved documentation snapshot.
dict
Response Syntax
{
'version': 'string',
'createdDate': datetime(2015, 1, 1),
'description': 'string'
}
Response Structure
(dict) --
A snapshot of the documentation of an API.
version (string) --
The version identifier of the API documentation snapshot.
createdDate (datetime) --
The date when the API documentation snapshot is created.
description (string) --
The description of the API documentation snapshot.
Exceptions
APIGateway.Client.exceptions.UnauthorizedException
APIGateway.Client.exceptions.NotFoundException
APIGateway.Client.exceptions.TooManyRequestsException