@aws-sdk/client-application-insights 3.28.0 → 3.32.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/CHANGELOG.md +32 -0
- package/dist/cjs/package.json +31 -31
- package/dist/cjs/protocols/Aws_json1_1.js +17 -13
- package/dist/cjs/protocols/Aws_json1_1.js.map +1 -1
- package/dist/es/endpoints.js +1 -2
- package/dist/es/endpoints.js.map +1 -1
- package/dist/es/package.json +31 -31
- package/dist/es/protocols/Aws_json1_1.js +18 -14
- package/dist/es/protocols/Aws_json1_1.js.map +1 -1
- package/package.json +31 -31
- package/protocols/Aws_json1_1.ts +23 -15
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-application-insights",
|
|
3
3
|
"description": "AWS SDK for JavaScript Application Insights Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.32.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
|
|
7
7
|
"build-documentation": "yarn remove-documentation && typedoc ./",
|
|
@@ -27,45 +27,45 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@aws-crypto/sha256-browser": "^1.0.0",
|
|
29
29
|
"@aws-crypto/sha256-js": "^1.0.0",
|
|
30
|
-
"@aws-sdk/client-sts": "3.
|
|
31
|
-
"@aws-sdk/config-resolver": "3.
|
|
32
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
33
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
34
|
-
"@aws-sdk/hash-node": "3.
|
|
35
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
36
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
37
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
38
|
-
"@aws-sdk/middleware-logger": "3.
|
|
39
|
-
"@aws-sdk/middleware-retry": "3.
|
|
40
|
-
"@aws-sdk/middleware-serde": "3.
|
|
41
|
-
"@aws-sdk/middleware-signing": "3.
|
|
42
|
-
"@aws-sdk/middleware-stack": "3.
|
|
43
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
44
|
-
"@aws-sdk/node-config-provider": "3.
|
|
45
|
-
"@aws-sdk/node-http-handler": "3.
|
|
46
|
-
"@aws-sdk/protocol-http": "3.
|
|
47
|
-
"@aws-sdk/smithy-client": "3.
|
|
48
|
-
"@aws-sdk/types": "3.
|
|
49
|
-
"@aws-sdk/url-parser": "3.
|
|
50
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
51
|
-
"@aws-sdk/util-base64-node": "3.
|
|
52
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
53
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
55
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
56
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
57
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
30
|
+
"@aws-sdk/client-sts": "3.32.0",
|
|
31
|
+
"@aws-sdk/config-resolver": "3.32.0",
|
|
32
|
+
"@aws-sdk/credential-provider-node": "3.32.0",
|
|
33
|
+
"@aws-sdk/fetch-http-handler": "3.32.0",
|
|
34
|
+
"@aws-sdk/hash-node": "3.32.0",
|
|
35
|
+
"@aws-sdk/invalid-dependency": "3.32.0",
|
|
36
|
+
"@aws-sdk/middleware-content-length": "3.32.0",
|
|
37
|
+
"@aws-sdk/middleware-host-header": "3.32.0",
|
|
38
|
+
"@aws-sdk/middleware-logger": "3.32.0",
|
|
39
|
+
"@aws-sdk/middleware-retry": "3.32.0",
|
|
40
|
+
"@aws-sdk/middleware-serde": "3.32.0",
|
|
41
|
+
"@aws-sdk/middleware-signing": "3.32.0",
|
|
42
|
+
"@aws-sdk/middleware-stack": "3.32.0",
|
|
43
|
+
"@aws-sdk/middleware-user-agent": "3.32.0",
|
|
44
|
+
"@aws-sdk/node-config-provider": "3.32.0",
|
|
45
|
+
"@aws-sdk/node-http-handler": "3.32.0",
|
|
46
|
+
"@aws-sdk/protocol-http": "3.32.0",
|
|
47
|
+
"@aws-sdk/smithy-client": "3.32.0",
|
|
48
|
+
"@aws-sdk/types": "3.32.0",
|
|
49
|
+
"@aws-sdk/url-parser": "3.32.0",
|
|
50
|
+
"@aws-sdk/util-base64-browser": "3.32.0",
|
|
51
|
+
"@aws-sdk/util-base64-node": "3.32.0",
|
|
52
|
+
"@aws-sdk/util-body-length-browser": "3.32.0",
|
|
53
|
+
"@aws-sdk/util-body-length-node": "3.32.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-browser": "3.32.0",
|
|
55
|
+
"@aws-sdk/util-user-agent-node": "3.32.0",
|
|
56
|
+
"@aws-sdk/util-utf8-browser": "3.32.0",
|
|
57
|
+
"@aws-sdk/util-utf8-node": "3.32.0",
|
|
58
58
|
"tslib": "^2.3.0"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
|
-
"@aws-sdk/client-documentation-generator": "3.
|
|
61
|
+
"@aws-sdk/client-documentation-generator": "3.32.0",
|
|
62
62
|
"@types/node": "^12.7.5",
|
|
63
63
|
"downlevel-dts": "0.7.0",
|
|
64
64
|
"jest": "^26.1.0",
|
|
65
65
|
"rimraf": "^3.0.0",
|
|
66
66
|
"ts-jest": "^26.4.1",
|
|
67
67
|
"typedoc": "^0.19.2",
|
|
68
|
-
"typescript": "~4.3.
|
|
68
|
+
"typescript": "~4.3.5"
|
|
69
69
|
},
|
|
70
70
|
"engines": {
|
|
71
71
|
"node": ">=10.0.0"
|
package/protocols/Aws_json1_1.ts
CHANGED
|
@@ -127,9 +127,13 @@ import {
|
|
|
127
127
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
128
128
|
import {
|
|
129
129
|
expectBoolean as __expectBoolean,
|
|
130
|
-
|
|
130
|
+
expectInt32 as __expectInt32,
|
|
131
|
+
expectLong as __expectLong,
|
|
132
|
+
expectNonNull as __expectNonNull,
|
|
133
|
+
expectNumber as __expectNumber,
|
|
131
134
|
expectString as __expectString,
|
|
132
|
-
|
|
135
|
+
limitedParseDouble as __limitedParseDouble,
|
|
136
|
+
parseEpochTimestamp as __parseEpochTimestamp,
|
|
133
137
|
} from "@aws-sdk/smithy-client";
|
|
134
138
|
import {
|
|
135
139
|
Endpoint as __Endpoint,
|
|
@@ -2958,7 +2962,7 @@ const deserializeAws_json1_1ConfigurationEvent = (output: any, context: __SerdeC
|
|
|
2958
2962
|
EventStatus: __expectString(output.EventStatus),
|
|
2959
2963
|
EventTime:
|
|
2960
2964
|
output.EventTime !== undefined && output.EventTime !== null
|
|
2961
|
-
?
|
|
2965
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EventTime)))
|
|
2962
2966
|
: undefined,
|
|
2963
2967
|
MonitoredResourceARN: __expectString(output.MonitoredResourceARN),
|
|
2964
2968
|
} as any;
|
|
@@ -3261,7 +3265,7 @@ const deserializeAws_json1_1LogPattern = (output: any, context: __SerdeContext):
|
|
|
3261
3265
|
Pattern: __expectString(output.Pattern),
|
|
3262
3266
|
PatternName: __expectString(output.PatternName),
|
|
3263
3267
|
PatternSetName: __expectString(output.PatternSetName),
|
|
3264
|
-
Rank:
|
|
3268
|
+
Rank: __expectInt32(output.Rank),
|
|
3265
3269
|
} as any;
|
|
3266
3270
|
};
|
|
3267
3271
|
|
|
@@ -3303,7 +3307,9 @@ const deserializeAws_json1_1Observation = (output: any, context: __SerdeContext)
|
|
|
3303
3307
|
EbsResult: __expectString(output.EbsResult),
|
|
3304
3308
|
Ec2State: __expectString(output.Ec2State),
|
|
3305
3309
|
EndTime:
|
|
3306
|
-
output.EndTime !== undefined && output.EndTime !== null
|
|
3310
|
+
output.EndTime !== undefined && output.EndTime !== null
|
|
3311
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime)))
|
|
3312
|
+
: undefined,
|
|
3307
3313
|
HealthEventArn: __expectString(output.HealthEventArn),
|
|
3308
3314
|
HealthEventDescription: __expectString(output.HealthEventDescription),
|
|
3309
3315
|
HealthEventTypeCategory: __expectString(output.HealthEventTypeCategory),
|
|
@@ -3312,7 +3318,7 @@ const deserializeAws_json1_1Observation = (output: any, context: __SerdeContext)
|
|
|
3312
3318
|
Id: __expectString(output.Id),
|
|
3313
3319
|
LineTime:
|
|
3314
3320
|
output.LineTime !== undefined && output.LineTime !== null
|
|
3315
|
-
?
|
|
3321
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LineTime)))
|
|
3316
3322
|
: undefined,
|
|
3317
3323
|
LogFilter: __expectString(output.LogFilter),
|
|
3318
3324
|
LogGroup: __expectString(output.LogGroup),
|
|
@@ -3326,21 +3332,21 @@ const deserializeAws_json1_1Observation = (output: any, context: __SerdeContext)
|
|
|
3326
3332
|
SourceType: __expectString(output.SourceType),
|
|
3327
3333
|
StartTime:
|
|
3328
3334
|
output.StartTime !== undefined && output.StartTime !== null
|
|
3329
|
-
?
|
|
3335
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime)))
|
|
3330
3336
|
: undefined,
|
|
3331
3337
|
StatesArn: __expectString(output.StatesArn),
|
|
3332
3338
|
StatesExecutionArn: __expectString(output.StatesExecutionArn),
|
|
3333
3339
|
StatesInput: __expectString(output.StatesInput),
|
|
3334
3340
|
StatesStatus: __expectString(output.StatesStatus),
|
|
3335
3341
|
Unit: __expectString(output.Unit),
|
|
3336
|
-
Value:
|
|
3337
|
-
XRayErrorPercent:
|
|
3338
|
-
XRayFaultPercent:
|
|
3342
|
+
Value: __limitedParseDouble(output.Value),
|
|
3343
|
+
XRayErrorPercent: __expectInt32(output.XRayErrorPercent),
|
|
3344
|
+
XRayFaultPercent: __expectInt32(output.XRayFaultPercent),
|
|
3339
3345
|
XRayNodeName: __expectString(output.XRayNodeName),
|
|
3340
3346
|
XRayNodeType: __expectString(output.XRayNodeType),
|
|
3341
|
-
XRayRequestAverageLatency:
|
|
3342
|
-
XRayRequestCount:
|
|
3343
|
-
XRayThrottlePercent:
|
|
3347
|
+
XRayRequestAverageLatency: __expectLong(output.XRayRequestAverageLatency),
|
|
3348
|
+
XRayRequestCount: __expectInt32(output.XRayRequestCount),
|
|
3349
|
+
XRayThrottlePercent: __expectInt32(output.XRayThrottlePercent),
|
|
3344
3350
|
} as any;
|
|
3345
3351
|
};
|
|
3346
3352
|
|
|
@@ -3359,7 +3365,9 @@ const deserializeAws_json1_1Problem = (output: any, context: __SerdeContext): Pr
|
|
|
3359
3365
|
return {
|
|
3360
3366
|
AffectedResource: __expectString(output.AffectedResource),
|
|
3361
3367
|
EndTime:
|
|
3362
|
-
output.EndTime !== undefined && output.EndTime !== null
|
|
3368
|
+
output.EndTime !== undefined && output.EndTime !== null
|
|
3369
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime)))
|
|
3370
|
+
: undefined,
|
|
3363
3371
|
Feedback:
|
|
3364
3372
|
output.Feedback !== undefined && output.Feedback !== null
|
|
3365
3373
|
? deserializeAws_json1_1Feedback(output.Feedback, context)
|
|
@@ -3370,7 +3378,7 @@ const deserializeAws_json1_1Problem = (output: any, context: __SerdeContext): Pr
|
|
|
3370
3378
|
SeverityLevel: __expectString(output.SeverityLevel),
|
|
3371
3379
|
StartTime:
|
|
3372
3380
|
output.StartTime !== undefined && output.StartTime !== null
|
|
3373
|
-
?
|
|
3381
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime)))
|
|
3374
3382
|
: undefined,
|
|
3375
3383
|
Status: __expectString(output.Status),
|
|
3376
3384
|
Title: __expectString(output.Title),
|