Skip to content

Commit 118c865

Browse files
committed
updates
1 parent 9898e94 commit 118c865

File tree

240 files changed

+70478
-2
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

240 files changed

+70478
-2
lines changed

openapi/accessanalyzer.yaml

Lines changed: 409 additions & 0 deletions
Large diffs are not rendered by default.

openapi/account.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ servers:
4646
paths: {}
4747
components:
4848
schemas:
49+
AccountCreatedDate:
50+
type: string
51+
format: date-time
4952
AccountId:
5053
type: string
5154
pattern: ^\d{12}$
@@ -123,6 +126,10 @@ components:
123126
type: string
124127
minLength: 1
125128
maxLength: 50
129+
RegionOptList:
130+
type: array
131+
items:
132+
$ref: '#/components/schemas/Region'
126133
RegionOptStatus:
127134
type: string
128135
enum:
@@ -131,6 +138,10 @@ components:
131138
- DISABLING
132139
- DISABLED
133140
- ENABLED_BY_DEFAULT
141+
RegionOptStatusList:
142+
type: array
143+
items:
144+
$ref: '#/components/schemas/RegionOptStatus'
134145
SensitiveString:
135146
type: string
136147
StateOrRegion:
@@ -141,6 +152,10 @@ components:
141152
type: string
142153
minLength: 1
143154
maxLength: 50
155+
ValidationExceptionFieldList:
156+
type: array
157+
items:
158+
$ref: '#/components/schemas/ValidationExceptionField'
144159
ValidationExceptionReason:
145160
type: string
146161
enum:

