-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy pathAwsIncubatingAttributes.java
More file actions
422 lines (362 loc) · 18.8 KB
/
AwsIncubatingAttributes.java
File metadata and controls
422 lines (362 loc) · 18.8 KB
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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.opentelemetry.semconv.incubating;
import static io.opentelemetry.api.common.AttributeKey.booleanKey;
import static io.opentelemetry.api.common.AttributeKey.doubleKey;
import static io.opentelemetry.api.common.AttributeKey.longKey;
import static io.opentelemetry.api.common.AttributeKey.stringArrayKey;
import static io.opentelemetry.api.common.AttributeKey.stringKey;
import io.opentelemetry.api.common.AttributeKey;
import java.util.List;
// DO NOT EDIT, this is an Auto-generated file from
// buildscripts/templates/registry/incubating_java/IncubatingSemanticAttributes.java.j2
@SuppressWarnings("unused")
public final class AwsIncubatingAttributes {
/**
* The unique identifier of the AWS Bedrock Guardrail. A <a
* href="https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails.html">guardrail</a> helps
* safeguard and prevent unwanted behavior from model responses or user messages.
*/
public static final AttributeKey<String> AWS_BEDROCK_GUARDRAIL_ID =
stringKey("aws.bedrock.guardrail.id");
/**
* The unique identifier of the AWS Bedrock Knowledge base. A <a
* href="https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base.html">knowledge
* base</a> is a bank of information that can be queried by models to generate more relevant
* responses and augment prompts.
*/
public static final AttributeKey<String> AWS_BEDROCK_KNOWLEDGE_BASE_ID =
stringKey("aws.bedrock.knowledge_base.id");
/** The JSON-serialized value of each item in the {@code AttributeDefinitions} request field. */
public static final AttributeKey<List<String>> AWS_DYNAMODB_ATTRIBUTE_DEFINITIONS =
stringArrayKey("aws.dynamodb.attribute_definitions");
/** The value of the {@code AttributesToGet} request parameter. */
public static final AttributeKey<List<String>> AWS_DYNAMODB_ATTRIBUTES_TO_GET =
stringArrayKey("aws.dynamodb.attributes_to_get");
/** The value of the {@code ConsistentRead} request parameter. */
public static final AttributeKey<Boolean> AWS_DYNAMODB_CONSISTENT_READ =
booleanKey("aws.dynamodb.consistent_read");
/** The JSON-serialized value of each item in the {@code ConsumedCapacity} response field. */
public static final AttributeKey<List<String>> AWS_DYNAMODB_CONSUMED_CAPACITY =
stringArrayKey("aws.dynamodb.consumed_capacity");
/** The value of the {@code Count} response parameter. */
public static final AttributeKey<Long> AWS_DYNAMODB_COUNT = longKey("aws.dynamodb.count");
/** The value of the {@code ExclusiveStartTableName} request parameter. */
public static final AttributeKey<String> AWS_DYNAMODB_EXCLUSIVE_START_TABLE =
stringKey("aws.dynamodb.exclusive_start_table");
/**
* The JSON-serialized value of each item in the {@code GlobalSecondaryIndexUpdates} request
* field.
*/
public static final AttributeKey<List<String>> AWS_DYNAMODB_GLOBAL_SECONDARY_INDEX_UPDATES =
stringArrayKey("aws.dynamodb.global_secondary_index_updates");
/** The JSON-serialized value of each item of the {@code GlobalSecondaryIndexes} request field */
public static final AttributeKey<List<String>> AWS_DYNAMODB_GLOBAL_SECONDARY_INDEXES =
stringArrayKey("aws.dynamodb.global_secondary_indexes");
/** The value of the {@code IndexName} request parameter. */
public static final AttributeKey<String> AWS_DYNAMODB_INDEX_NAME =
stringKey("aws.dynamodb.index_name");
/** The JSON-serialized value of the {@code ItemCollectionMetrics} response field. */
public static final AttributeKey<String> AWS_DYNAMODB_ITEM_COLLECTION_METRICS =
stringKey("aws.dynamodb.item_collection_metrics");
/** The value of the {@code Limit} request parameter. */
public static final AttributeKey<Long> AWS_DYNAMODB_LIMIT = longKey("aws.dynamodb.limit");
/** The JSON-serialized value of each item of the {@code LocalSecondaryIndexes} request field. */
public static final AttributeKey<List<String>> AWS_DYNAMODB_LOCAL_SECONDARY_INDEXES =
stringArrayKey("aws.dynamodb.local_secondary_indexes");
/** The value of the {@code ProjectionExpression} request parameter. */
public static final AttributeKey<String> AWS_DYNAMODB_PROJECTION =
stringKey("aws.dynamodb.projection");
/** The value of the {@code ProvisionedThroughput.ReadCapacityUnits} request parameter. */
public static final AttributeKey<Double> AWS_DYNAMODB_PROVISIONED_READ_CAPACITY =
doubleKey("aws.dynamodb.provisioned_read_capacity");
/** The value of the {@code ProvisionedThroughput.WriteCapacityUnits} request parameter. */
public static final AttributeKey<Double> AWS_DYNAMODB_PROVISIONED_WRITE_CAPACITY =
doubleKey("aws.dynamodb.provisioned_write_capacity");
/** The value of the {@code ScanIndexForward} request parameter. */
public static final AttributeKey<Boolean> AWS_DYNAMODB_SCAN_FORWARD =
booleanKey("aws.dynamodb.scan_forward");
/** The value of the {@code ScannedCount} response parameter. */
public static final AttributeKey<Long> AWS_DYNAMODB_SCANNED_COUNT =
longKey("aws.dynamodb.scanned_count");
/** The value of the {@code Segment} request parameter. */
public static final AttributeKey<Long> AWS_DYNAMODB_SEGMENT = longKey("aws.dynamodb.segment");
/** The value of the {@code Select} request parameter. */
public static final AttributeKey<String> AWS_DYNAMODB_SELECT = stringKey("aws.dynamodb.select");
/** The number of items in the {@code TableNames} response parameter. */
public static final AttributeKey<Long> AWS_DYNAMODB_TABLE_COUNT =
longKey("aws.dynamodb.table_count");
/** The keys in the {@code RequestItems} object field. */
public static final AttributeKey<List<String>> AWS_DYNAMODB_TABLE_NAMES =
stringArrayKey("aws.dynamodb.table_names");
/** The value of the {@code TotalSegments} request parameter. */
public static final AttributeKey<Long> AWS_DYNAMODB_TOTAL_SEGMENTS =
longKey("aws.dynamodb.total_segments");
/**
* The ARN of an <a
* href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/clusters.html">ECS
* cluster</a>.
*/
public static final AttributeKey<String> AWS_ECS_CLUSTER_ARN = stringKey("aws.ecs.cluster.arn");
/**
* The Amazon Resource Name (ARN) of an <a
* href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ECS_instances.html">ECS
* container instance</a>.
*/
public static final AttributeKey<String> AWS_ECS_CONTAINER_ARN =
stringKey("aws.ecs.container.arn");
/**
* The <a
* href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html">launch
* type</a> for an ECS task.
*/
public static final AttributeKey<String> AWS_ECS_LAUNCHTYPE = stringKey("aws.ecs.launchtype");
/**
* The ARN of a running <a
* href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#ecs-resource-ids">ECS
* task</a>.
*/
public static final AttributeKey<String> AWS_ECS_TASK_ARN = stringKey("aws.ecs.task.arn");
/**
* The family name of the <a
* href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definitions.html">ECS
* task definition</a> used to create the ECS task.
*/
public static final AttributeKey<String> AWS_ECS_TASK_FAMILY = stringKey("aws.ecs.task.family");
/** The ID of a running ECS task. The ID MUST be extracted from {@code task.arn}. */
public static final AttributeKey<String> AWS_ECS_TASK_ID = stringKey("aws.ecs.task.id");
/** The revision for the task definition used to create the ECS task. */
public static final AttributeKey<String> AWS_ECS_TASK_REVISION =
stringKey("aws.ecs.task.revision");
/** The ARN of an EKS cluster. */
public static final AttributeKey<String> AWS_EKS_CLUSTER_ARN = stringKey("aws.eks.cluster.arn");
/** The AWS extended request ID as returned in the response header {@code x-amz-id-2}. */
public static final AttributeKey<String> AWS_EXTENDED_REQUEST_ID =
stringKey("aws.extended_request_id");
/**
* The name of the AWS Kinesis <a
* href="https://docs.aws.amazon.com/streams/latest/dev/introduction.html">stream</a> the request
* refers to. Corresponds to the {@code --stream-name} parameter of the Kinesis <a
* href="https://docs.aws.amazon.com/cli/latest/reference/kinesis/describe-stream.html">describe-stream</a>
* operation.
*/
public static final AttributeKey<String> AWS_KINESIS_STREAM_NAME =
stringKey("aws.kinesis.stream_name");
/**
* The full invoked ARN as provided on the {@code Context} passed to the function ({@code
* Lambda-Runtime-Invoked-Function-Arn} header on the {@code /runtime/invocation/next}
* applicable).
*
* <p>Notes:
*
* <p>This may be different from {@code cloud.resource_id} if an alias is involved.
*/
public static final AttributeKey<String> AWS_LAMBDA_INVOKED_ARN =
stringKey("aws.lambda.invoked_arn");
/**
* The UUID of the <a
* href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html">AWS
* Lambda EvenSource Mapping</a>. An event source is mapped to a lambda function. It's contents
* are read by Lambda and used to trigger a function. This isn't available in the lambda execution
* context or the lambda runtime environment. This is going to be populated by the AWS SDK for
* each language when that UUID is present. Some of these operations are
* Create/Delete/Get/List/Update EventSourceMapping.
*/
public static final AttributeKey<String> AWS_LAMBDA_RESOURCE_MAPPING_ID =
stringKey("aws.lambda.resource_mapping.id");
/**
* The Amazon Resource Name(s) (ARN) of the AWS log group(s).
*
* <p>Notes:
*
* <p>See the <a
* href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/iam-access-control-overview-cwl.html#CWL_ARN_Format">log
* group ARN format documentation</a>.
*/
public static final AttributeKey<List<String>> AWS_LOG_GROUP_ARNS =
stringArrayKey("aws.log.group.arns");
/**
* The name(s) of the AWS log group(s) an application is writing to.
*
* <p>Notes:
*
* <p>Multiple log groups must be supported for cases like multi-container applications, where a
* single application has sidecar containers, and each write to their own log group.
*/
public static final AttributeKey<List<String>> AWS_LOG_GROUP_NAMES =
stringArrayKey("aws.log.group.names");
/**
* The ARN(s) of the AWS log stream(s).
*
* <p>Notes:
*
* <p>See the <a
* href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/iam-access-control-overview-cwl.html#CWL_ARN_Format">log
* stream ARN format documentation</a>. One log group can contain several log streams, so these
* ARNs necessarily identify both a log group and a log stream.
*/
public static final AttributeKey<List<String>> AWS_LOG_STREAM_ARNS =
stringArrayKey("aws.log.stream.arns");
/** The name(s) of the AWS log stream(s) an application is writing to. */
public static final AttributeKey<List<String>> AWS_LOG_STREAM_NAMES =
stringArrayKey("aws.log.stream.names");
/**
* The AWS request ID as returned in the response headers {@code x-amzn-requestid}, {@code
* x-amzn-request-id} or {@code x-amz-request-id}.
*/
public static final AttributeKey<String> AWS_REQUEST_ID = stringKey("aws.request_id");
/**
* The S3 bucket name the request refers to. Corresponds to the {@code --bucket} parameter of the
* <a href="https://docs.aws.amazon.com/cli/latest/reference/s3api/index.html">S3 API</a>
* operations.
*
* <p>Notes:
*
* <p>The {@code bucket} attribute is applicable to all S3 operations that reference a bucket,
* i.e. that require the bucket name as a mandatory parameter. This applies to almost all S3
* operations except {@code list-buckets}.
*/
public static final AttributeKey<String> AWS_S3_BUCKET = stringKey("aws.s3.bucket");
/**
* The source object (in the form {@code bucket}/{@code key}) for the copy operation.
*
* <p>Notes:
*
* <p>The {@code copy_source} attribute applies to S3 copy operations and corresponds to the
* {@code --copy-source} parameter of the <a
* href="https://docs.aws.amazon.com/cli/latest/reference/s3api/copy-object.html">copy-object
* operation within the S3 API</a>. This applies in particular to the following operations:
*
* <ul>
* <li><a
* href="https://docs.aws.amazon.com/cli/latest/reference/s3api/copy-object.html">copy-object</a>
* <li><a
* href="https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part-copy.html">upload-part-copy</a>
* </ul>
*/
public static final AttributeKey<String> AWS_S3_COPY_SOURCE = stringKey("aws.s3.copy_source");
/**
* The delete request container that specifies the objects to be deleted.
*
* <p>Notes:
*
* <p>The {@code delete} attribute is only applicable to the <a
* href="https://docs.aws.amazon.com/cli/latest/reference/s3api/delete-object.html">delete-object</a>
* operation. The {@code delete} attribute corresponds to the {@code --delete} parameter of the <a
* href="https://docs.aws.amazon.com/cli/latest/reference/s3api/delete-objects.html">delete-objects
* operation within the S3 API</a>.
*/
public static final AttributeKey<String> AWS_S3_DELETE = stringKey("aws.s3.delete");
/**
* The S3 object key the request refers to. Corresponds to the {@code --key} parameter of the <a
* href="https://docs.aws.amazon.com/cli/latest/reference/s3api/index.html">S3 API</a> operations.
*
* <p>Notes:
*
* <p>The {@code key} attribute is applicable to all object-related S3 operations, i.e. that
* require the object key as a mandatory parameter. This applies in particular to the following
* operations:
*
* <ul>
* <li><a
* href="https://docs.aws.amazon.com/cli/latest/reference/s3api/copy-object.html">copy-object</a>
* <li><a
* href="https://docs.aws.amazon.com/cli/latest/reference/s3api/delete-object.html">delete-object</a>
* <li><a
* href="https://docs.aws.amazon.com/cli/latest/reference/s3api/get-object.html">get-object</a>
* <li><a
* href="https://docs.aws.amazon.com/cli/latest/reference/s3api/head-object.html">head-object</a>
* <li><a
* href="https://docs.aws.amazon.com/cli/latest/reference/s3api/put-object.html">put-object</a>
* <li><a
* href="https://docs.aws.amazon.com/cli/latest/reference/s3api/restore-object.html">restore-object</a>
* <li><a
* href="https://docs.aws.amazon.com/cli/latest/reference/s3api/select-object-content.html">select-object-content</a>
* <li><a
* href="https://docs.aws.amazon.com/cli/latest/reference/s3api/abort-multipart-upload.html">abort-multipart-upload</a>
* <li><a
* href="https://docs.aws.amazon.com/cli/latest/reference/s3api/complete-multipart-upload.html">complete-multipart-upload</a>
* <li><a
* href="https://docs.aws.amazon.com/cli/latest/reference/s3api/create-multipart-upload.html">create-multipart-upload</a>
* <li><a
* href="https://docs.aws.amazon.com/cli/latest/reference/s3api/list-parts.html">list-parts</a>
* <li><a
* href="https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part.html">upload-part</a>
* <li><a
* href="https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part-copy.html">upload-part-copy</a>
* </ul>
*/
public static final AttributeKey<String> AWS_S3_KEY = stringKey("aws.s3.key");
/**
* The part number of the part being uploaded in a multipart-upload operation. This is a positive
* integer between 1 and 10,000.
*
* <p>Notes:
*
* <p>The {@code part_number} attribute is only applicable to the <a
* href="https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part.html">upload-part</a>
* and <a
* href="https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part-copy.html">upload-part-copy</a>
* operations. The {@code part_number} attribute corresponds to the {@code --part-number}
* parameter of the <a
* href="https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part.html">upload-part
* operation within the S3 API</a>.
*/
public static final AttributeKey<Long> AWS_S3_PART_NUMBER = longKey("aws.s3.part_number");
/**
* Upload ID that identifies the multipart upload.
*
* <p>Notes:
*
* <p>The {@code upload_id} attribute applies to S3 multipart-upload operations and corresponds to
* the {@code --upload-id} parameter of the <a
* href="https://docs.aws.amazon.com/cli/latest/reference/s3api/index.html">S3 API</a> multipart
* operations. This applies in particular to the following operations:
*
* <ul>
* <li><a
* href="https://docs.aws.amazon.com/cli/latest/reference/s3api/abort-multipart-upload.html">abort-multipart-upload</a>
* <li><a
* href="https://docs.aws.amazon.com/cli/latest/reference/s3api/complete-multipart-upload.html">complete-multipart-upload</a>
* <li><a
* href="https://docs.aws.amazon.com/cli/latest/reference/s3api/list-parts.html">list-parts</a>
* <li><a
* href="https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part.html">upload-part</a>
* <li><a
* href="https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part-copy.html">upload-part-copy</a>
* </ul>
*/
public static final AttributeKey<String> AWS_S3_UPLOAD_ID = stringKey("aws.s3.upload_id");
/** The ARN of the Secret stored in the Secrets Manager */
public static final AttributeKey<String> AWS_SECRETSMANAGER_SECRET_ARN =
stringKey("aws.secretsmanager.secret.arn");
/**
* The ARN of the AWS SNS Topic. An Amazon SNS <a
* href="https://docs.aws.amazon.com/sns/latest/dg/sns-create-topic.html">topic</a> is a logical
* access point that acts as a communication channel.
*/
public static final AttributeKey<String> AWS_SNS_TOPIC_ARN = stringKey("aws.sns.topic.arn");
/**
* The URL of the AWS SQS Queue. It's a unique identifier for a queue in Amazon Simple Queue
* Service (SQS) and is used to access the queue and perform actions on it.
*/
public static final AttributeKey<String> AWS_SQS_QUEUE_URL = stringKey("aws.sqs.queue.url");
/** The ARN of the AWS Step Functions Activity. */
public static final AttributeKey<String> AWS_STEP_FUNCTIONS_ACTIVITY_ARN =
stringKey("aws.step_functions.activity.arn");
/** The ARN of the AWS Step Functions State Machine. */
public static final AttributeKey<String> AWS_STEP_FUNCTIONS_STATE_MACHINE_ARN =
stringKey("aws.step_functions.state_machine.arn");
// Enum definitions
/** Values for {@link #AWS_ECS_LAUNCHTYPE}. */
public static final class AwsEcsLaunchtypeIncubatingValues {
/** Amazon EC2 */
public static final String EC2 = "ec2";
/** Amazon Fargate */
public static final String FARGATE = "fargate";
private AwsEcsLaunchtypeIncubatingValues() {}
}
private AwsIncubatingAttributes() {}
}