Skip to content

Commit fa6f45c

Browse files
author
cibot
committed
Definitions Update aetuner
1 parent ae7b76b commit fa6f45c

File tree

1 file changed

+154
-0
lines changed

1 file changed

+154
-0
lines changed

alsdkdefs/apis/aetuner/aetuner.v1.yaml

Lines changed: 154 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,68 @@ paths:
8484
in: path
8585
required: true
8686
description: AIMS Account ID
87+
'/v1/{account_id}/analytics2':
88+
get:
89+
summary: List Analytics for an account
90+
tags:
91+
- aetuner
92+
responses:
93+
'200':
94+
description: OK
95+
content:
96+
application/json:
97+
schema:
98+
type: object
99+
properties:
100+
logmsgs:
101+
type: array
102+
description: List of log-based analytics
103+
items:
104+
type: string
105+
telemetry:
106+
type: array
107+
items:
108+
type: string
109+
observations:
110+
type: array
111+
items:
112+
type: string
113+
operationId: list_analytics2
114+
security:
115+
- aims_request_authorizer: []
116+
description: List analytics for an account
117+
x-amazon-apigateway-integration:
118+
uri:
119+
'Fn::Sub': 'arn:aws:apigateway:${AWS::Region}:lambda:path/2015-03-31/functions/${AETunerSrvFunction.Arn}/invocations'
120+
parameters:
121+
- schema:
122+
type: string
123+
enum:
124+
- logsmsgs
125+
- observations
126+
- telemetry
127+
in: query
128+
name: datatype
129+
description: |-
130+
Data type used for analytics generation.
131+
If this parameter omitted, analytics for all data types are returned.
132+
- schema:
133+
type: string
134+
enum:
135+
- all
136+
- correlations
137+
- analytics
138+
default: all
139+
in: query
140+
name: output
141+
description: What to include in the response
142+
parameters:
143+
- schema:
144+
type: string
145+
name: account_id
146+
in: path
147+
required: true
148+
description: AIMS Account ID
87149
'/v1/{account_id}/tagsets':
88150
parameters:
89151
- schema:
@@ -373,6 +435,98 @@ paths:
373435
'Fn::Sub': 'arn:aws:apigateway:${AWS::Region}:lambda:path/2015-03-31/functions/${AETunerUpdateAnalyticFunction.Arn}/invocations'
374436
tags:
375437
- aetuner
438+
'/v1/{account_id}/analytics2/{path}':
439+
parameters:
440+
- schema:
441+
type: string
442+
name: account_id
443+
in: path
444+
required: true
445+
description: AIMS Account ID
446+
- schema:
447+
type: string
448+
name: path
449+
in: path
450+
required: true
451+
description: Analytic Name
452+
- schema:
453+
type: string
454+
in: query
455+
name: severity_key
456+
description: Severity tagset tuning key. Used for getting tuning tagset value instead of default.
457+
- schema:
458+
type: string
459+
in: query
460+
name: visibility_key
461+
description: Visiblity tagset tuning key. Used for getting tuning tagset value instead of default.
462+
- schema:
463+
type: string
464+
in: query
465+
name: handling_key
466+
description: Handling tagset tuning key. Used for getting tuning tagset value instead of default.
467+
- schema:
468+
type: integer
469+
in: query
470+
name: audit_events_limit
471+
description: Limit the number of audit events to this number
472+
- schema:
473+
type: boolean
474+
in: query
475+
name: include_audit_events
476+
description: When set to true returns audit events for the tuning tagsets in the analytic
477+
- schema:
478+
type: string
479+
in: query
480+
name: tuning_tagset_path
481+
- schema:
482+
type: string
483+
in: query
484+
name: tuning_tagset_key
485+
- schema:
486+
type: string
487+
in: query
488+
name: tuning_tagset_value
489+
- schema:
490+
type: boolean
491+
in: query
492+
name: include_stacktrace
493+
- schema:
494+
type: boolean
495+
in: query
496+
name: enable_new
497+
- schema:
498+
type: object
499+
in: query
500+
name: sql_field_values
501+
description: A map of values for SQL fields, example {"bf_protocol":"windows"}
502+
- schema:
503+
type: string
504+
in: query
505+
name: key
506+
description: Tuning tagset key, defaults to the analytic name
507+
- schema:
508+
type: boolean
509+
in: query
510+
name: explain
511+
description: Explain how tunings are calculated or updates
512+
get:
513+
summary: Get Analytic for a specific customer
514+
responses:
515+
'200':
516+
description: Analytic Information
517+
content:
518+
application/json:
519+
schema:
520+
$ref: '#/components/schemas/AnalyticInfo'
521+
operationId: get_analytic2
522+
security:
523+
- aims_request_authorizer: []
524+
description: Returns an analytic for a specific customer. Requests without --enable_new=1 will be DEPRECATED
525+
x-amazon-apigateway-integration:
526+
uri:
527+
'Fn::Sub': 'arn:aws:apigateway:${AWS::Region}:lambda:path/2015-03-31/functions/${AETunerGetAnalytic2Function.Arn}/invocations'
528+
tags:
529+
- aetuner
376530
'/v1/{account_id}/reset/analytics/{path}':
377531
parameters:
378532
- schema:

0 commit comments

Comments
 (0)