openapi/amp.yaml

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,13 @@ servers:
5454
paths: {}
5555
components:
5656
schemas:
57+
AlertManagerDefinitionData:
58+
type: string
59+
format: byte
60+
description: "<p>The base-64 encoded blob that is alert manager definition.</p>\n\
61+
\ <p>For details about the alert manager definition, see <a href=\"\
62+
https://docs.aws.amazon.com/prometheus/latest/APIReference/yaml-AlertManagerDefinitionData.html\"\
63+
>AlertManagedDefinitionData</a>.</p>"
5764
AlertManagerDefinitionStatusCode:
5865
type: string
5966
enum:
@@ -66,6 +73,14 @@ components:
6673
ClusterArn:
6774
type: string
6875
pattern: ^arn:aws[-a-z]*:eks:[-a-z0-9]+:[0-9]{12}:cluster/.+$
76+
Destination:
77+
allOf:
78+
- allOf:
79+
- $ref: '#/components/schemas/AmpConfiguration'
80+
description: |-
81+
The Amazon Managed Service for Prometheus workspace to send metrics to.
82+
description: |-
83+
Where to send the metrics from a scraper.
6984
FilterKey:
7085
type: string
7186
minLength: 1
@@ -74,6 +89,11 @@ components:
7489
type: string
7590
minLength: 1
7691
maxLength: 256
92+
FilterValues:
93+
type: array
94+
items:
95+
$ref: '#/components/schemas/FilterValue'
96+
description: <p>A list of scraper filter values.</p>
7797
IamRoleArn:
7898
type: string
7999
pattern: ^arn:aws[-a-z]*:iam::[0-9]{12}:role/.+$
@@ -91,9 +111,17 @@ components:
91111
type: string
92112
pattern: ^[a-zA-Z_][a-zA-Z0-9_]*$
93113
minLength: 1
114+
LabelSet:
115+
type: object
116+
additionalProperties:
117+
$ref: '#/components/schemas/LabelValue'
94118
LabelValue:
95119
type: string
96120
minLength: 1
121+
LimitsPerLabelSetList:
122+
type: array
123+
items:
124+
$ref: '#/components/schemas/LimitsPerLabelSet'
97125
LogGroupArn:
98126
type: string
99127
pattern: ^arn:aws[-a-z]*:logs:[-a-z0-9]+:[0-9]{12}:log-group:[A-Za-z0-9\.\-\_\#/]{1,512}\:\*$
@@ -111,6 +139,10 @@ components:
111139
maxLength: 1000
112140
RuleGroupsNamespaceArn:
113141
type: string
142+
RuleGroupsNamespaceData:
143+
type: string
144+
format: byte
145+
description: <p>The rule groups namespace data.</p>
114146
RuleGroupsNamespaceName:
115147
type: string
116148
pattern: '[0-9A-Za-z][-.0-9A-Z_a-z]*'
@@ -125,13 +157,31 @@ components:
125157
- DELETING
126158
- CREATION_FAILED
127159
- UPDATE_FAILED
160+
RuleGroupsNamespaceSummaryList:
161+
type: array
162+
items:
163+
$ref: '#/components/schemas/RuleGroupsNamespaceSummary'
164+
description: <p>A list of rule groups namespace summary.</p>
165+
ScrapeConfiguration:
166+
allOf:
167+
- allOf:
168+
- $ref: '#/components/schemas/Blob'
169+
description: |-
170+
The base 64 encoded scrape configuration file.
171+
description: |-
172+
A scrape configuration for a scraper, base 64 encoded. For more information, see [Scraper configuration](https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-collector-how-to.html#AMP-collector-configuration) in the _Amazon Managed Service for Prometheus User Guide_.
128173
ScraperAlias:
129174
type: string
130175
pattern: ^[0-9A-Za-z][-.0-9A-Z_a-z]*$
131176
minLength: 1
132177
maxLength: 100
133178
ScraperArn:
134179
type: string
180+
ScraperFilters:
181+
type: object
182+
additionalProperties:
183+
$ref: '#/components/schemas/FilterValues'
184+
description: <p>A list of scraper filters.</p>
135185
ScraperId:
136186
type: string
137187
pattern: ^[0-9A-Za-z][-.0-9A-Z_a-z]*$
@@ -147,11 +197,29 @@ components:
147197
- CREATION_FAILED
148198
- UPDATE_FAILED
149199
- DELETION_FAILED
200+
ScraperSummaryList:
201+
type: array
202+
items:
203+
$ref: '#/components/schemas/ScraperSummary'
204+
description: <p>A list of scraper summaries.</p>
150205
SecurityGroupId:
151206
type: string
152207
pattern: ^sg-[0-9a-z]+$
153208
minLength: 0
154209
maxLength: 255
210+
SecurityGroupIds:
211+
type: array
212+
items:
213+
$ref: '#/components/schemas/SecurityGroupId'
214+
description: <p>A list of security group IDs specified for VPC configuration.</p>
215+
Source:
216+
allOf:
217+
- allOf:
218+
- $ref: '#/components/schemas/EksConfiguration'
219+
description: |-
220+
The Amazon EKS cluster from which a scraper collects metrics.
221+
description: |-
222+
The source of collected metrics for a scraper.
155223
StatusReason:
156224
type: string
157225
minLength: 1
@@ -161,11 +229,25 @@ components:
161229
pattern: ^subnet-[0-9a-z]+$
162230
minLength: 0
163231
maxLength: 255
232+
SubnetIds:
233+
type: array
234+
items:
235+
$ref: '#/components/schemas/SubnetId'
236+
description: <p>A list of subnet IDs specified for VPC configuration.</p>
164237
TagKey:
165238
type: string
166239
pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-@]*)$
167240
minLength: 1
168241
maxLength: 128
242+
TagKeys:
243+
type: array
244+
items:
245+
$ref: '#/components/schemas/TagKey'
246+
TagMap:
247+
type: object
248+
additionalProperties:
249+
$ref: '#/components/schemas/TagValue'
250+
description: <p>A tag associated with a resource.</p>
169251
TagValue:
170252
type: string
171253
pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-@]*)$
@@ -175,6 +257,11 @@ components:
175257
type: string
176258
minLength: 1
177259
maxLength: 1024
260+
ValidationExceptionFieldList:
261+
type: array
262+
items:
263+
$ref: '#/components/schemas/ValidationExceptionField'
264+
description: <p>A list of fields.</p>
178265
ValidationExceptionReason:
179266
type: string
180267
enum:
@@ -208,3 +295,8 @@ components:
208295
- UPDATING
209296
- DELETING
210297
- CREATION_FAILED
298+
WorkspaceSummaryList:
299+
type: array
300+
items:
301+
$ref: '#/components/schemas/WorkspaceSummary'
302+
description: <p>A list of workspace summaries.</p>

0 commit comments

Comments
 (0)