File: types.go

package info (click to toggle)
golang-github-aws-aws-sdk-go-v2 1.24.1-2~bpo12%2B1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm-backports
  • size: 554,032 kB
  • sloc: java: 15,941; makefile: 419; sh: 175
file content (39 lines) | stat: -rw-r--r-- 1,042 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
// 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