@aws-sdk/client-application-insights 3.30.0 → 3.34.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 +35 -0
- package/dist/cjs/ApplicationInsightsClient.js +13 -13
- package/dist/cjs/ApplicationInsightsClient.js.map +1 -1
- package/dist/cjs/commands/CreateApplicationCommand.js +3 -3
- package/dist/cjs/commands/CreateApplicationCommand.js.map +1 -1
- package/dist/cjs/commands/CreateComponentCommand.js +3 -3
- package/dist/cjs/commands/CreateComponentCommand.js.map +1 -1
- package/dist/cjs/commands/CreateLogPatternCommand.js +3 -3
- package/dist/cjs/commands/CreateLogPatternCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteApplicationCommand.js +3 -3
- package/dist/cjs/commands/DeleteApplicationCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteComponentCommand.js +3 -3
- package/dist/cjs/commands/DeleteComponentCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteLogPatternCommand.js +3 -3
- package/dist/cjs/commands/DeleteLogPatternCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeApplicationCommand.js +3 -3
- package/dist/cjs/commands/DescribeApplicationCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeComponentCommand.js +3 -3
- package/dist/cjs/commands/DescribeComponentCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeComponentConfigurationCommand.js +3 -3
- package/dist/cjs/commands/DescribeComponentConfigurationCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeComponentConfigurationRecommendationCommand.js +3 -3
- package/dist/cjs/commands/DescribeComponentConfigurationRecommendationCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeLogPatternCommand.js +3 -3
- package/dist/cjs/commands/DescribeLogPatternCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeObservationCommand.js +3 -3
- package/dist/cjs/commands/DescribeObservationCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeProblemCommand.js +3 -3
- package/dist/cjs/commands/DescribeProblemCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeProblemObservationsCommand.js +3 -3
- package/dist/cjs/commands/DescribeProblemObservationsCommand.js.map +1 -1
- package/dist/cjs/commands/ListApplicationsCommand.js +3 -3
- package/dist/cjs/commands/ListApplicationsCommand.js.map +1 -1
- package/dist/cjs/commands/ListComponentsCommand.js +3 -3
- package/dist/cjs/commands/ListComponentsCommand.js.map +1 -1
- package/dist/cjs/commands/ListConfigurationHistoryCommand.js +3 -3
- package/dist/cjs/commands/ListConfigurationHistoryCommand.js.map +1 -1
- package/dist/cjs/commands/ListLogPatternSetsCommand.js +3 -3
- package/dist/cjs/commands/ListLogPatternSetsCommand.js.map +1 -1
- package/dist/cjs/commands/ListLogPatternsCommand.js +3 -3
- package/dist/cjs/commands/ListLogPatternsCommand.js.map +1 -1
- package/dist/cjs/commands/ListProblemsCommand.js +3 -3
- package/dist/cjs/commands/ListProblemsCommand.js.map +1 -1
- package/dist/cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +1 -1
- package/dist/cjs/commands/TagResourceCommand.js +3 -3
- package/dist/cjs/commands/TagResourceCommand.js.map +1 -1
- package/dist/cjs/commands/UntagResourceCommand.js +3 -3
- package/dist/cjs/commands/UntagResourceCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateApplicationCommand.js +3 -3
- package/dist/cjs/commands/UpdateApplicationCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateComponentCommand.js +3 -3
- package/dist/cjs/commands/UpdateComponentCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateComponentConfigurationCommand.js +3 -3
- package/dist/cjs/commands/UpdateComponentConfigurationCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateLogPatternCommand.js +3 -3
- package/dist/cjs/commands/UpdateLogPatternCommand.js.map +1 -1
- package/dist/cjs/endpoints.js +1 -1
- package/dist/cjs/endpoints.js.map +1 -1
- package/dist/cjs/index.js +37 -37
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/models/index.js +1 -1
- package/dist/cjs/models/index.js.map +1 -1
- package/dist/cjs/package.json +39 -39
- package/dist/cjs/protocols/Aws_json1_1.js +110 -106
- package/dist/cjs/protocols/Aws_json1_1.js.map +1 -1
- package/dist/cjs/runtimeConfig.browser.js +4 -4
- package/dist/cjs/runtimeConfig.browser.js.map +1 -1
- package/dist/cjs/runtimeConfig.js +8 -8
- package/dist/cjs/runtimeConfig.js.map +1 -1
- package/dist/cjs/runtimeConfig.native.js +1 -1
- package/dist/cjs/runtimeConfig.native.js.map +1 -1
- package/dist/es/ApplicationInsights.js +1 -16
- package/dist/es/ApplicationInsights.js.map +1 -1
- package/dist/es/ApplicationInsightsClient.js +1 -21
- package/dist/es/ApplicationInsightsClient.js.map +1 -1
- package/dist/es/commands/CreateApplicationCommand.js +2 -27
- package/dist/es/commands/CreateApplicationCommand.js.map +1 -1
- package/dist/es/commands/CreateComponentCommand.js +2 -27
- package/dist/es/commands/CreateComponentCommand.js.map +1 -1
- package/dist/es/commands/CreateLogPatternCommand.js +2 -27
- package/dist/es/commands/CreateLogPatternCommand.js.map +1 -1
- package/dist/es/commands/DeleteApplicationCommand.js +2 -27
- package/dist/es/commands/DeleteApplicationCommand.js.map +1 -1
- package/dist/es/commands/DeleteComponentCommand.js +2 -28
- package/dist/es/commands/DeleteComponentCommand.js.map +1 -1
- package/dist/es/commands/DeleteLogPatternCommand.js +2 -27
- package/dist/es/commands/DeleteLogPatternCommand.js.map +1 -1
- package/dist/es/commands/DescribeApplicationCommand.js +2 -27
- package/dist/es/commands/DescribeApplicationCommand.js.map +1 -1
- package/dist/es/commands/DescribeComponentCommand.js +2 -27
- package/dist/es/commands/DescribeComponentCommand.js.map +1 -1
- package/dist/es/commands/DescribeComponentConfigurationCommand.js +2 -27
- package/dist/es/commands/DescribeComponentConfigurationCommand.js.map +1 -1
- package/dist/es/commands/DescribeComponentConfigurationRecommendationCommand.js +2 -27
- package/dist/es/commands/DescribeComponentConfigurationRecommendationCommand.js.map +1 -1
- package/dist/es/commands/DescribeLogPatternCommand.js +2 -27
- package/dist/es/commands/DescribeLogPatternCommand.js.map +1 -1
- package/dist/es/commands/DescribeObservationCommand.js +2 -27
- package/dist/es/commands/DescribeObservationCommand.js.map +1 -1
- package/dist/es/commands/DescribeProblemCommand.js +2 -27
- package/dist/es/commands/DescribeProblemCommand.js.map +1 -1
- package/dist/es/commands/DescribeProblemObservationsCommand.js +2 -27
- package/dist/es/commands/DescribeProblemObservationsCommand.js.map +1 -1
- package/dist/es/commands/ListApplicationsCommand.js +2 -27
- package/dist/es/commands/ListApplicationsCommand.js.map +1 -1
- package/dist/es/commands/ListComponentsCommand.js +2 -27
- package/dist/es/commands/ListComponentsCommand.js.map +1 -1
- package/dist/es/commands/ListConfigurationHistoryCommand.js +2 -40
- package/dist/es/commands/ListConfigurationHistoryCommand.js.map +1 -1
- package/dist/es/commands/ListLogPatternSetsCommand.js +2 -27
- package/dist/es/commands/ListLogPatternSetsCommand.js.map +1 -1
- package/dist/es/commands/ListLogPatternsCommand.js +2 -27
- package/dist/es/commands/ListLogPatternsCommand.js.map +1 -1
- package/dist/es/commands/ListProblemsCommand.js +2 -27
- package/dist/es/commands/ListProblemsCommand.js.map +1 -1
- package/dist/es/commands/ListTagsForResourceCommand.js +2 -32
- package/dist/es/commands/ListTagsForResourceCommand.js.map +1 -1
- package/dist/es/commands/TagResourceCommand.js +2 -34
- package/dist/es/commands/TagResourceCommand.js.map +1 -1
- package/dist/es/commands/UntagResourceCommand.js +2 -27
- package/dist/es/commands/UntagResourceCommand.js.map +1 -1
- package/dist/es/commands/UpdateApplicationCommand.js +2 -27
- package/dist/es/commands/UpdateApplicationCommand.js.map +1 -1
- package/dist/es/commands/UpdateComponentCommand.js +2 -28
- package/dist/es/commands/UpdateComponentCommand.js.map +1 -1
- package/dist/es/commands/UpdateComponentConfigurationCommand.js +2 -29
- package/dist/es/commands/UpdateComponentConfigurationCommand.js.map +1 -1
- package/dist/es/commands/UpdateLogPatternCommand.js +2 -27
- package/dist/es/commands/UpdateLogPatternCommand.js.map +1 -1
- package/dist/es/endpoints.js +1 -1
- package/dist/es/endpoints.js.map +1 -1
- package/dist/es/models/models_0.js +0 -210
- package/dist/es/models/models_0.js.map +1 -1
- package/dist/es/package.json +39 -39
- package/dist/es/pagination/ListApplicationsPaginator.js +16 -28
- package/dist/es/pagination/ListApplicationsPaginator.js.map +1 -1
- package/dist/es/pagination/ListComponentsPaginator.js +16 -28
- package/dist/es/pagination/ListComponentsPaginator.js.map +1 -1
- package/dist/es/pagination/ListConfigurationHistoryPaginator.js +16 -28
- package/dist/es/pagination/ListConfigurationHistoryPaginator.js.map +1 -1
- package/dist/es/pagination/ListLogPatternSetsPaginator.js +16 -28
- package/dist/es/pagination/ListLogPatternSetsPaginator.js.map +1 -1
- package/dist/es/pagination/ListLogPatternsPaginator.js +16 -28
- package/dist/es/pagination/ListLogPatternsPaginator.js.map +1 -1
- package/dist/es/pagination/ListProblemsPaginator.js +16 -28
- package/dist/es/pagination/ListProblemsPaginator.js.map +1 -1
- package/dist/es/protocols/Aws_json1_1.js +558 -559
- package/dist/es/protocols/Aws_json1_1.js.map +1 -1
- package/dist/es/runtimeConfig.browser.js +0 -3
- package/dist/es/runtimeConfig.browser.js.map +1 -1
- package/dist/es/runtimeConfig.js +0 -3
- package/dist/es/runtimeConfig.js.map +1 -1
- package/dist/es/runtimeConfig.native.js +0 -3
- package/dist/es/runtimeConfig.native.js.map +1 -1
- package/dist/es/runtimeConfig.shared.js +0 -3
- package/dist/es/runtimeConfig.shared.js.map +1 -1
- package/dist/types/runtimeConfig.browser.d.ts +1 -0
- package/dist/types/runtimeConfig.d.ts +1 -0
- package/dist/types/runtimeConfig.native.d.ts +1 -0
- package/dist/types/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/dist/types/ts3.4/runtimeConfig.d.ts +1 -0
- package/dist/types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +39 -39
- package/protocols/Aws_json1_1.ts +13 -6
- package/tsconfig.es.json +0 -2
- package/tsconfig.json +3 -5
- package/tsconfig.types.json +8 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __assign, __awaiter, __generator, __read } from "tslib";
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectString as __expectString, limitedParseDouble as __limitedParseDouble, } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, limitedParseDouble as __limitedParseDouble, parseEpochTimestamp as __parseEpochTimestamp, } from "@aws-sdk/smithy-client";
|
|
4
4
|
export var serializeAws_json1_1CreateApplicationCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
5
5
|
var headers, body;
|
|
6
6
|
return __generator(this, function (_a) {
|
|
@@ -9,7 +9,7 @@ export var serializeAws_json1_1CreateApplicationCommand = function (input, conte
|
|
|
9
9
|
"x-amz-target": "EC2WindowsBarleyService.CreateApplication",
|
|
10
10
|
};
|
|
11
11
|
body = JSON.stringify(serializeAws_json1_1CreateApplicationRequest(input, context));
|
|
12
|
-
return [2
|
|
12
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
13
13
|
});
|
|
14
14
|
}); };
|
|
15
15
|
export var serializeAws_json1_1CreateComponentCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -20,7 +20,7 @@ export var serializeAws_json1_1CreateComponentCommand = function (input, context
|
|
|
20
20
|
"x-amz-target": "EC2WindowsBarleyService.CreateComponent",
|
|
21
21
|
};
|
|
22
22
|
body = JSON.stringify(serializeAws_json1_1CreateComponentRequest(input, context));
|
|
23
|
-
return [2
|
|
23
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
24
24
|
});
|
|
25
25
|
}); };
|
|
26
26
|
export var serializeAws_json1_1CreateLogPatternCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -31,7 +31,7 @@ export var serializeAws_json1_1CreateLogPatternCommand = function (input, contex
|
|
|
31
31
|
"x-amz-target": "EC2WindowsBarleyService.CreateLogPattern",
|
|
32
32
|
};
|
|
33
33
|
body = JSON.stringify(serializeAws_json1_1CreateLogPatternRequest(input, context));
|
|
34
|
-
return [2
|
|
34
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
35
35
|
});
|
|
36
36
|
}); };
|
|
37
37
|
export var serializeAws_json1_1DeleteApplicationCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -42,7 +42,7 @@ export var serializeAws_json1_1DeleteApplicationCommand = function (input, conte
|
|
|
42
42
|
"x-amz-target": "EC2WindowsBarleyService.DeleteApplication",
|
|
43
43
|
};
|
|
44
44
|
body = JSON.stringify(serializeAws_json1_1DeleteApplicationRequest(input, context));
|
|
45
|
-
return [2
|
|
45
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
46
46
|
});
|
|
47
47
|
}); };
|
|
48
48
|
export var serializeAws_json1_1DeleteComponentCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -53,7 +53,7 @@ export var serializeAws_json1_1DeleteComponentCommand = function (input, context
|
|
|
53
53
|
"x-amz-target": "EC2WindowsBarleyService.DeleteComponent",
|
|
54
54
|
};
|
|
55
55
|
body = JSON.stringify(serializeAws_json1_1DeleteComponentRequest(input, context));
|
|
56
|
-
return [2
|
|
56
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
57
57
|
});
|
|
58
58
|
}); };
|
|
59
59
|
export var serializeAws_json1_1DeleteLogPatternCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -64,7 +64,7 @@ export var serializeAws_json1_1DeleteLogPatternCommand = function (input, contex
|
|
|
64
64
|
"x-amz-target": "EC2WindowsBarleyService.DeleteLogPattern",
|
|
65
65
|
};
|
|
66
66
|
body = JSON.stringify(serializeAws_json1_1DeleteLogPatternRequest(input, context));
|
|
67
|
-
return [2
|
|
67
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
68
68
|
});
|
|
69
69
|
}); };
|
|
70
70
|
export var serializeAws_json1_1DescribeApplicationCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -75,7 +75,7 @@ export var serializeAws_json1_1DescribeApplicationCommand = function (input, con
|
|
|
75
75
|
"x-amz-target": "EC2WindowsBarleyService.DescribeApplication",
|
|
76
76
|
};
|
|
77
77
|
body = JSON.stringify(serializeAws_json1_1DescribeApplicationRequest(input, context));
|
|
78
|
-
return [2
|
|
78
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
79
79
|
});
|
|
80
80
|
}); };
|
|
81
81
|
export var serializeAws_json1_1DescribeComponentCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -86,7 +86,7 @@ export var serializeAws_json1_1DescribeComponentCommand = function (input, conte
|
|
|
86
86
|
"x-amz-target": "EC2WindowsBarleyService.DescribeComponent",
|
|
87
87
|
};
|
|
88
88
|
body = JSON.stringify(serializeAws_json1_1DescribeComponentRequest(input, context));
|
|
89
|
-
return [2
|
|
89
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
90
90
|
});
|
|
91
91
|
}); };
|
|
92
92
|
export var serializeAws_json1_1DescribeComponentConfigurationCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -97,7 +97,7 @@ export var serializeAws_json1_1DescribeComponentConfigurationCommand = function
|
|
|
97
97
|
"x-amz-target": "EC2WindowsBarleyService.DescribeComponentConfiguration",
|
|
98
98
|
};
|
|
99
99
|
body = JSON.stringify(serializeAws_json1_1DescribeComponentConfigurationRequest(input, context));
|
|
100
|
-
return [2
|
|
100
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
101
101
|
});
|
|
102
102
|
}); };
|
|
103
103
|
export var serializeAws_json1_1DescribeComponentConfigurationRecommendationCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -108,7 +108,7 @@ export var serializeAws_json1_1DescribeComponentConfigurationRecommendationComma
|
|
|
108
108
|
"x-amz-target": "EC2WindowsBarleyService.DescribeComponentConfigurationRecommendation",
|
|
109
109
|
};
|
|
110
110
|
body = JSON.stringify(serializeAws_json1_1DescribeComponentConfigurationRecommendationRequest(input, context));
|
|
111
|
-
return [2
|
|
111
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
112
112
|
});
|
|
113
113
|
}); };
|
|
114
114
|
export var serializeAws_json1_1DescribeLogPatternCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -119,7 +119,7 @@ export var serializeAws_json1_1DescribeLogPatternCommand = function (input, cont
|
|
|
119
119
|
"x-amz-target": "EC2WindowsBarleyService.DescribeLogPattern",
|
|
120
120
|
};
|
|
121
121
|
body = JSON.stringify(serializeAws_json1_1DescribeLogPatternRequest(input, context));
|
|
122
|
-
return [2
|
|
122
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
123
123
|
});
|
|
124
124
|
}); };
|
|
125
125
|
export var serializeAws_json1_1DescribeObservationCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -130,7 +130,7 @@ export var serializeAws_json1_1DescribeObservationCommand = function (input, con
|
|
|
130
130
|
"x-amz-target": "EC2WindowsBarleyService.DescribeObservation",
|
|
131
131
|
};
|
|
132
132
|
body = JSON.stringify(serializeAws_json1_1DescribeObservationRequest(input, context));
|
|
133
|
-
return [2
|
|
133
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
134
134
|
});
|
|
135
135
|
}); };
|
|
136
136
|
export var serializeAws_json1_1DescribeProblemCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -141,7 +141,7 @@ export var serializeAws_json1_1DescribeProblemCommand = function (input, context
|
|
|
141
141
|
"x-amz-target": "EC2WindowsBarleyService.DescribeProblem",
|
|
142
142
|
};
|
|
143
143
|
body = JSON.stringify(serializeAws_json1_1DescribeProblemRequest(input, context));
|
|
144
|
-
return [2
|
|
144
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
145
145
|
});
|
|
146
146
|
}); };
|
|
147
147
|
export var serializeAws_json1_1DescribeProblemObservationsCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -152,7 +152,7 @@ export var serializeAws_json1_1DescribeProblemObservationsCommand = function (in
|
|
|
152
152
|
"x-amz-target": "EC2WindowsBarleyService.DescribeProblemObservations",
|
|
153
153
|
};
|
|
154
154
|
body = JSON.stringify(serializeAws_json1_1DescribeProblemObservationsRequest(input, context));
|
|
155
|
-
return [2
|
|
155
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
156
156
|
});
|
|
157
157
|
}); };
|
|
158
158
|
export var serializeAws_json1_1ListApplicationsCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -163,7 +163,7 @@ export var serializeAws_json1_1ListApplicationsCommand = function (input, contex
|
|
|
163
163
|
"x-amz-target": "EC2WindowsBarleyService.ListApplications",
|
|
164
164
|
};
|
|
165
165
|
body = JSON.stringify(serializeAws_json1_1ListApplicationsRequest(input, context));
|
|
166
|
-
return [2
|
|
166
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
167
167
|
});
|
|
168
168
|
}); };
|
|
169
169
|
export var serializeAws_json1_1ListComponentsCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -174,7 +174,7 @@ export var serializeAws_json1_1ListComponentsCommand = function (input, context)
|
|
|
174
174
|
"x-amz-target": "EC2WindowsBarleyService.ListComponents",
|
|
175
175
|
};
|
|
176
176
|
body = JSON.stringify(serializeAws_json1_1ListComponentsRequest(input, context));
|
|
177
|
-
return [2
|
|
177
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
178
178
|
});
|
|
179
179
|
}); };
|
|
180
180
|
export var serializeAws_json1_1ListConfigurationHistoryCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -185,7 +185,7 @@ export var serializeAws_json1_1ListConfigurationHistoryCommand = function (input
|
|
|
185
185
|
"x-amz-target": "EC2WindowsBarleyService.ListConfigurationHistory",
|
|
186
186
|
};
|
|
187
187
|
body = JSON.stringify(serializeAws_json1_1ListConfigurationHistoryRequest(input, context));
|
|
188
|
-
return [2
|
|
188
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
189
189
|
});
|
|
190
190
|
}); };
|
|
191
191
|
export var serializeAws_json1_1ListLogPatternsCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -196,7 +196,7 @@ export var serializeAws_json1_1ListLogPatternsCommand = function (input, context
|
|
|
196
196
|
"x-amz-target": "EC2WindowsBarleyService.ListLogPatterns",
|
|
197
197
|
};
|
|
198
198
|
body = JSON.stringify(serializeAws_json1_1ListLogPatternsRequest(input, context));
|
|
199
|
-
return [2
|
|
199
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
200
200
|
});
|
|
201
201
|
}); };
|
|
202
202
|
export var serializeAws_json1_1ListLogPatternSetsCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -207,7 +207,7 @@ export var serializeAws_json1_1ListLogPatternSetsCommand = function (input, cont
|
|
|
207
207
|
"x-amz-target": "EC2WindowsBarleyService.ListLogPatternSets",
|
|
208
208
|
};
|
|
209
209
|
body = JSON.stringify(serializeAws_json1_1ListLogPatternSetsRequest(input, context));
|
|
210
|
-
return [2
|
|
210
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
211
211
|
});
|
|
212
212
|
}); };
|
|
213
213
|
export var serializeAws_json1_1ListProblemsCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -218,7 +218,7 @@ export var serializeAws_json1_1ListProblemsCommand = function (input, context) {
|
|
|
218
218
|
"x-amz-target": "EC2WindowsBarleyService.ListProblems",
|
|
219
219
|
};
|
|
220
220
|
body = JSON.stringify(serializeAws_json1_1ListProblemsRequest(input, context));
|
|
221
|
-
return [2
|
|
221
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
222
222
|
});
|
|
223
223
|
}); };
|
|
224
224
|
export var serializeAws_json1_1ListTagsForResourceCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -229,7 +229,7 @@ export var serializeAws_json1_1ListTagsForResourceCommand = function (input, con
|
|
|
229
229
|
"x-amz-target": "EC2WindowsBarleyService.ListTagsForResource",
|
|
230
230
|
};
|
|
231
231
|
body = JSON.stringify(serializeAws_json1_1ListTagsForResourceRequest(input, context));
|
|
232
|
-
return [2
|
|
232
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
233
233
|
});
|
|
234
234
|
}); };
|
|
235
235
|
export var serializeAws_json1_1TagResourceCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -240,7 +240,7 @@ export var serializeAws_json1_1TagResourceCommand = function (input, context) {
|
|
|
240
240
|
"x-amz-target": "EC2WindowsBarleyService.TagResource",
|
|
241
241
|
};
|
|
242
242
|
body = JSON.stringify(serializeAws_json1_1TagResourceRequest(input, context));
|
|
243
|
-
return [2
|
|
243
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
244
244
|
});
|
|
245
245
|
}); };
|
|
246
246
|
export var serializeAws_json1_1UntagResourceCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -251,7 +251,7 @@ export var serializeAws_json1_1UntagResourceCommand = function (input, context)
|
|
|
251
251
|
"x-amz-target": "EC2WindowsBarleyService.UntagResource",
|
|
252
252
|
};
|
|
253
253
|
body = JSON.stringify(serializeAws_json1_1UntagResourceRequest(input, context));
|
|
254
|
-
return [2
|
|
254
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
255
255
|
});
|
|
256
256
|
}); };
|
|
257
257
|
export var serializeAws_json1_1UpdateApplicationCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -262,7 +262,7 @@ export var serializeAws_json1_1UpdateApplicationCommand = function (input, conte
|
|
|
262
262
|
"x-amz-target": "EC2WindowsBarleyService.UpdateApplication",
|
|
263
263
|
};
|
|
264
264
|
body = JSON.stringify(serializeAws_json1_1UpdateApplicationRequest(input, context));
|
|
265
|
-
return [2
|
|
265
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
266
266
|
});
|
|
267
267
|
}); };
|
|
268
268
|
export var serializeAws_json1_1UpdateComponentCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -273,7 +273,7 @@ export var serializeAws_json1_1UpdateComponentCommand = function (input, context
|
|
|
273
273
|
"x-amz-target": "EC2WindowsBarleyService.UpdateComponent",
|
|
274
274
|
};
|
|
275
275
|
body = JSON.stringify(serializeAws_json1_1UpdateComponentRequest(input, context));
|
|
276
|
-
return [2
|
|
276
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
277
277
|
});
|
|
278
278
|
}); };
|
|
279
279
|
export var serializeAws_json1_1UpdateComponentConfigurationCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -284,7 +284,7 @@ export var serializeAws_json1_1UpdateComponentConfigurationCommand = function (i
|
|
|
284
284
|
"x-amz-target": "EC2WindowsBarleyService.UpdateComponentConfiguration",
|
|
285
285
|
};
|
|
286
286
|
body = JSON.stringify(serializeAws_json1_1UpdateComponentConfigurationRequest(input, context));
|
|
287
|
-
return [2
|
|
287
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
288
288
|
});
|
|
289
289
|
}); };
|
|
290
290
|
export var serializeAws_json1_1UpdateLogPatternCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -295,7 +295,7 @@ export var serializeAws_json1_1UpdateLogPatternCommand = function (input, contex
|
|
|
295
295
|
"x-amz-target": "EC2WindowsBarleyService.UpdateLogPattern",
|
|
296
296
|
};
|
|
297
297
|
body = JSON.stringify(serializeAws_json1_1UpdateLogPatternRequest(input, context));
|
|
298
|
-
return [2
|
|
298
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
299
299
|
});
|
|
300
300
|
}); };
|
|
301
301
|
export var deserializeAws_json1_1CreateApplicationCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -304,15 +304,15 @@ export var deserializeAws_json1_1CreateApplicationCommand = function (output, co
|
|
|
304
304
|
switch (_a.label) {
|
|
305
305
|
case 0:
|
|
306
306
|
if (output.statusCode >= 300) {
|
|
307
|
-
return [2
|
|
307
|
+
return [2, deserializeAws_json1_1CreateApplicationCommandError(output, context)];
|
|
308
308
|
}
|
|
309
|
-
return [4
|
|
309
|
+
return [4, parseBody(output.body, context)];
|
|
310
310
|
case 1:
|
|
311
311
|
data = _a.sent();
|
|
312
312
|
contents = {};
|
|
313
313
|
contents = deserializeAws_json1_1CreateApplicationResponse(data, context);
|
|
314
314
|
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
315
|
-
return [2
|
|
315
|
+
return [2, Promise.resolve(response)];
|
|
316
316
|
}
|
|
317
317
|
});
|
|
318
318
|
}); };
|
|
@@ -324,63 +324,63 @@ var deserializeAws_json1_1CreateApplicationCommandError = function (output, cont
|
|
|
324
324
|
case 0:
|
|
325
325
|
_a = [__assign({}, output)];
|
|
326
326
|
_j = {};
|
|
327
|
-
return [4
|
|
327
|
+
return [4, parseBody(output.body, context)];
|
|
328
328
|
case 1:
|
|
329
329
|
parsedOutput = __assign.apply(void 0, _a.concat([(_j.body = _k.sent(), _j)]));
|
|
330
330
|
errorCode = "UnknownError";
|
|
331
331
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
332
332
|
_b = errorCode;
|
|
333
333
|
switch (_b) {
|
|
334
|
-
case "AccessDeniedException": return [3
|
|
335
|
-
case "com.amazonaws.applicationinsights#AccessDeniedException": return [3
|
|
336
|
-
case "InternalServerException": return [3
|
|
337
|
-
case "com.amazonaws.applicationinsights#InternalServerException": return [3
|
|
338
|
-
case "ResourceInUseException": return [3
|
|
339
|
-
case "com.amazonaws.applicationinsights#ResourceInUseException": return [3
|
|
340
|
-
case "ResourceNotFoundException": return [3
|
|
341
|
-
case "com.amazonaws.applicationinsights#ResourceNotFoundException": return [3
|
|
342
|
-
case "TagsAlreadyExistException": return [3
|
|
343
|
-
case "com.amazonaws.applicationinsights#TagsAlreadyExistException": return [3
|
|
344
|
-
case "ValidationException": return [3
|
|
345
|
-
case "com.amazonaws.applicationinsights#ValidationException": return [3
|
|
334
|
+
case "AccessDeniedException": return [3, 2];
|
|
335
|
+
case "com.amazonaws.applicationinsights#AccessDeniedException": return [3, 2];
|
|
336
|
+
case "InternalServerException": return [3, 4];
|
|
337
|
+
case "com.amazonaws.applicationinsights#InternalServerException": return [3, 4];
|
|
338
|
+
case "ResourceInUseException": return [3, 6];
|
|
339
|
+
case "com.amazonaws.applicationinsights#ResourceInUseException": return [3, 6];
|
|
340
|
+
case "ResourceNotFoundException": return [3, 8];
|
|
341
|
+
case "com.amazonaws.applicationinsights#ResourceNotFoundException": return [3, 8];
|
|
342
|
+
case "TagsAlreadyExistException": return [3, 10];
|
|
343
|
+
case "com.amazonaws.applicationinsights#TagsAlreadyExistException": return [3, 10];
|
|
344
|
+
case "ValidationException": return [3, 12];
|
|
345
|
+
case "com.amazonaws.applicationinsights#ValidationException": return [3, 12];
|
|
346
346
|
}
|
|
347
|
-
return [3
|
|
347
|
+
return [3, 14];
|
|
348
348
|
case 2:
|
|
349
349
|
_c = [{}];
|
|
350
|
-
return [4
|
|
350
|
+
return [4, deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
351
351
|
case 3:
|
|
352
352
|
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
353
|
-
return [3
|
|
353
|
+
return [3, 15];
|
|
354
354
|
case 4:
|
|
355
355
|
_d = [{}];
|
|
356
|
-
return [4
|
|
356
|
+
return [4, deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context)];
|
|
357
357
|
case 5:
|
|
358
358
|
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
359
|
-
return [3
|
|
359
|
+
return [3, 15];
|
|
360
360
|
case 6:
|
|
361
361
|
_e = [{}];
|
|
362
|
-
return [4
|
|
362
|
+
return [4, deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context)];
|
|
363
363
|
case 7:
|
|
364
364
|
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
365
|
-
return [3
|
|
365
|
+
return [3, 15];
|
|
366
366
|
case 8:
|
|
367
367
|
_f = [{}];
|
|
368
|
-
return [4
|
|
368
|
+
return [4, deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
369
369
|
case 9:
|
|
370
370
|
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
371
|
-
return [3
|
|
371
|
+
return [3, 15];
|
|
372
372
|
case 10:
|
|
373
373
|
_g = [{}];
|
|
374
|
-
return [4
|
|
374
|
+
return [4, deserializeAws_json1_1TagsAlreadyExistExceptionResponse(parsedOutput, context)];
|
|
375
375
|
case 11:
|
|
376
376
|
response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
377
|
-
return [3
|
|
377
|
+
return [3, 15];
|
|
378
378
|
case 12:
|
|
379
379
|
_h = [{}];
|
|
380
|
-
return [4
|
|
380
|
+
return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
381
381
|
case 13:
|
|
382
382
|
response = __assign.apply(void 0, [__assign.apply(void 0, _h.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
383
|
-
return [3
|
|
383
|
+
return [3, 15];
|
|
384
384
|
case 14:
|
|
385
385
|
parsedBody = parsedOutput.body;
|
|
386
386
|
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
@@ -390,7 +390,7 @@ var deserializeAws_json1_1CreateApplicationCommandError = function (output, cont
|
|
|
390
390
|
message = response.message || response.Message || errorCode;
|
|
391
391
|
response.message = message;
|
|
392
392
|
delete response.Message;
|
|
393
|
-
return [2
|
|
393
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
394
394
|
}
|
|
395
395
|
});
|
|
396
396
|
}); };
|
|
@@ -400,15 +400,15 @@ export var deserializeAws_json1_1CreateComponentCommand = function (output, cont
|
|
|
400
400
|
switch (_a.label) {
|
|
401
401
|
case 0:
|
|
402
402
|
if (output.statusCode >= 300) {
|
|
403
|
-
return [2
|
|
403
|
+
return [2, deserializeAws_json1_1CreateComponentCommandError(output, context)];
|
|
404
404
|
}
|
|
405
|
-
return [4
|
|
405
|
+
return [4, parseBody(output.body, context)];
|
|
406
406
|
case 1:
|
|
407
407
|
data = _a.sent();
|
|
408
408
|
contents = {};
|
|
409
409
|
contents = deserializeAws_json1_1CreateComponentResponse(data, context);
|
|
410
410
|
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
411
|
-
return [2
|
|
411
|
+
return [2, Promise.resolve(response)];
|
|
412
412
|
}
|
|
413
413
|
});
|
|
414
414
|
}); };
|
|
@@ -420,47 +420,47 @@ var deserializeAws_json1_1CreateComponentCommandError = function (output, contex
|
|
|
420
420
|
case 0:
|
|
421
421
|
_a = [__assign({}, output)];
|
|
422
422
|
_g = {};
|
|
423
|
-
return [4
|
|
423
|
+
return [4, parseBody(output.body, context)];
|
|
424
424
|
case 1:
|
|
425
425
|
parsedOutput = __assign.apply(void 0, _a.concat([(_g.body = _h.sent(), _g)]));
|
|
426
426
|
errorCode = "UnknownError";
|
|
427
427
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
428
428
|
_b = errorCode;
|
|
429
429
|
switch (_b) {
|
|
430
|
-
case "InternalServerException": return [3
|
|
431
|
-
case "com.amazonaws.applicationinsights#InternalServerException": return [3
|
|
432
|
-
case "ResourceInUseException": return [3
|
|
433
|
-
case "com.amazonaws.applicationinsights#ResourceInUseException": return [3
|
|
434
|
-
case "ResourceNotFoundException": return [3
|
|
435
|
-
case "com.amazonaws.applicationinsights#ResourceNotFoundException": return [3
|
|
436
|
-
case "ValidationException": return [3
|
|
437
|
-
case "com.amazonaws.applicationinsights#ValidationException": return [3
|
|
430
|
+
case "InternalServerException": return [3, 2];
|
|
431
|
+
case "com.amazonaws.applicationinsights#InternalServerException": return [3, 2];
|
|
432
|
+
case "ResourceInUseException": return [3, 4];
|
|
433
|
+
case "com.amazonaws.applicationinsights#ResourceInUseException": return [3, 4];
|
|
434
|
+
case "ResourceNotFoundException": return [3, 6];
|
|
435
|
+
case "com.amazonaws.applicationinsights#ResourceNotFoundException": return [3, 6];
|
|
436
|
+
case "ValidationException": return [3, 8];
|
|
437
|
+
case "com.amazonaws.applicationinsights#ValidationException": return [3, 8];
|
|
438
438
|
}
|
|
439
|
-
return [3
|
|
439
|
+
return [3, 10];
|
|
440
440
|
case 2:
|
|
441
441
|
_c = [{}];
|
|
442
|
-
return [4
|
|
442
|
+
return [4, deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context)];
|
|
443
443
|
case 3:
|
|
444
444
|
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
445
|
-
return [3
|
|
445
|
+
return [3, 11];
|
|
446
446
|
case 4:
|
|
447
447
|
_d = [{}];
|
|
448
|
-
return [4
|
|
448
|
+
return [4, deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context)];
|
|
449
449
|
case 5:
|
|
450
450
|
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
451
|
-
return [3
|
|
451
|
+
return [3, 11];
|
|
452
452
|
case 6:
|
|
453
453
|
_e = [{}];
|
|
454
|
-
return [4
|
|
454
|
+
return [4, deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
455
455
|
case 7:
|
|
456
456
|
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
457
|
-
return [3
|
|
457
|
+
return [3, 11];
|
|
458
458
|
case 8:
|
|
459
459
|
_f = [{}];
|
|
460
|
-
return [4
|
|
460
|
+
return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
461
461
|
case 9:
|
|
462
462
|
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
463
|
-
return [3
|
|
463
|
+
return [3, 11];
|
|
464
464
|
case 10:
|
|
465
465
|
parsedBody = parsedOutput.body;
|
|
466
466
|
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
@@ -470,7 +470,7 @@ var deserializeAws_json1_1CreateComponentCommandError = function (output, contex
|
|
|
470
470
|
message = response.message || response.Message || errorCode;
|
|
471
471
|
response.message = message;
|
|
472
472
|
delete response.Message;
|
|
473
|
-
return [2
|
|
473
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
474
474
|
}
|
|
475
475
|
});
|
|
476
476
|
}); };
|
|
@@ -480,15 +480,15 @@ export var deserializeAws_json1_1CreateLogPatternCommand = function (output, con
|
|
|
480
480
|
switch (_a.label) {
|
|
481
481
|
case 0:
|
|
482
482
|
if (output.statusCode >= 300) {
|
|
483
|
-
return [2
|
|
483
|
+
return [2, deserializeAws_json1_1CreateLogPatternCommandError(output, context)];
|
|
484
484
|
}
|
|
485
|
-
return [4
|
|
485
|
+
return [4, parseBody(output.body, context)];
|
|
486
486
|
case 1:
|
|
487
487
|
data = _a.sent();
|
|
488
488
|
contents = {};
|
|
489
489
|
contents = deserializeAws_json1_1CreateLogPatternResponse(data, context);
|
|
490
490
|
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
491
|
-
return [2
|
|
491
|
+
return [2, Promise.resolve(response)];
|
|
492
492
|
}
|
|
493
493
|
});
|
|
494
494
|
}); };
|
|
@@ -500,47 +500,47 @@ var deserializeAws_json1_1CreateLogPatternCommandError = function (output, conte
|
|
|
500
500
|
case 0:
|
|
501
501
|
_a = [__assign({}, output)];
|
|
502
502
|
_g = {};
|
|
503
|
-
return [4
|
|
503
|
+
return [4, parseBody(output.body, context)];
|
|
504
504
|
case 1:
|
|
505
505
|
parsedOutput = __assign.apply(void 0, _a.concat([(_g.body = _h.sent(), _g)]));
|
|
506
506
|
errorCode = "UnknownError";
|
|
507
507
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
508
508
|
_b = errorCode;
|
|
509
509
|
switch (_b) {
|
|
510
|
-
case "InternalServerException": return [3
|
|
511
|
-
case "com.amazonaws.applicationinsights#InternalServerException": return [3
|
|
512
|
-
case "ResourceInUseException": return [3
|
|
513
|
-
case "com.amazonaws.applicationinsights#ResourceInUseException": return [3
|
|
514
|
-
case "ResourceNotFoundException": return [3
|
|
515
|
-
case "com.amazonaws.applicationinsights#ResourceNotFoundException": return [3
|
|
516
|
-
case "ValidationException": return [3
|
|
517
|
-
case "com.amazonaws.applicationinsights#ValidationException": return [3
|
|
510
|
+
case "InternalServerException": return [3, 2];
|
|
511
|
+
case "com.amazonaws.applicationinsights#InternalServerException": return [3, 2];
|
|
512
|
+
case "ResourceInUseException": return [3, 4];
|
|
513
|
+
case "com.amazonaws.applicationinsights#ResourceInUseException": return [3, 4];
|
|
514
|
+
case "ResourceNotFoundException": return [3, 6];
|
|
515
|
+
case "com.amazonaws.applicationinsights#ResourceNotFoundException": return [3, 6];
|
|
516
|
+
case "ValidationException": return [3, 8];
|
|
517
|
+
case "com.amazonaws.applicationinsights#ValidationException": return [3, 8];
|
|
518
518
|
}
|
|
519
|
-
return [3
|
|
519
|
+
return [3, 10];
|
|
520
520
|
case 2:
|
|
521
521
|
_c = [{}];
|
|
522
|
-
return [4
|
|
522
|
+
return [4, deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context)];
|
|
523
523
|
case 3:
|
|
524
524
|
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
525
|
-
return [3
|
|
525
|
+
return [3, 11];
|
|
526
526
|
case 4:
|
|
527
527
|
_d = [{}];
|
|
528
|
-
return [4
|
|
528
|
+
return [4, deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context)];
|
|
529
529
|
case 5:
|
|
530
530
|
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
531
|
-
return [3
|
|
531
|
+
return [3, 11];
|
|
532
532
|
case 6:
|
|
533
533
|
_e = [{}];
|
|
534
|
-
return [4
|
|
534
|
+
return [4, deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
535
535
|
case 7:
|
|
536
536
|
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
537
|
-
return [3
|
|
537
|
+
return [3, 11];
|
|
538
538
|
case 8:
|
|
539
539
|
_f = [{}];
|
|
540
|
-
return [4
|
|
540
|
+
return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
541
541
|
case 9:
|
|
542
542
|
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
543
|
-
return [3
|
|
543
|
+
return [3, 11];
|
|
544
544
|
case 10:
|
|
545
545
|
parsedBody = parsedOutput.body;
|
|
546
546
|
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
@@ -550,7 +550,7 @@ var deserializeAws_json1_1CreateLogPatternCommandError = function (output, conte
|
|
|
550
550
|
message = response.message || response.Message || errorCode;
|
|
551
551
|
response.message = message;
|
|
552
552
|
delete response.Message;
|
|
553
|
-
return [2
|
|
553
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
554
554
|
}
|
|
555
555
|
});
|
|
556
556
|
}); };
|
|
@@ -560,15 +560,15 @@ export var deserializeAws_json1_1DeleteApplicationCommand = function (output, co
|
|
|
560
560
|
switch (_a.label) {
|
|
561
561
|
case 0:
|
|
562
562
|
if (output.statusCode >= 300) {
|
|
563
|
-
return [2
|
|
563
|
+
return [2, deserializeAws_json1_1DeleteApplicationCommandError(output, context)];
|
|
564
564
|
}
|
|
565
|
-
return [4
|
|
565
|
+
return [4, parseBody(output.body, context)];
|
|
566
566
|
case 1:
|
|
567
567
|
data = _a.sent();
|
|
568
568
|
contents = {};
|
|
569
569
|
contents = deserializeAws_json1_1DeleteApplicationResponse(data, context);
|
|
570
570
|
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
571
|
-
return [2
|
|
571
|
+
return [2, Promise.resolve(response)];
|
|
572
572
|
}
|
|
573
573
|
});
|
|
574
574
|
}); };
|
|
@@ -580,47 +580,47 @@ var deserializeAws_json1_1DeleteApplicationCommandError = function (output, cont
|
|
|
580
580
|
case 0:
|
|
581
581
|
_a = [__assign({}, output)];
|
|
582
582
|
_g = {};
|
|
583
|
-
return [4
|
|
583
|
+
return [4, parseBody(output.body, context)];
|
|
584
584
|
case 1:
|
|
585
585
|
parsedOutput = __assign.apply(void 0, _a.concat([(_g.body = _h.sent(), _g)]));
|
|
586
586
|
errorCode = "UnknownError";
|
|
587
587
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
588
588
|
_b = errorCode;
|
|
589
589
|
switch (_b) {
|
|
590
|
-
case "BadRequestException": return [3
|
|
591
|
-
case "com.amazonaws.applicationinsights#BadRequestException": return [3
|
|
592
|
-
case "InternalServerException": return [3
|
|
593
|
-
case "com.amazonaws.applicationinsights#InternalServerException": return [3
|
|
594
|
-
case "ResourceNotFoundException": return [3
|
|
595
|
-
case "com.amazonaws.applicationinsights#ResourceNotFoundException": return [3
|
|
596
|
-
case "ValidationException": return [3
|
|
597
|
-
case "com.amazonaws.applicationinsights#ValidationException": return [3
|
|
590
|
+
case "BadRequestException": return [3, 2];
|
|
591
|
+
case "com.amazonaws.applicationinsights#BadRequestException": return [3, 2];
|
|
592
|
+
case "InternalServerException": return [3, 4];
|
|
593
|
+
case "com.amazonaws.applicationinsights#InternalServerException": return [3, 4];
|
|
594
|
+
case "ResourceNotFoundException": return [3, 6];
|
|
595
|
+
case "com.amazonaws.applicationinsights#ResourceNotFoundException": return [3, 6];
|
|
596
|
+
case "ValidationException": return [3, 8];
|
|
597
|
+
case "com.amazonaws.applicationinsights#ValidationException": return [3, 8];
|
|
598
598
|
}
|
|
599
|
-
return [3
|
|
599
|
+
return [3, 10];
|
|
600
600
|
case 2:
|
|
601
601
|
_c = [{}];
|
|
602
|
-
return [4
|
|
602
|
+
return [4, deserializeAws_json1_1BadRequestExceptionResponse(parsedOutput, context)];
|
|
603
603
|
case 3:
|
|
604
604
|
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
605
|
-
return [3
|
|
605
|
+
return [3, 11];
|
|
606
606
|
case 4:
|
|
607
607
|
_d = [{}];
|
|
608
|
-
return [4
|
|
608
|
+
return [4, deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context)];
|
|
609
609
|
case 5:
|
|
610
610
|
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
611
|
-
return [3
|
|
611
|
+
return [3, 11];
|
|
612
612
|
case 6:
|
|
613
613
|
_e = [{}];
|
|
614
|
-
return [4
|
|
614
|
+
return [4, deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
615
615
|
case 7:
|
|
616
616
|
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
617
|
-
return [3
|
|
617
|
+
return [3, 11];
|
|
618
618
|
case 8:
|
|
619
619
|
_f = [{}];
|
|
620
|
-
return [4
|
|
620
|
+
return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
621
621
|
case 9:
|
|
622
622
|
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
623
|
-
return [3
|
|
623
|
+
return [3, 11];
|
|
624
624
|
case 10:
|
|
625
625
|
parsedBody = parsedOutput.body;
|
|
626
626
|
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
@@ -630,7 +630,7 @@ var deserializeAws_json1_1DeleteApplicationCommandError = function (output, cont
|
|
|
630
630
|
message = response.message || response.Message || errorCode;
|
|
631
631
|
response.message = message;
|
|
632
632
|
delete response.Message;
|
|
633
|
-
return [2
|
|
633
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
634
634
|
}
|
|
635
635
|
});
|
|
636
636
|
}); };
|
|
@@ -640,15 +640,15 @@ export var deserializeAws_json1_1DeleteComponentCommand = function (output, cont
|
|
|
640
640
|
switch (_a.label) {
|
|
641
641
|
case 0:
|
|
642
642
|
if (output.statusCode >= 300) {
|
|
643
|
-
return [2
|
|
643
|
+
return [2, deserializeAws_json1_1DeleteComponentCommandError(output, context)];
|
|
644
644
|
}
|
|
645
|
-
return [4
|
|
645
|
+
return [4, parseBody(output.body, context)];
|
|
646
646
|
case 1:
|
|
647
647
|
data = _a.sent();
|
|
648
648
|
contents = {};
|
|
649
649
|
contents = deserializeAws_json1_1DeleteComponentResponse(data, context);
|
|
650
650
|
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
651
|
-
return [2
|
|
651
|
+
return [2, Promise.resolve(response)];
|
|
652
652
|
}
|
|
653
653
|
});
|
|
654
654
|
}); };
|
|
@@ -660,39 +660,39 @@ var deserializeAws_json1_1DeleteComponentCommandError = function (output, contex
|
|
|
660
660
|
case 0:
|
|
661
661
|
_a = [__assign({}, output)];
|
|
662
662
|
_f = {};
|
|
663
|
-
return [4
|
|
663
|
+
return [4, parseBody(output.body, context)];
|
|
664
664
|
case 1:
|
|
665
665
|
parsedOutput = __assign.apply(void 0, _a.concat([(_f.body = _g.sent(), _f)]));
|
|
666
666
|
errorCode = "UnknownError";
|
|
667
667
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
668
668
|
_b = errorCode;
|
|
669
669
|
switch (_b) {
|
|
670
|
-
case "InternalServerException": return [3
|
|
671
|
-
case "com.amazonaws.applicationinsights#InternalServerException": return [3
|
|
672
|
-
case "ResourceNotFoundException": return [3
|
|
673
|
-
case "com.amazonaws.applicationinsights#ResourceNotFoundException": return [3
|
|
674
|
-
case "ValidationException": return [3
|
|
675
|
-
case "com.amazonaws.applicationinsights#ValidationException": return [3
|
|
670
|
+
case "InternalServerException": return [3, 2];
|
|
671
|
+
case "com.amazonaws.applicationinsights#InternalServerException": return [3, 2];
|
|
672
|
+
case "ResourceNotFoundException": return [3, 4];
|
|
673
|
+
case "com.amazonaws.applicationinsights#ResourceNotFoundException": return [3, 4];
|
|
674
|
+
case "ValidationException": return [3, 6];
|
|
675
|
+
case "com.amazonaws.applicationinsights#ValidationException": return [3, 6];
|
|
676
676
|
}
|
|
677
|
-
return [3
|
|
677
|
+
return [3, 8];
|
|
678
678
|
case 2:
|
|
679
679
|
_c = [{}];
|
|
680
|
-
return [4
|
|
680
|
+
return [4, deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context)];
|
|
681
681
|
case 3:
|
|
682
682
|
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
683
|
-
return [3
|
|
683
|
+
return [3, 9];
|
|
684
684
|
case 4:
|
|
685
685
|
_d = [{}];
|
|
686
|
-
return [4
|
|
686
|
+
return [4, deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
687
687
|
case 5:
|
|
688
688
|
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
689
|
-
return [3
|
|
689
|
+
return [3, 9];
|
|
690
690
|
case 6:
|
|
691
691
|
_e = [{}];
|
|
692
|
-
return [4
|
|
692
|
+
return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
693
693
|
case 7:
|
|
694
694
|
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
695
|
-
return [3
|
|
695
|
+
return [3, 9];
|
|
696
696
|
case 8:
|
|
697
697
|
parsedBody = parsedOutput.body;
|
|
698
698
|
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
@@ -702,7 +702,7 @@ var deserializeAws_json1_1DeleteComponentCommandError = function (output, contex
|
|
|
702
702
|
message = response.message || response.Message || errorCode;
|
|
703
703
|
response.message = message;
|
|
704
704
|
delete response.Message;
|
|
705
|
-
return [2
|
|
705
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
706
706
|
}
|
|
707
707
|
});
|
|
708
708
|
}); };
|
|
@@ -712,15 +712,15 @@ export var deserializeAws_json1_1DeleteLogPatternCommand = function (output, con
|
|
|
712
712
|
switch (_a.label) {
|
|
713
713
|
case 0:
|
|
714
714
|
if (output.statusCode >= 300) {
|
|
715
|
-
return [2
|
|
715
|
+
return [2, deserializeAws_json1_1DeleteLogPatternCommandError(output, context)];
|
|
716
716
|
}
|
|
717
|
-
return [4
|
|
717
|
+
return [4, parseBody(output.body, context)];
|
|
718
718
|
case 1:
|
|
719
719
|
data = _a.sent();
|
|
720
720
|
contents = {};
|
|
721
721
|
contents = deserializeAws_json1_1DeleteLogPatternResponse(data, context);
|
|
722
722
|
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
723
|
-
return [2
|
|
723
|
+
return [2, Promise.resolve(response)];
|
|
724
724
|
}
|
|
725
725
|
});
|
|
726
726
|
}); };
|
|
@@ -732,47 +732,47 @@ var deserializeAws_json1_1DeleteLogPatternCommandError = function (output, conte
|
|
|
732
732
|
case 0:
|
|
733
733
|
_a = [__assign({}, output)];
|
|
734
734
|
_g = {};
|
|
735
|
-
return [4
|
|
735
|
+
return [4, parseBody(output.body, context)];
|
|
736
736
|
case 1:
|
|
737
737
|
parsedOutput = __assign.apply(void 0, _a.concat([(_g.body = _h.sent(), _g)]));
|
|
738
738
|
errorCode = "UnknownError";
|
|
739
739
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
740
740
|
_b = errorCode;
|
|
741
741
|
switch (_b) {
|
|
742
|
-
case "BadRequestException": return [3
|
|
743
|
-
case "com.amazonaws.applicationinsights#BadRequestException": return [3
|
|
744
|
-
case "InternalServerException": return [3
|
|
745
|
-
case "com.amazonaws.applicationinsights#InternalServerException": return [3
|
|
746
|
-
case "ResourceNotFoundException": return [3
|
|
747
|
-
case "com.amazonaws.applicationinsights#ResourceNotFoundException": return [3
|
|
748
|
-
case "ValidationException": return [3
|
|
749
|
-
case "com.amazonaws.applicationinsights#ValidationException": return [3
|
|
742
|
+
case "BadRequestException": return [3, 2];
|
|
743
|
+
case "com.amazonaws.applicationinsights#BadRequestException": return [3, 2];
|
|
744
|
+
case "InternalServerException": return [3, 4];
|
|
745
|
+
case "com.amazonaws.applicationinsights#InternalServerException": return [3, 4];
|
|
746
|
+
case "ResourceNotFoundException": return [3, 6];
|
|
747
|
+
case "com.amazonaws.applicationinsights#ResourceNotFoundException": return [3, 6];
|
|
748
|
+
case "ValidationException": return [3, 8];
|
|
749
|
+
case "com.amazonaws.applicationinsights#ValidationException": return [3, 8];
|
|
750
750
|
}
|
|
751
|
-
return [3
|
|
751
|
+
return [3, 10];
|
|
752
752
|
case 2:
|
|
753
753
|
_c = [{}];
|
|
754
|
-
return [4
|
|
754
|
+
return [4, deserializeAws_json1_1BadRequestExceptionResponse(parsedOutput, context)];
|
|
755
755
|
case 3:
|
|
756
756
|
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
757
|
-
return [3
|
|
757
|
+
return [3, 11];
|
|
758
758
|
case 4:
|
|
759
759
|
_d = [{}];
|
|
760
|
-
return [4
|
|
760
|
+
return [4, deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context)];
|
|
761
761
|
case 5:
|
|
762
762
|
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
763
|
-
return [3
|
|
763
|
+
return [3, 11];
|
|
764
764
|
case 6:
|
|
765
765
|
_e = [{}];
|
|
766
|
-
return [4
|
|
766
|
+
return [4, deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
767
767
|
case 7:
|
|
768
768
|
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
769
|
-
return [3
|
|
769
|
+
return [3, 11];
|
|
770
770
|
case 8:
|
|
771
771
|
_f = [{}];
|
|
772
|
-
return [4
|
|
772
|
+
return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
773
773
|
case 9:
|
|
774
774
|
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
775
|
-
return [3
|
|
775
|
+
return [3, 11];
|
|
776
776
|
case 10:
|
|
777
777
|
parsedBody = parsedOutput.body;
|
|
778
778
|
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
@@ -782,7 +782,7 @@ var deserializeAws_json1_1DeleteLogPatternCommandError = function (output, conte
|
|
|
782
782
|
message = response.message || response.Message || errorCode;
|
|
783
783
|
response.message = message;
|
|
784
784
|
delete response.Message;
|
|
785
|
-
return [2
|
|
785
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
786
786
|
}
|
|
787
787
|
});
|
|
788
788
|
}); };
|
|
@@ -792,15 +792,15 @@ export var deserializeAws_json1_1DescribeApplicationCommand = function (output,
|
|
|
792
792
|
switch (_a.label) {
|
|
793
793
|
case 0:
|
|
794
794
|
if (output.statusCode >= 300) {
|
|
795
|
-
return [2
|
|
795
|
+
return [2, deserializeAws_json1_1DescribeApplicationCommandError(output, context)];
|
|
796
796
|
}
|
|
797
|
-
return [4
|
|
797
|
+
return [4, parseBody(output.body, context)];
|
|
798
798
|
case 1:
|
|
799
799
|
data = _a.sent();
|
|
800
800
|
contents = {};
|
|
801
801
|
contents = deserializeAws_json1_1DescribeApplicationResponse(data, context);
|
|
802
802
|
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
803
|
-
return [2
|
|
803
|
+
return [2, Promise.resolve(response)];
|
|
804
804
|
}
|
|
805
805
|
});
|
|
806
806
|
}); };
|
|
@@ -812,39 +812,39 @@ var deserializeAws_json1_1DescribeApplicationCommandError = function (output, co
|
|
|
812
812
|
case 0:
|
|
813
813
|
_a = [__assign({}, output)];
|
|
814
814
|
_f = {};
|
|
815
|
-
return [4
|
|
815
|
+
return [4, parseBody(output.body, context)];
|
|
816
816
|
case 1:
|
|
817
817
|
parsedOutput = __assign.apply(void 0, _a.concat([(_f.body = _g.sent(), _f)]));
|
|
818
818
|
errorCode = "UnknownError";
|
|
819
819
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
820
820
|
_b = errorCode;
|
|
821
821
|
switch (_b) {
|
|
822
|
-
case "InternalServerException": return [3
|
|
823
|
-
case "com.amazonaws.applicationinsights#InternalServerException": return [3
|
|
824
|
-
case "ResourceNotFoundException": return [3
|
|
825
|
-
case "com.amazonaws.applicationinsights#ResourceNotFoundException": return [3
|
|
826
|
-
case "ValidationException": return [3
|
|
827
|
-
case "com.amazonaws.applicationinsights#ValidationException": return [3
|
|
822
|
+
case "InternalServerException": return [3, 2];
|
|
823
|
+
case "com.amazonaws.applicationinsights#InternalServerException": return [3, 2];
|
|
824
|
+
case "ResourceNotFoundException": return [3, 4];
|
|
825
|
+
case "com.amazonaws.applicationinsights#ResourceNotFoundException": return [3, 4];
|
|
826
|
+
case "ValidationException": return [3, 6];
|
|
827
|
+
case "com.amazonaws.applicationinsights#ValidationException": return [3, 6];
|
|
828
828
|
}
|
|
829
|
-
return [3
|
|
829
|
+
return [3, 8];
|
|
830
830
|
case 2:
|
|
831
831
|
_c = [{}];
|
|
832
|
-
return [4
|
|
832
|
+
return [4, deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context)];
|
|
833
833
|
case 3:
|
|
834
834
|
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
835
|
-
return [3
|
|
835
|
+
return [3, 9];
|
|
836
836
|
case 4:
|
|
837
837
|
_d = [{}];
|
|
838
|
-
return [4
|
|
838
|
+
return [4, deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
839
839
|
case 5:
|
|
840
840
|
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
841
|
-
return [3
|
|
841
|
+
return [3, 9];
|
|
842
842
|
case 6:
|
|
843
843
|
_e = [{}];
|
|
844
|
-
return [4
|
|
844
|
+
return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
845
845
|
case 7:
|
|
846
846
|
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
847
|
-
return [3
|
|
847
|
+
return [3, 9];
|
|
848
848
|
case 8:
|
|
849
849
|
parsedBody = parsedOutput.body;
|
|
850
850
|
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
@@ -854,7 +854,7 @@ var deserializeAws_json1_1DescribeApplicationCommandError = function (output, co
|
|
|
854
854
|
message = response.message || response.Message || errorCode;
|
|
855
855
|
response.message = message;
|
|
856
856
|
delete response.Message;
|
|
857
|
-
return [2
|
|
857
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
858
858
|
}
|
|
859
859
|
});
|
|
860
860
|
}); };
|
|
@@ -864,15 +864,15 @@ export var deserializeAws_json1_1DescribeComponentCommand = function (output, co
|
|
|
864
864
|
switch (_a.label) {
|
|
865
865
|
case 0:
|
|
866
866
|
if (output.statusCode >= 300) {
|
|
867
|
-
return [2
|
|
867
|
+
return [2, deserializeAws_json1_1DescribeComponentCommandError(output, context)];
|
|
868
868
|
}
|
|
869
|
-
return [4
|
|
869
|
+
return [4, parseBody(output.body, context)];
|
|
870
870
|
case 1:
|
|
871
871
|
data = _a.sent();
|
|
872
872
|
contents = {};
|
|
873
873
|
contents = deserializeAws_json1_1DescribeComponentResponse(data, context);
|
|
874
874
|
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
875
|
-
return [2
|
|
875
|
+
return [2, Promise.resolve(response)];
|
|
876
876
|
}
|
|
877
877
|
});
|
|
878
878
|
}); };
|
|
@@ -884,39 +884,39 @@ var deserializeAws_json1_1DescribeComponentCommandError = function (output, cont
|
|
|
884
884
|
case 0:
|
|
885
885
|
_a = [__assign({}, output)];
|
|
886
886
|
_f = {};
|
|
887
|
-
return [4
|
|
887
|
+
return [4, parseBody(output.body, context)];
|
|
888
888
|
case 1:
|
|
889
889
|
parsedOutput = __assign.apply(void 0, _a.concat([(_f.body = _g.sent(), _f)]));
|
|
890
890
|
errorCode = "UnknownError";
|
|
891
891
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
892
892
|
_b = errorCode;
|
|
893
893
|
switch (_b) {
|
|
894
|
-
case "InternalServerException": return [3
|
|
895
|
-
case "com.amazonaws.applicationinsights#InternalServerException": return [3
|
|
896
|
-
case "ResourceNotFoundException": return [3
|
|
897
|
-
case "com.amazonaws.applicationinsights#ResourceNotFoundException": return [3
|
|
898
|
-
case "ValidationException": return [3
|
|
899
|
-
case "com.amazonaws.applicationinsights#ValidationException": return [3
|
|
894
|
+
case "InternalServerException": return [3, 2];
|
|
895
|
+
case "com.amazonaws.applicationinsights#InternalServerException": return [3, 2];
|
|
896
|
+
case "ResourceNotFoundException": return [3, 4];
|
|
897
|
+
case "com.amazonaws.applicationinsights#ResourceNotFoundException": return [3, 4];
|
|
898
|
+
case "ValidationException": return [3, 6];
|
|
899
|
+
case "com.amazonaws.applicationinsights#ValidationException": return [3, 6];
|
|
900
900
|
}
|
|
901
|
-
return [3
|
|
901
|
+
return [3, 8];
|
|
902
902
|
case 2:
|
|
903
903
|
_c = [{}];
|
|
904
|
-
return [4
|
|
904
|
+
return [4, deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context)];
|
|
905
905
|
case 3:
|
|
906
906
|
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
907
|
-
return [3
|
|
907
|
+
return [3, 9];
|
|
908
908
|
case 4:
|
|
909
909
|
_d = [{}];
|
|
910
|
-
return [4
|
|
910
|
+
return [4, deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
911
911
|
case 5:
|
|
912
912
|
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
913
|
-
return [3
|
|
913
|
+
return [3, 9];
|
|
914
914
|
case 6:
|
|
915
915
|
_e = [{}];
|
|
916
|
-
return [4
|
|
916
|
+
return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
917
917
|
case 7:
|
|
918
918
|
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
919
|
-
return [3
|
|
919
|
+
return [3, 9];
|
|
920
920
|
case 8:
|
|
921
921
|
parsedBody = parsedOutput.body;
|
|
922
922
|
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
@@ -926,7 +926,7 @@ var deserializeAws_json1_1DescribeComponentCommandError = function (output, cont
|
|
|
926
926
|
message = response.message || response.Message || errorCode;
|
|
927
927
|
response.message = message;
|
|
928
928
|
delete response.Message;
|
|
929
|
-
return [2
|
|
929
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
930
930
|
}
|
|
931
931
|
});
|
|
932
932
|
}); };
|
|
@@ -936,15 +936,15 @@ export var deserializeAws_json1_1DescribeComponentConfigurationCommand = functio
|
|
|
936
936
|
switch (_a.label) {
|
|
937
937
|
case 0:
|
|
938
938
|
if (output.statusCode >= 300) {
|
|
939
|
-
return [2
|
|
939
|
+
return [2, deserializeAws_json1_1DescribeComponentConfigurationCommandError(output, context)];
|
|
940
940
|
}
|
|
941
|
-
return [4
|
|
941
|
+
return [4, parseBody(output.body, context)];
|
|
942
942
|
case 1:
|
|
943
943
|
data = _a.sent();
|
|
944
944
|
contents = {};
|
|
945
945
|
contents = deserializeAws_json1_1DescribeComponentConfigurationResponse(data, context);
|
|
946
946
|
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
947
|
-
return [2
|
|
947
|
+
return [2, Promise.resolve(response)];
|
|
948
948
|
}
|
|
949
949
|
});
|
|
950
950
|
}); };
|
|
@@ -956,39 +956,39 @@ var deserializeAws_json1_1DescribeComponentConfigurationCommandError = function
|
|
|
956
956
|
case 0:
|
|
957
957
|
_a = [__assign({}, output)];
|
|
958
958
|
_f = {};
|
|
959
|
-
return [4
|
|
959
|
+
return [4, parseBody(output.body, context)];
|
|
960
960
|
case 1:
|
|
961
961
|
parsedOutput = __assign.apply(void 0, _a.concat([(_f.body = _g.sent(), _f)]));
|
|
962
962
|
errorCode = "UnknownError";
|
|
963
963
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
964
964
|
_b = errorCode;
|
|
965
965
|
switch (_b) {
|
|
966
|
-
case "InternalServerException": return [3
|
|
967
|
-
case "com.amazonaws.applicationinsights#InternalServerException": return [3
|
|
968
|
-
case "ResourceNotFoundException": return [3
|
|
969
|
-
case "com.amazonaws.applicationinsights#ResourceNotFoundException": return [3
|
|
970
|
-
case "ValidationException": return [3
|
|
971
|
-
case "com.amazonaws.applicationinsights#ValidationException": return [3
|
|
966
|
+
case "InternalServerException": return [3, 2];
|
|
967
|
+
case "com.amazonaws.applicationinsights#InternalServerException": return [3, 2];
|
|
968
|
+
case "ResourceNotFoundException": return [3, 4];
|
|
969
|
+
case "com.amazonaws.applicationinsights#ResourceNotFoundException": return [3, 4];
|
|
970
|
+
case "ValidationException": return [3, 6];
|
|
971
|
+
case "com.amazonaws.applicationinsights#ValidationException": return [3, 6];
|
|
972
972
|
}
|
|
973
|
-
return [3
|
|
973
|
+
return [3, 8];
|
|
974
974
|
case 2:
|
|
975
975
|
_c = [{}];
|
|
976
|
-
return [4
|
|
976
|
+
return [4, deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context)];
|
|
977
977
|
case 3:
|
|
978
978
|
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
979
|
-
return [3
|
|
979
|
+
return [3, 9];
|
|
980
980
|
case 4:
|
|
981
981
|
_d = [{}];
|
|
982
|
-
return [4
|
|
982
|
+
return [4, deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
983
983
|
case 5:
|
|
984
984
|
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
985
|
-
return [3
|
|
985
|
+
return [3, 9];
|
|
986
986
|
case 6:
|
|
987
987
|
_e = [{}];
|
|
988
|
-
return [4
|
|
988
|
+
return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
989
989
|
case 7:
|
|
990
990
|
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
991
|
-
return [3
|
|
991
|
+
return [3, 9];
|
|
992
992
|
case 8:
|
|
993
993
|
parsedBody = parsedOutput.body;
|
|
994
994
|
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
@@ -998,7 +998,7 @@ var deserializeAws_json1_1DescribeComponentConfigurationCommandError = function
|
|
|
998
998
|
message = response.message || response.Message || errorCode;
|
|
999
999
|
response.message = message;
|
|
1000
1000
|
delete response.Message;
|
|
1001
|
-
return [2
|
|
1001
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
1002
1002
|
}
|
|
1003
1003
|
});
|
|
1004
1004
|
}); };
|
|
@@ -1008,15 +1008,15 @@ export var deserializeAws_json1_1DescribeComponentConfigurationRecommendationCom
|
|
|
1008
1008
|
switch (_a.label) {
|
|
1009
1009
|
case 0:
|
|
1010
1010
|
if (output.statusCode >= 300) {
|
|
1011
|
-
return [2
|
|
1011
|
+
return [2, deserializeAws_json1_1DescribeComponentConfigurationRecommendationCommandError(output, context)];
|
|
1012
1012
|
}
|
|
1013
|
-
return [4
|
|
1013
|
+
return [4, parseBody(output.body, context)];
|
|
1014
1014
|
case 1:
|
|
1015
1015
|
data = _a.sent();
|
|
1016
1016
|
contents = {};
|
|
1017
1017
|
contents = deserializeAws_json1_1DescribeComponentConfigurationRecommendationResponse(data, context);
|
|
1018
1018
|
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
1019
|
-
return [2
|
|
1019
|
+
return [2, Promise.resolve(response)];
|
|
1020
1020
|
}
|
|
1021
1021
|
});
|
|
1022
1022
|
}); };
|
|
@@ -1028,39 +1028,39 @@ var deserializeAws_json1_1DescribeComponentConfigurationRecommendationCommandErr
|
|
|
1028
1028
|
case 0:
|
|
1029
1029
|
_a = [__assign({}, output)];
|
|
1030
1030
|
_f = {};
|
|
1031
|
-
return [4
|
|
1031
|
+
return [4, parseBody(output.body, context)];
|
|
1032
1032
|
case 1:
|
|
1033
1033
|
parsedOutput = __assign.apply(void 0, _a.concat([(_f.body = _g.sent(), _f)]));
|
|
1034
1034
|
errorCode = "UnknownError";
|
|
1035
1035
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1036
1036
|
_b = errorCode;
|
|
1037
1037
|
switch (_b) {
|
|
1038
|
-
case "InternalServerException": return [3
|
|
1039
|
-
case "com.amazonaws.applicationinsights#InternalServerException": return [3
|
|
1040
|
-
case "ResourceNotFoundException": return [3
|
|
1041
|
-
case "com.amazonaws.applicationinsights#ResourceNotFoundException": return [3
|
|
1042
|
-
case "ValidationException": return [3
|
|
1043
|
-
case "com.amazonaws.applicationinsights#ValidationException": return [3
|
|
1038
|
+
case "InternalServerException": return [3, 2];
|
|
1039
|
+
case "com.amazonaws.applicationinsights#InternalServerException": return [3, 2];
|
|
1040
|
+
case "ResourceNotFoundException": return [3, 4];
|
|
1041
|
+
case "com.amazonaws.applicationinsights#ResourceNotFoundException": return [3, 4];
|
|
1042
|
+
case "ValidationException": return [3, 6];
|
|
1043
|
+
case "com.amazonaws.applicationinsights#ValidationException": return [3, 6];
|
|
1044
1044
|
}
|
|
1045
|
-
return [3
|
|
1045
|
+
return [3, 8];
|
|
1046
1046
|
case 2:
|
|
1047
1047
|
_c = [{}];
|
|
1048
|
-
return [4
|
|
1048
|
+
return [4, deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context)];
|
|
1049
1049
|
case 3:
|
|
1050
1050
|
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1051
|
-
return [3
|
|
1051
|
+
return [3, 9];
|
|
1052
1052
|
case 4:
|
|
1053
1053
|
_d = [{}];
|
|
1054
|
-
return [4
|
|
1054
|
+
return [4, deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
1055
1055
|
case 5:
|
|
1056
1056
|
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1057
|
-
return [3
|
|
1057
|
+
return [3, 9];
|
|
1058
1058
|
case 6:
|
|
1059
1059
|
_e = [{}];
|
|
1060
|
-
return [4
|
|
1060
|
+
return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
1061
1061
|
case 7:
|
|
1062
1062
|
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1063
|
-
return [3
|
|
1063
|
+
return [3, 9];
|
|
1064
1064
|
case 8:
|
|
1065
1065
|
parsedBody = parsedOutput.body;
|
|
1066
1066
|
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
@@ -1070,7 +1070,7 @@ var deserializeAws_json1_1DescribeComponentConfigurationRecommendationCommandErr
|
|
|
1070
1070
|
message = response.message || response.Message || errorCode;
|
|
1071
1071
|
response.message = message;
|
|
1072
1072
|
delete response.Message;
|
|
1073
|
-
return [2
|
|
1073
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
1074
1074
|
}
|
|
1075
1075
|
});
|
|
1076
1076
|
}); };
|
|
@@ -1080,15 +1080,15 @@ export var deserializeAws_json1_1DescribeLogPatternCommand = function (output, c
|
|
|
1080
1080
|
switch (_a.label) {
|
|
1081
1081
|
case 0:
|
|
1082
1082
|
if (output.statusCode >= 300) {
|
|
1083
|
-
return [2
|
|
1083
|
+
return [2, deserializeAws_json1_1DescribeLogPatternCommandError(output, context)];
|
|
1084
1084
|
}
|
|
1085
|
-
return [4
|
|
1085
|
+
return [4, parseBody(output.body, context)];
|
|
1086
1086
|
case 1:
|
|
1087
1087
|
data = _a.sent();
|
|
1088
1088
|
contents = {};
|
|
1089
1089
|
contents = deserializeAws_json1_1DescribeLogPatternResponse(data, context);
|
|
1090
1090
|
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
1091
|
-
return [2
|
|
1091
|
+
return [2, Promise.resolve(response)];
|
|
1092
1092
|
}
|
|
1093
1093
|
});
|
|
1094
1094
|
}); };
|
|
@@ -1100,39 +1100,39 @@ var deserializeAws_json1_1DescribeLogPatternCommandError = function (output, con
|
|
|
1100
1100
|
case 0:
|
|
1101
1101
|
_a = [__assign({}, output)];
|
|
1102
1102
|
_f = {};
|
|
1103
|
-
return [4
|
|
1103
|
+
return [4, parseBody(output.body, context)];
|
|
1104
1104
|
case 1:
|
|
1105
1105
|
parsedOutput = __assign.apply(void 0, _a.concat([(_f.body = _g.sent(), _f)]));
|
|
1106
1106
|
errorCode = "UnknownError";
|
|
1107
1107
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1108
1108
|
_b = errorCode;
|
|
1109
1109
|
switch (_b) {
|
|
1110
|
-
case "InternalServerException": return [3
|
|
1111
|
-
case "com.amazonaws.applicationinsights#InternalServerException": return [3
|
|
1112
|
-
case "ResourceNotFoundException": return [3
|
|
1113
|
-
case "com.amazonaws.applicationinsights#ResourceNotFoundException": return [3
|
|
1114
|
-
case "ValidationException": return [3
|
|
1115
|
-
case "com.amazonaws.applicationinsights#ValidationException": return [3
|
|
1110
|
+
case "InternalServerException": return [3, 2];
|
|
1111
|
+
case "com.amazonaws.applicationinsights#InternalServerException": return [3, 2];
|
|
1112
|
+
case "ResourceNotFoundException": return [3, 4];
|
|
1113
|
+
case "com.amazonaws.applicationinsights#ResourceNotFoundException": return [3, 4];
|
|
1114
|
+
case "ValidationException": return [3, 6];
|
|
1115
|
+
case "com.amazonaws.applicationinsights#ValidationException": return [3, 6];
|
|
1116
1116
|
}
|
|
1117
|
-
return [3
|
|
1117
|
+
return [3, 8];
|
|
1118
1118
|
case 2:
|
|
1119
1119
|
_c = [{}];
|
|
1120
|
-
return [4
|
|
1120
|
+
return [4, deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context)];
|
|
1121
1121
|
case 3:
|
|
1122
1122
|
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1123
|
-
return [3
|
|
1123
|
+
return [3, 9];
|
|
1124
1124
|
case 4:
|
|
1125
1125
|
_d = [{}];
|
|
1126
|
-
return [4
|
|
1126
|
+
return [4, deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
1127
1127
|
case 5:
|
|
1128
1128
|
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1129
|
-
return [3
|
|
1129
|
+
return [3, 9];
|
|
1130
1130
|
case 6:
|
|
1131
1131
|
_e = [{}];
|
|
1132
|
-
return [4
|
|
1132
|
+
return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
1133
1133
|
case 7:
|
|
1134
1134
|
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1135
|
-
return [3
|
|
1135
|
+
return [3, 9];
|
|
1136
1136
|
case 8:
|
|
1137
1137
|
parsedBody = parsedOutput.body;
|
|
1138
1138
|
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
@@ -1142,7 +1142,7 @@ var deserializeAws_json1_1DescribeLogPatternCommandError = function (output, con
|
|
|
1142
1142
|
message = response.message || response.Message || errorCode;
|
|
1143
1143
|
response.message = message;
|
|
1144
1144
|
delete response.Message;
|
|
1145
|
-
return [2
|
|
1145
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
1146
1146
|
}
|
|
1147
1147
|
});
|
|
1148
1148
|
}); };
|
|
@@ -1152,15 +1152,15 @@ export var deserializeAws_json1_1DescribeObservationCommand = function (output,
|
|
|
1152
1152
|
switch (_a.label) {
|
|
1153
1153
|
case 0:
|
|
1154
1154
|
if (output.statusCode >= 300) {
|
|
1155
|
-
return [2
|
|
1155
|
+
return [2, deserializeAws_json1_1DescribeObservationCommandError(output, context)];
|
|
1156
1156
|
}
|
|
1157
|
-
return [4
|
|
1157
|
+
return [4, parseBody(output.body, context)];
|
|
1158
1158
|
case 1:
|
|
1159
1159
|
data = _a.sent();
|
|
1160
1160
|
contents = {};
|
|
1161
1161
|
contents = deserializeAws_json1_1DescribeObservationResponse(data, context);
|
|
1162
1162
|
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
1163
|
-
return [2
|
|
1163
|
+
return [2, Promise.resolve(response)];
|
|
1164
1164
|
}
|
|
1165
1165
|
});
|
|
1166
1166
|
}); };
|
|
@@ -1172,39 +1172,39 @@ var deserializeAws_json1_1DescribeObservationCommandError = function (output, co
|
|
|
1172
1172
|
case 0:
|
|
1173
1173
|
_a = [__assign({}, output)];
|
|
1174
1174
|
_f = {};
|
|
1175
|
-
return [4
|
|
1175
|
+
return [4, parseBody(output.body, context)];
|
|
1176
1176
|
case 1:
|
|
1177
1177
|
parsedOutput = __assign.apply(void 0, _a.concat([(_f.body = _g.sent(), _f)]));
|
|
1178
1178
|
errorCode = "UnknownError";
|
|
1179
1179
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1180
1180
|
_b = errorCode;
|
|
1181
1181
|
switch (_b) {
|
|
1182
|
-
case "InternalServerException": return [3
|
|
1183
|
-
case "com.amazonaws.applicationinsights#InternalServerException": return [3
|
|
1184
|
-
case "ResourceNotFoundException": return [3
|
|
1185
|
-
case "com.amazonaws.applicationinsights#ResourceNotFoundException": return [3
|
|
1186
|
-
case "ValidationException": return [3
|
|
1187
|
-
case "com.amazonaws.applicationinsights#ValidationException": return [3
|
|
1182
|
+
case "InternalServerException": return [3, 2];
|
|
1183
|
+
case "com.amazonaws.applicationinsights#InternalServerException": return [3, 2];
|
|
1184
|
+
case "ResourceNotFoundException": return [3, 4];
|
|
1185
|
+
case "com.amazonaws.applicationinsights#ResourceNotFoundException": return [3, 4];
|
|
1186
|
+
case "ValidationException": return [3, 6];
|
|
1187
|
+
case "com.amazonaws.applicationinsights#ValidationException": return [3, 6];
|
|
1188
1188
|
}
|
|
1189
|
-
return [3
|
|
1189
|
+
return [3, 8];
|
|
1190
1190
|
case 2:
|
|
1191
1191
|
_c = [{}];
|
|
1192
|
-
return [4
|
|
1192
|
+
return [4, deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context)];
|
|
1193
1193
|
case 3:
|
|
1194
1194
|
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1195
|
-
return [3
|
|
1195
|
+
return [3, 9];
|
|
1196
1196
|
case 4:
|
|
1197
1197
|
_d = [{}];
|
|
1198
|
-
return [4
|
|
1198
|
+
return [4, deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
1199
1199
|
case 5:
|
|
1200
1200
|
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1201
|
-
return [3
|
|
1201
|
+
return [3, 9];
|
|
1202
1202
|
case 6:
|
|
1203
1203
|
_e = [{}];
|
|
1204
|
-
return [4
|
|
1204
|
+
return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
1205
1205
|
case 7:
|
|
1206
1206
|
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1207
|
-
return [3
|
|
1207
|
+
return [3, 9];
|
|
1208
1208
|
case 8:
|
|
1209
1209
|
parsedBody = parsedOutput.body;
|
|
1210
1210
|
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
@@ -1214,7 +1214,7 @@ var deserializeAws_json1_1DescribeObservationCommandError = function (output, co
|
|
|
1214
1214
|
message = response.message || response.Message || errorCode;
|
|
1215
1215
|
response.message = message;
|
|
1216
1216
|
delete response.Message;
|
|
1217
|
-
return [2
|
|
1217
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
1218
1218
|
}
|
|
1219
1219
|
});
|
|
1220
1220
|
}); };
|
|
@@ -1224,15 +1224,15 @@ export var deserializeAws_json1_1DescribeProblemCommand = function (output, cont
|
|
|
1224
1224
|
switch (_a.label) {
|
|
1225
1225
|
case 0:
|
|
1226
1226
|
if (output.statusCode >= 300) {
|
|
1227
|
-
return [2
|
|
1227
|
+
return [2, deserializeAws_json1_1DescribeProblemCommandError(output, context)];
|
|
1228
1228
|
}
|
|
1229
|
-
return [4
|
|
1229
|
+
return [4, parseBody(output.body, context)];
|
|
1230
1230
|
case 1:
|
|
1231
1231
|
data = _a.sent();
|
|
1232
1232
|
contents = {};
|
|
1233
1233
|
contents = deserializeAws_json1_1DescribeProblemResponse(data, context);
|
|
1234
1234
|
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
1235
|
-
return [2
|
|
1235
|
+
return [2, Promise.resolve(response)];
|
|
1236
1236
|
}
|
|
1237
1237
|
});
|
|
1238
1238
|
}); };
|
|
@@ -1244,39 +1244,39 @@ var deserializeAws_json1_1DescribeProblemCommandError = function (output, contex
|
|
|
1244
1244
|
case 0:
|
|
1245
1245
|
_a = [__assign({}, output)];
|
|
1246
1246
|
_f = {};
|
|
1247
|
-
return [4
|
|
1247
|
+
return [4, parseBody(output.body, context)];
|
|
1248
1248
|
case 1:
|
|
1249
1249
|
parsedOutput = __assign.apply(void 0, _a.concat([(_f.body = _g.sent(), _f)]));
|
|
1250
1250
|
errorCode = "UnknownError";
|
|
1251
1251
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1252
1252
|
_b = errorCode;
|
|
1253
1253
|
switch (_b) {
|
|
1254
|
-
case "InternalServerException": return [3
|
|
1255
|
-
case "com.amazonaws.applicationinsights#InternalServerException": return [3
|
|
1256
|
-
case "ResourceNotFoundException": return [3
|
|
1257
|
-
case "com.amazonaws.applicationinsights#ResourceNotFoundException": return [3
|
|
1258
|
-
case "ValidationException": return [3
|
|
1259
|
-
case "com.amazonaws.applicationinsights#ValidationException": return [3
|
|
1254
|
+
case "InternalServerException": return [3, 2];
|
|
1255
|
+
case "com.amazonaws.applicationinsights#InternalServerException": return [3, 2];
|
|
1256
|
+
case "ResourceNotFoundException": return [3, 4];
|
|
1257
|
+
case "com.amazonaws.applicationinsights#ResourceNotFoundException": return [3, 4];
|
|
1258
|
+
case "ValidationException": return [3, 6];
|
|
1259
|
+
case "com.amazonaws.applicationinsights#ValidationException": return [3, 6];
|
|
1260
1260
|
}
|
|
1261
|
-
return [3
|
|
1261
|
+
return [3, 8];
|
|
1262
1262
|
case 2:
|
|
1263
1263
|
_c = [{}];
|
|
1264
|
-
return [4
|
|
1264
|
+
return [4, deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context)];
|
|
1265
1265
|
case 3:
|
|
1266
1266
|
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1267
|
-
return [3
|
|
1267
|
+
return [3, 9];
|
|
1268
1268
|
case 4:
|
|
1269
1269
|
_d = [{}];
|
|
1270
|
-
return [4
|
|
1270
|
+
return [4, deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
1271
1271
|
case 5:
|
|
1272
1272
|
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1273
|
-
return [3
|
|
1273
|
+
return [3, 9];
|
|
1274
1274
|
case 6:
|
|
1275
1275
|
_e = [{}];
|
|
1276
|
-
return [4
|
|
1276
|
+
return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
1277
1277
|
case 7:
|
|
1278
1278
|
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1279
|
-
return [3
|
|
1279
|
+
return [3, 9];
|
|
1280
1280
|
case 8:
|
|
1281
1281
|
parsedBody = parsedOutput.body;
|
|
1282
1282
|
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
@@ -1286,7 +1286,7 @@ var deserializeAws_json1_1DescribeProblemCommandError = function (output, contex
|
|
|
1286
1286
|
message = response.message || response.Message || errorCode;
|
|
1287
1287
|
response.message = message;
|
|
1288
1288
|
delete response.Message;
|
|
1289
|
-
return [2
|
|
1289
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
1290
1290
|
}
|
|
1291
1291
|
});
|
|
1292
1292
|
}); };
|
|
@@ -1296,15 +1296,15 @@ export var deserializeAws_json1_1DescribeProblemObservationsCommand = function (
|
|
|
1296
1296
|
switch (_a.label) {
|
|
1297
1297
|
case 0:
|
|
1298
1298
|
if (output.statusCode >= 300) {
|
|
1299
|
-
return [2
|
|
1299
|
+
return [2, deserializeAws_json1_1DescribeProblemObservationsCommandError(output, context)];
|
|
1300
1300
|
}
|
|
1301
|
-
return [4
|
|
1301
|
+
return [4, parseBody(output.body, context)];
|
|
1302
1302
|
case 1:
|
|
1303
1303
|
data = _a.sent();
|
|
1304
1304
|
contents = {};
|
|
1305
1305
|
contents = deserializeAws_json1_1DescribeProblemObservationsResponse(data, context);
|
|
1306
1306
|
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
1307
|
-
return [2
|
|
1307
|
+
return [2, Promise.resolve(response)];
|
|
1308
1308
|
}
|
|
1309
1309
|
});
|
|
1310
1310
|
}); };
|
|
@@ -1316,39 +1316,39 @@ var deserializeAws_json1_1DescribeProblemObservationsCommandError = function (ou
|
|
|
1316
1316
|
case 0:
|
|
1317
1317
|
_a = [__assign({}, output)];
|
|
1318
1318
|
_f = {};
|
|
1319
|
-
return [4
|
|
1319
|
+
return [4, parseBody(output.body, context)];
|
|
1320
1320
|
case 1:
|
|
1321
1321
|
parsedOutput = __assign.apply(void 0, _a.concat([(_f.body = _g.sent(), _f)]));
|
|
1322
1322
|
errorCode = "UnknownError";
|
|
1323
1323
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1324
1324
|
_b = errorCode;
|
|
1325
1325
|
switch (_b) {
|
|
1326
|
-
case "InternalServerException": return [3
|
|
1327
|
-
case "com.amazonaws.applicationinsights#InternalServerException": return [3
|
|
1328
|
-
case "ResourceNotFoundException": return [3
|
|
1329
|
-
case "com.amazonaws.applicationinsights#ResourceNotFoundException": return [3
|
|
1330
|
-
case "ValidationException": return [3
|
|
1331
|
-
case "com.amazonaws.applicationinsights#ValidationException": return [3
|
|
1326
|
+
case "InternalServerException": return [3, 2];
|
|
1327
|
+
case "com.amazonaws.applicationinsights#InternalServerException": return [3, 2];
|
|
1328
|
+
case "ResourceNotFoundException": return [3, 4];
|
|
1329
|
+
case "com.amazonaws.applicationinsights#ResourceNotFoundException": return [3, 4];
|
|
1330
|
+
case "ValidationException": return [3, 6];
|
|
1331
|
+
case "com.amazonaws.applicationinsights#ValidationException": return [3, 6];
|
|
1332
1332
|
}
|
|
1333
|
-
return [3
|
|
1333
|
+
return [3, 8];
|
|
1334
1334
|
case 2:
|
|
1335
1335
|
_c = [{}];
|
|
1336
|
-
return [4
|
|
1336
|
+
return [4, deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context)];
|
|
1337
1337
|
case 3:
|
|
1338
1338
|
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1339
|
-
return [3
|
|
1339
|
+
return [3, 9];
|
|
1340
1340
|
case 4:
|
|
1341
1341
|
_d = [{}];
|
|
1342
|
-
return [4
|
|
1342
|
+
return [4, deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
1343
1343
|
case 5:
|
|
1344
1344
|
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1345
|
-
return [3
|
|
1345
|
+
return [3, 9];
|
|
1346
1346
|
case 6:
|
|
1347
1347
|
_e = [{}];
|
|
1348
|
-
return [4
|
|
1348
|
+
return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
1349
1349
|
case 7:
|
|
1350
1350
|
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1351
|
-
return [3
|
|
1351
|
+
return [3, 9];
|
|
1352
1352
|
case 8:
|
|
1353
1353
|
parsedBody = parsedOutput.body;
|
|
1354
1354
|
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
@@ -1358,7 +1358,7 @@ var deserializeAws_json1_1DescribeProblemObservationsCommandError = function (ou
|
|
|
1358
1358
|
message = response.message || response.Message || errorCode;
|
|
1359
1359
|
response.message = message;
|
|
1360
1360
|
delete response.Message;
|
|
1361
|
-
return [2
|
|
1361
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
1362
1362
|
}
|
|
1363
1363
|
});
|
|
1364
1364
|
}); };
|
|
@@ -1368,15 +1368,15 @@ export var deserializeAws_json1_1ListApplicationsCommand = function (output, con
|
|
|
1368
1368
|
switch (_a.label) {
|
|
1369
1369
|
case 0:
|
|
1370
1370
|
if (output.statusCode >= 300) {
|
|
1371
|
-
return [2
|
|
1371
|
+
return [2, deserializeAws_json1_1ListApplicationsCommandError(output, context)];
|
|
1372
1372
|
}
|
|
1373
|
-
return [4
|
|
1373
|
+
return [4, parseBody(output.body, context)];
|
|
1374
1374
|
case 1:
|
|
1375
1375
|
data = _a.sent();
|
|
1376
1376
|
contents = {};
|
|
1377
1377
|
contents = deserializeAws_json1_1ListApplicationsResponse(data, context);
|
|
1378
1378
|
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
1379
|
-
return [2
|
|
1379
|
+
return [2, Promise.resolve(response)];
|
|
1380
1380
|
}
|
|
1381
1381
|
});
|
|
1382
1382
|
}); };
|
|
@@ -1388,31 +1388,31 @@ var deserializeAws_json1_1ListApplicationsCommandError = function (output, conte
|
|
|
1388
1388
|
case 0:
|
|
1389
1389
|
_a = [__assign({}, output)];
|
|
1390
1390
|
_e = {};
|
|
1391
|
-
return [4
|
|
1391
|
+
return [4, parseBody(output.body, context)];
|
|
1392
1392
|
case 1:
|
|
1393
1393
|
parsedOutput = __assign.apply(void 0, _a.concat([(_e.body = _f.sent(), _e)]));
|
|
1394
1394
|
errorCode = "UnknownError";
|
|
1395
1395
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1396
1396
|
_b = errorCode;
|
|
1397
1397
|
switch (_b) {
|
|
1398
|
-
case "InternalServerException": return [3
|
|
1399
|
-
case "com.amazonaws.applicationinsights#InternalServerException": return [3
|
|
1400
|
-
case "ValidationException": return [3
|
|
1401
|
-
case "com.amazonaws.applicationinsights#ValidationException": return [3
|
|
1398
|
+
case "InternalServerException": return [3, 2];
|
|
1399
|
+
case "com.amazonaws.applicationinsights#InternalServerException": return [3, 2];
|
|
1400
|
+
case "ValidationException": return [3, 4];
|
|
1401
|
+
case "com.amazonaws.applicationinsights#ValidationException": return [3, 4];
|
|
1402
1402
|
}
|
|
1403
|
-
return [3
|
|
1403
|
+
return [3, 6];
|
|
1404
1404
|
case 2:
|
|
1405
1405
|
_c = [{}];
|
|
1406
|
-
return [4
|
|
1406
|
+
return [4, deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context)];
|
|
1407
1407
|
case 3:
|
|
1408
1408
|
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_f.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1409
|
-
return [3
|
|
1409
|
+
return [3, 7];
|
|
1410
1410
|
case 4:
|
|
1411
1411
|
_d = [{}];
|
|
1412
|
-
return [4
|
|
1412
|
+
return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
1413
1413
|
case 5:
|
|
1414
1414
|
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_f.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1415
|
-
return [3
|
|
1415
|
+
return [3, 7];
|
|
1416
1416
|
case 6:
|
|
1417
1417
|
parsedBody = parsedOutput.body;
|
|
1418
1418
|
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
@@ -1422,7 +1422,7 @@ var deserializeAws_json1_1ListApplicationsCommandError = function (output, conte
|
|
|
1422
1422
|
message = response.message || response.Message || errorCode;
|
|
1423
1423
|
response.message = message;
|
|
1424
1424
|
delete response.Message;
|
|
1425
|
-
return [2
|
|
1425
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
1426
1426
|
}
|
|
1427
1427
|
});
|
|
1428
1428
|
}); };
|
|
@@ -1432,15 +1432,15 @@ export var deserializeAws_json1_1ListComponentsCommand = function (output, conte
|
|
|
1432
1432
|
switch (_a.label) {
|
|
1433
1433
|
case 0:
|
|
1434
1434
|
if (output.statusCode >= 300) {
|
|
1435
|
-
return [2
|
|
1435
|
+
return [2, deserializeAws_json1_1ListComponentsCommandError(output, context)];
|
|
1436
1436
|
}
|
|
1437
|
-
return [4
|
|
1437
|
+
return [4, parseBody(output.body, context)];
|
|
1438
1438
|
case 1:
|
|
1439
1439
|
data = _a.sent();
|
|
1440
1440
|
contents = {};
|
|
1441
1441
|
contents = deserializeAws_json1_1ListComponentsResponse(data, context);
|
|
1442
1442
|
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
1443
|
-
return [2
|
|
1443
|
+
return [2, Promise.resolve(response)];
|
|
1444
1444
|
}
|
|
1445
1445
|
});
|
|
1446
1446
|
}); };
|
|
@@ -1452,39 +1452,39 @@ var deserializeAws_json1_1ListComponentsCommandError = function (output, context
|
|
|
1452
1452
|
case 0:
|
|
1453
1453
|
_a = [__assign({}, output)];
|
|
1454
1454
|
_f = {};
|
|
1455
|
-
return [4
|
|
1455
|
+
return [4, parseBody(output.body, context)];
|
|
1456
1456
|
case 1:
|
|
1457
1457
|
parsedOutput = __assign.apply(void 0, _a.concat([(_f.body = _g.sent(), _f)]));
|
|
1458
1458
|
errorCode = "UnknownError";
|
|
1459
1459
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1460
1460
|
_b = errorCode;
|
|
1461
1461
|
switch (_b) {
|
|
1462
|
-
case "InternalServerException": return [3
|
|
1463
|
-
case "com.amazonaws.applicationinsights#InternalServerException": return [3
|
|
1464
|
-
case "ResourceNotFoundException": return [3
|
|
1465
|
-
case "com.amazonaws.applicationinsights#ResourceNotFoundException": return [3
|
|
1466
|
-
case "ValidationException": return [3
|
|
1467
|
-
case "com.amazonaws.applicationinsights#ValidationException": return [3
|
|
1462
|
+
case "InternalServerException": return [3, 2];
|
|
1463
|
+
case "com.amazonaws.applicationinsights#InternalServerException": return [3, 2];
|
|
1464
|
+
case "ResourceNotFoundException": return [3, 4];
|
|
1465
|
+
case "com.amazonaws.applicationinsights#ResourceNotFoundException": return [3, 4];
|
|
1466
|
+
case "ValidationException": return [3, 6];
|
|
1467
|
+
case "com.amazonaws.applicationinsights#ValidationException": return [3, 6];
|
|
1468
1468
|
}
|
|
1469
|
-
return [3
|
|
1469
|
+
return [3, 8];
|
|
1470
1470
|
case 2:
|
|
1471
1471
|
_c = [{}];
|
|
1472
|
-
return [4
|
|
1472
|
+
return [4, deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context)];
|
|
1473
1473
|
case 3:
|
|
1474
1474
|
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1475
|
-
return [3
|
|
1475
|
+
return [3, 9];
|
|
1476
1476
|
case 4:
|
|
1477
1477
|
_d = [{}];
|
|
1478
|
-
return [4
|
|
1478
|
+
return [4, deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
1479
1479
|
case 5:
|
|
1480
1480
|
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1481
|
-
return [3
|
|
1481
|
+
return [3, 9];
|
|
1482
1482
|
case 6:
|
|
1483
1483
|
_e = [{}];
|
|
1484
|
-
return [4
|
|
1484
|
+
return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
1485
1485
|
case 7:
|
|
1486
1486
|
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1487
|
-
return [3
|
|
1487
|
+
return [3, 9];
|
|
1488
1488
|
case 8:
|
|
1489
1489
|
parsedBody = parsedOutput.body;
|
|
1490
1490
|
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
@@ -1494,7 +1494,7 @@ var deserializeAws_json1_1ListComponentsCommandError = function (output, context
|
|
|
1494
1494
|
message = response.message || response.Message || errorCode;
|
|
1495
1495
|
response.message = message;
|
|
1496
1496
|
delete response.Message;
|
|
1497
|
-
return [2
|
|
1497
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
1498
1498
|
}
|
|
1499
1499
|
});
|
|
1500
1500
|
}); };
|
|
@@ -1504,15 +1504,15 @@ export var deserializeAws_json1_1ListConfigurationHistoryCommand = function (out
|
|
|
1504
1504
|
switch (_a.label) {
|
|
1505
1505
|
case 0:
|
|
1506
1506
|
if (output.statusCode >= 300) {
|
|
1507
|
-
return [2
|
|
1507
|
+
return [2, deserializeAws_json1_1ListConfigurationHistoryCommandError(output, context)];
|
|
1508
1508
|
}
|
|
1509
|
-
return [4
|
|
1509
|
+
return [4, parseBody(output.body, context)];
|
|
1510
1510
|
case 1:
|
|
1511
1511
|
data = _a.sent();
|
|
1512
1512
|
contents = {};
|
|
1513
1513
|
contents = deserializeAws_json1_1ListConfigurationHistoryResponse(data, context);
|
|
1514
1514
|
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
1515
|
-
return [2
|
|
1515
|
+
return [2, Promise.resolve(response)];
|
|
1516
1516
|
}
|
|
1517
1517
|
});
|
|
1518
1518
|
}); };
|
|
@@ -1524,39 +1524,39 @@ var deserializeAws_json1_1ListConfigurationHistoryCommandError = function (outpu
|
|
|
1524
1524
|
case 0:
|
|
1525
1525
|
_a = [__assign({}, output)];
|
|
1526
1526
|
_f = {};
|
|
1527
|
-
return [4
|
|
1527
|
+
return [4, parseBody(output.body, context)];
|
|
1528
1528
|
case 1:
|
|
1529
1529
|
parsedOutput = __assign.apply(void 0, _a.concat([(_f.body = _g.sent(), _f)]));
|
|
1530
1530
|
errorCode = "UnknownError";
|
|
1531
1531
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1532
1532
|
_b = errorCode;
|
|
1533
1533
|
switch (_b) {
|
|
1534
|
-
case "InternalServerException": return [3
|
|
1535
|
-
case "com.amazonaws.applicationinsights#InternalServerException": return [3
|
|
1536
|
-
case "ResourceNotFoundException": return [3
|
|
1537
|
-
case "com.amazonaws.applicationinsights#ResourceNotFoundException": return [3
|
|
1538
|
-
case "ValidationException": return [3
|
|
1539
|
-
case "com.amazonaws.applicationinsights#ValidationException": return [3
|
|
1534
|
+
case "InternalServerException": return [3, 2];
|
|
1535
|
+
case "com.amazonaws.applicationinsights#InternalServerException": return [3, 2];
|
|
1536
|
+
case "ResourceNotFoundException": return [3, 4];
|
|
1537
|
+
case "com.amazonaws.applicationinsights#ResourceNotFoundException": return [3, 4];
|
|
1538
|
+
case "ValidationException": return [3, 6];
|
|
1539
|
+
case "com.amazonaws.applicationinsights#ValidationException": return [3, 6];
|
|
1540
1540
|
}
|
|
1541
|
-
return [3
|
|
1541
|
+
return [3, 8];
|
|
1542
1542
|
case 2:
|
|
1543
1543
|
_c = [{}];
|
|
1544
|
-
return [4
|
|
1544
|
+
return [4, deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context)];
|
|
1545
1545
|
case 3:
|
|
1546
1546
|
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1547
|
-
return [3
|
|
1547
|
+
return [3, 9];
|
|
1548
1548
|
case 4:
|
|
1549
1549
|
_d = [{}];
|
|
1550
|
-
return [4
|
|
1550
|
+
return [4, deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
1551
1551
|
case 5:
|
|
1552
1552
|
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1553
|
-
return [3
|
|
1553
|
+
return [3, 9];
|
|
1554
1554
|
case 6:
|
|
1555
1555
|
_e = [{}];
|
|
1556
|
-
return [4
|
|
1556
|
+
return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
1557
1557
|
case 7:
|
|
1558
1558
|
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1559
|
-
return [3
|
|
1559
|
+
return [3, 9];
|
|
1560
1560
|
case 8:
|
|
1561
1561
|
parsedBody = parsedOutput.body;
|
|
1562
1562
|
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
@@ -1566,7 +1566,7 @@ var deserializeAws_json1_1ListConfigurationHistoryCommandError = function (outpu
|
|
|
1566
1566
|
message = response.message || response.Message || errorCode;
|
|
1567
1567
|
response.message = message;
|
|
1568
1568
|
delete response.Message;
|
|
1569
|
-
return [2
|
|
1569
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
1570
1570
|
}
|
|
1571
1571
|
});
|
|
1572
1572
|
}); };
|
|
@@ -1576,15 +1576,15 @@ export var deserializeAws_json1_1ListLogPatternsCommand = function (output, cont
|
|
|
1576
1576
|
switch (_a.label) {
|
|
1577
1577
|
case 0:
|
|
1578
1578
|
if (output.statusCode >= 300) {
|
|
1579
|
-
return [2
|
|
1579
|
+
return [2, deserializeAws_json1_1ListLogPatternsCommandError(output, context)];
|
|
1580
1580
|
}
|
|
1581
|
-
return [4
|
|
1581
|
+
return [4, parseBody(output.body, context)];
|
|
1582
1582
|
case 1:
|
|
1583
1583
|
data = _a.sent();
|
|
1584
1584
|
contents = {};
|
|
1585
1585
|
contents = deserializeAws_json1_1ListLogPatternsResponse(data, context);
|
|
1586
1586
|
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
1587
|
-
return [2
|
|
1587
|
+
return [2, Promise.resolve(response)];
|
|
1588
1588
|
}
|
|
1589
1589
|
});
|
|
1590
1590
|
}); };
|
|
@@ -1596,39 +1596,39 @@ var deserializeAws_json1_1ListLogPatternsCommandError = function (output, contex
|
|
|
1596
1596
|
case 0:
|
|
1597
1597
|
_a = [__assign({}, output)];
|
|
1598
1598
|
_f = {};
|
|
1599
|
-
return [4
|
|
1599
|
+
return [4, parseBody(output.body, context)];
|
|
1600
1600
|
case 1:
|
|
1601
1601
|
parsedOutput = __assign.apply(void 0, _a.concat([(_f.body = _g.sent(), _f)]));
|
|
1602
1602
|
errorCode = "UnknownError";
|
|
1603
1603
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1604
1604
|
_b = errorCode;
|
|
1605
1605
|
switch (_b) {
|
|
1606
|
-
case "InternalServerException": return [3
|
|
1607
|
-
case "com.amazonaws.applicationinsights#InternalServerException": return [3
|
|
1608
|
-
case "ResourceNotFoundException": return [3
|
|
1609
|
-
case "com.amazonaws.applicationinsights#ResourceNotFoundException": return [3
|
|
1610
|
-
case "ValidationException": return [3
|
|
1611
|
-
case "com.amazonaws.applicationinsights#ValidationException": return [3
|
|
1606
|
+
case "InternalServerException": return [3, 2];
|
|
1607
|
+
case "com.amazonaws.applicationinsights#InternalServerException": return [3, 2];
|
|
1608
|
+
case "ResourceNotFoundException": return [3, 4];
|
|
1609
|
+
case "com.amazonaws.applicationinsights#ResourceNotFoundException": return [3, 4];
|
|
1610
|
+
case "ValidationException": return [3, 6];
|
|
1611
|
+
case "com.amazonaws.applicationinsights#ValidationException": return [3, 6];
|
|
1612
1612
|
}
|
|
1613
|
-
return [3
|
|
1613
|
+
return [3, 8];
|
|
1614
1614
|
case 2:
|
|
1615
1615
|
_c = [{}];
|
|
1616
|
-
return [4
|
|
1616
|
+
return [4, deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context)];
|
|
1617
1617
|
case 3:
|
|
1618
1618
|
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1619
|
-
return [3
|
|
1619
|
+
return [3, 9];
|
|
1620
1620
|
case 4:
|
|
1621
1621
|
_d = [{}];
|
|
1622
|
-
return [4
|
|
1622
|
+
return [4, deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
1623
1623
|
case 5:
|
|
1624
1624
|
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1625
|
-
return [3
|
|
1625
|
+
return [3, 9];
|
|
1626
1626
|
case 6:
|
|
1627
1627
|
_e = [{}];
|
|
1628
|
-
return [4
|
|
1628
|
+
return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
1629
1629
|
case 7:
|
|
1630
1630
|
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1631
|
-
return [3
|
|
1631
|
+
return [3, 9];
|
|
1632
1632
|
case 8:
|
|
1633
1633
|
parsedBody = parsedOutput.body;
|
|
1634
1634
|
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
@@ -1638,7 +1638,7 @@ var deserializeAws_json1_1ListLogPatternsCommandError = function (output, contex
|
|
|
1638
1638
|
message = response.message || response.Message || errorCode;
|
|
1639
1639
|
response.message = message;
|
|
1640
1640
|
delete response.Message;
|
|
1641
|
-
return [2
|
|
1641
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
1642
1642
|
}
|
|
1643
1643
|
});
|
|
1644
1644
|
}); };
|
|
@@ -1648,15 +1648,15 @@ export var deserializeAws_json1_1ListLogPatternSetsCommand = function (output, c
|
|
|
1648
1648
|
switch (_a.label) {
|
|
1649
1649
|
case 0:
|
|
1650
1650
|
if (output.statusCode >= 300) {
|
|
1651
|
-
return [2
|
|
1651
|
+
return [2, deserializeAws_json1_1ListLogPatternSetsCommandError(output, context)];
|
|
1652
1652
|
}
|
|
1653
|
-
return [4
|
|
1653
|
+
return [4, parseBody(output.body, context)];
|
|
1654
1654
|
case 1:
|
|
1655
1655
|
data = _a.sent();
|
|
1656
1656
|
contents = {};
|
|
1657
1657
|
contents = deserializeAws_json1_1ListLogPatternSetsResponse(data, context);
|
|
1658
1658
|
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
1659
|
-
return [2
|
|
1659
|
+
return [2, Promise.resolve(response)];
|
|
1660
1660
|
}
|
|
1661
1661
|
});
|
|
1662
1662
|
}); };
|
|
@@ -1668,39 +1668,39 @@ var deserializeAws_json1_1ListLogPatternSetsCommandError = function (output, con
|
|
|
1668
1668
|
case 0:
|
|
1669
1669
|
_a = [__assign({}, output)];
|
|
1670
1670
|
_f = {};
|
|
1671
|
-
return [4
|
|
1671
|
+
return [4, parseBody(output.body, context)];
|
|
1672
1672
|
case 1:
|
|
1673
1673
|
parsedOutput = __assign.apply(void 0, _a.concat([(_f.body = _g.sent(), _f)]));
|
|
1674
1674
|
errorCode = "UnknownError";
|
|
1675
1675
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1676
1676
|
_b = errorCode;
|
|
1677
1677
|
switch (_b) {
|
|
1678
|
-
case "InternalServerException": return [3
|
|
1679
|
-
case "com.amazonaws.applicationinsights#InternalServerException": return [3
|
|
1680
|
-
case "ResourceNotFoundException": return [3
|
|
1681
|
-
case "com.amazonaws.applicationinsights#ResourceNotFoundException": return [3
|
|
1682
|
-
case "ValidationException": return [3
|
|
1683
|
-
case "com.amazonaws.applicationinsights#ValidationException": return [3
|
|
1678
|
+
case "InternalServerException": return [3, 2];
|
|
1679
|
+
case "com.amazonaws.applicationinsights#InternalServerException": return [3, 2];
|
|
1680
|
+
case "ResourceNotFoundException": return [3, 4];
|
|
1681
|
+
case "com.amazonaws.applicationinsights#ResourceNotFoundException": return [3, 4];
|
|
1682
|
+
case "ValidationException": return [3, 6];
|
|
1683
|
+
case "com.amazonaws.applicationinsights#ValidationException": return [3, 6];
|
|
1684
1684
|
}
|
|
1685
|
-
return [3
|
|
1685
|
+
return [3, 8];
|
|
1686
1686
|
case 2:
|
|
1687
1687
|
_c = [{}];
|
|
1688
|
-
return [4
|
|
1688
|
+
return [4, deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context)];
|
|
1689
1689
|
case 3:
|
|
1690
1690
|
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1691
|
-
return [3
|
|
1691
|
+
return [3, 9];
|
|
1692
1692
|
case 4:
|
|
1693
1693
|
_d = [{}];
|
|
1694
|
-
return [4
|
|
1694
|
+
return [4, deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
1695
1695
|
case 5:
|
|
1696
1696
|
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1697
|
-
return [3
|
|
1697
|
+
return [3, 9];
|
|
1698
1698
|
case 6:
|
|
1699
1699
|
_e = [{}];
|
|
1700
|
-
return [4
|
|
1700
|
+
return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
1701
1701
|
case 7:
|
|
1702
1702
|
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1703
|
-
return [3
|
|
1703
|
+
return [3, 9];
|
|
1704
1704
|
case 8:
|
|
1705
1705
|
parsedBody = parsedOutput.body;
|
|
1706
1706
|
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
@@ -1710,7 +1710,7 @@ var deserializeAws_json1_1ListLogPatternSetsCommandError = function (output, con
|
|
|
1710
1710
|
message = response.message || response.Message || errorCode;
|
|
1711
1711
|
response.message = message;
|
|
1712
1712
|
delete response.Message;
|
|
1713
|
-
return [2
|
|
1713
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
1714
1714
|
}
|
|
1715
1715
|
});
|
|
1716
1716
|
}); };
|
|
@@ -1720,15 +1720,15 @@ export var deserializeAws_json1_1ListProblemsCommand = function (output, context
|
|
|
1720
1720
|
switch (_a.label) {
|
|
1721
1721
|
case 0:
|
|
1722
1722
|
if (output.statusCode >= 300) {
|
|
1723
|
-
return [2
|
|
1723
|
+
return [2, deserializeAws_json1_1ListProblemsCommandError(output, context)];
|
|
1724
1724
|
}
|
|
1725
|
-
return [4
|
|
1725
|
+
return [4, parseBody(output.body, context)];
|
|
1726
1726
|
case 1:
|
|
1727
1727
|
data = _a.sent();
|
|
1728
1728
|
contents = {};
|
|
1729
1729
|
contents = deserializeAws_json1_1ListProblemsResponse(data, context);
|
|
1730
1730
|
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
1731
|
-
return [2
|
|
1731
|
+
return [2, Promise.resolve(response)];
|
|
1732
1732
|
}
|
|
1733
1733
|
});
|
|
1734
1734
|
}); };
|
|
@@ -1740,39 +1740,39 @@ var deserializeAws_json1_1ListProblemsCommandError = function (output, context)
|
|
|
1740
1740
|
case 0:
|
|
1741
1741
|
_a = [__assign({}, output)];
|
|
1742
1742
|
_f = {};
|
|
1743
|
-
return [4
|
|
1743
|
+
return [4, parseBody(output.body, context)];
|
|
1744
1744
|
case 1:
|
|
1745
1745
|
parsedOutput = __assign.apply(void 0, _a.concat([(_f.body = _g.sent(), _f)]));
|
|
1746
1746
|
errorCode = "UnknownError";
|
|
1747
1747
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1748
1748
|
_b = errorCode;
|
|
1749
1749
|
switch (_b) {
|
|
1750
|
-
case "InternalServerException": return [3
|
|
1751
|
-
case "com.amazonaws.applicationinsights#InternalServerException": return [3
|
|
1752
|
-
case "ResourceNotFoundException": return [3
|
|
1753
|
-
case "com.amazonaws.applicationinsights#ResourceNotFoundException": return [3
|
|
1754
|
-
case "ValidationException": return [3
|
|
1755
|
-
case "com.amazonaws.applicationinsights#ValidationException": return [3
|
|
1750
|
+
case "InternalServerException": return [3, 2];
|
|
1751
|
+
case "com.amazonaws.applicationinsights#InternalServerException": return [3, 2];
|
|
1752
|
+
case "ResourceNotFoundException": return [3, 4];
|
|
1753
|
+
case "com.amazonaws.applicationinsights#ResourceNotFoundException": return [3, 4];
|
|
1754
|
+
case "ValidationException": return [3, 6];
|
|
1755
|
+
case "com.amazonaws.applicationinsights#ValidationException": return [3, 6];
|
|
1756
1756
|
}
|
|
1757
|
-
return [3
|
|
1757
|
+
return [3, 8];
|
|
1758
1758
|
case 2:
|
|
1759
1759
|
_c = [{}];
|
|
1760
|
-
return [4
|
|
1760
|
+
return [4, deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context)];
|
|
1761
1761
|
case 3:
|
|
1762
1762
|
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1763
|
-
return [3
|
|
1763
|
+
return [3, 9];
|
|
1764
1764
|
case 4:
|
|
1765
1765
|
_d = [{}];
|
|
1766
|
-
return [4
|
|
1766
|
+
return [4, deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
1767
1767
|
case 5:
|
|
1768
1768
|
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1769
|
-
return [3
|
|
1769
|
+
return [3, 9];
|
|
1770
1770
|
case 6:
|
|
1771
1771
|
_e = [{}];
|
|
1772
|
-
return [4
|
|
1772
|
+
return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
1773
1773
|
case 7:
|
|
1774
1774
|
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1775
|
-
return [3
|
|
1775
|
+
return [3, 9];
|
|
1776
1776
|
case 8:
|
|
1777
1777
|
parsedBody = parsedOutput.body;
|
|
1778
1778
|
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
@@ -1782,7 +1782,7 @@ var deserializeAws_json1_1ListProblemsCommandError = function (output, context)
|
|
|
1782
1782
|
message = response.message || response.Message || errorCode;
|
|
1783
1783
|
response.message = message;
|
|
1784
1784
|
delete response.Message;
|
|
1785
|
-
return [2
|
|
1785
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
1786
1786
|
}
|
|
1787
1787
|
});
|
|
1788
1788
|
}); };
|
|
@@ -1792,15 +1792,15 @@ export var deserializeAws_json1_1ListTagsForResourceCommand = function (output,
|
|
|
1792
1792
|
switch (_a.label) {
|
|
1793
1793
|
case 0:
|
|
1794
1794
|
if (output.statusCode >= 300) {
|
|
1795
|
-
return [2
|
|
1795
|
+
return [2, deserializeAws_json1_1ListTagsForResourceCommandError(output, context)];
|
|
1796
1796
|
}
|
|
1797
|
-
return [4
|
|
1797
|
+
return [4, parseBody(output.body, context)];
|
|
1798
1798
|
case 1:
|
|
1799
1799
|
data = _a.sent();
|
|
1800
1800
|
contents = {};
|
|
1801
1801
|
contents = deserializeAws_json1_1ListTagsForResourceResponse(data, context);
|
|
1802
1802
|
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
1803
|
-
return [2
|
|
1803
|
+
return [2, Promise.resolve(response)];
|
|
1804
1804
|
}
|
|
1805
1805
|
});
|
|
1806
1806
|
}); };
|
|
@@ -1812,31 +1812,31 @@ var deserializeAws_json1_1ListTagsForResourceCommandError = function (output, co
|
|
|
1812
1812
|
case 0:
|
|
1813
1813
|
_a = [__assign({}, output)];
|
|
1814
1814
|
_e = {};
|
|
1815
|
-
return [4
|
|
1815
|
+
return [4, parseBody(output.body, context)];
|
|
1816
1816
|
case 1:
|
|
1817
1817
|
parsedOutput = __assign.apply(void 0, _a.concat([(_e.body = _f.sent(), _e)]));
|
|
1818
1818
|
errorCode = "UnknownError";
|
|
1819
1819
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1820
1820
|
_b = errorCode;
|
|
1821
1821
|
switch (_b) {
|
|
1822
|
-
case "ResourceNotFoundException": return [3
|
|
1823
|
-
case "com.amazonaws.applicationinsights#ResourceNotFoundException": return [3
|
|
1824
|
-
case "ValidationException": return [3
|
|
1825
|
-
case "com.amazonaws.applicationinsights#ValidationException": return [3
|
|
1822
|
+
case "ResourceNotFoundException": return [3, 2];
|
|
1823
|
+
case "com.amazonaws.applicationinsights#ResourceNotFoundException": return [3, 2];
|
|
1824
|
+
case "ValidationException": return [3, 4];
|
|
1825
|
+
case "com.amazonaws.applicationinsights#ValidationException": return [3, 4];
|
|
1826
1826
|
}
|
|
1827
|
-
return [3
|
|
1827
|
+
return [3, 6];
|
|
1828
1828
|
case 2:
|
|
1829
1829
|
_c = [{}];
|
|
1830
|
-
return [4
|
|
1830
|
+
return [4, deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
1831
1831
|
case 3:
|
|
1832
1832
|
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_f.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1833
|
-
return [3
|
|
1833
|
+
return [3, 7];
|
|
1834
1834
|
case 4:
|
|
1835
1835
|
_d = [{}];
|
|
1836
|
-
return [4
|
|
1836
|
+
return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
1837
1837
|
case 5:
|
|
1838
1838
|
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_f.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1839
|
-
return [3
|
|
1839
|
+
return [3, 7];
|
|
1840
1840
|
case 6:
|
|
1841
1841
|
parsedBody = parsedOutput.body;
|
|
1842
1842
|
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
@@ -1846,7 +1846,7 @@ var deserializeAws_json1_1ListTagsForResourceCommandError = function (output, co
|
|
|
1846
1846
|
message = response.message || response.Message || errorCode;
|
|
1847
1847
|
response.message = message;
|
|
1848
1848
|
delete response.Message;
|
|
1849
|
-
return [2
|
|
1849
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
1850
1850
|
}
|
|
1851
1851
|
});
|
|
1852
1852
|
}); };
|
|
@@ -1856,15 +1856,15 @@ export var deserializeAws_json1_1TagResourceCommand = function (output, context)
|
|
|
1856
1856
|
switch (_a.label) {
|
|
1857
1857
|
case 0:
|
|
1858
1858
|
if (output.statusCode >= 300) {
|
|
1859
|
-
return [2
|
|
1859
|
+
return [2, deserializeAws_json1_1TagResourceCommandError(output, context)];
|
|
1860
1860
|
}
|
|
1861
|
-
return [4
|
|
1861
|
+
return [4, parseBody(output.body, context)];
|
|
1862
1862
|
case 1:
|
|
1863
1863
|
data = _a.sent();
|
|
1864
1864
|
contents = {};
|
|
1865
1865
|
contents = deserializeAws_json1_1TagResourceResponse(data, context);
|
|
1866
1866
|
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
1867
|
-
return [2
|
|
1867
|
+
return [2, Promise.resolve(response)];
|
|
1868
1868
|
}
|
|
1869
1869
|
});
|
|
1870
1870
|
}); };
|
|
@@ -1876,39 +1876,39 @@ var deserializeAws_json1_1TagResourceCommandError = function (output, context) {
|
|
|
1876
1876
|
case 0:
|
|
1877
1877
|
_a = [__assign({}, output)];
|
|
1878
1878
|
_f = {};
|
|
1879
|
-
return [4
|
|
1879
|
+
return [4, parseBody(output.body, context)];
|
|
1880
1880
|
case 1:
|
|
1881
1881
|
parsedOutput = __assign.apply(void 0, _a.concat([(_f.body = _g.sent(), _f)]));
|
|
1882
1882
|
errorCode = "UnknownError";
|
|
1883
1883
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1884
1884
|
_b = errorCode;
|
|
1885
1885
|
switch (_b) {
|
|
1886
|
-
case "ResourceNotFoundException": return [3
|
|
1887
|
-
case "com.amazonaws.applicationinsights#ResourceNotFoundException": return [3
|
|
1888
|
-
case "TooManyTagsException": return [3
|
|
1889
|
-
case "com.amazonaws.applicationinsights#TooManyTagsException": return [3
|
|
1890
|
-
case "ValidationException": return [3
|
|
1891
|
-
case "com.amazonaws.applicationinsights#ValidationException": return [3
|
|
1886
|
+
case "ResourceNotFoundException": return [3, 2];
|
|
1887
|
+
case "com.amazonaws.applicationinsights#ResourceNotFoundException": return [3, 2];
|
|
1888
|
+
case "TooManyTagsException": return [3, 4];
|
|
1889
|
+
case "com.amazonaws.applicationinsights#TooManyTagsException": return [3, 4];
|
|
1890
|
+
case "ValidationException": return [3, 6];
|
|
1891
|
+
case "com.amazonaws.applicationinsights#ValidationException": return [3, 6];
|
|
1892
1892
|
}
|
|
1893
|
-
return [3
|
|
1893
|
+
return [3, 8];
|
|
1894
1894
|
case 2:
|
|
1895
1895
|
_c = [{}];
|
|
1896
|
-
return [4
|
|
1896
|
+
return [4, deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
1897
1897
|
case 3:
|
|
1898
1898
|
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1899
|
-
return [3
|
|
1899
|
+
return [3, 9];
|
|
1900
1900
|
case 4:
|
|
1901
1901
|
_d = [{}];
|
|
1902
|
-
return [4
|
|
1902
|
+
return [4, deserializeAws_json1_1TooManyTagsExceptionResponse(parsedOutput, context)];
|
|
1903
1903
|
case 5:
|
|
1904
1904
|
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1905
|
-
return [3
|
|
1905
|
+
return [3, 9];
|
|
1906
1906
|
case 6:
|
|
1907
1907
|
_e = [{}];
|
|
1908
|
-
return [4
|
|
1908
|
+
return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
1909
1909
|
case 7:
|
|
1910
1910
|
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1911
|
-
return [3
|
|
1911
|
+
return [3, 9];
|
|
1912
1912
|
case 8:
|
|
1913
1913
|
parsedBody = parsedOutput.body;
|
|
1914
1914
|
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
@@ -1918,7 +1918,7 @@ var deserializeAws_json1_1TagResourceCommandError = function (output, context) {
|
|
|
1918
1918
|
message = response.message || response.Message || errorCode;
|
|
1919
1919
|
response.message = message;
|
|
1920
1920
|
delete response.Message;
|
|
1921
|
-
return [2
|
|
1921
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
1922
1922
|
}
|
|
1923
1923
|
});
|
|
1924
1924
|
}); };
|
|
@@ -1928,15 +1928,15 @@ export var deserializeAws_json1_1UntagResourceCommand = function (output, contex
|
|
|
1928
1928
|
switch (_a.label) {
|
|
1929
1929
|
case 0:
|
|
1930
1930
|
if (output.statusCode >= 300) {
|
|
1931
|
-
return [2
|
|
1931
|
+
return [2, deserializeAws_json1_1UntagResourceCommandError(output, context)];
|
|
1932
1932
|
}
|
|
1933
|
-
return [4
|
|
1933
|
+
return [4, parseBody(output.body, context)];
|
|
1934
1934
|
case 1:
|
|
1935
1935
|
data = _a.sent();
|
|
1936
1936
|
contents = {};
|
|
1937
1937
|
contents = deserializeAws_json1_1UntagResourceResponse(data, context);
|
|
1938
1938
|
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
1939
|
-
return [2
|
|
1939
|
+
return [2, Promise.resolve(response)];
|
|
1940
1940
|
}
|
|
1941
1941
|
});
|
|
1942
1942
|
}); };
|
|
@@ -1948,31 +1948,31 @@ var deserializeAws_json1_1UntagResourceCommandError = function (output, context)
|
|
|
1948
1948
|
case 0:
|
|
1949
1949
|
_a = [__assign({}, output)];
|
|
1950
1950
|
_e = {};
|
|
1951
|
-
return [4
|
|
1951
|
+
return [4, parseBody(output.body, context)];
|
|
1952
1952
|
case 1:
|
|
1953
1953
|
parsedOutput = __assign.apply(void 0, _a.concat([(_e.body = _f.sent(), _e)]));
|
|
1954
1954
|
errorCode = "UnknownError";
|
|
1955
1955
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1956
1956
|
_b = errorCode;
|
|
1957
1957
|
switch (_b) {
|
|
1958
|
-
case "ResourceNotFoundException": return [3
|
|
1959
|
-
case "com.amazonaws.applicationinsights#ResourceNotFoundException": return [3
|
|
1960
|
-
case "ValidationException": return [3
|
|
1961
|
-
case "com.amazonaws.applicationinsights#ValidationException": return [3
|
|
1958
|
+
case "ResourceNotFoundException": return [3, 2];
|
|
1959
|
+
case "com.amazonaws.applicationinsights#ResourceNotFoundException": return [3, 2];
|
|
1960
|
+
case "ValidationException": return [3, 4];
|
|
1961
|
+
case "com.amazonaws.applicationinsights#ValidationException": return [3, 4];
|
|
1962
1962
|
}
|
|
1963
|
-
return [3
|
|
1963
|
+
return [3, 6];
|
|
1964
1964
|
case 2:
|
|
1965
1965
|
_c = [{}];
|
|
1966
|
-
return [4
|
|
1966
|
+
return [4, deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
1967
1967
|
case 3:
|
|
1968
1968
|
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_f.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1969
|
-
return [3
|
|
1969
|
+
return [3, 7];
|
|
1970
1970
|
case 4:
|
|
1971
1971
|
_d = [{}];
|
|
1972
|
-
return [4
|
|
1972
|
+
return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
1973
1973
|
case 5:
|
|
1974
1974
|
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_f.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1975
|
-
return [3
|
|
1975
|
+
return [3, 7];
|
|
1976
1976
|
case 6:
|
|
1977
1977
|
parsedBody = parsedOutput.body;
|
|
1978
1978
|
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
@@ -1982,7 +1982,7 @@ var deserializeAws_json1_1UntagResourceCommandError = function (output, context)
|
|
|
1982
1982
|
message = response.message || response.Message || errorCode;
|
|
1983
1983
|
response.message = message;
|
|
1984
1984
|
delete response.Message;
|
|
1985
|
-
return [2
|
|
1985
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
1986
1986
|
}
|
|
1987
1987
|
});
|
|
1988
1988
|
}); };
|
|
@@ -1992,15 +1992,15 @@ export var deserializeAws_json1_1UpdateApplicationCommand = function (output, co
|
|
|
1992
1992
|
switch (_a.label) {
|
|
1993
1993
|
case 0:
|
|
1994
1994
|
if (output.statusCode >= 300) {
|
|
1995
|
-
return [2
|
|
1995
|
+
return [2, deserializeAws_json1_1UpdateApplicationCommandError(output, context)];
|
|
1996
1996
|
}
|
|
1997
|
-
return [4
|
|
1997
|
+
return [4, parseBody(output.body, context)];
|
|
1998
1998
|
case 1:
|
|
1999
1999
|
data = _a.sent();
|
|
2000
2000
|
contents = {};
|
|
2001
2001
|
contents = deserializeAws_json1_1UpdateApplicationResponse(data, context);
|
|
2002
2002
|
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
2003
|
-
return [2
|
|
2003
|
+
return [2, Promise.resolve(response)];
|
|
2004
2004
|
}
|
|
2005
2005
|
});
|
|
2006
2006
|
}); };
|
|
@@ -2012,39 +2012,39 @@ var deserializeAws_json1_1UpdateApplicationCommandError = function (output, cont
|
|
|
2012
2012
|
case 0:
|
|
2013
2013
|
_a = [__assign({}, output)];
|
|
2014
2014
|
_f = {};
|
|
2015
|
-
return [4
|
|
2015
|
+
return [4, parseBody(output.body, context)];
|
|
2016
2016
|
case 1:
|
|
2017
2017
|
parsedOutput = __assign.apply(void 0, _a.concat([(_f.body = _g.sent(), _f)]));
|
|
2018
2018
|
errorCode = "UnknownError";
|
|
2019
2019
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2020
2020
|
_b = errorCode;
|
|
2021
2021
|
switch (_b) {
|
|
2022
|
-
case "InternalServerException": return [3
|
|
2023
|
-
case "com.amazonaws.applicationinsights#InternalServerException": return [3
|
|
2024
|
-
case "ResourceNotFoundException": return [3
|
|
2025
|
-
case "com.amazonaws.applicationinsights#ResourceNotFoundException": return [3
|
|
2026
|
-
case "ValidationException": return [3
|
|
2027
|
-
case "com.amazonaws.applicationinsights#ValidationException": return [3
|
|
2022
|
+
case "InternalServerException": return [3, 2];
|
|
2023
|
+
case "com.amazonaws.applicationinsights#InternalServerException": return [3, 2];
|
|
2024
|
+
case "ResourceNotFoundException": return [3, 4];
|
|
2025
|
+
case "com.amazonaws.applicationinsights#ResourceNotFoundException": return [3, 4];
|
|
2026
|
+
case "ValidationException": return [3, 6];
|
|
2027
|
+
case "com.amazonaws.applicationinsights#ValidationException": return [3, 6];
|
|
2028
2028
|
}
|
|
2029
|
-
return [3
|
|
2029
|
+
return [3, 8];
|
|
2030
2030
|
case 2:
|
|
2031
2031
|
_c = [{}];
|
|
2032
|
-
return [4
|
|
2032
|
+
return [4, deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context)];
|
|
2033
2033
|
case 3:
|
|
2034
2034
|
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2035
|
-
return [3
|
|
2035
|
+
return [3, 9];
|
|
2036
2036
|
case 4:
|
|
2037
2037
|
_d = [{}];
|
|
2038
|
-
return [4
|
|
2038
|
+
return [4, deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
2039
2039
|
case 5:
|
|
2040
2040
|
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2041
|
-
return [3
|
|
2041
|
+
return [3, 9];
|
|
2042
2042
|
case 6:
|
|
2043
2043
|
_e = [{}];
|
|
2044
|
-
return [4
|
|
2044
|
+
return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
2045
2045
|
case 7:
|
|
2046
2046
|
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2047
|
-
return [3
|
|
2047
|
+
return [3, 9];
|
|
2048
2048
|
case 8:
|
|
2049
2049
|
parsedBody = parsedOutput.body;
|
|
2050
2050
|
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
@@ -2054,7 +2054,7 @@ var deserializeAws_json1_1UpdateApplicationCommandError = function (output, cont
|
|
|
2054
2054
|
message = response.message || response.Message || errorCode;
|
|
2055
2055
|
response.message = message;
|
|
2056
2056
|
delete response.Message;
|
|
2057
|
-
return [2
|
|
2057
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
2058
2058
|
}
|
|
2059
2059
|
});
|
|
2060
2060
|
}); };
|
|
@@ -2064,15 +2064,15 @@ export var deserializeAws_json1_1UpdateComponentCommand = function (output, cont
|
|
|
2064
2064
|
switch (_a.label) {
|
|
2065
2065
|
case 0:
|
|
2066
2066
|
if (output.statusCode >= 300) {
|
|
2067
|
-
return [2
|
|
2067
|
+
return [2, deserializeAws_json1_1UpdateComponentCommandError(output, context)];
|
|
2068
2068
|
}
|
|
2069
|
-
return [4
|
|
2069
|
+
return [4, parseBody(output.body, context)];
|
|
2070
2070
|
case 1:
|
|
2071
2071
|
data = _a.sent();
|
|
2072
2072
|
contents = {};
|
|
2073
2073
|
contents = deserializeAws_json1_1UpdateComponentResponse(data, context);
|
|
2074
2074
|
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
2075
|
-
return [2
|
|
2075
|
+
return [2, Promise.resolve(response)];
|
|
2076
2076
|
}
|
|
2077
2077
|
});
|
|
2078
2078
|
}); };
|
|
@@ -2084,47 +2084,47 @@ var deserializeAws_json1_1UpdateComponentCommandError = function (output, contex
|
|
|
2084
2084
|
case 0:
|
|
2085
2085
|
_a = [__assign({}, output)];
|
|
2086
2086
|
_g = {};
|
|
2087
|
-
return [4
|
|
2087
|
+
return [4, parseBody(output.body, context)];
|
|
2088
2088
|
case 1:
|
|
2089
2089
|
parsedOutput = __assign.apply(void 0, _a.concat([(_g.body = _h.sent(), _g)]));
|
|
2090
2090
|
errorCode = "UnknownError";
|
|
2091
2091
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2092
2092
|
_b = errorCode;
|
|
2093
2093
|
switch (_b) {
|
|
2094
|
-
case "InternalServerException": return [3
|
|
2095
|
-
case "com.amazonaws.applicationinsights#InternalServerException": return [3
|
|
2096
|
-
case "ResourceInUseException": return [3
|
|
2097
|
-
case "com.amazonaws.applicationinsights#ResourceInUseException": return [3
|
|
2098
|
-
case "ResourceNotFoundException": return [3
|
|
2099
|
-
case "com.amazonaws.applicationinsights#ResourceNotFoundException": return [3
|
|
2100
|
-
case "ValidationException": return [3
|
|
2101
|
-
case "com.amazonaws.applicationinsights#ValidationException": return [3
|
|
2094
|
+
case "InternalServerException": return [3, 2];
|
|
2095
|
+
case "com.amazonaws.applicationinsights#InternalServerException": return [3, 2];
|
|
2096
|
+
case "ResourceInUseException": return [3, 4];
|
|
2097
|
+
case "com.amazonaws.applicationinsights#ResourceInUseException": return [3, 4];
|
|
2098
|
+
case "ResourceNotFoundException": return [3, 6];
|
|
2099
|
+
case "com.amazonaws.applicationinsights#ResourceNotFoundException": return [3, 6];
|
|
2100
|
+
case "ValidationException": return [3, 8];
|
|
2101
|
+
case "com.amazonaws.applicationinsights#ValidationException": return [3, 8];
|
|
2102
2102
|
}
|
|
2103
|
-
return [3
|
|
2103
|
+
return [3, 10];
|
|
2104
2104
|
case 2:
|
|
2105
2105
|
_c = [{}];
|
|
2106
|
-
return [4
|
|
2106
|
+
return [4, deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context)];
|
|
2107
2107
|
case 3:
|
|
2108
2108
|
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2109
|
-
return [3
|
|
2109
|
+
return [3, 11];
|
|
2110
2110
|
case 4:
|
|
2111
2111
|
_d = [{}];
|
|
2112
|
-
return [4
|
|
2112
|
+
return [4, deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context)];
|
|
2113
2113
|
case 5:
|
|
2114
2114
|
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2115
|
-
return [3
|
|
2115
|
+
return [3, 11];
|
|
2116
2116
|
case 6:
|
|
2117
2117
|
_e = [{}];
|
|
2118
|
-
return [4
|
|
2118
|
+
return [4, deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
2119
2119
|
case 7:
|
|
2120
2120
|
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2121
|
-
return [3
|
|
2121
|
+
return [3, 11];
|
|
2122
2122
|
case 8:
|
|
2123
2123
|
_f = [{}];
|
|
2124
|
-
return [4
|
|
2124
|
+
return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
2125
2125
|
case 9:
|
|
2126
2126
|
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2127
|
-
return [3
|
|
2127
|
+
return [3, 11];
|
|
2128
2128
|
case 10:
|
|
2129
2129
|
parsedBody = parsedOutput.body;
|
|
2130
2130
|
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
@@ -2134,7 +2134,7 @@ var deserializeAws_json1_1UpdateComponentCommandError = function (output, contex
|
|
|
2134
2134
|
message = response.message || response.Message || errorCode;
|
|
2135
2135
|
response.message = message;
|
|
2136
2136
|
delete response.Message;
|
|
2137
|
-
return [2
|
|
2137
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
2138
2138
|
}
|
|
2139
2139
|
});
|
|
2140
2140
|
}); };
|
|
@@ -2144,15 +2144,15 @@ export var deserializeAws_json1_1UpdateComponentConfigurationCommand = function
|
|
|
2144
2144
|
switch (_a.label) {
|
|
2145
2145
|
case 0:
|
|
2146
2146
|
if (output.statusCode >= 300) {
|
|
2147
|
-
return [2
|
|
2147
|
+
return [2, deserializeAws_json1_1UpdateComponentConfigurationCommandError(output, context)];
|
|
2148
2148
|
}
|
|
2149
|
-
return [4
|
|
2149
|
+
return [4, parseBody(output.body, context)];
|
|
2150
2150
|
case 1:
|
|
2151
2151
|
data = _a.sent();
|
|
2152
2152
|
contents = {};
|
|
2153
2153
|
contents = deserializeAws_json1_1UpdateComponentConfigurationResponse(data, context);
|
|
2154
2154
|
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
2155
|
-
return [2
|
|
2155
|
+
return [2, Promise.resolve(response)];
|
|
2156
2156
|
}
|
|
2157
2157
|
});
|
|
2158
2158
|
}); };
|
|
@@ -2164,39 +2164,39 @@ var deserializeAws_json1_1UpdateComponentConfigurationCommandError = function (o
|
|
|
2164
2164
|
case 0:
|
|
2165
2165
|
_a = [__assign({}, output)];
|
|
2166
2166
|
_f = {};
|
|
2167
|
-
return [4
|
|
2167
|
+
return [4, parseBody(output.body, context)];
|
|
2168
2168
|
case 1:
|
|
2169
2169
|
parsedOutput = __assign.apply(void 0, _a.concat([(_f.body = _g.sent(), _f)]));
|
|
2170
2170
|
errorCode = "UnknownError";
|
|
2171
2171
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2172
2172
|
_b = errorCode;
|
|
2173
2173
|
switch (_b) {
|
|
2174
|
-
case "InternalServerException": return [3
|
|
2175
|
-
case "com.amazonaws.applicationinsights#InternalServerException": return [3
|
|
2176
|
-
case "ResourceNotFoundException": return [3
|
|
2177
|
-
case "com.amazonaws.applicationinsights#ResourceNotFoundException": return [3
|
|
2178
|
-
case "ValidationException": return [3
|
|
2179
|
-
case "com.amazonaws.applicationinsights#ValidationException": return [3
|
|
2174
|
+
case "InternalServerException": return [3, 2];
|
|
2175
|
+
case "com.amazonaws.applicationinsights#InternalServerException": return [3, 2];
|
|
2176
|
+
case "ResourceNotFoundException": return [3, 4];
|
|
2177
|
+
case "com.amazonaws.applicationinsights#ResourceNotFoundException": return [3, 4];
|
|
2178
|
+
case "ValidationException": return [3, 6];
|
|
2179
|
+
case "com.amazonaws.applicationinsights#ValidationException": return [3, 6];
|
|
2180
2180
|
}
|
|
2181
|
-
return [3
|
|
2181
|
+
return [3, 8];
|
|
2182
2182
|
case 2:
|
|
2183
2183
|
_c = [{}];
|
|
2184
|
-
return [4
|
|
2184
|
+
return [4, deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context)];
|
|
2185
2185
|
case 3:
|
|
2186
2186
|
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2187
|
-
return [3
|
|
2187
|
+
return [3, 9];
|
|
2188
2188
|
case 4:
|
|
2189
2189
|
_d = [{}];
|
|
2190
|
-
return [4
|
|
2190
|
+
return [4, deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
2191
2191
|
case 5:
|
|
2192
2192
|
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2193
|
-
return [3
|
|
2193
|
+
return [3, 9];
|
|
2194
2194
|
case 6:
|
|
2195
2195
|
_e = [{}];
|
|
2196
|
-
return [4
|
|
2196
|
+
return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
2197
2197
|
case 7:
|
|
2198
2198
|
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2199
|
-
return [3
|
|
2199
|
+
return [3, 9];
|
|
2200
2200
|
case 8:
|
|
2201
2201
|
parsedBody = parsedOutput.body;
|
|
2202
2202
|
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
@@ -2206,7 +2206,7 @@ var deserializeAws_json1_1UpdateComponentConfigurationCommandError = function (o
|
|
|
2206
2206
|
message = response.message || response.Message || errorCode;
|
|
2207
2207
|
response.message = message;
|
|
2208
2208
|
delete response.Message;
|
|
2209
|
-
return [2
|
|
2209
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
2210
2210
|
}
|
|
2211
2211
|
});
|
|
2212
2212
|
}); };
|
|
@@ -2216,15 +2216,15 @@ export var deserializeAws_json1_1UpdateLogPatternCommand = function (output, con
|
|
|
2216
2216
|
switch (_a.label) {
|
|
2217
2217
|
case 0:
|
|
2218
2218
|
if (output.statusCode >= 300) {
|
|
2219
|
-
return [2
|
|
2219
|
+
return [2, deserializeAws_json1_1UpdateLogPatternCommandError(output, context)];
|
|
2220
2220
|
}
|
|
2221
|
-
return [4
|
|
2221
|
+
return [4, parseBody(output.body, context)];
|
|
2222
2222
|
case 1:
|
|
2223
2223
|
data = _a.sent();
|
|
2224
2224
|
contents = {};
|
|
2225
2225
|
contents = deserializeAws_json1_1UpdateLogPatternResponse(data, context);
|
|
2226
2226
|
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
2227
|
-
return [2
|
|
2227
|
+
return [2, Promise.resolve(response)];
|
|
2228
2228
|
}
|
|
2229
2229
|
});
|
|
2230
2230
|
}); };
|
|
@@ -2236,47 +2236,47 @@ var deserializeAws_json1_1UpdateLogPatternCommandError = function (output, conte
|
|
|
2236
2236
|
case 0:
|
|
2237
2237
|
_a = [__assign({}, output)];
|
|
2238
2238
|
_g = {};
|
|
2239
|
-
return [4
|
|
2239
|
+
return [4, parseBody(output.body, context)];
|
|
2240
2240
|
case 1:
|
|
2241
2241
|
parsedOutput = __assign.apply(void 0, _a.concat([(_g.body = _h.sent(), _g)]));
|
|
2242
2242
|
errorCode = "UnknownError";
|
|
2243
2243
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2244
2244
|
_b = errorCode;
|
|
2245
2245
|
switch (_b) {
|
|
2246
|
-
case "InternalServerException": return [3
|
|
2247
|
-
case "com.amazonaws.applicationinsights#InternalServerException": return [3
|
|
2248
|
-
case "ResourceInUseException": return [3
|
|
2249
|
-
case "com.amazonaws.applicationinsights#ResourceInUseException": return [3
|
|
2250
|
-
case "ResourceNotFoundException": return [3
|
|
2251
|
-
case "com.amazonaws.applicationinsights#ResourceNotFoundException": return [3
|
|
2252
|
-
case "ValidationException": return [3
|
|
2253
|
-
case "com.amazonaws.applicationinsights#ValidationException": return [3
|
|
2246
|
+
case "InternalServerException": return [3, 2];
|
|
2247
|
+
case "com.amazonaws.applicationinsights#InternalServerException": return [3, 2];
|
|
2248
|
+
case "ResourceInUseException": return [3, 4];
|
|
2249
|
+
case "com.amazonaws.applicationinsights#ResourceInUseException": return [3, 4];
|
|
2250
|
+
case "ResourceNotFoundException": return [3, 6];
|
|
2251
|
+
case "com.amazonaws.applicationinsights#ResourceNotFoundException": return [3, 6];
|
|
2252
|
+
case "ValidationException": return [3, 8];
|
|
2253
|
+
case "com.amazonaws.applicationinsights#ValidationException": return [3, 8];
|
|
2254
2254
|
}
|
|
2255
|
-
return [3
|
|
2255
|
+
return [3, 10];
|
|
2256
2256
|
case 2:
|
|
2257
2257
|
_c = [{}];
|
|
2258
|
-
return [4
|
|
2258
|
+
return [4, deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context)];
|
|
2259
2259
|
case 3:
|
|
2260
2260
|
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2261
|
-
return [3
|
|
2261
|
+
return [3, 11];
|
|
2262
2262
|
case 4:
|
|
2263
2263
|
_d = [{}];
|
|
2264
|
-
return [4
|
|
2264
|
+
return [4, deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context)];
|
|
2265
2265
|
case 5:
|
|
2266
2266
|
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2267
|
-
return [3
|
|
2267
|
+
return [3, 11];
|
|
2268
2268
|
case 6:
|
|
2269
2269
|
_e = [{}];
|
|
2270
|
-
return [4
|
|
2270
|
+
return [4, deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
2271
2271
|
case 7:
|
|
2272
2272
|
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2273
|
-
return [3
|
|
2273
|
+
return [3, 11];
|
|
2274
2274
|
case 8:
|
|
2275
2275
|
_f = [{}];
|
|
2276
|
-
return [4
|
|
2276
|
+
return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
2277
2277
|
case 9:
|
|
2278
2278
|
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2279
|
-
return [3
|
|
2279
|
+
return [3, 11];
|
|
2280
2280
|
case 10:
|
|
2281
2281
|
parsedBody = parsedOutput.body;
|
|
2282
2282
|
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
@@ -2286,7 +2286,7 @@ var deserializeAws_json1_1UpdateLogPatternCommandError = function (output, conte
|
|
|
2286
2286
|
message = response.message || response.Message || errorCode;
|
|
2287
2287
|
response.message = message;
|
|
2288
2288
|
delete response.Message;
|
|
2289
|
-
return [2
|
|
2289
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
2290
2290
|
}
|
|
2291
2291
|
});
|
|
2292
2292
|
}); };
|
|
@@ -2296,7 +2296,7 @@ var deserializeAws_json1_1AccessDeniedExceptionResponse = function (parsedOutput
|
|
|
2296
2296
|
body = parsedOutput.body;
|
|
2297
2297
|
deserialized = deserializeAws_json1_1AccessDeniedException(body, context);
|
|
2298
2298
|
contents = __assign({ name: "AccessDeniedException", $fault: "client", $metadata: deserializeMetadata(parsedOutput) }, deserialized);
|
|
2299
|
-
return [2
|
|
2299
|
+
return [2, contents];
|
|
2300
2300
|
});
|
|
2301
2301
|
}); };
|
|
2302
2302
|
var deserializeAws_json1_1BadRequestExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -2305,7 +2305,7 @@ var deserializeAws_json1_1BadRequestExceptionResponse = function (parsedOutput,
|
|
|
2305
2305
|
body = parsedOutput.body;
|
|
2306
2306
|
deserialized = deserializeAws_json1_1BadRequestException(body, context);
|
|
2307
2307
|
contents = __assign({ name: "BadRequestException", $fault: "client", $metadata: deserializeMetadata(parsedOutput) }, deserialized);
|
|
2308
|
-
return [2
|
|
2308
|
+
return [2, contents];
|
|
2309
2309
|
});
|
|
2310
2310
|
}); };
|
|
2311
2311
|
var deserializeAws_json1_1InternalServerExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -2314,7 +2314,7 @@ var deserializeAws_json1_1InternalServerExceptionResponse = function (parsedOutp
|
|
|
2314
2314
|
body = parsedOutput.body;
|
|
2315
2315
|
deserialized = deserializeAws_json1_1InternalServerException(body, context);
|
|
2316
2316
|
contents = __assign({ name: "InternalServerException", $fault: "server", $metadata: deserializeMetadata(parsedOutput) }, deserialized);
|
|
2317
|
-
return [2
|
|
2317
|
+
return [2, contents];
|
|
2318
2318
|
});
|
|
2319
2319
|
}); };
|
|
2320
2320
|
var deserializeAws_json1_1ResourceInUseExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -2323,7 +2323,7 @@ var deserializeAws_json1_1ResourceInUseExceptionResponse = function (parsedOutpu
|
|
|
2323
2323
|
body = parsedOutput.body;
|
|
2324
2324
|
deserialized = deserializeAws_json1_1ResourceInUseException(body, context);
|
|
2325
2325
|
contents = __assign({ name: "ResourceInUseException", $fault: "client", $metadata: deserializeMetadata(parsedOutput) }, deserialized);
|
|
2326
|
-
return [2
|
|
2326
|
+
return [2, contents];
|
|
2327
2327
|
});
|
|
2328
2328
|
}); };
|
|
2329
2329
|
var deserializeAws_json1_1ResourceNotFoundExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -2332,7 +2332,7 @@ var deserializeAws_json1_1ResourceNotFoundExceptionResponse = function (parsedOu
|
|
|
2332
2332
|
body = parsedOutput.body;
|
|
2333
2333
|
deserialized = deserializeAws_json1_1ResourceNotFoundException(body, context);
|
|
2334
2334
|
contents = __assign({ name: "ResourceNotFoundException", $fault: "client", $metadata: deserializeMetadata(parsedOutput) }, deserialized);
|
|
2335
|
-
return [2
|
|
2335
|
+
return [2, contents];
|
|
2336
2336
|
});
|
|
2337
2337
|
}); };
|
|
2338
2338
|
var deserializeAws_json1_1TagsAlreadyExistExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -2341,7 +2341,7 @@ var deserializeAws_json1_1TagsAlreadyExistExceptionResponse = function (parsedOu
|
|
|
2341
2341
|
body = parsedOutput.body;
|
|
2342
2342
|
deserialized = deserializeAws_json1_1TagsAlreadyExistException(body, context);
|
|
2343
2343
|
contents = __assign({ name: "TagsAlreadyExistException", $fault: "client", $metadata: deserializeMetadata(parsedOutput) }, deserialized);
|
|
2344
|
-
return [2
|
|
2344
|
+
return [2, contents];
|
|
2345
2345
|
});
|
|
2346
2346
|
}); };
|
|
2347
2347
|
var deserializeAws_json1_1TooManyTagsExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -2350,7 +2350,7 @@ var deserializeAws_json1_1TooManyTagsExceptionResponse = function (parsedOutput,
|
|
|
2350
2350
|
body = parsedOutput.body;
|
|
2351
2351
|
deserialized = deserializeAws_json1_1TooManyTagsException(body, context);
|
|
2352
2352
|
contents = __assign({ name: "TooManyTagsException", $fault: "client", $metadata: deserializeMetadata(parsedOutput) }, deserialized);
|
|
2353
|
-
return [2
|
|
2353
|
+
return [2, contents];
|
|
2354
2354
|
});
|
|
2355
2355
|
}); };
|
|
2356
2356
|
var deserializeAws_json1_1ValidationExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -2359,7 +2359,7 @@ var deserializeAws_json1_1ValidationExceptionResponse = function (parsedOutput,
|
|
|
2359
2359
|
body = parsedOutput.body;
|
|
2360
2360
|
deserialized = deserializeAws_json1_1ValidationException(body, context);
|
|
2361
2361
|
contents = __assign({ name: "ValidationException", $fault: "client", $metadata: deserializeMetadata(parsedOutput) }, deserialized);
|
|
2362
|
-
return [2
|
|
2362
|
+
return [2, contents];
|
|
2363
2363
|
});
|
|
2364
2364
|
}); };
|
|
2365
2365
|
var serializeAws_json1_1CreateApplicationRequest = function (input, context) {
|
|
@@ -2577,7 +2577,7 @@ var deserializeAws_json1_1ConfigurationEvent = function (output, context) {
|
|
|
2577
2577
|
EventResourceType: __expectString(output.EventResourceType),
|
|
2578
2578
|
EventStatus: __expectString(output.EventStatus),
|
|
2579
2579
|
EventTime: output.EventTime !== undefined && output.EventTime !== null
|
|
2580
|
-
?
|
|
2580
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EventTime)))
|
|
2581
2581
|
: undefined,
|
|
2582
2582
|
MonitoredResourceARN: __expectString(output.MonitoredResourceARN),
|
|
2583
2583
|
};
|
|
@@ -2802,7 +2802,9 @@ var deserializeAws_json1_1Observation = function (output, context) {
|
|
|
2802
2802
|
EbsRequestId: __expectString(output.EbsRequestId),
|
|
2803
2803
|
EbsResult: __expectString(output.EbsResult),
|
|
2804
2804
|
Ec2State: __expectString(output.Ec2State),
|
|
2805
|
-
EndTime: output.EndTime !== undefined && output.EndTime !== null
|
|
2805
|
+
EndTime: output.EndTime !== undefined && output.EndTime !== null
|
|
2806
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime)))
|
|
2807
|
+
: undefined,
|
|
2806
2808
|
HealthEventArn: __expectString(output.HealthEventArn),
|
|
2807
2809
|
HealthEventDescription: __expectString(output.HealthEventDescription),
|
|
2808
2810
|
HealthEventTypeCategory: __expectString(output.HealthEventTypeCategory),
|
|
@@ -2810,7 +2812,7 @@ var deserializeAws_json1_1Observation = function (output, context) {
|
|
|
2810
2812
|
HealthService: __expectString(output.HealthService),
|
|
2811
2813
|
Id: __expectString(output.Id),
|
|
2812
2814
|
LineTime: output.LineTime !== undefined && output.LineTime !== null
|
|
2813
|
-
?
|
|
2815
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LineTime)))
|
|
2814
2816
|
: undefined,
|
|
2815
2817
|
LogFilter: __expectString(output.LogFilter),
|
|
2816
2818
|
LogGroup: __expectString(output.LogGroup),
|
|
@@ -2823,7 +2825,7 @@ var deserializeAws_json1_1Observation = function (output, context) {
|
|
|
2823
2825
|
SourceARN: __expectString(output.SourceARN),
|
|
2824
2826
|
SourceType: __expectString(output.SourceType),
|
|
2825
2827
|
StartTime: output.StartTime !== undefined && output.StartTime !== null
|
|
2826
|
-
?
|
|
2828
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime)))
|
|
2827
2829
|
: undefined,
|
|
2828
2830
|
StatesArn: __expectString(output.StatesArn),
|
|
2829
2831
|
StatesExecutionArn: __expectString(output.StatesExecutionArn),
|
|
@@ -2853,7 +2855,9 @@ var deserializeAws_json1_1ObservationList = function (output, context) {
|
|
|
2853
2855
|
var deserializeAws_json1_1Problem = function (output, context) {
|
|
2854
2856
|
return {
|
|
2855
2857
|
AffectedResource: __expectString(output.AffectedResource),
|
|
2856
|
-
EndTime: output.EndTime !== undefined && output.EndTime !== null
|
|
2858
|
+
EndTime: output.EndTime !== undefined && output.EndTime !== null
|
|
2859
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime)))
|
|
2860
|
+
: undefined,
|
|
2857
2861
|
Feedback: output.Feedback !== undefined && output.Feedback !== null
|
|
2858
2862
|
? deserializeAws_json1_1Feedback(output.Feedback, context)
|
|
2859
2863
|
: undefined,
|
|
@@ -2862,7 +2866,7 @@ var deserializeAws_json1_1Problem = function (output, context) {
|
|
|
2862
2866
|
ResourceGroupName: __expectString(output.ResourceGroupName),
|
|
2863
2867
|
SeverityLevel: __expectString(output.SeverityLevel),
|
|
2864
2868
|
StartTime: output.StartTime !== undefined && output.StartTime !== null
|
|
2865
|
-
?
|
|
2869
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime)))
|
|
2866
2870
|
: undefined,
|
|
2867
2871
|
Status: __expectString(output.Status),
|
|
2868
2872
|
Title: __expectString(output.Title),
|
|
@@ -2983,7 +2987,6 @@ var deserializeMetadata = function (output) {
|
|
|
2983
2987
|
cfId: output.headers["x-amz-cf-id"],
|
|
2984
2988
|
});
|
|
2985
2989
|
};
|
|
2986
|
-
// Collect low-level response body stream to Uint8Array.
|
|
2987
2990
|
var collectBody = function (streamBody, context) {
|
|
2988
2991
|
if (streamBody === void 0) { streamBody = new Uint8Array(); }
|
|
2989
2992
|
if (streamBody instanceof Uint8Array) {
|
|
@@ -2991,7 +2994,6 @@ var collectBody = function (streamBody, context) {
|
|
|
2991
2994
|
}
|
|
2992
2995
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
2993
2996
|
};
|
|
2994
|
-
// Encode Uint8Array data into string with utf-8.
|
|
2995
2997
|
var collectBodyString = function (streamBody, context) {
|
|
2996
2998
|
return collectBody(streamBody, context).then(function (body) { return context.utf8Encoder(body); });
|
|
2997
2999
|
};
|
|
@@ -2999,7 +3001,7 @@ var buildHttpRpcRequest = function (context, headers, path, resolvedHostname, bo
|
|
|
2999
3001
|
var _a, hostname, _b, protocol, port, basePath, contents;
|
|
3000
3002
|
return __generator(this, function (_c) {
|
|
3001
3003
|
switch (_c.label) {
|
|
3002
|
-
case 0: return [4
|
|
3004
|
+
case 0: return [4, context.endpoint()];
|
|
3003
3005
|
case 1:
|
|
3004
3006
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
3005
3007
|
contents = {
|
|
@@ -3016,7 +3018,7 @@ var buildHttpRpcRequest = function (context, headers, path, resolvedHostname, bo
|
|
|
3016
3018
|
if (body !== undefined) {
|
|
3017
3019
|
contents.body = body;
|
|
3018
3020
|
}
|
|
3019
|
-
return [2
|
|
3021
|
+
return [2, new __HttpRequest(contents)];
|
|
3020
3022
|
}
|
|
3021
3023
|
});
|
|
3022
3024
|
}); };
|
|
@@ -3028,9 +3030,6 @@ var parseBody = function (streamBody, context) {
|
|
|
3028
3030
|
return {};
|
|
3029
3031
|
});
|
|
3030
3032
|
};
|
|
3031
|
-
/**
|
|
3032
|
-
* Load an error code for the aws.rest-json-1.1 protocol.
|
|
3033
|
-
*/
|
|
3034
3033
|
var loadRestJsonErrorCode = function (output, data) {
|
|
3035
3034
|
var findKey = function (object, key) { return Object.keys(object).find(function (k) { return k.toLowerCase() === key.toLowerCase(); }); };
|
|
3036
3035
|
var sanitizeErrorCode = function (rawValue) {
|