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 (126 lines) | stat: -rw-r--r-- 3,634 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
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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
// Code generated by smithy-go-codegen DO NOT EDIT.

package types

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

// The error that has occurred when attempting to retrieve a batch of Records.
type BatchGetRecordError struct {

	// The error code of an error that has occurred when attempting to retrieve a
	// batch of Records. For more information on errors, see Errors (https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_feature_store_GetRecord.html#API_feature_store_GetRecord_Errors)
	// .
	//
	// This member is required.
	ErrorCode *string

	// The error message of an error that has occurred when attempting to retrieve a
	// record in the batch.
	//
	// This member is required.
	ErrorMessage *string

	// The name of the feature group that the record belongs to.
	//
	// This member is required.
	FeatureGroupName *string

	// The value for the RecordIdentifier in string format of a Record from a
	// FeatureGroup that is causing an error when attempting to be retrieved.
	//
	// This member is required.
	RecordIdentifierValueAsString *string

	noSmithyDocumentSerde
}

// The identifier that identifies the batch of Records you are retrieving in a
// batch.
type BatchGetRecordIdentifier struct {

	// The name or Amazon Resource Name (ARN) of the FeatureGroup containing the
	// records you are retrieving in a batch.
	//
	// This member is required.
	FeatureGroupName *string

	// The value for a list of record identifiers in string format.
	//
	// This member is required.
	RecordIdentifiersValueAsString []string

	// List of names of Features to be retrieved. If not specified, the latest value
	// for all the Features are returned.
	FeatureNames []string

	noSmithyDocumentSerde
}

// The output of records that have been retrieved in a batch.
type BatchGetRecordResultDetail struct {

	// The FeatureGroupName containing Records you retrieved in a batch.
	//
	// This member is required.
	FeatureGroupName *string

	// The Record retrieved.
	//
	// This member is required.
	Record []FeatureValue

	// The value of the record identifier in string format.
	//
	// This member is required.
	RecordIdentifierValueAsString *string

	// The ExpiresAt ISO string of the requested record.
	ExpiresAt *string

	noSmithyDocumentSerde
}

// The value associated with a feature.
type FeatureValue struct {

	// The name of a feature that a feature value corresponds to.
	//
	// This member is required.
	FeatureName *string

	// The value in string format associated with a feature. Used when your
	// CollectionType is None . Note that features types can be String , Integral , or
	// Fractional . This value represents all three types as a string.
	ValueAsString *string

	// The list of values in string format associated with a feature. Used when your
	// CollectionType is a List , Set , or Vector . Note that features types can be
	// String , Integral , or Fractional . These values represents all three types as a
	// string.
	ValueAsStringList []string

	noSmithyDocumentSerde
}

// Time to live duration, where the record is hard deleted after the expiration
// time is reached; ExpiresAt = EventTime + TtlDuration . For information on
// HardDelete, see the DeleteRecord (https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_feature_store_DeleteRecord.html)
// API in the Amazon SageMaker API Reference guide.
type TtlDuration struct {

	// TtlDuration time unit.
	//
	// This member is required.
	Unit TtlDurationUnit

	// TtlDuration time value.
	//
	// This member is required.
	Value *int32

	noSmithyDocumentSerde
}

type noSmithyDocumentSerde = smithydocument.NoSerde