@aws-sdk/client-application-signals 3.645.0 → 3.649.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/endpoint/endpointResolver.js +6 -2
- package/dist-cjs/models/models_0.js +21 -5
- package/dist-cjs/protocols/Aws_restJson1.js +22 -0
- package/dist-es/endpoint/endpointResolver.js +7 -3
- package/dist-es/models/models_0.js +20 -4
- package/dist-es/protocols/Aws_restJson1.js +22 -0
- package/dist-types/commands/BatchGetServiceLevelObjectiveBudgetReportCommand.d.ts +94 -3
- package/dist-types/commands/CreateServiceLevelObjectiveCommand.d.ts +221 -19
- package/dist-types/commands/GetServiceLevelObjectiveCommand.d.ts +91 -2
- package/dist-types/commands/UpdateServiceLevelObjectiveCommand.d.ts +183 -4
- package/dist-types/models/models_0.d.ts +331 -27
- package/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/runtimeConfig.d.ts +2 -0
- package/dist-types/runtimeConfig.native.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +82 -8
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/package.json +35 -35
|
@@ -33,17 +33,47 @@ declare const CreateServiceLevelObjectiveCommand_base: {
|
|
|
33
33
|
* calculate whether the application is performing at the level that you want.</p>
|
|
34
34
|
* <p>Create an SLO to set a target for a service or operation’s availability or latency. CloudWatch
|
|
35
35
|
* measures this target frequently you can find whether it has been breached. </p>
|
|
36
|
-
* <p>
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
36
|
+
* <p>The target performance quality that is defined for an SLO is the <i>attainment goal</i>.</p>
|
|
37
|
+
* <p>You can set SLO targets for your applications that are discovered by Application Signals, using critical metrics such as latency and availability.
|
|
38
|
+
* You can also set SLOs against any CloudWatch metric or math expression that produces a time series.</p>
|
|
39
|
+
* <p>When you create an SLO, you specify whether it is a <i>period-based SLO</i>
|
|
40
|
+
* or a <i>request-based SLO</i>. Each type of SLO has a different way of evaluating
|
|
41
|
+
* your application's performance against its attainment goal.</p>
|
|
42
|
+
* <ul>
|
|
43
|
+
* <li>
|
|
44
|
+
* <p>A <i>period-based SLO</i> uses defined <i>periods</i> of time within
|
|
45
|
+
* a specified total time interval. For each period of time, Application Signals determines whether the
|
|
46
|
+
* application met its goal. The attainment rate is calculated as the <code>number of good periods/number of total periods</code>.</p>
|
|
47
|
+
* <p>For example, for a period-based SLO, meeting an attainment goal of 99.9% means that within your interval, your application must meet its
|
|
48
|
+
* performance goal during at least 99.9% of the
|
|
49
|
+
* time periods.</p>
|
|
50
|
+
* </li>
|
|
51
|
+
* <li>
|
|
52
|
+
* <p>A <i>request-based SLO</i> doesn't use pre-defined periods of time. Instead,
|
|
53
|
+
* the SLO measures <code>number of good requests/number of total requests</code> during the interval. At any time, you can find the ratio of
|
|
54
|
+
* good requests to total requests for the interval up to the time stamp that you specify, and measure that ratio against the goal set in your SLO.</p>
|
|
55
|
+
* </li>
|
|
56
|
+
* </ul>
|
|
41
57
|
* <p>After you have created an SLO, you can retrieve error budget reports for it.
|
|
42
|
-
* An <i>error budget</i> is the
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
*
|
|
58
|
+
* An <i>error budget</i> is the amount of time or amount of requests that your application can be non-compliant
|
|
59
|
+
* with the SLO's goal, and still have your application meet the goal.</p>
|
|
60
|
+
* <ul>
|
|
61
|
+
* <li>
|
|
62
|
+
* <p>For a period-based SLO, the error budget starts at a number defined by the highest number of periods that can fail to meet the threshold,
|
|
63
|
+
* while still meeting the overall goal. The <i>remaining error budget</i> decreases with every failed period
|
|
64
|
+
* that is recorded. The error budget within one interval can never increase.</p>
|
|
65
|
+
* <p>For example, an SLO with a threshold that 99.95% of requests must be completed under 2000ms every month
|
|
66
|
+
* translates to an error budget of 21.9 minutes of downtime per month.</p>
|
|
67
|
+
* </li>
|
|
68
|
+
* <li>
|
|
69
|
+
* <p>For a request-based SLO, the remaining error budget is dynamic and can increase or decrease, depending on
|
|
70
|
+
* the ratio of good requests to total requests.</p>
|
|
71
|
+
* </li>
|
|
72
|
+
* </ul>
|
|
73
|
+
* <p>For more information about SLOs, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-ServiceLevelObjectives.html">
|
|
74
|
+
* Service level objectives (SLOs)</a>.
|
|
75
|
+
* </p>
|
|
76
|
+
* <p>When you perform a <code>CreateServiceLevelObjective</code> operation, Application Signals creates the <i>AWSServiceRoleForCloudWatchApplicationSignals</i> service-linked role,
|
|
47
77
|
* if it doesn't already exist in your account. This service-
|
|
48
78
|
* linked role has the following permissions:</p>
|
|
49
79
|
* <ul>
|
|
@@ -83,11 +113,6 @@ declare const CreateServiceLevelObjectiveCommand_base: {
|
|
|
83
113
|
* </p>
|
|
84
114
|
* </li>
|
|
85
115
|
* </ul>
|
|
86
|
-
* <p>You can easily set SLO targets for your applications that are discovered by Application Signals, using critical metrics such as latency and availability.
|
|
87
|
-
* You can also set SLOs against any CloudWatch metric or math expression that produces a time series.</p>
|
|
88
|
-
* <p>For more information about SLOs, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-ServiceLevelObjectives.html">
|
|
89
|
-
* Service level objectives (SLOs)</a>.
|
|
90
|
-
* </p>
|
|
91
116
|
* @example
|
|
92
117
|
* Use a bare-bones client and the command you need to make an API call.
|
|
93
118
|
* ```javascript
|
|
@@ -135,15 +160,103 @@ declare const CreateServiceLevelObjectiveCommand_base: {
|
|
|
135
160
|
* MetricThreshold: Number("double"), // required
|
|
136
161
|
* ComparisonOperator: "GreaterThanOrEqualTo" || "GreaterThan" || "LessThan" || "LessThanOrEqualTo", // required
|
|
137
162
|
* },
|
|
163
|
+
* RequestBasedSliConfig: { // RequestBasedServiceLevelIndicatorConfig
|
|
164
|
+
* RequestBasedSliMetricConfig: { // RequestBasedServiceLevelIndicatorMetricConfig
|
|
165
|
+
* KeyAttributes: {
|
|
166
|
+
* "<keys>": "STRING_VALUE",
|
|
167
|
+
* },
|
|
168
|
+
* OperationName: "STRING_VALUE",
|
|
169
|
+
* MetricType: "LATENCY" || "AVAILABILITY",
|
|
170
|
+
* TotalRequestCountMetric: [
|
|
171
|
+
* {
|
|
172
|
+
* Id: "STRING_VALUE", // required
|
|
173
|
+
* MetricStat: {
|
|
174
|
+
* Metric: {
|
|
175
|
+
* Namespace: "STRING_VALUE",
|
|
176
|
+
* MetricName: "STRING_VALUE",
|
|
177
|
+
* Dimensions: [
|
|
178
|
+
* {
|
|
179
|
+
* Name: "STRING_VALUE", // required
|
|
180
|
+
* Value: "STRING_VALUE", // required
|
|
181
|
+
* },
|
|
182
|
+
* ],
|
|
183
|
+
* },
|
|
184
|
+
* Period: Number("int"), // required
|
|
185
|
+
* Stat: "STRING_VALUE", // required
|
|
186
|
+
* Unit: "Microseconds" || "Milliseconds" || "Seconds" || "Bytes" || "Kilobytes" || "Megabytes" || "Gigabytes" || "Terabytes" || "Bits" || "Kilobits" || "Megabits" || "Gigabits" || "Terabits" || "Percent" || "Count" || "Bytes/Second" || "Kilobytes/Second" || "Megabytes/Second" || "Gigabytes/Second" || "Terabytes/Second" || "Bits/Second" || "Kilobits/Second" || "Megabits/Second" || "Gigabits/Second" || "Terabits/Second" || "Count/Second" || "None",
|
|
187
|
+
* },
|
|
188
|
+
* Expression: "STRING_VALUE",
|
|
189
|
+
* Label: "STRING_VALUE",
|
|
190
|
+
* ReturnData: true || false,
|
|
191
|
+
* Period: Number("int"),
|
|
192
|
+
* AccountId: "STRING_VALUE",
|
|
193
|
+
* },
|
|
194
|
+
* ],
|
|
195
|
+
* MonitoredRequestCountMetric: { // MonitoredRequestCountMetricDataQueries Union: only one key present
|
|
196
|
+
* GoodCountMetric: [
|
|
197
|
+
* {
|
|
198
|
+
* Id: "STRING_VALUE", // required
|
|
199
|
+
* MetricStat: {
|
|
200
|
+
* Metric: {
|
|
201
|
+
* Namespace: "STRING_VALUE",
|
|
202
|
+
* MetricName: "STRING_VALUE",
|
|
203
|
+
* Dimensions: [
|
|
204
|
+
* {
|
|
205
|
+
* Name: "STRING_VALUE", // required
|
|
206
|
+
* Value: "STRING_VALUE", // required
|
|
207
|
+
* },
|
|
208
|
+
* ],
|
|
209
|
+
* },
|
|
210
|
+
* Period: Number("int"), // required
|
|
211
|
+
* Stat: "STRING_VALUE", // required
|
|
212
|
+
* Unit: "Microseconds" || "Milliseconds" || "Seconds" || "Bytes" || "Kilobytes" || "Megabytes" || "Gigabytes" || "Terabytes" || "Bits" || "Kilobits" || "Megabits" || "Gigabits" || "Terabits" || "Percent" || "Count" || "Bytes/Second" || "Kilobytes/Second" || "Megabytes/Second" || "Gigabytes/Second" || "Terabytes/Second" || "Bits/Second" || "Kilobits/Second" || "Megabits/Second" || "Gigabits/Second" || "Terabits/Second" || "Count/Second" || "None",
|
|
213
|
+
* },
|
|
214
|
+
* Expression: "STRING_VALUE",
|
|
215
|
+
* Label: "STRING_VALUE",
|
|
216
|
+
* ReturnData: true || false,
|
|
217
|
+
* Period: Number("int"),
|
|
218
|
+
* AccountId: "STRING_VALUE",
|
|
219
|
+
* },
|
|
220
|
+
* ],
|
|
221
|
+
* BadCountMetric: [
|
|
222
|
+
* {
|
|
223
|
+
* Id: "STRING_VALUE", // required
|
|
224
|
+
* MetricStat: {
|
|
225
|
+
* Metric: {
|
|
226
|
+
* Namespace: "STRING_VALUE",
|
|
227
|
+
* MetricName: "STRING_VALUE",
|
|
228
|
+
* Dimensions: [
|
|
229
|
+
* {
|
|
230
|
+
* Name: "STRING_VALUE", // required
|
|
231
|
+
* Value: "STRING_VALUE", // required
|
|
232
|
+
* },
|
|
233
|
+
* ],
|
|
234
|
+
* },
|
|
235
|
+
* Period: Number("int"), // required
|
|
236
|
+
* Stat: "STRING_VALUE", // required
|
|
237
|
+
* Unit: "Microseconds" || "Milliseconds" || "Seconds" || "Bytes" || "Kilobytes" || "Megabytes" || "Gigabytes" || "Terabytes" || "Bits" || "Kilobits" || "Megabits" || "Gigabits" || "Terabits" || "Percent" || "Count" || "Bytes/Second" || "Kilobytes/Second" || "Megabytes/Second" || "Gigabytes/Second" || "Terabytes/Second" || "Bits/Second" || "Kilobits/Second" || "Megabits/Second" || "Gigabits/Second" || "Terabits/Second" || "Count/Second" || "None",
|
|
238
|
+
* },
|
|
239
|
+
* Expression: "STRING_VALUE",
|
|
240
|
+
* Label: "STRING_VALUE",
|
|
241
|
+
* ReturnData: true || false,
|
|
242
|
+
* Period: Number("int"),
|
|
243
|
+
* AccountId: "STRING_VALUE",
|
|
244
|
+
* },
|
|
245
|
+
* ],
|
|
246
|
+
* },
|
|
247
|
+
* },
|
|
248
|
+
* MetricThreshold: Number("double"),
|
|
249
|
+
* ComparisonOperator: "GreaterThanOrEqualTo" || "GreaterThan" || "LessThan" || "LessThanOrEqualTo",
|
|
250
|
+
* },
|
|
138
251
|
* Goal: { // Goal
|
|
139
252
|
* Interval: { // Interval Union: only one key present
|
|
140
253
|
* RollingInterval: { // RollingInterval
|
|
141
|
-
* DurationUnit: "DAY" || "MONTH", // required
|
|
254
|
+
* DurationUnit: "MINUTE" || "HOUR" || "DAY" || "MONTH", // required
|
|
142
255
|
* Duration: Number("int"), // required
|
|
143
256
|
* },
|
|
144
257
|
* CalendarInterval: { // CalendarInterval
|
|
145
258
|
* StartTime: new Date("TIMESTAMP"), // required
|
|
146
|
-
* DurationUnit: "DAY" || "MONTH", // required
|
|
259
|
+
* DurationUnit: "MINUTE" || "HOUR" || "DAY" || "MONTH", // required
|
|
147
260
|
* Duration: Number("int"), // required
|
|
148
261
|
* },
|
|
149
262
|
* },
|
|
@@ -202,15 +315,104 @@ declare const CreateServiceLevelObjectiveCommand_base: {
|
|
|
202
315
|
* // MetricThreshold: Number("double"), // required
|
|
203
316
|
* // ComparisonOperator: "GreaterThanOrEqualTo" || "GreaterThan" || "LessThan" || "LessThanOrEqualTo", // required
|
|
204
317
|
* // },
|
|
318
|
+
* // RequestBasedSli: { // RequestBasedServiceLevelIndicator
|
|
319
|
+
* // RequestBasedSliMetric: { // RequestBasedServiceLevelIndicatorMetric
|
|
320
|
+
* // KeyAttributes: {
|
|
321
|
+
* // "<keys>": "STRING_VALUE",
|
|
322
|
+
* // },
|
|
323
|
+
* // OperationName: "STRING_VALUE",
|
|
324
|
+
* // MetricType: "LATENCY" || "AVAILABILITY",
|
|
325
|
+
* // TotalRequestCountMetric: [ // required
|
|
326
|
+
* // {
|
|
327
|
+
* // Id: "STRING_VALUE", // required
|
|
328
|
+
* // MetricStat: {
|
|
329
|
+
* // Metric: {
|
|
330
|
+
* // Namespace: "STRING_VALUE",
|
|
331
|
+
* // MetricName: "STRING_VALUE",
|
|
332
|
+
* // Dimensions: [
|
|
333
|
+
* // {
|
|
334
|
+
* // Name: "STRING_VALUE", // required
|
|
335
|
+
* // Value: "STRING_VALUE", // required
|
|
336
|
+
* // },
|
|
337
|
+
* // ],
|
|
338
|
+
* // },
|
|
339
|
+
* // Period: Number("int"), // required
|
|
340
|
+
* // Stat: "STRING_VALUE", // required
|
|
341
|
+
* // Unit: "Microseconds" || "Milliseconds" || "Seconds" || "Bytes" || "Kilobytes" || "Megabytes" || "Gigabytes" || "Terabytes" || "Bits" || "Kilobits" || "Megabits" || "Gigabits" || "Terabits" || "Percent" || "Count" || "Bytes/Second" || "Kilobytes/Second" || "Megabytes/Second" || "Gigabytes/Second" || "Terabytes/Second" || "Bits/Second" || "Kilobits/Second" || "Megabits/Second" || "Gigabits/Second" || "Terabits/Second" || "Count/Second" || "None",
|
|
342
|
+
* // },
|
|
343
|
+
* // Expression: "STRING_VALUE",
|
|
344
|
+
* // Label: "STRING_VALUE",
|
|
345
|
+
* // ReturnData: true || false,
|
|
346
|
+
* // Period: Number("int"),
|
|
347
|
+
* // AccountId: "STRING_VALUE",
|
|
348
|
+
* // },
|
|
349
|
+
* // ],
|
|
350
|
+
* // MonitoredRequestCountMetric: { // MonitoredRequestCountMetricDataQueries Union: only one key present
|
|
351
|
+
* // GoodCountMetric: [
|
|
352
|
+
* // {
|
|
353
|
+
* // Id: "STRING_VALUE", // required
|
|
354
|
+
* // MetricStat: {
|
|
355
|
+
* // Metric: {
|
|
356
|
+
* // Namespace: "STRING_VALUE",
|
|
357
|
+
* // MetricName: "STRING_VALUE",
|
|
358
|
+
* // Dimensions: [
|
|
359
|
+
* // {
|
|
360
|
+
* // Name: "STRING_VALUE", // required
|
|
361
|
+
* // Value: "STRING_VALUE", // required
|
|
362
|
+
* // },
|
|
363
|
+
* // ],
|
|
364
|
+
* // },
|
|
365
|
+
* // Period: Number("int"), // required
|
|
366
|
+
* // Stat: "STRING_VALUE", // required
|
|
367
|
+
* // Unit: "Microseconds" || "Milliseconds" || "Seconds" || "Bytes" || "Kilobytes" || "Megabytes" || "Gigabytes" || "Terabytes" || "Bits" || "Kilobits" || "Megabits" || "Gigabits" || "Terabits" || "Percent" || "Count" || "Bytes/Second" || "Kilobytes/Second" || "Megabytes/Second" || "Gigabytes/Second" || "Terabytes/Second" || "Bits/Second" || "Kilobits/Second" || "Megabits/Second" || "Gigabits/Second" || "Terabits/Second" || "Count/Second" || "None",
|
|
368
|
+
* // },
|
|
369
|
+
* // Expression: "STRING_VALUE",
|
|
370
|
+
* // Label: "STRING_VALUE",
|
|
371
|
+
* // ReturnData: true || false,
|
|
372
|
+
* // Period: Number("int"),
|
|
373
|
+
* // AccountId: "STRING_VALUE",
|
|
374
|
+
* // },
|
|
375
|
+
* // ],
|
|
376
|
+
* // BadCountMetric: [
|
|
377
|
+
* // {
|
|
378
|
+
* // Id: "STRING_VALUE", // required
|
|
379
|
+
* // MetricStat: {
|
|
380
|
+
* // Metric: {
|
|
381
|
+
* // Namespace: "STRING_VALUE",
|
|
382
|
+
* // MetricName: "STRING_VALUE",
|
|
383
|
+
* // Dimensions: [
|
|
384
|
+
* // {
|
|
385
|
+
* // Name: "STRING_VALUE", // required
|
|
386
|
+
* // Value: "STRING_VALUE", // required
|
|
387
|
+
* // },
|
|
388
|
+
* // ],
|
|
389
|
+
* // },
|
|
390
|
+
* // Period: Number("int"), // required
|
|
391
|
+
* // Stat: "STRING_VALUE", // required
|
|
392
|
+
* // Unit: "Microseconds" || "Milliseconds" || "Seconds" || "Bytes" || "Kilobytes" || "Megabytes" || "Gigabytes" || "Terabytes" || "Bits" || "Kilobits" || "Megabits" || "Gigabits" || "Terabits" || "Percent" || "Count" || "Bytes/Second" || "Kilobytes/Second" || "Megabytes/Second" || "Gigabytes/Second" || "Terabytes/Second" || "Bits/Second" || "Kilobits/Second" || "Megabits/Second" || "Gigabits/Second" || "Terabits/Second" || "Count/Second" || "None",
|
|
393
|
+
* // },
|
|
394
|
+
* // Expression: "STRING_VALUE",
|
|
395
|
+
* // Label: "STRING_VALUE",
|
|
396
|
+
* // ReturnData: true || false,
|
|
397
|
+
* // Period: Number("int"),
|
|
398
|
+
* // AccountId: "STRING_VALUE",
|
|
399
|
+
* // },
|
|
400
|
+
* // ],
|
|
401
|
+
* // },
|
|
402
|
+
* // },
|
|
403
|
+
* // MetricThreshold: Number("double"),
|
|
404
|
+
* // ComparisonOperator: "GreaterThanOrEqualTo" || "GreaterThan" || "LessThan" || "LessThanOrEqualTo",
|
|
405
|
+
* // },
|
|
406
|
+
* // EvaluationType: "PeriodBased" || "RequestBased",
|
|
205
407
|
* // Goal: { // Goal
|
|
206
408
|
* // Interval: { // Interval Union: only one key present
|
|
207
409
|
* // RollingInterval: { // RollingInterval
|
|
208
|
-
* // DurationUnit: "DAY" || "MONTH", // required
|
|
410
|
+
* // DurationUnit: "MINUTE" || "HOUR" || "DAY" || "MONTH", // required
|
|
209
411
|
* // Duration: Number("int"), // required
|
|
210
412
|
* // },
|
|
211
413
|
* // CalendarInterval: { // CalendarInterval
|
|
212
414
|
* // StartTime: new Date("TIMESTAMP"), // required
|
|
213
|
-
* // DurationUnit: "DAY" || "MONTH", // required
|
|
415
|
+
* // DurationUnit: "MINUTE" || "HOUR" || "DAY" || "MONTH", // required
|
|
214
416
|
* // Duration: Number("int"), // required
|
|
215
417
|
* // },
|
|
216
418
|
* // },
|
|
@@ -82,15 +82,104 @@ declare const GetServiceLevelObjectiveCommand_base: {
|
|
|
82
82
|
* // MetricThreshold: Number("double"), // required
|
|
83
83
|
* // ComparisonOperator: "GreaterThanOrEqualTo" || "GreaterThan" || "LessThan" || "LessThanOrEqualTo", // required
|
|
84
84
|
* // },
|
|
85
|
+
* // RequestBasedSli: { // RequestBasedServiceLevelIndicator
|
|
86
|
+
* // RequestBasedSliMetric: { // RequestBasedServiceLevelIndicatorMetric
|
|
87
|
+
* // KeyAttributes: {
|
|
88
|
+
* // "<keys>": "STRING_VALUE",
|
|
89
|
+
* // },
|
|
90
|
+
* // OperationName: "STRING_VALUE",
|
|
91
|
+
* // MetricType: "LATENCY" || "AVAILABILITY",
|
|
92
|
+
* // TotalRequestCountMetric: [ // required
|
|
93
|
+
* // {
|
|
94
|
+
* // Id: "STRING_VALUE", // required
|
|
95
|
+
* // MetricStat: {
|
|
96
|
+
* // Metric: {
|
|
97
|
+
* // Namespace: "STRING_VALUE",
|
|
98
|
+
* // MetricName: "STRING_VALUE",
|
|
99
|
+
* // Dimensions: [
|
|
100
|
+
* // {
|
|
101
|
+
* // Name: "STRING_VALUE", // required
|
|
102
|
+
* // Value: "STRING_VALUE", // required
|
|
103
|
+
* // },
|
|
104
|
+
* // ],
|
|
105
|
+
* // },
|
|
106
|
+
* // Period: Number("int"), // required
|
|
107
|
+
* // Stat: "STRING_VALUE", // required
|
|
108
|
+
* // Unit: "Microseconds" || "Milliseconds" || "Seconds" || "Bytes" || "Kilobytes" || "Megabytes" || "Gigabytes" || "Terabytes" || "Bits" || "Kilobits" || "Megabits" || "Gigabits" || "Terabits" || "Percent" || "Count" || "Bytes/Second" || "Kilobytes/Second" || "Megabytes/Second" || "Gigabytes/Second" || "Terabytes/Second" || "Bits/Second" || "Kilobits/Second" || "Megabits/Second" || "Gigabits/Second" || "Terabits/Second" || "Count/Second" || "None",
|
|
109
|
+
* // },
|
|
110
|
+
* // Expression: "STRING_VALUE",
|
|
111
|
+
* // Label: "STRING_VALUE",
|
|
112
|
+
* // ReturnData: true || false,
|
|
113
|
+
* // Period: Number("int"),
|
|
114
|
+
* // AccountId: "STRING_VALUE",
|
|
115
|
+
* // },
|
|
116
|
+
* // ],
|
|
117
|
+
* // MonitoredRequestCountMetric: { // MonitoredRequestCountMetricDataQueries Union: only one key present
|
|
118
|
+
* // GoodCountMetric: [
|
|
119
|
+
* // {
|
|
120
|
+
* // Id: "STRING_VALUE", // required
|
|
121
|
+
* // MetricStat: {
|
|
122
|
+
* // Metric: {
|
|
123
|
+
* // Namespace: "STRING_VALUE",
|
|
124
|
+
* // MetricName: "STRING_VALUE",
|
|
125
|
+
* // Dimensions: [
|
|
126
|
+
* // {
|
|
127
|
+
* // Name: "STRING_VALUE", // required
|
|
128
|
+
* // Value: "STRING_VALUE", // required
|
|
129
|
+
* // },
|
|
130
|
+
* // ],
|
|
131
|
+
* // },
|
|
132
|
+
* // Period: Number("int"), // required
|
|
133
|
+
* // Stat: "STRING_VALUE", // required
|
|
134
|
+
* // Unit: "Microseconds" || "Milliseconds" || "Seconds" || "Bytes" || "Kilobytes" || "Megabytes" || "Gigabytes" || "Terabytes" || "Bits" || "Kilobits" || "Megabits" || "Gigabits" || "Terabits" || "Percent" || "Count" || "Bytes/Second" || "Kilobytes/Second" || "Megabytes/Second" || "Gigabytes/Second" || "Terabytes/Second" || "Bits/Second" || "Kilobits/Second" || "Megabits/Second" || "Gigabits/Second" || "Terabits/Second" || "Count/Second" || "None",
|
|
135
|
+
* // },
|
|
136
|
+
* // Expression: "STRING_VALUE",
|
|
137
|
+
* // Label: "STRING_VALUE",
|
|
138
|
+
* // ReturnData: true || false,
|
|
139
|
+
* // Period: Number("int"),
|
|
140
|
+
* // AccountId: "STRING_VALUE",
|
|
141
|
+
* // },
|
|
142
|
+
* // ],
|
|
143
|
+
* // BadCountMetric: [
|
|
144
|
+
* // {
|
|
145
|
+
* // Id: "STRING_VALUE", // required
|
|
146
|
+
* // MetricStat: {
|
|
147
|
+
* // Metric: {
|
|
148
|
+
* // Namespace: "STRING_VALUE",
|
|
149
|
+
* // MetricName: "STRING_VALUE",
|
|
150
|
+
* // Dimensions: [
|
|
151
|
+
* // {
|
|
152
|
+
* // Name: "STRING_VALUE", // required
|
|
153
|
+
* // Value: "STRING_VALUE", // required
|
|
154
|
+
* // },
|
|
155
|
+
* // ],
|
|
156
|
+
* // },
|
|
157
|
+
* // Period: Number("int"), // required
|
|
158
|
+
* // Stat: "STRING_VALUE", // required
|
|
159
|
+
* // Unit: "Microseconds" || "Milliseconds" || "Seconds" || "Bytes" || "Kilobytes" || "Megabytes" || "Gigabytes" || "Terabytes" || "Bits" || "Kilobits" || "Megabits" || "Gigabits" || "Terabits" || "Percent" || "Count" || "Bytes/Second" || "Kilobytes/Second" || "Megabytes/Second" || "Gigabytes/Second" || "Terabytes/Second" || "Bits/Second" || "Kilobits/Second" || "Megabits/Second" || "Gigabits/Second" || "Terabits/Second" || "Count/Second" || "None",
|
|
160
|
+
* // },
|
|
161
|
+
* // Expression: "STRING_VALUE",
|
|
162
|
+
* // Label: "STRING_VALUE",
|
|
163
|
+
* // ReturnData: true || false,
|
|
164
|
+
* // Period: Number("int"),
|
|
165
|
+
* // AccountId: "STRING_VALUE",
|
|
166
|
+
* // },
|
|
167
|
+
* // ],
|
|
168
|
+
* // },
|
|
169
|
+
* // },
|
|
170
|
+
* // MetricThreshold: Number("double"),
|
|
171
|
+
* // ComparisonOperator: "GreaterThanOrEqualTo" || "GreaterThan" || "LessThan" || "LessThanOrEqualTo",
|
|
172
|
+
* // },
|
|
173
|
+
* // EvaluationType: "PeriodBased" || "RequestBased",
|
|
85
174
|
* // Goal: { // Goal
|
|
86
175
|
* // Interval: { // Interval Union: only one key present
|
|
87
176
|
* // RollingInterval: { // RollingInterval
|
|
88
|
-
* // DurationUnit: "DAY" || "MONTH", // required
|
|
177
|
+
* // DurationUnit: "MINUTE" || "HOUR" || "DAY" || "MONTH", // required
|
|
89
178
|
* // Duration: Number("int"), // required
|
|
90
179
|
* // },
|
|
91
180
|
* // CalendarInterval: { // CalendarInterval
|
|
92
181
|
* // StartTime: new Date("TIMESTAMP"), // required
|
|
93
|
-
* // DurationUnit: "DAY" || "MONTH", // required
|
|
182
|
+
* // DurationUnit: "MINUTE" || "HOUR" || "DAY" || "MONTH", // required
|
|
94
183
|
* // Duration: Number("int"), // required
|
|
95
184
|
* // },
|
|
96
185
|
* // },
|
|
@@ -29,6 +29,8 @@ declare const UpdateServiceLevelObjectiveCommand_base: {
|
|
|
29
29
|
/**
|
|
30
30
|
* <p>Updates an existing service level objective (SLO). If you omit parameters, the previous values
|
|
31
31
|
* of those parameters are retained. </p>
|
|
32
|
+
* <p>You cannot change from a period-based SLO to a request-based SLO,
|
|
33
|
+
* or change from a request-based SLO to a period-based SLO.</p>
|
|
32
34
|
* @example
|
|
33
35
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
36
|
* ```javascript
|
|
@@ -76,15 +78,103 @@ declare const UpdateServiceLevelObjectiveCommand_base: {
|
|
|
76
78
|
* MetricThreshold: Number("double"), // required
|
|
77
79
|
* ComparisonOperator: "GreaterThanOrEqualTo" || "GreaterThan" || "LessThan" || "LessThanOrEqualTo", // required
|
|
78
80
|
* },
|
|
81
|
+
* RequestBasedSliConfig: { // RequestBasedServiceLevelIndicatorConfig
|
|
82
|
+
* RequestBasedSliMetricConfig: { // RequestBasedServiceLevelIndicatorMetricConfig
|
|
83
|
+
* KeyAttributes: {
|
|
84
|
+
* "<keys>": "STRING_VALUE",
|
|
85
|
+
* },
|
|
86
|
+
* OperationName: "STRING_VALUE",
|
|
87
|
+
* MetricType: "LATENCY" || "AVAILABILITY",
|
|
88
|
+
* TotalRequestCountMetric: [
|
|
89
|
+
* {
|
|
90
|
+
* Id: "STRING_VALUE", // required
|
|
91
|
+
* MetricStat: {
|
|
92
|
+
* Metric: {
|
|
93
|
+
* Namespace: "STRING_VALUE",
|
|
94
|
+
* MetricName: "STRING_VALUE",
|
|
95
|
+
* Dimensions: [
|
|
96
|
+
* {
|
|
97
|
+
* Name: "STRING_VALUE", // required
|
|
98
|
+
* Value: "STRING_VALUE", // required
|
|
99
|
+
* },
|
|
100
|
+
* ],
|
|
101
|
+
* },
|
|
102
|
+
* Period: Number("int"), // required
|
|
103
|
+
* Stat: "STRING_VALUE", // required
|
|
104
|
+
* Unit: "Microseconds" || "Milliseconds" || "Seconds" || "Bytes" || "Kilobytes" || "Megabytes" || "Gigabytes" || "Terabytes" || "Bits" || "Kilobits" || "Megabits" || "Gigabits" || "Terabits" || "Percent" || "Count" || "Bytes/Second" || "Kilobytes/Second" || "Megabytes/Second" || "Gigabytes/Second" || "Terabytes/Second" || "Bits/Second" || "Kilobits/Second" || "Megabits/Second" || "Gigabits/Second" || "Terabits/Second" || "Count/Second" || "None",
|
|
105
|
+
* },
|
|
106
|
+
* Expression: "STRING_VALUE",
|
|
107
|
+
* Label: "STRING_VALUE",
|
|
108
|
+
* ReturnData: true || false,
|
|
109
|
+
* Period: Number("int"),
|
|
110
|
+
* AccountId: "STRING_VALUE",
|
|
111
|
+
* },
|
|
112
|
+
* ],
|
|
113
|
+
* MonitoredRequestCountMetric: { // MonitoredRequestCountMetricDataQueries Union: only one key present
|
|
114
|
+
* GoodCountMetric: [
|
|
115
|
+
* {
|
|
116
|
+
* Id: "STRING_VALUE", // required
|
|
117
|
+
* MetricStat: {
|
|
118
|
+
* Metric: {
|
|
119
|
+
* Namespace: "STRING_VALUE",
|
|
120
|
+
* MetricName: "STRING_VALUE",
|
|
121
|
+
* Dimensions: [
|
|
122
|
+
* {
|
|
123
|
+
* Name: "STRING_VALUE", // required
|
|
124
|
+
* Value: "STRING_VALUE", // required
|
|
125
|
+
* },
|
|
126
|
+
* ],
|
|
127
|
+
* },
|
|
128
|
+
* Period: Number("int"), // required
|
|
129
|
+
* Stat: "STRING_VALUE", // required
|
|
130
|
+
* Unit: "Microseconds" || "Milliseconds" || "Seconds" || "Bytes" || "Kilobytes" || "Megabytes" || "Gigabytes" || "Terabytes" || "Bits" || "Kilobits" || "Megabits" || "Gigabits" || "Terabits" || "Percent" || "Count" || "Bytes/Second" || "Kilobytes/Second" || "Megabytes/Second" || "Gigabytes/Second" || "Terabytes/Second" || "Bits/Second" || "Kilobits/Second" || "Megabits/Second" || "Gigabits/Second" || "Terabits/Second" || "Count/Second" || "None",
|
|
131
|
+
* },
|
|
132
|
+
* Expression: "STRING_VALUE",
|
|
133
|
+
* Label: "STRING_VALUE",
|
|
134
|
+
* ReturnData: true || false,
|
|
135
|
+
* Period: Number("int"),
|
|
136
|
+
* AccountId: "STRING_VALUE",
|
|
137
|
+
* },
|
|
138
|
+
* ],
|
|
139
|
+
* BadCountMetric: [
|
|
140
|
+
* {
|
|
141
|
+
* Id: "STRING_VALUE", // required
|
|
142
|
+
* MetricStat: {
|
|
143
|
+
* Metric: {
|
|
144
|
+
* Namespace: "STRING_VALUE",
|
|
145
|
+
* MetricName: "STRING_VALUE",
|
|
146
|
+
* Dimensions: [
|
|
147
|
+
* {
|
|
148
|
+
* Name: "STRING_VALUE", // required
|
|
149
|
+
* Value: "STRING_VALUE", // required
|
|
150
|
+
* },
|
|
151
|
+
* ],
|
|
152
|
+
* },
|
|
153
|
+
* Period: Number("int"), // required
|
|
154
|
+
* Stat: "STRING_VALUE", // required
|
|
155
|
+
* Unit: "Microseconds" || "Milliseconds" || "Seconds" || "Bytes" || "Kilobytes" || "Megabytes" || "Gigabytes" || "Terabytes" || "Bits" || "Kilobits" || "Megabits" || "Gigabits" || "Terabits" || "Percent" || "Count" || "Bytes/Second" || "Kilobytes/Second" || "Megabytes/Second" || "Gigabytes/Second" || "Terabytes/Second" || "Bits/Second" || "Kilobits/Second" || "Megabits/Second" || "Gigabits/Second" || "Terabits/Second" || "Count/Second" || "None",
|
|
156
|
+
* },
|
|
157
|
+
* Expression: "STRING_VALUE",
|
|
158
|
+
* Label: "STRING_VALUE",
|
|
159
|
+
* ReturnData: true || false,
|
|
160
|
+
* Period: Number("int"),
|
|
161
|
+
* AccountId: "STRING_VALUE",
|
|
162
|
+
* },
|
|
163
|
+
* ],
|
|
164
|
+
* },
|
|
165
|
+
* },
|
|
166
|
+
* MetricThreshold: Number("double"),
|
|
167
|
+
* ComparisonOperator: "GreaterThanOrEqualTo" || "GreaterThan" || "LessThan" || "LessThanOrEqualTo",
|
|
168
|
+
* },
|
|
79
169
|
* Goal: { // Goal
|
|
80
170
|
* Interval: { // Interval Union: only one key present
|
|
81
171
|
* RollingInterval: { // RollingInterval
|
|
82
|
-
* DurationUnit: "DAY" || "MONTH", // required
|
|
172
|
+
* DurationUnit: "MINUTE" || "HOUR" || "DAY" || "MONTH", // required
|
|
83
173
|
* Duration: Number("int"), // required
|
|
84
174
|
* },
|
|
85
175
|
* CalendarInterval: { // CalendarInterval
|
|
86
176
|
* StartTime: new Date("TIMESTAMP"), // required
|
|
87
|
-
* DurationUnit: "DAY" || "MONTH", // required
|
|
177
|
+
* DurationUnit: "MINUTE" || "HOUR" || "DAY" || "MONTH", // required
|
|
88
178
|
* Duration: Number("int"), // required
|
|
89
179
|
* },
|
|
90
180
|
* },
|
|
@@ -137,15 +227,104 @@ declare const UpdateServiceLevelObjectiveCommand_base: {
|
|
|
137
227
|
* // MetricThreshold: Number("double"), // required
|
|
138
228
|
* // ComparisonOperator: "GreaterThanOrEqualTo" || "GreaterThan" || "LessThan" || "LessThanOrEqualTo", // required
|
|
139
229
|
* // },
|
|
230
|
+
* // RequestBasedSli: { // RequestBasedServiceLevelIndicator
|
|
231
|
+
* // RequestBasedSliMetric: { // RequestBasedServiceLevelIndicatorMetric
|
|
232
|
+
* // KeyAttributes: {
|
|
233
|
+
* // "<keys>": "STRING_VALUE",
|
|
234
|
+
* // },
|
|
235
|
+
* // OperationName: "STRING_VALUE",
|
|
236
|
+
* // MetricType: "LATENCY" || "AVAILABILITY",
|
|
237
|
+
* // TotalRequestCountMetric: [ // required
|
|
238
|
+
* // {
|
|
239
|
+
* // Id: "STRING_VALUE", // required
|
|
240
|
+
* // MetricStat: {
|
|
241
|
+
* // Metric: {
|
|
242
|
+
* // Namespace: "STRING_VALUE",
|
|
243
|
+
* // MetricName: "STRING_VALUE",
|
|
244
|
+
* // Dimensions: [
|
|
245
|
+
* // {
|
|
246
|
+
* // Name: "STRING_VALUE", // required
|
|
247
|
+
* // Value: "STRING_VALUE", // required
|
|
248
|
+
* // },
|
|
249
|
+
* // ],
|
|
250
|
+
* // },
|
|
251
|
+
* // Period: Number("int"), // required
|
|
252
|
+
* // Stat: "STRING_VALUE", // required
|
|
253
|
+
* // Unit: "Microseconds" || "Milliseconds" || "Seconds" || "Bytes" || "Kilobytes" || "Megabytes" || "Gigabytes" || "Terabytes" || "Bits" || "Kilobits" || "Megabits" || "Gigabits" || "Terabits" || "Percent" || "Count" || "Bytes/Second" || "Kilobytes/Second" || "Megabytes/Second" || "Gigabytes/Second" || "Terabytes/Second" || "Bits/Second" || "Kilobits/Second" || "Megabits/Second" || "Gigabits/Second" || "Terabits/Second" || "Count/Second" || "None",
|
|
254
|
+
* // },
|
|
255
|
+
* // Expression: "STRING_VALUE",
|
|
256
|
+
* // Label: "STRING_VALUE",
|
|
257
|
+
* // ReturnData: true || false,
|
|
258
|
+
* // Period: Number("int"),
|
|
259
|
+
* // AccountId: "STRING_VALUE",
|
|
260
|
+
* // },
|
|
261
|
+
* // ],
|
|
262
|
+
* // MonitoredRequestCountMetric: { // MonitoredRequestCountMetricDataQueries Union: only one key present
|
|
263
|
+
* // GoodCountMetric: [
|
|
264
|
+
* // {
|
|
265
|
+
* // Id: "STRING_VALUE", // required
|
|
266
|
+
* // MetricStat: {
|
|
267
|
+
* // Metric: {
|
|
268
|
+
* // Namespace: "STRING_VALUE",
|
|
269
|
+
* // MetricName: "STRING_VALUE",
|
|
270
|
+
* // Dimensions: [
|
|
271
|
+
* // {
|
|
272
|
+
* // Name: "STRING_VALUE", // required
|
|
273
|
+
* // Value: "STRING_VALUE", // required
|
|
274
|
+
* // },
|
|
275
|
+
* // ],
|
|
276
|
+
* // },
|
|
277
|
+
* // Period: Number("int"), // required
|
|
278
|
+
* // Stat: "STRING_VALUE", // required
|
|
279
|
+
* // Unit: "Microseconds" || "Milliseconds" || "Seconds" || "Bytes" || "Kilobytes" || "Megabytes" || "Gigabytes" || "Terabytes" || "Bits" || "Kilobits" || "Megabits" || "Gigabits" || "Terabits" || "Percent" || "Count" || "Bytes/Second" || "Kilobytes/Second" || "Megabytes/Second" || "Gigabytes/Second" || "Terabytes/Second" || "Bits/Second" || "Kilobits/Second" || "Megabits/Second" || "Gigabits/Second" || "Terabits/Second" || "Count/Second" || "None",
|
|
280
|
+
* // },
|
|
281
|
+
* // Expression: "STRING_VALUE",
|
|
282
|
+
* // Label: "STRING_VALUE",
|
|
283
|
+
* // ReturnData: true || false,
|
|
284
|
+
* // Period: Number("int"),
|
|
285
|
+
* // AccountId: "STRING_VALUE",
|
|
286
|
+
* // },
|
|
287
|
+
* // ],
|
|
288
|
+
* // BadCountMetric: [
|
|
289
|
+
* // {
|
|
290
|
+
* // Id: "STRING_VALUE", // required
|
|
291
|
+
* // MetricStat: {
|
|
292
|
+
* // Metric: {
|
|
293
|
+
* // Namespace: "STRING_VALUE",
|
|
294
|
+
* // MetricName: "STRING_VALUE",
|
|
295
|
+
* // Dimensions: [
|
|
296
|
+
* // {
|
|
297
|
+
* // Name: "STRING_VALUE", // required
|
|
298
|
+
* // Value: "STRING_VALUE", // required
|
|
299
|
+
* // },
|
|
300
|
+
* // ],
|
|
301
|
+
* // },
|
|
302
|
+
* // Period: Number("int"), // required
|
|
303
|
+
* // Stat: "STRING_VALUE", // required
|
|
304
|
+
* // Unit: "Microseconds" || "Milliseconds" || "Seconds" || "Bytes" || "Kilobytes" || "Megabytes" || "Gigabytes" || "Terabytes" || "Bits" || "Kilobits" || "Megabits" || "Gigabits" || "Terabits" || "Percent" || "Count" || "Bytes/Second" || "Kilobytes/Second" || "Megabytes/Second" || "Gigabytes/Second" || "Terabytes/Second" || "Bits/Second" || "Kilobits/Second" || "Megabits/Second" || "Gigabits/Second" || "Terabits/Second" || "Count/Second" || "None",
|
|
305
|
+
* // },
|
|
306
|
+
* // Expression: "STRING_VALUE",
|
|
307
|
+
* // Label: "STRING_VALUE",
|
|
308
|
+
* // ReturnData: true || false,
|
|
309
|
+
* // Period: Number("int"),
|
|
310
|
+
* // AccountId: "STRING_VALUE",
|
|
311
|
+
* // },
|
|
312
|
+
* // ],
|
|
313
|
+
* // },
|
|
314
|
+
* // },
|
|
315
|
+
* // MetricThreshold: Number("double"),
|
|
316
|
+
* // ComparisonOperator: "GreaterThanOrEqualTo" || "GreaterThan" || "LessThan" || "LessThanOrEqualTo",
|
|
317
|
+
* // },
|
|
318
|
+
* // EvaluationType: "PeriodBased" || "RequestBased",
|
|
140
319
|
* // Goal: { // Goal
|
|
141
320
|
* // Interval: { // Interval Union: only one key present
|
|
142
321
|
* // RollingInterval: { // RollingInterval
|
|
143
|
-
* // DurationUnit: "DAY" || "MONTH", // required
|
|
322
|
+
* // DurationUnit: "MINUTE" || "HOUR" || "DAY" || "MONTH", // required
|
|
144
323
|
* // Duration: Number("int"), // required
|
|
145
324
|
* // },
|
|
146
325
|
* // CalendarInterval: { // CalendarInterval
|
|
147
326
|
* // StartTime: new Date("TIMESTAMP"), // required
|
|
148
|
-
* // DurationUnit: "DAY" || "MONTH", // required
|
|
327
|
+
* // DurationUnit: "MINUTE" || "HOUR" || "DAY" || "MONTH", // required
|
|
149
328
|
* // Duration: Number("int"), // required
|
|
150
329
|
* // },
|
|
151
330
|
* // },
|