@aws-sdk/client-application-signals 3.777.0 → 3.782.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/models/models_0.js +6 -1
- package/dist-cjs/protocols/Aws_restJson1.js +6 -0
- package/dist-es/models/models_0.js +5 -0
- package/dist-es/protocols/Aws_restJson1.js +6 -0
- package/dist-types/commands/BatchGetServiceLevelObjectiveBudgetReportCommand.d.ts +12 -0
- package/dist-types/commands/CreateServiceLevelObjectiveCommand.d.ts +25 -0
- package/dist-types/commands/GetServiceLevelObjectiveCommand.d.ts +13 -0
- package/dist-types/commands/ListServiceLevelObjectivesCommand.d.ts +17 -0
- package/dist-types/commands/UpdateServiceLevelObjectiveCommand.d.ts +25 -0
- package/dist-types/models/models_0.d.ts +141 -0
- package/dist-types/ts3.4/models/models_0.d.ts +21 -0
- package/package.json +5 -5
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ServiceQuotaExceededException = exports.ConflictException = exports.ResourceNotFoundException = exports.ValidationException = exports.ThrottlingException = exports.MonitoredRequestCountMetricDataQueries = exports.StandardUnit = exports.ServiceLevelIndicatorMetricType = exports.ServiceLevelIndicatorComparisonOperator = exports.Interval = exports.DurationUnit = exports.EvaluationType = exports.ServiceLevelObjectiveBudgetStatus = exports.AccessDeniedException = void 0;
|
|
3
|
+
exports.ServiceQuotaExceededException = exports.MetricSourceType = exports.ConflictException = exports.ResourceNotFoundException = exports.ValidationException = exports.ThrottlingException = exports.MonitoredRequestCountMetricDataQueries = exports.StandardUnit = exports.ServiceLevelIndicatorMetricType = exports.ServiceLevelIndicatorComparisonOperator = exports.Interval = exports.DurationUnit = exports.EvaluationType = exports.ServiceLevelObjectiveBudgetStatus = exports.AccessDeniedException = void 0;
|
|
4
4
|
const ApplicationSignalsServiceException_1 = require("./ApplicationSignalsServiceException");
|
|
5
5
|
class AccessDeniedException extends ApplicationSignalsServiceException_1.ApplicationSignalsServiceException {
|
|
6
6
|
name = "AccessDeniedException";
|
|
@@ -154,6 +154,11 @@ class ConflictException extends ApplicationSignalsServiceException_1.Application
|
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
156
|
exports.ConflictException = ConflictException;
|
|
157
|
+
exports.MetricSourceType = {
|
|
158
|
+
CLOUDWATCH_METRIC: "CloudWatchMetric",
|
|
159
|
+
SERVICE_DEPENDENCY: "ServiceDependency",
|
|
160
|
+
SERVICE_OPERATION: "ServiceOperation",
|
|
161
|
+
};
|
|
157
162
|
class ServiceQuotaExceededException extends ApplicationSignalsServiceException_1.ApplicationSignalsServiceException {
|
|
158
163
|
name = "ServiceQuotaExceededException";
|
|
159
164
|
$fault = "client";
|
|
@@ -164,7 +164,9 @@ const se_ListServiceLevelObjectivesCommand = async (input, context) => {
|
|
|
164
164
|
});
|
|
165
165
|
let body;
|
|
166
166
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
167
|
+
DependencyConfig: (_) => (0, smithy_client_1._json)(_),
|
|
167
168
|
KeyAttributes: (_) => (0, smithy_client_1._json)(_),
|
|
169
|
+
MetricSourceTypes: (_) => (0, smithy_client_1._json)(_),
|
|
168
170
|
}));
|
|
169
171
|
b.m("POST").h(headers).q(query).b(body);
|
|
170
172
|
return b.build();
|
|
@@ -767,6 +769,7 @@ const de_ServiceLevelObjective = (output, context) => {
|
|
|
767
769
|
EvaluationType: smithy_client_1.expectString,
|
|
768
770
|
Goal: (_) => de_Goal(_, context),
|
|
769
771
|
LastUpdatedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
772
|
+
MetricSourceType: smithy_client_1.expectString,
|
|
770
773
|
Name: smithy_client_1.expectString,
|
|
771
774
|
RequestBasedSli: (_) => de_RequestBasedServiceLevelIndicator(_, context),
|
|
772
775
|
Sli: (_) => de_ServiceLevelIndicator(_, context),
|
|
@@ -808,7 +811,10 @@ const de_ServiceLevelObjectiveSummary = (output, context) => {
|
|
|
808
811
|
return (0, smithy_client_1.take)(output, {
|
|
809
812
|
Arn: smithy_client_1.expectString,
|
|
810
813
|
CreatedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
814
|
+
DependencyConfig: smithy_client_1._json,
|
|
815
|
+
EvaluationType: smithy_client_1.expectString,
|
|
811
816
|
KeyAttributes: smithy_client_1._json,
|
|
817
|
+
MetricSourceType: smithy_client_1.expectString,
|
|
812
818
|
Name: smithy_client_1.expectString,
|
|
813
819
|
OperationName: smithy_client_1.expectString,
|
|
814
820
|
});
|
|
@@ -146,6 +146,11 @@ export class ConflictException extends __BaseException {
|
|
|
146
146
|
this.Message = opts.Message;
|
|
147
147
|
}
|
|
148
148
|
}
|
|
149
|
+
export const MetricSourceType = {
|
|
150
|
+
CLOUDWATCH_METRIC: "CloudWatchMetric",
|
|
151
|
+
SERVICE_DEPENDENCY: "ServiceDependency",
|
|
152
|
+
SERVICE_OPERATION: "ServiceOperation",
|
|
153
|
+
};
|
|
149
154
|
export class ServiceQuotaExceededException extends __BaseException {
|
|
150
155
|
name = "ServiceQuotaExceededException";
|
|
151
156
|
$fault = "client";
|
|
@@ -152,7 +152,9 @@ export const se_ListServiceLevelObjectivesCommand = async (input, context) => {
|
|
|
152
152
|
});
|
|
153
153
|
let body;
|
|
154
154
|
body = JSON.stringify(take(input, {
|
|
155
|
+
DependencyConfig: (_) => _json(_),
|
|
155
156
|
KeyAttributes: (_) => _json(_),
|
|
157
|
+
MetricSourceTypes: (_) => _json(_),
|
|
156
158
|
}));
|
|
157
159
|
b.m("POST").h(headers).q(query).b(body);
|
|
158
160
|
return b.build();
|
|
@@ -730,6 +732,7 @@ const de_ServiceLevelObjective = (output, context) => {
|
|
|
730
732
|
EvaluationType: __expectString,
|
|
731
733
|
Goal: (_) => de_Goal(_, context),
|
|
732
734
|
LastUpdatedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
735
|
+
MetricSourceType: __expectString,
|
|
733
736
|
Name: __expectString,
|
|
734
737
|
RequestBasedSli: (_) => de_RequestBasedServiceLevelIndicator(_, context),
|
|
735
738
|
Sli: (_) => de_ServiceLevelIndicator(_, context),
|
|
@@ -771,7 +774,10 @@ const de_ServiceLevelObjectiveSummary = (output, context) => {
|
|
|
771
774
|
return take(output, {
|
|
772
775
|
Arn: __expectString,
|
|
773
776
|
CreatedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
777
|
+
DependencyConfig: _json,
|
|
778
|
+
EvaluationType: __expectString,
|
|
774
779
|
KeyAttributes: _json,
|
|
780
|
+
MetricSourceType: __expectString,
|
|
775
781
|
Name: __expectString,
|
|
776
782
|
OperationName: __expectString,
|
|
777
783
|
});
|
|
@@ -97,6 +97,12 @@ declare const BatchGetServiceLevelObjectiveBudgetReportCommand_base: {
|
|
|
97
97
|
* // AccountId: "STRING_VALUE",
|
|
98
98
|
* // },
|
|
99
99
|
* // ],
|
|
100
|
+
* // DependencyConfig: { // DependencyConfig
|
|
101
|
+
* // DependencyKeyAttributes: { // required
|
|
102
|
+
* // "<keys>": "STRING_VALUE",
|
|
103
|
+
* // },
|
|
104
|
+
* // DependencyOperationName: "STRING_VALUE", // required
|
|
105
|
+
* // },
|
|
100
106
|
* // },
|
|
101
107
|
* // MetricThreshold: Number("double"), // required
|
|
102
108
|
* // ComparisonOperator: "GreaterThanOrEqualTo" || "GreaterThan" || "LessThan" || "LessThanOrEqualTo", // required
|
|
@@ -185,6 +191,12 @@ declare const BatchGetServiceLevelObjectiveBudgetReportCommand_base: {
|
|
|
185
191
|
* // },
|
|
186
192
|
* // ],
|
|
187
193
|
* // },
|
|
194
|
+
* // DependencyConfig: {
|
|
195
|
+
* // DependencyKeyAttributes: { // required
|
|
196
|
+
* // "<keys>": "STRING_VALUE",
|
|
197
|
+
* // },
|
|
198
|
+
* // DependencyOperationName: "STRING_VALUE", // required
|
|
199
|
+
* // },
|
|
188
200
|
* // },
|
|
189
201
|
* // MetricThreshold: Number("double"),
|
|
190
202
|
* // ComparisonOperator: "GreaterThanOrEqualTo" || "GreaterThan" || "LessThan" || "LessThanOrEqualTo",
|
|
@@ -160,6 +160,12 @@ declare const CreateServiceLevelObjectiveCommand_base: {
|
|
|
160
160
|
* AccountId: "STRING_VALUE",
|
|
161
161
|
* },
|
|
162
162
|
* ],
|
|
163
|
+
* DependencyConfig: { // DependencyConfig
|
|
164
|
+
* DependencyKeyAttributes: { // required
|
|
165
|
+
* "<keys>": "STRING_VALUE",
|
|
166
|
+
* },
|
|
167
|
+
* DependencyOperationName: "STRING_VALUE", // required
|
|
168
|
+
* },
|
|
163
169
|
* },
|
|
164
170
|
* MetricThreshold: Number("double"), // required
|
|
165
171
|
* ComparisonOperator: "GreaterThanOrEqualTo" || "GreaterThan" || "LessThan" || "LessThanOrEqualTo", // required
|
|
@@ -248,6 +254,12 @@ declare const CreateServiceLevelObjectiveCommand_base: {
|
|
|
248
254
|
* },
|
|
249
255
|
* ],
|
|
250
256
|
* },
|
|
257
|
+
* DependencyConfig: {
|
|
258
|
+
* DependencyKeyAttributes: { // required
|
|
259
|
+
* "<keys>": "STRING_VALUE",
|
|
260
|
+
* },
|
|
261
|
+
* DependencyOperationName: "STRING_VALUE", // required
|
|
262
|
+
* },
|
|
251
263
|
* },
|
|
252
264
|
* MetricThreshold: Number("double"),
|
|
253
265
|
* ComparisonOperator: "GreaterThanOrEqualTo" || "GreaterThan" || "LessThan" || "LessThanOrEqualTo",
|
|
@@ -320,6 +332,12 @@ declare const CreateServiceLevelObjectiveCommand_base: {
|
|
|
320
332
|
* // AccountId: "STRING_VALUE",
|
|
321
333
|
* // },
|
|
322
334
|
* // ],
|
|
335
|
+
* // DependencyConfig: { // DependencyConfig
|
|
336
|
+
* // DependencyKeyAttributes: { // required
|
|
337
|
+
* // "<keys>": "STRING_VALUE",
|
|
338
|
+
* // },
|
|
339
|
+
* // DependencyOperationName: "STRING_VALUE", // required
|
|
340
|
+
* // },
|
|
323
341
|
* // },
|
|
324
342
|
* // MetricThreshold: Number("double"), // required
|
|
325
343
|
* // ComparisonOperator: "GreaterThanOrEqualTo" || "GreaterThan" || "LessThan" || "LessThanOrEqualTo", // required
|
|
@@ -408,6 +426,12 @@ declare const CreateServiceLevelObjectiveCommand_base: {
|
|
|
408
426
|
* // },
|
|
409
427
|
* // ],
|
|
410
428
|
* // },
|
|
429
|
+
* // DependencyConfig: {
|
|
430
|
+
* // DependencyKeyAttributes: { // required
|
|
431
|
+
* // "<keys>": "STRING_VALUE",
|
|
432
|
+
* // },
|
|
433
|
+
* // DependencyOperationName: "STRING_VALUE", // required
|
|
434
|
+
* // },
|
|
411
435
|
* // },
|
|
412
436
|
* // MetricThreshold: Number("double"),
|
|
413
437
|
* // ComparisonOperator: "GreaterThanOrEqualTo" || "GreaterThan" || "LessThan" || "LessThanOrEqualTo",
|
|
@@ -433,6 +457,7 @@ declare const CreateServiceLevelObjectiveCommand_base: {
|
|
|
433
457
|
* // LookBackWindowMinutes: Number("int"), // required
|
|
434
458
|
* // },
|
|
435
459
|
* // ],
|
|
460
|
+
* // MetricSourceType: "ServiceOperation" || "CloudWatchMetric" || "ServiceDependency",
|
|
436
461
|
* // },
|
|
437
462
|
* // };
|
|
438
463
|
*
|
|
@@ -78,6 +78,12 @@ declare const GetServiceLevelObjectiveCommand_base: {
|
|
|
78
78
|
* // AccountId: "STRING_VALUE",
|
|
79
79
|
* // },
|
|
80
80
|
* // ],
|
|
81
|
+
* // DependencyConfig: { // DependencyConfig
|
|
82
|
+
* // DependencyKeyAttributes: { // required
|
|
83
|
+
* // "<keys>": "STRING_VALUE",
|
|
84
|
+
* // },
|
|
85
|
+
* // DependencyOperationName: "STRING_VALUE", // required
|
|
86
|
+
* // },
|
|
81
87
|
* // },
|
|
82
88
|
* // MetricThreshold: Number("double"), // required
|
|
83
89
|
* // ComparisonOperator: "GreaterThanOrEqualTo" || "GreaterThan" || "LessThan" || "LessThanOrEqualTo", // required
|
|
@@ -166,6 +172,12 @@ declare const GetServiceLevelObjectiveCommand_base: {
|
|
|
166
172
|
* // },
|
|
167
173
|
* // ],
|
|
168
174
|
* // },
|
|
175
|
+
* // DependencyConfig: {
|
|
176
|
+
* // DependencyKeyAttributes: { // required
|
|
177
|
+
* // "<keys>": "STRING_VALUE",
|
|
178
|
+
* // },
|
|
179
|
+
* // DependencyOperationName: "STRING_VALUE", // required
|
|
180
|
+
* // },
|
|
169
181
|
* // },
|
|
170
182
|
* // MetricThreshold: Number("double"),
|
|
171
183
|
* // ComparisonOperator: "GreaterThanOrEqualTo" || "GreaterThan" || "LessThan" || "LessThanOrEqualTo",
|
|
@@ -191,6 +203,7 @@ declare const GetServiceLevelObjectiveCommand_base: {
|
|
|
191
203
|
* // LookBackWindowMinutes: Number("int"), // required
|
|
192
204
|
* // },
|
|
193
205
|
* // ],
|
|
206
|
+
* // MetricSourceType: "ServiceOperation" || "CloudWatchMetric" || "ServiceDependency",
|
|
194
207
|
* // },
|
|
195
208
|
* // };
|
|
196
209
|
*
|
|
@@ -39,8 +39,17 @@ declare const ListServiceLevelObjectivesCommand_base: {
|
|
|
39
39
|
* "<keys>": "STRING_VALUE",
|
|
40
40
|
* },
|
|
41
41
|
* OperationName: "STRING_VALUE",
|
|
42
|
+
* DependencyConfig: { // DependencyConfig
|
|
43
|
+
* DependencyKeyAttributes: { // required
|
|
44
|
+
* "<keys>": "STRING_VALUE",
|
|
45
|
+
* },
|
|
46
|
+
* DependencyOperationName: "STRING_VALUE", // required
|
|
47
|
+
* },
|
|
42
48
|
* MaxResults: Number("int"),
|
|
43
49
|
* NextToken: "STRING_VALUE",
|
|
50
|
+
* MetricSourceTypes: [ // MetricSourceTypes
|
|
51
|
+
* "ServiceOperation" || "CloudWatchMetric" || "ServiceDependency",
|
|
52
|
+
* ],
|
|
44
53
|
* IncludeLinkedAccounts: true || false,
|
|
45
54
|
* SloOwnerAwsAccountId: "STRING_VALUE",
|
|
46
55
|
* };
|
|
@@ -55,7 +64,15 @@ declare const ListServiceLevelObjectivesCommand_base: {
|
|
|
55
64
|
* // "<keys>": "STRING_VALUE",
|
|
56
65
|
* // },
|
|
57
66
|
* // OperationName: "STRING_VALUE",
|
|
67
|
+
* // DependencyConfig: { // DependencyConfig
|
|
68
|
+
* // DependencyKeyAttributes: { // required
|
|
69
|
+
* // "<keys>": "STRING_VALUE",
|
|
70
|
+
* // },
|
|
71
|
+
* // DependencyOperationName: "STRING_VALUE", // required
|
|
72
|
+
* // },
|
|
58
73
|
* // CreatedTime: new Date("TIMESTAMP"),
|
|
74
|
+
* // EvaluationType: "PeriodBased" || "RequestBased",
|
|
75
|
+
* // MetricSourceType: "ServiceOperation" || "CloudWatchMetric" || "ServiceDependency",
|
|
59
76
|
* // },
|
|
60
77
|
* // ],
|
|
61
78
|
* // NextToken: "STRING_VALUE",
|
|
@@ -74,6 +74,12 @@ declare const UpdateServiceLevelObjectiveCommand_base: {
|
|
|
74
74
|
* AccountId: "STRING_VALUE",
|
|
75
75
|
* },
|
|
76
76
|
* ],
|
|
77
|
+
* DependencyConfig: { // DependencyConfig
|
|
78
|
+
* DependencyKeyAttributes: { // required
|
|
79
|
+
* "<keys>": "STRING_VALUE",
|
|
80
|
+
* },
|
|
81
|
+
* DependencyOperationName: "STRING_VALUE", // required
|
|
82
|
+
* },
|
|
77
83
|
* },
|
|
78
84
|
* MetricThreshold: Number("double"), // required
|
|
79
85
|
* ComparisonOperator: "GreaterThanOrEqualTo" || "GreaterThan" || "LessThan" || "LessThanOrEqualTo", // required
|
|
@@ -162,6 +168,12 @@ declare const UpdateServiceLevelObjectiveCommand_base: {
|
|
|
162
168
|
* },
|
|
163
169
|
* ],
|
|
164
170
|
* },
|
|
171
|
+
* DependencyConfig: {
|
|
172
|
+
* DependencyKeyAttributes: { // required
|
|
173
|
+
* "<keys>": "STRING_VALUE",
|
|
174
|
+
* },
|
|
175
|
+
* DependencyOperationName: "STRING_VALUE", // required
|
|
176
|
+
* },
|
|
165
177
|
* },
|
|
166
178
|
* MetricThreshold: Number("double"),
|
|
167
179
|
* ComparisonOperator: "GreaterThanOrEqualTo" || "GreaterThan" || "LessThan" || "LessThanOrEqualTo",
|
|
@@ -228,6 +240,12 @@ declare const UpdateServiceLevelObjectiveCommand_base: {
|
|
|
228
240
|
* // AccountId: "STRING_VALUE",
|
|
229
241
|
* // },
|
|
230
242
|
* // ],
|
|
243
|
+
* // DependencyConfig: { // DependencyConfig
|
|
244
|
+
* // DependencyKeyAttributes: { // required
|
|
245
|
+
* // "<keys>": "STRING_VALUE",
|
|
246
|
+
* // },
|
|
247
|
+
* // DependencyOperationName: "STRING_VALUE", // required
|
|
248
|
+
* // },
|
|
231
249
|
* // },
|
|
232
250
|
* // MetricThreshold: Number("double"), // required
|
|
233
251
|
* // ComparisonOperator: "GreaterThanOrEqualTo" || "GreaterThan" || "LessThan" || "LessThanOrEqualTo", // required
|
|
@@ -316,6 +334,12 @@ declare const UpdateServiceLevelObjectiveCommand_base: {
|
|
|
316
334
|
* // },
|
|
317
335
|
* // ],
|
|
318
336
|
* // },
|
|
337
|
+
* // DependencyConfig: {
|
|
338
|
+
* // DependencyKeyAttributes: { // required
|
|
339
|
+
* // "<keys>": "STRING_VALUE",
|
|
340
|
+
* // },
|
|
341
|
+
* // DependencyOperationName: "STRING_VALUE", // required
|
|
342
|
+
* // },
|
|
319
343
|
* // },
|
|
320
344
|
* // MetricThreshold: Number("double"),
|
|
321
345
|
* // ComparisonOperator: "GreaterThanOrEqualTo" || "GreaterThan" || "LessThan" || "LessThanOrEqualTo",
|
|
@@ -341,6 +365,7 @@ declare const UpdateServiceLevelObjectiveCommand_base: {
|
|
|
341
365
|
* // LookBackWindowMinutes: Number("int"), // required
|
|
342
366
|
* // },
|
|
343
367
|
* // ],
|
|
368
|
+
* // MetricSourceType: "ServiceOperation" || "CloudWatchMetric" || "ServiceDependency",
|
|
344
369
|
* // },
|
|
345
370
|
* // };
|
|
346
371
|
*
|
|
@@ -229,6 +229,51 @@ export declare const ServiceLevelIndicatorComparisonOperator: {
|
|
|
229
229
|
* @public
|
|
230
230
|
*/
|
|
231
231
|
export type ServiceLevelIndicatorComparisonOperator = (typeof ServiceLevelIndicatorComparisonOperator)[keyof typeof ServiceLevelIndicatorComparisonOperator];
|
|
232
|
+
/**
|
|
233
|
+
* <p>Identifies the dependency using the <code>DependencyKeyAttributes</code> and <code>DependencyOperationName</code>.</p>
|
|
234
|
+
* <p>When creating a service dependency SLO, you must specify the <code>KeyAttributes</code> of the service, and the <code>DependencyConfig</code> for the dependency. You can specify the <code>OperationName</code> of the service, from which it calls the dependency. Alternatively,
|
|
235
|
+
* you can exclude <code>OperationName</code> and the SLO will monitor all of the service's operations that call the dependency.</p>
|
|
236
|
+
* @public
|
|
237
|
+
*/
|
|
238
|
+
export interface DependencyConfig {
|
|
239
|
+
/**
|
|
240
|
+
* <p>This is a string-to-string map. It can
|
|
241
|
+
* include the following fields.</p>
|
|
242
|
+
* <ul>
|
|
243
|
+
* <li>
|
|
244
|
+
* <p>
|
|
245
|
+
* <code>Type</code> designates the type of object this is.</p>
|
|
246
|
+
* </li>
|
|
247
|
+
* <li>
|
|
248
|
+
* <p>
|
|
249
|
+
* <code>ResourceType</code> specifies the type of the resource. This field is used only
|
|
250
|
+
* when the value of the <code>Type</code> field is <code>Resource</code> or <code>AWS::Resource</code>.</p>
|
|
251
|
+
* </li>
|
|
252
|
+
* <li>
|
|
253
|
+
* <p>
|
|
254
|
+
* <code>Name</code> specifies the name of the object. This is used only if the value of the <code>Type</code> field
|
|
255
|
+
* is <code>Service</code>, <code>RemoteService</code>, or <code>AWS::Service</code>.</p>
|
|
256
|
+
* </li>
|
|
257
|
+
* <li>
|
|
258
|
+
* <p>
|
|
259
|
+
* <code>Identifier</code> identifies the resource objects of this resource.
|
|
260
|
+
* This is used only if the value of the <code>Type</code> field
|
|
261
|
+
* is <code>Resource</code> or <code>AWS::Resource</code>.</p>
|
|
262
|
+
* </li>
|
|
263
|
+
* <li>
|
|
264
|
+
* <p>
|
|
265
|
+
* <code>Environment</code> specifies the location where this object is hosted, or what it belongs to.</p>
|
|
266
|
+
* </li>
|
|
267
|
+
* </ul>
|
|
268
|
+
* @public
|
|
269
|
+
*/
|
|
270
|
+
DependencyKeyAttributes: Record<string, string> | undefined;
|
|
271
|
+
/**
|
|
272
|
+
* <p>The name of the called operation in the dependency.</p>
|
|
273
|
+
* @public
|
|
274
|
+
*/
|
|
275
|
+
DependencyOperationName: string | undefined;
|
|
276
|
+
}
|
|
232
277
|
/**
|
|
233
278
|
* @public
|
|
234
279
|
* @enum
|
|
@@ -564,6 +609,11 @@ export interface RequestBasedServiceLevelIndicatorMetric {
|
|
|
564
609
|
* @public
|
|
565
610
|
*/
|
|
566
611
|
MonitoredRequestCountMetric: MonitoredRequestCountMetricDataQueries | undefined;
|
|
612
|
+
/**
|
|
613
|
+
* <p>Identifies the dependency using the <code>DependencyKeyAttributes</code> and <code>DependencyOperationName</code>. </p>
|
|
614
|
+
* @public
|
|
615
|
+
*/
|
|
616
|
+
DependencyConfig?: DependencyConfig | undefined;
|
|
567
617
|
}
|
|
568
618
|
/**
|
|
569
619
|
* <p>This structure contains information about the performance metric that a request-based SLO monitors.</p>
|
|
@@ -642,6 +692,11 @@ export interface ServiceLevelIndicatorMetric {
|
|
|
642
692
|
* @public
|
|
643
693
|
*/
|
|
644
694
|
MetricDataQueries: MetricDataQuery[] | undefined;
|
|
695
|
+
/**
|
|
696
|
+
* <p>Identifies the dependency using the <code>DependencyKeyAttributes</code> and <code>DependencyOperationName</code>. </p>
|
|
697
|
+
* @public
|
|
698
|
+
*/
|
|
699
|
+
DependencyConfig?: DependencyConfig | undefined;
|
|
645
700
|
}
|
|
646
701
|
/**
|
|
647
702
|
* <p>This structure contains information about the performance metric that a period-based SLO monitors.</p>
|
|
@@ -2053,6 +2108,11 @@ export interface RequestBasedServiceLevelIndicatorMetricConfig {
|
|
|
2053
2108
|
* @public
|
|
2054
2109
|
*/
|
|
2055
2110
|
MonitoredRequestCountMetric?: MonitoredRequestCountMetricDataQueries | undefined;
|
|
2111
|
+
/**
|
|
2112
|
+
* <p>Identifies the dependency using the <code>DependencyKeyAttributes</code> and <code>DependencyOperationName</code>. </p>
|
|
2113
|
+
* @public
|
|
2114
|
+
*/
|
|
2115
|
+
DependencyConfig?: DependencyConfig | undefined;
|
|
2056
2116
|
}
|
|
2057
2117
|
/**
|
|
2058
2118
|
* <p>This structure specifies the information about the service and the performance metric that a request-based SLO is to monitor.</p>
|
|
@@ -2145,6 +2205,11 @@ export interface ServiceLevelIndicatorMetricConfig {
|
|
|
2145
2205
|
* @public
|
|
2146
2206
|
*/
|
|
2147
2207
|
MetricDataQueries?: MetricDataQuery[] | undefined;
|
|
2208
|
+
/**
|
|
2209
|
+
* <p>Identifies the dependency using the <code>DependencyKeyAttributes</code> and <code>DependencyOperationName</code>. </p>
|
|
2210
|
+
* @public
|
|
2211
|
+
*/
|
|
2212
|
+
DependencyConfig?: DependencyConfig | undefined;
|
|
2148
2213
|
}
|
|
2149
2214
|
/**
|
|
2150
2215
|
* <p>This structure specifies the information about the service and the performance metric that a period-based SLO is to monitor.</p>
|
|
@@ -2217,6 +2282,19 @@ export interface CreateServiceLevelObjectiveInput {
|
|
|
2217
2282
|
*/
|
|
2218
2283
|
BurnRateConfigurations?: BurnRateConfiguration[] | undefined;
|
|
2219
2284
|
}
|
|
2285
|
+
/**
|
|
2286
|
+
* @public
|
|
2287
|
+
* @enum
|
|
2288
|
+
*/
|
|
2289
|
+
export declare const MetricSourceType: {
|
|
2290
|
+
readonly CLOUDWATCH_METRIC: "CloudWatchMetric";
|
|
2291
|
+
readonly SERVICE_DEPENDENCY: "ServiceDependency";
|
|
2292
|
+
readonly SERVICE_OPERATION: "ServiceOperation";
|
|
2293
|
+
};
|
|
2294
|
+
/**
|
|
2295
|
+
* @public
|
|
2296
|
+
*/
|
|
2297
|
+
export type MetricSourceType = (typeof MetricSourceType)[keyof typeof MetricSourceType];
|
|
2220
2298
|
/**
|
|
2221
2299
|
* <p>A structure containing information about one service level objective (SLO) that has been created in Application Signals.
|
|
2222
2300
|
* Creating SLOs can help you ensure your services are
|
|
@@ -2283,6 +2361,22 @@ export interface ServiceLevelObjective {
|
|
|
2283
2361
|
* @public
|
|
2284
2362
|
*/
|
|
2285
2363
|
BurnRateConfigurations?: BurnRateConfiguration[] | undefined;
|
|
2364
|
+
/**
|
|
2365
|
+
* <p>Displays the SLI metric source type for this SLO. Supported types are:</p>
|
|
2366
|
+
* <ul>
|
|
2367
|
+
* <li>
|
|
2368
|
+
* <p>Service operation</p>
|
|
2369
|
+
* </li>
|
|
2370
|
+
* <li>
|
|
2371
|
+
* <p>Service dependency</p>
|
|
2372
|
+
* </li>
|
|
2373
|
+
* <li>
|
|
2374
|
+
* <p>CloudWatch metric</p>
|
|
2375
|
+
* </li>
|
|
2376
|
+
* </ul>
|
|
2377
|
+
* @public
|
|
2378
|
+
*/
|
|
2379
|
+
MetricSourceType?: MetricSourceType | undefined;
|
|
2286
2380
|
}
|
|
2287
2381
|
/**
|
|
2288
2382
|
* @public
|
|
@@ -2386,6 +2480,11 @@ export interface ListServiceLevelObjectivesInput {
|
|
|
2386
2480
|
* @public
|
|
2387
2481
|
*/
|
|
2388
2482
|
OperationName?: string | undefined;
|
|
2483
|
+
/**
|
|
2484
|
+
* <p>Identifies the dependency using the <code>DependencyKeyAttributes</code> and <code>DependencyOperationName</code>. </p>
|
|
2485
|
+
* @public
|
|
2486
|
+
*/
|
|
2487
|
+
DependencyConfig?: DependencyConfig | undefined;
|
|
2389
2488
|
/**
|
|
2390
2489
|
* <p>The maximum number of results to return in one operation. If you omit this
|
|
2391
2490
|
* parameter, the default of 50 is used.</p>
|
|
@@ -2397,6 +2496,22 @@ export interface ListServiceLevelObjectivesInput {
|
|
|
2397
2496
|
* @public
|
|
2398
2497
|
*/
|
|
2399
2498
|
NextToken?: string | undefined;
|
|
2499
|
+
/**
|
|
2500
|
+
* <p>Use this optional field to only include SLOs with the specified metric source types in the output. Supported types are:</p>
|
|
2501
|
+
* <ul>
|
|
2502
|
+
* <li>
|
|
2503
|
+
* <p>Service operation</p>
|
|
2504
|
+
* </li>
|
|
2505
|
+
* <li>
|
|
2506
|
+
* <p>Service dependency</p>
|
|
2507
|
+
* </li>
|
|
2508
|
+
* <li>
|
|
2509
|
+
* <p>CloudWatch metric</p>
|
|
2510
|
+
* </li>
|
|
2511
|
+
* </ul>
|
|
2512
|
+
* @public
|
|
2513
|
+
*/
|
|
2514
|
+
MetricSourceTypes?: MetricSourceType[] | undefined;
|
|
2400
2515
|
/**
|
|
2401
2516
|
* <p>If you are using this operation in a monitoring account, specify <code>true</code> to include SLO from source accounts in the returned data.
|
|
2402
2517
|
*
|
|
@@ -2466,11 +2581,37 @@ export interface ServiceLevelObjectiveSummary {
|
|
|
2466
2581
|
* @public
|
|
2467
2582
|
*/
|
|
2468
2583
|
OperationName?: string | undefined;
|
|
2584
|
+
/**
|
|
2585
|
+
* <p>Identifies the dependency using the <code>DependencyKeyAttributes</code> and <code>DependencyOperationName</code>. </p>
|
|
2586
|
+
* @public
|
|
2587
|
+
*/
|
|
2588
|
+
DependencyConfig?: DependencyConfig | undefined;
|
|
2469
2589
|
/**
|
|
2470
2590
|
* <p>The date and time that this service level objective was created. It is expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC.</p>
|
|
2471
2591
|
* @public
|
|
2472
2592
|
*/
|
|
2473
2593
|
CreatedTime?: Date | undefined;
|
|
2594
|
+
/**
|
|
2595
|
+
* <p>Displays whether this is a period-based SLO or a request-based SLO.</p>
|
|
2596
|
+
* @public
|
|
2597
|
+
*/
|
|
2598
|
+
EvaluationType?: EvaluationType | undefined;
|
|
2599
|
+
/**
|
|
2600
|
+
* <p>Displays the SLI metric source type for this SLO. Supported types are:</p>
|
|
2601
|
+
* <ul>
|
|
2602
|
+
* <li>
|
|
2603
|
+
* <p>Service operation</p>
|
|
2604
|
+
* </li>
|
|
2605
|
+
* <li>
|
|
2606
|
+
* <p>Service dependency</p>
|
|
2607
|
+
* </li>
|
|
2608
|
+
* <li>
|
|
2609
|
+
* <p>CloudWatch metric</p>
|
|
2610
|
+
* </li>
|
|
2611
|
+
* </ul>
|
|
2612
|
+
* @public
|
|
2613
|
+
*/
|
|
2614
|
+
MetricSourceType?: MetricSourceType | undefined;
|
|
2474
2615
|
}
|
|
2475
2616
|
/**
|
|
2476
2617
|
* @public
|
|
@@ -88,6 +88,10 @@ export declare const ServiceLevelIndicatorComparisonOperator: {
|
|
|
88
88
|
};
|
|
89
89
|
export type ServiceLevelIndicatorComparisonOperator =
|
|
90
90
|
(typeof ServiceLevelIndicatorComparisonOperator)[keyof typeof ServiceLevelIndicatorComparisonOperator];
|
|
91
|
+
export interface DependencyConfig {
|
|
92
|
+
DependencyKeyAttributes: Record<string, string> | undefined;
|
|
93
|
+
DependencyOperationName: string | undefined;
|
|
94
|
+
}
|
|
91
95
|
export declare const ServiceLevelIndicatorMetricType: {
|
|
92
96
|
readonly AVAILABILITY: "AVAILABILITY";
|
|
93
97
|
readonly LATENCY: "LATENCY";
|
|
@@ -186,6 +190,7 @@ export interface RequestBasedServiceLevelIndicatorMetric {
|
|
|
186
190
|
MonitoredRequestCountMetric:
|
|
187
191
|
| MonitoredRequestCountMetricDataQueries
|
|
188
192
|
| undefined;
|
|
193
|
+
DependencyConfig?: DependencyConfig | undefined;
|
|
189
194
|
}
|
|
190
195
|
export interface RequestBasedServiceLevelIndicator {
|
|
191
196
|
RequestBasedSliMetric: RequestBasedServiceLevelIndicatorMetric | undefined;
|
|
@@ -197,6 +202,7 @@ export interface ServiceLevelIndicatorMetric {
|
|
|
197
202
|
OperationName?: string | undefined;
|
|
198
203
|
MetricType?: ServiceLevelIndicatorMetricType | undefined;
|
|
199
204
|
MetricDataQueries: MetricDataQuery[] | undefined;
|
|
205
|
+
DependencyConfig?: DependencyConfig | undefined;
|
|
200
206
|
}
|
|
201
207
|
export interface ServiceLevelIndicator {
|
|
202
208
|
SliMetric: ServiceLevelIndicatorMetric | undefined;
|
|
@@ -408,6 +414,7 @@ export interface RequestBasedServiceLevelIndicatorMetricConfig {
|
|
|
408
414
|
MonitoredRequestCountMetric?:
|
|
409
415
|
| MonitoredRequestCountMetricDataQueries
|
|
410
416
|
| undefined;
|
|
417
|
+
DependencyConfig?: DependencyConfig | undefined;
|
|
411
418
|
}
|
|
412
419
|
export interface RequestBasedServiceLevelIndicatorConfig {
|
|
413
420
|
RequestBasedSliMetricConfig:
|
|
@@ -423,6 +430,7 @@ export interface ServiceLevelIndicatorMetricConfig {
|
|
|
423
430
|
Statistic?: string | undefined;
|
|
424
431
|
PeriodSeconds?: number | undefined;
|
|
425
432
|
MetricDataQueries?: MetricDataQuery[] | undefined;
|
|
433
|
+
DependencyConfig?: DependencyConfig | undefined;
|
|
426
434
|
}
|
|
427
435
|
export interface ServiceLevelIndicatorConfig {
|
|
428
436
|
SliMetricConfig: ServiceLevelIndicatorMetricConfig | undefined;
|
|
@@ -438,6 +446,13 @@ export interface CreateServiceLevelObjectiveInput {
|
|
|
438
446
|
Tags?: Tag[] | undefined;
|
|
439
447
|
BurnRateConfigurations?: BurnRateConfiguration[] | undefined;
|
|
440
448
|
}
|
|
449
|
+
export declare const MetricSourceType: {
|
|
450
|
+
readonly CLOUDWATCH_METRIC: "CloudWatchMetric";
|
|
451
|
+
readonly SERVICE_DEPENDENCY: "ServiceDependency";
|
|
452
|
+
readonly SERVICE_OPERATION: "ServiceOperation";
|
|
453
|
+
};
|
|
454
|
+
export type MetricSourceType =
|
|
455
|
+
(typeof MetricSourceType)[keyof typeof MetricSourceType];
|
|
441
456
|
export interface ServiceLevelObjective {
|
|
442
457
|
Arn: string | undefined;
|
|
443
458
|
Name: string | undefined;
|
|
@@ -449,6 +464,7 @@ export interface ServiceLevelObjective {
|
|
|
449
464
|
EvaluationType?: EvaluationType | undefined;
|
|
450
465
|
Goal: Goal | undefined;
|
|
451
466
|
BurnRateConfigurations?: BurnRateConfiguration[] | undefined;
|
|
467
|
+
MetricSourceType?: MetricSourceType | undefined;
|
|
452
468
|
}
|
|
453
469
|
export interface CreateServiceLevelObjectiveOutput {
|
|
454
470
|
Slo: ServiceLevelObjective | undefined;
|
|
@@ -474,8 +490,10 @@ export interface GetServiceLevelObjectiveOutput {
|
|
|
474
490
|
export interface ListServiceLevelObjectivesInput {
|
|
475
491
|
KeyAttributes?: Record<string, string> | undefined;
|
|
476
492
|
OperationName?: string | undefined;
|
|
493
|
+
DependencyConfig?: DependencyConfig | undefined;
|
|
477
494
|
MaxResults?: number | undefined;
|
|
478
495
|
NextToken?: string | undefined;
|
|
496
|
+
MetricSourceTypes?: MetricSourceType[] | undefined;
|
|
479
497
|
IncludeLinkedAccounts?: boolean | undefined;
|
|
480
498
|
SloOwnerAwsAccountId?: string | undefined;
|
|
481
499
|
}
|
|
@@ -484,7 +502,10 @@ export interface ServiceLevelObjectiveSummary {
|
|
|
484
502
|
Name: string | undefined;
|
|
485
503
|
KeyAttributes?: Record<string, string> | undefined;
|
|
486
504
|
OperationName?: string | undefined;
|
|
505
|
+
DependencyConfig?: DependencyConfig | undefined;
|
|
487
506
|
CreatedTime?: Date | undefined;
|
|
507
|
+
EvaluationType?: EvaluationType | undefined;
|
|
508
|
+
MetricSourceType?: MetricSourceType | undefined;
|
|
488
509
|
}
|
|
489
510
|
export interface ListServiceLevelObjectivesOutput {
|
|
490
511
|
SloSummaries?: ServiceLevelObjectiveSummary[] | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-application-signals",
|
|
3
3
|
"description": "AWS SDK for JavaScript Application Signals Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.782.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,16 +21,16 @@
|
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
23
|
"@aws-sdk/core": "3.775.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.782.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.775.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.775.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.775.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.782.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.775.0",
|
|
30
30
|
"@aws-sdk/types": "3.775.0",
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.782.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.775.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.782.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.1.0",
|
|
35
35
|
"@smithy/core": "^3.2.0",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.0.2",
|