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 (112 lines) | stat: -rw-r--r-- 3,269 bytes parent folder | download | duplicates (2)
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
// Code generated by smithy-go-codegen DO NOT EDIT.

package types

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

// The details of an Elastic Inference Accelerator type.
type AcceleratorType struct {

	// The name of the Elastic Inference Accelerator type.
	AcceleratorTypeName *string

	// The memory information of the Elastic Inference Accelerator type.
	MemoryInfo *MemoryInfo

	// The throughput information of the Elastic Inference Accelerator type.
	ThroughputInfo []KeyValuePair

	noSmithyDocumentSerde
}

// The offering for an Elastic Inference Accelerator type.
type AcceleratorTypeOffering struct {

	// The name of the Elastic Inference Accelerator type.
	AcceleratorType *string

	// The location for the offering. It will return either the region, availability
	// zone or availability zone id for the offering depending on the locationType
	// value.
	Location *string

	// The location type for the offering. It can assume the following values: region:
	// defines that the offering is at the regional level. availability-zone: defines
	// that the offering is at the availability zone level. availability-zone-id:
	// defines that the offering is at the availability zone level, defined by the
	// availability zone id.
	LocationType LocationType

	noSmithyDocumentSerde
}

// The details of an Elastic Inference Accelerator.
type ElasticInferenceAccelerator struct {

	// The health of the Elastic Inference Accelerator.
	AcceleratorHealth *ElasticInferenceAcceleratorHealth

	// The ID of the Elastic Inference Accelerator.
	AcceleratorId *string

	// The type of the Elastic Inference Accelerator.
	AcceleratorType *string

	// The ARN of the resource that the Elastic Inference Accelerator is attached to.
	AttachedResource *string

	// The availability zone where the Elastic Inference Accelerator is present.
	AvailabilityZone *string

	noSmithyDocumentSerde
}

// The health details of an Elastic Inference Accelerator.
type ElasticInferenceAcceleratorHealth struct {

	// The health status of the Elastic Inference Accelerator.
	Status *string

	noSmithyDocumentSerde
}

// A filter expression for the Elastic Inference Accelerator list.
type Filter struct {

	// The filter name for the Elastic Inference Accelerator list. It can assume the
	// following values: accelerator-type: the type of Elastic Inference Accelerator to
	// filter for. instance-id: an EC2 instance id to filter for.
	Name *string

	// The values for the filter of the Elastic Inference Accelerator list.
	Values []string

	noSmithyDocumentSerde
}

// A throughput entry for an Elastic Inference Accelerator type.
type KeyValuePair struct {

	// The throughput value of the Elastic Inference Accelerator type. It can assume
	// the following values: TFLOPS16bit: the throughput expressed in 16bit TeraFLOPS.
	// TFLOPS32bit: the throughput expressed in 32bit TeraFLOPS.
	Key *string

	// The throughput value of the Elastic Inference Accelerator type.
	Value int32

	noSmithyDocumentSerde
}

// The memory information of an Elastic Inference Accelerator type.
type MemoryInfo struct {

	// The size in mebibytes of the Elastic Inference Accelerator type.
	SizeInMiB int32

	noSmithyDocumentSerde
}

type noSmithyDocumentSerde = smithydocument.NoSerde