@aws-sdk/client-cost-explorer 3.303.0 → 3.309.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/commands/CreateAnomalyMonitorCommand.js +2 -2
- package/dist-cjs/commands/CreateAnomalySubscriptionCommand.js +2 -2
- package/dist-cjs/commands/CreateCostCategoryDefinitionCommand.js +2 -2
- package/dist-cjs/commands/DeleteAnomalyMonitorCommand.js +2 -2
- package/dist-cjs/commands/DeleteAnomalySubscriptionCommand.js +2 -2
- package/dist-cjs/commands/DeleteCostCategoryDefinitionCommand.js +2 -2
- package/dist-cjs/commands/DescribeCostCategoryDefinitionCommand.js +2 -2
- package/dist-cjs/commands/GetAnomaliesCommand.js +2 -2
- package/dist-cjs/commands/GetAnomalyMonitorsCommand.js +2 -2
- package/dist-cjs/commands/GetAnomalySubscriptionsCommand.js +2 -2
- package/dist-cjs/commands/GetCostAndUsageCommand.js +2 -2
- package/dist-cjs/commands/GetCostAndUsageWithResourcesCommand.js +2 -2
- package/dist-cjs/commands/GetCostCategoriesCommand.js +2 -2
- package/dist-cjs/commands/GetCostForecastCommand.js +2 -2
- package/dist-cjs/commands/GetDimensionValuesCommand.js +2 -2
- package/dist-cjs/commands/GetReservationCoverageCommand.js +2 -2
- package/dist-cjs/commands/GetReservationPurchaseRecommendationCommand.js +2 -2
- package/dist-cjs/commands/GetReservationUtilizationCommand.js +2 -2
- package/dist-cjs/commands/GetRightsizingRecommendationCommand.js +2 -2
- package/dist-cjs/commands/GetSavingsPlansCoverageCommand.js +2 -2
- package/dist-cjs/commands/GetSavingsPlansPurchaseRecommendationCommand.js +2 -2
- package/dist-cjs/commands/GetSavingsPlansUtilizationCommand.js +2 -2
- package/dist-cjs/commands/GetSavingsPlansUtilizationDetailsCommand.js +2 -2
- package/dist-cjs/commands/GetTagsCommand.js +2 -2
- package/dist-cjs/commands/GetUsageForecastCommand.js +2 -2
- package/dist-cjs/commands/ListCostAllocationTagsCommand.js +2 -2
- package/dist-cjs/commands/ListCostCategoryDefinitionsCommand.js +2 -2
- package/dist-cjs/commands/ListSavingsPlansPurchaseRecommendationGenerationCommand.js +2 -2
- package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-cjs/commands/ProvideAnomalyFeedbackCommand.js +2 -2
- package/dist-cjs/commands/StartSavingsPlansPurchaseRecommendationGenerationCommand.js +2 -2
- package/dist-cjs/commands/TagResourceCommand.js +2 -2
- package/dist-cjs/commands/UntagResourceCommand.js +2 -2
- package/dist-cjs/commands/UpdateAnomalyMonitorCommand.js +2 -2
- package/dist-cjs/commands/UpdateAnomalySubscriptionCommand.js +2 -2
- package/dist-cjs/commands/UpdateCostAllocationTagsStatusCommand.js +2 -2
- package/dist-cjs/commands/UpdateCostCategoryDefinitionCommand.js +2 -2
- package/dist-cjs/protocols/Aws_json1_1.js +935 -1041
- package/dist-es/commands/CreateAnomalyMonitorCommand.js +3 -3
- package/dist-es/commands/CreateAnomalySubscriptionCommand.js +3 -3
- package/dist-es/commands/CreateCostCategoryDefinitionCommand.js +3 -3
- package/dist-es/commands/DeleteAnomalyMonitorCommand.js +3 -3
- package/dist-es/commands/DeleteAnomalySubscriptionCommand.js +3 -3
- package/dist-es/commands/DeleteCostCategoryDefinitionCommand.js +3 -3
- package/dist-es/commands/DescribeCostCategoryDefinitionCommand.js +3 -3
- package/dist-es/commands/GetAnomaliesCommand.js +3 -3
- package/dist-es/commands/GetAnomalyMonitorsCommand.js +3 -3
- package/dist-es/commands/GetAnomalySubscriptionsCommand.js +3 -3
- package/dist-es/commands/GetCostAndUsageCommand.js +3 -3
- package/dist-es/commands/GetCostAndUsageWithResourcesCommand.js +3 -3
- package/dist-es/commands/GetCostCategoriesCommand.js +3 -3
- package/dist-es/commands/GetCostForecastCommand.js +3 -3
- package/dist-es/commands/GetDimensionValuesCommand.js +3 -3
- package/dist-es/commands/GetReservationCoverageCommand.js +3 -3
- package/dist-es/commands/GetReservationPurchaseRecommendationCommand.js +3 -3
- package/dist-es/commands/GetReservationUtilizationCommand.js +3 -3
- package/dist-es/commands/GetRightsizingRecommendationCommand.js +3 -3
- package/dist-es/commands/GetSavingsPlansCoverageCommand.js +3 -3
- package/dist-es/commands/GetSavingsPlansPurchaseRecommendationCommand.js +3 -3
- package/dist-es/commands/GetSavingsPlansUtilizationCommand.js +3 -3
- package/dist-es/commands/GetSavingsPlansUtilizationDetailsCommand.js +3 -3
- package/dist-es/commands/GetTagsCommand.js +3 -3
- package/dist-es/commands/GetUsageForecastCommand.js +3 -3
- package/dist-es/commands/ListCostAllocationTagsCommand.js +3 -3
- package/dist-es/commands/ListCostCategoryDefinitionsCommand.js +3 -3
- package/dist-es/commands/ListSavingsPlansPurchaseRecommendationGenerationCommand.js +3 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-es/commands/ProvideAnomalyFeedbackCommand.js +3 -3
- package/dist-es/commands/StartSavingsPlansPurchaseRecommendationGenerationCommand.js +3 -3
- package/dist-es/commands/TagResourceCommand.js +3 -3
- package/dist-es/commands/UntagResourceCommand.js +3 -3
- package/dist-es/commands/UpdateAnomalyMonitorCommand.js +3 -3
- package/dist-es/commands/UpdateAnomalySubscriptionCommand.js +3 -3
- package/dist-es/commands/UpdateCostAllocationTagsStatusCommand.js +3 -3
- package/dist-es/commands/UpdateCostCategoryDefinitionCommand.js +3 -3
- package/dist-es/protocols/Aws_json1_1.js +859 -965
- package/dist-types/protocols/Aws_json1_1.d.ts +296 -74
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +74 -74
- package/package.json +29 -29
|
@@ -2,353 +2,353 @@ import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
|
2
2
|
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectString as __expectString, limitedParseDouble as __limitedParseDouble, serializeFloat as __serializeFloat, throwDefaultError, } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { CostExplorerServiceException as __BaseException } from "../models/CostExplorerServiceException";
|
|
4
4
|
import { BillExpirationException, DataUnavailableException, GenerationExistsException, InvalidNextTokenException, LimitExceededException, RequestChangedException, ResourceNotFoundException, ServiceQuotaExceededException, TooManyTagsException, UnknownMonitorException, UnknownSubscriptionException, UnresolvableUsageUnitException, } from "../models/models_0";
|
|
5
|
-
export const
|
|
5
|
+
export const se_CreateAnomalyMonitorCommand = async (input, context) => {
|
|
6
6
|
const headers = {
|
|
7
7
|
"content-type": "application/x-amz-json-1.1",
|
|
8
8
|
"x-amz-target": "AWSInsightsIndexService.CreateAnomalyMonitor",
|
|
9
9
|
};
|
|
10
10
|
let body;
|
|
11
|
-
body = JSON.stringify(
|
|
11
|
+
body = JSON.stringify(se_CreateAnomalyMonitorRequest(input, context));
|
|
12
12
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
13
13
|
};
|
|
14
|
-
export const
|
|
14
|
+
export const se_CreateAnomalySubscriptionCommand = async (input, context) => {
|
|
15
15
|
const headers = {
|
|
16
16
|
"content-type": "application/x-amz-json-1.1",
|
|
17
17
|
"x-amz-target": "AWSInsightsIndexService.CreateAnomalySubscription",
|
|
18
18
|
};
|
|
19
19
|
let body;
|
|
20
|
-
body = JSON.stringify(
|
|
20
|
+
body = JSON.stringify(se_CreateAnomalySubscriptionRequest(input, context));
|
|
21
21
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
22
22
|
};
|
|
23
|
-
export const
|
|
23
|
+
export const se_CreateCostCategoryDefinitionCommand = async (input, context) => {
|
|
24
24
|
const headers = {
|
|
25
25
|
"content-type": "application/x-amz-json-1.1",
|
|
26
26
|
"x-amz-target": "AWSInsightsIndexService.CreateCostCategoryDefinition",
|
|
27
27
|
};
|
|
28
28
|
let body;
|
|
29
|
-
body = JSON.stringify(
|
|
29
|
+
body = JSON.stringify(se_CreateCostCategoryDefinitionRequest(input, context));
|
|
30
30
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
31
31
|
};
|
|
32
|
-
export const
|
|
32
|
+
export const se_DeleteAnomalyMonitorCommand = async (input, context) => {
|
|
33
33
|
const headers = {
|
|
34
34
|
"content-type": "application/x-amz-json-1.1",
|
|
35
35
|
"x-amz-target": "AWSInsightsIndexService.DeleteAnomalyMonitor",
|
|
36
36
|
};
|
|
37
37
|
let body;
|
|
38
|
-
body = JSON.stringify(
|
|
38
|
+
body = JSON.stringify(se_DeleteAnomalyMonitorRequest(input, context));
|
|
39
39
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
40
40
|
};
|
|
41
|
-
export const
|
|
41
|
+
export const se_DeleteAnomalySubscriptionCommand = async (input, context) => {
|
|
42
42
|
const headers = {
|
|
43
43
|
"content-type": "application/x-amz-json-1.1",
|
|
44
44
|
"x-amz-target": "AWSInsightsIndexService.DeleteAnomalySubscription",
|
|
45
45
|
};
|
|
46
46
|
let body;
|
|
47
|
-
body = JSON.stringify(
|
|
47
|
+
body = JSON.stringify(se_DeleteAnomalySubscriptionRequest(input, context));
|
|
48
48
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
49
49
|
};
|
|
50
|
-
export const
|
|
50
|
+
export const se_DeleteCostCategoryDefinitionCommand = async (input, context) => {
|
|
51
51
|
const headers = {
|
|
52
52
|
"content-type": "application/x-amz-json-1.1",
|
|
53
53
|
"x-amz-target": "AWSInsightsIndexService.DeleteCostCategoryDefinition",
|
|
54
54
|
};
|
|
55
55
|
let body;
|
|
56
|
-
body = JSON.stringify(
|
|
56
|
+
body = JSON.stringify(se_DeleteCostCategoryDefinitionRequest(input, context));
|
|
57
57
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
58
58
|
};
|
|
59
|
-
export const
|
|
59
|
+
export const se_DescribeCostCategoryDefinitionCommand = async (input, context) => {
|
|
60
60
|
const headers = {
|
|
61
61
|
"content-type": "application/x-amz-json-1.1",
|
|
62
62
|
"x-amz-target": "AWSInsightsIndexService.DescribeCostCategoryDefinition",
|
|
63
63
|
};
|
|
64
64
|
let body;
|
|
65
|
-
body = JSON.stringify(
|
|
65
|
+
body = JSON.stringify(se_DescribeCostCategoryDefinitionRequest(input, context));
|
|
66
66
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
67
67
|
};
|
|
68
|
-
export const
|
|
68
|
+
export const se_GetAnomaliesCommand = async (input, context) => {
|
|
69
69
|
const headers = {
|
|
70
70
|
"content-type": "application/x-amz-json-1.1",
|
|
71
71
|
"x-amz-target": "AWSInsightsIndexService.GetAnomalies",
|
|
72
72
|
};
|
|
73
73
|
let body;
|
|
74
|
-
body = JSON.stringify(
|
|
74
|
+
body = JSON.stringify(se_GetAnomaliesRequest(input, context));
|
|
75
75
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
76
76
|
};
|
|
77
|
-
export const
|
|
77
|
+
export const se_GetAnomalyMonitorsCommand = async (input, context) => {
|
|
78
78
|
const headers = {
|
|
79
79
|
"content-type": "application/x-amz-json-1.1",
|
|
80
80
|
"x-amz-target": "AWSInsightsIndexService.GetAnomalyMonitors",
|
|
81
81
|
};
|
|
82
82
|
let body;
|
|
83
|
-
body = JSON.stringify(
|
|
83
|
+
body = JSON.stringify(se_GetAnomalyMonitorsRequest(input, context));
|
|
84
84
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
85
85
|
};
|
|
86
|
-
export const
|
|
86
|
+
export const se_GetAnomalySubscriptionsCommand = async (input, context) => {
|
|
87
87
|
const headers = {
|
|
88
88
|
"content-type": "application/x-amz-json-1.1",
|
|
89
89
|
"x-amz-target": "AWSInsightsIndexService.GetAnomalySubscriptions",
|
|
90
90
|
};
|
|
91
91
|
let body;
|
|
92
|
-
body = JSON.stringify(
|
|
92
|
+
body = JSON.stringify(se_GetAnomalySubscriptionsRequest(input, context));
|
|
93
93
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
94
94
|
};
|
|
95
|
-
export const
|
|
95
|
+
export const se_GetCostAndUsageCommand = async (input, context) => {
|
|
96
96
|
const headers = {
|
|
97
97
|
"content-type": "application/x-amz-json-1.1",
|
|
98
98
|
"x-amz-target": "AWSInsightsIndexService.GetCostAndUsage",
|
|
99
99
|
};
|
|
100
100
|
let body;
|
|
101
|
-
body = JSON.stringify(
|
|
101
|
+
body = JSON.stringify(se_GetCostAndUsageRequest(input, context));
|
|
102
102
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
103
103
|
};
|
|
104
|
-
export const
|
|
104
|
+
export const se_GetCostAndUsageWithResourcesCommand = async (input, context) => {
|
|
105
105
|
const headers = {
|
|
106
106
|
"content-type": "application/x-amz-json-1.1",
|
|
107
107
|
"x-amz-target": "AWSInsightsIndexService.GetCostAndUsageWithResources",
|
|
108
108
|
};
|
|
109
109
|
let body;
|
|
110
|
-
body = JSON.stringify(
|
|
110
|
+
body = JSON.stringify(se_GetCostAndUsageWithResourcesRequest(input, context));
|
|
111
111
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
112
112
|
};
|
|
113
|
-
export const
|
|
113
|
+
export const se_GetCostCategoriesCommand = async (input, context) => {
|
|
114
114
|
const headers = {
|
|
115
115
|
"content-type": "application/x-amz-json-1.1",
|
|
116
116
|
"x-amz-target": "AWSInsightsIndexService.GetCostCategories",
|
|
117
117
|
};
|
|
118
118
|
let body;
|
|
119
|
-
body = JSON.stringify(
|
|
119
|
+
body = JSON.stringify(se_GetCostCategoriesRequest(input, context));
|
|
120
120
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
121
121
|
};
|
|
122
|
-
export const
|
|
122
|
+
export const se_GetCostForecastCommand = async (input, context) => {
|
|
123
123
|
const headers = {
|
|
124
124
|
"content-type": "application/x-amz-json-1.1",
|
|
125
125
|
"x-amz-target": "AWSInsightsIndexService.GetCostForecast",
|
|
126
126
|
};
|
|
127
127
|
let body;
|
|
128
|
-
body = JSON.stringify(
|
|
128
|
+
body = JSON.stringify(se_GetCostForecastRequest(input, context));
|
|
129
129
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
130
130
|
};
|
|
131
|
-
export const
|
|
131
|
+
export const se_GetDimensionValuesCommand = async (input, context) => {
|
|
132
132
|
const headers = {
|
|
133
133
|
"content-type": "application/x-amz-json-1.1",
|
|
134
134
|
"x-amz-target": "AWSInsightsIndexService.GetDimensionValues",
|
|
135
135
|
};
|
|
136
136
|
let body;
|
|
137
|
-
body = JSON.stringify(
|
|
137
|
+
body = JSON.stringify(se_GetDimensionValuesRequest(input, context));
|
|
138
138
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
139
139
|
};
|
|
140
|
-
export const
|
|
140
|
+
export const se_GetReservationCoverageCommand = async (input, context) => {
|
|
141
141
|
const headers = {
|
|
142
142
|
"content-type": "application/x-amz-json-1.1",
|
|
143
143
|
"x-amz-target": "AWSInsightsIndexService.GetReservationCoverage",
|
|
144
144
|
};
|
|
145
145
|
let body;
|
|
146
|
-
body = JSON.stringify(
|
|
146
|
+
body = JSON.stringify(se_GetReservationCoverageRequest(input, context));
|
|
147
147
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
148
148
|
};
|
|
149
|
-
export const
|
|
149
|
+
export const se_GetReservationPurchaseRecommendationCommand = async (input, context) => {
|
|
150
150
|
const headers = {
|
|
151
151
|
"content-type": "application/x-amz-json-1.1",
|
|
152
152
|
"x-amz-target": "AWSInsightsIndexService.GetReservationPurchaseRecommendation",
|
|
153
153
|
};
|
|
154
154
|
let body;
|
|
155
|
-
body = JSON.stringify(
|
|
155
|
+
body = JSON.stringify(se_GetReservationPurchaseRecommendationRequest(input, context));
|
|
156
156
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
157
157
|
};
|
|
158
|
-
export const
|
|
158
|
+
export const se_GetReservationUtilizationCommand = async (input, context) => {
|
|
159
159
|
const headers = {
|
|
160
160
|
"content-type": "application/x-amz-json-1.1",
|
|
161
161
|
"x-amz-target": "AWSInsightsIndexService.GetReservationUtilization",
|
|
162
162
|
};
|
|
163
163
|
let body;
|
|
164
|
-
body = JSON.stringify(
|
|
164
|
+
body = JSON.stringify(se_GetReservationUtilizationRequest(input, context));
|
|
165
165
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
166
166
|
};
|
|
167
|
-
export const
|
|
167
|
+
export const se_GetRightsizingRecommendationCommand = async (input, context) => {
|
|
168
168
|
const headers = {
|
|
169
169
|
"content-type": "application/x-amz-json-1.1",
|
|
170
170
|
"x-amz-target": "AWSInsightsIndexService.GetRightsizingRecommendation",
|
|
171
171
|
};
|
|
172
172
|
let body;
|
|
173
|
-
body = JSON.stringify(
|
|
173
|
+
body = JSON.stringify(se_GetRightsizingRecommendationRequest(input, context));
|
|
174
174
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
175
175
|
};
|
|
176
|
-
export const
|
|
176
|
+
export const se_GetSavingsPlansCoverageCommand = async (input, context) => {
|
|
177
177
|
const headers = {
|
|
178
178
|
"content-type": "application/x-amz-json-1.1",
|
|
179
179
|
"x-amz-target": "AWSInsightsIndexService.GetSavingsPlansCoverage",
|
|
180
180
|
};
|
|
181
181
|
let body;
|
|
182
|
-
body = JSON.stringify(
|
|
182
|
+
body = JSON.stringify(se_GetSavingsPlansCoverageRequest(input, context));
|
|
183
183
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
184
184
|
};
|
|
185
|
-
export const
|
|
185
|
+
export const se_GetSavingsPlansPurchaseRecommendationCommand = async (input, context) => {
|
|
186
186
|
const headers = {
|
|
187
187
|
"content-type": "application/x-amz-json-1.1",
|
|
188
188
|
"x-amz-target": "AWSInsightsIndexService.GetSavingsPlansPurchaseRecommendation",
|
|
189
189
|
};
|
|
190
190
|
let body;
|
|
191
|
-
body = JSON.stringify(
|
|
191
|
+
body = JSON.stringify(se_GetSavingsPlansPurchaseRecommendationRequest(input, context));
|
|
192
192
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
193
193
|
};
|
|
194
|
-
export const
|
|
194
|
+
export const se_GetSavingsPlansUtilizationCommand = async (input, context) => {
|
|
195
195
|
const headers = {
|
|
196
196
|
"content-type": "application/x-amz-json-1.1",
|
|
197
197
|
"x-amz-target": "AWSInsightsIndexService.GetSavingsPlansUtilization",
|
|
198
198
|
};
|
|
199
199
|
let body;
|
|
200
|
-
body = JSON.stringify(
|
|
200
|
+
body = JSON.stringify(se_GetSavingsPlansUtilizationRequest(input, context));
|
|
201
201
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
202
202
|
};
|
|
203
|
-
export const
|
|
203
|
+
export const se_GetSavingsPlansUtilizationDetailsCommand = async (input, context) => {
|
|
204
204
|
const headers = {
|
|
205
205
|
"content-type": "application/x-amz-json-1.1",
|
|
206
206
|
"x-amz-target": "AWSInsightsIndexService.GetSavingsPlansUtilizationDetails",
|
|
207
207
|
};
|
|
208
208
|
let body;
|
|
209
|
-
body = JSON.stringify(
|
|
209
|
+
body = JSON.stringify(se_GetSavingsPlansUtilizationDetailsRequest(input, context));
|
|
210
210
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
211
211
|
};
|
|
212
|
-
export const
|
|
212
|
+
export const se_GetTagsCommand = async (input, context) => {
|
|
213
213
|
const headers = {
|
|
214
214
|
"content-type": "application/x-amz-json-1.1",
|
|
215
215
|
"x-amz-target": "AWSInsightsIndexService.GetTags",
|
|
216
216
|
};
|
|
217
217
|
let body;
|
|
218
|
-
body = JSON.stringify(
|
|
218
|
+
body = JSON.stringify(se_GetTagsRequest(input, context));
|
|
219
219
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
220
220
|
};
|
|
221
|
-
export const
|
|
221
|
+
export const se_GetUsageForecastCommand = async (input, context) => {
|
|
222
222
|
const headers = {
|
|
223
223
|
"content-type": "application/x-amz-json-1.1",
|
|
224
224
|
"x-amz-target": "AWSInsightsIndexService.GetUsageForecast",
|
|
225
225
|
};
|
|
226
226
|
let body;
|
|
227
|
-
body = JSON.stringify(
|
|
227
|
+
body = JSON.stringify(se_GetUsageForecastRequest(input, context));
|
|
228
228
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
229
229
|
};
|
|
230
|
-
export const
|
|
230
|
+
export const se_ListCostAllocationTagsCommand = async (input, context) => {
|
|
231
231
|
const headers = {
|
|
232
232
|
"content-type": "application/x-amz-json-1.1",
|
|
233
233
|
"x-amz-target": "AWSInsightsIndexService.ListCostAllocationTags",
|
|
234
234
|
};
|
|
235
235
|
let body;
|
|
236
|
-
body = JSON.stringify(
|
|
236
|
+
body = JSON.stringify(se_ListCostAllocationTagsRequest(input, context));
|
|
237
237
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
238
238
|
};
|
|
239
|
-
export const
|
|
239
|
+
export const se_ListCostCategoryDefinitionsCommand = async (input, context) => {
|
|
240
240
|
const headers = {
|
|
241
241
|
"content-type": "application/x-amz-json-1.1",
|
|
242
242
|
"x-amz-target": "AWSInsightsIndexService.ListCostCategoryDefinitions",
|
|
243
243
|
};
|
|
244
244
|
let body;
|
|
245
|
-
body = JSON.stringify(
|
|
245
|
+
body = JSON.stringify(se_ListCostCategoryDefinitionsRequest(input, context));
|
|
246
246
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
247
247
|
};
|
|
248
|
-
export const
|
|
248
|
+
export const se_ListSavingsPlansPurchaseRecommendationGenerationCommand = async (input, context) => {
|
|
249
249
|
const headers = {
|
|
250
250
|
"content-type": "application/x-amz-json-1.1",
|
|
251
251
|
"x-amz-target": "AWSInsightsIndexService.ListSavingsPlansPurchaseRecommendationGeneration",
|
|
252
252
|
};
|
|
253
253
|
let body;
|
|
254
|
-
body = JSON.stringify(
|
|
254
|
+
body = JSON.stringify(se_ListSavingsPlansPurchaseRecommendationGenerationRequest(input, context));
|
|
255
255
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
256
256
|
};
|
|
257
|
-
export const
|
|
257
|
+
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
258
258
|
const headers = {
|
|
259
259
|
"content-type": "application/x-amz-json-1.1",
|
|
260
260
|
"x-amz-target": "AWSInsightsIndexService.ListTagsForResource",
|
|
261
261
|
};
|
|
262
262
|
let body;
|
|
263
|
-
body = JSON.stringify(
|
|
263
|
+
body = JSON.stringify(se_ListTagsForResourceRequest(input, context));
|
|
264
264
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
265
265
|
};
|
|
266
|
-
export const
|
|
266
|
+
export const se_ProvideAnomalyFeedbackCommand = async (input, context) => {
|
|
267
267
|
const headers = {
|
|
268
268
|
"content-type": "application/x-amz-json-1.1",
|
|
269
269
|
"x-amz-target": "AWSInsightsIndexService.ProvideAnomalyFeedback",
|
|
270
270
|
};
|
|
271
271
|
let body;
|
|
272
|
-
body = JSON.stringify(
|
|
272
|
+
body = JSON.stringify(se_ProvideAnomalyFeedbackRequest(input, context));
|
|
273
273
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
274
274
|
};
|
|
275
|
-
export const
|
|
275
|
+
export const se_StartSavingsPlansPurchaseRecommendationGenerationCommand = async (input, context) => {
|
|
276
276
|
const headers = {
|
|
277
277
|
"content-type": "application/x-amz-json-1.1",
|
|
278
278
|
"x-amz-target": "AWSInsightsIndexService.StartSavingsPlansPurchaseRecommendationGeneration",
|
|
279
279
|
};
|
|
280
280
|
let body;
|
|
281
|
-
body = JSON.stringify(
|
|
281
|
+
body = JSON.stringify(se_StartSavingsPlansPurchaseRecommendationGenerationRequest(input, context));
|
|
282
282
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
283
283
|
};
|
|
284
|
-
export const
|
|
284
|
+
export const se_TagResourceCommand = async (input, context) => {
|
|
285
285
|
const headers = {
|
|
286
286
|
"content-type": "application/x-amz-json-1.1",
|
|
287
287
|
"x-amz-target": "AWSInsightsIndexService.TagResource",
|
|
288
288
|
};
|
|
289
289
|
let body;
|
|
290
|
-
body = JSON.stringify(
|
|
290
|
+
body = JSON.stringify(se_TagResourceRequest(input, context));
|
|
291
291
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
292
292
|
};
|
|
293
|
-
export const
|
|
293
|
+
export const se_UntagResourceCommand = async (input, context) => {
|
|
294
294
|
const headers = {
|
|
295
295
|
"content-type": "application/x-amz-json-1.1",
|
|
296
296
|
"x-amz-target": "AWSInsightsIndexService.UntagResource",
|
|
297
297
|
};
|
|
298
298
|
let body;
|
|
299
|
-
body = JSON.stringify(
|
|
299
|
+
body = JSON.stringify(se_UntagResourceRequest(input, context));
|
|
300
300
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
301
301
|
};
|
|
302
|
-
export const
|
|
302
|
+
export const se_UpdateAnomalyMonitorCommand = async (input, context) => {
|
|
303
303
|
const headers = {
|
|
304
304
|
"content-type": "application/x-amz-json-1.1",
|
|
305
305
|
"x-amz-target": "AWSInsightsIndexService.UpdateAnomalyMonitor",
|
|
306
306
|
};
|
|
307
307
|
let body;
|
|
308
|
-
body = JSON.stringify(
|
|
308
|
+
body = JSON.stringify(se_UpdateAnomalyMonitorRequest(input, context));
|
|
309
309
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
310
310
|
};
|
|
311
|
-
export const
|
|
311
|
+
export const se_UpdateAnomalySubscriptionCommand = async (input, context) => {
|
|
312
312
|
const headers = {
|
|
313
313
|
"content-type": "application/x-amz-json-1.1",
|
|
314
314
|
"x-amz-target": "AWSInsightsIndexService.UpdateAnomalySubscription",
|
|
315
315
|
};
|
|
316
316
|
let body;
|
|
317
|
-
body = JSON.stringify(
|
|
317
|
+
body = JSON.stringify(se_UpdateAnomalySubscriptionRequest(input, context));
|
|
318
318
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
319
319
|
};
|
|
320
|
-
export const
|
|
320
|
+
export const se_UpdateCostAllocationTagsStatusCommand = async (input, context) => {
|
|
321
321
|
const headers = {
|
|
322
322
|
"content-type": "application/x-amz-json-1.1",
|
|
323
323
|
"x-amz-target": "AWSInsightsIndexService.UpdateCostAllocationTagsStatus",
|
|
324
324
|
};
|
|
325
325
|
let body;
|
|
326
|
-
body = JSON.stringify(
|
|
326
|
+
body = JSON.stringify(se_UpdateCostAllocationTagsStatusRequest(input, context));
|
|
327
327
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
328
328
|
};
|
|
329
|
-
export const
|
|
329
|
+
export const se_UpdateCostCategoryDefinitionCommand = async (input, context) => {
|
|
330
330
|
const headers = {
|
|
331
331
|
"content-type": "application/x-amz-json-1.1",
|
|
332
332
|
"x-amz-target": "AWSInsightsIndexService.UpdateCostCategoryDefinition",
|
|
333
333
|
};
|
|
334
334
|
let body;
|
|
335
|
-
body = JSON.stringify(
|
|
335
|
+
body = JSON.stringify(se_UpdateCostCategoryDefinitionRequest(input, context));
|
|
336
336
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
337
337
|
};
|
|
338
|
-
export const
|
|
338
|
+
export const de_CreateAnomalyMonitorCommand = async (output, context) => {
|
|
339
339
|
if (output.statusCode >= 300) {
|
|
340
|
-
return
|
|
340
|
+
return de_CreateAnomalyMonitorCommandError(output, context);
|
|
341
341
|
}
|
|
342
342
|
const data = await parseBody(output.body, context);
|
|
343
343
|
let contents = {};
|
|
344
|
-
contents =
|
|
344
|
+
contents = de_CreateAnomalyMonitorResponse(data, context);
|
|
345
345
|
const response = {
|
|
346
346
|
$metadata: deserializeMetadata(output),
|
|
347
347
|
...contents,
|
|
348
348
|
};
|
|
349
349
|
return Promise.resolve(response);
|
|
350
350
|
};
|
|
351
|
-
const
|
|
351
|
+
const de_CreateAnomalyMonitorCommandError = async (output, context) => {
|
|
352
352
|
const parsedOutput = {
|
|
353
353
|
...output,
|
|
354
354
|
body: await parseErrorBody(output.body, context),
|
|
@@ -357,7 +357,7 @@ const deserializeAws_json1_1CreateAnomalyMonitorCommandError = async (output, co
|
|
|
357
357
|
switch (errorCode) {
|
|
358
358
|
case "LimitExceededException":
|
|
359
359
|
case "com.amazonaws.costexplorer#LimitExceededException":
|
|
360
|
-
throw await
|
|
360
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
361
361
|
default:
|
|
362
362
|
const parsedBody = parsedOutput.body;
|
|
363
363
|
throwDefaultError({
|
|
@@ -368,20 +368,20 @@ const deserializeAws_json1_1CreateAnomalyMonitorCommandError = async (output, co
|
|
|
368
368
|
});
|
|
369
369
|
}
|
|
370
370
|
};
|
|
371
|
-
export const
|
|
371
|
+
export const de_CreateAnomalySubscriptionCommand = async (output, context) => {
|
|
372
372
|
if (output.statusCode >= 300) {
|
|
373
|
-
return
|
|
373
|
+
return de_CreateAnomalySubscriptionCommandError(output, context);
|
|
374
374
|
}
|
|
375
375
|
const data = await parseBody(output.body, context);
|
|
376
376
|
let contents = {};
|
|
377
|
-
contents =
|
|
377
|
+
contents = de_CreateAnomalySubscriptionResponse(data, context);
|
|
378
378
|
const response = {
|
|
379
379
|
$metadata: deserializeMetadata(output),
|
|
380
380
|
...contents,
|
|
381
381
|
};
|
|
382
382
|
return Promise.resolve(response);
|
|
383
383
|
};
|
|
384
|
-
const
|
|
384
|
+
const de_CreateAnomalySubscriptionCommandError = async (output, context) => {
|
|
385
385
|
const parsedOutput = {
|
|
386
386
|
...output,
|
|
387
387
|
body: await parseErrorBody(output.body, context),
|
|
@@ -390,10 +390,10 @@ const deserializeAws_json1_1CreateAnomalySubscriptionCommandError = async (outpu
|
|
|
390
390
|
switch (errorCode) {
|
|
391
391
|
case "LimitExceededException":
|
|
392
392
|
case "com.amazonaws.costexplorer#LimitExceededException":
|
|
393
|
-
throw await
|
|
393
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
394
394
|
case "UnknownMonitorException":
|
|
395
395
|
case "com.amazonaws.costexplorer#UnknownMonitorException":
|
|
396
|
-
throw await
|
|
396
|
+
throw await de_UnknownMonitorExceptionRes(parsedOutput, context);
|
|
397
397
|
default:
|
|
398
398
|
const parsedBody = parsedOutput.body;
|
|
399
399
|
throwDefaultError({
|
|
@@ -404,20 +404,20 @@ const deserializeAws_json1_1CreateAnomalySubscriptionCommandError = async (outpu
|
|
|
404
404
|
});
|
|
405
405
|
}
|
|
406
406
|
};
|
|
407
|
-
export const
|
|
407
|
+
export const de_CreateCostCategoryDefinitionCommand = async (output, context) => {
|
|
408
408
|
if (output.statusCode >= 300) {
|
|
409
|
-
return
|
|
409
|
+
return de_CreateCostCategoryDefinitionCommandError(output, context);
|
|
410
410
|
}
|
|
411
411
|
const data = await parseBody(output.body, context);
|
|
412
412
|
let contents = {};
|
|
413
|
-
contents =
|
|
413
|
+
contents = de_CreateCostCategoryDefinitionResponse(data, context);
|
|
414
414
|
const response = {
|
|
415
415
|
$metadata: deserializeMetadata(output),
|
|
416
416
|
...contents,
|
|
417
417
|
};
|
|
418
418
|
return Promise.resolve(response);
|
|
419
419
|
};
|
|
420
|
-
const
|
|
420
|
+
const de_CreateCostCategoryDefinitionCommandError = async (output, context) => {
|
|
421
421
|
const parsedOutput = {
|
|
422
422
|
...output,
|
|
423
423
|
body: await parseErrorBody(output.body, context),
|
|
@@ -426,10 +426,10 @@ const deserializeAws_json1_1CreateCostCategoryDefinitionCommandError = async (ou
|
|
|
426
426
|
switch (errorCode) {
|
|
427
427
|
case "LimitExceededException":
|
|
428
428
|
case "com.amazonaws.costexplorer#LimitExceededException":
|
|
429
|
-
throw await
|
|
429
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
430
430
|
case "ServiceQuotaExceededException":
|
|
431
431
|
case "com.amazonaws.costexplorer#ServiceQuotaExceededException":
|
|
432
|
-
throw await
|
|
432
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
433
433
|
default:
|
|
434
434
|
const parsedBody = parsedOutput.body;
|
|
435
435
|
throwDefaultError({
|
|
@@ -440,20 +440,20 @@ const deserializeAws_json1_1CreateCostCategoryDefinitionCommandError = async (ou
|
|
|
440
440
|
});
|
|
441
441
|
}
|
|
442
442
|
};
|
|
443
|
-
export const
|
|
443
|
+
export const de_DeleteAnomalyMonitorCommand = async (output, context) => {
|
|
444
444
|
if (output.statusCode >= 300) {
|
|
445
|
-
return
|
|
445
|
+
return de_DeleteAnomalyMonitorCommandError(output, context);
|
|
446
446
|
}
|
|
447
447
|
const data = await parseBody(output.body, context);
|
|
448
448
|
let contents = {};
|
|
449
|
-
contents =
|
|
449
|
+
contents = de_DeleteAnomalyMonitorResponse(data, context);
|
|
450
450
|
const response = {
|
|
451
451
|
$metadata: deserializeMetadata(output),
|
|
452
452
|
...contents,
|
|
453
453
|
};
|
|
454
454
|
return Promise.resolve(response);
|
|
455
455
|
};
|
|
456
|
-
const
|
|
456
|
+
const de_DeleteAnomalyMonitorCommandError = async (output, context) => {
|
|
457
457
|
const parsedOutput = {
|
|
458
458
|
...output,
|
|
459
459
|
body: await parseErrorBody(output.body, context),
|
|
@@ -462,10 +462,10 @@ const deserializeAws_json1_1DeleteAnomalyMonitorCommandError = async (output, co
|
|
|
462
462
|
switch (errorCode) {
|
|
463
463
|
case "LimitExceededException":
|
|
464
464
|
case "com.amazonaws.costexplorer#LimitExceededException":
|
|
465
|
-
throw await
|
|
465
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
466
466
|
case "UnknownMonitorException":
|
|
467
467
|
case "com.amazonaws.costexplorer#UnknownMonitorException":
|
|
468
|
-
throw await
|
|
468
|
+
throw await de_UnknownMonitorExceptionRes(parsedOutput, context);
|
|
469
469
|
default:
|
|
470
470
|
const parsedBody = parsedOutput.body;
|
|
471
471
|
throwDefaultError({
|
|
@@ -476,20 +476,20 @@ const deserializeAws_json1_1DeleteAnomalyMonitorCommandError = async (output, co
|
|
|
476
476
|
});
|
|
477
477
|
}
|
|
478
478
|
};
|
|
479
|
-
export const
|
|
479
|
+
export const de_DeleteAnomalySubscriptionCommand = async (output, context) => {
|
|
480
480
|
if (output.statusCode >= 300) {
|
|
481
|
-
return
|
|
481
|
+
return de_DeleteAnomalySubscriptionCommandError(output, context);
|
|
482
482
|
}
|
|
483
483
|
const data = await parseBody(output.body, context);
|
|
484
484
|
let contents = {};
|
|
485
|
-
contents =
|
|
485
|
+
contents = de_DeleteAnomalySubscriptionResponse(data, context);
|
|
486
486
|
const response = {
|
|
487
487
|
$metadata: deserializeMetadata(output),
|
|
488
488
|
...contents,
|
|
489
489
|
};
|
|
490
490
|
return Promise.resolve(response);
|
|
491
491
|
};
|
|
492
|
-
const
|
|
492
|
+
const de_DeleteAnomalySubscriptionCommandError = async (output, context) => {
|
|
493
493
|
const parsedOutput = {
|
|
494
494
|
...output,
|
|
495
495
|
body: await parseErrorBody(output.body, context),
|
|
@@ -498,10 +498,10 @@ const deserializeAws_json1_1DeleteAnomalySubscriptionCommandError = async (outpu
|
|
|
498
498
|
switch (errorCode) {
|
|
499
499
|
case "LimitExceededException":
|
|
500
500
|
case "com.amazonaws.costexplorer#LimitExceededException":
|
|
501
|
-
throw await
|
|
501
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
502
502
|
case "UnknownSubscriptionException":
|
|
503
503
|
case "com.amazonaws.costexplorer#UnknownSubscriptionException":
|
|
504
|
-
throw await
|
|
504
|
+
throw await de_UnknownSubscriptionExceptionRes(parsedOutput, context);
|
|
505
505
|
default:
|
|
506
506
|
const parsedBody = parsedOutput.body;
|
|
507
507
|
throwDefaultError({
|
|
@@ -512,20 +512,20 @@ const deserializeAws_json1_1DeleteAnomalySubscriptionCommandError = async (outpu
|
|
|
512
512
|
});
|
|
513
513
|
}
|
|
514
514
|
};
|
|
515
|
-
export const
|
|
515
|
+
export const de_DeleteCostCategoryDefinitionCommand = async (output, context) => {
|
|
516
516
|
if (output.statusCode >= 300) {
|
|
517
|
-
return
|
|
517
|
+
return de_DeleteCostCategoryDefinitionCommandError(output, context);
|
|
518
518
|
}
|
|
519
519
|
const data = await parseBody(output.body, context);
|
|
520
520
|
let contents = {};
|
|
521
|
-
contents =
|
|
521
|
+
contents = de_DeleteCostCategoryDefinitionResponse(data, context);
|
|
522
522
|
const response = {
|
|
523
523
|
$metadata: deserializeMetadata(output),
|
|
524
524
|
...contents,
|
|
525
525
|
};
|
|
526
526
|
return Promise.resolve(response);
|
|
527
527
|
};
|
|
528
|
-
const
|
|
528
|
+
const de_DeleteCostCategoryDefinitionCommandError = async (output, context) => {
|
|
529
529
|
const parsedOutput = {
|
|
530
530
|
...output,
|
|
531
531
|
body: await parseErrorBody(output.body, context),
|
|
@@ -534,10 +534,10 @@ const deserializeAws_json1_1DeleteCostCategoryDefinitionCommandError = async (ou
|
|
|
534
534
|
switch (errorCode) {
|
|
535
535
|
case "LimitExceededException":
|
|
536
536
|
case "com.amazonaws.costexplorer#LimitExceededException":
|
|
537
|
-
throw await
|
|
537
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
538
538
|
case "ResourceNotFoundException":
|
|
539
539
|
case "com.amazonaws.costexplorer#ResourceNotFoundException":
|
|
540
|
-
throw await
|
|
540
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
541
541
|
default:
|
|
542
542
|
const parsedBody = parsedOutput.body;
|
|
543
543
|
throwDefaultError({
|
|
@@ -548,20 +548,20 @@ const deserializeAws_json1_1DeleteCostCategoryDefinitionCommandError = async (ou
|
|
|
548
548
|
});
|
|
549
549
|
}
|
|
550
550
|
};
|
|
551
|
-
export const
|
|
551
|
+
export const de_DescribeCostCategoryDefinitionCommand = async (output, context) => {
|
|
552
552
|
if (output.statusCode >= 300) {
|
|
553
|
-
return
|
|
553
|
+
return de_DescribeCostCategoryDefinitionCommandError(output, context);
|
|
554
554
|
}
|
|
555
555
|
const data = await parseBody(output.body, context);
|
|
556
556
|
let contents = {};
|
|
557
|
-
contents =
|
|
557
|
+
contents = de_DescribeCostCategoryDefinitionResponse(data, context);
|
|
558
558
|
const response = {
|
|
559
559
|
$metadata: deserializeMetadata(output),
|
|
560
560
|
...contents,
|
|
561
561
|
};
|
|
562
562
|
return Promise.resolve(response);
|
|
563
563
|
};
|
|
564
|
-
const
|
|
564
|
+
const de_DescribeCostCategoryDefinitionCommandError = async (output, context) => {
|
|
565
565
|
const parsedOutput = {
|
|
566
566
|
...output,
|
|
567
567
|
body: await parseErrorBody(output.body, context),
|
|
@@ -570,10 +570,10 @@ const deserializeAws_json1_1DescribeCostCategoryDefinitionCommandError = async (
|
|
|
570
570
|
switch (errorCode) {
|
|
571
571
|
case "LimitExceededException":
|
|
572
572
|
case "com.amazonaws.costexplorer#LimitExceededException":
|
|
573
|
-
throw await
|
|
573
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
574
574
|
case "ResourceNotFoundException":
|
|
575
575
|
case "com.amazonaws.costexplorer#ResourceNotFoundException":
|
|
576
|
-
throw await
|
|
576
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
577
577
|
default:
|
|
578
578
|
const parsedBody = parsedOutput.body;
|
|
579
579
|
throwDefaultError({
|
|
@@ -584,20 +584,20 @@ const deserializeAws_json1_1DescribeCostCategoryDefinitionCommandError = async (
|
|
|
584
584
|
});
|
|
585
585
|
}
|
|
586
586
|
};
|
|
587
|
-
export const
|
|
587
|
+
export const de_GetAnomaliesCommand = async (output, context) => {
|
|
588
588
|
if (output.statusCode >= 300) {
|
|
589
|
-
return
|
|
589
|
+
return de_GetAnomaliesCommandError(output, context);
|
|
590
590
|
}
|
|
591
591
|
const data = await parseBody(output.body, context);
|
|
592
592
|
let contents = {};
|
|
593
|
-
contents =
|
|
593
|
+
contents = de_GetAnomaliesResponse(data, context);
|
|
594
594
|
const response = {
|
|
595
595
|
$metadata: deserializeMetadata(output),
|
|
596
596
|
...contents,
|
|
597
597
|
};
|
|
598
598
|
return Promise.resolve(response);
|
|
599
599
|
};
|
|
600
|
-
const
|
|
600
|
+
const de_GetAnomaliesCommandError = async (output, context) => {
|
|
601
601
|
const parsedOutput = {
|
|
602
602
|
...output,
|
|
603
603
|
body: await parseErrorBody(output.body, context),
|
|
@@ -606,10 +606,10 @@ const deserializeAws_json1_1GetAnomaliesCommandError = async (output, context) =
|
|
|
606
606
|
switch (errorCode) {
|
|
607
607
|
case "InvalidNextTokenException":
|
|
608
608
|
case "com.amazonaws.costexplorer#InvalidNextTokenException":
|
|
609
|
-
throw await
|
|
609
|
+
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
610
610
|
case "LimitExceededException":
|
|
611
611
|
case "com.amazonaws.costexplorer#LimitExceededException":
|
|
612
|
-
throw await
|
|
612
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
613
613
|
default:
|
|
614
614
|
const parsedBody = parsedOutput.body;
|
|
615
615
|
throwDefaultError({
|
|
@@ -620,20 +620,20 @@ const deserializeAws_json1_1GetAnomaliesCommandError = async (output, context) =
|
|
|
620
620
|
});
|
|
621
621
|
}
|
|
622
622
|
};
|
|
623
|
-
export const
|
|
623
|
+
export const de_GetAnomalyMonitorsCommand = async (output, context) => {
|
|
624
624
|
if (output.statusCode >= 300) {
|
|
625
|
-
return
|
|
625
|
+
return de_GetAnomalyMonitorsCommandError(output, context);
|
|
626
626
|
}
|
|
627
627
|
const data = await parseBody(output.body, context);
|
|
628
628
|
let contents = {};
|
|
629
|
-
contents =
|
|
629
|
+
contents = de_GetAnomalyMonitorsResponse(data, context);
|
|
630
630
|
const response = {
|
|
631
631
|
$metadata: deserializeMetadata(output),
|
|
632
632
|
...contents,
|
|
633
633
|
};
|
|
634
634
|
return Promise.resolve(response);
|
|
635
635
|
};
|
|
636
|
-
const
|
|
636
|
+
const de_GetAnomalyMonitorsCommandError = async (output, context) => {
|
|
637
637
|
const parsedOutput = {
|
|
638
638
|
...output,
|
|
639
639
|
body: await parseErrorBody(output.body, context),
|
|
@@ -642,13 +642,13 @@ const deserializeAws_json1_1GetAnomalyMonitorsCommandError = async (output, cont
|
|
|
642
642
|
switch (errorCode) {
|
|
643
643
|
case "InvalidNextTokenException":
|
|
644
644
|
case "com.amazonaws.costexplorer#InvalidNextTokenException":
|
|
645
|
-
throw await
|
|
645
|
+
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
646
646
|
case "LimitExceededException":
|
|
647
647
|
case "com.amazonaws.costexplorer#LimitExceededException":
|
|
648
|
-
throw await
|
|
648
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
649
649
|
case "UnknownMonitorException":
|
|
650
650
|
case "com.amazonaws.costexplorer#UnknownMonitorException":
|
|
651
|
-
throw await
|
|
651
|
+
throw await de_UnknownMonitorExceptionRes(parsedOutput, context);
|
|
652
652
|
default:
|
|
653
653
|
const parsedBody = parsedOutput.body;
|
|
654
654
|
throwDefaultError({
|
|
@@ -659,20 +659,20 @@ const deserializeAws_json1_1GetAnomalyMonitorsCommandError = async (output, cont
|
|
|
659
659
|
});
|
|
660
660
|
}
|
|
661
661
|
};
|
|
662
|
-
export const
|
|
662
|
+
export const de_GetAnomalySubscriptionsCommand = async (output, context) => {
|
|
663
663
|
if (output.statusCode >= 300) {
|
|
664
|
-
return
|
|
664
|
+
return de_GetAnomalySubscriptionsCommandError(output, context);
|
|
665
665
|
}
|
|
666
666
|
const data = await parseBody(output.body, context);
|
|
667
667
|
let contents = {};
|
|
668
|
-
contents =
|
|
668
|
+
contents = de_GetAnomalySubscriptionsResponse(data, context);
|
|
669
669
|
const response = {
|
|
670
670
|
$metadata: deserializeMetadata(output),
|
|
671
671
|
...contents,
|
|
672
672
|
};
|
|
673
673
|
return Promise.resolve(response);
|
|
674
674
|
};
|
|
675
|
-
const
|
|
675
|
+
const de_GetAnomalySubscriptionsCommandError = async (output, context) => {
|
|
676
676
|
const parsedOutput = {
|
|
677
677
|
...output,
|
|
678
678
|
body: await parseErrorBody(output.body, context),
|
|
@@ -681,13 +681,13 @@ const deserializeAws_json1_1GetAnomalySubscriptionsCommandError = async (output,
|
|
|
681
681
|
switch (errorCode) {
|
|
682
682
|
case "InvalidNextTokenException":
|
|
683
683
|
case "com.amazonaws.costexplorer#InvalidNextTokenException":
|
|
684
|
-
throw await
|
|
684
|
+
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
685
685
|
case "LimitExceededException":
|
|
686
686
|
case "com.amazonaws.costexplorer#LimitExceededException":
|
|
687
|
-
throw await
|
|
687
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
688
688
|
case "UnknownSubscriptionException":
|
|
689
689
|
case "com.amazonaws.costexplorer#UnknownSubscriptionException":
|
|
690
|
-
throw await
|
|
690
|
+
throw await de_UnknownSubscriptionExceptionRes(parsedOutput, context);
|
|
691
691
|
default:
|
|
692
692
|
const parsedBody = parsedOutput.body;
|
|
693
693
|
throwDefaultError({
|
|
@@ -698,20 +698,20 @@ const deserializeAws_json1_1GetAnomalySubscriptionsCommandError = async (output,
|
|
|
698
698
|
});
|
|
699
699
|
}
|
|
700
700
|
};
|
|
701
|
-
export const
|
|
701
|
+
export const de_GetCostAndUsageCommand = async (output, context) => {
|
|
702
702
|
if (output.statusCode >= 300) {
|
|
703
|
-
return
|
|
703
|
+
return de_GetCostAndUsageCommandError(output, context);
|
|
704
704
|
}
|
|
705
705
|
const data = await parseBody(output.body, context);
|
|
706
706
|
let contents = {};
|
|
707
|
-
contents =
|
|
707
|
+
contents = de_GetCostAndUsageResponse(data, context);
|
|
708
708
|
const response = {
|
|
709
709
|
$metadata: deserializeMetadata(output),
|
|
710
710
|
...contents,
|
|
711
711
|
};
|
|
712
712
|
return Promise.resolve(response);
|
|
713
713
|
};
|
|
714
|
-
const
|
|
714
|
+
const de_GetCostAndUsageCommandError = async (output, context) => {
|
|
715
715
|
const parsedOutput = {
|
|
716
716
|
...output,
|
|
717
717
|
body: await parseErrorBody(output.body, context),
|
|
@@ -720,19 +720,19 @@ const deserializeAws_json1_1GetCostAndUsageCommandError = async (output, context
|
|
|
720
720
|
switch (errorCode) {
|
|
721
721
|
case "BillExpirationException":
|
|
722
722
|
case "com.amazonaws.costexplorer#BillExpirationException":
|
|
723
|
-
throw await
|
|
723
|
+
throw await de_BillExpirationExceptionRes(parsedOutput, context);
|
|
724
724
|
case "DataUnavailableException":
|
|
725
725
|
case "com.amazonaws.costexplorer#DataUnavailableException":
|
|
726
|
-
throw await
|
|
726
|
+
throw await de_DataUnavailableExceptionRes(parsedOutput, context);
|
|
727
727
|
case "InvalidNextTokenException":
|
|
728
728
|
case "com.amazonaws.costexplorer#InvalidNextTokenException":
|
|
729
|
-
throw await
|
|
729
|
+
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
730
730
|
case "LimitExceededException":
|
|
731
731
|
case "com.amazonaws.costexplorer#LimitExceededException":
|
|
732
|
-
throw await
|
|
732
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
733
733
|
case "RequestChangedException":
|
|
734
734
|
case "com.amazonaws.costexplorer#RequestChangedException":
|
|
735
|
-
throw await
|
|
735
|
+
throw await de_RequestChangedExceptionRes(parsedOutput, context);
|
|
736
736
|
default:
|
|
737
737
|
const parsedBody = parsedOutput.body;
|
|
738
738
|
throwDefaultError({
|
|
@@ -743,20 +743,20 @@ const deserializeAws_json1_1GetCostAndUsageCommandError = async (output, context
|
|
|
743
743
|
});
|
|
744
744
|
}
|
|
745
745
|
};
|
|
746
|
-
export const
|
|
746
|
+
export const de_GetCostAndUsageWithResourcesCommand = async (output, context) => {
|
|
747
747
|
if (output.statusCode >= 300) {
|
|
748
|
-
return
|
|
748
|
+
return de_GetCostAndUsageWithResourcesCommandError(output, context);
|
|
749
749
|
}
|
|
750
750
|
const data = await parseBody(output.body, context);
|
|
751
751
|
let contents = {};
|
|
752
|
-
contents =
|
|
752
|
+
contents = de_GetCostAndUsageWithResourcesResponse(data, context);
|
|
753
753
|
const response = {
|
|
754
754
|
$metadata: deserializeMetadata(output),
|
|
755
755
|
...contents,
|
|
756
756
|
};
|
|
757
757
|
return Promise.resolve(response);
|
|
758
758
|
};
|
|
759
|
-
const
|
|
759
|
+
const de_GetCostAndUsageWithResourcesCommandError = async (output, context) => {
|
|
760
760
|
const parsedOutput = {
|
|
761
761
|
...output,
|
|
762
762
|
body: await parseErrorBody(output.body, context),
|
|
@@ -765,19 +765,19 @@ const deserializeAws_json1_1GetCostAndUsageWithResourcesCommandError = async (ou
|
|
|
765
765
|
switch (errorCode) {
|
|
766
766
|
case "BillExpirationException":
|
|
767
767
|
case "com.amazonaws.costexplorer#BillExpirationException":
|
|
768
|
-
throw await
|
|
768
|
+
throw await de_BillExpirationExceptionRes(parsedOutput, context);
|
|
769
769
|
case "DataUnavailableException":
|
|
770
770
|
case "com.amazonaws.costexplorer#DataUnavailableException":
|
|
771
|
-
throw await
|
|
771
|
+
throw await de_DataUnavailableExceptionRes(parsedOutput, context);
|
|
772
772
|
case "InvalidNextTokenException":
|
|
773
773
|
case "com.amazonaws.costexplorer#InvalidNextTokenException":
|
|
774
|
-
throw await
|
|
774
|
+
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
775
775
|
case "LimitExceededException":
|
|
776
776
|
case "com.amazonaws.costexplorer#LimitExceededException":
|
|
777
|
-
throw await
|
|
777
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
778
778
|
case "RequestChangedException":
|
|
779
779
|
case "com.amazonaws.costexplorer#RequestChangedException":
|
|
780
|
-
throw await
|
|
780
|
+
throw await de_RequestChangedExceptionRes(parsedOutput, context);
|
|
781
781
|
default:
|
|
782
782
|
const parsedBody = parsedOutput.body;
|
|
783
783
|
throwDefaultError({
|
|
@@ -788,20 +788,20 @@ const deserializeAws_json1_1GetCostAndUsageWithResourcesCommandError = async (ou
|
|
|
788
788
|
});
|
|
789
789
|
}
|
|
790
790
|
};
|
|
791
|
-
export const
|
|
791
|
+
export const de_GetCostCategoriesCommand = async (output, context) => {
|
|
792
792
|
if (output.statusCode >= 300) {
|
|
793
|
-
return
|
|
793
|
+
return de_GetCostCategoriesCommandError(output, context);
|
|
794
794
|
}
|
|
795
795
|
const data = await parseBody(output.body, context);
|
|
796
796
|
let contents = {};
|
|
797
|
-
contents =
|
|
797
|
+
contents = de_GetCostCategoriesResponse(data, context);
|
|
798
798
|
const response = {
|
|
799
799
|
$metadata: deserializeMetadata(output),
|
|
800
800
|
...contents,
|
|
801
801
|
};
|
|
802
802
|
return Promise.resolve(response);
|
|
803
803
|
};
|
|
804
|
-
const
|
|
804
|
+
const de_GetCostCategoriesCommandError = async (output, context) => {
|
|
805
805
|
const parsedOutput = {
|
|
806
806
|
...output,
|
|
807
807
|
body: await parseErrorBody(output.body, context),
|
|
@@ -810,19 +810,19 @@ const deserializeAws_json1_1GetCostCategoriesCommandError = async (output, conte
|
|
|
810
810
|
switch (errorCode) {
|
|
811
811
|
case "BillExpirationException":
|
|
812
812
|
case "com.amazonaws.costexplorer#BillExpirationException":
|
|
813
|
-
throw await
|
|
813
|
+
throw await de_BillExpirationExceptionRes(parsedOutput, context);
|
|
814
814
|
case "DataUnavailableException":
|
|
815
815
|
case "com.amazonaws.costexplorer#DataUnavailableException":
|
|
816
|
-
throw await
|
|
816
|
+
throw await de_DataUnavailableExceptionRes(parsedOutput, context);
|
|
817
817
|
case "InvalidNextTokenException":
|
|
818
818
|
case "com.amazonaws.costexplorer#InvalidNextTokenException":
|
|
819
|
-
throw await
|
|
819
|
+
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
820
820
|
case "LimitExceededException":
|
|
821
821
|
case "com.amazonaws.costexplorer#LimitExceededException":
|
|
822
|
-
throw await
|
|
822
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
823
823
|
case "RequestChangedException":
|
|
824
824
|
case "com.amazonaws.costexplorer#RequestChangedException":
|
|
825
|
-
throw await
|
|
825
|
+
throw await de_RequestChangedExceptionRes(parsedOutput, context);
|
|
826
826
|
default:
|
|
827
827
|
const parsedBody = parsedOutput.body;
|
|
828
828
|
throwDefaultError({
|
|
@@ -833,20 +833,20 @@ const deserializeAws_json1_1GetCostCategoriesCommandError = async (output, conte
|
|
|
833
833
|
});
|
|
834
834
|
}
|
|
835
835
|
};
|
|
836
|
-
export const
|
|
836
|
+
export const de_GetCostForecastCommand = async (output, context) => {
|
|
837
837
|
if (output.statusCode >= 300) {
|
|
838
|
-
return
|
|
838
|
+
return de_GetCostForecastCommandError(output, context);
|
|
839
839
|
}
|
|
840
840
|
const data = await parseBody(output.body, context);
|
|
841
841
|
let contents = {};
|
|
842
|
-
contents =
|
|
842
|
+
contents = de_GetCostForecastResponse(data, context);
|
|
843
843
|
const response = {
|
|
844
844
|
$metadata: deserializeMetadata(output),
|
|
845
845
|
...contents,
|
|
846
846
|
};
|
|
847
847
|
return Promise.resolve(response);
|
|
848
848
|
};
|
|
849
|
-
const
|
|
849
|
+
const de_GetCostForecastCommandError = async (output, context) => {
|
|
850
850
|
const parsedOutput = {
|
|
851
851
|
...output,
|
|
852
852
|
body: await parseErrorBody(output.body, context),
|
|
@@ -855,10 +855,10 @@ const deserializeAws_json1_1GetCostForecastCommandError = async (output, context
|
|
|
855
855
|
switch (errorCode) {
|
|
856
856
|
case "DataUnavailableException":
|
|
857
857
|
case "com.amazonaws.costexplorer#DataUnavailableException":
|
|
858
|
-
throw await
|
|
858
|
+
throw await de_DataUnavailableExceptionRes(parsedOutput, context);
|
|
859
859
|
case "LimitExceededException":
|
|
860
860
|
case "com.amazonaws.costexplorer#LimitExceededException":
|
|
861
|
-
throw await
|
|
861
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
862
862
|
default:
|
|
863
863
|
const parsedBody = parsedOutput.body;
|
|
864
864
|
throwDefaultError({
|
|
@@ -869,20 +869,20 @@ const deserializeAws_json1_1GetCostForecastCommandError = async (output, context
|
|
|
869
869
|
});
|
|
870
870
|
}
|
|
871
871
|
};
|
|
872
|
-
export const
|
|
872
|
+
export const de_GetDimensionValuesCommand = async (output, context) => {
|
|
873
873
|
if (output.statusCode >= 300) {
|
|
874
|
-
return
|
|
874
|
+
return de_GetDimensionValuesCommandError(output, context);
|
|
875
875
|
}
|
|
876
876
|
const data = await parseBody(output.body, context);
|
|
877
877
|
let contents = {};
|
|
878
|
-
contents =
|
|
878
|
+
contents = de_GetDimensionValuesResponse(data, context);
|
|
879
879
|
const response = {
|
|
880
880
|
$metadata: deserializeMetadata(output),
|
|
881
881
|
...contents,
|
|
882
882
|
};
|
|
883
883
|
return Promise.resolve(response);
|
|
884
884
|
};
|
|
885
|
-
const
|
|
885
|
+
const de_GetDimensionValuesCommandError = async (output, context) => {
|
|
886
886
|
const parsedOutput = {
|
|
887
887
|
...output,
|
|
888
888
|
body: await parseErrorBody(output.body, context),
|
|
@@ -891,19 +891,19 @@ const deserializeAws_json1_1GetDimensionValuesCommandError = async (output, cont
|
|
|
891
891
|
switch (errorCode) {
|
|
892
892
|
case "BillExpirationException":
|
|
893
893
|
case "com.amazonaws.costexplorer#BillExpirationException":
|
|
894
|
-
throw await
|
|
894
|
+
throw await de_BillExpirationExceptionRes(parsedOutput, context);
|
|
895
895
|
case "DataUnavailableException":
|
|
896
896
|
case "com.amazonaws.costexplorer#DataUnavailableException":
|
|
897
|
-
throw await
|
|
897
|
+
throw await de_DataUnavailableExceptionRes(parsedOutput, context);
|
|
898
898
|
case "InvalidNextTokenException":
|
|
899
899
|
case "com.amazonaws.costexplorer#InvalidNextTokenException":
|
|
900
|
-
throw await
|
|
900
|
+
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
901
901
|
case "LimitExceededException":
|
|
902
902
|
case "com.amazonaws.costexplorer#LimitExceededException":
|
|
903
|
-
throw await
|
|
903
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
904
904
|
case "RequestChangedException":
|
|
905
905
|
case "com.amazonaws.costexplorer#RequestChangedException":
|
|
906
|
-
throw await
|
|
906
|
+
throw await de_RequestChangedExceptionRes(parsedOutput, context);
|
|
907
907
|
default:
|
|
908
908
|
const parsedBody = parsedOutput.body;
|
|
909
909
|
throwDefaultError({
|
|
@@ -914,20 +914,20 @@ const deserializeAws_json1_1GetDimensionValuesCommandError = async (output, cont
|
|
|
914
914
|
});
|
|
915
915
|
}
|
|
916
916
|
};
|
|
917
|
-
export const
|
|
917
|
+
export const de_GetReservationCoverageCommand = async (output, context) => {
|
|
918
918
|
if (output.statusCode >= 300) {
|
|
919
|
-
return
|
|
919
|
+
return de_GetReservationCoverageCommandError(output, context);
|
|
920
920
|
}
|
|
921
921
|
const data = await parseBody(output.body, context);
|
|
922
922
|
let contents = {};
|
|
923
|
-
contents =
|
|
923
|
+
contents = de_GetReservationCoverageResponse(data, context);
|
|
924
924
|
const response = {
|
|
925
925
|
$metadata: deserializeMetadata(output),
|
|
926
926
|
...contents,
|
|
927
927
|
};
|
|
928
928
|
return Promise.resolve(response);
|
|
929
929
|
};
|
|
930
|
-
const
|
|
930
|
+
const de_GetReservationCoverageCommandError = async (output, context) => {
|
|
931
931
|
const parsedOutput = {
|
|
932
932
|
...output,
|
|
933
933
|
body: await parseErrorBody(output.body, context),
|
|
@@ -936,13 +936,13 @@ const deserializeAws_json1_1GetReservationCoverageCommandError = async (output,
|
|
|
936
936
|
switch (errorCode) {
|
|
937
937
|
case "DataUnavailableException":
|
|
938
938
|
case "com.amazonaws.costexplorer#DataUnavailableException":
|
|
939
|
-
throw await
|
|
939
|
+
throw await de_DataUnavailableExceptionRes(parsedOutput, context);
|
|
940
940
|
case "InvalidNextTokenException":
|
|
941
941
|
case "com.amazonaws.costexplorer#InvalidNextTokenException":
|
|
942
|
-
throw await
|
|
942
|
+
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
943
943
|
case "LimitExceededException":
|
|
944
944
|
case "com.amazonaws.costexplorer#LimitExceededException":
|
|
945
|
-
throw await
|
|
945
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
946
946
|
default:
|
|
947
947
|
const parsedBody = parsedOutput.body;
|
|
948
948
|
throwDefaultError({
|
|
@@ -953,20 +953,20 @@ const deserializeAws_json1_1GetReservationCoverageCommandError = async (output,
|
|
|
953
953
|
});
|
|
954
954
|
}
|
|
955
955
|
};
|
|
956
|
-
export const
|
|
956
|
+
export const de_GetReservationPurchaseRecommendationCommand = async (output, context) => {
|
|
957
957
|
if (output.statusCode >= 300) {
|
|
958
|
-
return
|
|
958
|
+
return de_GetReservationPurchaseRecommendationCommandError(output, context);
|
|
959
959
|
}
|
|
960
960
|
const data = await parseBody(output.body, context);
|
|
961
961
|
let contents = {};
|
|
962
|
-
contents =
|
|
962
|
+
contents = de_GetReservationPurchaseRecommendationResponse(data, context);
|
|
963
963
|
const response = {
|
|
964
964
|
$metadata: deserializeMetadata(output),
|
|
965
965
|
...contents,
|
|
966
966
|
};
|
|
967
967
|
return Promise.resolve(response);
|
|
968
968
|
};
|
|
969
|
-
const
|
|
969
|
+
const de_GetReservationPurchaseRecommendationCommandError = async (output, context) => {
|
|
970
970
|
const parsedOutput = {
|
|
971
971
|
...output,
|
|
972
972
|
body: await parseErrorBody(output.body, context),
|
|
@@ -975,13 +975,13 @@ const deserializeAws_json1_1GetReservationPurchaseRecommendationCommandError = a
|
|
|
975
975
|
switch (errorCode) {
|
|
976
976
|
case "DataUnavailableException":
|
|
977
977
|
case "com.amazonaws.costexplorer#DataUnavailableException":
|
|
978
|
-
throw await
|
|
978
|
+
throw await de_DataUnavailableExceptionRes(parsedOutput, context);
|
|
979
979
|
case "InvalidNextTokenException":
|
|
980
980
|
case "com.amazonaws.costexplorer#InvalidNextTokenException":
|
|
981
|
-
throw await
|
|
981
|
+
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
982
982
|
case "LimitExceededException":
|
|
983
983
|
case "com.amazonaws.costexplorer#LimitExceededException":
|
|
984
|
-
throw await
|
|
984
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
985
985
|
default:
|
|
986
986
|
const parsedBody = parsedOutput.body;
|
|
987
987
|
throwDefaultError({
|
|
@@ -992,20 +992,20 @@ const deserializeAws_json1_1GetReservationPurchaseRecommendationCommandError = a
|
|
|
992
992
|
});
|
|
993
993
|
}
|
|
994
994
|
};
|
|
995
|
-
export const
|
|
995
|
+
export const de_GetReservationUtilizationCommand = async (output, context) => {
|
|
996
996
|
if (output.statusCode >= 300) {
|
|
997
|
-
return
|
|
997
|
+
return de_GetReservationUtilizationCommandError(output, context);
|
|
998
998
|
}
|
|
999
999
|
const data = await parseBody(output.body, context);
|
|
1000
1000
|
let contents = {};
|
|
1001
|
-
contents =
|
|
1001
|
+
contents = de_GetReservationUtilizationResponse(data, context);
|
|
1002
1002
|
const response = {
|
|
1003
1003
|
$metadata: deserializeMetadata(output),
|
|
1004
1004
|
...contents,
|
|
1005
1005
|
};
|
|
1006
1006
|
return Promise.resolve(response);
|
|
1007
1007
|
};
|
|
1008
|
-
const
|
|
1008
|
+
const de_GetReservationUtilizationCommandError = async (output, context) => {
|
|
1009
1009
|
const parsedOutput = {
|
|
1010
1010
|
...output,
|
|
1011
1011
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1014,13 +1014,13 @@ const deserializeAws_json1_1GetReservationUtilizationCommandError = async (outpu
|
|
|
1014
1014
|
switch (errorCode) {
|
|
1015
1015
|
case "DataUnavailableException":
|
|
1016
1016
|
case "com.amazonaws.costexplorer#DataUnavailableException":
|
|
1017
|
-
throw await
|
|
1017
|
+
throw await de_DataUnavailableExceptionRes(parsedOutput, context);
|
|
1018
1018
|
case "InvalidNextTokenException":
|
|
1019
1019
|
case "com.amazonaws.costexplorer#InvalidNextTokenException":
|
|
1020
|
-
throw await
|
|
1020
|
+
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1021
1021
|
case "LimitExceededException":
|
|
1022
1022
|
case "com.amazonaws.costexplorer#LimitExceededException":
|
|
1023
|
-
throw await
|
|
1023
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1024
1024
|
default:
|
|
1025
1025
|
const parsedBody = parsedOutput.body;
|
|
1026
1026
|
throwDefaultError({
|
|
@@ -1031,20 +1031,20 @@ const deserializeAws_json1_1GetReservationUtilizationCommandError = async (outpu
|
|
|
1031
1031
|
});
|
|
1032
1032
|
}
|
|
1033
1033
|
};
|
|
1034
|
-
export const
|
|
1034
|
+
export const de_GetRightsizingRecommendationCommand = async (output, context) => {
|
|
1035
1035
|
if (output.statusCode >= 300) {
|
|
1036
|
-
return
|
|
1036
|
+
return de_GetRightsizingRecommendationCommandError(output, context);
|
|
1037
1037
|
}
|
|
1038
1038
|
const data = await parseBody(output.body, context);
|
|
1039
1039
|
let contents = {};
|
|
1040
|
-
contents =
|
|
1040
|
+
contents = de_GetRightsizingRecommendationResponse(data, context);
|
|
1041
1041
|
const response = {
|
|
1042
1042
|
$metadata: deserializeMetadata(output),
|
|
1043
1043
|
...contents,
|
|
1044
1044
|
};
|
|
1045
1045
|
return Promise.resolve(response);
|
|
1046
1046
|
};
|
|
1047
|
-
const
|
|
1047
|
+
const de_GetRightsizingRecommendationCommandError = async (output, context) => {
|
|
1048
1048
|
const parsedOutput = {
|
|
1049
1049
|
...output,
|
|
1050
1050
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1053,10 +1053,10 @@ const deserializeAws_json1_1GetRightsizingRecommendationCommandError = async (ou
|
|
|
1053
1053
|
switch (errorCode) {
|
|
1054
1054
|
case "InvalidNextTokenException":
|
|
1055
1055
|
case "com.amazonaws.costexplorer#InvalidNextTokenException":
|
|
1056
|
-
throw await
|
|
1056
|
+
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1057
1057
|
case "LimitExceededException":
|
|
1058
1058
|
case "com.amazonaws.costexplorer#LimitExceededException":
|
|
1059
|
-
throw await
|
|
1059
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1060
1060
|
default:
|
|
1061
1061
|
const parsedBody = parsedOutput.body;
|
|
1062
1062
|
throwDefaultError({
|
|
@@ -1067,20 +1067,20 @@ const deserializeAws_json1_1GetRightsizingRecommendationCommandError = async (ou
|
|
|
1067
1067
|
});
|
|
1068
1068
|
}
|
|
1069
1069
|
};
|
|
1070
|
-
export const
|
|
1070
|
+
export const de_GetSavingsPlansCoverageCommand = async (output, context) => {
|
|
1071
1071
|
if (output.statusCode >= 300) {
|
|
1072
|
-
return
|
|
1072
|
+
return de_GetSavingsPlansCoverageCommandError(output, context);
|
|
1073
1073
|
}
|
|
1074
1074
|
const data = await parseBody(output.body, context);
|
|
1075
1075
|
let contents = {};
|
|
1076
|
-
contents =
|
|
1076
|
+
contents = de_GetSavingsPlansCoverageResponse(data, context);
|
|
1077
1077
|
const response = {
|
|
1078
1078
|
$metadata: deserializeMetadata(output),
|
|
1079
1079
|
...contents,
|
|
1080
1080
|
};
|
|
1081
1081
|
return Promise.resolve(response);
|
|
1082
1082
|
};
|
|
1083
|
-
const
|
|
1083
|
+
const de_GetSavingsPlansCoverageCommandError = async (output, context) => {
|
|
1084
1084
|
const parsedOutput = {
|
|
1085
1085
|
...output,
|
|
1086
1086
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1089,13 +1089,13 @@ const deserializeAws_json1_1GetSavingsPlansCoverageCommandError = async (output,
|
|
|
1089
1089
|
switch (errorCode) {
|
|
1090
1090
|
case "DataUnavailableException":
|
|
1091
1091
|
case "com.amazonaws.costexplorer#DataUnavailableException":
|
|
1092
|
-
throw await
|
|
1092
|
+
throw await de_DataUnavailableExceptionRes(parsedOutput, context);
|
|
1093
1093
|
case "InvalidNextTokenException":
|
|
1094
1094
|
case "com.amazonaws.costexplorer#InvalidNextTokenException":
|
|
1095
|
-
throw await
|
|
1095
|
+
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1096
1096
|
case "LimitExceededException":
|
|
1097
1097
|
case "com.amazonaws.costexplorer#LimitExceededException":
|
|
1098
|
-
throw await
|
|
1098
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1099
1099
|
default:
|
|
1100
1100
|
const parsedBody = parsedOutput.body;
|
|
1101
1101
|
throwDefaultError({
|
|
@@ -1106,20 +1106,20 @@ const deserializeAws_json1_1GetSavingsPlansCoverageCommandError = async (output,
|
|
|
1106
1106
|
});
|
|
1107
1107
|
}
|
|
1108
1108
|
};
|
|
1109
|
-
export const
|
|
1109
|
+
export const de_GetSavingsPlansPurchaseRecommendationCommand = async (output, context) => {
|
|
1110
1110
|
if (output.statusCode >= 300) {
|
|
1111
|
-
return
|
|
1111
|
+
return de_GetSavingsPlansPurchaseRecommendationCommandError(output, context);
|
|
1112
1112
|
}
|
|
1113
1113
|
const data = await parseBody(output.body, context);
|
|
1114
1114
|
let contents = {};
|
|
1115
|
-
contents =
|
|
1115
|
+
contents = de_GetSavingsPlansPurchaseRecommendationResponse(data, context);
|
|
1116
1116
|
const response = {
|
|
1117
1117
|
$metadata: deserializeMetadata(output),
|
|
1118
1118
|
...contents,
|
|
1119
1119
|
};
|
|
1120
1120
|
return Promise.resolve(response);
|
|
1121
1121
|
};
|
|
1122
|
-
const
|
|
1122
|
+
const de_GetSavingsPlansPurchaseRecommendationCommandError = async (output, context) => {
|
|
1123
1123
|
const parsedOutput = {
|
|
1124
1124
|
...output,
|
|
1125
1125
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1128,10 +1128,10 @@ const deserializeAws_json1_1GetSavingsPlansPurchaseRecommendationCommandError =
|
|
|
1128
1128
|
switch (errorCode) {
|
|
1129
1129
|
case "InvalidNextTokenException":
|
|
1130
1130
|
case "com.amazonaws.costexplorer#InvalidNextTokenException":
|
|
1131
|
-
throw await
|
|
1131
|
+
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1132
1132
|
case "LimitExceededException":
|
|
1133
1133
|
case "com.amazonaws.costexplorer#LimitExceededException":
|
|
1134
|
-
throw await
|
|
1134
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1135
1135
|
default:
|
|
1136
1136
|
const parsedBody = parsedOutput.body;
|
|
1137
1137
|
throwDefaultError({
|
|
@@ -1142,20 +1142,20 @@ const deserializeAws_json1_1GetSavingsPlansPurchaseRecommendationCommandError =
|
|
|
1142
1142
|
});
|
|
1143
1143
|
}
|
|
1144
1144
|
};
|
|
1145
|
-
export const
|
|
1145
|
+
export const de_GetSavingsPlansUtilizationCommand = async (output, context) => {
|
|
1146
1146
|
if (output.statusCode >= 300) {
|
|
1147
|
-
return
|
|
1147
|
+
return de_GetSavingsPlansUtilizationCommandError(output, context);
|
|
1148
1148
|
}
|
|
1149
1149
|
const data = await parseBody(output.body, context);
|
|
1150
1150
|
let contents = {};
|
|
1151
|
-
contents =
|
|
1151
|
+
contents = de_GetSavingsPlansUtilizationResponse(data, context);
|
|
1152
1152
|
const response = {
|
|
1153
1153
|
$metadata: deserializeMetadata(output),
|
|
1154
1154
|
...contents,
|
|
1155
1155
|
};
|
|
1156
1156
|
return Promise.resolve(response);
|
|
1157
1157
|
};
|
|
1158
|
-
const
|
|
1158
|
+
const de_GetSavingsPlansUtilizationCommandError = async (output, context) => {
|
|
1159
1159
|
const parsedOutput = {
|
|
1160
1160
|
...output,
|
|
1161
1161
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1164,10 +1164,10 @@ const deserializeAws_json1_1GetSavingsPlansUtilizationCommandError = async (outp
|
|
|
1164
1164
|
switch (errorCode) {
|
|
1165
1165
|
case "DataUnavailableException":
|
|
1166
1166
|
case "com.amazonaws.costexplorer#DataUnavailableException":
|
|
1167
|
-
throw await
|
|
1167
|
+
throw await de_DataUnavailableExceptionRes(parsedOutput, context);
|
|
1168
1168
|
case "LimitExceededException":
|
|
1169
1169
|
case "com.amazonaws.costexplorer#LimitExceededException":
|
|
1170
|
-
throw await
|
|
1170
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1171
1171
|
default:
|
|
1172
1172
|
const parsedBody = parsedOutput.body;
|
|
1173
1173
|
throwDefaultError({
|
|
@@ -1178,20 +1178,20 @@ const deserializeAws_json1_1GetSavingsPlansUtilizationCommandError = async (outp
|
|
|
1178
1178
|
});
|
|
1179
1179
|
}
|
|
1180
1180
|
};
|
|
1181
|
-
export const
|
|
1181
|
+
export const de_GetSavingsPlansUtilizationDetailsCommand = async (output, context) => {
|
|
1182
1182
|
if (output.statusCode >= 300) {
|
|
1183
|
-
return
|
|
1183
|
+
return de_GetSavingsPlansUtilizationDetailsCommandError(output, context);
|
|
1184
1184
|
}
|
|
1185
1185
|
const data = await parseBody(output.body, context);
|
|
1186
1186
|
let contents = {};
|
|
1187
|
-
contents =
|
|
1187
|
+
contents = de_GetSavingsPlansUtilizationDetailsResponse(data, context);
|
|
1188
1188
|
const response = {
|
|
1189
1189
|
$metadata: deserializeMetadata(output),
|
|
1190
1190
|
...contents,
|
|
1191
1191
|
};
|
|
1192
1192
|
return Promise.resolve(response);
|
|
1193
1193
|
};
|
|
1194
|
-
const
|
|
1194
|
+
const de_GetSavingsPlansUtilizationDetailsCommandError = async (output, context) => {
|
|
1195
1195
|
const parsedOutput = {
|
|
1196
1196
|
...output,
|
|
1197
1197
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1200,13 +1200,13 @@ const deserializeAws_json1_1GetSavingsPlansUtilizationDetailsCommandError = asyn
|
|
|
1200
1200
|
switch (errorCode) {
|
|
1201
1201
|
case "DataUnavailableException":
|
|
1202
1202
|
case "com.amazonaws.costexplorer#DataUnavailableException":
|
|
1203
|
-
throw await
|
|
1203
|
+
throw await de_DataUnavailableExceptionRes(parsedOutput, context);
|
|
1204
1204
|
case "InvalidNextTokenException":
|
|
1205
1205
|
case "com.amazonaws.costexplorer#InvalidNextTokenException":
|
|
1206
|
-
throw await
|
|
1206
|
+
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1207
1207
|
case "LimitExceededException":
|
|
1208
1208
|
case "com.amazonaws.costexplorer#LimitExceededException":
|
|
1209
|
-
throw await
|
|
1209
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1210
1210
|
default:
|
|
1211
1211
|
const parsedBody = parsedOutput.body;
|
|
1212
1212
|
throwDefaultError({
|
|
@@ -1217,20 +1217,20 @@ const deserializeAws_json1_1GetSavingsPlansUtilizationDetailsCommandError = asyn
|
|
|
1217
1217
|
});
|
|
1218
1218
|
}
|
|
1219
1219
|
};
|
|
1220
|
-
export const
|
|
1220
|
+
export const de_GetTagsCommand = async (output, context) => {
|
|
1221
1221
|
if (output.statusCode >= 300) {
|
|
1222
|
-
return
|
|
1222
|
+
return de_GetTagsCommandError(output, context);
|
|
1223
1223
|
}
|
|
1224
1224
|
const data = await parseBody(output.body, context);
|
|
1225
1225
|
let contents = {};
|
|
1226
|
-
contents =
|
|
1226
|
+
contents = de_GetTagsResponse(data, context);
|
|
1227
1227
|
const response = {
|
|
1228
1228
|
$metadata: deserializeMetadata(output),
|
|
1229
1229
|
...contents,
|
|
1230
1230
|
};
|
|
1231
1231
|
return Promise.resolve(response);
|
|
1232
1232
|
};
|
|
1233
|
-
const
|
|
1233
|
+
const de_GetTagsCommandError = async (output, context) => {
|
|
1234
1234
|
const parsedOutput = {
|
|
1235
1235
|
...output,
|
|
1236
1236
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1239,19 +1239,19 @@ const deserializeAws_json1_1GetTagsCommandError = async (output, context) => {
|
|
|
1239
1239
|
switch (errorCode) {
|
|
1240
1240
|
case "BillExpirationException":
|
|
1241
1241
|
case "com.amazonaws.costexplorer#BillExpirationException":
|
|
1242
|
-
throw await
|
|
1242
|
+
throw await de_BillExpirationExceptionRes(parsedOutput, context);
|
|
1243
1243
|
case "DataUnavailableException":
|
|
1244
1244
|
case "com.amazonaws.costexplorer#DataUnavailableException":
|
|
1245
|
-
throw await
|
|
1245
|
+
throw await de_DataUnavailableExceptionRes(parsedOutput, context);
|
|
1246
1246
|
case "InvalidNextTokenException":
|
|
1247
1247
|
case "com.amazonaws.costexplorer#InvalidNextTokenException":
|
|
1248
|
-
throw await
|
|
1248
|
+
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1249
1249
|
case "LimitExceededException":
|
|
1250
1250
|
case "com.amazonaws.costexplorer#LimitExceededException":
|
|
1251
|
-
throw await
|
|
1251
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1252
1252
|
case "RequestChangedException":
|
|
1253
1253
|
case "com.amazonaws.costexplorer#RequestChangedException":
|
|
1254
|
-
throw await
|
|
1254
|
+
throw await de_RequestChangedExceptionRes(parsedOutput, context);
|
|
1255
1255
|
default:
|
|
1256
1256
|
const parsedBody = parsedOutput.body;
|
|
1257
1257
|
throwDefaultError({
|
|
@@ -1262,20 +1262,20 @@ const deserializeAws_json1_1GetTagsCommandError = async (output, context) => {
|
|
|
1262
1262
|
});
|
|
1263
1263
|
}
|
|
1264
1264
|
};
|
|
1265
|
-
export const
|
|
1265
|
+
export const de_GetUsageForecastCommand = async (output, context) => {
|
|
1266
1266
|
if (output.statusCode >= 300) {
|
|
1267
|
-
return
|
|
1267
|
+
return de_GetUsageForecastCommandError(output, context);
|
|
1268
1268
|
}
|
|
1269
1269
|
const data = await parseBody(output.body, context);
|
|
1270
1270
|
let contents = {};
|
|
1271
|
-
contents =
|
|
1271
|
+
contents = de_GetUsageForecastResponse(data, context);
|
|
1272
1272
|
const response = {
|
|
1273
1273
|
$metadata: deserializeMetadata(output),
|
|
1274
1274
|
...contents,
|
|
1275
1275
|
};
|
|
1276
1276
|
return Promise.resolve(response);
|
|
1277
1277
|
};
|
|
1278
|
-
const
|
|
1278
|
+
const de_GetUsageForecastCommandError = async (output, context) => {
|
|
1279
1279
|
const parsedOutput = {
|
|
1280
1280
|
...output,
|
|
1281
1281
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1284,13 +1284,13 @@ const deserializeAws_json1_1GetUsageForecastCommandError = async (output, contex
|
|
|
1284
1284
|
switch (errorCode) {
|
|
1285
1285
|
case "DataUnavailableException":
|
|
1286
1286
|
case "com.amazonaws.costexplorer#DataUnavailableException":
|
|
1287
|
-
throw await
|
|
1287
|
+
throw await de_DataUnavailableExceptionRes(parsedOutput, context);
|
|
1288
1288
|
case "LimitExceededException":
|
|
1289
1289
|
case "com.amazonaws.costexplorer#LimitExceededException":
|
|
1290
|
-
throw await
|
|
1290
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1291
1291
|
case "UnresolvableUsageUnitException":
|
|
1292
1292
|
case "com.amazonaws.costexplorer#UnresolvableUsageUnitException":
|
|
1293
|
-
throw await
|
|
1293
|
+
throw await de_UnresolvableUsageUnitExceptionRes(parsedOutput, context);
|
|
1294
1294
|
default:
|
|
1295
1295
|
const parsedBody = parsedOutput.body;
|
|
1296
1296
|
throwDefaultError({
|
|
@@ -1301,20 +1301,20 @@ const deserializeAws_json1_1GetUsageForecastCommandError = async (output, contex
|
|
|
1301
1301
|
});
|
|
1302
1302
|
}
|
|
1303
1303
|
};
|
|
1304
|
-
export const
|
|
1304
|
+
export const de_ListCostAllocationTagsCommand = async (output, context) => {
|
|
1305
1305
|
if (output.statusCode >= 300) {
|
|
1306
|
-
return
|
|
1306
|
+
return de_ListCostAllocationTagsCommandError(output, context);
|
|
1307
1307
|
}
|
|
1308
1308
|
const data = await parseBody(output.body, context);
|
|
1309
1309
|
let contents = {};
|
|
1310
|
-
contents =
|
|
1310
|
+
contents = de_ListCostAllocationTagsResponse(data, context);
|
|
1311
1311
|
const response = {
|
|
1312
1312
|
$metadata: deserializeMetadata(output),
|
|
1313
1313
|
...contents,
|
|
1314
1314
|
};
|
|
1315
1315
|
return Promise.resolve(response);
|
|
1316
1316
|
};
|
|
1317
|
-
const
|
|
1317
|
+
const de_ListCostAllocationTagsCommandError = async (output, context) => {
|
|
1318
1318
|
const parsedOutput = {
|
|
1319
1319
|
...output,
|
|
1320
1320
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1323,10 +1323,10 @@ const deserializeAws_json1_1ListCostAllocationTagsCommandError = async (output,
|
|
|
1323
1323
|
switch (errorCode) {
|
|
1324
1324
|
case "InvalidNextTokenException":
|
|
1325
1325
|
case "com.amazonaws.costexplorer#InvalidNextTokenException":
|
|
1326
|
-
throw await
|
|
1326
|
+
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1327
1327
|
case "LimitExceededException":
|
|
1328
1328
|
case "com.amazonaws.costexplorer#LimitExceededException":
|
|
1329
|
-
throw await
|
|
1329
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1330
1330
|
default:
|
|
1331
1331
|
const parsedBody = parsedOutput.body;
|
|
1332
1332
|
throwDefaultError({
|
|
@@ -1337,20 +1337,20 @@ const deserializeAws_json1_1ListCostAllocationTagsCommandError = async (output,
|
|
|
1337
1337
|
});
|
|
1338
1338
|
}
|
|
1339
1339
|
};
|
|
1340
|
-
export const
|
|
1340
|
+
export const de_ListCostCategoryDefinitionsCommand = async (output, context) => {
|
|
1341
1341
|
if (output.statusCode >= 300) {
|
|
1342
|
-
return
|
|
1342
|
+
return de_ListCostCategoryDefinitionsCommandError(output, context);
|
|
1343
1343
|
}
|
|
1344
1344
|
const data = await parseBody(output.body, context);
|
|
1345
1345
|
let contents = {};
|
|
1346
|
-
contents =
|
|
1346
|
+
contents = de_ListCostCategoryDefinitionsResponse(data, context);
|
|
1347
1347
|
const response = {
|
|
1348
1348
|
$metadata: deserializeMetadata(output),
|
|
1349
1349
|
...contents,
|
|
1350
1350
|
};
|
|
1351
1351
|
return Promise.resolve(response);
|
|
1352
1352
|
};
|
|
1353
|
-
const
|
|
1353
|
+
const de_ListCostCategoryDefinitionsCommandError = async (output, context) => {
|
|
1354
1354
|
const parsedOutput = {
|
|
1355
1355
|
...output,
|
|
1356
1356
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1359,7 +1359,7 @@ const deserializeAws_json1_1ListCostCategoryDefinitionsCommandError = async (out
|
|
|
1359
1359
|
switch (errorCode) {
|
|
1360
1360
|
case "LimitExceededException":
|
|
1361
1361
|
case "com.amazonaws.costexplorer#LimitExceededException":
|
|
1362
|
-
throw await
|
|
1362
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1363
1363
|
default:
|
|
1364
1364
|
const parsedBody = parsedOutput.body;
|
|
1365
1365
|
throwDefaultError({
|
|
@@ -1370,20 +1370,20 @@ const deserializeAws_json1_1ListCostCategoryDefinitionsCommandError = async (out
|
|
|
1370
1370
|
});
|
|
1371
1371
|
}
|
|
1372
1372
|
};
|
|
1373
|
-
export const
|
|
1373
|
+
export const de_ListSavingsPlansPurchaseRecommendationGenerationCommand = async (output, context) => {
|
|
1374
1374
|
if (output.statusCode >= 300) {
|
|
1375
|
-
return
|
|
1375
|
+
return de_ListSavingsPlansPurchaseRecommendationGenerationCommandError(output, context);
|
|
1376
1376
|
}
|
|
1377
1377
|
const data = await parseBody(output.body, context);
|
|
1378
1378
|
let contents = {};
|
|
1379
|
-
contents =
|
|
1379
|
+
contents = de_ListSavingsPlansPurchaseRecommendationGenerationResponse(data, context);
|
|
1380
1380
|
const response = {
|
|
1381
1381
|
$metadata: deserializeMetadata(output),
|
|
1382
1382
|
...contents,
|
|
1383
1383
|
};
|
|
1384
1384
|
return Promise.resolve(response);
|
|
1385
1385
|
};
|
|
1386
|
-
const
|
|
1386
|
+
const de_ListSavingsPlansPurchaseRecommendationGenerationCommandError = async (output, context) => {
|
|
1387
1387
|
const parsedOutput = {
|
|
1388
1388
|
...output,
|
|
1389
1389
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1392,10 +1392,10 @@ const deserializeAws_json1_1ListSavingsPlansPurchaseRecommendationGenerationComm
|
|
|
1392
1392
|
switch (errorCode) {
|
|
1393
1393
|
case "InvalidNextTokenException":
|
|
1394
1394
|
case "com.amazonaws.costexplorer#InvalidNextTokenException":
|
|
1395
|
-
throw await
|
|
1395
|
+
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1396
1396
|
case "LimitExceededException":
|
|
1397
1397
|
case "com.amazonaws.costexplorer#LimitExceededException":
|
|
1398
|
-
throw await
|
|
1398
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1399
1399
|
default:
|
|
1400
1400
|
const parsedBody = parsedOutput.body;
|
|
1401
1401
|
throwDefaultError({
|
|
@@ -1406,20 +1406,20 @@ const deserializeAws_json1_1ListSavingsPlansPurchaseRecommendationGenerationComm
|
|
|
1406
1406
|
});
|
|
1407
1407
|
}
|
|
1408
1408
|
};
|
|
1409
|
-
export const
|
|
1409
|
+
export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
1410
1410
|
if (output.statusCode >= 300) {
|
|
1411
|
-
return
|
|
1411
|
+
return de_ListTagsForResourceCommandError(output, context);
|
|
1412
1412
|
}
|
|
1413
1413
|
const data = await parseBody(output.body, context);
|
|
1414
1414
|
let contents = {};
|
|
1415
|
-
contents =
|
|
1415
|
+
contents = de_ListTagsForResourceResponse(data, context);
|
|
1416
1416
|
const response = {
|
|
1417
1417
|
$metadata: deserializeMetadata(output),
|
|
1418
1418
|
...contents,
|
|
1419
1419
|
};
|
|
1420
1420
|
return Promise.resolve(response);
|
|
1421
1421
|
};
|
|
1422
|
-
const
|
|
1422
|
+
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
1423
1423
|
const parsedOutput = {
|
|
1424
1424
|
...output,
|
|
1425
1425
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1428,10 +1428,10 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
|
|
|
1428
1428
|
switch (errorCode) {
|
|
1429
1429
|
case "LimitExceededException":
|
|
1430
1430
|
case "com.amazonaws.costexplorer#LimitExceededException":
|
|
1431
|
-
throw await
|
|
1431
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1432
1432
|
case "ResourceNotFoundException":
|
|
1433
1433
|
case "com.amazonaws.costexplorer#ResourceNotFoundException":
|
|
1434
|
-
throw await
|
|
1434
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1435
1435
|
default:
|
|
1436
1436
|
const parsedBody = parsedOutput.body;
|
|
1437
1437
|
throwDefaultError({
|
|
@@ -1442,20 +1442,20 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
|
|
|
1442
1442
|
});
|
|
1443
1443
|
}
|
|
1444
1444
|
};
|
|
1445
|
-
export const
|
|
1445
|
+
export const de_ProvideAnomalyFeedbackCommand = async (output, context) => {
|
|
1446
1446
|
if (output.statusCode >= 300) {
|
|
1447
|
-
return
|
|
1447
|
+
return de_ProvideAnomalyFeedbackCommandError(output, context);
|
|
1448
1448
|
}
|
|
1449
1449
|
const data = await parseBody(output.body, context);
|
|
1450
1450
|
let contents = {};
|
|
1451
|
-
contents =
|
|
1451
|
+
contents = de_ProvideAnomalyFeedbackResponse(data, context);
|
|
1452
1452
|
const response = {
|
|
1453
1453
|
$metadata: deserializeMetadata(output),
|
|
1454
1454
|
...contents,
|
|
1455
1455
|
};
|
|
1456
1456
|
return Promise.resolve(response);
|
|
1457
1457
|
};
|
|
1458
|
-
const
|
|
1458
|
+
const de_ProvideAnomalyFeedbackCommandError = async (output, context) => {
|
|
1459
1459
|
const parsedOutput = {
|
|
1460
1460
|
...output,
|
|
1461
1461
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1464,7 +1464,7 @@ const deserializeAws_json1_1ProvideAnomalyFeedbackCommandError = async (output,
|
|
|
1464
1464
|
switch (errorCode) {
|
|
1465
1465
|
case "LimitExceededException":
|
|
1466
1466
|
case "com.amazonaws.costexplorer#LimitExceededException":
|
|
1467
|
-
throw await
|
|
1467
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1468
1468
|
default:
|
|
1469
1469
|
const parsedBody = parsedOutput.body;
|
|
1470
1470
|
throwDefaultError({
|
|
@@ -1475,20 +1475,20 @@ const deserializeAws_json1_1ProvideAnomalyFeedbackCommandError = async (output,
|
|
|
1475
1475
|
});
|
|
1476
1476
|
}
|
|
1477
1477
|
};
|
|
1478
|
-
export const
|
|
1478
|
+
export const de_StartSavingsPlansPurchaseRecommendationGenerationCommand = async (output, context) => {
|
|
1479
1479
|
if (output.statusCode >= 300) {
|
|
1480
|
-
return
|
|
1480
|
+
return de_StartSavingsPlansPurchaseRecommendationGenerationCommandError(output, context);
|
|
1481
1481
|
}
|
|
1482
1482
|
const data = await parseBody(output.body, context);
|
|
1483
1483
|
let contents = {};
|
|
1484
|
-
contents =
|
|
1484
|
+
contents = de_StartSavingsPlansPurchaseRecommendationGenerationResponse(data, context);
|
|
1485
1485
|
const response = {
|
|
1486
1486
|
$metadata: deserializeMetadata(output),
|
|
1487
1487
|
...contents,
|
|
1488
1488
|
};
|
|
1489
1489
|
return Promise.resolve(response);
|
|
1490
1490
|
};
|
|
1491
|
-
const
|
|
1491
|
+
const de_StartSavingsPlansPurchaseRecommendationGenerationCommandError = async (output, context) => {
|
|
1492
1492
|
const parsedOutput = {
|
|
1493
1493
|
...output,
|
|
1494
1494
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1497,13 +1497,13 @@ const deserializeAws_json1_1StartSavingsPlansPurchaseRecommendationGenerationCom
|
|
|
1497
1497
|
switch (errorCode) {
|
|
1498
1498
|
case "GenerationExistsException":
|
|
1499
1499
|
case "com.amazonaws.costexplorer#GenerationExistsException":
|
|
1500
|
-
throw await
|
|
1500
|
+
throw await de_GenerationExistsExceptionRes(parsedOutput, context);
|
|
1501
1501
|
case "LimitExceededException":
|
|
1502
1502
|
case "com.amazonaws.costexplorer#LimitExceededException":
|
|
1503
|
-
throw await
|
|
1503
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1504
1504
|
case "ServiceQuotaExceededException":
|
|
1505
1505
|
case "com.amazonaws.costexplorer#ServiceQuotaExceededException":
|
|
1506
|
-
throw await
|
|
1506
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1507
1507
|
default:
|
|
1508
1508
|
const parsedBody = parsedOutput.body;
|
|
1509
1509
|
throwDefaultError({
|
|
@@ -1514,20 +1514,20 @@ const deserializeAws_json1_1StartSavingsPlansPurchaseRecommendationGenerationCom
|
|
|
1514
1514
|
});
|
|
1515
1515
|
}
|
|
1516
1516
|
};
|
|
1517
|
-
export const
|
|
1517
|
+
export const de_TagResourceCommand = async (output, context) => {
|
|
1518
1518
|
if (output.statusCode >= 300) {
|
|
1519
|
-
return
|
|
1519
|
+
return de_TagResourceCommandError(output, context);
|
|
1520
1520
|
}
|
|
1521
1521
|
const data = await parseBody(output.body, context);
|
|
1522
1522
|
let contents = {};
|
|
1523
|
-
contents =
|
|
1523
|
+
contents = de_TagResourceResponse(data, context);
|
|
1524
1524
|
const response = {
|
|
1525
1525
|
$metadata: deserializeMetadata(output),
|
|
1526
1526
|
...contents,
|
|
1527
1527
|
};
|
|
1528
1528
|
return Promise.resolve(response);
|
|
1529
1529
|
};
|
|
1530
|
-
const
|
|
1530
|
+
const de_TagResourceCommandError = async (output, context) => {
|
|
1531
1531
|
const parsedOutput = {
|
|
1532
1532
|
...output,
|
|
1533
1533
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1536,13 +1536,13 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
|
|
|
1536
1536
|
switch (errorCode) {
|
|
1537
1537
|
case "LimitExceededException":
|
|
1538
1538
|
case "com.amazonaws.costexplorer#LimitExceededException":
|
|
1539
|
-
throw await
|
|
1539
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1540
1540
|
case "ResourceNotFoundException":
|
|
1541
1541
|
case "com.amazonaws.costexplorer#ResourceNotFoundException":
|
|
1542
|
-
throw await
|
|
1542
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1543
1543
|
case "TooManyTagsException":
|
|
1544
1544
|
case "com.amazonaws.costexplorer#TooManyTagsException":
|
|
1545
|
-
throw await
|
|
1545
|
+
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
1546
1546
|
default:
|
|
1547
1547
|
const parsedBody = parsedOutput.body;
|
|
1548
1548
|
throwDefaultError({
|
|
@@ -1553,20 +1553,20 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
|
|
|
1553
1553
|
});
|
|
1554
1554
|
}
|
|
1555
1555
|
};
|
|
1556
|
-
export const
|
|
1556
|
+
export const de_UntagResourceCommand = async (output, context) => {
|
|
1557
1557
|
if (output.statusCode >= 300) {
|
|
1558
|
-
return
|
|
1558
|
+
return de_UntagResourceCommandError(output, context);
|
|
1559
1559
|
}
|
|
1560
1560
|
const data = await parseBody(output.body, context);
|
|
1561
1561
|
let contents = {};
|
|
1562
|
-
contents =
|
|
1562
|
+
contents = de_UntagResourceResponse(data, context);
|
|
1563
1563
|
const response = {
|
|
1564
1564
|
$metadata: deserializeMetadata(output),
|
|
1565
1565
|
...contents,
|
|
1566
1566
|
};
|
|
1567
1567
|
return Promise.resolve(response);
|
|
1568
1568
|
};
|
|
1569
|
-
const
|
|
1569
|
+
const de_UntagResourceCommandError = async (output, context) => {
|
|
1570
1570
|
const parsedOutput = {
|
|
1571
1571
|
...output,
|
|
1572
1572
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1575,10 +1575,10 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
|
|
|
1575
1575
|
switch (errorCode) {
|
|
1576
1576
|
case "LimitExceededException":
|
|
1577
1577
|
case "com.amazonaws.costexplorer#LimitExceededException":
|
|
1578
|
-
throw await
|
|
1578
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1579
1579
|
case "ResourceNotFoundException":
|
|
1580
1580
|
case "com.amazonaws.costexplorer#ResourceNotFoundException":
|
|
1581
|
-
throw await
|
|
1581
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1582
1582
|
default:
|
|
1583
1583
|
const parsedBody = parsedOutput.body;
|
|
1584
1584
|
throwDefaultError({
|
|
@@ -1589,20 +1589,20 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
|
|
|
1589
1589
|
});
|
|
1590
1590
|
}
|
|
1591
1591
|
};
|
|
1592
|
-
export const
|
|
1592
|
+
export const de_UpdateAnomalyMonitorCommand = async (output, context) => {
|
|
1593
1593
|
if (output.statusCode >= 300) {
|
|
1594
|
-
return
|
|
1594
|
+
return de_UpdateAnomalyMonitorCommandError(output, context);
|
|
1595
1595
|
}
|
|
1596
1596
|
const data = await parseBody(output.body, context);
|
|
1597
1597
|
let contents = {};
|
|
1598
|
-
contents =
|
|
1598
|
+
contents = de_UpdateAnomalyMonitorResponse(data, context);
|
|
1599
1599
|
const response = {
|
|
1600
1600
|
$metadata: deserializeMetadata(output),
|
|
1601
1601
|
...contents,
|
|
1602
1602
|
};
|
|
1603
1603
|
return Promise.resolve(response);
|
|
1604
1604
|
};
|
|
1605
|
-
const
|
|
1605
|
+
const de_UpdateAnomalyMonitorCommandError = async (output, context) => {
|
|
1606
1606
|
const parsedOutput = {
|
|
1607
1607
|
...output,
|
|
1608
1608
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1611,10 +1611,10 @@ const deserializeAws_json1_1UpdateAnomalyMonitorCommandError = async (output, co
|
|
|
1611
1611
|
switch (errorCode) {
|
|
1612
1612
|
case "LimitExceededException":
|
|
1613
1613
|
case "com.amazonaws.costexplorer#LimitExceededException":
|
|
1614
|
-
throw await
|
|
1614
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1615
1615
|
case "UnknownMonitorException":
|
|
1616
1616
|
case "com.amazonaws.costexplorer#UnknownMonitorException":
|
|
1617
|
-
throw await
|
|
1617
|
+
throw await de_UnknownMonitorExceptionRes(parsedOutput, context);
|
|
1618
1618
|
default:
|
|
1619
1619
|
const parsedBody = parsedOutput.body;
|
|
1620
1620
|
throwDefaultError({
|
|
@@ -1625,20 +1625,20 @@ const deserializeAws_json1_1UpdateAnomalyMonitorCommandError = async (output, co
|
|
|
1625
1625
|
});
|
|
1626
1626
|
}
|
|
1627
1627
|
};
|
|
1628
|
-
export const
|
|
1628
|
+
export const de_UpdateAnomalySubscriptionCommand = async (output, context) => {
|
|
1629
1629
|
if (output.statusCode >= 300) {
|
|
1630
|
-
return
|
|
1630
|
+
return de_UpdateAnomalySubscriptionCommandError(output, context);
|
|
1631
1631
|
}
|
|
1632
1632
|
const data = await parseBody(output.body, context);
|
|
1633
1633
|
let contents = {};
|
|
1634
|
-
contents =
|
|
1634
|
+
contents = de_UpdateAnomalySubscriptionResponse(data, context);
|
|
1635
1635
|
const response = {
|
|
1636
1636
|
$metadata: deserializeMetadata(output),
|
|
1637
1637
|
...contents,
|
|
1638
1638
|
};
|
|
1639
1639
|
return Promise.resolve(response);
|
|
1640
1640
|
};
|
|
1641
|
-
const
|
|
1641
|
+
const de_UpdateAnomalySubscriptionCommandError = async (output, context) => {
|
|
1642
1642
|
const parsedOutput = {
|
|
1643
1643
|
...output,
|
|
1644
1644
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1647,13 +1647,13 @@ const deserializeAws_json1_1UpdateAnomalySubscriptionCommandError = async (outpu
|
|
|
1647
1647
|
switch (errorCode) {
|
|
1648
1648
|
case "LimitExceededException":
|
|
1649
1649
|
case "com.amazonaws.costexplorer#LimitExceededException":
|
|
1650
|
-
throw await
|
|
1650
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1651
1651
|
case "UnknownMonitorException":
|
|
1652
1652
|
case "com.amazonaws.costexplorer#UnknownMonitorException":
|
|
1653
|
-
throw await
|
|
1653
|
+
throw await de_UnknownMonitorExceptionRes(parsedOutput, context);
|
|
1654
1654
|
case "UnknownSubscriptionException":
|
|
1655
1655
|
case "com.amazonaws.costexplorer#UnknownSubscriptionException":
|
|
1656
|
-
throw await
|
|
1656
|
+
throw await de_UnknownSubscriptionExceptionRes(parsedOutput, context);
|
|
1657
1657
|
default:
|
|
1658
1658
|
const parsedBody = parsedOutput.body;
|
|
1659
1659
|
throwDefaultError({
|
|
@@ -1664,20 +1664,20 @@ const deserializeAws_json1_1UpdateAnomalySubscriptionCommandError = async (outpu
|
|
|
1664
1664
|
});
|
|
1665
1665
|
}
|
|
1666
1666
|
};
|
|
1667
|
-
export const
|
|
1667
|
+
export const de_UpdateCostAllocationTagsStatusCommand = async (output, context) => {
|
|
1668
1668
|
if (output.statusCode >= 300) {
|
|
1669
|
-
return
|
|
1669
|
+
return de_UpdateCostAllocationTagsStatusCommandError(output, context);
|
|
1670
1670
|
}
|
|
1671
1671
|
const data = await parseBody(output.body, context);
|
|
1672
1672
|
let contents = {};
|
|
1673
|
-
contents =
|
|
1673
|
+
contents = de_UpdateCostAllocationTagsStatusResponse(data, context);
|
|
1674
1674
|
const response = {
|
|
1675
1675
|
$metadata: deserializeMetadata(output),
|
|
1676
1676
|
...contents,
|
|
1677
1677
|
};
|
|
1678
1678
|
return Promise.resolve(response);
|
|
1679
1679
|
};
|
|
1680
|
-
const
|
|
1680
|
+
const de_UpdateCostAllocationTagsStatusCommandError = async (output, context) => {
|
|
1681
1681
|
const parsedOutput = {
|
|
1682
1682
|
...output,
|
|
1683
1683
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1686,7 +1686,7 @@ const deserializeAws_json1_1UpdateCostAllocationTagsStatusCommandError = async (
|
|
|
1686
1686
|
switch (errorCode) {
|
|
1687
1687
|
case "LimitExceededException":
|
|
1688
1688
|
case "com.amazonaws.costexplorer#LimitExceededException":
|
|
1689
|
-
throw await
|
|
1689
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1690
1690
|
default:
|
|
1691
1691
|
const parsedBody = parsedOutput.body;
|
|
1692
1692
|
throwDefaultError({
|
|
@@ -1697,20 +1697,20 @@ const deserializeAws_json1_1UpdateCostAllocationTagsStatusCommandError = async (
|
|
|
1697
1697
|
});
|
|
1698
1698
|
}
|
|
1699
1699
|
};
|
|
1700
|
-
export const
|
|
1700
|
+
export const de_UpdateCostCategoryDefinitionCommand = async (output, context) => {
|
|
1701
1701
|
if (output.statusCode >= 300) {
|
|
1702
|
-
return
|
|
1702
|
+
return de_UpdateCostCategoryDefinitionCommandError(output, context);
|
|
1703
1703
|
}
|
|
1704
1704
|
const data = await parseBody(output.body, context);
|
|
1705
1705
|
let contents = {};
|
|
1706
|
-
contents =
|
|
1706
|
+
contents = de_UpdateCostCategoryDefinitionResponse(data, context);
|
|
1707
1707
|
const response = {
|
|
1708
1708
|
$metadata: deserializeMetadata(output),
|
|
1709
1709
|
...contents,
|
|
1710
1710
|
};
|
|
1711
1711
|
return Promise.resolve(response);
|
|
1712
1712
|
};
|
|
1713
|
-
const
|
|
1713
|
+
const de_UpdateCostCategoryDefinitionCommandError = async (output, context) => {
|
|
1714
1714
|
const parsedOutput = {
|
|
1715
1715
|
...output,
|
|
1716
1716
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1719,13 +1719,13 @@ const deserializeAws_json1_1UpdateCostCategoryDefinitionCommandError = async (ou
|
|
|
1719
1719
|
switch (errorCode) {
|
|
1720
1720
|
case "LimitExceededException":
|
|
1721
1721
|
case "com.amazonaws.costexplorer#LimitExceededException":
|
|
1722
|
-
throw await
|
|
1722
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1723
1723
|
case "ResourceNotFoundException":
|
|
1724
1724
|
case "com.amazonaws.costexplorer#ResourceNotFoundException":
|
|
1725
|
-
throw await
|
|
1725
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1726
1726
|
case "ServiceQuotaExceededException":
|
|
1727
1727
|
case "com.amazonaws.costexplorer#ServiceQuotaExceededException":
|
|
1728
|
-
throw await
|
|
1728
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1729
1729
|
default:
|
|
1730
1730
|
const parsedBody = parsedOutput.body;
|
|
1731
1731
|
throwDefaultError({
|
|
@@ -1736,121 +1736,121 @@ const deserializeAws_json1_1UpdateCostCategoryDefinitionCommandError = async (ou
|
|
|
1736
1736
|
});
|
|
1737
1737
|
}
|
|
1738
1738
|
};
|
|
1739
|
-
const
|
|
1739
|
+
const de_BillExpirationExceptionRes = async (parsedOutput, context) => {
|
|
1740
1740
|
const body = parsedOutput.body;
|
|
1741
|
-
const deserialized =
|
|
1741
|
+
const deserialized = de_BillExpirationException(body, context);
|
|
1742
1742
|
const exception = new BillExpirationException({
|
|
1743
1743
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1744
1744
|
...deserialized,
|
|
1745
1745
|
});
|
|
1746
1746
|
return __decorateServiceException(exception, body);
|
|
1747
1747
|
};
|
|
1748
|
-
const
|
|
1748
|
+
const de_DataUnavailableExceptionRes = async (parsedOutput, context) => {
|
|
1749
1749
|
const body = parsedOutput.body;
|
|
1750
|
-
const deserialized =
|
|
1750
|
+
const deserialized = de_DataUnavailableException(body, context);
|
|
1751
1751
|
const exception = new DataUnavailableException({
|
|
1752
1752
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1753
1753
|
...deserialized,
|
|
1754
1754
|
});
|
|
1755
1755
|
return __decorateServiceException(exception, body);
|
|
1756
1756
|
};
|
|
1757
|
-
const
|
|
1757
|
+
const de_GenerationExistsExceptionRes = async (parsedOutput, context) => {
|
|
1758
1758
|
const body = parsedOutput.body;
|
|
1759
|
-
const deserialized =
|
|
1759
|
+
const deserialized = de_GenerationExistsException(body, context);
|
|
1760
1760
|
const exception = new GenerationExistsException({
|
|
1761
1761
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1762
1762
|
...deserialized,
|
|
1763
1763
|
});
|
|
1764
1764
|
return __decorateServiceException(exception, body);
|
|
1765
1765
|
};
|
|
1766
|
-
const
|
|
1766
|
+
const de_InvalidNextTokenExceptionRes = async (parsedOutput, context) => {
|
|
1767
1767
|
const body = parsedOutput.body;
|
|
1768
|
-
const deserialized =
|
|
1768
|
+
const deserialized = de_InvalidNextTokenException(body, context);
|
|
1769
1769
|
const exception = new InvalidNextTokenException({
|
|
1770
1770
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1771
1771
|
...deserialized,
|
|
1772
1772
|
});
|
|
1773
1773
|
return __decorateServiceException(exception, body);
|
|
1774
1774
|
};
|
|
1775
|
-
const
|
|
1775
|
+
const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
1776
1776
|
const body = parsedOutput.body;
|
|
1777
|
-
const deserialized =
|
|
1777
|
+
const deserialized = de_LimitExceededException(body, context);
|
|
1778
1778
|
const exception = new LimitExceededException({
|
|
1779
1779
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1780
1780
|
...deserialized,
|
|
1781
1781
|
});
|
|
1782
1782
|
return __decorateServiceException(exception, body);
|
|
1783
1783
|
};
|
|
1784
|
-
const
|
|
1784
|
+
const de_RequestChangedExceptionRes = async (parsedOutput, context) => {
|
|
1785
1785
|
const body = parsedOutput.body;
|
|
1786
|
-
const deserialized =
|
|
1786
|
+
const deserialized = de_RequestChangedException(body, context);
|
|
1787
1787
|
const exception = new RequestChangedException({
|
|
1788
1788
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1789
1789
|
...deserialized,
|
|
1790
1790
|
});
|
|
1791
1791
|
return __decorateServiceException(exception, body);
|
|
1792
1792
|
};
|
|
1793
|
-
const
|
|
1793
|
+
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1794
1794
|
const body = parsedOutput.body;
|
|
1795
|
-
const deserialized =
|
|
1795
|
+
const deserialized = de_ResourceNotFoundException(body, context);
|
|
1796
1796
|
const exception = new ResourceNotFoundException({
|
|
1797
1797
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1798
1798
|
...deserialized,
|
|
1799
1799
|
});
|
|
1800
1800
|
return __decorateServiceException(exception, body);
|
|
1801
1801
|
};
|
|
1802
|
-
const
|
|
1802
|
+
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
1803
1803
|
const body = parsedOutput.body;
|
|
1804
|
-
const deserialized =
|
|
1804
|
+
const deserialized = de_ServiceQuotaExceededException(body, context);
|
|
1805
1805
|
const exception = new ServiceQuotaExceededException({
|
|
1806
1806
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1807
1807
|
...deserialized,
|
|
1808
1808
|
});
|
|
1809
1809
|
return __decorateServiceException(exception, body);
|
|
1810
1810
|
};
|
|
1811
|
-
const
|
|
1811
|
+
const de_TooManyTagsExceptionRes = async (parsedOutput, context) => {
|
|
1812
1812
|
const body = parsedOutput.body;
|
|
1813
|
-
const deserialized =
|
|
1813
|
+
const deserialized = de_TooManyTagsException(body, context);
|
|
1814
1814
|
const exception = new TooManyTagsException({
|
|
1815
1815
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1816
1816
|
...deserialized,
|
|
1817
1817
|
});
|
|
1818
1818
|
return __decorateServiceException(exception, body);
|
|
1819
1819
|
};
|
|
1820
|
-
const
|
|
1820
|
+
const de_UnknownMonitorExceptionRes = async (parsedOutput, context) => {
|
|
1821
1821
|
const body = parsedOutput.body;
|
|
1822
|
-
const deserialized =
|
|
1822
|
+
const deserialized = de_UnknownMonitorException(body, context);
|
|
1823
1823
|
const exception = new UnknownMonitorException({
|
|
1824
1824
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1825
1825
|
...deserialized,
|
|
1826
1826
|
});
|
|
1827
1827
|
return __decorateServiceException(exception, body);
|
|
1828
1828
|
};
|
|
1829
|
-
const
|
|
1829
|
+
const de_UnknownSubscriptionExceptionRes = async (parsedOutput, context) => {
|
|
1830
1830
|
const body = parsedOutput.body;
|
|
1831
|
-
const deserialized =
|
|
1831
|
+
const deserialized = de_UnknownSubscriptionException(body, context);
|
|
1832
1832
|
const exception = new UnknownSubscriptionException({
|
|
1833
1833
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1834
1834
|
...deserialized,
|
|
1835
1835
|
});
|
|
1836
1836
|
return __decorateServiceException(exception, body);
|
|
1837
1837
|
};
|
|
1838
|
-
const
|
|
1838
|
+
const de_UnresolvableUsageUnitExceptionRes = async (parsedOutput, context) => {
|
|
1839
1839
|
const body = parsedOutput.body;
|
|
1840
|
-
const deserialized =
|
|
1840
|
+
const deserialized = de_UnresolvableUsageUnitException(body, context);
|
|
1841
1841
|
const exception = new UnresolvableUsageUnitException({
|
|
1842
1842
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1843
1843
|
...deserialized,
|
|
1844
1844
|
});
|
|
1845
1845
|
return __decorateServiceException(exception, body);
|
|
1846
1846
|
};
|
|
1847
|
-
const
|
|
1847
|
+
const se_AnomalyDateInterval = (input, context) => {
|
|
1848
1848
|
return {
|
|
1849
1849
|
...(input.EndDate != null && { EndDate: input.EndDate }),
|
|
1850
1850
|
...(input.StartDate != null && { StartDate: input.StartDate }),
|
|
1851
1851
|
};
|
|
1852
1852
|
};
|
|
1853
|
-
const
|
|
1853
|
+
const se_AnomalyMonitor = (input, context) => {
|
|
1854
1854
|
return {
|
|
1855
1855
|
...(input.CreationDate != null && { CreationDate: input.CreationDate }),
|
|
1856
1856
|
...(input.DimensionalValueCount != null && { DimensionalValueCount: input.DimensionalValueCount }),
|
|
@@ -1860,367 +1860,345 @@ const serializeAws_json1_1AnomalyMonitor = (input, context) => {
|
|
|
1860
1860
|
...(input.MonitorDimension != null && { MonitorDimension: input.MonitorDimension }),
|
|
1861
1861
|
...(input.MonitorName != null && { MonitorName: input.MonitorName }),
|
|
1862
1862
|
...(input.MonitorSpecification != null && {
|
|
1863
|
-
MonitorSpecification:
|
|
1863
|
+
MonitorSpecification: se_Expression(input.MonitorSpecification, context),
|
|
1864
1864
|
}),
|
|
1865
1865
|
...(input.MonitorType != null && { MonitorType: input.MonitorType }),
|
|
1866
1866
|
};
|
|
1867
1867
|
};
|
|
1868
|
-
const
|
|
1868
|
+
const se_AnomalySubscription = (input, context) => {
|
|
1869
1869
|
return {
|
|
1870
1870
|
...(input.AccountId != null && { AccountId: input.AccountId }),
|
|
1871
1871
|
...(input.Frequency != null && { Frequency: input.Frequency }),
|
|
1872
|
-
...(input.MonitorArnList != null && {
|
|
1873
|
-
|
|
1874
|
-
}),
|
|
1875
|
-
...(input.Subscribers != null && { Subscribers: serializeAws_json1_1Subscribers(input.Subscribers, context) }),
|
|
1872
|
+
...(input.MonitorArnList != null && { MonitorArnList: se_MonitorArnList(input.MonitorArnList, context) }),
|
|
1873
|
+
...(input.Subscribers != null && { Subscribers: se_Subscribers(input.Subscribers, context) }),
|
|
1876
1874
|
...(input.SubscriptionArn != null && { SubscriptionArn: input.SubscriptionArn }),
|
|
1877
1875
|
...(input.SubscriptionName != null && { SubscriptionName: input.SubscriptionName }),
|
|
1878
1876
|
...(input.Threshold != null && { Threshold: __serializeFloat(input.Threshold) }),
|
|
1879
1877
|
...(input.ThresholdExpression != null && {
|
|
1880
|
-
ThresholdExpression:
|
|
1878
|
+
ThresholdExpression: se_Expression(input.ThresholdExpression, context),
|
|
1881
1879
|
}),
|
|
1882
1880
|
};
|
|
1883
1881
|
};
|
|
1884
|
-
const
|
|
1882
|
+
const se_CostAllocationTagKeyList = (input, context) => {
|
|
1885
1883
|
return input
|
|
1886
1884
|
.filter((e) => e != null)
|
|
1887
1885
|
.map((entry) => {
|
|
1888
1886
|
return entry;
|
|
1889
1887
|
});
|
|
1890
1888
|
};
|
|
1891
|
-
const
|
|
1889
|
+
const se_CostAllocationTagStatusEntry = (input, context) => {
|
|
1892
1890
|
return {
|
|
1893
1891
|
...(input.Status != null && { Status: input.Status }),
|
|
1894
1892
|
...(input.TagKey != null && { TagKey: input.TagKey }),
|
|
1895
1893
|
};
|
|
1896
1894
|
};
|
|
1897
|
-
const
|
|
1895
|
+
const se_CostAllocationTagStatusList = (input, context) => {
|
|
1898
1896
|
return input
|
|
1899
1897
|
.filter((e) => e != null)
|
|
1900
1898
|
.map((entry) => {
|
|
1901
|
-
return
|
|
1899
|
+
return se_CostAllocationTagStatusEntry(entry, context);
|
|
1902
1900
|
});
|
|
1903
1901
|
};
|
|
1904
|
-
const
|
|
1902
|
+
const se_CostCategoryInheritedValueDimension = (input, context) => {
|
|
1905
1903
|
return {
|
|
1906
1904
|
...(input.DimensionKey != null && { DimensionKey: input.DimensionKey }),
|
|
1907
1905
|
...(input.DimensionName != null && { DimensionName: input.DimensionName }),
|
|
1908
1906
|
};
|
|
1909
1907
|
};
|
|
1910
|
-
const
|
|
1908
|
+
const se_CostCategoryRule = (input, context) => {
|
|
1911
1909
|
return {
|
|
1912
1910
|
...(input.InheritedValue != null && {
|
|
1913
|
-
InheritedValue:
|
|
1911
|
+
InheritedValue: se_CostCategoryInheritedValueDimension(input.InheritedValue, context),
|
|
1914
1912
|
}),
|
|
1915
|
-
...(input.Rule != null && { Rule:
|
|
1913
|
+
...(input.Rule != null && { Rule: se_Expression(input.Rule, context) }),
|
|
1916
1914
|
...(input.Type != null && { Type: input.Type }),
|
|
1917
1915
|
...(input.Value != null && { Value: input.Value }),
|
|
1918
1916
|
};
|
|
1919
1917
|
};
|
|
1920
|
-
const
|
|
1918
|
+
const se_CostCategoryRulesList = (input, context) => {
|
|
1921
1919
|
return input
|
|
1922
1920
|
.filter((e) => e != null)
|
|
1923
1921
|
.map((entry) => {
|
|
1924
|
-
return
|
|
1922
|
+
return se_CostCategoryRule(entry, context);
|
|
1925
1923
|
});
|
|
1926
1924
|
};
|
|
1927
|
-
const
|
|
1925
|
+
const se_CostCategorySplitChargeRule = (input, context) => {
|
|
1928
1926
|
return {
|
|
1929
1927
|
...(input.Method != null && { Method: input.Method }),
|
|
1930
1928
|
...(input.Parameters != null && {
|
|
1931
|
-
Parameters:
|
|
1929
|
+
Parameters: se_CostCategorySplitChargeRuleParametersList(input.Parameters, context),
|
|
1932
1930
|
}),
|
|
1933
1931
|
...(input.Source != null && { Source: input.Source }),
|
|
1934
|
-
...(input.Targets != null && {
|
|
1935
|
-
Targets: serializeAws_json1_1CostCategorySplitChargeRuleTargetsList(input.Targets, context),
|
|
1936
|
-
}),
|
|
1932
|
+
...(input.Targets != null && { Targets: se_CostCategorySplitChargeRuleTargetsList(input.Targets, context) }),
|
|
1937
1933
|
};
|
|
1938
1934
|
};
|
|
1939
|
-
const
|
|
1935
|
+
const se_CostCategorySplitChargeRuleParameter = (input, context) => {
|
|
1940
1936
|
return {
|
|
1941
1937
|
...(input.Type != null && { Type: input.Type }),
|
|
1942
|
-
...(input.Values != null && {
|
|
1943
|
-
Values: serializeAws_json1_1CostCategorySplitChargeRuleParameterValuesList(input.Values, context),
|
|
1944
|
-
}),
|
|
1938
|
+
...(input.Values != null && { Values: se_CostCategorySplitChargeRuleParameterValuesList(input.Values, context) }),
|
|
1945
1939
|
};
|
|
1946
1940
|
};
|
|
1947
|
-
const
|
|
1941
|
+
const se_CostCategorySplitChargeRuleParametersList = (input, context) => {
|
|
1948
1942
|
return input
|
|
1949
1943
|
.filter((e) => e != null)
|
|
1950
1944
|
.map((entry) => {
|
|
1951
|
-
return
|
|
1945
|
+
return se_CostCategorySplitChargeRuleParameter(entry, context);
|
|
1952
1946
|
});
|
|
1953
1947
|
};
|
|
1954
|
-
const
|
|
1948
|
+
const se_CostCategorySplitChargeRuleParameterValuesList = (input, context) => {
|
|
1955
1949
|
return input
|
|
1956
1950
|
.filter((e) => e != null)
|
|
1957
1951
|
.map((entry) => {
|
|
1958
1952
|
return entry;
|
|
1959
1953
|
});
|
|
1960
1954
|
};
|
|
1961
|
-
const
|
|
1955
|
+
const se_CostCategorySplitChargeRulesList = (input, context) => {
|
|
1962
1956
|
return input
|
|
1963
1957
|
.filter((e) => e != null)
|
|
1964
1958
|
.map((entry) => {
|
|
1965
|
-
return
|
|
1959
|
+
return se_CostCategorySplitChargeRule(entry, context);
|
|
1966
1960
|
});
|
|
1967
1961
|
};
|
|
1968
|
-
const
|
|
1962
|
+
const se_CostCategorySplitChargeRuleTargetsList = (input, context) => {
|
|
1969
1963
|
return input
|
|
1970
1964
|
.filter((e) => e != null)
|
|
1971
1965
|
.map((entry) => {
|
|
1972
1966
|
return entry;
|
|
1973
1967
|
});
|
|
1974
1968
|
};
|
|
1975
|
-
const
|
|
1969
|
+
const se_CostCategoryValues = (input, context) => {
|
|
1976
1970
|
return {
|
|
1977
1971
|
...(input.Key != null && { Key: input.Key }),
|
|
1978
|
-
...(input.MatchOptions != null && { MatchOptions:
|
|
1979
|
-
...(input.Values != null && { Values:
|
|
1972
|
+
...(input.MatchOptions != null && { MatchOptions: se_MatchOptions(input.MatchOptions, context) }),
|
|
1973
|
+
...(input.Values != null && { Values: se_Values(input.Values, context) }),
|
|
1980
1974
|
};
|
|
1981
1975
|
};
|
|
1982
|
-
const
|
|
1976
|
+
const se_CreateAnomalyMonitorRequest = (input, context) => {
|
|
1983
1977
|
return {
|
|
1984
|
-
...(input.AnomalyMonitor != null && {
|
|
1985
|
-
|
|
1986
|
-
}),
|
|
1987
|
-
...(input.ResourceTags != null && {
|
|
1988
|
-
ResourceTags: serializeAws_json1_1ResourceTagList(input.ResourceTags, context),
|
|
1989
|
-
}),
|
|
1978
|
+
...(input.AnomalyMonitor != null && { AnomalyMonitor: se_AnomalyMonitor(input.AnomalyMonitor, context) }),
|
|
1979
|
+
...(input.ResourceTags != null && { ResourceTags: se_ResourceTagList(input.ResourceTags, context) }),
|
|
1990
1980
|
};
|
|
1991
1981
|
};
|
|
1992
|
-
const
|
|
1982
|
+
const se_CreateAnomalySubscriptionRequest = (input, context) => {
|
|
1993
1983
|
return {
|
|
1994
1984
|
...(input.AnomalySubscription != null && {
|
|
1995
|
-
AnomalySubscription:
|
|
1996
|
-
}),
|
|
1997
|
-
...(input.ResourceTags != null && {
|
|
1998
|
-
ResourceTags: serializeAws_json1_1ResourceTagList(input.ResourceTags, context),
|
|
1985
|
+
AnomalySubscription: se_AnomalySubscription(input.AnomalySubscription, context),
|
|
1999
1986
|
}),
|
|
1987
|
+
...(input.ResourceTags != null && { ResourceTags: se_ResourceTagList(input.ResourceTags, context) }),
|
|
2000
1988
|
};
|
|
2001
1989
|
};
|
|
2002
|
-
const
|
|
1990
|
+
const se_CreateCostCategoryDefinitionRequest = (input, context) => {
|
|
2003
1991
|
return {
|
|
2004
1992
|
...(input.DefaultValue != null && { DefaultValue: input.DefaultValue }),
|
|
2005
1993
|
...(input.EffectiveStart != null && { EffectiveStart: input.EffectiveStart }),
|
|
2006
1994
|
...(input.Name != null && { Name: input.Name }),
|
|
2007
|
-
...(input.ResourceTags != null && {
|
|
2008
|
-
ResourceTags: serializeAws_json1_1ResourceTagList(input.ResourceTags, context),
|
|
2009
|
-
}),
|
|
1995
|
+
...(input.ResourceTags != null && { ResourceTags: se_ResourceTagList(input.ResourceTags, context) }),
|
|
2010
1996
|
...(input.RuleVersion != null && { RuleVersion: input.RuleVersion }),
|
|
2011
|
-
...(input.Rules != null && { Rules:
|
|
1997
|
+
...(input.Rules != null && { Rules: se_CostCategoryRulesList(input.Rules, context) }),
|
|
2012
1998
|
...(input.SplitChargeRules != null && {
|
|
2013
|
-
SplitChargeRules:
|
|
1999
|
+
SplitChargeRules: se_CostCategorySplitChargeRulesList(input.SplitChargeRules, context),
|
|
2014
2000
|
}),
|
|
2015
2001
|
};
|
|
2016
2002
|
};
|
|
2017
|
-
const
|
|
2003
|
+
const se_DateInterval = (input, context) => {
|
|
2018
2004
|
return {
|
|
2019
2005
|
...(input.End != null && { End: input.End }),
|
|
2020
2006
|
...(input.Start != null && { Start: input.Start }),
|
|
2021
2007
|
};
|
|
2022
2008
|
};
|
|
2023
|
-
const
|
|
2009
|
+
const se_DeleteAnomalyMonitorRequest = (input, context) => {
|
|
2024
2010
|
return {
|
|
2025
2011
|
...(input.MonitorArn != null && { MonitorArn: input.MonitorArn }),
|
|
2026
2012
|
};
|
|
2027
2013
|
};
|
|
2028
|
-
const
|
|
2014
|
+
const se_DeleteAnomalySubscriptionRequest = (input, context) => {
|
|
2029
2015
|
return {
|
|
2030
2016
|
...(input.SubscriptionArn != null && { SubscriptionArn: input.SubscriptionArn }),
|
|
2031
2017
|
};
|
|
2032
2018
|
};
|
|
2033
|
-
const
|
|
2019
|
+
const se_DeleteCostCategoryDefinitionRequest = (input, context) => {
|
|
2034
2020
|
return {
|
|
2035
2021
|
...(input.CostCategoryArn != null && { CostCategoryArn: input.CostCategoryArn }),
|
|
2036
2022
|
};
|
|
2037
2023
|
};
|
|
2038
|
-
const
|
|
2024
|
+
const se_DescribeCostCategoryDefinitionRequest = (input, context) => {
|
|
2039
2025
|
return {
|
|
2040
2026
|
...(input.CostCategoryArn != null && { CostCategoryArn: input.CostCategoryArn }),
|
|
2041
2027
|
...(input.EffectiveOn != null && { EffectiveOn: input.EffectiveOn }),
|
|
2042
2028
|
};
|
|
2043
2029
|
};
|
|
2044
|
-
const
|
|
2030
|
+
const se_DimensionValues = (input, context) => {
|
|
2045
2031
|
return {
|
|
2046
2032
|
...(input.Key != null && { Key: input.Key }),
|
|
2047
|
-
...(input.MatchOptions != null && { MatchOptions:
|
|
2048
|
-
...(input.Values != null && { Values:
|
|
2033
|
+
...(input.MatchOptions != null && { MatchOptions: se_MatchOptions(input.MatchOptions, context) }),
|
|
2034
|
+
...(input.Values != null && { Values: se_Values(input.Values, context) }),
|
|
2049
2035
|
};
|
|
2050
2036
|
};
|
|
2051
|
-
const
|
|
2037
|
+
const se_EC2Specification = (input, context) => {
|
|
2052
2038
|
return {
|
|
2053
2039
|
...(input.OfferingClass != null && { OfferingClass: input.OfferingClass }),
|
|
2054
2040
|
};
|
|
2055
2041
|
};
|
|
2056
|
-
const
|
|
2042
|
+
const se_Expression = (input, context) => {
|
|
2057
2043
|
return {
|
|
2058
|
-
...(input.And != null && { And:
|
|
2059
|
-
...(input.CostCategories != null && {
|
|
2060
|
-
|
|
2061
|
-
}),
|
|
2062
|
-
...(input.
|
|
2063
|
-
...(input.
|
|
2064
|
-
...(input.Or != null && { Or: serializeAws_json1_1Expressions(input.Or, context) }),
|
|
2065
|
-
...(input.Tags != null && { Tags: serializeAws_json1_1TagValues(input.Tags, context) }),
|
|
2044
|
+
...(input.And != null && { And: se_Expressions(input.And, context) }),
|
|
2045
|
+
...(input.CostCategories != null && { CostCategories: se_CostCategoryValues(input.CostCategories, context) }),
|
|
2046
|
+
...(input.Dimensions != null && { Dimensions: se_DimensionValues(input.Dimensions, context) }),
|
|
2047
|
+
...(input.Not != null && { Not: se_Expression(input.Not, context) }),
|
|
2048
|
+
...(input.Or != null && { Or: se_Expressions(input.Or, context) }),
|
|
2049
|
+
...(input.Tags != null && { Tags: se_TagValues(input.Tags, context) }),
|
|
2066
2050
|
};
|
|
2067
2051
|
};
|
|
2068
|
-
const
|
|
2052
|
+
const se_Expressions = (input, context) => {
|
|
2069
2053
|
return input
|
|
2070
2054
|
.filter((e) => e != null)
|
|
2071
2055
|
.map((entry) => {
|
|
2072
|
-
return
|
|
2056
|
+
return se_Expression(entry, context);
|
|
2073
2057
|
});
|
|
2074
2058
|
};
|
|
2075
|
-
const
|
|
2059
|
+
const se_GetAnomaliesRequest = (input, context) => {
|
|
2076
2060
|
return {
|
|
2077
|
-
...(input.DateInterval != null && {
|
|
2078
|
-
DateInterval: serializeAws_json1_1AnomalyDateInterval(input.DateInterval, context),
|
|
2079
|
-
}),
|
|
2061
|
+
...(input.DateInterval != null && { DateInterval: se_AnomalyDateInterval(input.DateInterval, context) }),
|
|
2080
2062
|
...(input.Feedback != null && { Feedback: input.Feedback }),
|
|
2081
2063
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2082
2064
|
...(input.MonitorArn != null && { MonitorArn: input.MonitorArn }),
|
|
2083
2065
|
...(input.NextPageToken != null && { NextPageToken: input.NextPageToken }),
|
|
2084
|
-
...(input.TotalImpact != null && {
|
|
2085
|
-
TotalImpact: serializeAws_json1_1TotalImpactFilter(input.TotalImpact, context),
|
|
2086
|
-
}),
|
|
2066
|
+
...(input.TotalImpact != null && { TotalImpact: se_TotalImpactFilter(input.TotalImpact, context) }),
|
|
2087
2067
|
};
|
|
2088
2068
|
};
|
|
2089
|
-
const
|
|
2069
|
+
const se_GetAnomalyMonitorsRequest = (input, context) => {
|
|
2090
2070
|
return {
|
|
2091
2071
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2092
|
-
...(input.MonitorArnList != null && { MonitorArnList:
|
|
2072
|
+
...(input.MonitorArnList != null && { MonitorArnList: se_Values(input.MonitorArnList, context) }),
|
|
2093
2073
|
...(input.NextPageToken != null && { NextPageToken: input.NextPageToken }),
|
|
2094
2074
|
};
|
|
2095
2075
|
};
|
|
2096
|
-
const
|
|
2076
|
+
const se_GetAnomalySubscriptionsRequest = (input, context) => {
|
|
2097
2077
|
return {
|
|
2098
2078
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2099
2079
|
...(input.MonitorArn != null && { MonitorArn: input.MonitorArn }),
|
|
2100
2080
|
...(input.NextPageToken != null && { NextPageToken: input.NextPageToken }),
|
|
2101
|
-
...(input.SubscriptionArnList != null && {
|
|
2102
|
-
SubscriptionArnList: serializeAws_json1_1Values(input.SubscriptionArnList, context),
|
|
2103
|
-
}),
|
|
2081
|
+
...(input.SubscriptionArnList != null && { SubscriptionArnList: se_Values(input.SubscriptionArnList, context) }),
|
|
2104
2082
|
};
|
|
2105
2083
|
};
|
|
2106
|
-
const
|
|
2084
|
+
const se_GetCostAndUsageRequest = (input, context) => {
|
|
2107
2085
|
return {
|
|
2108
|
-
...(input.Filter != null && { Filter:
|
|
2086
|
+
...(input.Filter != null && { Filter: se_Expression(input.Filter, context) }),
|
|
2109
2087
|
...(input.Granularity != null && { Granularity: input.Granularity }),
|
|
2110
|
-
...(input.GroupBy != null && { GroupBy:
|
|
2111
|
-
...(input.Metrics != null && { Metrics:
|
|
2088
|
+
...(input.GroupBy != null && { GroupBy: se_GroupDefinitions(input.GroupBy, context) }),
|
|
2089
|
+
...(input.Metrics != null && { Metrics: se_MetricNames(input.Metrics, context) }),
|
|
2112
2090
|
...(input.NextPageToken != null && { NextPageToken: input.NextPageToken }),
|
|
2113
|
-
...(input.TimePeriod != null && { TimePeriod:
|
|
2091
|
+
...(input.TimePeriod != null && { TimePeriod: se_DateInterval(input.TimePeriod, context) }),
|
|
2114
2092
|
};
|
|
2115
2093
|
};
|
|
2116
|
-
const
|
|
2094
|
+
const se_GetCostAndUsageWithResourcesRequest = (input, context) => {
|
|
2117
2095
|
return {
|
|
2118
|
-
...(input.Filter != null && { Filter:
|
|
2096
|
+
...(input.Filter != null && { Filter: se_Expression(input.Filter, context) }),
|
|
2119
2097
|
...(input.Granularity != null && { Granularity: input.Granularity }),
|
|
2120
|
-
...(input.GroupBy != null && { GroupBy:
|
|
2121
|
-
...(input.Metrics != null && { Metrics:
|
|
2098
|
+
...(input.GroupBy != null && { GroupBy: se_GroupDefinitions(input.GroupBy, context) }),
|
|
2099
|
+
...(input.Metrics != null && { Metrics: se_MetricNames(input.Metrics, context) }),
|
|
2122
2100
|
...(input.NextPageToken != null && { NextPageToken: input.NextPageToken }),
|
|
2123
|
-
...(input.TimePeriod != null && { TimePeriod:
|
|
2101
|
+
...(input.TimePeriod != null && { TimePeriod: se_DateInterval(input.TimePeriod, context) }),
|
|
2124
2102
|
};
|
|
2125
2103
|
};
|
|
2126
|
-
const
|
|
2104
|
+
const se_GetCostCategoriesRequest = (input, context) => {
|
|
2127
2105
|
return {
|
|
2128
2106
|
...(input.CostCategoryName != null && { CostCategoryName: input.CostCategoryName }),
|
|
2129
|
-
...(input.Filter != null && { Filter:
|
|
2107
|
+
...(input.Filter != null && { Filter: se_Expression(input.Filter, context) }),
|
|
2130
2108
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2131
2109
|
...(input.NextPageToken != null && { NextPageToken: input.NextPageToken }),
|
|
2132
2110
|
...(input.SearchString != null && { SearchString: input.SearchString }),
|
|
2133
|
-
...(input.SortBy != null && { SortBy:
|
|
2134
|
-
...(input.TimePeriod != null && { TimePeriod:
|
|
2111
|
+
...(input.SortBy != null && { SortBy: se_SortDefinitions(input.SortBy, context) }),
|
|
2112
|
+
...(input.TimePeriod != null && { TimePeriod: se_DateInterval(input.TimePeriod, context) }),
|
|
2135
2113
|
};
|
|
2136
2114
|
};
|
|
2137
|
-
const
|
|
2115
|
+
const se_GetCostForecastRequest = (input, context) => {
|
|
2138
2116
|
return {
|
|
2139
|
-
...(input.Filter != null && { Filter:
|
|
2117
|
+
...(input.Filter != null && { Filter: se_Expression(input.Filter, context) }),
|
|
2140
2118
|
...(input.Granularity != null && { Granularity: input.Granularity }),
|
|
2141
2119
|
...(input.Metric != null && { Metric: input.Metric }),
|
|
2142
2120
|
...(input.PredictionIntervalLevel != null && { PredictionIntervalLevel: input.PredictionIntervalLevel }),
|
|
2143
|
-
...(input.TimePeriod != null && { TimePeriod:
|
|
2121
|
+
...(input.TimePeriod != null && { TimePeriod: se_DateInterval(input.TimePeriod, context) }),
|
|
2144
2122
|
};
|
|
2145
2123
|
};
|
|
2146
|
-
const
|
|
2124
|
+
const se_GetDimensionValuesRequest = (input, context) => {
|
|
2147
2125
|
return {
|
|
2148
2126
|
...(input.Context != null && { Context: input.Context }),
|
|
2149
2127
|
...(input.Dimension != null && { Dimension: input.Dimension }),
|
|
2150
|
-
...(input.Filter != null && { Filter:
|
|
2128
|
+
...(input.Filter != null && { Filter: se_Expression(input.Filter, context) }),
|
|
2151
2129
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2152
2130
|
...(input.NextPageToken != null && { NextPageToken: input.NextPageToken }),
|
|
2153
2131
|
...(input.SearchString != null && { SearchString: input.SearchString }),
|
|
2154
|
-
...(input.SortBy != null && { SortBy:
|
|
2155
|
-
...(input.TimePeriod != null && { TimePeriod:
|
|
2132
|
+
...(input.SortBy != null && { SortBy: se_SortDefinitions(input.SortBy, context) }),
|
|
2133
|
+
...(input.TimePeriod != null && { TimePeriod: se_DateInterval(input.TimePeriod, context) }),
|
|
2156
2134
|
};
|
|
2157
2135
|
};
|
|
2158
|
-
const
|
|
2136
|
+
const se_GetReservationCoverageRequest = (input, context) => {
|
|
2159
2137
|
return {
|
|
2160
|
-
...(input.Filter != null && { Filter:
|
|
2138
|
+
...(input.Filter != null && { Filter: se_Expression(input.Filter, context) }),
|
|
2161
2139
|
...(input.Granularity != null && { Granularity: input.Granularity }),
|
|
2162
|
-
...(input.GroupBy != null && { GroupBy:
|
|
2140
|
+
...(input.GroupBy != null && { GroupBy: se_GroupDefinitions(input.GroupBy, context) }),
|
|
2163
2141
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2164
|
-
...(input.Metrics != null && { Metrics:
|
|
2142
|
+
...(input.Metrics != null && { Metrics: se_MetricNames(input.Metrics, context) }),
|
|
2165
2143
|
...(input.NextPageToken != null && { NextPageToken: input.NextPageToken }),
|
|
2166
|
-
...(input.SortBy != null && { SortBy:
|
|
2167
|
-
...(input.TimePeriod != null && { TimePeriod:
|
|
2144
|
+
...(input.SortBy != null && { SortBy: se_SortDefinition(input.SortBy, context) }),
|
|
2145
|
+
...(input.TimePeriod != null && { TimePeriod: se_DateInterval(input.TimePeriod, context) }),
|
|
2168
2146
|
};
|
|
2169
2147
|
};
|
|
2170
|
-
const
|
|
2148
|
+
const se_GetReservationPurchaseRecommendationRequest = (input, context) => {
|
|
2171
2149
|
return {
|
|
2172
2150
|
...(input.AccountId != null && { AccountId: input.AccountId }),
|
|
2173
2151
|
...(input.AccountScope != null && { AccountScope: input.AccountScope }),
|
|
2174
|
-
...(input.Filter != null && { Filter:
|
|
2152
|
+
...(input.Filter != null && { Filter: se_Expression(input.Filter, context) }),
|
|
2175
2153
|
...(input.LookbackPeriodInDays != null && { LookbackPeriodInDays: input.LookbackPeriodInDays }),
|
|
2176
2154
|
...(input.NextPageToken != null && { NextPageToken: input.NextPageToken }),
|
|
2177
2155
|
...(input.PageSize != null && { PageSize: input.PageSize }),
|
|
2178
2156
|
...(input.PaymentOption != null && { PaymentOption: input.PaymentOption }),
|
|
2179
2157
|
...(input.Service != null && { Service: input.Service }),
|
|
2180
2158
|
...(input.ServiceSpecification != null && {
|
|
2181
|
-
ServiceSpecification:
|
|
2159
|
+
ServiceSpecification: se_ServiceSpecification(input.ServiceSpecification, context),
|
|
2182
2160
|
}),
|
|
2183
2161
|
...(input.TermInYears != null && { TermInYears: input.TermInYears }),
|
|
2184
2162
|
};
|
|
2185
2163
|
};
|
|
2186
|
-
const
|
|
2164
|
+
const se_GetReservationUtilizationRequest = (input, context) => {
|
|
2187
2165
|
return {
|
|
2188
|
-
...(input.Filter != null && { Filter:
|
|
2166
|
+
...(input.Filter != null && { Filter: se_Expression(input.Filter, context) }),
|
|
2189
2167
|
...(input.Granularity != null && { Granularity: input.Granularity }),
|
|
2190
|
-
...(input.GroupBy != null && { GroupBy:
|
|
2168
|
+
...(input.GroupBy != null && { GroupBy: se_GroupDefinitions(input.GroupBy, context) }),
|
|
2191
2169
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2192
2170
|
...(input.NextPageToken != null && { NextPageToken: input.NextPageToken }),
|
|
2193
|
-
...(input.SortBy != null && { SortBy:
|
|
2194
|
-
...(input.TimePeriod != null && { TimePeriod:
|
|
2171
|
+
...(input.SortBy != null && { SortBy: se_SortDefinition(input.SortBy, context) }),
|
|
2172
|
+
...(input.TimePeriod != null && { TimePeriod: se_DateInterval(input.TimePeriod, context) }),
|
|
2195
2173
|
};
|
|
2196
2174
|
};
|
|
2197
|
-
const
|
|
2175
|
+
const se_GetRightsizingRecommendationRequest = (input, context) => {
|
|
2198
2176
|
return {
|
|
2199
2177
|
...(input.Configuration != null && {
|
|
2200
|
-
Configuration:
|
|
2178
|
+
Configuration: se_RightsizingRecommendationConfiguration(input.Configuration, context),
|
|
2201
2179
|
}),
|
|
2202
|
-
...(input.Filter != null && { Filter:
|
|
2180
|
+
...(input.Filter != null && { Filter: se_Expression(input.Filter, context) }),
|
|
2203
2181
|
...(input.NextPageToken != null && { NextPageToken: input.NextPageToken }),
|
|
2204
2182
|
...(input.PageSize != null && { PageSize: input.PageSize }),
|
|
2205
2183
|
...(input.Service != null && { Service: input.Service }),
|
|
2206
2184
|
};
|
|
2207
2185
|
};
|
|
2208
|
-
const
|
|
2186
|
+
const se_GetSavingsPlansCoverageRequest = (input, context) => {
|
|
2209
2187
|
return {
|
|
2210
|
-
...(input.Filter != null && { Filter:
|
|
2188
|
+
...(input.Filter != null && { Filter: se_Expression(input.Filter, context) }),
|
|
2211
2189
|
...(input.Granularity != null && { Granularity: input.Granularity }),
|
|
2212
|
-
...(input.GroupBy != null && { GroupBy:
|
|
2190
|
+
...(input.GroupBy != null && { GroupBy: se_GroupDefinitions(input.GroupBy, context) }),
|
|
2213
2191
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2214
|
-
...(input.Metrics != null && { Metrics:
|
|
2192
|
+
...(input.Metrics != null && { Metrics: se_MetricNames(input.Metrics, context) }),
|
|
2215
2193
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2216
|
-
...(input.SortBy != null && { SortBy:
|
|
2217
|
-
...(input.TimePeriod != null && { TimePeriod:
|
|
2194
|
+
...(input.SortBy != null && { SortBy: se_SortDefinition(input.SortBy, context) }),
|
|
2195
|
+
...(input.TimePeriod != null && { TimePeriod: se_DateInterval(input.TimePeriod, context) }),
|
|
2218
2196
|
};
|
|
2219
2197
|
};
|
|
2220
|
-
const
|
|
2198
|
+
const se_GetSavingsPlansPurchaseRecommendationRequest = (input, context) => {
|
|
2221
2199
|
return {
|
|
2222
2200
|
...(input.AccountScope != null && { AccountScope: input.AccountScope }),
|
|
2223
|
-
...(input.Filter != null && { Filter:
|
|
2201
|
+
...(input.Filter != null && { Filter: se_Expression(input.Filter, context) }),
|
|
2224
2202
|
...(input.LookbackPeriodInDays != null && { LookbackPeriodInDays: input.LookbackPeriodInDays }),
|
|
2225
2203
|
...(input.NextPageToken != null && { NextPageToken: input.NextPageToken }),
|
|
2226
2204
|
...(input.PageSize != null && { PageSize: input.PageSize }),
|
|
@@ -2229,294 +2207,286 @@ const serializeAws_json1_1GetSavingsPlansPurchaseRecommendationRequest = (input,
|
|
|
2229
2207
|
...(input.TermInYears != null && { TermInYears: input.TermInYears }),
|
|
2230
2208
|
};
|
|
2231
2209
|
};
|
|
2232
|
-
const
|
|
2210
|
+
const se_GetSavingsPlansUtilizationDetailsRequest = (input, context) => {
|
|
2233
2211
|
return {
|
|
2234
|
-
...(input.DataType != null && { DataType:
|
|
2235
|
-
...(input.Filter != null && { Filter:
|
|
2212
|
+
...(input.DataType != null && { DataType: se_SavingsPlansDataTypes(input.DataType, context) }),
|
|
2213
|
+
...(input.Filter != null && { Filter: se_Expression(input.Filter, context) }),
|
|
2236
2214
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2237
2215
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2238
|
-
...(input.SortBy != null && { SortBy:
|
|
2239
|
-
...(input.TimePeriod != null && { TimePeriod:
|
|
2216
|
+
...(input.SortBy != null && { SortBy: se_SortDefinition(input.SortBy, context) }),
|
|
2217
|
+
...(input.TimePeriod != null && { TimePeriod: se_DateInterval(input.TimePeriod, context) }),
|
|
2240
2218
|
};
|
|
2241
2219
|
};
|
|
2242
|
-
const
|
|
2220
|
+
const se_GetSavingsPlansUtilizationRequest = (input, context) => {
|
|
2243
2221
|
return {
|
|
2244
|
-
...(input.Filter != null && { Filter:
|
|
2222
|
+
...(input.Filter != null && { Filter: se_Expression(input.Filter, context) }),
|
|
2245
2223
|
...(input.Granularity != null && { Granularity: input.Granularity }),
|
|
2246
|
-
...(input.SortBy != null && { SortBy:
|
|
2247
|
-
...(input.TimePeriod != null && { TimePeriod:
|
|
2224
|
+
...(input.SortBy != null && { SortBy: se_SortDefinition(input.SortBy, context) }),
|
|
2225
|
+
...(input.TimePeriod != null && { TimePeriod: se_DateInterval(input.TimePeriod, context) }),
|
|
2248
2226
|
};
|
|
2249
2227
|
};
|
|
2250
|
-
const
|
|
2228
|
+
const se_GetTagsRequest = (input, context) => {
|
|
2251
2229
|
return {
|
|
2252
|
-
...(input.Filter != null && { Filter:
|
|
2230
|
+
...(input.Filter != null && { Filter: se_Expression(input.Filter, context) }),
|
|
2253
2231
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2254
2232
|
...(input.NextPageToken != null && { NextPageToken: input.NextPageToken }),
|
|
2255
2233
|
...(input.SearchString != null && { SearchString: input.SearchString }),
|
|
2256
|
-
...(input.SortBy != null && { SortBy:
|
|
2234
|
+
...(input.SortBy != null && { SortBy: se_SortDefinitions(input.SortBy, context) }),
|
|
2257
2235
|
...(input.TagKey != null && { TagKey: input.TagKey }),
|
|
2258
|
-
...(input.TimePeriod != null && { TimePeriod:
|
|
2236
|
+
...(input.TimePeriod != null && { TimePeriod: se_DateInterval(input.TimePeriod, context) }),
|
|
2259
2237
|
};
|
|
2260
2238
|
};
|
|
2261
|
-
const
|
|
2239
|
+
const se_GetUsageForecastRequest = (input, context) => {
|
|
2262
2240
|
return {
|
|
2263
|
-
...(input.Filter != null && { Filter:
|
|
2241
|
+
...(input.Filter != null && { Filter: se_Expression(input.Filter, context) }),
|
|
2264
2242
|
...(input.Granularity != null && { Granularity: input.Granularity }),
|
|
2265
2243
|
...(input.Metric != null && { Metric: input.Metric }),
|
|
2266
2244
|
...(input.PredictionIntervalLevel != null && { PredictionIntervalLevel: input.PredictionIntervalLevel }),
|
|
2267
|
-
...(input.TimePeriod != null && { TimePeriod:
|
|
2245
|
+
...(input.TimePeriod != null && { TimePeriod: se_DateInterval(input.TimePeriod, context) }),
|
|
2268
2246
|
};
|
|
2269
2247
|
};
|
|
2270
|
-
const
|
|
2248
|
+
const se_GroupDefinition = (input, context) => {
|
|
2271
2249
|
return {
|
|
2272
2250
|
...(input.Key != null && { Key: input.Key }),
|
|
2273
2251
|
...(input.Type != null && { Type: input.Type }),
|
|
2274
2252
|
};
|
|
2275
2253
|
};
|
|
2276
|
-
const
|
|
2254
|
+
const se_GroupDefinitions = (input, context) => {
|
|
2277
2255
|
return input
|
|
2278
2256
|
.filter((e) => e != null)
|
|
2279
2257
|
.map((entry) => {
|
|
2280
|
-
return
|
|
2258
|
+
return se_GroupDefinition(entry, context);
|
|
2281
2259
|
});
|
|
2282
2260
|
};
|
|
2283
|
-
const
|
|
2261
|
+
const se_ListCostAllocationTagsRequest = (input, context) => {
|
|
2284
2262
|
return {
|
|
2285
2263
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2286
2264
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2287
2265
|
...(input.Status != null && { Status: input.Status }),
|
|
2288
|
-
...(input.TagKeys != null && { TagKeys:
|
|
2266
|
+
...(input.TagKeys != null && { TagKeys: se_CostAllocationTagKeyList(input.TagKeys, context) }),
|
|
2289
2267
|
...(input.Type != null && { Type: input.Type }),
|
|
2290
2268
|
};
|
|
2291
2269
|
};
|
|
2292
|
-
const
|
|
2270
|
+
const se_ListCostCategoryDefinitionsRequest = (input, context) => {
|
|
2293
2271
|
return {
|
|
2294
2272
|
...(input.EffectiveOn != null && { EffectiveOn: input.EffectiveOn }),
|
|
2295
2273
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2296
2274
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2297
2275
|
};
|
|
2298
2276
|
};
|
|
2299
|
-
const
|
|
2277
|
+
const se_ListSavingsPlansPurchaseRecommendationGenerationRequest = (input, context) => {
|
|
2300
2278
|
return {
|
|
2301
2279
|
...(input.GenerationStatus != null && { GenerationStatus: input.GenerationStatus }),
|
|
2302
2280
|
...(input.NextPageToken != null && { NextPageToken: input.NextPageToken }),
|
|
2303
2281
|
...(input.PageSize != null && { PageSize: input.PageSize }),
|
|
2304
2282
|
...(input.RecommendationIds != null && {
|
|
2305
|
-
RecommendationIds:
|
|
2283
|
+
RecommendationIds: se_RecommendationIdList(input.RecommendationIds, context),
|
|
2306
2284
|
}),
|
|
2307
2285
|
};
|
|
2308
2286
|
};
|
|
2309
|
-
const
|
|
2287
|
+
const se_ListTagsForResourceRequest = (input, context) => {
|
|
2310
2288
|
return {
|
|
2311
2289
|
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
2312
2290
|
};
|
|
2313
2291
|
};
|
|
2314
|
-
const
|
|
2292
|
+
const se_MatchOptions = (input, context) => {
|
|
2315
2293
|
return input
|
|
2316
2294
|
.filter((e) => e != null)
|
|
2317
2295
|
.map((entry) => {
|
|
2318
2296
|
return entry;
|
|
2319
2297
|
});
|
|
2320
2298
|
};
|
|
2321
|
-
const
|
|
2299
|
+
const se_MetricNames = (input, context) => {
|
|
2322
2300
|
return input
|
|
2323
2301
|
.filter((e) => e != null)
|
|
2324
2302
|
.map((entry) => {
|
|
2325
2303
|
return entry;
|
|
2326
2304
|
});
|
|
2327
2305
|
};
|
|
2328
|
-
const
|
|
2306
|
+
const se_MonitorArnList = (input, context) => {
|
|
2329
2307
|
return input
|
|
2330
2308
|
.filter((e) => e != null)
|
|
2331
2309
|
.map((entry) => {
|
|
2332
2310
|
return entry;
|
|
2333
2311
|
});
|
|
2334
2312
|
};
|
|
2335
|
-
const
|
|
2313
|
+
const se_ProvideAnomalyFeedbackRequest = (input, context) => {
|
|
2336
2314
|
return {
|
|
2337
2315
|
...(input.AnomalyId != null && { AnomalyId: input.AnomalyId }),
|
|
2338
2316
|
...(input.Feedback != null && { Feedback: input.Feedback }),
|
|
2339
2317
|
};
|
|
2340
2318
|
};
|
|
2341
|
-
const
|
|
2319
|
+
const se_RecommendationIdList = (input, context) => {
|
|
2342
2320
|
return input
|
|
2343
2321
|
.filter((e) => e != null)
|
|
2344
2322
|
.map((entry) => {
|
|
2345
2323
|
return entry;
|
|
2346
2324
|
});
|
|
2347
2325
|
};
|
|
2348
|
-
const
|
|
2326
|
+
const se_ResourceTag = (input, context) => {
|
|
2349
2327
|
return {
|
|
2350
2328
|
...(input.Key != null && { Key: input.Key }),
|
|
2351
2329
|
...(input.Value != null && { Value: input.Value }),
|
|
2352
2330
|
};
|
|
2353
2331
|
};
|
|
2354
|
-
const
|
|
2332
|
+
const se_ResourceTagKeyList = (input, context) => {
|
|
2355
2333
|
return input
|
|
2356
2334
|
.filter((e) => e != null)
|
|
2357
2335
|
.map((entry) => {
|
|
2358
2336
|
return entry;
|
|
2359
2337
|
});
|
|
2360
2338
|
};
|
|
2361
|
-
const
|
|
2339
|
+
const se_ResourceTagList = (input, context) => {
|
|
2362
2340
|
return input
|
|
2363
2341
|
.filter((e) => e != null)
|
|
2364
2342
|
.map((entry) => {
|
|
2365
|
-
return
|
|
2343
|
+
return se_ResourceTag(entry, context);
|
|
2366
2344
|
});
|
|
2367
2345
|
};
|
|
2368
|
-
const
|
|
2346
|
+
const se_RightsizingRecommendationConfiguration = (input, context) => {
|
|
2369
2347
|
return {
|
|
2370
2348
|
...(input.BenefitsConsidered != null && { BenefitsConsidered: input.BenefitsConsidered }),
|
|
2371
2349
|
...(input.RecommendationTarget != null && { RecommendationTarget: input.RecommendationTarget }),
|
|
2372
2350
|
};
|
|
2373
2351
|
};
|
|
2374
|
-
const
|
|
2352
|
+
const se_SavingsPlansDataTypes = (input, context) => {
|
|
2375
2353
|
return input
|
|
2376
2354
|
.filter((e) => e != null)
|
|
2377
2355
|
.map((entry) => {
|
|
2378
2356
|
return entry;
|
|
2379
2357
|
});
|
|
2380
2358
|
};
|
|
2381
|
-
const
|
|
2359
|
+
const se_ServiceSpecification = (input, context) => {
|
|
2382
2360
|
return {
|
|
2383
|
-
...(input.EC2Specification != null && {
|
|
2384
|
-
EC2Specification: serializeAws_json1_1EC2Specification(input.EC2Specification, context),
|
|
2385
|
-
}),
|
|
2361
|
+
...(input.EC2Specification != null && { EC2Specification: se_EC2Specification(input.EC2Specification, context) }),
|
|
2386
2362
|
};
|
|
2387
2363
|
};
|
|
2388
|
-
const
|
|
2364
|
+
const se_SortDefinition = (input, context) => {
|
|
2389
2365
|
return {
|
|
2390
2366
|
...(input.Key != null && { Key: input.Key }),
|
|
2391
2367
|
...(input.SortOrder != null && { SortOrder: input.SortOrder }),
|
|
2392
2368
|
};
|
|
2393
2369
|
};
|
|
2394
|
-
const
|
|
2370
|
+
const se_SortDefinitions = (input, context) => {
|
|
2395
2371
|
return input
|
|
2396
2372
|
.filter((e) => e != null)
|
|
2397
2373
|
.map((entry) => {
|
|
2398
|
-
return
|
|
2374
|
+
return se_SortDefinition(entry, context);
|
|
2399
2375
|
});
|
|
2400
2376
|
};
|
|
2401
|
-
const
|
|
2377
|
+
const se_StartSavingsPlansPurchaseRecommendationGenerationRequest = (input, context) => {
|
|
2402
2378
|
return {};
|
|
2403
2379
|
};
|
|
2404
|
-
const
|
|
2380
|
+
const se_Subscriber = (input, context) => {
|
|
2405
2381
|
return {
|
|
2406
2382
|
...(input.Address != null && { Address: input.Address }),
|
|
2407
2383
|
...(input.Status != null && { Status: input.Status }),
|
|
2408
2384
|
...(input.Type != null && { Type: input.Type }),
|
|
2409
2385
|
};
|
|
2410
2386
|
};
|
|
2411
|
-
const
|
|
2387
|
+
const se_Subscribers = (input, context) => {
|
|
2412
2388
|
return input
|
|
2413
2389
|
.filter((e) => e != null)
|
|
2414
2390
|
.map((entry) => {
|
|
2415
|
-
return
|
|
2391
|
+
return se_Subscriber(entry, context);
|
|
2416
2392
|
});
|
|
2417
2393
|
};
|
|
2418
|
-
const
|
|
2394
|
+
const se_TagResourceRequest = (input, context) => {
|
|
2419
2395
|
return {
|
|
2420
2396
|
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
2421
|
-
...(input.ResourceTags != null && {
|
|
2422
|
-
ResourceTags: serializeAws_json1_1ResourceTagList(input.ResourceTags, context),
|
|
2423
|
-
}),
|
|
2397
|
+
...(input.ResourceTags != null && { ResourceTags: se_ResourceTagList(input.ResourceTags, context) }),
|
|
2424
2398
|
};
|
|
2425
2399
|
};
|
|
2426
|
-
const
|
|
2400
|
+
const se_TagValues = (input, context) => {
|
|
2427
2401
|
return {
|
|
2428
2402
|
...(input.Key != null && { Key: input.Key }),
|
|
2429
|
-
...(input.MatchOptions != null && { MatchOptions:
|
|
2430
|
-
...(input.Values != null && { Values:
|
|
2403
|
+
...(input.MatchOptions != null && { MatchOptions: se_MatchOptions(input.MatchOptions, context) }),
|
|
2404
|
+
...(input.Values != null && { Values: se_Values(input.Values, context) }),
|
|
2431
2405
|
};
|
|
2432
2406
|
};
|
|
2433
|
-
const
|
|
2407
|
+
const se_TotalImpactFilter = (input, context) => {
|
|
2434
2408
|
return {
|
|
2435
2409
|
...(input.EndValue != null && { EndValue: __serializeFloat(input.EndValue) }),
|
|
2436
2410
|
...(input.NumericOperator != null && { NumericOperator: input.NumericOperator }),
|
|
2437
2411
|
...(input.StartValue != null && { StartValue: __serializeFloat(input.StartValue) }),
|
|
2438
2412
|
};
|
|
2439
2413
|
};
|
|
2440
|
-
const
|
|
2414
|
+
const se_UntagResourceRequest = (input, context) => {
|
|
2441
2415
|
return {
|
|
2442
2416
|
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
2443
|
-
...(input.ResourceTagKeys != null && {
|
|
2444
|
-
ResourceTagKeys: serializeAws_json1_1ResourceTagKeyList(input.ResourceTagKeys, context),
|
|
2445
|
-
}),
|
|
2417
|
+
...(input.ResourceTagKeys != null && { ResourceTagKeys: se_ResourceTagKeyList(input.ResourceTagKeys, context) }),
|
|
2446
2418
|
};
|
|
2447
2419
|
};
|
|
2448
|
-
const
|
|
2420
|
+
const se_UpdateAnomalyMonitorRequest = (input, context) => {
|
|
2449
2421
|
return {
|
|
2450
2422
|
...(input.MonitorArn != null && { MonitorArn: input.MonitorArn }),
|
|
2451
2423
|
...(input.MonitorName != null && { MonitorName: input.MonitorName }),
|
|
2452
2424
|
};
|
|
2453
2425
|
};
|
|
2454
|
-
const
|
|
2426
|
+
const se_UpdateAnomalySubscriptionRequest = (input, context) => {
|
|
2455
2427
|
return {
|
|
2456
2428
|
...(input.Frequency != null && { Frequency: input.Frequency }),
|
|
2457
|
-
...(input.MonitorArnList != null && {
|
|
2458
|
-
|
|
2459
|
-
}),
|
|
2460
|
-
...(input.Subscribers != null && { Subscribers: serializeAws_json1_1Subscribers(input.Subscribers, context) }),
|
|
2429
|
+
...(input.MonitorArnList != null && { MonitorArnList: se_MonitorArnList(input.MonitorArnList, context) }),
|
|
2430
|
+
...(input.Subscribers != null && { Subscribers: se_Subscribers(input.Subscribers, context) }),
|
|
2461
2431
|
...(input.SubscriptionArn != null && { SubscriptionArn: input.SubscriptionArn }),
|
|
2462
2432
|
...(input.SubscriptionName != null && { SubscriptionName: input.SubscriptionName }),
|
|
2463
2433
|
...(input.Threshold != null && { Threshold: __serializeFloat(input.Threshold) }),
|
|
2464
2434
|
...(input.ThresholdExpression != null && {
|
|
2465
|
-
ThresholdExpression:
|
|
2435
|
+
ThresholdExpression: se_Expression(input.ThresholdExpression, context),
|
|
2466
2436
|
}),
|
|
2467
2437
|
};
|
|
2468
2438
|
};
|
|
2469
|
-
const
|
|
2439
|
+
const se_UpdateCostAllocationTagsStatusRequest = (input, context) => {
|
|
2470
2440
|
return {
|
|
2471
2441
|
...(input.CostAllocationTagsStatus != null && {
|
|
2472
|
-
CostAllocationTagsStatus:
|
|
2442
|
+
CostAllocationTagsStatus: se_CostAllocationTagStatusList(input.CostAllocationTagsStatus, context),
|
|
2473
2443
|
}),
|
|
2474
2444
|
};
|
|
2475
2445
|
};
|
|
2476
|
-
const
|
|
2446
|
+
const se_UpdateCostCategoryDefinitionRequest = (input, context) => {
|
|
2477
2447
|
return {
|
|
2478
2448
|
...(input.CostCategoryArn != null && { CostCategoryArn: input.CostCategoryArn }),
|
|
2479
2449
|
...(input.DefaultValue != null && { DefaultValue: input.DefaultValue }),
|
|
2480
2450
|
...(input.EffectiveStart != null && { EffectiveStart: input.EffectiveStart }),
|
|
2481
2451
|
...(input.RuleVersion != null && { RuleVersion: input.RuleVersion }),
|
|
2482
|
-
...(input.Rules != null && { Rules:
|
|
2452
|
+
...(input.Rules != null && { Rules: se_CostCategoryRulesList(input.Rules, context) }),
|
|
2483
2453
|
...(input.SplitChargeRules != null && {
|
|
2484
|
-
SplitChargeRules:
|
|
2454
|
+
SplitChargeRules: se_CostCategorySplitChargeRulesList(input.SplitChargeRules, context),
|
|
2485
2455
|
}),
|
|
2486
2456
|
};
|
|
2487
2457
|
};
|
|
2488
|
-
const
|
|
2458
|
+
const se_Values = (input, context) => {
|
|
2489
2459
|
return input
|
|
2490
2460
|
.filter((e) => e != null)
|
|
2491
2461
|
.map((entry) => {
|
|
2492
2462
|
return entry;
|
|
2493
2463
|
});
|
|
2494
2464
|
};
|
|
2495
|
-
const
|
|
2465
|
+
const de_Anomalies = (output, context) => {
|
|
2496
2466
|
const retVal = (output || [])
|
|
2497
2467
|
.filter((e) => e != null)
|
|
2498
2468
|
.map((entry) => {
|
|
2499
2469
|
if (entry === null) {
|
|
2500
2470
|
return null;
|
|
2501
2471
|
}
|
|
2502
|
-
return
|
|
2472
|
+
return de_Anomaly(entry, context);
|
|
2503
2473
|
});
|
|
2504
2474
|
return retVal;
|
|
2505
2475
|
};
|
|
2506
|
-
const
|
|
2476
|
+
const de_Anomaly = (output, context) => {
|
|
2507
2477
|
return {
|
|
2508
2478
|
AnomalyEndDate: __expectString(output.AnomalyEndDate),
|
|
2509
2479
|
AnomalyId: __expectString(output.AnomalyId),
|
|
2510
|
-
AnomalyScore: output.AnomalyScore != null ?
|
|
2480
|
+
AnomalyScore: output.AnomalyScore != null ? de_AnomalyScore(output.AnomalyScore, context) : undefined,
|
|
2511
2481
|
AnomalyStartDate: __expectString(output.AnomalyStartDate),
|
|
2512
2482
|
DimensionValue: __expectString(output.DimensionValue),
|
|
2513
2483
|
Feedback: __expectString(output.Feedback),
|
|
2514
|
-
Impact: output.Impact != null ?
|
|
2484
|
+
Impact: output.Impact != null ? de_Impact(output.Impact, context) : undefined,
|
|
2515
2485
|
MonitorArn: __expectString(output.MonitorArn),
|
|
2516
|
-
RootCauses: output.RootCauses != null ?
|
|
2486
|
+
RootCauses: output.RootCauses != null ? de_RootCauses(output.RootCauses, context) : undefined,
|
|
2517
2487
|
};
|
|
2518
2488
|
};
|
|
2519
|
-
const
|
|
2489
|
+
const de_AnomalyMonitor = (output, context) => {
|
|
2520
2490
|
return {
|
|
2521
2491
|
CreationDate: __expectString(output.CreationDate),
|
|
2522
2492
|
DimensionalValueCount: __expectInt32(output.DimensionalValueCount),
|
|
@@ -2525,55 +2495,51 @@ const deserializeAws_json1_1AnomalyMonitor = (output, context) => {
|
|
|
2525
2495
|
MonitorArn: __expectString(output.MonitorArn),
|
|
2526
2496
|
MonitorDimension: __expectString(output.MonitorDimension),
|
|
2527
2497
|
MonitorName: __expectString(output.MonitorName),
|
|
2528
|
-
MonitorSpecification: output.MonitorSpecification != null
|
|
2529
|
-
? deserializeAws_json1_1Expression(output.MonitorSpecification, context)
|
|
2530
|
-
: undefined,
|
|
2498
|
+
MonitorSpecification: output.MonitorSpecification != null ? de_Expression(output.MonitorSpecification, context) : undefined,
|
|
2531
2499
|
MonitorType: __expectString(output.MonitorType),
|
|
2532
2500
|
};
|
|
2533
2501
|
};
|
|
2534
|
-
const
|
|
2502
|
+
const de_AnomalyMonitors = (output, context) => {
|
|
2535
2503
|
const retVal = (output || [])
|
|
2536
2504
|
.filter((e) => e != null)
|
|
2537
2505
|
.map((entry) => {
|
|
2538
2506
|
if (entry === null) {
|
|
2539
2507
|
return null;
|
|
2540
2508
|
}
|
|
2541
|
-
return
|
|
2509
|
+
return de_AnomalyMonitor(entry, context);
|
|
2542
2510
|
});
|
|
2543
2511
|
return retVal;
|
|
2544
2512
|
};
|
|
2545
|
-
const
|
|
2513
|
+
const de_AnomalyScore = (output, context) => {
|
|
2546
2514
|
return {
|
|
2547
2515
|
CurrentScore: __limitedParseDouble(output.CurrentScore),
|
|
2548
2516
|
MaxScore: __limitedParseDouble(output.MaxScore),
|
|
2549
2517
|
};
|
|
2550
2518
|
};
|
|
2551
|
-
const
|
|
2519
|
+
const de_AnomalySubscription = (output, context) => {
|
|
2552
2520
|
return {
|
|
2553
2521
|
AccountId: __expectString(output.AccountId),
|
|
2554
2522
|
Frequency: __expectString(output.Frequency),
|
|
2555
|
-
MonitorArnList: output.MonitorArnList != null ?
|
|
2556
|
-
Subscribers: output.Subscribers != null ?
|
|
2523
|
+
MonitorArnList: output.MonitorArnList != null ? de_MonitorArnList(output.MonitorArnList, context) : undefined,
|
|
2524
|
+
Subscribers: output.Subscribers != null ? de_Subscribers(output.Subscribers, context) : undefined,
|
|
2557
2525
|
SubscriptionArn: __expectString(output.SubscriptionArn),
|
|
2558
2526
|
SubscriptionName: __expectString(output.SubscriptionName),
|
|
2559
2527
|
Threshold: __limitedParseDouble(output.Threshold),
|
|
2560
|
-
ThresholdExpression: output.ThresholdExpression != null
|
|
2561
|
-
? deserializeAws_json1_1Expression(output.ThresholdExpression, context)
|
|
2562
|
-
: undefined,
|
|
2528
|
+
ThresholdExpression: output.ThresholdExpression != null ? de_Expression(output.ThresholdExpression, context) : undefined,
|
|
2563
2529
|
};
|
|
2564
2530
|
};
|
|
2565
|
-
const
|
|
2531
|
+
const de_AnomalySubscriptions = (output, context) => {
|
|
2566
2532
|
const retVal = (output || [])
|
|
2567
2533
|
.filter((e) => e != null)
|
|
2568
2534
|
.map((entry) => {
|
|
2569
2535
|
if (entry === null) {
|
|
2570
2536
|
return null;
|
|
2571
2537
|
}
|
|
2572
|
-
return
|
|
2538
|
+
return de_AnomalySubscription(entry, context);
|
|
2573
2539
|
});
|
|
2574
2540
|
return retVal;
|
|
2575
2541
|
};
|
|
2576
|
-
const
|
|
2542
|
+
const de_Attributes = (output, context) => {
|
|
2577
2543
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
2578
2544
|
if (value === null) {
|
|
2579
2545
|
return acc;
|
|
@@ -2582,30 +2548,30 @@ const deserializeAws_json1_1Attributes = (output, context) => {
|
|
|
2582
2548
|
return acc;
|
|
2583
2549
|
}, {});
|
|
2584
2550
|
};
|
|
2585
|
-
const
|
|
2551
|
+
const de_BillExpirationException = (output, context) => {
|
|
2586
2552
|
return {
|
|
2587
2553
|
Message: __expectString(output.Message),
|
|
2588
2554
|
};
|
|
2589
2555
|
};
|
|
2590
|
-
const
|
|
2556
|
+
const de_CostAllocationTag = (output, context) => {
|
|
2591
2557
|
return {
|
|
2592
2558
|
Status: __expectString(output.Status),
|
|
2593
2559
|
TagKey: __expectString(output.TagKey),
|
|
2594
2560
|
Type: __expectString(output.Type),
|
|
2595
2561
|
};
|
|
2596
2562
|
};
|
|
2597
|
-
const
|
|
2563
|
+
const de_CostAllocationTagList = (output, context) => {
|
|
2598
2564
|
const retVal = (output || [])
|
|
2599
2565
|
.filter((e) => e != null)
|
|
2600
2566
|
.map((entry) => {
|
|
2601
2567
|
if (entry === null) {
|
|
2602
2568
|
return null;
|
|
2603
2569
|
}
|
|
2604
|
-
return
|
|
2570
|
+
return de_CostAllocationTag(entry, context);
|
|
2605
2571
|
});
|
|
2606
2572
|
return retVal;
|
|
2607
2573
|
};
|
|
2608
|
-
const
|
|
2574
|
+
const de_CostCategory = (output, context) => {
|
|
2609
2575
|
return {
|
|
2610
2576
|
CostCategoryArn: __expectString(output.CostCategoryArn),
|
|
2611
2577
|
DefaultValue: __expectString(output.DefaultValue),
|
|
@@ -2613,22 +2579,22 @@ const deserializeAws_json1_1CostCategory = (output, context) => {
|
|
|
2613
2579
|
EffectiveStart: __expectString(output.EffectiveStart),
|
|
2614
2580
|
Name: __expectString(output.Name),
|
|
2615
2581
|
ProcessingStatus: output.ProcessingStatus != null
|
|
2616
|
-
?
|
|
2582
|
+
? de_CostCategoryProcessingStatusList(output.ProcessingStatus, context)
|
|
2617
2583
|
: undefined,
|
|
2618
2584
|
RuleVersion: __expectString(output.RuleVersion),
|
|
2619
|
-
Rules: output.Rules != null ?
|
|
2585
|
+
Rules: output.Rules != null ? de_CostCategoryRulesList(output.Rules, context) : undefined,
|
|
2620
2586
|
SplitChargeRules: output.SplitChargeRules != null
|
|
2621
|
-
?
|
|
2587
|
+
? de_CostCategorySplitChargeRulesList(output.SplitChargeRules, context)
|
|
2622
2588
|
: undefined,
|
|
2623
2589
|
};
|
|
2624
2590
|
};
|
|
2625
|
-
const
|
|
2591
|
+
const de_CostCategoryInheritedValueDimension = (output, context) => {
|
|
2626
2592
|
return {
|
|
2627
2593
|
DimensionKey: __expectString(output.DimensionKey),
|
|
2628
2594
|
DimensionName: __expectString(output.DimensionName),
|
|
2629
2595
|
};
|
|
2630
2596
|
};
|
|
2631
|
-
const
|
|
2597
|
+
const de_CostCategoryNamesList = (output, context) => {
|
|
2632
2598
|
const retVal = (output || [])
|
|
2633
2599
|
.filter((e) => e != null)
|
|
2634
2600
|
.map((entry) => {
|
|
@@ -2639,24 +2605,24 @@ const deserializeAws_json1_1CostCategoryNamesList = (output, context) => {
|
|
|
2639
2605
|
});
|
|
2640
2606
|
return retVal;
|
|
2641
2607
|
};
|
|
2642
|
-
const
|
|
2608
|
+
const de_CostCategoryProcessingStatus = (output, context) => {
|
|
2643
2609
|
return {
|
|
2644
2610
|
Component: __expectString(output.Component),
|
|
2645
2611
|
Status: __expectString(output.Status),
|
|
2646
2612
|
};
|
|
2647
2613
|
};
|
|
2648
|
-
const
|
|
2614
|
+
const de_CostCategoryProcessingStatusList = (output, context) => {
|
|
2649
2615
|
const retVal = (output || [])
|
|
2650
2616
|
.filter((e) => e != null)
|
|
2651
2617
|
.map((entry) => {
|
|
2652
2618
|
if (entry === null) {
|
|
2653
2619
|
return null;
|
|
2654
2620
|
}
|
|
2655
|
-
return
|
|
2621
|
+
return de_CostCategoryProcessingStatus(entry, context);
|
|
2656
2622
|
});
|
|
2657
2623
|
return retVal;
|
|
2658
2624
|
};
|
|
2659
|
-
const
|
|
2625
|
+
const de_CostCategoryReference = (output, context) => {
|
|
2660
2626
|
return {
|
|
2661
2627
|
CostCategoryArn: __expectString(output.CostCategoryArn),
|
|
2662
2628
|
DefaultValue: __expectString(output.DefaultValue),
|
|
@@ -2665,75 +2631,69 @@ const deserializeAws_json1_1CostCategoryReference = (output, context) => {
|
|
|
2665
2631
|
Name: __expectString(output.Name),
|
|
2666
2632
|
NumberOfRules: __expectInt32(output.NumberOfRules),
|
|
2667
2633
|
ProcessingStatus: output.ProcessingStatus != null
|
|
2668
|
-
?
|
|
2634
|
+
? de_CostCategoryProcessingStatusList(output.ProcessingStatus, context)
|
|
2669
2635
|
: undefined,
|
|
2670
|
-
Values: output.Values != null ?
|
|
2636
|
+
Values: output.Values != null ? de_CostCategoryValuesList(output.Values, context) : undefined,
|
|
2671
2637
|
};
|
|
2672
2638
|
};
|
|
2673
|
-
const
|
|
2639
|
+
const de_CostCategoryReferencesList = (output, context) => {
|
|
2674
2640
|
const retVal = (output || [])
|
|
2675
2641
|
.filter((e) => e != null)
|
|
2676
2642
|
.map((entry) => {
|
|
2677
2643
|
if (entry === null) {
|
|
2678
2644
|
return null;
|
|
2679
2645
|
}
|
|
2680
|
-
return
|
|
2646
|
+
return de_CostCategoryReference(entry, context);
|
|
2681
2647
|
});
|
|
2682
2648
|
return retVal;
|
|
2683
2649
|
};
|
|
2684
|
-
const
|
|
2650
|
+
const de_CostCategoryRule = (output, context) => {
|
|
2685
2651
|
return {
|
|
2686
2652
|
InheritedValue: output.InheritedValue != null
|
|
2687
|
-
?
|
|
2653
|
+
? de_CostCategoryInheritedValueDimension(output.InheritedValue, context)
|
|
2688
2654
|
: undefined,
|
|
2689
|
-
Rule: output.Rule != null ?
|
|
2655
|
+
Rule: output.Rule != null ? de_Expression(output.Rule, context) : undefined,
|
|
2690
2656
|
Type: __expectString(output.Type),
|
|
2691
2657
|
Value: __expectString(output.Value),
|
|
2692
2658
|
};
|
|
2693
2659
|
};
|
|
2694
|
-
const
|
|
2660
|
+
const de_CostCategoryRulesList = (output, context) => {
|
|
2695
2661
|
const retVal = (output || [])
|
|
2696
2662
|
.filter((e) => e != null)
|
|
2697
2663
|
.map((entry) => {
|
|
2698
2664
|
if (entry === null) {
|
|
2699
2665
|
return null;
|
|
2700
2666
|
}
|
|
2701
|
-
return
|
|
2667
|
+
return de_CostCategoryRule(entry, context);
|
|
2702
2668
|
});
|
|
2703
2669
|
return retVal;
|
|
2704
2670
|
};
|
|
2705
|
-
const
|
|
2671
|
+
const de_CostCategorySplitChargeRule = (output, context) => {
|
|
2706
2672
|
return {
|
|
2707
2673
|
Method: __expectString(output.Method),
|
|
2708
|
-
Parameters: output.Parameters != null
|
|
2709
|
-
? deserializeAws_json1_1CostCategorySplitChargeRuleParametersList(output.Parameters, context)
|
|
2710
|
-
: undefined,
|
|
2674
|
+
Parameters: output.Parameters != null ? de_CostCategorySplitChargeRuleParametersList(output.Parameters, context) : undefined,
|
|
2711
2675
|
Source: __expectString(output.Source),
|
|
2712
|
-
Targets: output.Targets != null
|
|
2713
|
-
? deserializeAws_json1_1CostCategorySplitChargeRuleTargetsList(output.Targets, context)
|
|
2714
|
-
: undefined,
|
|
2676
|
+
Targets: output.Targets != null ? de_CostCategorySplitChargeRuleTargetsList(output.Targets, context) : undefined,
|
|
2715
2677
|
};
|
|
2716
2678
|
};
|
|
2717
|
-
const
|
|
2679
|
+
const de_CostCategorySplitChargeRuleParameter = (output, context) => {
|
|
2718
2680
|
return {
|
|
2719
2681
|
Type: __expectString(output.Type),
|
|
2720
|
-
Values: output.Values != null
|
|
2721
|
-
? deserializeAws_json1_1CostCategorySplitChargeRuleParameterValuesList(output.Values, context)
|
|
2722
|
-
: undefined,
|
|
2682
|
+
Values: output.Values != null ? de_CostCategorySplitChargeRuleParameterValuesList(output.Values, context) : undefined,
|
|
2723
2683
|
};
|
|
2724
2684
|
};
|
|
2725
|
-
const
|
|
2685
|
+
const de_CostCategorySplitChargeRuleParametersList = (output, context) => {
|
|
2726
2686
|
const retVal = (output || [])
|
|
2727
2687
|
.filter((e) => e != null)
|
|
2728
2688
|
.map((entry) => {
|
|
2729
2689
|
if (entry === null) {
|
|
2730
2690
|
return null;
|
|
2731
2691
|
}
|
|
2732
|
-
return
|
|
2692
|
+
return de_CostCategorySplitChargeRuleParameter(entry, context);
|
|
2733
2693
|
});
|
|
2734
2694
|
return retVal;
|
|
2735
2695
|
};
|
|
2736
|
-
const
|
|
2696
|
+
const de_CostCategorySplitChargeRuleParameterValuesList = (output, context) => {
|
|
2737
2697
|
const retVal = (output || [])
|
|
2738
2698
|
.filter((e) => e != null)
|
|
2739
2699
|
.map((entry) => {
|
|
@@ -2744,18 +2704,18 @@ const deserializeAws_json1_1CostCategorySplitChargeRuleParameterValuesList = (ou
|
|
|
2744
2704
|
});
|
|
2745
2705
|
return retVal;
|
|
2746
2706
|
};
|
|
2747
|
-
const
|
|
2707
|
+
const de_CostCategorySplitChargeRulesList = (output, context) => {
|
|
2748
2708
|
const retVal = (output || [])
|
|
2749
2709
|
.filter((e) => e != null)
|
|
2750
2710
|
.map((entry) => {
|
|
2751
2711
|
if (entry === null) {
|
|
2752
2712
|
return null;
|
|
2753
2713
|
}
|
|
2754
|
-
return
|
|
2714
|
+
return de_CostCategorySplitChargeRule(entry, context);
|
|
2755
2715
|
});
|
|
2756
2716
|
return retVal;
|
|
2757
2717
|
};
|
|
2758
|
-
const
|
|
2718
|
+
const de_CostCategorySplitChargeRuleTargetsList = (output, context) => {
|
|
2759
2719
|
const retVal = (output || [])
|
|
2760
2720
|
.filter((e) => e != null)
|
|
2761
2721
|
.map((entry) => {
|
|
@@ -2766,14 +2726,14 @@ const deserializeAws_json1_1CostCategorySplitChargeRuleTargetsList = (output, co
|
|
|
2766
2726
|
});
|
|
2767
2727
|
return retVal;
|
|
2768
2728
|
};
|
|
2769
|
-
const
|
|
2729
|
+
const de_CostCategoryValues = (output, context) => {
|
|
2770
2730
|
return {
|
|
2771
2731
|
Key: __expectString(output.Key),
|
|
2772
|
-
MatchOptions: output.MatchOptions != null ?
|
|
2773
|
-
Values: output.Values != null ?
|
|
2732
|
+
MatchOptions: output.MatchOptions != null ? de_MatchOptions(output.MatchOptions, context) : undefined,
|
|
2733
|
+
Values: output.Values != null ? de_Values(output.Values, context) : undefined,
|
|
2774
2734
|
};
|
|
2775
2735
|
};
|
|
2776
|
-
const
|
|
2736
|
+
const de_CostCategoryValuesList = (output, context) => {
|
|
2777
2737
|
const retVal = (output || [])
|
|
2778
2738
|
.filter((e) => e != null)
|
|
2779
2739
|
.map((entry) => {
|
|
@@ -2784,28 +2744,28 @@ const deserializeAws_json1_1CostCategoryValuesList = (output, context) => {
|
|
|
2784
2744
|
});
|
|
2785
2745
|
return retVal;
|
|
2786
2746
|
};
|
|
2787
|
-
const
|
|
2747
|
+
const de_Coverage = (output, context) => {
|
|
2788
2748
|
return {
|
|
2789
|
-
CoverageCost: output.CoverageCost != null ?
|
|
2790
|
-
CoverageHours: output.CoverageHours != null ?
|
|
2749
|
+
CoverageCost: output.CoverageCost != null ? de_CoverageCost(output.CoverageCost, context) : undefined,
|
|
2750
|
+
CoverageHours: output.CoverageHours != null ? de_CoverageHours(output.CoverageHours, context) : undefined,
|
|
2791
2751
|
CoverageNormalizedUnits: output.CoverageNormalizedUnits != null
|
|
2792
|
-
?
|
|
2752
|
+
? de_CoverageNormalizedUnits(output.CoverageNormalizedUnits, context)
|
|
2793
2753
|
: undefined,
|
|
2794
2754
|
};
|
|
2795
2755
|
};
|
|
2796
|
-
const
|
|
2756
|
+
const de_CoverageByTime = (output, context) => {
|
|
2797
2757
|
return {
|
|
2798
|
-
Groups: output.Groups != null ?
|
|
2799
|
-
TimePeriod: output.TimePeriod != null ?
|
|
2800
|
-
Total: output.Total != null ?
|
|
2758
|
+
Groups: output.Groups != null ? de_ReservationCoverageGroups(output.Groups, context) : undefined,
|
|
2759
|
+
TimePeriod: output.TimePeriod != null ? de_DateInterval(output.TimePeriod, context) : undefined,
|
|
2760
|
+
Total: output.Total != null ? de_Coverage(output.Total, context) : undefined,
|
|
2801
2761
|
};
|
|
2802
2762
|
};
|
|
2803
|
-
const
|
|
2763
|
+
const de_CoverageCost = (output, context) => {
|
|
2804
2764
|
return {
|
|
2805
2765
|
OnDemandCost: __expectString(output.OnDemandCost),
|
|
2806
2766
|
};
|
|
2807
2767
|
};
|
|
2808
|
-
const
|
|
2768
|
+
const de_CoverageHours = (output, context) => {
|
|
2809
2769
|
return {
|
|
2810
2770
|
CoverageHoursPercentage: __expectString(output.CoverageHoursPercentage),
|
|
2811
2771
|
OnDemandHours: __expectString(output.OnDemandHours),
|
|
@@ -2813,7 +2773,7 @@ const deserializeAws_json1_1CoverageHours = (output, context) => {
|
|
|
2813
2773
|
TotalRunningHours: __expectString(output.TotalRunningHours),
|
|
2814
2774
|
};
|
|
2815
2775
|
};
|
|
2816
|
-
const
|
|
2776
|
+
const de_CoverageNormalizedUnits = (output, context) => {
|
|
2817
2777
|
return {
|
|
2818
2778
|
CoverageNormalizedUnitsPercentage: __expectString(output.CoverageNormalizedUnitsPercentage),
|
|
2819
2779
|
OnDemandNormalizedUnits: __expectString(output.OnDemandNormalizedUnits),
|
|
@@ -2821,105 +2781,101 @@ const deserializeAws_json1_1CoverageNormalizedUnits = (output, context) => {
|
|
|
2821
2781
|
TotalRunningNormalizedUnits: __expectString(output.TotalRunningNormalizedUnits),
|
|
2822
2782
|
};
|
|
2823
2783
|
};
|
|
2824
|
-
const
|
|
2784
|
+
const de_CoveragesByTime = (output, context) => {
|
|
2825
2785
|
const retVal = (output || [])
|
|
2826
2786
|
.filter((e) => e != null)
|
|
2827
2787
|
.map((entry) => {
|
|
2828
2788
|
if (entry === null) {
|
|
2829
2789
|
return null;
|
|
2830
2790
|
}
|
|
2831
|
-
return
|
|
2791
|
+
return de_CoverageByTime(entry, context);
|
|
2832
2792
|
});
|
|
2833
2793
|
return retVal;
|
|
2834
2794
|
};
|
|
2835
|
-
const
|
|
2795
|
+
const de_CreateAnomalyMonitorResponse = (output, context) => {
|
|
2836
2796
|
return {
|
|
2837
2797
|
MonitorArn: __expectString(output.MonitorArn),
|
|
2838
2798
|
};
|
|
2839
2799
|
};
|
|
2840
|
-
const
|
|
2800
|
+
const de_CreateAnomalySubscriptionResponse = (output, context) => {
|
|
2841
2801
|
return {
|
|
2842
2802
|
SubscriptionArn: __expectString(output.SubscriptionArn),
|
|
2843
2803
|
};
|
|
2844
2804
|
};
|
|
2845
|
-
const
|
|
2805
|
+
const de_CreateCostCategoryDefinitionResponse = (output, context) => {
|
|
2846
2806
|
return {
|
|
2847
2807
|
CostCategoryArn: __expectString(output.CostCategoryArn),
|
|
2848
2808
|
EffectiveStart: __expectString(output.EffectiveStart),
|
|
2849
2809
|
};
|
|
2850
2810
|
};
|
|
2851
|
-
const
|
|
2811
|
+
const de_CurrentInstance = (output, context) => {
|
|
2852
2812
|
return {
|
|
2853
2813
|
CurrencyCode: __expectString(output.CurrencyCode),
|
|
2854
2814
|
InstanceName: __expectString(output.InstanceName),
|
|
2855
2815
|
MonthlyCost: __expectString(output.MonthlyCost),
|
|
2856
2816
|
OnDemandHoursInLookbackPeriod: __expectString(output.OnDemandHoursInLookbackPeriod),
|
|
2857
2817
|
ReservationCoveredHoursInLookbackPeriod: __expectString(output.ReservationCoveredHoursInLookbackPeriod),
|
|
2858
|
-
ResourceDetails: output.ResourceDetails != null
|
|
2859
|
-
? deserializeAws_json1_1ResourceDetails(output.ResourceDetails, context)
|
|
2860
|
-
: undefined,
|
|
2818
|
+
ResourceDetails: output.ResourceDetails != null ? de_ResourceDetails(output.ResourceDetails, context) : undefined,
|
|
2861
2819
|
ResourceId: __expectString(output.ResourceId),
|
|
2862
|
-
ResourceUtilization: output.ResourceUtilization != null
|
|
2863
|
-
? deserializeAws_json1_1ResourceUtilization(output.ResourceUtilization, context)
|
|
2864
|
-
: undefined,
|
|
2820
|
+
ResourceUtilization: output.ResourceUtilization != null ? de_ResourceUtilization(output.ResourceUtilization, context) : undefined,
|
|
2865
2821
|
SavingsPlansCoveredHoursInLookbackPeriod: __expectString(output.SavingsPlansCoveredHoursInLookbackPeriod),
|
|
2866
|
-
Tags: output.Tags != null ?
|
|
2822
|
+
Tags: output.Tags != null ? de_TagValuesList(output.Tags, context) : undefined,
|
|
2867
2823
|
TotalRunningHoursInLookbackPeriod: __expectString(output.TotalRunningHoursInLookbackPeriod),
|
|
2868
2824
|
};
|
|
2869
2825
|
};
|
|
2870
|
-
const
|
|
2826
|
+
const de_DataUnavailableException = (output, context) => {
|
|
2871
2827
|
return {
|
|
2872
2828
|
Message: __expectString(output.Message),
|
|
2873
2829
|
};
|
|
2874
2830
|
};
|
|
2875
|
-
const
|
|
2831
|
+
const de_DateInterval = (output, context) => {
|
|
2876
2832
|
return {
|
|
2877
2833
|
End: __expectString(output.End),
|
|
2878
2834
|
Start: __expectString(output.Start),
|
|
2879
2835
|
};
|
|
2880
2836
|
};
|
|
2881
|
-
const
|
|
2837
|
+
const de_DeleteAnomalyMonitorResponse = (output, context) => {
|
|
2882
2838
|
return {};
|
|
2883
2839
|
};
|
|
2884
|
-
const
|
|
2840
|
+
const de_DeleteAnomalySubscriptionResponse = (output, context) => {
|
|
2885
2841
|
return {};
|
|
2886
2842
|
};
|
|
2887
|
-
const
|
|
2843
|
+
const de_DeleteCostCategoryDefinitionResponse = (output, context) => {
|
|
2888
2844
|
return {
|
|
2889
2845
|
CostCategoryArn: __expectString(output.CostCategoryArn),
|
|
2890
2846
|
EffectiveEnd: __expectString(output.EffectiveEnd),
|
|
2891
2847
|
};
|
|
2892
2848
|
};
|
|
2893
|
-
const
|
|
2849
|
+
const de_DescribeCostCategoryDefinitionResponse = (output, context) => {
|
|
2894
2850
|
return {
|
|
2895
|
-
CostCategory: output.CostCategory != null ?
|
|
2851
|
+
CostCategory: output.CostCategory != null ? de_CostCategory(output.CostCategory, context) : undefined,
|
|
2896
2852
|
};
|
|
2897
2853
|
};
|
|
2898
|
-
const
|
|
2854
|
+
const de_DimensionValues = (output, context) => {
|
|
2899
2855
|
return {
|
|
2900
2856
|
Key: __expectString(output.Key),
|
|
2901
|
-
MatchOptions: output.MatchOptions != null ?
|
|
2902
|
-
Values: output.Values != null ?
|
|
2857
|
+
MatchOptions: output.MatchOptions != null ? de_MatchOptions(output.MatchOptions, context) : undefined,
|
|
2858
|
+
Values: output.Values != null ? de_Values(output.Values, context) : undefined,
|
|
2903
2859
|
};
|
|
2904
2860
|
};
|
|
2905
|
-
const
|
|
2861
|
+
const de_DimensionValuesWithAttributes = (output, context) => {
|
|
2906
2862
|
return {
|
|
2907
|
-
Attributes: output.Attributes != null ?
|
|
2863
|
+
Attributes: output.Attributes != null ? de_Attributes(output.Attributes, context) : undefined,
|
|
2908
2864
|
Value: __expectString(output.Value),
|
|
2909
2865
|
};
|
|
2910
2866
|
};
|
|
2911
|
-
const
|
|
2867
|
+
const de_DimensionValuesWithAttributesList = (output, context) => {
|
|
2912
2868
|
const retVal = (output || [])
|
|
2913
2869
|
.filter((e) => e != null)
|
|
2914
2870
|
.map((entry) => {
|
|
2915
2871
|
if (entry === null) {
|
|
2916
2872
|
return null;
|
|
2917
2873
|
}
|
|
2918
|
-
return
|
|
2874
|
+
return de_DimensionValuesWithAttributes(entry, context);
|
|
2919
2875
|
});
|
|
2920
2876
|
return retVal;
|
|
2921
2877
|
};
|
|
2922
|
-
const
|
|
2878
|
+
const de_DiskResourceUtilization = (output, context) => {
|
|
2923
2879
|
return {
|
|
2924
2880
|
DiskReadBytesPerSecond: __expectString(output.DiskReadBytesPerSecond),
|
|
2925
2881
|
DiskReadOpsPerSecond: __expectString(output.DiskReadOpsPerSecond),
|
|
@@ -2927,7 +2883,7 @@ const deserializeAws_json1_1DiskResourceUtilization = (output, context) => {
|
|
|
2927
2883
|
DiskWriteOpsPerSecond: __expectString(output.DiskWriteOpsPerSecond),
|
|
2928
2884
|
};
|
|
2929
2885
|
};
|
|
2930
|
-
const
|
|
2886
|
+
const de_EBSResourceUtilization = (output, context) => {
|
|
2931
2887
|
return {
|
|
2932
2888
|
EbsReadBytesPerSecond: __expectString(output.EbsReadBytesPerSecond),
|
|
2933
2889
|
EbsReadOpsPerSecond: __expectString(output.EbsReadOpsPerSecond),
|
|
@@ -2935,7 +2891,7 @@ const deserializeAws_json1_1EBSResourceUtilization = (output, context) => {
|
|
|
2935
2891
|
EbsWriteOpsPerSecond: __expectString(output.EbsWriteOpsPerSecond),
|
|
2936
2892
|
};
|
|
2937
2893
|
};
|
|
2938
|
-
const
|
|
2894
|
+
const de_EC2InstanceDetails = (output, context) => {
|
|
2939
2895
|
return {
|
|
2940
2896
|
AvailabilityZone: __expectString(output.AvailabilityZone),
|
|
2941
2897
|
CurrentGeneration: __expectBoolean(output.CurrentGeneration),
|
|
@@ -2947,7 +2903,7 @@ const deserializeAws_json1_1EC2InstanceDetails = (output, context) => {
|
|
|
2947
2903
|
Tenancy: __expectString(output.Tenancy),
|
|
2948
2904
|
};
|
|
2949
2905
|
};
|
|
2950
|
-
const
|
|
2906
|
+
const de_EC2ResourceDetails = (output, context) => {
|
|
2951
2907
|
return {
|
|
2952
2908
|
HourlyOnDemandRate: __expectString(output.HourlyOnDemandRate),
|
|
2953
2909
|
InstanceType: __expectString(output.InstanceType),
|
|
@@ -2960,28 +2916,28 @@ const deserializeAws_json1_1EC2ResourceDetails = (output, context) => {
|
|
|
2960
2916
|
Vcpu: __expectString(output.Vcpu),
|
|
2961
2917
|
};
|
|
2962
2918
|
};
|
|
2963
|
-
const
|
|
2919
|
+
const de_EC2ResourceUtilization = (output, context) => {
|
|
2964
2920
|
return {
|
|
2965
2921
|
DiskResourceUtilization: output.DiskResourceUtilization != null
|
|
2966
|
-
?
|
|
2922
|
+
? de_DiskResourceUtilization(output.DiskResourceUtilization, context)
|
|
2967
2923
|
: undefined,
|
|
2968
2924
|
EBSResourceUtilization: output.EBSResourceUtilization != null
|
|
2969
|
-
?
|
|
2925
|
+
? de_EBSResourceUtilization(output.EBSResourceUtilization, context)
|
|
2970
2926
|
: undefined,
|
|
2971
2927
|
MaxCpuUtilizationPercentage: __expectString(output.MaxCpuUtilizationPercentage),
|
|
2972
2928
|
MaxMemoryUtilizationPercentage: __expectString(output.MaxMemoryUtilizationPercentage),
|
|
2973
2929
|
MaxStorageUtilizationPercentage: __expectString(output.MaxStorageUtilizationPercentage),
|
|
2974
2930
|
NetworkResourceUtilization: output.NetworkResourceUtilization != null
|
|
2975
|
-
?
|
|
2931
|
+
? de_NetworkResourceUtilization(output.NetworkResourceUtilization, context)
|
|
2976
2932
|
: undefined,
|
|
2977
2933
|
};
|
|
2978
2934
|
};
|
|
2979
|
-
const
|
|
2935
|
+
const de_EC2Specification = (output, context) => {
|
|
2980
2936
|
return {
|
|
2981
2937
|
OfferingClass: __expectString(output.OfferingClass),
|
|
2982
2938
|
};
|
|
2983
2939
|
};
|
|
2984
|
-
const
|
|
2940
|
+
const de_ElastiCacheInstanceDetails = (output, context) => {
|
|
2985
2941
|
return {
|
|
2986
2942
|
CurrentGeneration: __expectBoolean(output.CurrentGeneration),
|
|
2987
2943
|
Family: __expectString(output.Family),
|
|
@@ -2991,7 +2947,7 @@ const deserializeAws_json1_1ElastiCacheInstanceDetails = (output, context) => {
|
|
|
2991
2947
|
SizeFlexEligible: __expectBoolean(output.SizeFlexEligible),
|
|
2992
2948
|
};
|
|
2993
2949
|
};
|
|
2994
|
-
const
|
|
2950
|
+
const de_ESInstanceDetails = (output, context) => {
|
|
2995
2951
|
return {
|
|
2996
2952
|
CurrentGeneration: __expectBoolean(output.CurrentGeneration),
|
|
2997
2953
|
InstanceClass: __expectString(output.InstanceClass),
|
|
@@ -3000,30 +2956,28 @@ const deserializeAws_json1_1ESInstanceDetails = (output, context) => {
|
|
|
3000
2956
|
SizeFlexEligible: __expectBoolean(output.SizeFlexEligible),
|
|
3001
2957
|
};
|
|
3002
2958
|
};
|
|
3003
|
-
const
|
|
2959
|
+
const de_Expression = (output, context) => {
|
|
3004
2960
|
return {
|
|
3005
|
-
And: output.And != null ?
|
|
3006
|
-
CostCategories: output.CostCategories != null
|
|
3007
|
-
|
|
3008
|
-
|
|
3009
|
-
|
|
3010
|
-
|
|
3011
|
-
Or: output.Or != null ? deserializeAws_json1_1Expressions(output.Or, context) : undefined,
|
|
3012
|
-
Tags: output.Tags != null ? deserializeAws_json1_1TagValues(output.Tags, context) : undefined,
|
|
2961
|
+
And: output.And != null ? de_Expressions(output.And, context) : undefined,
|
|
2962
|
+
CostCategories: output.CostCategories != null ? de_CostCategoryValues(output.CostCategories, context) : undefined,
|
|
2963
|
+
Dimensions: output.Dimensions != null ? de_DimensionValues(output.Dimensions, context) : undefined,
|
|
2964
|
+
Not: output.Not != null ? de_Expression(output.Not, context) : undefined,
|
|
2965
|
+
Or: output.Or != null ? de_Expressions(output.Or, context) : undefined,
|
|
2966
|
+
Tags: output.Tags != null ? de_TagValues(output.Tags, context) : undefined,
|
|
3013
2967
|
};
|
|
3014
2968
|
};
|
|
3015
|
-
const
|
|
2969
|
+
const de_Expressions = (output, context) => {
|
|
3016
2970
|
const retVal = (output || [])
|
|
3017
2971
|
.filter((e) => e != null)
|
|
3018
2972
|
.map((entry) => {
|
|
3019
2973
|
if (entry === null) {
|
|
3020
2974
|
return null;
|
|
3021
2975
|
}
|
|
3022
|
-
return
|
|
2976
|
+
return de_Expression(entry, context);
|
|
3023
2977
|
});
|
|
3024
2978
|
return retVal;
|
|
3025
2979
|
};
|
|
3026
|
-
const
|
|
2980
|
+
const de_FindingReasonCodes = (output, context) => {
|
|
3027
2981
|
const retVal = (output || [])
|
|
3028
2982
|
.filter((e) => e != null)
|
|
3029
2983
|
.map((entry) => {
|
|
@@ -3034,31 +2988,31 @@ const deserializeAws_json1_1FindingReasonCodes = (output, context) => {
|
|
|
3034
2988
|
});
|
|
3035
2989
|
return retVal;
|
|
3036
2990
|
};
|
|
3037
|
-
const
|
|
2991
|
+
const de_ForecastResult = (output, context) => {
|
|
3038
2992
|
return {
|
|
3039
2993
|
MeanValue: __expectString(output.MeanValue),
|
|
3040
2994
|
PredictionIntervalLowerBound: __expectString(output.PredictionIntervalLowerBound),
|
|
3041
2995
|
PredictionIntervalUpperBound: __expectString(output.PredictionIntervalUpperBound),
|
|
3042
|
-
TimePeriod: output.TimePeriod != null ?
|
|
2996
|
+
TimePeriod: output.TimePeriod != null ? de_DateInterval(output.TimePeriod, context) : undefined,
|
|
3043
2997
|
};
|
|
3044
2998
|
};
|
|
3045
|
-
const
|
|
2999
|
+
const de_ForecastResultsByTime = (output, context) => {
|
|
3046
3000
|
const retVal = (output || [])
|
|
3047
3001
|
.filter((e) => e != null)
|
|
3048
3002
|
.map((entry) => {
|
|
3049
3003
|
if (entry === null) {
|
|
3050
3004
|
return null;
|
|
3051
3005
|
}
|
|
3052
|
-
return
|
|
3006
|
+
return de_ForecastResult(entry, context);
|
|
3053
3007
|
});
|
|
3054
3008
|
return retVal;
|
|
3055
3009
|
};
|
|
3056
|
-
const
|
|
3010
|
+
const de_GenerationExistsException = (output, context) => {
|
|
3057
3011
|
return {
|
|
3058
3012
|
Message: __expectString(output.Message),
|
|
3059
3013
|
};
|
|
3060
3014
|
};
|
|
3061
|
-
const
|
|
3015
|
+
const de_GenerationSummary = (output, context) => {
|
|
3062
3016
|
return {
|
|
3063
3017
|
EstimatedCompletionTime: __expectString(output.EstimatedCompletionTime),
|
|
3064
3018
|
GenerationCompletionTime: __expectString(output.GenerationCompletionTime),
|
|
@@ -3067,228 +3021,204 @@ const deserializeAws_json1_1GenerationSummary = (output, context) => {
|
|
|
3067
3021
|
RecommendationId: __expectString(output.RecommendationId),
|
|
3068
3022
|
};
|
|
3069
3023
|
};
|
|
3070
|
-
const
|
|
3024
|
+
const de_GenerationSummaryList = (output, context) => {
|
|
3071
3025
|
const retVal = (output || [])
|
|
3072
3026
|
.filter((e) => e != null)
|
|
3073
3027
|
.map((entry) => {
|
|
3074
3028
|
if (entry === null) {
|
|
3075
3029
|
return null;
|
|
3076
3030
|
}
|
|
3077
|
-
return
|
|
3031
|
+
return de_GenerationSummary(entry, context);
|
|
3078
3032
|
});
|
|
3079
3033
|
return retVal;
|
|
3080
3034
|
};
|
|
3081
|
-
const
|
|
3035
|
+
const de_GetAnomaliesResponse = (output, context) => {
|
|
3082
3036
|
return {
|
|
3083
|
-
Anomalies: output.Anomalies != null ?
|
|
3037
|
+
Anomalies: output.Anomalies != null ? de_Anomalies(output.Anomalies, context) : undefined,
|
|
3084
3038
|
NextPageToken: __expectString(output.NextPageToken),
|
|
3085
3039
|
};
|
|
3086
3040
|
};
|
|
3087
|
-
const
|
|
3041
|
+
const de_GetAnomalyMonitorsResponse = (output, context) => {
|
|
3088
3042
|
return {
|
|
3089
|
-
AnomalyMonitors: output.AnomalyMonitors != null
|
|
3090
|
-
? deserializeAws_json1_1AnomalyMonitors(output.AnomalyMonitors, context)
|
|
3091
|
-
: undefined,
|
|
3043
|
+
AnomalyMonitors: output.AnomalyMonitors != null ? de_AnomalyMonitors(output.AnomalyMonitors, context) : undefined,
|
|
3092
3044
|
NextPageToken: __expectString(output.NextPageToken),
|
|
3093
3045
|
};
|
|
3094
3046
|
};
|
|
3095
|
-
const
|
|
3047
|
+
const de_GetAnomalySubscriptionsResponse = (output, context) => {
|
|
3096
3048
|
return {
|
|
3097
|
-
AnomalySubscriptions: output.AnomalySubscriptions != null
|
|
3098
|
-
? deserializeAws_json1_1AnomalySubscriptions(output.AnomalySubscriptions, context)
|
|
3099
|
-
: undefined,
|
|
3049
|
+
AnomalySubscriptions: output.AnomalySubscriptions != null ? de_AnomalySubscriptions(output.AnomalySubscriptions, context) : undefined,
|
|
3100
3050
|
NextPageToken: __expectString(output.NextPageToken),
|
|
3101
3051
|
};
|
|
3102
3052
|
};
|
|
3103
|
-
const
|
|
3053
|
+
const de_GetCostAndUsageResponse = (output, context) => {
|
|
3104
3054
|
return {
|
|
3105
3055
|
DimensionValueAttributes: output.DimensionValueAttributes != null
|
|
3106
|
-
?
|
|
3107
|
-
: undefined,
|
|
3108
|
-
GroupDefinitions: output.GroupDefinitions != null
|
|
3109
|
-
? deserializeAws_json1_1GroupDefinitions(output.GroupDefinitions, context)
|
|
3056
|
+
? de_DimensionValuesWithAttributesList(output.DimensionValueAttributes, context)
|
|
3110
3057
|
: undefined,
|
|
3058
|
+
GroupDefinitions: output.GroupDefinitions != null ? de_GroupDefinitions(output.GroupDefinitions, context) : undefined,
|
|
3111
3059
|
NextPageToken: __expectString(output.NextPageToken),
|
|
3112
|
-
ResultsByTime: output.ResultsByTime != null ?
|
|
3060
|
+
ResultsByTime: output.ResultsByTime != null ? de_ResultsByTime(output.ResultsByTime, context) : undefined,
|
|
3113
3061
|
};
|
|
3114
3062
|
};
|
|
3115
|
-
const
|
|
3063
|
+
const de_GetCostAndUsageWithResourcesResponse = (output, context) => {
|
|
3116
3064
|
return {
|
|
3117
3065
|
DimensionValueAttributes: output.DimensionValueAttributes != null
|
|
3118
|
-
?
|
|
3119
|
-
: undefined,
|
|
3120
|
-
GroupDefinitions: output.GroupDefinitions != null
|
|
3121
|
-
? deserializeAws_json1_1GroupDefinitions(output.GroupDefinitions, context)
|
|
3066
|
+
? de_DimensionValuesWithAttributesList(output.DimensionValueAttributes, context)
|
|
3122
3067
|
: undefined,
|
|
3068
|
+
GroupDefinitions: output.GroupDefinitions != null ? de_GroupDefinitions(output.GroupDefinitions, context) : undefined,
|
|
3123
3069
|
NextPageToken: __expectString(output.NextPageToken),
|
|
3124
|
-
ResultsByTime: output.ResultsByTime != null ?
|
|
3070
|
+
ResultsByTime: output.ResultsByTime != null ? de_ResultsByTime(output.ResultsByTime, context) : undefined,
|
|
3125
3071
|
};
|
|
3126
3072
|
};
|
|
3127
|
-
const
|
|
3073
|
+
const de_GetCostCategoriesResponse = (output, context) => {
|
|
3128
3074
|
return {
|
|
3129
|
-
CostCategoryNames: output.CostCategoryNames != null
|
|
3130
|
-
|
|
3131
|
-
: undefined,
|
|
3132
|
-
CostCategoryValues: output.CostCategoryValues != null
|
|
3133
|
-
? deserializeAws_json1_1CostCategoryValuesList(output.CostCategoryValues, context)
|
|
3134
|
-
: undefined,
|
|
3075
|
+
CostCategoryNames: output.CostCategoryNames != null ? de_CostCategoryNamesList(output.CostCategoryNames, context) : undefined,
|
|
3076
|
+
CostCategoryValues: output.CostCategoryValues != null ? de_CostCategoryValuesList(output.CostCategoryValues, context) : undefined,
|
|
3135
3077
|
NextPageToken: __expectString(output.NextPageToken),
|
|
3136
3078
|
ReturnSize: __expectInt32(output.ReturnSize),
|
|
3137
3079
|
TotalSize: __expectInt32(output.TotalSize),
|
|
3138
3080
|
};
|
|
3139
3081
|
};
|
|
3140
|
-
const
|
|
3082
|
+
const de_GetCostForecastResponse = (output, context) => {
|
|
3141
3083
|
return {
|
|
3142
3084
|
ForecastResultsByTime: output.ForecastResultsByTime != null
|
|
3143
|
-
?
|
|
3085
|
+
? de_ForecastResultsByTime(output.ForecastResultsByTime, context)
|
|
3144
3086
|
: undefined,
|
|
3145
|
-
Total: output.Total != null ?
|
|
3087
|
+
Total: output.Total != null ? de_MetricValue(output.Total, context) : undefined,
|
|
3146
3088
|
};
|
|
3147
3089
|
};
|
|
3148
|
-
const
|
|
3090
|
+
const de_GetDimensionValuesResponse = (output, context) => {
|
|
3149
3091
|
return {
|
|
3150
3092
|
DimensionValues: output.DimensionValues != null
|
|
3151
|
-
?
|
|
3093
|
+
? de_DimensionValuesWithAttributesList(output.DimensionValues, context)
|
|
3152
3094
|
: undefined,
|
|
3153
3095
|
NextPageToken: __expectString(output.NextPageToken),
|
|
3154
3096
|
ReturnSize: __expectInt32(output.ReturnSize),
|
|
3155
3097
|
TotalSize: __expectInt32(output.TotalSize),
|
|
3156
3098
|
};
|
|
3157
3099
|
};
|
|
3158
|
-
const
|
|
3100
|
+
const de_GetReservationCoverageResponse = (output, context) => {
|
|
3159
3101
|
return {
|
|
3160
|
-
CoveragesByTime: output.CoveragesByTime != null
|
|
3161
|
-
? deserializeAws_json1_1CoveragesByTime(output.CoveragesByTime, context)
|
|
3162
|
-
: undefined,
|
|
3102
|
+
CoveragesByTime: output.CoveragesByTime != null ? de_CoveragesByTime(output.CoveragesByTime, context) : undefined,
|
|
3163
3103
|
NextPageToken: __expectString(output.NextPageToken),
|
|
3164
|
-
Total: output.Total != null ?
|
|
3104
|
+
Total: output.Total != null ? de_Coverage(output.Total, context) : undefined,
|
|
3165
3105
|
};
|
|
3166
3106
|
};
|
|
3167
|
-
const
|
|
3107
|
+
const de_GetReservationPurchaseRecommendationResponse = (output, context) => {
|
|
3168
3108
|
return {
|
|
3169
|
-
Metadata: output.Metadata != null
|
|
3170
|
-
? deserializeAws_json1_1ReservationPurchaseRecommendationMetadata(output.Metadata, context)
|
|
3171
|
-
: undefined,
|
|
3109
|
+
Metadata: output.Metadata != null ? de_ReservationPurchaseRecommendationMetadata(output.Metadata, context) : undefined,
|
|
3172
3110
|
NextPageToken: __expectString(output.NextPageToken),
|
|
3173
3111
|
Recommendations: output.Recommendations != null
|
|
3174
|
-
?
|
|
3112
|
+
? de_ReservationPurchaseRecommendations(output.Recommendations, context)
|
|
3175
3113
|
: undefined,
|
|
3176
3114
|
};
|
|
3177
3115
|
};
|
|
3178
|
-
const
|
|
3116
|
+
const de_GetReservationUtilizationResponse = (output, context) => {
|
|
3179
3117
|
return {
|
|
3180
3118
|
NextPageToken: __expectString(output.NextPageToken),
|
|
3181
|
-
Total: output.Total != null ?
|
|
3182
|
-
UtilizationsByTime: output.UtilizationsByTime != null
|
|
3183
|
-
? deserializeAws_json1_1UtilizationsByTime(output.UtilizationsByTime, context)
|
|
3184
|
-
: undefined,
|
|
3119
|
+
Total: output.Total != null ? de_ReservationAggregates(output.Total, context) : undefined,
|
|
3120
|
+
UtilizationsByTime: output.UtilizationsByTime != null ? de_UtilizationsByTime(output.UtilizationsByTime, context) : undefined,
|
|
3185
3121
|
};
|
|
3186
3122
|
};
|
|
3187
|
-
const
|
|
3123
|
+
const de_GetRightsizingRecommendationResponse = (output, context) => {
|
|
3188
3124
|
return {
|
|
3189
3125
|
Configuration: output.Configuration != null
|
|
3190
|
-
?
|
|
3191
|
-
: undefined,
|
|
3192
|
-
Metadata: output.Metadata != null
|
|
3193
|
-
? deserializeAws_json1_1RightsizingRecommendationMetadata(output.Metadata, context)
|
|
3126
|
+
? de_RightsizingRecommendationConfiguration(output.Configuration, context)
|
|
3194
3127
|
: undefined,
|
|
3128
|
+
Metadata: output.Metadata != null ? de_RightsizingRecommendationMetadata(output.Metadata, context) : undefined,
|
|
3195
3129
|
NextPageToken: __expectString(output.NextPageToken),
|
|
3196
3130
|
RightsizingRecommendations: output.RightsizingRecommendations != null
|
|
3197
|
-
?
|
|
3198
|
-
: undefined,
|
|
3199
|
-
Summary: output.Summary != null
|
|
3200
|
-
? deserializeAws_json1_1RightsizingRecommendationSummary(output.Summary, context)
|
|
3131
|
+
? de_RightsizingRecommendationList(output.RightsizingRecommendations, context)
|
|
3201
3132
|
: undefined,
|
|
3133
|
+
Summary: output.Summary != null ? de_RightsizingRecommendationSummary(output.Summary, context) : undefined,
|
|
3202
3134
|
};
|
|
3203
3135
|
};
|
|
3204
|
-
const
|
|
3136
|
+
const de_GetSavingsPlansCoverageResponse = (output, context) => {
|
|
3205
3137
|
return {
|
|
3206
3138
|
NextToken: __expectString(output.NextToken),
|
|
3207
3139
|
SavingsPlansCoverages: output.SavingsPlansCoverages != null
|
|
3208
|
-
?
|
|
3140
|
+
? de_SavingsPlansCoverages(output.SavingsPlansCoverages, context)
|
|
3209
3141
|
: undefined,
|
|
3210
3142
|
};
|
|
3211
3143
|
};
|
|
3212
|
-
const
|
|
3144
|
+
const de_GetSavingsPlansPurchaseRecommendationResponse = (output, context) => {
|
|
3213
3145
|
return {
|
|
3214
|
-
Metadata: output.Metadata != null
|
|
3215
|
-
? deserializeAws_json1_1SavingsPlansPurchaseRecommendationMetadata(output.Metadata, context)
|
|
3216
|
-
: undefined,
|
|
3146
|
+
Metadata: output.Metadata != null ? de_SavingsPlansPurchaseRecommendationMetadata(output.Metadata, context) : undefined,
|
|
3217
3147
|
NextPageToken: __expectString(output.NextPageToken),
|
|
3218
3148
|
SavingsPlansPurchaseRecommendation: output.SavingsPlansPurchaseRecommendation != null
|
|
3219
|
-
?
|
|
3149
|
+
? de_SavingsPlansPurchaseRecommendation(output.SavingsPlansPurchaseRecommendation, context)
|
|
3220
3150
|
: undefined,
|
|
3221
3151
|
};
|
|
3222
3152
|
};
|
|
3223
|
-
const
|
|
3153
|
+
const de_GetSavingsPlansUtilizationDetailsResponse = (output, context) => {
|
|
3224
3154
|
return {
|
|
3225
3155
|
NextToken: __expectString(output.NextToken),
|
|
3226
3156
|
SavingsPlansUtilizationDetails: output.SavingsPlansUtilizationDetails != null
|
|
3227
|
-
?
|
|
3157
|
+
? de_SavingsPlansUtilizationDetails(output.SavingsPlansUtilizationDetails, context)
|
|
3228
3158
|
: undefined,
|
|
3229
|
-
TimePeriod: output.TimePeriod != null ?
|
|
3230
|
-
Total: output.Total != null ?
|
|
3159
|
+
TimePeriod: output.TimePeriod != null ? de_DateInterval(output.TimePeriod, context) : undefined,
|
|
3160
|
+
Total: output.Total != null ? de_SavingsPlansUtilizationAggregates(output.Total, context) : undefined,
|
|
3231
3161
|
};
|
|
3232
3162
|
};
|
|
3233
|
-
const
|
|
3163
|
+
const de_GetSavingsPlansUtilizationResponse = (output, context) => {
|
|
3234
3164
|
return {
|
|
3235
3165
|
SavingsPlansUtilizationsByTime: output.SavingsPlansUtilizationsByTime != null
|
|
3236
|
-
?
|
|
3166
|
+
? de_SavingsPlansUtilizationsByTime(output.SavingsPlansUtilizationsByTime, context)
|
|
3237
3167
|
: undefined,
|
|
3238
|
-
Total: output.Total != null ?
|
|
3168
|
+
Total: output.Total != null ? de_SavingsPlansUtilizationAggregates(output.Total, context) : undefined,
|
|
3239
3169
|
};
|
|
3240
3170
|
};
|
|
3241
|
-
const
|
|
3171
|
+
const de_GetTagsResponse = (output, context) => {
|
|
3242
3172
|
return {
|
|
3243
3173
|
NextPageToken: __expectString(output.NextPageToken),
|
|
3244
3174
|
ReturnSize: __expectInt32(output.ReturnSize),
|
|
3245
|
-
Tags: output.Tags != null ?
|
|
3175
|
+
Tags: output.Tags != null ? de_TagList(output.Tags, context) : undefined,
|
|
3246
3176
|
TotalSize: __expectInt32(output.TotalSize),
|
|
3247
3177
|
};
|
|
3248
3178
|
};
|
|
3249
|
-
const
|
|
3179
|
+
const de_GetUsageForecastResponse = (output, context) => {
|
|
3250
3180
|
return {
|
|
3251
3181
|
ForecastResultsByTime: output.ForecastResultsByTime != null
|
|
3252
|
-
?
|
|
3182
|
+
? de_ForecastResultsByTime(output.ForecastResultsByTime, context)
|
|
3253
3183
|
: undefined,
|
|
3254
|
-
Total: output.Total != null ?
|
|
3184
|
+
Total: output.Total != null ? de_MetricValue(output.Total, context) : undefined,
|
|
3255
3185
|
};
|
|
3256
3186
|
};
|
|
3257
|
-
const
|
|
3187
|
+
const de_Group = (output, context) => {
|
|
3258
3188
|
return {
|
|
3259
|
-
Keys: output.Keys != null ?
|
|
3260
|
-
Metrics: output.Metrics != null ?
|
|
3189
|
+
Keys: output.Keys != null ? de_Keys(output.Keys, context) : undefined,
|
|
3190
|
+
Metrics: output.Metrics != null ? de_Metrics(output.Metrics, context) : undefined,
|
|
3261
3191
|
};
|
|
3262
3192
|
};
|
|
3263
|
-
const
|
|
3193
|
+
const de_GroupDefinition = (output, context) => {
|
|
3264
3194
|
return {
|
|
3265
3195
|
Key: __expectString(output.Key),
|
|
3266
3196
|
Type: __expectString(output.Type),
|
|
3267
3197
|
};
|
|
3268
3198
|
};
|
|
3269
|
-
const
|
|
3199
|
+
const de_GroupDefinitions = (output, context) => {
|
|
3270
3200
|
const retVal = (output || [])
|
|
3271
3201
|
.filter((e) => e != null)
|
|
3272
3202
|
.map((entry) => {
|
|
3273
3203
|
if (entry === null) {
|
|
3274
3204
|
return null;
|
|
3275
3205
|
}
|
|
3276
|
-
return
|
|
3206
|
+
return de_GroupDefinition(entry, context);
|
|
3277
3207
|
});
|
|
3278
3208
|
return retVal;
|
|
3279
3209
|
};
|
|
3280
|
-
const
|
|
3210
|
+
const de_Groups = (output, context) => {
|
|
3281
3211
|
const retVal = (output || [])
|
|
3282
3212
|
.filter((e) => e != null)
|
|
3283
3213
|
.map((entry) => {
|
|
3284
3214
|
if (entry === null) {
|
|
3285
3215
|
return null;
|
|
3286
3216
|
}
|
|
3287
|
-
return
|
|
3217
|
+
return de_Group(entry, context);
|
|
3288
3218
|
});
|
|
3289
3219
|
return retVal;
|
|
3290
3220
|
};
|
|
3291
|
-
const
|
|
3221
|
+
const de_Impact = (output, context) => {
|
|
3292
3222
|
return {
|
|
3293
3223
|
MaxImpact: __limitedParseDouble(output.MaxImpact),
|
|
3294
3224
|
TotalActualSpend: __limitedParseDouble(output.TotalActualSpend),
|
|
@@ -3297,31 +3227,25 @@ const deserializeAws_json1_1Impact = (output, context) => {
|
|
|
3297
3227
|
TotalImpactPercentage: __limitedParseDouble(output.TotalImpactPercentage),
|
|
3298
3228
|
};
|
|
3299
3229
|
};
|
|
3300
|
-
const
|
|
3230
|
+
const de_InstanceDetails = (output, context) => {
|
|
3301
3231
|
return {
|
|
3302
|
-
EC2InstanceDetails: output.EC2InstanceDetails != null
|
|
3303
|
-
|
|
3304
|
-
: undefined,
|
|
3305
|
-
ESInstanceDetails: output.ESInstanceDetails != null
|
|
3306
|
-
? deserializeAws_json1_1ESInstanceDetails(output.ESInstanceDetails, context)
|
|
3307
|
-
: undefined,
|
|
3232
|
+
EC2InstanceDetails: output.EC2InstanceDetails != null ? de_EC2InstanceDetails(output.EC2InstanceDetails, context) : undefined,
|
|
3233
|
+
ESInstanceDetails: output.ESInstanceDetails != null ? de_ESInstanceDetails(output.ESInstanceDetails, context) : undefined,
|
|
3308
3234
|
ElastiCacheInstanceDetails: output.ElastiCacheInstanceDetails != null
|
|
3309
|
-
?
|
|
3310
|
-
: undefined,
|
|
3311
|
-
RDSInstanceDetails: output.RDSInstanceDetails != null
|
|
3312
|
-
? deserializeAws_json1_1RDSInstanceDetails(output.RDSInstanceDetails, context)
|
|
3235
|
+
? de_ElastiCacheInstanceDetails(output.ElastiCacheInstanceDetails, context)
|
|
3313
3236
|
: undefined,
|
|
3237
|
+
RDSInstanceDetails: output.RDSInstanceDetails != null ? de_RDSInstanceDetails(output.RDSInstanceDetails, context) : undefined,
|
|
3314
3238
|
RedshiftInstanceDetails: output.RedshiftInstanceDetails != null
|
|
3315
|
-
?
|
|
3239
|
+
? de_RedshiftInstanceDetails(output.RedshiftInstanceDetails, context)
|
|
3316
3240
|
: undefined,
|
|
3317
3241
|
};
|
|
3318
3242
|
};
|
|
3319
|
-
const
|
|
3243
|
+
const de_InvalidNextTokenException = (output, context) => {
|
|
3320
3244
|
return {
|
|
3321
3245
|
Message: __expectString(output.Message),
|
|
3322
3246
|
};
|
|
3323
3247
|
};
|
|
3324
|
-
const
|
|
3248
|
+
const de_Keys = (output, context) => {
|
|
3325
3249
|
const retVal = (output || [])
|
|
3326
3250
|
.filter((e) => e != null)
|
|
3327
3251
|
.map((entry) => {
|
|
@@ -3332,41 +3256,39 @@ const deserializeAws_json1_1Keys = (output, context) => {
|
|
|
3332
3256
|
});
|
|
3333
3257
|
return retVal;
|
|
3334
3258
|
};
|
|
3335
|
-
const
|
|
3259
|
+
const de_LimitExceededException = (output, context) => {
|
|
3336
3260
|
return {
|
|
3337
3261
|
Message: __expectString(output.Message),
|
|
3338
3262
|
};
|
|
3339
3263
|
};
|
|
3340
|
-
const
|
|
3264
|
+
const de_ListCostAllocationTagsResponse = (output, context) => {
|
|
3341
3265
|
return {
|
|
3342
|
-
CostAllocationTags: output.CostAllocationTags != null
|
|
3343
|
-
? deserializeAws_json1_1CostAllocationTagList(output.CostAllocationTags, context)
|
|
3344
|
-
: undefined,
|
|
3266
|
+
CostAllocationTags: output.CostAllocationTags != null ? de_CostAllocationTagList(output.CostAllocationTags, context) : undefined,
|
|
3345
3267
|
NextToken: __expectString(output.NextToken),
|
|
3346
3268
|
};
|
|
3347
3269
|
};
|
|
3348
|
-
const
|
|
3270
|
+
const de_ListCostCategoryDefinitionsResponse = (output, context) => {
|
|
3349
3271
|
return {
|
|
3350
3272
|
CostCategoryReferences: output.CostCategoryReferences != null
|
|
3351
|
-
?
|
|
3273
|
+
? de_CostCategoryReferencesList(output.CostCategoryReferences, context)
|
|
3352
3274
|
: undefined,
|
|
3353
3275
|
NextToken: __expectString(output.NextToken),
|
|
3354
3276
|
};
|
|
3355
3277
|
};
|
|
3356
|
-
const
|
|
3278
|
+
const de_ListSavingsPlansPurchaseRecommendationGenerationResponse = (output, context) => {
|
|
3357
3279
|
return {
|
|
3358
3280
|
GenerationSummaryList: output.GenerationSummaryList != null
|
|
3359
|
-
?
|
|
3281
|
+
? de_GenerationSummaryList(output.GenerationSummaryList, context)
|
|
3360
3282
|
: undefined,
|
|
3361
3283
|
NextPageToken: __expectString(output.NextPageToken),
|
|
3362
3284
|
};
|
|
3363
3285
|
};
|
|
3364
|
-
const
|
|
3286
|
+
const de_ListTagsForResourceResponse = (output, context) => {
|
|
3365
3287
|
return {
|
|
3366
|
-
ResourceTags: output.ResourceTags != null ?
|
|
3288
|
+
ResourceTags: output.ResourceTags != null ? de_ResourceTagList(output.ResourceTags, context) : undefined,
|
|
3367
3289
|
};
|
|
3368
3290
|
};
|
|
3369
|
-
const
|
|
3291
|
+
const de_MatchOptions = (output, context) => {
|
|
3370
3292
|
const retVal = (output || [])
|
|
3371
3293
|
.filter((e) => e != null)
|
|
3372
3294
|
.map((entry) => {
|
|
@@ -3377,29 +3299,27 @@ const deserializeAws_json1_1MatchOptions = (output, context) => {
|
|
|
3377
3299
|
});
|
|
3378
3300
|
return retVal;
|
|
3379
3301
|
};
|
|
3380
|
-
const
|
|
3302
|
+
const de_Metrics = (output, context) => {
|
|
3381
3303
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
3382
3304
|
if (value === null) {
|
|
3383
3305
|
return acc;
|
|
3384
3306
|
}
|
|
3385
|
-
acc[key] =
|
|
3307
|
+
acc[key] = de_MetricValue(value, context);
|
|
3386
3308
|
return acc;
|
|
3387
3309
|
}, {});
|
|
3388
3310
|
};
|
|
3389
|
-
const
|
|
3311
|
+
const de_MetricValue = (output, context) => {
|
|
3390
3312
|
return {
|
|
3391
3313
|
Amount: __expectString(output.Amount),
|
|
3392
3314
|
Unit: __expectString(output.Unit),
|
|
3393
3315
|
};
|
|
3394
3316
|
};
|
|
3395
|
-
const
|
|
3317
|
+
const de_ModifyRecommendationDetail = (output, context) => {
|
|
3396
3318
|
return {
|
|
3397
|
-
TargetInstances: output.TargetInstances != null
|
|
3398
|
-
? deserializeAws_json1_1TargetInstancesList(output.TargetInstances, context)
|
|
3399
|
-
: undefined,
|
|
3319
|
+
TargetInstances: output.TargetInstances != null ? de_TargetInstancesList(output.TargetInstances, context) : undefined,
|
|
3400
3320
|
};
|
|
3401
3321
|
};
|
|
3402
|
-
const
|
|
3322
|
+
const de_MonitorArnList = (output, context) => {
|
|
3403
3323
|
const retVal = (output || [])
|
|
3404
3324
|
.filter((e) => e != null)
|
|
3405
3325
|
.map((entry) => {
|
|
@@ -3410,7 +3330,7 @@ const deserializeAws_json1_1MonitorArnList = (output, context) => {
|
|
|
3410
3330
|
});
|
|
3411
3331
|
return retVal;
|
|
3412
3332
|
};
|
|
3413
|
-
const
|
|
3333
|
+
const de_NetworkResourceUtilization = (output, context) => {
|
|
3414
3334
|
return {
|
|
3415
3335
|
NetworkInBytesPerSecond: __expectString(output.NetworkInBytesPerSecond),
|
|
3416
3336
|
NetworkOutBytesPerSecond: __expectString(output.NetworkOutBytesPerSecond),
|
|
@@ -3418,7 +3338,7 @@ const deserializeAws_json1_1NetworkResourceUtilization = (output, context) => {
|
|
|
3418
3338
|
NetworkPacketsOutPerSecond: __expectString(output.NetworkPacketsOutPerSecond),
|
|
3419
3339
|
};
|
|
3420
3340
|
};
|
|
3421
|
-
const
|
|
3341
|
+
const de_PlatformDifferences = (output, context) => {
|
|
3422
3342
|
const retVal = (output || [])
|
|
3423
3343
|
.filter((e) => e != null)
|
|
3424
3344
|
.map((entry) => {
|
|
@@ -3429,12 +3349,12 @@ const deserializeAws_json1_1PlatformDifferences = (output, context) => {
|
|
|
3429
3349
|
});
|
|
3430
3350
|
return retVal;
|
|
3431
3351
|
};
|
|
3432
|
-
const
|
|
3352
|
+
const de_ProvideAnomalyFeedbackResponse = (output, context) => {
|
|
3433
3353
|
return {
|
|
3434
3354
|
AnomalyId: __expectString(output.AnomalyId),
|
|
3435
3355
|
};
|
|
3436
3356
|
};
|
|
3437
|
-
const
|
|
3357
|
+
const de_RDSInstanceDetails = (output, context) => {
|
|
3438
3358
|
return {
|
|
3439
3359
|
CurrentGeneration: __expectBoolean(output.CurrentGeneration),
|
|
3440
3360
|
DatabaseEdition: __expectString(output.DatabaseEdition),
|
|
@@ -3447,7 +3367,7 @@ const deserializeAws_json1_1RDSInstanceDetails = (output, context) => {
|
|
|
3447
3367
|
SizeFlexEligible: __expectBoolean(output.SizeFlexEligible),
|
|
3448
3368
|
};
|
|
3449
3369
|
};
|
|
3450
|
-
const
|
|
3370
|
+
const de_RedshiftInstanceDetails = (output, context) => {
|
|
3451
3371
|
return {
|
|
3452
3372
|
CurrentGeneration: __expectBoolean(output.CurrentGeneration),
|
|
3453
3373
|
Family: __expectString(output.Family),
|
|
@@ -3456,12 +3376,12 @@ const deserializeAws_json1_1RedshiftInstanceDetails = (output, context) => {
|
|
|
3456
3376
|
SizeFlexEligible: __expectBoolean(output.SizeFlexEligible),
|
|
3457
3377
|
};
|
|
3458
3378
|
};
|
|
3459
|
-
const
|
|
3379
|
+
const de_RequestChangedException = (output, context) => {
|
|
3460
3380
|
return {
|
|
3461
3381
|
Message: __expectString(output.Message),
|
|
3462
3382
|
};
|
|
3463
3383
|
};
|
|
3464
|
-
const
|
|
3384
|
+
const de_ReservationAggregates = (output, context) => {
|
|
3465
3385
|
return {
|
|
3466
3386
|
AmortizedRecurringFee: __expectString(output.AmortizedRecurringFee),
|
|
3467
3387
|
AmortizedUpfrontFee: __expectString(output.AmortizedUpfrontFee),
|
|
@@ -3482,41 +3402,39 @@ const deserializeAws_json1_1ReservationAggregates = (output, context) => {
|
|
|
3482
3402
|
UtilizationPercentageInUnits: __expectString(output.UtilizationPercentageInUnits),
|
|
3483
3403
|
};
|
|
3484
3404
|
};
|
|
3485
|
-
const
|
|
3405
|
+
const de_ReservationCoverageGroup = (output, context) => {
|
|
3486
3406
|
return {
|
|
3487
|
-
Attributes: output.Attributes != null ?
|
|
3488
|
-
Coverage: output.Coverage != null ?
|
|
3407
|
+
Attributes: output.Attributes != null ? de_Attributes(output.Attributes, context) : undefined,
|
|
3408
|
+
Coverage: output.Coverage != null ? de_Coverage(output.Coverage, context) : undefined,
|
|
3489
3409
|
};
|
|
3490
3410
|
};
|
|
3491
|
-
const
|
|
3411
|
+
const de_ReservationCoverageGroups = (output, context) => {
|
|
3492
3412
|
const retVal = (output || [])
|
|
3493
3413
|
.filter((e) => e != null)
|
|
3494
3414
|
.map((entry) => {
|
|
3495
3415
|
if (entry === null) {
|
|
3496
3416
|
return null;
|
|
3497
3417
|
}
|
|
3498
|
-
return
|
|
3418
|
+
return de_ReservationCoverageGroup(entry, context);
|
|
3499
3419
|
});
|
|
3500
3420
|
return retVal;
|
|
3501
3421
|
};
|
|
3502
|
-
const
|
|
3422
|
+
const de_ReservationPurchaseRecommendation = (output, context) => {
|
|
3503
3423
|
return {
|
|
3504
3424
|
AccountScope: __expectString(output.AccountScope),
|
|
3505
3425
|
LookbackPeriodInDays: __expectString(output.LookbackPeriodInDays),
|
|
3506
3426
|
PaymentOption: __expectString(output.PaymentOption),
|
|
3507
3427
|
RecommendationDetails: output.RecommendationDetails != null
|
|
3508
|
-
?
|
|
3428
|
+
? de_ReservationPurchaseRecommendationDetails(output.RecommendationDetails, context)
|
|
3509
3429
|
: undefined,
|
|
3510
3430
|
RecommendationSummary: output.RecommendationSummary != null
|
|
3511
|
-
?
|
|
3512
|
-
: undefined,
|
|
3513
|
-
ServiceSpecification: output.ServiceSpecification != null
|
|
3514
|
-
? deserializeAws_json1_1ServiceSpecification(output.ServiceSpecification, context)
|
|
3431
|
+
? de_ReservationPurchaseRecommendationSummary(output.RecommendationSummary, context)
|
|
3515
3432
|
: undefined,
|
|
3433
|
+
ServiceSpecification: output.ServiceSpecification != null ? de_ServiceSpecification(output.ServiceSpecification, context) : undefined,
|
|
3516
3434
|
TermInYears: __expectString(output.TermInYears),
|
|
3517
3435
|
};
|
|
3518
3436
|
};
|
|
3519
|
-
const
|
|
3437
|
+
const de_ReservationPurchaseRecommendationDetail = (output, context) => {
|
|
3520
3438
|
return {
|
|
3521
3439
|
AccountId: __expectString(output.AccountId),
|
|
3522
3440
|
AverageNormalizedUnitsUsedPerHour: __expectString(output.AverageNormalizedUnitsUsedPerHour),
|
|
@@ -3528,9 +3446,7 @@ const deserializeAws_json1_1ReservationPurchaseRecommendationDetail = (output, c
|
|
|
3528
3446
|
EstimatedMonthlySavingsAmount: __expectString(output.EstimatedMonthlySavingsAmount),
|
|
3529
3447
|
EstimatedMonthlySavingsPercentage: __expectString(output.EstimatedMonthlySavingsPercentage),
|
|
3530
3448
|
EstimatedReservationCostForLookbackPeriod: __expectString(output.EstimatedReservationCostForLookbackPeriod),
|
|
3531
|
-
InstanceDetails: output.InstanceDetails != null
|
|
3532
|
-
? deserializeAws_json1_1InstanceDetails(output.InstanceDetails, context)
|
|
3533
|
-
: undefined,
|
|
3449
|
+
InstanceDetails: output.InstanceDetails != null ? de_InstanceDetails(output.InstanceDetails, context) : undefined,
|
|
3534
3450
|
MaximumNormalizedUnitsUsedPerHour: __expectString(output.MaximumNormalizedUnitsUsedPerHour),
|
|
3535
3451
|
MaximumNumberOfInstancesUsedPerHour: __expectString(output.MaximumNumberOfInstancesUsedPerHour),
|
|
3536
3452
|
MinimumNormalizedUnitsUsedPerHour: __expectString(output.MinimumNormalizedUnitsUsedPerHour),
|
|
@@ -3541,152 +3457,146 @@ const deserializeAws_json1_1ReservationPurchaseRecommendationDetail = (output, c
|
|
|
3541
3457
|
UpfrontCost: __expectString(output.UpfrontCost),
|
|
3542
3458
|
};
|
|
3543
3459
|
};
|
|
3544
|
-
const
|
|
3460
|
+
const de_ReservationPurchaseRecommendationDetails = (output, context) => {
|
|
3545
3461
|
const retVal = (output || [])
|
|
3546
3462
|
.filter((e) => e != null)
|
|
3547
3463
|
.map((entry) => {
|
|
3548
3464
|
if (entry === null) {
|
|
3549
3465
|
return null;
|
|
3550
3466
|
}
|
|
3551
|
-
return
|
|
3467
|
+
return de_ReservationPurchaseRecommendationDetail(entry, context);
|
|
3552
3468
|
});
|
|
3553
3469
|
return retVal;
|
|
3554
3470
|
};
|
|
3555
|
-
const
|
|
3471
|
+
const de_ReservationPurchaseRecommendationMetadata = (output, context) => {
|
|
3556
3472
|
return {
|
|
3557
3473
|
GenerationTimestamp: __expectString(output.GenerationTimestamp),
|
|
3558
3474
|
RecommendationId: __expectString(output.RecommendationId),
|
|
3559
3475
|
};
|
|
3560
3476
|
};
|
|
3561
|
-
const
|
|
3477
|
+
const de_ReservationPurchaseRecommendations = (output, context) => {
|
|
3562
3478
|
const retVal = (output || [])
|
|
3563
3479
|
.filter((e) => e != null)
|
|
3564
3480
|
.map((entry) => {
|
|
3565
3481
|
if (entry === null) {
|
|
3566
3482
|
return null;
|
|
3567
3483
|
}
|
|
3568
|
-
return
|
|
3484
|
+
return de_ReservationPurchaseRecommendation(entry, context);
|
|
3569
3485
|
});
|
|
3570
3486
|
return retVal;
|
|
3571
3487
|
};
|
|
3572
|
-
const
|
|
3488
|
+
const de_ReservationPurchaseRecommendationSummary = (output, context) => {
|
|
3573
3489
|
return {
|
|
3574
3490
|
CurrencyCode: __expectString(output.CurrencyCode),
|
|
3575
3491
|
TotalEstimatedMonthlySavingsAmount: __expectString(output.TotalEstimatedMonthlySavingsAmount),
|
|
3576
3492
|
TotalEstimatedMonthlySavingsPercentage: __expectString(output.TotalEstimatedMonthlySavingsPercentage),
|
|
3577
3493
|
};
|
|
3578
3494
|
};
|
|
3579
|
-
const
|
|
3495
|
+
const de_ReservationUtilizationGroup = (output, context) => {
|
|
3580
3496
|
return {
|
|
3581
|
-
Attributes: output.Attributes != null ?
|
|
3497
|
+
Attributes: output.Attributes != null ? de_Attributes(output.Attributes, context) : undefined,
|
|
3582
3498
|
Key: __expectString(output.Key),
|
|
3583
|
-
Utilization: output.Utilization != null ?
|
|
3499
|
+
Utilization: output.Utilization != null ? de_ReservationAggregates(output.Utilization, context) : undefined,
|
|
3584
3500
|
Value: __expectString(output.Value),
|
|
3585
3501
|
};
|
|
3586
3502
|
};
|
|
3587
|
-
const
|
|
3503
|
+
const de_ReservationUtilizationGroups = (output, context) => {
|
|
3588
3504
|
const retVal = (output || [])
|
|
3589
3505
|
.filter((e) => e != null)
|
|
3590
3506
|
.map((entry) => {
|
|
3591
3507
|
if (entry === null) {
|
|
3592
3508
|
return null;
|
|
3593
3509
|
}
|
|
3594
|
-
return
|
|
3510
|
+
return de_ReservationUtilizationGroup(entry, context);
|
|
3595
3511
|
});
|
|
3596
3512
|
return retVal;
|
|
3597
3513
|
};
|
|
3598
|
-
const
|
|
3514
|
+
const de_ResourceDetails = (output, context) => {
|
|
3599
3515
|
return {
|
|
3600
|
-
EC2ResourceDetails: output.EC2ResourceDetails != null
|
|
3601
|
-
? deserializeAws_json1_1EC2ResourceDetails(output.EC2ResourceDetails, context)
|
|
3602
|
-
: undefined,
|
|
3516
|
+
EC2ResourceDetails: output.EC2ResourceDetails != null ? de_EC2ResourceDetails(output.EC2ResourceDetails, context) : undefined,
|
|
3603
3517
|
};
|
|
3604
3518
|
};
|
|
3605
|
-
const
|
|
3519
|
+
const de_ResourceNotFoundException = (output, context) => {
|
|
3606
3520
|
return {
|
|
3607
3521
|
Message: __expectString(output.Message),
|
|
3608
3522
|
ResourceName: __expectString(output.ResourceName),
|
|
3609
3523
|
};
|
|
3610
3524
|
};
|
|
3611
|
-
const
|
|
3525
|
+
const de_ResourceTag = (output, context) => {
|
|
3612
3526
|
return {
|
|
3613
3527
|
Key: __expectString(output.Key),
|
|
3614
3528
|
Value: __expectString(output.Value),
|
|
3615
3529
|
};
|
|
3616
3530
|
};
|
|
3617
|
-
const
|
|
3531
|
+
const de_ResourceTagList = (output, context) => {
|
|
3618
3532
|
const retVal = (output || [])
|
|
3619
3533
|
.filter((e) => e != null)
|
|
3620
3534
|
.map((entry) => {
|
|
3621
3535
|
if (entry === null) {
|
|
3622
3536
|
return null;
|
|
3623
3537
|
}
|
|
3624
|
-
return
|
|
3538
|
+
return de_ResourceTag(entry, context);
|
|
3625
3539
|
});
|
|
3626
3540
|
return retVal;
|
|
3627
3541
|
};
|
|
3628
|
-
const
|
|
3542
|
+
const de_ResourceUtilization = (output, context) => {
|
|
3629
3543
|
return {
|
|
3630
3544
|
EC2ResourceUtilization: output.EC2ResourceUtilization != null
|
|
3631
|
-
?
|
|
3545
|
+
? de_EC2ResourceUtilization(output.EC2ResourceUtilization, context)
|
|
3632
3546
|
: undefined,
|
|
3633
3547
|
};
|
|
3634
3548
|
};
|
|
3635
|
-
const
|
|
3549
|
+
const de_ResultByTime = (output, context) => {
|
|
3636
3550
|
return {
|
|
3637
3551
|
Estimated: __expectBoolean(output.Estimated),
|
|
3638
|
-
Groups: output.Groups != null ?
|
|
3639
|
-
TimePeriod: output.TimePeriod != null ?
|
|
3640
|
-
Total: output.Total != null ?
|
|
3552
|
+
Groups: output.Groups != null ? de_Groups(output.Groups, context) : undefined,
|
|
3553
|
+
TimePeriod: output.TimePeriod != null ? de_DateInterval(output.TimePeriod, context) : undefined,
|
|
3554
|
+
Total: output.Total != null ? de_Metrics(output.Total, context) : undefined,
|
|
3641
3555
|
};
|
|
3642
3556
|
};
|
|
3643
|
-
const
|
|
3557
|
+
const de_ResultsByTime = (output, context) => {
|
|
3644
3558
|
const retVal = (output || [])
|
|
3645
3559
|
.filter((e) => e != null)
|
|
3646
3560
|
.map((entry) => {
|
|
3647
3561
|
if (entry === null) {
|
|
3648
3562
|
return null;
|
|
3649
3563
|
}
|
|
3650
|
-
return
|
|
3564
|
+
return de_ResultByTime(entry, context);
|
|
3651
3565
|
});
|
|
3652
3566
|
return retVal;
|
|
3653
3567
|
};
|
|
3654
|
-
const
|
|
3568
|
+
const de_RightsizingRecommendation = (output, context) => {
|
|
3655
3569
|
return {
|
|
3656
3570
|
AccountId: __expectString(output.AccountId),
|
|
3657
|
-
CurrentInstance: output.CurrentInstance != null
|
|
3658
|
-
|
|
3659
|
-
: undefined,
|
|
3660
|
-
FindingReasonCodes: output.FindingReasonCodes != null
|
|
3661
|
-
? deserializeAws_json1_1FindingReasonCodes(output.FindingReasonCodes, context)
|
|
3662
|
-
: undefined,
|
|
3571
|
+
CurrentInstance: output.CurrentInstance != null ? de_CurrentInstance(output.CurrentInstance, context) : undefined,
|
|
3572
|
+
FindingReasonCodes: output.FindingReasonCodes != null ? de_FindingReasonCodes(output.FindingReasonCodes, context) : undefined,
|
|
3663
3573
|
ModifyRecommendationDetail: output.ModifyRecommendationDetail != null
|
|
3664
|
-
?
|
|
3574
|
+
? de_ModifyRecommendationDetail(output.ModifyRecommendationDetail, context)
|
|
3665
3575
|
: undefined,
|
|
3666
3576
|
RightsizingType: __expectString(output.RightsizingType),
|
|
3667
3577
|
TerminateRecommendationDetail: output.TerminateRecommendationDetail != null
|
|
3668
|
-
?
|
|
3578
|
+
? de_TerminateRecommendationDetail(output.TerminateRecommendationDetail, context)
|
|
3669
3579
|
: undefined,
|
|
3670
3580
|
};
|
|
3671
3581
|
};
|
|
3672
|
-
const
|
|
3582
|
+
const de_RightsizingRecommendationConfiguration = (output, context) => {
|
|
3673
3583
|
return {
|
|
3674
3584
|
BenefitsConsidered: __expectBoolean(output.BenefitsConsidered),
|
|
3675
3585
|
RecommendationTarget: __expectString(output.RecommendationTarget),
|
|
3676
3586
|
};
|
|
3677
3587
|
};
|
|
3678
|
-
const
|
|
3588
|
+
const de_RightsizingRecommendationList = (output, context) => {
|
|
3679
3589
|
const retVal = (output || [])
|
|
3680
3590
|
.filter((e) => e != null)
|
|
3681
3591
|
.map((entry) => {
|
|
3682
3592
|
if (entry === null) {
|
|
3683
3593
|
return null;
|
|
3684
3594
|
}
|
|
3685
|
-
return
|
|
3595
|
+
return de_RightsizingRecommendation(entry, context);
|
|
3686
3596
|
});
|
|
3687
3597
|
return retVal;
|
|
3688
3598
|
};
|
|
3689
|
-
const
|
|
3599
|
+
const de_RightsizingRecommendationMetadata = (output, context) => {
|
|
3690
3600
|
return {
|
|
3691
3601
|
AdditionalMetadata: __expectString(output.AdditionalMetadata),
|
|
3692
3602
|
GenerationTimestamp: __expectString(output.GenerationTimestamp),
|
|
@@ -3694,7 +3604,7 @@ const deserializeAws_json1_1RightsizingRecommendationMetadata = (output, context
|
|
|
3694
3604
|
RecommendationId: __expectString(output.RecommendationId),
|
|
3695
3605
|
};
|
|
3696
3606
|
};
|
|
3697
|
-
const
|
|
3607
|
+
const de_RightsizingRecommendationSummary = (output, context) => {
|
|
3698
3608
|
return {
|
|
3699
3609
|
EstimatedTotalMonthlySavingsAmount: __expectString(output.EstimatedTotalMonthlySavingsAmount),
|
|
3700
3610
|
SavingsCurrencyCode: __expectString(output.SavingsCurrencyCode),
|
|
@@ -3702,7 +3612,7 @@ const deserializeAws_json1_1RightsizingRecommendationSummary = (output, context)
|
|
|
3702
3612
|
TotalRecommendationCount: __expectString(output.TotalRecommendationCount),
|
|
3703
3613
|
};
|
|
3704
3614
|
};
|
|
3705
|
-
const
|
|
3615
|
+
const de_RootCause = (output, context) => {
|
|
3706
3616
|
return {
|
|
3707
3617
|
LinkedAccount: __expectString(output.LinkedAccount),
|
|
3708
3618
|
LinkedAccountName: __expectString(output.LinkedAccountName),
|
|
@@ -3711,32 +3621,32 @@ const deserializeAws_json1_1RootCause = (output, context) => {
|
|
|
3711
3621
|
UsageType: __expectString(output.UsageType),
|
|
3712
3622
|
};
|
|
3713
3623
|
};
|
|
3714
|
-
const
|
|
3624
|
+
const de_RootCauses = (output, context) => {
|
|
3715
3625
|
const retVal = (output || [])
|
|
3716
3626
|
.filter((e) => e != null)
|
|
3717
3627
|
.map((entry) => {
|
|
3718
3628
|
if (entry === null) {
|
|
3719
3629
|
return null;
|
|
3720
3630
|
}
|
|
3721
|
-
return
|
|
3631
|
+
return de_RootCause(entry, context);
|
|
3722
3632
|
});
|
|
3723
3633
|
return retVal;
|
|
3724
3634
|
};
|
|
3725
|
-
const
|
|
3635
|
+
const de_SavingsPlansAmortizedCommitment = (output, context) => {
|
|
3726
3636
|
return {
|
|
3727
3637
|
AmortizedRecurringCommitment: __expectString(output.AmortizedRecurringCommitment),
|
|
3728
3638
|
AmortizedUpfrontCommitment: __expectString(output.AmortizedUpfrontCommitment),
|
|
3729
3639
|
TotalAmortizedCommitment: __expectString(output.TotalAmortizedCommitment),
|
|
3730
3640
|
};
|
|
3731
3641
|
};
|
|
3732
|
-
const
|
|
3642
|
+
const de_SavingsPlansCoverage = (output, context) => {
|
|
3733
3643
|
return {
|
|
3734
|
-
Attributes: output.Attributes != null ?
|
|
3735
|
-
Coverage: output.Coverage != null ?
|
|
3736
|
-
TimePeriod: output.TimePeriod != null ?
|
|
3644
|
+
Attributes: output.Attributes != null ? de_Attributes(output.Attributes, context) : undefined,
|
|
3645
|
+
Coverage: output.Coverage != null ? de_SavingsPlansCoverageData(output.Coverage, context) : undefined,
|
|
3646
|
+
TimePeriod: output.TimePeriod != null ? de_DateInterval(output.TimePeriod, context) : undefined,
|
|
3737
3647
|
};
|
|
3738
3648
|
};
|
|
3739
|
-
const
|
|
3649
|
+
const de_SavingsPlansCoverageData = (output, context) => {
|
|
3740
3650
|
return {
|
|
3741
3651
|
CoveragePercentage: __expectString(output.CoveragePercentage),
|
|
3742
3652
|
OnDemandCost: __expectString(output.OnDemandCost),
|
|
@@ -3744,40 +3654,40 @@ const deserializeAws_json1_1SavingsPlansCoverageData = (output, context) => {
|
|
|
3744
3654
|
TotalCost: __expectString(output.TotalCost),
|
|
3745
3655
|
};
|
|
3746
3656
|
};
|
|
3747
|
-
const
|
|
3657
|
+
const de_SavingsPlansCoverages = (output, context) => {
|
|
3748
3658
|
const retVal = (output || [])
|
|
3749
3659
|
.filter((e) => e != null)
|
|
3750
3660
|
.map((entry) => {
|
|
3751
3661
|
if (entry === null) {
|
|
3752
3662
|
return null;
|
|
3753
3663
|
}
|
|
3754
|
-
return
|
|
3664
|
+
return de_SavingsPlansCoverage(entry, context);
|
|
3755
3665
|
});
|
|
3756
3666
|
return retVal;
|
|
3757
3667
|
};
|
|
3758
|
-
const
|
|
3668
|
+
const de_SavingsPlansDetails = (output, context) => {
|
|
3759
3669
|
return {
|
|
3760
3670
|
InstanceFamily: __expectString(output.InstanceFamily),
|
|
3761
3671
|
OfferingId: __expectString(output.OfferingId),
|
|
3762
3672
|
Region: __expectString(output.Region),
|
|
3763
3673
|
};
|
|
3764
3674
|
};
|
|
3765
|
-
const
|
|
3675
|
+
const de_SavingsPlansPurchaseRecommendation = (output, context) => {
|
|
3766
3676
|
return {
|
|
3767
3677
|
AccountScope: __expectString(output.AccountScope),
|
|
3768
3678
|
LookbackPeriodInDays: __expectString(output.LookbackPeriodInDays),
|
|
3769
3679
|
PaymentOption: __expectString(output.PaymentOption),
|
|
3770
3680
|
SavingsPlansPurchaseRecommendationDetails: output.SavingsPlansPurchaseRecommendationDetails != null
|
|
3771
|
-
?
|
|
3681
|
+
? de_SavingsPlansPurchaseRecommendationDetailList(output.SavingsPlansPurchaseRecommendationDetails, context)
|
|
3772
3682
|
: undefined,
|
|
3773
3683
|
SavingsPlansPurchaseRecommendationSummary: output.SavingsPlansPurchaseRecommendationSummary != null
|
|
3774
|
-
?
|
|
3684
|
+
? de_SavingsPlansPurchaseRecommendationSummary(output.SavingsPlansPurchaseRecommendationSummary, context)
|
|
3775
3685
|
: undefined,
|
|
3776
3686
|
SavingsPlansType: __expectString(output.SavingsPlansType),
|
|
3777
3687
|
TermInYears: __expectString(output.TermInYears),
|
|
3778
3688
|
};
|
|
3779
3689
|
};
|
|
3780
|
-
const
|
|
3690
|
+
const de_SavingsPlansPurchaseRecommendationDetail = (output, context) => {
|
|
3781
3691
|
return {
|
|
3782
3692
|
AccountId: __expectString(output.AccountId),
|
|
3783
3693
|
CurrencyCode: __expectString(output.CurrencyCode),
|
|
@@ -3793,31 +3703,29 @@ const deserializeAws_json1_1SavingsPlansPurchaseRecommendationDetail = (output,
|
|
|
3793
3703
|
EstimatedSavingsAmount: __expectString(output.EstimatedSavingsAmount),
|
|
3794
3704
|
EstimatedSavingsPercentage: __expectString(output.EstimatedSavingsPercentage),
|
|
3795
3705
|
HourlyCommitmentToPurchase: __expectString(output.HourlyCommitmentToPurchase),
|
|
3796
|
-
SavingsPlansDetails: output.SavingsPlansDetails != null
|
|
3797
|
-
? deserializeAws_json1_1SavingsPlansDetails(output.SavingsPlansDetails, context)
|
|
3798
|
-
: undefined,
|
|
3706
|
+
SavingsPlansDetails: output.SavingsPlansDetails != null ? de_SavingsPlansDetails(output.SavingsPlansDetails, context) : undefined,
|
|
3799
3707
|
UpfrontCost: __expectString(output.UpfrontCost),
|
|
3800
3708
|
};
|
|
3801
3709
|
};
|
|
3802
|
-
const
|
|
3710
|
+
const de_SavingsPlansPurchaseRecommendationDetailList = (output, context) => {
|
|
3803
3711
|
const retVal = (output || [])
|
|
3804
3712
|
.filter((e) => e != null)
|
|
3805
3713
|
.map((entry) => {
|
|
3806
3714
|
if (entry === null) {
|
|
3807
3715
|
return null;
|
|
3808
3716
|
}
|
|
3809
|
-
return
|
|
3717
|
+
return de_SavingsPlansPurchaseRecommendationDetail(entry, context);
|
|
3810
3718
|
});
|
|
3811
3719
|
return retVal;
|
|
3812
3720
|
};
|
|
3813
|
-
const
|
|
3721
|
+
const de_SavingsPlansPurchaseRecommendationMetadata = (output, context) => {
|
|
3814
3722
|
return {
|
|
3815
3723
|
AdditionalMetadata: __expectString(output.AdditionalMetadata),
|
|
3816
3724
|
GenerationTimestamp: __expectString(output.GenerationTimestamp),
|
|
3817
3725
|
RecommendationId: __expectString(output.RecommendationId),
|
|
3818
3726
|
};
|
|
3819
3727
|
};
|
|
3820
|
-
const
|
|
3728
|
+
const de_SavingsPlansPurchaseRecommendationSummary = (output, context) => {
|
|
3821
3729
|
return {
|
|
3822
3730
|
CurrencyCode: __expectString(output.CurrencyCode),
|
|
3823
3731
|
CurrentOnDemandSpend: __expectString(output.CurrentOnDemandSpend),
|
|
@@ -3832,13 +3740,13 @@ const deserializeAws_json1_1SavingsPlansPurchaseRecommendationSummary = (output,
|
|
|
3832
3740
|
TotalRecommendationCount: __expectString(output.TotalRecommendationCount),
|
|
3833
3741
|
};
|
|
3834
3742
|
};
|
|
3835
|
-
const
|
|
3743
|
+
const de_SavingsPlansSavings = (output, context) => {
|
|
3836
3744
|
return {
|
|
3837
3745
|
NetSavings: __expectString(output.NetSavings),
|
|
3838
3746
|
OnDemandCostEquivalent: __expectString(output.OnDemandCostEquivalent),
|
|
3839
3747
|
};
|
|
3840
3748
|
};
|
|
3841
|
-
const
|
|
3749
|
+
const de_SavingsPlansUtilization = (output, context) => {
|
|
3842
3750
|
return {
|
|
3843
3751
|
TotalCommitment: __expectString(output.TotalCommitment),
|
|
3844
3752
|
UnusedCommitment: __expectString(output.UnusedCommitment),
|
|
@@ -3846,102 +3754,94 @@ const deserializeAws_json1_1SavingsPlansUtilization = (output, context) => {
|
|
|
3846
3754
|
UtilizationPercentage: __expectString(output.UtilizationPercentage),
|
|
3847
3755
|
};
|
|
3848
3756
|
};
|
|
3849
|
-
const
|
|
3757
|
+
const de_SavingsPlansUtilizationAggregates = (output, context) => {
|
|
3850
3758
|
return {
|
|
3851
3759
|
AmortizedCommitment: output.AmortizedCommitment != null
|
|
3852
|
-
?
|
|
3853
|
-
: undefined,
|
|
3854
|
-
Savings: output.Savings != null ? deserializeAws_json1_1SavingsPlansSavings(output.Savings, context) : undefined,
|
|
3855
|
-
Utilization: output.Utilization != null
|
|
3856
|
-
? deserializeAws_json1_1SavingsPlansUtilization(output.Utilization, context)
|
|
3760
|
+
? de_SavingsPlansAmortizedCommitment(output.AmortizedCommitment, context)
|
|
3857
3761
|
: undefined,
|
|
3762
|
+
Savings: output.Savings != null ? de_SavingsPlansSavings(output.Savings, context) : undefined,
|
|
3763
|
+
Utilization: output.Utilization != null ? de_SavingsPlansUtilization(output.Utilization, context) : undefined,
|
|
3858
3764
|
};
|
|
3859
3765
|
};
|
|
3860
|
-
const
|
|
3766
|
+
const de_SavingsPlansUtilizationByTime = (output, context) => {
|
|
3861
3767
|
return {
|
|
3862
3768
|
AmortizedCommitment: output.AmortizedCommitment != null
|
|
3863
|
-
?
|
|
3864
|
-
: undefined,
|
|
3865
|
-
Savings: output.Savings != null ? deserializeAws_json1_1SavingsPlansSavings(output.Savings, context) : undefined,
|
|
3866
|
-
TimePeriod: output.TimePeriod != null ? deserializeAws_json1_1DateInterval(output.TimePeriod, context) : undefined,
|
|
3867
|
-
Utilization: output.Utilization != null
|
|
3868
|
-
? deserializeAws_json1_1SavingsPlansUtilization(output.Utilization, context)
|
|
3769
|
+
? de_SavingsPlansAmortizedCommitment(output.AmortizedCommitment, context)
|
|
3869
3770
|
: undefined,
|
|
3771
|
+
Savings: output.Savings != null ? de_SavingsPlansSavings(output.Savings, context) : undefined,
|
|
3772
|
+
TimePeriod: output.TimePeriod != null ? de_DateInterval(output.TimePeriod, context) : undefined,
|
|
3773
|
+
Utilization: output.Utilization != null ? de_SavingsPlansUtilization(output.Utilization, context) : undefined,
|
|
3870
3774
|
};
|
|
3871
3775
|
};
|
|
3872
|
-
const
|
|
3776
|
+
const de_SavingsPlansUtilizationDetail = (output, context) => {
|
|
3873
3777
|
return {
|
|
3874
3778
|
AmortizedCommitment: output.AmortizedCommitment != null
|
|
3875
|
-
?
|
|
3779
|
+
? de_SavingsPlansAmortizedCommitment(output.AmortizedCommitment, context)
|
|
3876
3780
|
: undefined,
|
|
3877
|
-
Attributes: output.Attributes != null ?
|
|
3878
|
-
Savings: output.Savings != null ?
|
|
3781
|
+
Attributes: output.Attributes != null ? de_Attributes(output.Attributes, context) : undefined,
|
|
3782
|
+
Savings: output.Savings != null ? de_SavingsPlansSavings(output.Savings, context) : undefined,
|
|
3879
3783
|
SavingsPlanArn: __expectString(output.SavingsPlanArn),
|
|
3880
|
-
Utilization: output.Utilization != null
|
|
3881
|
-
? deserializeAws_json1_1SavingsPlansUtilization(output.Utilization, context)
|
|
3882
|
-
: undefined,
|
|
3784
|
+
Utilization: output.Utilization != null ? de_SavingsPlansUtilization(output.Utilization, context) : undefined,
|
|
3883
3785
|
};
|
|
3884
3786
|
};
|
|
3885
|
-
const
|
|
3787
|
+
const de_SavingsPlansUtilizationDetails = (output, context) => {
|
|
3886
3788
|
const retVal = (output || [])
|
|
3887
3789
|
.filter((e) => e != null)
|
|
3888
3790
|
.map((entry) => {
|
|
3889
3791
|
if (entry === null) {
|
|
3890
3792
|
return null;
|
|
3891
3793
|
}
|
|
3892
|
-
return
|
|
3794
|
+
return de_SavingsPlansUtilizationDetail(entry, context);
|
|
3893
3795
|
});
|
|
3894
3796
|
return retVal;
|
|
3895
3797
|
};
|
|
3896
|
-
const
|
|
3798
|
+
const de_SavingsPlansUtilizationsByTime = (output, context) => {
|
|
3897
3799
|
const retVal = (output || [])
|
|
3898
3800
|
.filter((e) => e != null)
|
|
3899
3801
|
.map((entry) => {
|
|
3900
3802
|
if (entry === null) {
|
|
3901
3803
|
return null;
|
|
3902
3804
|
}
|
|
3903
|
-
return
|
|
3805
|
+
return de_SavingsPlansUtilizationByTime(entry, context);
|
|
3904
3806
|
});
|
|
3905
3807
|
return retVal;
|
|
3906
3808
|
};
|
|
3907
|
-
const
|
|
3809
|
+
const de_ServiceQuotaExceededException = (output, context) => {
|
|
3908
3810
|
return {
|
|
3909
3811
|
Message: __expectString(output.Message),
|
|
3910
3812
|
};
|
|
3911
3813
|
};
|
|
3912
|
-
const
|
|
3814
|
+
const de_ServiceSpecification = (output, context) => {
|
|
3913
3815
|
return {
|
|
3914
|
-
EC2Specification: output.EC2Specification != null
|
|
3915
|
-
? deserializeAws_json1_1EC2Specification(output.EC2Specification, context)
|
|
3916
|
-
: undefined,
|
|
3816
|
+
EC2Specification: output.EC2Specification != null ? de_EC2Specification(output.EC2Specification, context) : undefined,
|
|
3917
3817
|
};
|
|
3918
3818
|
};
|
|
3919
|
-
const
|
|
3819
|
+
const de_StartSavingsPlansPurchaseRecommendationGenerationResponse = (output, context) => {
|
|
3920
3820
|
return {
|
|
3921
3821
|
EstimatedCompletionTime: __expectString(output.EstimatedCompletionTime),
|
|
3922
3822
|
GenerationStartedTime: __expectString(output.GenerationStartedTime),
|
|
3923
3823
|
RecommendationId: __expectString(output.RecommendationId),
|
|
3924
3824
|
};
|
|
3925
3825
|
};
|
|
3926
|
-
const
|
|
3826
|
+
const de_Subscriber = (output, context) => {
|
|
3927
3827
|
return {
|
|
3928
3828
|
Address: __expectString(output.Address),
|
|
3929
3829
|
Status: __expectString(output.Status),
|
|
3930
3830
|
Type: __expectString(output.Type),
|
|
3931
3831
|
};
|
|
3932
3832
|
};
|
|
3933
|
-
const
|
|
3833
|
+
const de_Subscribers = (output, context) => {
|
|
3934
3834
|
const retVal = (output || [])
|
|
3935
3835
|
.filter((e) => e != null)
|
|
3936
3836
|
.map((entry) => {
|
|
3937
3837
|
if (entry === null) {
|
|
3938
3838
|
return null;
|
|
3939
3839
|
}
|
|
3940
|
-
return
|
|
3840
|
+
return de_Subscriber(entry, context);
|
|
3941
3841
|
});
|
|
3942
3842
|
return retVal;
|
|
3943
3843
|
};
|
|
3944
|
-
const
|
|
3844
|
+
const de_TagList = (output, context) => {
|
|
3945
3845
|
const retVal = (output || [])
|
|
3946
3846
|
.filter((e) => e != null)
|
|
3947
3847
|
.map((entry) => {
|
|
@@ -3952,145 +3852,139 @@ const deserializeAws_json1_1TagList = (output, context) => {
|
|
|
3952
3852
|
});
|
|
3953
3853
|
return retVal;
|
|
3954
3854
|
};
|
|
3955
|
-
const
|
|
3855
|
+
const de_TagResourceResponse = (output, context) => {
|
|
3956
3856
|
return {};
|
|
3957
3857
|
};
|
|
3958
|
-
const
|
|
3858
|
+
const de_TagValues = (output, context) => {
|
|
3959
3859
|
return {
|
|
3960
3860
|
Key: __expectString(output.Key),
|
|
3961
|
-
MatchOptions: output.MatchOptions != null ?
|
|
3962
|
-
Values: output.Values != null ?
|
|
3861
|
+
MatchOptions: output.MatchOptions != null ? de_MatchOptions(output.MatchOptions, context) : undefined,
|
|
3862
|
+
Values: output.Values != null ? de_Values(output.Values, context) : undefined,
|
|
3963
3863
|
};
|
|
3964
3864
|
};
|
|
3965
|
-
const
|
|
3865
|
+
const de_TagValuesList = (output, context) => {
|
|
3966
3866
|
const retVal = (output || [])
|
|
3967
3867
|
.filter((e) => e != null)
|
|
3968
3868
|
.map((entry) => {
|
|
3969
3869
|
if (entry === null) {
|
|
3970
3870
|
return null;
|
|
3971
3871
|
}
|
|
3972
|
-
return
|
|
3872
|
+
return de_TagValues(entry, context);
|
|
3973
3873
|
});
|
|
3974
3874
|
return retVal;
|
|
3975
3875
|
};
|
|
3976
|
-
const
|
|
3876
|
+
const de_TargetInstance = (output, context) => {
|
|
3977
3877
|
return {
|
|
3978
3878
|
CurrencyCode: __expectString(output.CurrencyCode),
|
|
3979
3879
|
DefaultTargetInstance: __expectBoolean(output.DefaultTargetInstance),
|
|
3980
3880
|
EstimatedMonthlyCost: __expectString(output.EstimatedMonthlyCost),
|
|
3981
3881
|
EstimatedMonthlySavings: __expectString(output.EstimatedMonthlySavings),
|
|
3982
3882
|
ExpectedResourceUtilization: output.ExpectedResourceUtilization != null
|
|
3983
|
-
?
|
|
3984
|
-
: undefined,
|
|
3985
|
-
PlatformDifferences: output.PlatformDifferences != null
|
|
3986
|
-
? deserializeAws_json1_1PlatformDifferences(output.PlatformDifferences, context)
|
|
3987
|
-
: undefined,
|
|
3988
|
-
ResourceDetails: output.ResourceDetails != null
|
|
3989
|
-
? deserializeAws_json1_1ResourceDetails(output.ResourceDetails, context)
|
|
3883
|
+
? de_ResourceUtilization(output.ExpectedResourceUtilization, context)
|
|
3990
3884
|
: undefined,
|
|
3885
|
+
PlatformDifferences: output.PlatformDifferences != null ? de_PlatformDifferences(output.PlatformDifferences, context) : undefined,
|
|
3886
|
+
ResourceDetails: output.ResourceDetails != null ? de_ResourceDetails(output.ResourceDetails, context) : undefined,
|
|
3991
3887
|
};
|
|
3992
3888
|
};
|
|
3993
|
-
const
|
|
3889
|
+
const de_TargetInstancesList = (output, context) => {
|
|
3994
3890
|
const retVal = (output || [])
|
|
3995
3891
|
.filter((e) => e != null)
|
|
3996
3892
|
.map((entry) => {
|
|
3997
3893
|
if (entry === null) {
|
|
3998
3894
|
return null;
|
|
3999
3895
|
}
|
|
4000
|
-
return
|
|
3896
|
+
return de_TargetInstance(entry, context);
|
|
4001
3897
|
});
|
|
4002
3898
|
return retVal;
|
|
4003
3899
|
};
|
|
4004
|
-
const
|
|
3900
|
+
const de_TerminateRecommendationDetail = (output, context) => {
|
|
4005
3901
|
return {
|
|
4006
3902
|
CurrencyCode: __expectString(output.CurrencyCode),
|
|
4007
3903
|
EstimatedMonthlySavings: __expectString(output.EstimatedMonthlySavings),
|
|
4008
3904
|
};
|
|
4009
3905
|
};
|
|
4010
|
-
const
|
|
3906
|
+
const de_TooManyTagsException = (output, context) => {
|
|
4011
3907
|
return {
|
|
4012
3908
|
Message: __expectString(output.Message),
|
|
4013
3909
|
ResourceName: __expectString(output.ResourceName),
|
|
4014
3910
|
};
|
|
4015
3911
|
};
|
|
4016
|
-
const
|
|
3912
|
+
const de_UnknownMonitorException = (output, context) => {
|
|
4017
3913
|
return {
|
|
4018
3914
|
Message: __expectString(output.Message),
|
|
4019
3915
|
};
|
|
4020
3916
|
};
|
|
4021
|
-
const
|
|
3917
|
+
const de_UnknownSubscriptionException = (output, context) => {
|
|
4022
3918
|
return {
|
|
4023
3919
|
Message: __expectString(output.Message),
|
|
4024
3920
|
};
|
|
4025
3921
|
};
|
|
4026
|
-
const
|
|
3922
|
+
const de_UnresolvableUsageUnitException = (output, context) => {
|
|
4027
3923
|
return {
|
|
4028
3924
|
Message: __expectString(output.Message),
|
|
4029
3925
|
};
|
|
4030
3926
|
};
|
|
4031
|
-
const
|
|
3927
|
+
const de_UntagResourceResponse = (output, context) => {
|
|
4032
3928
|
return {};
|
|
4033
3929
|
};
|
|
4034
|
-
const
|
|
3930
|
+
const de_UpdateAnomalyMonitorResponse = (output, context) => {
|
|
4035
3931
|
return {
|
|
4036
3932
|
MonitorArn: __expectString(output.MonitorArn),
|
|
4037
3933
|
};
|
|
4038
3934
|
};
|
|
4039
|
-
const
|
|
3935
|
+
const de_UpdateAnomalySubscriptionResponse = (output, context) => {
|
|
4040
3936
|
return {
|
|
4041
3937
|
SubscriptionArn: __expectString(output.SubscriptionArn),
|
|
4042
3938
|
};
|
|
4043
3939
|
};
|
|
4044
|
-
const
|
|
3940
|
+
const de_UpdateCostAllocationTagsStatusError = (output, context) => {
|
|
4045
3941
|
return {
|
|
4046
3942
|
Code: __expectString(output.Code),
|
|
4047
3943
|
Message: __expectString(output.Message),
|
|
4048
3944
|
TagKey: __expectString(output.TagKey),
|
|
4049
3945
|
};
|
|
4050
3946
|
};
|
|
4051
|
-
const
|
|
3947
|
+
const de_UpdateCostAllocationTagsStatusErrors = (output, context) => {
|
|
4052
3948
|
const retVal = (output || [])
|
|
4053
3949
|
.filter((e) => e != null)
|
|
4054
3950
|
.map((entry) => {
|
|
4055
3951
|
if (entry === null) {
|
|
4056
3952
|
return null;
|
|
4057
3953
|
}
|
|
4058
|
-
return
|
|
3954
|
+
return de_UpdateCostAllocationTagsStatusError(entry, context);
|
|
4059
3955
|
});
|
|
4060
3956
|
return retVal;
|
|
4061
3957
|
};
|
|
4062
|
-
const
|
|
3958
|
+
const de_UpdateCostAllocationTagsStatusResponse = (output, context) => {
|
|
4063
3959
|
return {
|
|
4064
|
-
Errors: output.Errors != null
|
|
4065
|
-
? deserializeAws_json1_1UpdateCostAllocationTagsStatusErrors(output.Errors, context)
|
|
4066
|
-
: undefined,
|
|
3960
|
+
Errors: output.Errors != null ? de_UpdateCostAllocationTagsStatusErrors(output.Errors, context) : undefined,
|
|
4067
3961
|
};
|
|
4068
3962
|
};
|
|
4069
|
-
const
|
|
3963
|
+
const de_UpdateCostCategoryDefinitionResponse = (output, context) => {
|
|
4070
3964
|
return {
|
|
4071
3965
|
CostCategoryArn: __expectString(output.CostCategoryArn),
|
|
4072
3966
|
EffectiveStart: __expectString(output.EffectiveStart),
|
|
4073
3967
|
};
|
|
4074
3968
|
};
|
|
4075
|
-
const
|
|
3969
|
+
const de_UtilizationByTime = (output, context) => {
|
|
4076
3970
|
return {
|
|
4077
|
-
Groups: output.Groups != null ?
|
|
4078
|
-
TimePeriod: output.TimePeriod != null ?
|
|
4079
|
-
Total: output.Total != null ?
|
|
3971
|
+
Groups: output.Groups != null ? de_ReservationUtilizationGroups(output.Groups, context) : undefined,
|
|
3972
|
+
TimePeriod: output.TimePeriod != null ? de_DateInterval(output.TimePeriod, context) : undefined,
|
|
3973
|
+
Total: output.Total != null ? de_ReservationAggregates(output.Total, context) : undefined,
|
|
4080
3974
|
};
|
|
4081
3975
|
};
|
|
4082
|
-
const
|
|
3976
|
+
const de_UtilizationsByTime = (output, context) => {
|
|
4083
3977
|
const retVal = (output || [])
|
|
4084
3978
|
.filter((e) => e != null)
|
|
4085
3979
|
.map((entry) => {
|
|
4086
3980
|
if (entry === null) {
|
|
4087
3981
|
return null;
|
|
4088
3982
|
}
|
|
4089
|
-
return
|
|
3983
|
+
return de_UtilizationByTime(entry, context);
|
|
4090
3984
|
});
|
|
4091
3985
|
return retVal;
|
|
4092
3986
|
};
|
|
4093
|
-
const
|
|
3987
|
+
const de_Values = (output, context) => {
|
|
4094
3988
|
const retVal = (output || [])
|
|
4095
3989
|
.filter((e) => e != null)
|
|
4096
3990
|
.map((entry) => {
|