File: types.go

package info (click to toggle)
golang-github-aws-aws-sdk-go-v2 1.17.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 384,244 kB
  • sloc: java: 13,538; makefile: 400; sh: 137
file content (44 lines) | stat: -rw-r--r-- 1,055 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
// Code generated by smithy-go-codegen DO NOT EDIT.

package types

import (
	smithydocument "github.com/aws/smithy-go/document"
)

// The forecast value for a specific date. Part of the Forecast object.
type DataPoint struct {

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

	// The forecast value.
	Value *float64

	noSmithyDocumentSerde
}

// Provides information about a forecast. Returned as part of the QueryForecast
// response.
type Forecast struct {

	// The forecast. The string of the string-to-array map is one of the following
	// values:
	//
	// * p10
	//
	// * p50
	//
	// * p90
	//
	// The default setting is ["0.1", "0.5", "0.9"]. Use
	// the optional ForecastTypes parameter of the CreateForecast
	// (https://docs.aws.amazon.com/forecast/latest/dg/API_CreateForecast.html)
	// operation to change the values. The values will vary depending on how this is
	// set, with a minimum of 1 and a maximum of 5.
	Predictions map[string][]DataPoint

	noSmithyDocumentSerde
}

type noSmithyDocumentSerde = smithydocument.NoSerde