1
- // Types in this file are copied from:
1
+ // Types in this file are modified from:
2
2
// https://github.com/aws/aws-sdk-go/blob/v1.55.6/service/xray/api.go
3
3
4
4
package sampling
5
5
6
6
type SamplingStatisticsDocument struct {
7
- _ struct {} `type:"structure"`
8
-
9
7
// The number of requests recorded with borrowed reservoir quota.
10
8
BorrowCount * int64 `type:"integer"`
11
9
@@ -39,8 +37,6 @@ type SamplingStatisticsDocument struct {
39
37
// Rule fields can match properties of the service, or properties of a request.
40
38
// The service can ignore rules that don't match its properties.
41
39
type SamplingRule struct {
42
- _ struct {} `type:"structure"`
43
-
44
40
// Matches attributes derived from the request.
45
41
Attributes map [string ]* string `json:"Attributes"`
46
42
@@ -110,8 +106,6 @@ type SamplingRule struct {
110
106
// A SamplingRule (https://docs.aws.amazon.com/xray/latest/api/API_SamplingRule.html)
111
107
// and its metadata.
112
108
type SamplingRuleRecord struct {
113
- _ struct {} `type:"structure"`
114
-
115
109
// When the rule was created.
116
110
CreatedAt * float64 `json:"CreatedAt"`
117
111
@@ -123,8 +117,6 @@ type SamplingRuleRecord struct {
123
117
}
124
118
125
119
type GetSamplingTargetsOutput struct {
126
- _ struct {} `type:"structure"`
127
-
128
120
// The last time a user changed the sampling rule configuration. If the sampling
129
121
// rule configuration changed since the service last retrieved it, the service
130
122
// should call GetSamplingRules (https://docs.aws.amazon.com/xray/latest/api/API_GetSamplingRules.html)
@@ -144,8 +136,6 @@ type GetSamplingTargetsOutput struct {
144
136
// on the recent sampling results of all services that called GetSamplingTargets
145
137
// (https://docs.aws.amazon.com/xray/latest/api/API_GetSamplingTargets.html).
146
138
type SamplingTargetDocument struct {
147
- _ struct {} `type:"structure"`
148
-
149
139
// The percentage of matching requests to instrument, after the reservoir is
150
140
// exhausted.
151
141
FixedRate * float64 `json:"FixedRate"`
@@ -167,8 +157,6 @@ type SamplingTargetDocument struct {
167
157
// Sampling statistics from a call to GetSamplingTargets (https://docs.aws.amazon.com/xray/latest/api/API_GetSamplingTargets.html)
168
158
// that X-Ray could not process.
169
159
type UnprocessedStatistics struct {
170
- _ struct {} `type:"structure"`
171
-
172
160
// The error code.
173
161
ErrorCode * string `json:"ErrorCode"`
174
162
@@ -180,24 +168,18 @@ type UnprocessedStatistics struct {
180
168
}
181
169
182
170
type GetSamplingTargetsInput struct {
183
- _ struct {} `type:"structure"`
184
-
185
171
// Information about rules that the service is using to sample requests.
186
172
//
187
173
// SamplingStatisticsDocuments is a required field
188
174
SamplingStatisticsDocuments []* SamplingStatisticsDocument `type:"list" required:"true"`
189
175
}
190
176
191
177
type GetSamplingRulesInput struct {
192
- _ struct {} `type:"structure"`
193
-
194
178
// Pagination token.
195
179
NextToken * string `type:"string"`
196
180
}
197
181
198
182
type GetSamplingRulesOutput struct {
199
- _ struct {} `type:"structure"`
200
-
201
183
// Pagination token.
202
184
NextToken * string `json:"NextToken"`
203
185
0 commit comments