create_documentation_version
¶
create_documentation_version(
rest_api_id: String,
documentation_version: String,
*,
config_overrides: Optional[APIGatewayClientConfig] = None,
stage_name: Optional[String] = None,
description: Optional[String] = None,
) -> DocumentationVersion
Creates a documentation version
Parameters:
-
rest_api_id(String) –The string identifier of the associated RestApi.
-
documentation_version(String) –The version identifier of the new snapshot.
-
stage_name(Optional[String], default:None) –The stage name to be associated with the new documentation snapshot.
-
description(Optional[String], default:None) –A description about the new documentation snapshot.
Raises:
-
BadRequestException–The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.
-
ConflictException–The request configuration has conflicts. For details, see the accompanying error message.
-
LimitExceededException–The request exceeded the rate limit. Retry after the specified time period.
-
NotFoundException–The requested resource is not found. Make sure that the request URI is correct.
-
TooManyRequestsException–The request has reached its throttling limit. Retry after the specified time period.
-
UnauthorizedException–The request is denied because the caller has insufficient permissions.
-
UnknownServiceError–The service returned an error code this client does not model.