Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataPoint

type DataPoint struct {

	// The timestamp of the specific forecast.
	Timestamp *string

	// The forecast value.
	Value *float64
}

    The forecast value for a specific date. Part of the Forecast object.

    type Forecast

    type Forecast struct {
    
    	// The forecast. The string of the string-to-array map is one of the following
    	// values:
    	//
    	// * p10
    	//
    	// * p50
    	//
    	// * p90
    	Predictions map[string][]DataPoint
    }

      Provides information about a forecast. Returned as part of the QueryForecast response.

      type InvalidInputException

      type InvalidInputException struct {
      	Message *string
      }

        The value is invalid or is too long.

        func (*InvalidInputException) Error

        func (e *InvalidInputException) Error() string

        func (*InvalidInputException) ErrorCode

        func (e *InvalidInputException) ErrorCode() string

        func (*InvalidInputException) ErrorFault

        func (e *InvalidInputException) ErrorFault() smithy.ErrorFault

        func (*InvalidInputException) ErrorMessage

        func (e *InvalidInputException) ErrorMessage() string

        type InvalidNextTokenException

        type InvalidNextTokenException struct {
        	Message *string
        }

          The token is not valid. Tokens expire after 24 hours.

          func (*InvalidNextTokenException) Error

          func (e *InvalidNextTokenException) Error() string

          func (*InvalidNextTokenException) ErrorCode

          func (e *InvalidNextTokenException) ErrorCode() string

          func (*InvalidNextTokenException) ErrorFault

          func (*InvalidNextTokenException) ErrorMessage

          func (e *InvalidNextTokenException) ErrorMessage() string

          type LimitExceededException

          type LimitExceededException struct {
          	Message *string
          }

            The limit on the number of requests per second has been exceeded.

            func (*LimitExceededException) Error

            func (e *LimitExceededException) Error() string

            func (*LimitExceededException) ErrorCode

            func (e *LimitExceededException) ErrorCode() string

            func (*LimitExceededException) ErrorFault

            func (e *LimitExceededException) ErrorFault() smithy.ErrorFault

            func (*LimitExceededException) ErrorMessage

            func (e *LimitExceededException) ErrorMessage() string

            type ResourceInUseException

            type ResourceInUseException struct {
            	Message *string
            }

              The specified resource is in use.

              func (*ResourceInUseException) Error

              func (e *ResourceInUseException) Error() string

              func (*ResourceInUseException) ErrorCode

              func (e *ResourceInUseException) ErrorCode() string

              func (*ResourceInUseException) ErrorFault

              func (e *ResourceInUseException) ErrorFault() smithy.ErrorFault

              func (*ResourceInUseException) ErrorMessage

              func (e *ResourceInUseException) ErrorMessage() string

              type ResourceNotFoundException

              type ResourceNotFoundException struct {
              	Message *string
              }

                We can't find that resource. Check the information that you've provided and try again.

                func (*ResourceNotFoundException) Error

                func (e *ResourceNotFoundException) Error() string

                func (*ResourceNotFoundException) ErrorCode

                func (e *ResourceNotFoundException) ErrorCode() string

                func (*ResourceNotFoundException) ErrorFault

                func (*ResourceNotFoundException) ErrorMessage

                func (e *ResourceNotFoundException) ErrorMessage() string

                Source Files