Heat API exception subclasses - maps API response errors to AWS Errors.
heat.api.aws.exception.
AlreadyExistsError
(detail=None)[source]¶Bases: heat.api.aws.exception.HeatAPIException
Resource with the name requested already exists.
code
= 400¶explanation
= 'Resource with the name requested already exists'¶title
= 'AlreadyExists'¶heat.api.aws.exception.
HeatAPIException
(detail=None)[source]¶Bases: webob.exc.HTTPError
webob HTTPError subclass that creates a serialized body.
Subclass webob HTTPError so we can correctly serialize the wsgi response into the http response body, using the format specified by the request. Note this should not be used directly, instead use the subclasses defined below which map to AWS API errors.
code
= 400¶err_type
= 'Sender'¶explanation
= 'Generic HeatAPIException, please use specific subclasses!'¶get_unserialized_body
()[source]¶Return a dict suitable for serialization in the wsgi controller.
This wraps the exception details in a format which maps to the expected format for the AWS API.
title
= 'HeatAPIException'¶heat.api.aws.exception.
HeatAPINotImplementedError
(detail=None)[source]¶Bases: heat.api.aws.exception.HeatAPIException
API action is not yet implemented.
code
= 500¶err_type
= 'Server'¶explanation
= 'The requested action is not yet implemented'¶title
= 'APINotImplemented'¶heat.api.aws.exception.
HeatAccessDeniedError
(detail=None)[source]¶Bases: heat.api.aws.exception.HeatAPIException
Authentication fails due to user IAM group memberships.
This is the response given when authentication fails due to user IAM group memberships meaning we deny access.
code
= 403¶explanation
= 'User is not authorized to perform action'¶title
= 'AccessDenied'¶heat.api.aws.exception.
HeatActionInProgressError
(detail=None)[source]¶Bases: heat.api.aws.exception.HeatAPIException
Cannot perform action on stack in its current state.
code
= 400¶explanation
= 'Cannot perform action on stack while other actions are in progress'¶title
= 'InvalidAction'¶heat.api.aws.exception.
HeatIncompleteSignatureError
(detail=None)[source]¶Bases: heat.api.aws.exception.HeatAPIException
The request signature does not conform to AWS standards.
code
= 400¶explanation
= 'The request signature does not conform to AWS standards'¶title
= 'IncompleteSignature'¶heat.api.aws.exception.
HeatInternalFailureError
(detail=None)[source]¶Bases: heat.api.aws.exception.HeatAPIException
The request processing has failed due to some unknown error.
code
= 500¶err_type
= 'Server'¶explanation
= 'The request processing has failed due to an internal error'¶title
= 'InternalFailure'¶heat.api.aws.exception.
HeatInvalidActionError
(detail=None)[source]¶Bases: heat.api.aws.exception.HeatAPIException
The action or operation requested is invalid.
code
= 400¶explanation
= 'The action or operation requested is invalid'¶title
= 'InvalidAction'¶heat.api.aws.exception.
HeatInvalidClientTokenIdError
(detail=None)[source]¶Bases: heat.api.aws.exception.HeatAPIException
The X.509 certificate or AWS Access Key ID provided does not exist.
code
= 403¶explanation
= 'The certificate or AWS Key ID provided does not exist'¶title
= 'InvalidClientTokenId'¶heat.api.aws.exception.
HeatInvalidParameterCombinationError
(detail=None)[source]¶Bases: heat.api.aws.exception.HeatAPIException
Parameters that must not be used together were used together.
code
= 400¶explanation
= 'Incompatible parameters were used together'¶title
= 'InvalidParameterCombination'¶heat.api.aws.exception.
HeatInvalidParameterValueError
(detail=None)[source]¶Bases: heat.api.aws.exception.HeatAPIException
A bad or out-of-range value was supplied for the input parameter.
code
= 400¶explanation
= 'A bad or out-of-range value was supplied'¶title
= 'InvalidParameterValue'¶heat.api.aws.exception.
HeatInvalidQueryParameterError
(detail=None)[source]¶Bases: heat.api.aws.exception.HeatAPIException
AWS query string is malformed, does not adhere to AWS standards.
code
= 400¶explanation
= 'AWS query string is malformed, does not adhere to AWS spec'¶title
= 'InvalidQueryParameter'¶heat.api.aws.exception.
HeatMalformedQueryStringError
(detail=None)[source]¶Bases: heat.api.aws.exception.HeatAPIException
The query string is malformed.
code
= 404¶explanation
= 'The query string is malformed'¶title
= 'MalformedQueryString'¶heat.api.aws.exception.
HeatMissingActionError
(detail=None)[source]¶Bases: heat.api.aws.exception.HeatAPIException
The request is missing an action or operation parameter.
code
= 400¶explanation
= 'The request is missing an action or operation parameter'¶title
= 'MissingAction'¶heat.api.aws.exception.
HeatMissingAuthenticationTokenError
(detail=None)[source]¶Bases: heat.api.aws.exception.HeatAPIException
Does not contain a valid AWS Access Key or certificate.
Request must contain either a valid (registered) AWS Access Key ID or X.509 certificate.
code
= 403¶explanation
= 'Does not contain a valid AWS Access Key or certificate'¶title
= 'MissingAuthenticationToken'¶heat.api.aws.exception.
HeatMissingParameterError
(detail=None)[source]¶Bases: heat.api.aws.exception.HeatAPIException
A mandatory input parameter is missing.
An input parameter that is mandatory for processing the request is missing.
code
= 400¶explanation
= 'A mandatory input parameter is missing'¶title
= 'MissingParameter'¶heat.api.aws.exception.
HeatOptInRequiredError
(detail=None)[source]¶Bases: heat.api.aws.exception.HeatAPIException
The AWS Access Key ID needs a subscription for the service.
code
= 403¶explanation
= 'The AWS Access Key ID needs a subscription for the service'¶title
= 'OptInRequired'¶heat.api.aws.exception.
HeatRequestExpiredError
(detail=None)[source]¶Bases: heat.api.aws.exception.HeatAPIException
Request expired or more than 15 minutes in the future.
Request is past expires date or the request date (either with 15 minute padding), or the request date occurs more than 15 minutes in the future.
code
= 400¶explanation
= 'Request expired or more than 15mins in the future'¶title
= 'RequestExpired'¶heat.api.aws.exception.
HeatRequestLimitExceeded
(detail=None)[source]¶Bases: heat.api.aws.exception.HeatAPIException
Payload size of the request exceeds maximum allowed size.
code
= 400¶explanation
= 'Payload exceeds maximum allowed size'¶title
= 'RequestLimitExceeded'¶Bases: heat.api.aws.exception.HeatAPIException
The request has failed due to a temporary failure of the server.
heat.api.aws.exception.
HeatSignatureError
(detail=None)[source]¶Bases: heat.api.aws.exception.HeatAPIException
Authentication fails due to a bad signature.
code
= 403¶explanation
= 'The request signature we calculated does not match the signature you provided'¶title
= 'SignatureDoesNotMatch'¶Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.