github.com/aavshr/aws-sdk-go@v1.41.3/models/apis/forecastquery/2018-06-26/api-2.json (about)

     1  {
     2    "version":"2.0",
     3    "metadata":{
     4      "apiVersion":"2018-06-26",
     5      "endpointPrefix":"forecastquery",
     6      "jsonVersion":"1.1",
     7      "protocol":"json",
     8      "serviceFullName":"Amazon Forecast Query Service",
     9      "serviceId":"forecastquery",
    10      "signatureVersion":"v4",
    11      "signingName":"forecast",
    12      "targetPrefix":"AmazonForecastRuntime",
    13      "uid":"forecastquery-2018-06-26"
    14    },
    15    "operations":{
    16      "QueryForecast":{
    17        "name":"QueryForecast",
    18        "http":{
    19          "method":"POST",
    20          "requestUri":"/"
    21        },
    22        "input":{"shape":"QueryForecastRequest"},
    23        "output":{"shape":"QueryForecastResponse"},
    24        "errors":[
    25          {"shape":"ResourceNotFoundException"},
    26          {"shape":"ResourceInUseException"},
    27          {"shape":"InvalidInputException"},
    28          {"shape":"LimitExceededException"},
    29          {"shape":"InvalidNextTokenException"}
    30        ]
    31      }
    32    },
    33    "shapes":{
    34      "Arn":{
    35        "type":"string",
    36        "max":256,
    37        "pattern":"arn:([a-z\\d-]+):forecast:.*:.*:.+"
    38      },
    39      "AttributeName":{
    40        "type":"string",
    41        "max":256,
    42        "pattern":"^[a-zA-Z0-9\\_\\-]+$"
    43      },
    44      "AttributeValue":{
    45        "type":"string",
    46        "max":256
    47      },
    48      "DataPoint":{
    49        "type":"structure",
    50        "members":{
    51          "Timestamp":{"shape":"Timestamp"},
    52          "Value":{"shape":"Double"}
    53        }
    54      },
    55      "DateTime":{"type":"string"},
    56      "Double":{"type":"double"},
    57      "ErrorMessage":{"type":"string"},
    58      "Filters":{
    59        "type":"map",
    60        "key":{"shape":"AttributeName"},
    61        "value":{"shape":"AttributeValue"},
    62        "max":50,
    63        "min":1
    64      },
    65      "Forecast":{
    66        "type":"structure",
    67        "members":{
    68          "Predictions":{"shape":"Predictions"}
    69        }
    70      },
    71      "InvalidInputException":{
    72        "type":"structure",
    73        "members":{
    74          "Message":{"shape":"ErrorMessage"}
    75        },
    76        "exception":true
    77      },
    78      "InvalidNextTokenException":{
    79        "type":"structure",
    80        "members":{
    81          "Message":{"shape":"ErrorMessage"}
    82        },
    83        "exception":true
    84      },
    85      "LimitExceededException":{
    86        "type":"structure",
    87        "members":{
    88          "Message":{"shape":"ErrorMessage"}
    89        },
    90        "exception":true
    91      },
    92      "NextToken":{
    93        "type":"string",
    94        "max":3000,
    95        "min":1
    96      },
    97      "Predictions":{
    98        "type":"map",
    99        "key":{"shape":"Statistic"},
   100        "value":{"shape":"TimeSeries"}
   101      },
   102      "QueryForecastRequest":{
   103        "type":"structure",
   104        "required":[
   105          "ForecastArn",
   106          "Filters"
   107        ],
   108        "members":{
   109          "ForecastArn":{"shape":"Arn"},
   110          "StartDate":{"shape":"DateTime"},
   111          "EndDate":{"shape":"DateTime"},
   112          "Filters":{"shape":"Filters"},
   113          "NextToken":{"shape":"NextToken"}
   114        }
   115      },
   116      "QueryForecastResponse":{
   117        "type":"structure",
   118        "members":{
   119          "Forecast":{"shape":"Forecast"}
   120        }
   121      },
   122      "ResourceInUseException":{
   123        "type":"structure",
   124        "members":{
   125          "Message":{"shape":"ErrorMessage"}
   126        },
   127        "exception":true
   128      },
   129      "ResourceNotFoundException":{
   130        "type":"structure",
   131        "members":{
   132          "Message":{"shape":"ErrorMessage"}
   133        },
   134        "exception":true
   135      },
   136      "Statistic":{
   137        "type":"string",
   138        "max":4
   139      },
   140      "TimeSeries":{
   141        "type":"list",
   142        "member":{"shape":"DataPoint"}
   143      },
   144      "Timestamp":{"type":"string"}
   145    }
   146  }