@aws-sdk/client-cloudwatch-logs 3.306.0 → 3.310.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/AssociateKmsKeyCommand.js +2 -2
- package/dist-cjs/commands/CancelExportTaskCommand.js +2 -2
- package/dist-cjs/commands/CreateExportTaskCommand.js +2 -2
- package/dist-cjs/commands/CreateLogGroupCommand.js +2 -2
- package/dist-cjs/commands/CreateLogStreamCommand.js +2 -2
- package/dist-cjs/commands/DeleteDataProtectionPolicyCommand.js +2 -2
- package/dist-cjs/commands/DeleteDestinationCommand.js +2 -2
- package/dist-cjs/commands/DeleteLogGroupCommand.js +2 -2
- package/dist-cjs/commands/DeleteLogStreamCommand.js +2 -2
- package/dist-cjs/commands/DeleteMetricFilterCommand.js +2 -2
- package/dist-cjs/commands/DeleteQueryDefinitionCommand.js +2 -2
- package/dist-cjs/commands/DeleteResourcePolicyCommand.js +2 -2
- package/dist-cjs/commands/DeleteRetentionPolicyCommand.js +2 -2
- package/dist-cjs/commands/DeleteSubscriptionFilterCommand.js +2 -2
- package/dist-cjs/commands/DescribeDestinationsCommand.js +2 -2
- package/dist-cjs/commands/DescribeExportTasksCommand.js +2 -2
- package/dist-cjs/commands/DescribeLogGroupsCommand.js +2 -2
- package/dist-cjs/commands/DescribeLogStreamsCommand.js +2 -2
- package/dist-cjs/commands/DescribeMetricFiltersCommand.js +2 -2
- package/dist-cjs/commands/DescribeQueriesCommand.js +2 -2
- package/dist-cjs/commands/DescribeQueryDefinitionsCommand.js +2 -2
- package/dist-cjs/commands/DescribeResourcePoliciesCommand.js +2 -2
- package/dist-cjs/commands/DescribeSubscriptionFiltersCommand.js +2 -2
- package/dist-cjs/commands/DisassociateKmsKeyCommand.js +2 -2
- package/dist-cjs/commands/FilterLogEventsCommand.js +2 -2
- package/dist-cjs/commands/GetDataProtectionPolicyCommand.js +2 -2
- package/dist-cjs/commands/GetLogEventsCommand.js +2 -2
- package/dist-cjs/commands/GetLogGroupFieldsCommand.js +2 -2
- package/dist-cjs/commands/GetLogRecordCommand.js +2 -2
- package/dist-cjs/commands/GetQueryResultsCommand.js +2 -2
- package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-cjs/commands/ListTagsLogGroupCommand.js +2 -2
- package/dist-cjs/commands/PutDataProtectionPolicyCommand.js +2 -2
- package/dist-cjs/commands/PutDestinationCommand.js +2 -2
- package/dist-cjs/commands/PutDestinationPolicyCommand.js +2 -2
- package/dist-cjs/commands/PutLogEventsCommand.js +2 -2
- package/dist-cjs/commands/PutMetricFilterCommand.js +2 -2
- package/dist-cjs/commands/PutQueryDefinitionCommand.js +2 -2
- package/dist-cjs/commands/PutResourcePolicyCommand.js +2 -2
- package/dist-cjs/commands/PutRetentionPolicyCommand.js +2 -2
- package/dist-cjs/commands/PutSubscriptionFilterCommand.js +2 -2
- package/dist-cjs/commands/StartQueryCommand.js +2 -2
- package/dist-cjs/commands/StopQueryCommand.js +2 -2
- package/dist-cjs/commands/TagLogGroupCommand.js +2 -2
- package/dist-cjs/commands/TagResourceCommand.js +2 -2
- package/dist-cjs/commands/TestMetricFilterCommand.js +2 -2
- package/dist-cjs/commands/UntagLogGroupCommand.js +2 -2
- package/dist-cjs/commands/UntagResourceCommand.js +2 -2
- package/dist-cjs/protocols/Aws_json1_1.js +764 -790
- package/dist-es/commands/AssociateKmsKeyCommand.js +3 -3
- package/dist-es/commands/CancelExportTaskCommand.js +3 -3
- package/dist-es/commands/CreateExportTaskCommand.js +3 -3
- package/dist-es/commands/CreateLogGroupCommand.js +3 -3
- package/dist-es/commands/CreateLogStreamCommand.js +3 -3
- package/dist-es/commands/DeleteDataProtectionPolicyCommand.js +3 -3
- package/dist-es/commands/DeleteDestinationCommand.js +3 -3
- package/dist-es/commands/DeleteLogGroupCommand.js +3 -3
- package/dist-es/commands/DeleteLogStreamCommand.js +3 -3
- package/dist-es/commands/DeleteMetricFilterCommand.js +3 -3
- package/dist-es/commands/DeleteQueryDefinitionCommand.js +3 -3
- package/dist-es/commands/DeleteResourcePolicyCommand.js +3 -3
- package/dist-es/commands/DeleteRetentionPolicyCommand.js +3 -3
- package/dist-es/commands/DeleteSubscriptionFilterCommand.js +3 -3
- package/dist-es/commands/DescribeDestinationsCommand.js +3 -3
- package/dist-es/commands/DescribeExportTasksCommand.js +3 -3
- package/dist-es/commands/DescribeLogGroupsCommand.js +3 -3
- package/dist-es/commands/DescribeLogStreamsCommand.js +3 -3
- package/dist-es/commands/DescribeMetricFiltersCommand.js +3 -3
- package/dist-es/commands/DescribeQueriesCommand.js +3 -3
- package/dist-es/commands/DescribeQueryDefinitionsCommand.js +3 -3
- package/dist-es/commands/DescribeResourcePoliciesCommand.js +3 -3
- package/dist-es/commands/DescribeSubscriptionFiltersCommand.js +3 -3
- package/dist-es/commands/DisassociateKmsKeyCommand.js +3 -3
- package/dist-es/commands/FilterLogEventsCommand.js +3 -3
- package/dist-es/commands/GetDataProtectionPolicyCommand.js +3 -3
- package/dist-es/commands/GetLogEventsCommand.js +3 -3
- package/dist-es/commands/GetLogGroupFieldsCommand.js +3 -3
- package/dist-es/commands/GetLogRecordCommand.js +3 -3
- package/dist-es/commands/GetQueryResultsCommand.js +3 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-es/commands/ListTagsLogGroupCommand.js +3 -3
- package/dist-es/commands/PutDataProtectionPolicyCommand.js +3 -3
- package/dist-es/commands/PutDestinationCommand.js +3 -3
- package/dist-es/commands/PutDestinationPolicyCommand.js +3 -3
- package/dist-es/commands/PutLogEventsCommand.js +3 -3
- package/dist-es/commands/PutMetricFilterCommand.js +3 -3
- package/dist-es/commands/PutQueryDefinitionCommand.js +3 -3
- package/dist-es/commands/PutResourcePolicyCommand.js +3 -3
- package/dist-es/commands/PutRetentionPolicyCommand.js +3 -3
- package/dist-es/commands/PutSubscriptionFilterCommand.js +3 -3
- package/dist-es/commands/StartQueryCommand.js +3 -3
- package/dist-es/commands/StopQueryCommand.js +3 -3
- package/dist-es/commands/TagLogGroupCommand.js +3 -3
- package/dist-es/commands/TagResourceCommand.js +3 -3
- package/dist-es/commands/TestMetricFilterCommand.js +3 -3
- package/dist-es/commands/UntagLogGroupCommand.js +3 -3
- package/dist-es/commands/UntagResourceCommand.js +3 -3
- package/dist-es/protocols/Aws_json1_1.js +666 -692
- package/dist-types/protocols/Aws_json1_1.d.ts +384 -96
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +96 -96
- package/package.json +35 -35
|
@@ -2,441 +2,441 @@ import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
|
2
2
|
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectString as __expectString, limitedParseDouble as __limitedParseDouble, serializeFloat as __serializeFloat, throwDefaultError, } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { CloudWatchLogsServiceException as __BaseException } from "../models/CloudWatchLogsServiceException";
|
|
4
4
|
import { DataAlreadyAcceptedException, InvalidOperationException, InvalidParameterException, InvalidSequenceTokenException, LimitExceededException, MalformedQueryException, OperationAbortedException, ResourceAlreadyExistsException, ResourceNotFoundException, ServiceUnavailableException, TooManyTagsException, UnrecognizedClientException, } from "../models/models_0";
|
|
5
|
-
export const
|
|
5
|
+
export const se_AssociateKmsKeyCommand = async (input, context) => {
|
|
6
6
|
const headers = {
|
|
7
7
|
"content-type": "application/x-amz-json-1.1",
|
|
8
8
|
"x-amz-target": "Logs_20140328.AssociateKmsKey",
|
|
9
9
|
};
|
|
10
10
|
let body;
|
|
11
|
-
body = JSON.stringify(
|
|
11
|
+
body = JSON.stringify(se_AssociateKmsKeyRequest(input, context));
|
|
12
12
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
13
13
|
};
|
|
14
|
-
export const
|
|
14
|
+
export const se_CancelExportTaskCommand = async (input, context) => {
|
|
15
15
|
const headers = {
|
|
16
16
|
"content-type": "application/x-amz-json-1.1",
|
|
17
17
|
"x-amz-target": "Logs_20140328.CancelExportTask",
|
|
18
18
|
};
|
|
19
19
|
let body;
|
|
20
|
-
body = JSON.stringify(
|
|
20
|
+
body = JSON.stringify(se_CancelExportTaskRequest(input, context));
|
|
21
21
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
22
22
|
};
|
|
23
|
-
export const
|
|
23
|
+
export const se_CreateExportTaskCommand = async (input, context) => {
|
|
24
24
|
const headers = {
|
|
25
25
|
"content-type": "application/x-amz-json-1.1",
|
|
26
26
|
"x-amz-target": "Logs_20140328.CreateExportTask",
|
|
27
27
|
};
|
|
28
28
|
let body;
|
|
29
|
-
body = JSON.stringify(
|
|
29
|
+
body = JSON.stringify(se_CreateExportTaskRequest(input, context));
|
|
30
30
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
31
31
|
};
|
|
32
|
-
export const
|
|
32
|
+
export const se_CreateLogGroupCommand = async (input, context) => {
|
|
33
33
|
const headers = {
|
|
34
34
|
"content-type": "application/x-amz-json-1.1",
|
|
35
35
|
"x-amz-target": "Logs_20140328.CreateLogGroup",
|
|
36
36
|
};
|
|
37
37
|
let body;
|
|
38
|
-
body = JSON.stringify(
|
|
38
|
+
body = JSON.stringify(se_CreateLogGroupRequest(input, context));
|
|
39
39
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
40
40
|
};
|
|
41
|
-
export const
|
|
41
|
+
export const se_CreateLogStreamCommand = async (input, context) => {
|
|
42
42
|
const headers = {
|
|
43
43
|
"content-type": "application/x-amz-json-1.1",
|
|
44
44
|
"x-amz-target": "Logs_20140328.CreateLogStream",
|
|
45
45
|
};
|
|
46
46
|
let body;
|
|
47
|
-
body = JSON.stringify(
|
|
47
|
+
body = JSON.stringify(se_CreateLogStreamRequest(input, context));
|
|
48
48
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
49
49
|
};
|
|
50
|
-
export const
|
|
50
|
+
export const se_DeleteDataProtectionPolicyCommand = async (input, context) => {
|
|
51
51
|
const headers = {
|
|
52
52
|
"content-type": "application/x-amz-json-1.1",
|
|
53
53
|
"x-amz-target": "Logs_20140328.DeleteDataProtectionPolicy",
|
|
54
54
|
};
|
|
55
55
|
let body;
|
|
56
|
-
body = JSON.stringify(
|
|
56
|
+
body = JSON.stringify(se_DeleteDataProtectionPolicyRequest(input, context));
|
|
57
57
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
58
58
|
};
|
|
59
|
-
export const
|
|
59
|
+
export const se_DeleteDestinationCommand = async (input, context) => {
|
|
60
60
|
const headers = {
|
|
61
61
|
"content-type": "application/x-amz-json-1.1",
|
|
62
62
|
"x-amz-target": "Logs_20140328.DeleteDestination",
|
|
63
63
|
};
|
|
64
64
|
let body;
|
|
65
|
-
body = JSON.stringify(
|
|
65
|
+
body = JSON.stringify(se_DeleteDestinationRequest(input, context));
|
|
66
66
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
67
67
|
};
|
|
68
|
-
export const
|
|
68
|
+
export const se_DeleteLogGroupCommand = async (input, context) => {
|
|
69
69
|
const headers = {
|
|
70
70
|
"content-type": "application/x-amz-json-1.1",
|
|
71
71
|
"x-amz-target": "Logs_20140328.DeleteLogGroup",
|
|
72
72
|
};
|
|
73
73
|
let body;
|
|
74
|
-
body = JSON.stringify(
|
|
74
|
+
body = JSON.stringify(se_DeleteLogGroupRequest(input, context));
|
|
75
75
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
76
76
|
};
|
|
77
|
-
export const
|
|
77
|
+
export const se_DeleteLogStreamCommand = async (input, context) => {
|
|
78
78
|
const headers = {
|
|
79
79
|
"content-type": "application/x-amz-json-1.1",
|
|
80
80
|
"x-amz-target": "Logs_20140328.DeleteLogStream",
|
|
81
81
|
};
|
|
82
82
|
let body;
|
|
83
|
-
body = JSON.stringify(
|
|
83
|
+
body = JSON.stringify(se_DeleteLogStreamRequest(input, context));
|
|
84
84
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
85
85
|
};
|
|
86
|
-
export const
|
|
86
|
+
export const se_DeleteMetricFilterCommand = async (input, context) => {
|
|
87
87
|
const headers = {
|
|
88
88
|
"content-type": "application/x-amz-json-1.1",
|
|
89
89
|
"x-amz-target": "Logs_20140328.DeleteMetricFilter",
|
|
90
90
|
};
|
|
91
91
|
let body;
|
|
92
|
-
body = JSON.stringify(
|
|
92
|
+
body = JSON.stringify(se_DeleteMetricFilterRequest(input, context));
|
|
93
93
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
94
94
|
};
|
|
95
|
-
export const
|
|
95
|
+
export const se_DeleteQueryDefinitionCommand = async (input, context) => {
|
|
96
96
|
const headers = {
|
|
97
97
|
"content-type": "application/x-amz-json-1.1",
|
|
98
98
|
"x-amz-target": "Logs_20140328.DeleteQueryDefinition",
|
|
99
99
|
};
|
|
100
100
|
let body;
|
|
101
|
-
body = JSON.stringify(
|
|
101
|
+
body = JSON.stringify(se_DeleteQueryDefinitionRequest(input, context));
|
|
102
102
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
103
103
|
};
|
|
104
|
-
export const
|
|
104
|
+
export const se_DeleteResourcePolicyCommand = async (input, context) => {
|
|
105
105
|
const headers = {
|
|
106
106
|
"content-type": "application/x-amz-json-1.1",
|
|
107
107
|
"x-amz-target": "Logs_20140328.DeleteResourcePolicy",
|
|
108
108
|
};
|
|
109
109
|
let body;
|
|
110
|
-
body = JSON.stringify(
|
|
110
|
+
body = JSON.stringify(se_DeleteResourcePolicyRequest(input, context));
|
|
111
111
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
112
112
|
};
|
|
113
|
-
export const
|
|
113
|
+
export const se_DeleteRetentionPolicyCommand = async (input, context) => {
|
|
114
114
|
const headers = {
|
|
115
115
|
"content-type": "application/x-amz-json-1.1",
|
|
116
116
|
"x-amz-target": "Logs_20140328.DeleteRetentionPolicy",
|
|
117
117
|
};
|
|
118
118
|
let body;
|
|
119
|
-
body = JSON.stringify(
|
|
119
|
+
body = JSON.stringify(se_DeleteRetentionPolicyRequest(input, context));
|
|
120
120
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
121
121
|
};
|
|
122
|
-
export const
|
|
122
|
+
export const se_DeleteSubscriptionFilterCommand = async (input, context) => {
|
|
123
123
|
const headers = {
|
|
124
124
|
"content-type": "application/x-amz-json-1.1",
|
|
125
125
|
"x-amz-target": "Logs_20140328.DeleteSubscriptionFilter",
|
|
126
126
|
};
|
|
127
127
|
let body;
|
|
128
|
-
body = JSON.stringify(
|
|
128
|
+
body = JSON.stringify(se_DeleteSubscriptionFilterRequest(input, context));
|
|
129
129
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
130
130
|
};
|
|
131
|
-
export const
|
|
131
|
+
export const se_DescribeDestinationsCommand = async (input, context) => {
|
|
132
132
|
const headers = {
|
|
133
133
|
"content-type": "application/x-amz-json-1.1",
|
|
134
134
|
"x-amz-target": "Logs_20140328.DescribeDestinations",
|
|
135
135
|
};
|
|
136
136
|
let body;
|
|
137
|
-
body = JSON.stringify(
|
|
137
|
+
body = JSON.stringify(se_DescribeDestinationsRequest(input, context));
|
|
138
138
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
139
139
|
};
|
|
140
|
-
export const
|
|
140
|
+
export const se_DescribeExportTasksCommand = async (input, context) => {
|
|
141
141
|
const headers = {
|
|
142
142
|
"content-type": "application/x-amz-json-1.1",
|
|
143
143
|
"x-amz-target": "Logs_20140328.DescribeExportTasks",
|
|
144
144
|
};
|
|
145
145
|
let body;
|
|
146
|
-
body = JSON.stringify(
|
|
146
|
+
body = JSON.stringify(se_DescribeExportTasksRequest(input, context));
|
|
147
147
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
148
148
|
};
|
|
149
|
-
export const
|
|
149
|
+
export const se_DescribeLogGroupsCommand = async (input, context) => {
|
|
150
150
|
const headers = {
|
|
151
151
|
"content-type": "application/x-amz-json-1.1",
|
|
152
152
|
"x-amz-target": "Logs_20140328.DescribeLogGroups",
|
|
153
153
|
};
|
|
154
154
|
let body;
|
|
155
|
-
body = JSON.stringify(
|
|
155
|
+
body = JSON.stringify(se_DescribeLogGroupsRequest(input, context));
|
|
156
156
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
157
157
|
};
|
|
158
|
-
export const
|
|
158
|
+
export const se_DescribeLogStreamsCommand = async (input, context) => {
|
|
159
159
|
const headers = {
|
|
160
160
|
"content-type": "application/x-amz-json-1.1",
|
|
161
161
|
"x-amz-target": "Logs_20140328.DescribeLogStreams",
|
|
162
162
|
};
|
|
163
163
|
let body;
|
|
164
|
-
body = JSON.stringify(
|
|
164
|
+
body = JSON.stringify(se_DescribeLogStreamsRequest(input, context));
|
|
165
165
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
166
166
|
};
|
|
167
|
-
export const
|
|
167
|
+
export const se_DescribeMetricFiltersCommand = async (input, context) => {
|
|
168
168
|
const headers = {
|
|
169
169
|
"content-type": "application/x-amz-json-1.1",
|
|
170
170
|
"x-amz-target": "Logs_20140328.DescribeMetricFilters",
|
|
171
171
|
};
|
|
172
172
|
let body;
|
|
173
|
-
body = JSON.stringify(
|
|
173
|
+
body = JSON.stringify(se_DescribeMetricFiltersRequest(input, context));
|
|
174
174
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
175
175
|
};
|
|
176
|
-
export const
|
|
176
|
+
export const se_DescribeQueriesCommand = async (input, context) => {
|
|
177
177
|
const headers = {
|
|
178
178
|
"content-type": "application/x-amz-json-1.1",
|
|
179
179
|
"x-amz-target": "Logs_20140328.DescribeQueries",
|
|
180
180
|
};
|
|
181
181
|
let body;
|
|
182
|
-
body = JSON.stringify(
|
|
182
|
+
body = JSON.stringify(se_DescribeQueriesRequest(input, context));
|
|
183
183
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
184
184
|
};
|
|
185
|
-
export const
|
|
185
|
+
export const se_DescribeQueryDefinitionsCommand = async (input, context) => {
|
|
186
186
|
const headers = {
|
|
187
187
|
"content-type": "application/x-amz-json-1.1",
|
|
188
188
|
"x-amz-target": "Logs_20140328.DescribeQueryDefinitions",
|
|
189
189
|
};
|
|
190
190
|
let body;
|
|
191
|
-
body = JSON.stringify(
|
|
191
|
+
body = JSON.stringify(se_DescribeQueryDefinitionsRequest(input, context));
|
|
192
192
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
193
193
|
};
|
|
194
|
-
export const
|
|
194
|
+
export const se_DescribeResourcePoliciesCommand = async (input, context) => {
|
|
195
195
|
const headers = {
|
|
196
196
|
"content-type": "application/x-amz-json-1.1",
|
|
197
197
|
"x-amz-target": "Logs_20140328.DescribeResourcePolicies",
|
|
198
198
|
};
|
|
199
199
|
let body;
|
|
200
|
-
body = JSON.stringify(
|
|
200
|
+
body = JSON.stringify(se_DescribeResourcePoliciesRequest(input, context));
|
|
201
201
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
202
202
|
};
|
|
203
|
-
export const
|
|
203
|
+
export const se_DescribeSubscriptionFiltersCommand = async (input, context) => {
|
|
204
204
|
const headers = {
|
|
205
205
|
"content-type": "application/x-amz-json-1.1",
|
|
206
206
|
"x-amz-target": "Logs_20140328.DescribeSubscriptionFilters",
|
|
207
207
|
};
|
|
208
208
|
let body;
|
|
209
|
-
body = JSON.stringify(
|
|
209
|
+
body = JSON.stringify(se_DescribeSubscriptionFiltersRequest(input, context));
|
|
210
210
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
211
211
|
};
|
|
212
|
-
export const
|
|
212
|
+
export const se_DisassociateKmsKeyCommand = async (input, context) => {
|
|
213
213
|
const headers = {
|
|
214
214
|
"content-type": "application/x-amz-json-1.1",
|
|
215
215
|
"x-amz-target": "Logs_20140328.DisassociateKmsKey",
|
|
216
216
|
};
|
|
217
217
|
let body;
|
|
218
|
-
body = JSON.stringify(
|
|
218
|
+
body = JSON.stringify(se_DisassociateKmsKeyRequest(input, context));
|
|
219
219
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
220
220
|
};
|
|
221
|
-
export const
|
|
221
|
+
export const se_FilterLogEventsCommand = async (input, context) => {
|
|
222
222
|
const headers = {
|
|
223
223
|
"content-type": "application/x-amz-json-1.1",
|
|
224
224
|
"x-amz-target": "Logs_20140328.FilterLogEvents",
|
|
225
225
|
};
|
|
226
226
|
let body;
|
|
227
|
-
body = JSON.stringify(
|
|
227
|
+
body = JSON.stringify(se_FilterLogEventsRequest(input, context));
|
|
228
228
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
229
229
|
};
|
|
230
|
-
export const
|
|
230
|
+
export const se_GetDataProtectionPolicyCommand = async (input, context) => {
|
|
231
231
|
const headers = {
|
|
232
232
|
"content-type": "application/x-amz-json-1.1",
|
|
233
233
|
"x-amz-target": "Logs_20140328.GetDataProtectionPolicy",
|
|
234
234
|
};
|
|
235
235
|
let body;
|
|
236
|
-
body = JSON.stringify(
|
|
236
|
+
body = JSON.stringify(se_GetDataProtectionPolicyRequest(input, context));
|
|
237
237
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
238
238
|
};
|
|
239
|
-
export const
|
|
239
|
+
export const se_GetLogEventsCommand = async (input, context) => {
|
|
240
240
|
const headers = {
|
|
241
241
|
"content-type": "application/x-amz-json-1.1",
|
|
242
242
|
"x-amz-target": "Logs_20140328.GetLogEvents",
|
|
243
243
|
};
|
|
244
244
|
let body;
|
|
245
|
-
body = JSON.stringify(
|
|
245
|
+
body = JSON.stringify(se_GetLogEventsRequest(input, context));
|
|
246
246
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
247
247
|
};
|
|
248
|
-
export const
|
|
248
|
+
export const se_GetLogGroupFieldsCommand = async (input, context) => {
|
|
249
249
|
const headers = {
|
|
250
250
|
"content-type": "application/x-amz-json-1.1",
|
|
251
251
|
"x-amz-target": "Logs_20140328.GetLogGroupFields",
|
|
252
252
|
};
|
|
253
253
|
let body;
|
|
254
|
-
body = JSON.stringify(
|
|
254
|
+
body = JSON.stringify(se_GetLogGroupFieldsRequest(input, context));
|
|
255
255
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
256
256
|
};
|
|
257
|
-
export const
|
|
257
|
+
export const se_GetLogRecordCommand = async (input, context) => {
|
|
258
258
|
const headers = {
|
|
259
259
|
"content-type": "application/x-amz-json-1.1",
|
|
260
260
|
"x-amz-target": "Logs_20140328.GetLogRecord",
|
|
261
261
|
};
|
|
262
262
|
let body;
|
|
263
|
-
body = JSON.stringify(
|
|
263
|
+
body = JSON.stringify(se_GetLogRecordRequest(input, context));
|
|
264
264
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
265
265
|
};
|
|
266
|
-
export const
|
|
266
|
+
export const se_GetQueryResultsCommand = async (input, context) => {
|
|
267
267
|
const headers = {
|
|
268
268
|
"content-type": "application/x-amz-json-1.1",
|
|
269
269
|
"x-amz-target": "Logs_20140328.GetQueryResults",
|
|
270
270
|
};
|
|
271
271
|
let body;
|
|
272
|
-
body = JSON.stringify(
|
|
272
|
+
body = JSON.stringify(se_GetQueryResultsRequest(input, context));
|
|
273
273
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
274
274
|
};
|
|
275
|
-
export const
|
|
275
|
+
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
276
276
|
const headers = {
|
|
277
277
|
"content-type": "application/x-amz-json-1.1",
|
|
278
278
|
"x-amz-target": "Logs_20140328.ListTagsForResource",
|
|
279
279
|
};
|
|
280
280
|
let body;
|
|
281
|
-
body = JSON.stringify(
|
|
281
|
+
body = JSON.stringify(se_ListTagsForResourceRequest(input, context));
|
|
282
282
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
283
283
|
};
|
|
284
|
-
export const
|
|
284
|
+
export const se_ListTagsLogGroupCommand = async (input, context) => {
|
|
285
285
|
const headers = {
|
|
286
286
|
"content-type": "application/x-amz-json-1.1",
|
|
287
287
|
"x-amz-target": "Logs_20140328.ListTagsLogGroup",
|
|
288
288
|
};
|
|
289
289
|
let body;
|
|
290
|
-
body = JSON.stringify(
|
|
290
|
+
body = JSON.stringify(se_ListTagsLogGroupRequest(input, context));
|
|
291
291
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
292
292
|
};
|
|
293
|
-
export const
|
|
293
|
+
export const se_PutDataProtectionPolicyCommand = async (input, context) => {
|
|
294
294
|
const headers = {
|
|
295
295
|
"content-type": "application/x-amz-json-1.1",
|
|
296
296
|
"x-amz-target": "Logs_20140328.PutDataProtectionPolicy",
|
|
297
297
|
};
|
|
298
298
|
let body;
|
|
299
|
-
body = JSON.stringify(
|
|
299
|
+
body = JSON.stringify(se_PutDataProtectionPolicyRequest(input, context));
|
|
300
300
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
301
301
|
};
|
|
302
|
-
export const
|
|
302
|
+
export const se_PutDestinationCommand = async (input, context) => {
|
|
303
303
|
const headers = {
|
|
304
304
|
"content-type": "application/x-amz-json-1.1",
|
|
305
305
|
"x-amz-target": "Logs_20140328.PutDestination",
|
|
306
306
|
};
|
|
307
307
|
let body;
|
|
308
|
-
body = JSON.stringify(
|
|
308
|
+
body = JSON.stringify(se_PutDestinationRequest(input, context));
|
|
309
309
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
310
310
|
};
|
|
311
|
-
export const
|
|
311
|
+
export const se_PutDestinationPolicyCommand = async (input, context) => {
|
|
312
312
|
const headers = {
|
|
313
313
|
"content-type": "application/x-amz-json-1.1",
|
|
314
314
|
"x-amz-target": "Logs_20140328.PutDestinationPolicy",
|
|
315
315
|
};
|
|
316
316
|
let body;
|
|
317
|
-
body = JSON.stringify(
|
|
317
|
+
body = JSON.stringify(se_PutDestinationPolicyRequest(input, context));
|
|
318
318
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
319
319
|
};
|
|
320
|
-
export const
|
|
320
|
+
export const se_PutLogEventsCommand = async (input, context) => {
|
|
321
321
|
const headers = {
|
|
322
322
|
"content-type": "application/x-amz-json-1.1",
|
|
323
323
|
"x-amz-target": "Logs_20140328.PutLogEvents",
|
|
324
324
|
};
|
|
325
325
|
let body;
|
|
326
|
-
body = JSON.stringify(
|
|
326
|
+
body = JSON.stringify(se_PutLogEventsRequest(input, context));
|
|
327
327
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
328
328
|
};
|
|
329
|
-
export const
|
|
329
|
+
export const se_PutMetricFilterCommand = async (input, context) => {
|
|
330
330
|
const headers = {
|
|
331
331
|
"content-type": "application/x-amz-json-1.1",
|
|
332
332
|
"x-amz-target": "Logs_20140328.PutMetricFilter",
|
|
333
333
|
};
|
|
334
334
|
let body;
|
|
335
|
-
body = JSON.stringify(
|
|
335
|
+
body = JSON.stringify(se_PutMetricFilterRequest(input, context));
|
|
336
336
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
337
337
|
};
|
|
338
|
-
export const
|
|
338
|
+
export const se_PutQueryDefinitionCommand = async (input, context) => {
|
|
339
339
|
const headers = {
|
|
340
340
|
"content-type": "application/x-amz-json-1.1",
|
|
341
341
|
"x-amz-target": "Logs_20140328.PutQueryDefinition",
|
|
342
342
|
};
|
|
343
343
|
let body;
|
|
344
|
-
body = JSON.stringify(
|
|
344
|
+
body = JSON.stringify(se_PutQueryDefinitionRequest(input, context));
|
|
345
345
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
346
346
|
};
|
|
347
|
-
export const
|
|
347
|
+
export const se_PutResourcePolicyCommand = async (input, context) => {
|
|
348
348
|
const headers = {
|
|
349
349
|
"content-type": "application/x-amz-json-1.1",
|
|
350
350
|
"x-amz-target": "Logs_20140328.PutResourcePolicy",
|
|
351
351
|
};
|
|
352
352
|
let body;
|
|
353
|
-
body = JSON.stringify(
|
|
353
|
+
body = JSON.stringify(se_PutResourcePolicyRequest(input, context));
|
|
354
354
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
355
355
|
};
|
|
356
|
-
export const
|
|
356
|
+
export const se_PutRetentionPolicyCommand = async (input, context) => {
|
|
357
357
|
const headers = {
|
|
358
358
|
"content-type": "application/x-amz-json-1.1",
|
|
359
359
|
"x-amz-target": "Logs_20140328.PutRetentionPolicy",
|
|
360
360
|
};
|
|
361
361
|
let body;
|
|
362
|
-
body = JSON.stringify(
|
|
362
|
+
body = JSON.stringify(se_PutRetentionPolicyRequest(input, context));
|
|
363
363
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
364
364
|
};
|
|
365
|
-
export const
|
|
365
|
+
export const se_PutSubscriptionFilterCommand = async (input, context) => {
|
|
366
366
|
const headers = {
|
|
367
367
|
"content-type": "application/x-amz-json-1.1",
|
|
368
368
|
"x-amz-target": "Logs_20140328.PutSubscriptionFilter",
|
|
369
369
|
};
|
|
370
370
|
let body;
|
|
371
|
-
body = JSON.stringify(
|
|
371
|
+
body = JSON.stringify(se_PutSubscriptionFilterRequest(input, context));
|
|
372
372
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
373
373
|
};
|
|
374
|
-
export const
|
|
374
|
+
export const se_StartQueryCommand = async (input, context) => {
|
|
375
375
|
const headers = {
|
|
376
376
|
"content-type": "application/x-amz-json-1.1",
|
|
377
377
|
"x-amz-target": "Logs_20140328.StartQuery",
|
|
378
378
|
};
|
|
379
379
|
let body;
|
|
380
|
-
body = JSON.stringify(
|
|
380
|
+
body = JSON.stringify(se_StartQueryRequest(input, context));
|
|
381
381
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
382
382
|
};
|
|
383
|
-
export const
|
|
383
|
+
export const se_StopQueryCommand = async (input, context) => {
|
|
384
384
|
const headers = {
|
|
385
385
|
"content-type": "application/x-amz-json-1.1",
|
|
386
386
|
"x-amz-target": "Logs_20140328.StopQuery",
|
|
387
387
|
};
|
|
388
388
|
let body;
|
|
389
|
-
body = JSON.stringify(
|
|
389
|
+
body = JSON.stringify(se_StopQueryRequest(input, context));
|
|
390
390
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
391
391
|
};
|
|
392
|
-
export const
|
|
392
|
+
export const se_TagLogGroupCommand = async (input, context) => {
|
|
393
393
|
const headers = {
|
|
394
394
|
"content-type": "application/x-amz-json-1.1",
|
|
395
395
|
"x-amz-target": "Logs_20140328.TagLogGroup",
|
|
396
396
|
};
|
|
397
397
|
let body;
|
|
398
|
-
body = JSON.stringify(
|
|
398
|
+
body = JSON.stringify(se_TagLogGroupRequest(input, context));
|
|
399
399
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
400
400
|
};
|
|
401
|
-
export const
|
|
401
|
+
export const se_TagResourceCommand = async (input, context) => {
|
|
402
402
|
const headers = {
|
|
403
403
|
"content-type": "application/x-amz-json-1.1",
|
|
404
404
|
"x-amz-target": "Logs_20140328.TagResource",
|
|
405
405
|
};
|
|
406
406
|
let body;
|
|
407
|
-
body = JSON.stringify(
|
|
407
|
+
body = JSON.stringify(se_TagResourceRequest(input, context));
|
|
408
408
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
409
409
|
};
|
|
410
|
-
export const
|
|
410
|
+
export const se_TestMetricFilterCommand = async (input, context) => {
|
|
411
411
|
const headers = {
|
|
412
412
|
"content-type": "application/x-amz-json-1.1",
|
|
413
413
|
"x-amz-target": "Logs_20140328.TestMetricFilter",
|
|
414
414
|
};
|
|
415
415
|
let body;
|
|
416
|
-
body = JSON.stringify(
|
|
416
|
+
body = JSON.stringify(se_TestMetricFilterRequest(input, context));
|
|
417
417
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
418
418
|
};
|
|
419
|
-
export const
|
|
419
|
+
export const se_UntagLogGroupCommand = async (input, context) => {
|
|
420
420
|
const headers = {
|
|
421
421
|
"content-type": "application/x-amz-json-1.1",
|
|
422
422
|
"x-amz-target": "Logs_20140328.UntagLogGroup",
|
|
423
423
|
};
|
|
424
424
|
let body;
|
|
425
|
-
body = JSON.stringify(
|
|
425
|
+
body = JSON.stringify(se_UntagLogGroupRequest(input, context));
|
|
426
426
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
427
427
|
};
|
|
428
|
-
export const
|
|
428
|
+
export const se_UntagResourceCommand = async (input, context) => {
|
|
429
429
|
const headers = {
|
|
430
430
|
"content-type": "application/x-amz-json-1.1",
|
|
431
431
|
"x-amz-target": "Logs_20140328.UntagResource",
|
|
432
432
|
};
|
|
433
433
|
let body;
|
|
434
|
-
body = JSON.stringify(
|
|
434
|
+
body = JSON.stringify(se_UntagResourceRequest(input, context));
|
|
435
435
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
436
436
|
};
|
|
437
|
-
export const
|
|
437
|
+
export const de_AssociateKmsKeyCommand = async (output, context) => {
|
|
438
438
|
if (output.statusCode >= 300) {
|
|
439
|
-
return
|
|
439
|
+
return de_AssociateKmsKeyCommandError(output, context);
|
|
440
440
|
}
|
|
441
441
|
await collectBody(output.body, context);
|
|
442
442
|
const response = {
|
|
@@ -444,7 +444,7 @@ export const deserializeAws_json1_1AssociateKmsKeyCommand = async (output, conte
|
|
|
444
444
|
};
|
|
445
445
|
return Promise.resolve(response);
|
|
446
446
|
};
|
|
447
|
-
const
|
|
447
|
+
const de_AssociateKmsKeyCommandError = async (output, context) => {
|
|
448
448
|
const parsedOutput = {
|
|
449
449
|
...output,
|
|
450
450
|
body: await parseErrorBody(output.body, context),
|
|
@@ -453,16 +453,16 @@ const deserializeAws_json1_1AssociateKmsKeyCommandError = async (output, context
|
|
|
453
453
|
switch (errorCode) {
|
|
454
454
|
case "InvalidParameterException":
|
|
455
455
|
case "com.amazonaws.cloudwatchlogs#InvalidParameterException":
|
|
456
|
-
throw await
|
|
456
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
457
457
|
case "OperationAbortedException":
|
|
458
458
|
case "com.amazonaws.cloudwatchlogs#OperationAbortedException":
|
|
459
|
-
throw await
|
|
459
|
+
throw await de_OperationAbortedExceptionRes(parsedOutput, context);
|
|
460
460
|
case "ResourceNotFoundException":
|
|
461
461
|
case "com.amazonaws.cloudwatchlogs#ResourceNotFoundException":
|
|
462
|
-
throw await
|
|
462
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
463
463
|
case "ServiceUnavailableException":
|
|
464
464
|
case "com.amazonaws.cloudwatchlogs#ServiceUnavailableException":
|
|
465
|
-
throw await
|
|
465
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
466
466
|
default:
|
|
467
467
|
const parsedBody = parsedOutput.body;
|
|
468
468
|
throwDefaultError({
|
|
@@ -473,9 +473,9 @@ const deserializeAws_json1_1AssociateKmsKeyCommandError = async (output, context
|
|
|
473
473
|
});
|
|
474
474
|
}
|
|
475
475
|
};
|
|
476
|
-
export const
|
|
476
|
+
export const de_CancelExportTaskCommand = async (output, context) => {
|
|
477
477
|
if (output.statusCode >= 300) {
|
|
478
|
-
return
|
|
478
|
+
return de_CancelExportTaskCommandError(output, context);
|
|
479
479
|
}
|
|
480
480
|
await collectBody(output.body, context);
|
|
481
481
|
const response = {
|
|
@@ -483,7 +483,7 @@ export const deserializeAws_json1_1CancelExportTaskCommand = async (output, cont
|
|
|
483
483
|
};
|
|
484
484
|
return Promise.resolve(response);
|
|
485
485
|
};
|
|
486
|
-
const
|
|
486
|
+
const de_CancelExportTaskCommandError = async (output, context) => {
|
|
487
487
|
const parsedOutput = {
|
|
488
488
|
...output,
|
|
489
489
|
body: await parseErrorBody(output.body, context),
|
|
@@ -492,16 +492,16 @@ const deserializeAws_json1_1CancelExportTaskCommandError = async (output, contex
|
|
|
492
492
|
switch (errorCode) {
|
|
493
493
|
case "InvalidOperationException":
|
|
494
494
|
case "com.amazonaws.cloudwatchlogs#InvalidOperationException":
|
|
495
|
-
throw await
|
|
495
|
+
throw await de_InvalidOperationExceptionRes(parsedOutput, context);
|
|
496
496
|
case "InvalidParameterException":
|
|
497
497
|
case "com.amazonaws.cloudwatchlogs#InvalidParameterException":
|
|
498
|
-
throw await
|
|
498
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
499
499
|
case "ResourceNotFoundException":
|
|
500
500
|
case "com.amazonaws.cloudwatchlogs#ResourceNotFoundException":
|
|
501
|
-
throw await
|
|
501
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
502
502
|
case "ServiceUnavailableException":
|
|
503
503
|
case "com.amazonaws.cloudwatchlogs#ServiceUnavailableException":
|
|
504
|
-
throw await
|
|
504
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
505
505
|
default:
|
|
506
506
|
const parsedBody = parsedOutput.body;
|
|
507
507
|
throwDefaultError({
|
|
@@ -512,20 +512,20 @@ const deserializeAws_json1_1CancelExportTaskCommandError = async (output, contex
|
|
|
512
512
|
});
|
|
513
513
|
}
|
|
514
514
|
};
|
|
515
|
-
export const
|
|
515
|
+
export const de_CreateExportTaskCommand = async (output, context) => {
|
|
516
516
|
if (output.statusCode >= 300) {
|
|
517
|
-
return
|
|
517
|
+
return de_CreateExportTaskCommandError(output, context);
|
|
518
518
|
}
|
|
519
519
|
const data = await parseBody(output.body, context);
|
|
520
520
|
let contents = {};
|
|
521
|
-
contents =
|
|
521
|
+
contents = de_CreateExportTaskResponse(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_CreateExportTaskCommandError = async (output, context) => {
|
|
529
529
|
const parsedOutput = {
|
|
530
530
|
...output,
|
|
531
531
|
body: await parseErrorBody(output.body, context),
|
|
@@ -534,22 +534,22 @@ const deserializeAws_json1_1CreateExportTaskCommandError = async (output, contex
|
|
|
534
534
|
switch (errorCode) {
|
|
535
535
|
case "InvalidParameterException":
|
|
536
536
|
case "com.amazonaws.cloudwatchlogs#InvalidParameterException":
|
|
537
|
-
throw await
|
|
537
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
538
538
|
case "LimitExceededException":
|
|
539
539
|
case "com.amazonaws.cloudwatchlogs#LimitExceededException":
|
|
540
|
-
throw await
|
|
540
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
541
541
|
case "OperationAbortedException":
|
|
542
542
|
case "com.amazonaws.cloudwatchlogs#OperationAbortedException":
|
|
543
|
-
throw await
|
|
543
|
+
throw await de_OperationAbortedExceptionRes(parsedOutput, context);
|
|
544
544
|
case "ResourceAlreadyExistsException":
|
|
545
545
|
case "com.amazonaws.cloudwatchlogs#ResourceAlreadyExistsException":
|
|
546
|
-
throw await
|
|
546
|
+
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
547
547
|
case "ResourceNotFoundException":
|
|
548
548
|
case "com.amazonaws.cloudwatchlogs#ResourceNotFoundException":
|
|
549
|
-
throw await
|
|
549
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
550
550
|
case "ServiceUnavailableException":
|
|
551
551
|
case "com.amazonaws.cloudwatchlogs#ServiceUnavailableException":
|
|
552
|
-
throw await
|
|
552
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
553
553
|
default:
|
|
554
554
|
const parsedBody = parsedOutput.body;
|
|
555
555
|
throwDefaultError({
|
|
@@ -560,9 +560,9 @@ const deserializeAws_json1_1CreateExportTaskCommandError = async (output, contex
|
|
|
560
560
|
});
|
|
561
561
|
}
|
|
562
562
|
};
|
|
563
|
-
export const
|
|
563
|
+
export const de_CreateLogGroupCommand = async (output, context) => {
|
|
564
564
|
if (output.statusCode >= 300) {
|
|
565
|
-
return
|
|
565
|
+
return de_CreateLogGroupCommandError(output, context);
|
|
566
566
|
}
|
|
567
567
|
await collectBody(output.body, context);
|
|
568
568
|
const response = {
|
|
@@ -570,7 +570,7 @@ export const deserializeAws_json1_1CreateLogGroupCommand = async (output, contex
|
|
|
570
570
|
};
|
|
571
571
|
return Promise.resolve(response);
|
|
572
572
|
};
|
|
573
|
-
const
|
|
573
|
+
const de_CreateLogGroupCommandError = async (output, context) => {
|
|
574
574
|
const parsedOutput = {
|
|
575
575
|
...output,
|
|
576
576
|
body: await parseErrorBody(output.body, context),
|
|
@@ -579,19 +579,19 @@ const deserializeAws_json1_1CreateLogGroupCommandError = async (output, context)
|
|
|
579
579
|
switch (errorCode) {
|
|
580
580
|
case "InvalidParameterException":
|
|
581
581
|
case "com.amazonaws.cloudwatchlogs#InvalidParameterException":
|
|
582
|
-
throw await
|
|
582
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
583
583
|
case "LimitExceededException":
|
|
584
584
|
case "com.amazonaws.cloudwatchlogs#LimitExceededException":
|
|
585
|
-
throw await
|
|
585
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
586
586
|
case "OperationAbortedException":
|
|
587
587
|
case "com.amazonaws.cloudwatchlogs#OperationAbortedException":
|
|
588
|
-
throw await
|
|
588
|
+
throw await de_OperationAbortedExceptionRes(parsedOutput, context);
|
|
589
589
|
case "ResourceAlreadyExistsException":
|
|
590
590
|
case "com.amazonaws.cloudwatchlogs#ResourceAlreadyExistsException":
|
|
591
|
-
throw await
|
|
591
|
+
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
592
592
|
case "ServiceUnavailableException":
|
|
593
593
|
case "com.amazonaws.cloudwatchlogs#ServiceUnavailableException":
|
|
594
|
-
throw await
|
|
594
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
595
595
|
default:
|
|
596
596
|
const parsedBody = parsedOutput.body;
|
|
597
597
|
throwDefaultError({
|
|
@@ -602,9 +602,9 @@ const deserializeAws_json1_1CreateLogGroupCommandError = async (output, context)
|
|
|
602
602
|
});
|
|
603
603
|
}
|
|
604
604
|
};
|
|
605
|
-
export const
|
|
605
|
+
export const de_CreateLogStreamCommand = async (output, context) => {
|
|
606
606
|
if (output.statusCode >= 300) {
|
|
607
|
-
return
|
|
607
|
+
return de_CreateLogStreamCommandError(output, context);
|
|
608
608
|
}
|
|
609
609
|
await collectBody(output.body, context);
|
|
610
610
|
const response = {
|
|
@@ -612,7 +612,7 @@ export const deserializeAws_json1_1CreateLogStreamCommand = async (output, conte
|
|
|
612
612
|
};
|
|
613
613
|
return Promise.resolve(response);
|
|
614
614
|
};
|
|
615
|
-
const
|
|
615
|
+
const de_CreateLogStreamCommandError = async (output, context) => {
|
|
616
616
|
const parsedOutput = {
|
|
617
617
|
...output,
|
|
618
618
|
body: await parseErrorBody(output.body, context),
|
|
@@ -621,16 +621,16 @@ const deserializeAws_json1_1CreateLogStreamCommandError = async (output, context
|
|
|
621
621
|
switch (errorCode) {
|
|
622
622
|
case "InvalidParameterException":
|
|
623
623
|
case "com.amazonaws.cloudwatchlogs#InvalidParameterException":
|
|
624
|
-
throw await
|
|
624
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
625
625
|
case "ResourceAlreadyExistsException":
|
|
626
626
|
case "com.amazonaws.cloudwatchlogs#ResourceAlreadyExistsException":
|
|
627
|
-
throw await
|
|
627
|
+
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
628
628
|
case "ResourceNotFoundException":
|
|
629
629
|
case "com.amazonaws.cloudwatchlogs#ResourceNotFoundException":
|
|
630
|
-
throw await
|
|
630
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
631
631
|
case "ServiceUnavailableException":
|
|
632
632
|
case "com.amazonaws.cloudwatchlogs#ServiceUnavailableException":
|
|
633
|
-
throw await
|
|
633
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
634
634
|
default:
|
|
635
635
|
const parsedBody = parsedOutput.body;
|
|
636
636
|
throwDefaultError({
|
|
@@ -641,9 +641,9 @@ const deserializeAws_json1_1CreateLogStreamCommandError = async (output, context
|
|
|
641
641
|
});
|
|
642
642
|
}
|
|
643
643
|
};
|
|
644
|
-
export const
|
|
644
|
+
export const de_DeleteDataProtectionPolicyCommand = async (output, context) => {
|
|
645
645
|
if (output.statusCode >= 300) {
|
|
646
|
-
return
|
|
646
|
+
return de_DeleteDataProtectionPolicyCommandError(output, context);
|
|
647
647
|
}
|
|
648
648
|
await collectBody(output.body, context);
|
|
649
649
|
const response = {
|
|
@@ -651,7 +651,7 @@ export const deserializeAws_json1_1DeleteDataProtectionPolicyCommand = async (ou
|
|
|
651
651
|
};
|
|
652
652
|
return Promise.resolve(response);
|
|
653
653
|
};
|
|
654
|
-
const
|
|
654
|
+
const de_DeleteDataProtectionPolicyCommandError = async (output, context) => {
|
|
655
655
|
const parsedOutput = {
|
|
656
656
|
...output,
|
|
657
657
|
body: await parseErrorBody(output.body, context),
|
|
@@ -660,16 +660,16 @@ const deserializeAws_json1_1DeleteDataProtectionPolicyCommandError = async (outp
|
|
|
660
660
|
switch (errorCode) {
|
|
661
661
|
case "InvalidParameterException":
|
|
662
662
|
case "com.amazonaws.cloudwatchlogs#InvalidParameterException":
|
|
663
|
-
throw await
|
|
663
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
664
664
|
case "OperationAbortedException":
|
|
665
665
|
case "com.amazonaws.cloudwatchlogs#OperationAbortedException":
|
|
666
|
-
throw await
|
|
666
|
+
throw await de_OperationAbortedExceptionRes(parsedOutput, context);
|
|
667
667
|
case "ResourceNotFoundException":
|
|
668
668
|
case "com.amazonaws.cloudwatchlogs#ResourceNotFoundException":
|
|
669
|
-
throw await
|
|
669
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
670
670
|
case "ServiceUnavailableException":
|
|
671
671
|
case "com.amazonaws.cloudwatchlogs#ServiceUnavailableException":
|
|
672
|
-
throw await
|
|
672
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
673
673
|
default:
|
|
674
674
|
const parsedBody = parsedOutput.body;
|
|
675
675
|
throwDefaultError({
|
|
@@ -680,9 +680,9 @@ const deserializeAws_json1_1DeleteDataProtectionPolicyCommandError = async (outp
|
|
|
680
680
|
});
|
|
681
681
|
}
|
|
682
682
|
};
|
|
683
|
-
export const
|
|
683
|
+
export const de_DeleteDestinationCommand = async (output, context) => {
|
|
684
684
|
if (output.statusCode >= 300) {
|
|
685
|
-
return
|
|
685
|
+
return de_DeleteDestinationCommandError(output, context);
|
|
686
686
|
}
|
|
687
687
|
await collectBody(output.body, context);
|
|
688
688
|
const response = {
|
|
@@ -690,7 +690,7 @@ export const deserializeAws_json1_1DeleteDestinationCommand = async (output, con
|
|
|
690
690
|
};
|
|
691
691
|
return Promise.resolve(response);
|
|
692
692
|
};
|
|
693
|
-
const
|
|
693
|
+
const de_DeleteDestinationCommandError = async (output, context) => {
|
|
694
694
|
const parsedOutput = {
|
|
695
695
|
...output,
|
|
696
696
|
body: await parseErrorBody(output.body, context),
|
|
@@ -699,16 +699,16 @@ const deserializeAws_json1_1DeleteDestinationCommandError = async (output, conte
|
|
|
699
699
|
switch (errorCode) {
|
|
700
700
|
case "InvalidParameterException":
|
|
701
701
|
case "com.amazonaws.cloudwatchlogs#InvalidParameterException":
|
|
702
|
-
throw await
|
|
702
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
703
703
|
case "OperationAbortedException":
|
|
704
704
|
case "com.amazonaws.cloudwatchlogs#OperationAbortedException":
|
|
705
|
-
throw await
|
|
705
|
+
throw await de_OperationAbortedExceptionRes(parsedOutput, context);
|
|
706
706
|
case "ResourceNotFoundException":
|
|
707
707
|
case "com.amazonaws.cloudwatchlogs#ResourceNotFoundException":
|
|
708
|
-
throw await
|
|
708
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
709
709
|
case "ServiceUnavailableException":
|
|
710
710
|
case "com.amazonaws.cloudwatchlogs#ServiceUnavailableException":
|
|
711
|
-
throw await
|
|
711
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
712
712
|
default:
|
|
713
713
|
const parsedBody = parsedOutput.body;
|
|
714
714
|
throwDefaultError({
|
|
@@ -719,9 +719,9 @@ const deserializeAws_json1_1DeleteDestinationCommandError = async (output, conte
|
|
|
719
719
|
});
|
|
720
720
|
}
|
|
721
721
|
};
|
|
722
|
-
export const
|
|
722
|
+
export const de_DeleteLogGroupCommand = async (output, context) => {
|
|
723
723
|
if (output.statusCode >= 300) {
|
|
724
|
-
return
|
|
724
|
+
return de_DeleteLogGroupCommandError(output, context);
|
|
725
725
|
}
|
|
726
726
|
await collectBody(output.body, context);
|
|
727
727
|
const response = {
|
|
@@ -729,7 +729,7 @@ export const deserializeAws_json1_1DeleteLogGroupCommand = async (output, contex
|
|
|
729
729
|
};
|
|
730
730
|
return Promise.resolve(response);
|
|
731
731
|
};
|
|
732
|
-
const
|
|
732
|
+
const de_DeleteLogGroupCommandError = async (output, context) => {
|
|
733
733
|
const parsedOutput = {
|
|
734
734
|
...output,
|
|
735
735
|
body: await parseErrorBody(output.body, context),
|
|
@@ -738,16 +738,16 @@ const deserializeAws_json1_1DeleteLogGroupCommandError = async (output, context)
|
|
|
738
738
|
switch (errorCode) {
|
|
739
739
|
case "InvalidParameterException":
|
|
740
740
|
case "com.amazonaws.cloudwatchlogs#InvalidParameterException":
|
|
741
|
-
throw await
|
|
741
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
742
742
|
case "OperationAbortedException":
|
|
743
743
|
case "com.amazonaws.cloudwatchlogs#OperationAbortedException":
|
|
744
|
-
throw await
|
|
744
|
+
throw await de_OperationAbortedExceptionRes(parsedOutput, context);
|
|
745
745
|
case "ResourceNotFoundException":
|
|
746
746
|
case "com.amazonaws.cloudwatchlogs#ResourceNotFoundException":
|
|
747
|
-
throw await
|
|
747
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
748
748
|
case "ServiceUnavailableException":
|
|
749
749
|
case "com.amazonaws.cloudwatchlogs#ServiceUnavailableException":
|
|
750
|
-
throw await
|
|
750
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
751
751
|
default:
|
|
752
752
|
const parsedBody = parsedOutput.body;
|
|
753
753
|
throwDefaultError({
|
|
@@ -758,9 +758,9 @@ const deserializeAws_json1_1DeleteLogGroupCommandError = async (output, context)
|
|
|
758
758
|
});
|
|
759
759
|
}
|
|
760
760
|
};
|
|
761
|
-
export const
|
|
761
|
+
export const de_DeleteLogStreamCommand = async (output, context) => {
|
|
762
762
|
if (output.statusCode >= 300) {
|
|
763
|
-
return
|
|
763
|
+
return de_DeleteLogStreamCommandError(output, context);
|
|
764
764
|
}
|
|
765
765
|
await collectBody(output.body, context);
|
|
766
766
|
const response = {
|
|
@@ -768,7 +768,7 @@ export const deserializeAws_json1_1DeleteLogStreamCommand = async (output, conte
|
|
|
768
768
|
};
|
|
769
769
|
return Promise.resolve(response);
|
|
770
770
|
};
|
|
771
|
-
const
|
|
771
|
+
const de_DeleteLogStreamCommandError = async (output, context) => {
|
|
772
772
|
const parsedOutput = {
|
|
773
773
|
...output,
|
|
774
774
|
body: await parseErrorBody(output.body, context),
|
|
@@ -777,16 +777,16 @@ const deserializeAws_json1_1DeleteLogStreamCommandError = async (output, context
|
|
|
777
777
|
switch (errorCode) {
|
|
778
778
|
case "InvalidParameterException":
|
|
779
779
|
case "com.amazonaws.cloudwatchlogs#InvalidParameterException":
|
|
780
|
-
throw await
|
|
780
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
781
781
|
case "OperationAbortedException":
|
|
782
782
|
case "com.amazonaws.cloudwatchlogs#OperationAbortedException":
|
|
783
|
-
throw await
|
|
783
|
+
throw await de_OperationAbortedExceptionRes(parsedOutput, context);
|
|
784
784
|
case "ResourceNotFoundException":
|
|
785
785
|
case "com.amazonaws.cloudwatchlogs#ResourceNotFoundException":
|
|
786
|
-
throw await
|
|
786
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
787
787
|
case "ServiceUnavailableException":
|
|
788
788
|
case "com.amazonaws.cloudwatchlogs#ServiceUnavailableException":
|
|
789
|
-
throw await
|
|
789
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
790
790
|
default:
|
|
791
791
|
const parsedBody = parsedOutput.body;
|
|
792
792
|
throwDefaultError({
|
|
@@ -797,9 +797,9 @@ const deserializeAws_json1_1DeleteLogStreamCommandError = async (output, context
|
|
|
797
797
|
});
|
|
798
798
|
}
|
|
799
799
|
};
|
|
800
|
-
export const
|
|
800
|
+
export const de_DeleteMetricFilterCommand = async (output, context) => {
|
|
801
801
|
if (output.statusCode >= 300) {
|
|
802
|
-
return
|
|
802
|
+
return de_DeleteMetricFilterCommandError(output, context);
|
|
803
803
|
}
|
|
804
804
|
await collectBody(output.body, context);
|
|
805
805
|
const response = {
|
|
@@ -807,7 +807,7 @@ export const deserializeAws_json1_1DeleteMetricFilterCommand = async (output, co
|
|
|
807
807
|
};
|
|
808
808
|
return Promise.resolve(response);
|
|
809
809
|
};
|
|
810
|
-
const
|
|
810
|
+
const de_DeleteMetricFilterCommandError = async (output, context) => {
|
|
811
811
|
const parsedOutput = {
|
|
812
812
|
...output,
|
|
813
813
|
body: await parseErrorBody(output.body, context),
|
|
@@ -816,16 +816,16 @@ const deserializeAws_json1_1DeleteMetricFilterCommandError = async (output, cont
|
|
|
816
816
|
switch (errorCode) {
|
|
817
817
|
case "InvalidParameterException":
|
|
818
818
|
case "com.amazonaws.cloudwatchlogs#InvalidParameterException":
|
|
819
|
-
throw await
|
|
819
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
820
820
|
case "OperationAbortedException":
|
|
821
821
|
case "com.amazonaws.cloudwatchlogs#OperationAbortedException":
|
|
822
|
-
throw await
|
|
822
|
+
throw await de_OperationAbortedExceptionRes(parsedOutput, context);
|
|
823
823
|
case "ResourceNotFoundException":
|
|
824
824
|
case "com.amazonaws.cloudwatchlogs#ResourceNotFoundException":
|
|
825
|
-
throw await
|
|
825
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
826
826
|
case "ServiceUnavailableException":
|
|
827
827
|
case "com.amazonaws.cloudwatchlogs#ServiceUnavailableException":
|
|
828
|
-
throw await
|
|
828
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
829
829
|
default:
|
|
830
830
|
const parsedBody = parsedOutput.body;
|
|
831
831
|
throwDefaultError({
|
|
@@ -836,20 +836,20 @@ const deserializeAws_json1_1DeleteMetricFilterCommandError = async (output, cont
|
|
|
836
836
|
});
|
|
837
837
|
}
|
|
838
838
|
};
|
|
839
|
-
export const
|
|
839
|
+
export const de_DeleteQueryDefinitionCommand = async (output, context) => {
|
|
840
840
|
if (output.statusCode >= 300) {
|
|
841
|
-
return
|
|
841
|
+
return de_DeleteQueryDefinitionCommandError(output, context);
|
|
842
842
|
}
|
|
843
843
|
const data = await parseBody(output.body, context);
|
|
844
844
|
let contents = {};
|
|
845
|
-
contents =
|
|
845
|
+
contents = de_DeleteQueryDefinitionResponse(data, context);
|
|
846
846
|
const response = {
|
|
847
847
|
$metadata: deserializeMetadata(output),
|
|
848
848
|
...contents,
|
|
849
849
|
};
|
|
850
850
|
return Promise.resolve(response);
|
|
851
851
|
};
|
|
852
|
-
const
|
|
852
|
+
const de_DeleteQueryDefinitionCommandError = async (output, context) => {
|
|
853
853
|
const parsedOutput = {
|
|
854
854
|
...output,
|
|
855
855
|
body: await parseErrorBody(output.body, context),
|
|
@@ -858,13 +858,13 @@ const deserializeAws_json1_1DeleteQueryDefinitionCommandError = async (output, c
|
|
|
858
858
|
switch (errorCode) {
|
|
859
859
|
case "InvalidParameterException":
|
|
860
860
|
case "com.amazonaws.cloudwatchlogs#InvalidParameterException":
|
|
861
|
-
throw await
|
|
861
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
862
862
|
case "ResourceNotFoundException":
|
|
863
863
|
case "com.amazonaws.cloudwatchlogs#ResourceNotFoundException":
|
|
864
|
-
throw await
|
|
864
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
865
865
|
case "ServiceUnavailableException":
|
|
866
866
|
case "com.amazonaws.cloudwatchlogs#ServiceUnavailableException":
|
|
867
|
-
throw await
|
|
867
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
868
868
|
default:
|
|
869
869
|
const parsedBody = parsedOutput.body;
|
|
870
870
|
throwDefaultError({
|
|
@@ -875,9 +875,9 @@ const deserializeAws_json1_1DeleteQueryDefinitionCommandError = async (output, c
|
|
|
875
875
|
});
|
|
876
876
|
}
|
|
877
877
|
};
|
|
878
|
-
export const
|
|
878
|
+
export const de_DeleteResourcePolicyCommand = async (output, context) => {
|
|
879
879
|
if (output.statusCode >= 300) {
|
|
880
|
-
return
|
|
880
|
+
return de_DeleteResourcePolicyCommandError(output, context);
|
|
881
881
|
}
|
|
882
882
|
await collectBody(output.body, context);
|
|
883
883
|
const response = {
|
|
@@ -885,7 +885,7 @@ export const deserializeAws_json1_1DeleteResourcePolicyCommand = async (output,
|
|
|
885
885
|
};
|
|
886
886
|
return Promise.resolve(response);
|
|
887
887
|
};
|
|
888
|
-
const
|
|
888
|
+
const de_DeleteResourcePolicyCommandError = async (output, context) => {
|
|
889
889
|
const parsedOutput = {
|
|
890
890
|
...output,
|
|
891
891
|
body: await parseErrorBody(output.body, context),
|
|
@@ -894,13 +894,13 @@ const deserializeAws_json1_1DeleteResourcePolicyCommandError = async (output, co
|
|
|
894
894
|
switch (errorCode) {
|
|
895
895
|
case "InvalidParameterException":
|
|
896
896
|
case "com.amazonaws.cloudwatchlogs#InvalidParameterException":
|
|
897
|
-
throw await
|
|
897
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
898
898
|
case "ResourceNotFoundException":
|
|
899
899
|
case "com.amazonaws.cloudwatchlogs#ResourceNotFoundException":
|
|
900
|
-
throw await
|
|
900
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
901
901
|
case "ServiceUnavailableException":
|
|
902
902
|
case "com.amazonaws.cloudwatchlogs#ServiceUnavailableException":
|
|
903
|
-
throw await
|
|
903
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
904
904
|
default:
|
|
905
905
|
const parsedBody = parsedOutput.body;
|
|
906
906
|
throwDefaultError({
|
|
@@ -911,9 +911,9 @@ const deserializeAws_json1_1DeleteResourcePolicyCommandError = async (output, co
|
|
|
911
911
|
});
|
|
912
912
|
}
|
|
913
913
|
};
|
|
914
|
-
export const
|
|
914
|
+
export const de_DeleteRetentionPolicyCommand = async (output, context) => {
|
|
915
915
|
if (output.statusCode >= 300) {
|
|
916
|
-
return
|
|
916
|
+
return de_DeleteRetentionPolicyCommandError(output, context);
|
|
917
917
|
}
|
|
918
918
|
await collectBody(output.body, context);
|
|
919
919
|
const response = {
|
|
@@ -921,7 +921,7 @@ export const deserializeAws_json1_1DeleteRetentionPolicyCommand = async (output,
|
|
|
921
921
|
};
|
|
922
922
|
return Promise.resolve(response);
|
|
923
923
|
};
|
|
924
|
-
const
|
|
924
|
+
const de_DeleteRetentionPolicyCommandError = async (output, context) => {
|
|
925
925
|
const parsedOutput = {
|
|
926
926
|
...output,
|
|
927
927
|
body: await parseErrorBody(output.body, context),
|
|
@@ -930,16 +930,16 @@ const deserializeAws_json1_1DeleteRetentionPolicyCommandError = async (output, c
|
|
|
930
930
|
switch (errorCode) {
|
|
931
931
|
case "InvalidParameterException":
|
|
932
932
|
case "com.amazonaws.cloudwatchlogs#InvalidParameterException":
|
|
933
|
-
throw await
|
|
933
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
934
934
|
case "OperationAbortedException":
|
|
935
935
|
case "com.amazonaws.cloudwatchlogs#OperationAbortedException":
|
|
936
|
-
throw await
|
|
936
|
+
throw await de_OperationAbortedExceptionRes(parsedOutput, context);
|
|
937
937
|
case "ResourceNotFoundException":
|
|
938
938
|
case "com.amazonaws.cloudwatchlogs#ResourceNotFoundException":
|
|
939
|
-
throw await
|
|
939
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
940
940
|
case "ServiceUnavailableException":
|
|
941
941
|
case "com.amazonaws.cloudwatchlogs#ServiceUnavailableException":
|
|
942
|
-
throw await
|
|
942
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
943
943
|
default:
|
|
944
944
|
const parsedBody = parsedOutput.body;
|
|
945
945
|
throwDefaultError({
|
|
@@ -950,9 +950,9 @@ const deserializeAws_json1_1DeleteRetentionPolicyCommandError = async (output, c
|
|
|
950
950
|
});
|
|
951
951
|
}
|
|
952
952
|
};
|
|
953
|
-
export const
|
|
953
|
+
export const de_DeleteSubscriptionFilterCommand = async (output, context) => {
|
|
954
954
|
if (output.statusCode >= 300) {
|
|
955
|
-
return
|
|
955
|
+
return de_DeleteSubscriptionFilterCommandError(output, context);
|
|
956
956
|
}
|
|
957
957
|
await collectBody(output.body, context);
|
|
958
958
|
const response = {
|
|
@@ -960,7 +960,7 @@ export const deserializeAws_json1_1DeleteSubscriptionFilterCommand = async (outp
|
|
|
960
960
|
};
|
|
961
961
|
return Promise.resolve(response);
|
|
962
962
|
};
|
|
963
|
-
const
|
|
963
|
+
const de_DeleteSubscriptionFilterCommandError = async (output, context) => {
|
|
964
964
|
const parsedOutput = {
|
|
965
965
|
...output,
|
|
966
966
|
body: await parseErrorBody(output.body, context),
|
|
@@ -969,16 +969,16 @@ const deserializeAws_json1_1DeleteSubscriptionFilterCommandError = async (output
|
|
|
969
969
|
switch (errorCode) {
|
|
970
970
|
case "InvalidParameterException":
|
|
971
971
|
case "com.amazonaws.cloudwatchlogs#InvalidParameterException":
|
|
972
|
-
throw await
|
|
972
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
973
973
|
case "OperationAbortedException":
|
|
974
974
|
case "com.amazonaws.cloudwatchlogs#OperationAbortedException":
|
|
975
|
-
throw await
|
|
975
|
+
throw await de_OperationAbortedExceptionRes(parsedOutput, context);
|
|
976
976
|
case "ResourceNotFoundException":
|
|
977
977
|
case "com.amazonaws.cloudwatchlogs#ResourceNotFoundException":
|
|
978
|
-
throw await
|
|
978
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
979
979
|
case "ServiceUnavailableException":
|
|
980
980
|
case "com.amazonaws.cloudwatchlogs#ServiceUnavailableException":
|
|
981
|
-
throw await
|
|
981
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
982
982
|
default:
|
|
983
983
|
const parsedBody = parsedOutput.body;
|
|
984
984
|
throwDefaultError({
|
|
@@ -989,20 +989,20 @@ const deserializeAws_json1_1DeleteSubscriptionFilterCommandError = async (output
|
|
|
989
989
|
});
|
|
990
990
|
}
|
|
991
991
|
};
|
|
992
|
-
export const
|
|
992
|
+
export const de_DescribeDestinationsCommand = async (output, context) => {
|
|
993
993
|
if (output.statusCode >= 300) {
|
|
994
|
-
return
|
|
994
|
+
return de_DescribeDestinationsCommandError(output, context);
|
|
995
995
|
}
|
|
996
996
|
const data = await parseBody(output.body, context);
|
|
997
997
|
let contents = {};
|
|
998
|
-
contents =
|
|
998
|
+
contents = de_DescribeDestinationsResponse(data, context);
|
|
999
999
|
const response = {
|
|
1000
1000
|
$metadata: deserializeMetadata(output),
|
|
1001
1001
|
...contents,
|
|
1002
1002
|
};
|
|
1003
1003
|
return Promise.resolve(response);
|
|
1004
1004
|
};
|
|
1005
|
-
const
|
|
1005
|
+
const de_DescribeDestinationsCommandError = async (output, context) => {
|
|
1006
1006
|
const parsedOutput = {
|
|
1007
1007
|
...output,
|
|
1008
1008
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1011,10 +1011,10 @@ const deserializeAws_json1_1DescribeDestinationsCommandError = async (output, co
|
|
|
1011
1011
|
switch (errorCode) {
|
|
1012
1012
|
case "InvalidParameterException":
|
|
1013
1013
|
case "com.amazonaws.cloudwatchlogs#InvalidParameterException":
|
|
1014
|
-
throw await
|
|
1014
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1015
1015
|
case "ServiceUnavailableException":
|
|
1016
1016
|
case "com.amazonaws.cloudwatchlogs#ServiceUnavailableException":
|
|
1017
|
-
throw await
|
|
1017
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1018
1018
|
default:
|
|
1019
1019
|
const parsedBody = parsedOutput.body;
|
|
1020
1020
|
throwDefaultError({
|
|
@@ -1025,20 +1025,20 @@ const deserializeAws_json1_1DescribeDestinationsCommandError = async (output, co
|
|
|
1025
1025
|
});
|
|
1026
1026
|
}
|
|
1027
1027
|
};
|
|
1028
|
-
export const
|
|
1028
|
+
export const de_DescribeExportTasksCommand = async (output, context) => {
|
|
1029
1029
|
if (output.statusCode >= 300) {
|
|
1030
|
-
return
|
|
1030
|
+
return de_DescribeExportTasksCommandError(output, context);
|
|
1031
1031
|
}
|
|
1032
1032
|
const data = await parseBody(output.body, context);
|
|
1033
1033
|
let contents = {};
|
|
1034
|
-
contents =
|
|
1034
|
+
contents = de_DescribeExportTasksResponse(data, context);
|
|
1035
1035
|
const response = {
|
|
1036
1036
|
$metadata: deserializeMetadata(output),
|
|
1037
1037
|
...contents,
|
|
1038
1038
|
};
|
|
1039
1039
|
return Promise.resolve(response);
|
|
1040
1040
|
};
|
|
1041
|
-
const
|
|
1041
|
+
const de_DescribeExportTasksCommandError = async (output, context) => {
|
|
1042
1042
|
const parsedOutput = {
|
|
1043
1043
|
...output,
|
|
1044
1044
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1047,10 +1047,10 @@ const deserializeAws_json1_1DescribeExportTasksCommandError = async (output, con
|
|
|
1047
1047
|
switch (errorCode) {
|
|
1048
1048
|
case "InvalidParameterException":
|
|
1049
1049
|
case "com.amazonaws.cloudwatchlogs#InvalidParameterException":
|
|
1050
|
-
throw await
|
|
1050
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1051
1051
|
case "ServiceUnavailableException":
|
|
1052
1052
|
case "com.amazonaws.cloudwatchlogs#ServiceUnavailableException":
|
|
1053
|
-
throw await
|
|
1053
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1054
1054
|
default:
|
|
1055
1055
|
const parsedBody = parsedOutput.body;
|
|
1056
1056
|
throwDefaultError({
|
|
@@ -1061,20 +1061,20 @@ const deserializeAws_json1_1DescribeExportTasksCommandError = async (output, con
|
|
|
1061
1061
|
});
|
|
1062
1062
|
}
|
|
1063
1063
|
};
|
|
1064
|
-
export const
|
|
1064
|
+
export const de_DescribeLogGroupsCommand = async (output, context) => {
|
|
1065
1065
|
if (output.statusCode >= 300) {
|
|
1066
|
-
return
|
|
1066
|
+
return de_DescribeLogGroupsCommandError(output, context);
|
|
1067
1067
|
}
|
|
1068
1068
|
const data = await parseBody(output.body, context);
|
|
1069
1069
|
let contents = {};
|
|
1070
|
-
contents =
|
|
1070
|
+
contents = de_DescribeLogGroupsResponse(data, context);
|
|
1071
1071
|
const response = {
|
|
1072
1072
|
$metadata: deserializeMetadata(output),
|
|
1073
1073
|
...contents,
|
|
1074
1074
|
};
|
|
1075
1075
|
return Promise.resolve(response);
|
|
1076
1076
|
};
|
|
1077
|
-
const
|
|
1077
|
+
const de_DescribeLogGroupsCommandError = async (output, context) => {
|
|
1078
1078
|
const parsedOutput = {
|
|
1079
1079
|
...output,
|
|
1080
1080
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1083,10 +1083,10 @@ const deserializeAws_json1_1DescribeLogGroupsCommandError = async (output, conte
|
|
|
1083
1083
|
switch (errorCode) {
|
|
1084
1084
|
case "InvalidParameterException":
|
|
1085
1085
|
case "com.amazonaws.cloudwatchlogs#InvalidParameterException":
|
|
1086
|
-
throw await
|
|
1086
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1087
1087
|
case "ServiceUnavailableException":
|
|
1088
1088
|
case "com.amazonaws.cloudwatchlogs#ServiceUnavailableException":
|
|
1089
|
-
throw await
|
|
1089
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1090
1090
|
default:
|
|
1091
1091
|
const parsedBody = parsedOutput.body;
|
|
1092
1092
|
throwDefaultError({
|
|
@@ -1097,20 +1097,20 @@ const deserializeAws_json1_1DescribeLogGroupsCommandError = async (output, conte
|
|
|
1097
1097
|
});
|
|
1098
1098
|
}
|
|
1099
1099
|
};
|
|
1100
|
-
export const
|
|
1100
|
+
export const de_DescribeLogStreamsCommand = async (output, context) => {
|
|
1101
1101
|
if (output.statusCode >= 300) {
|
|
1102
|
-
return
|
|
1102
|
+
return de_DescribeLogStreamsCommandError(output, context);
|
|
1103
1103
|
}
|
|
1104
1104
|
const data = await parseBody(output.body, context);
|
|
1105
1105
|
let contents = {};
|
|
1106
|
-
contents =
|
|
1106
|
+
contents = de_DescribeLogStreamsResponse(data, context);
|
|
1107
1107
|
const response = {
|
|
1108
1108
|
$metadata: deserializeMetadata(output),
|
|
1109
1109
|
...contents,
|
|
1110
1110
|
};
|
|
1111
1111
|
return Promise.resolve(response);
|
|
1112
1112
|
};
|
|
1113
|
-
const
|
|
1113
|
+
const de_DescribeLogStreamsCommandError = async (output, context) => {
|
|
1114
1114
|
const parsedOutput = {
|
|
1115
1115
|
...output,
|
|
1116
1116
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1119,13 +1119,13 @@ const deserializeAws_json1_1DescribeLogStreamsCommandError = async (output, cont
|
|
|
1119
1119
|
switch (errorCode) {
|
|
1120
1120
|
case "InvalidParameterException":
|
|
1121
1121
|
case "com.amazonaws.cloudwatchlogs#InvalidParameterException":
|
|
1122
|
-
throw await
|
|
1122
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1123
1123
|
case "ResourceNotFoundException":
|
|
1124
1124
|
case "com.amazonaws.cloudwatchlogs#ResourceNotFoundException":
|
|
1125
|
-
throw await
|
|
1125
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1126
1126
|
case "ServiceUnavailableException":
|
|
1127
1127
|
case "com.amazonaws.cloudwatchlogs#ServiceUnavailableException":
|
|
1128
|
-
throw await
|
|
1128
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1129
1129
|
default:
|
|
1130
1130
|
const parsedBody = parsedOutput.body;
|
|
1131
1131
|
throwDefaultError({
|
|
@@ -1136,20 +1136,20 @@ const deserializeAws_json1_1DescribeLogStreamsCommandError = async (output, cont
|
|
|
1136
1136
|
});
|
|
1137
1137
|
}
|
|
1138
1138
|
};
|
|
1139
|
-
export const
|
|
1139
|
+
export const de_DescribeMetricFiltersCommand = async (output, context) => {
|
|
1140
1140
|
if (output.statusCode >= 300) {
|
|
1141
|
-
return
|
|
1141
|
+
return de_DescribeMetricFiltersCommandError(output, context);
|
|
1142
1142
|
}
|
|
1143
1143
|
const data = await parseBody(output.body, context);
|
|
1144
1144
|
let contents = {};
|
|
1145
|
-
contents =
|
|
1145
|
+
contents = de_DescribeMetricFiltersResponse(data, context);
|
|
1146
1146
|
const response = {
|
|
1147
1147
|
$metadata: deserializeMetadata(output),
|
|
1148
1148
|
...contents,
|
|
1149
1149
|
};
|
|
1150
1150
|
return Promise.resolve(response);
|
|
1151
1151
|
};
|
|
1152
|
-
const
|
|
1152
|
+
const de_DescribeMetricFiltersCommandError = async (output, context) => {
|
|
1153
1153
|
const parsedOutput = {
|
|
1154
1154
|
...output,
|
|
1155
1155
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1158,13 +1158,13 @@ const deserializeAws_json1_1DescribeMetricFiltersCommandError = async (output, c
|
|
|
1158
1158
|
switch (errorCode) {
|
|
1159
1159
|
case "InvalidParameterException":
|
|
1160
1160
|
case "com.amazonaws.cloudwatchlogs#InvalidParameterException":
|
|
1161
|
-
throw await
|
|
1161
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1162
1162
|
case "ResourceNotFoundException":
|
|
1163
1163
|
case "com.amazonaws.cloudwatchlogs#ResourceNotFoundException":
|
|
1164
|
-
throw await
|
|
1164
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1165
1165
|
case "ServiceUnavailableException":
|
|
1166
1166
|
case "com.amazonaws.cloudwatchlogs#ServiceUnavailableException":
|
|
1167
|
-
throw await
|
|
1167
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1168
1168
|
default:
|
|
1169
1169
|
const parsedBody = parsedOutput.body;
|
|
1170
1170
|
throwDefaultError({
|
|
@@ -1175,20 +1175,20 @@ const deserializeAws_json1_1DescribeMetricFiltersCommandError = async (output, c
|
|
|
1175
1175
|
});
|
|
1176
1176
|
}
|
|
1177
1177
|
};
|
|
1178
|
-
export const
|
|
1178
|
+
export const de_DescribeQueriesCommand = async (output, context) => {
|
|
1179
1179
|
if (output.statusCode >= 300) {
|
|
1180
|
-
return
|
|
1180
|
+
return de_DescribeQueriesCommandError(output, context);
|
|
1181
1181
|
}
|
|
1182
1182
|
const data = await parseBody(output.body, context);
|
|
1183
1183
|
let contents = {};
|
|
1184
|
-
contents =
|
|
1184
|
+
contents = de_DescribeQueriesResponse(data, context);
|
|
1185
1185
|
const response = {
|
|
1186
1186
|
$metadata: deserializeMetadata(output),
|
|
1187
1187
|
...contents,
|
|
1188
1188
|
};
|
|
1189
1189
|
return Promise.resolve(response);
|
|
1190
1190
|
};
|
|
1191
|
-
const
|
|
1191
|
+
const de_DescribeQueriesCommandError = async (output, context) => {
|
|
1192
1192
|
const parsedOutput = {
|
|
1193
1193
|
...output,
|
|
1194
1194
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1197,13 +1197,13 @@ const deserializeAws_json1_1DescribeQueriesCommandError = async (output, context
|
|
|
1197
1197
|
switch (errorCode) {
|
|
1198
1198
|
case "InvalidParameterException":
|
|
1199
1199
|
case "com.amazonaws.cloudwatchlogs#InvalidParameterException":
|
|
1200
|
-
throw await
|
|
1200
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1201
1201
|
case "ResourceNotFoundException":
|
|
1202
1202
|
case "com.amazonaws.cloudwatchlogs#ResourceNotFoundException":
|
|
1203
|
-
throw await
|
|
1203
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1204
1204
|
case "ServiceUnavailableException":
|
|
1205
1205
|
case "com.amazonaws.cloudwatchlogs#ServiceUnavailableException":
|
|
1206
|
-
throw await
|
|
1206
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1207
1207
|
default:
|
|
1208
1208
|
const parsedBody = parsedOutput.body;
|
|
1209
1209
|
throwDefaultError({
|
|
@@ -1214,20 +1214,20 @@ const deserializeAws_json1_1DescribeQueriesCommandError = async (output, context
|
|
|
1214
1214
|
});
|
|
1215
1215
|
}
|
|
1216
1216
|
};
|
|
1217
|
-
export const
|
|
1217
|
+
export const de_DescribeQueryDefinitionsCommand = async (output, context) => {
|
|
1218
1218
|
if (output.statusCode >= 300) {
|
|
1219
|
-
return
|
|
1219
|
+
return de_DescribeQueryDefinitionsCommandError(output, context);
|
|
1220
1220
|
}
|
|
1221
1221
|
const data = await parseBody(output.body, context);
|
|
1222
1222
|
let contents = {};
|
|
1223
|
-
contents =
|
|
1223
|
+
contents = de_DescribeQueryDefinitionsResponse(data, context);
|
|
1224
1224
|
const response = {
|
|
1225
1225
|
$metadata: deserializeMetadata(output),
|
|
1226
1226
|
...contents,
|
|
1227
1227
|
};
|
|
1228
1228
|
return Promise.resolve(response);
|
|
1229
1229
|
};
|
|
1230
|
-
const
|
|
1230
|
+
const de_DescribeQueryDefinitionsCommandError = async (output, context) => {
|
|
1231
1231
|
const parsedOutput = {
|
|
1232
1232
|
...output,
|
|
1233
1233
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1236,10 +1236,10 @@ const deserializeAws_json1_1DescribeQueryDefinitionsCommandError = async (output
|
|
|
1236
1236
|
switch (errorCode) {
|
|
1237
1237
|
case "InvalidParameterException":
|
|
1238
1238
|
case "com.amazonaws.cloudwatchlogs#InvalidParameterException":
|
|
1239
|
-
throw await
|
|
1239
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1240
1240
|
case "ServiceUnavailableException":
|
|
1241
1241
|
case "com.amazonaws.cloudwatchlogs#ServiceUnavailableException":
|
|
1242
|
-
throw await
|
|
1242
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1243
1243
|
default:
|
|
1244
1244
|
const parsedBody = parsedOutput.body;
|
|
1245
1245
|
throwDefaultError({
|
|
@@ -1250,20 +1250,20 @@ const deserializeAws_json1_1DescribeQueryDefinitionsCommandError = async (output
|
|
|
1250
1250
|
});
|
|
1251
1251
|
}
|
|
1252
1252
|
};
|
|
1253
|
-
export const
|
|
1253
|
+
export const de_DescribeResourcePoliciesCommand = async (output, context) => {
|
|
1254
1254
|
if (output.statusCode >= 300) {
|
|
1255
|
-
return
|
|
1255
|
+
return de_DescribeResourcePoliciesCommandError(output, context);
|
|
1256
1256
|
}
|
|
1257
1257
|
const data = await parseBody(output.body, context);
|
|
1258
1258
|
let contents = {};
|
|
1259
|
-
contents =
|
|
1259
|
+
contents = de_DescribeResourcePoliciesResponse(data, context);
|
|
1260
1260
|
const response = {
|
|
1261
1261
|
$metadata: deserializeMetadata(output),
|
|
1262
1262
|
...contents,
|
|
1263
1263
|
};
|
|
1264
1264
|
return Promise.resolve(response);
|
|
1265
1265
|
};
|
|
1266
|
-
const
|
|
1266
|
+
const de_DescribeResourcePoliciesCommandError = async (output, context) => {
|
|
1267
1267
|
const parsedOutput = {
|
|
1268
1268
|
...output,
|
|
1269
1269
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1272,10 +1272,10 @@ const deserializeAws_json1_1DescribeResourcePoliciesCommandError = async (output
|
|
|
1272
1272
|
switch (errorCode) {
|
|
1273
1273
|
case "InvalidParameterException":
|
|
1274
1274
|
case "com.amazonaws.cloudwatchlogs#InvalidParameterException":
|
|
1275
|
-
throw await
|
|
1275
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1276
1276
|
case "ServiceUnavailableException":
|
|
1277
1277
|
case "com.amazonaws.cloudwatchlogs#ServiceUnavailableException":
|
|
1278
|
-
throw await
|
|
1278
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1279
1279
|
default:
|
|
1280
1280
|
const parsedBody = parsedOutput.body;
|
|
1281
1281
|
throwDefaultError({
|
|
@@ -1286,20 +1286,20 @@ const deserializeAws_json1_1DescribeResourcePoliciesCommandError = async (output
|
|
|
1286
1286
|
});
|
|
1287
1287
|
}
|
|
1288
1288
|
};
|
|
1289
|
-
export const
|
|
1289
|
+
export const de_DescribeSubscriptionFiltersCommand = async (output, context) => {
|
|
1290
1290
|
if (output.statusCode >= 300) {
|
|
1291
|
-
return
|
|
1291
|
+
return de_DescribeSubscriptionFiltersCommandError(output, context);
|
|
1292
1292
|
}
|
|
1293
1293
|
const data = await parseBody(output.body, context);
|
|
1294
1294
|
let contents = {};
|
|
1295
|
-
contents =
|
|
1295
|
+
contents = de_DescribeSubscriptionFiltersResponse(data, context);
|
|
1296
1296
|
const response = {
|
|
1297
1297
|
$metadata: deserializeMetadata(output),
|
|
1298
1298
|
...contents,
|
|
1299
1299
|
};
|
|
1300
1300
|
return Promise.resolve(response);
|
|
1301
1301
|
};
|
|
1302
|
-
const
|
|
1302
|
+
const de_DescribeSubscriptionFiltersCommandError = async (output, context) => {
|
|
1303
1303
|
const parsedOutput = {
|
|
1304
1304
|
...output,
|
|
1305
1305
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1308,13 +1308,13 @@ const deserializeAws_json1_1DescribeSubscriptionFiltersCommandError = async (out
|
|
|
1308
1308
|
switch (errorCode) {
|
|
1309
1309
|
case "InvalidParameterException":
|
|
1310
1310
|
case "com.amazonaws.cloudwatchlogs#InvalidParameterException":
|
|
1311
|
-
throw await
|
|
1311
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1312
1312
|
case "ResourceNotFoundException":
|
|
1313
1313
|
case "com.amazonaws.cloudwatchlogs#ResourceNotFoundException":
|
|
1314
|
-
throw await
|
|
1314
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1315
1315
|
case "ServiceUnavailableException":
|
|
1316
1316
|
case "com.amazonaws.cloudwatchlogs#ServiceUnavailableException":
|
|
1317
|
-
throw await
|
|
1317
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1318
1318
|
default:
|
|
1319
1319
|
const parsedBody = parsedOutput.body;
|
|
1320
1320
|
throwDefaultError({
|
|
@@ -1325,9 +1325,9 @@ const deserializeAws_json1_1DescribeSubscriptionFiltersCommandError = async (out
|
|
|
1325
1325
|
});
|
|
1326
1326
|
}
|
|
1327
1327
|
};
|
|
1328
|
-
export const
|
|
1328
|
+
export const de_DisassociateKmsKeyCommand = async (output, context) => {
|
|
1329
1329
|
if (output.statusCode >= 300) {
|
|
1330
|
-
return
|
|
1330
|
+
return de_DisassociateKmsKeyCommandError(output, context);
|
|
1331
1331
|
}
|
|
1332
1332
|
await collectBody(output.body, context);
|
|
1333
1333
|
const response = {
|
|
@@ -1335,7 +1335,7 @@ export const deserializeAws_json1_1DisassociateKmsKeyCommand = async (output, co
|
|
|
1335
1335
|
};
|
|
1336
1336
|
return Promise.resolve(response);
|
|
1337
1337
|
};
|
|
1338
|
-
const
|
|
1338
|
+
const de_DisassociateKmsKeyCommandError = async (output, context) => {
|
|
1339
1339
|
const parsedOutput = {
|
|
1340
1340
|
...output,
|
|
1341
1341
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1344,16 +1344,16 @@ const deserializeAws_json1_1DisassociateKmsKeyCommandError = async (output, cont
|
|
|
1344
1344
|
switch (errorCode) {
|
|
1345
1345
|
case "InvalidParameterException":
|
|
1346
1346
|
case "com.amazonaws.cloudwatchlogs#InvalidParameterException":
|
|
1347
|
-
throw await
|
|
1347
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1348
1348
|
case "OperationAbortedException":
|
|
1349
1349
|
case "com.amazonaws.cloudwatchlogs#OperationAbortedException":
|
|
1350
|
-
throw await
|
|
1350
|
+
throw await de_OperationAbortedExceptionRes(parsedOutput, context);
|
|
1351
1351
|
case "ResourceNotFoundException":
|
|
1352
1352
|
case "com.amazonaws.cloudwatchlogs#ResourceNotFoundException":
|
|
1353
|
-
throw await
|
|
1353
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1354
1354
|
case "ServiceUnavailableException":
|
|
1355
1355
|
case "com.amazonaws.cloudwatchlogs#ServiceUnavailableException":
|
|
1356
|
-
throw await
|
|
1356
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1357
1357
|
default:
|
|
1358
1358
|
const parsedBody = parsedOutput.body;
|
|
1359
1359
|
throwDefaultError({
|
|
@@ -1364,20 +1364,20 @@ const deserializeAws_json1_1DisassociateKmsKeyCommandError = async (output, cont
|
|
|
1364
1364
|
});
|
|
1365
1365
|
}
|
|
1366
1366
|
};
|
|
1367
|
-
export const
|
|
1367
|
+
export const de_FilterLogEventsCommand = async (output, context) => {
|
|
1368
1368
|
if (output.statusCode >= 300) {
|
|
1369
|
-
return
|
|
1369
|
+
return de_FilterLogEventsCommandError(output, context);
|
|
1370
1370
|
}
|
|
1371
1371
|
const data = await parseBody(output.body, context);
|
|
1372
1372
|
let contents = {};
|
|
1373
|
-
contents =
|
|
1373
|
+
contents = de_FilterLogEventsResponse(data, context);
|
|
1374
1374
|
const response = {
|
|
1375
1375
|
$metadata: deserializeMetadata(output),
|
|
1376
1376
|
...contents,
|
|
1377
1377
|
};
|
|
1378
1378
|
return Promise.resolve(response);
|
|
1379
1379
|
};
|
|
1380
|
-
const
|
|
1380
|
+
const de_FilterLogEventsCommandError = async (output, context) => {
|
|
1381
1381
|
const parsedOutput = {
|
|
1382
1382
|
...output,
|
|
1383
1383
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1386,13 +1386,13 @@ const deserializeAws_json1_1FilterLogEventsCommandError = async (output, context
|
|
|
1386
1386
|
switch (errorCode) {
|
|
1387
1387
|
case "InvalidParameterException":
|
|
1388
1388
|
case "com.amazonaws.cloudwatchlogs#InvalidParameterException":
|
|
1389
|
-
throw await
|
|
1389
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1390
1390
|
case "ResourceNotFoundException":
|
|
1391
1391
|
case "com.amazonaws.cloudwatchlogs#ResourceNotFoundException":
|
|
1392
|
-
throw await
|
|
1392
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1393
1393
|
case "ServiceUnavailableException":
|
|
1394
1394
|
case "com.amazonaws.cloudwatchlogs#ServiceUnavailableException":
|
|
1395
|
-
throw await
|
|
1395
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1396
1396
|
default:
|
|
1397
1397
|
const parsedBody = parsedOutput.body;
|
|
1398
1398
|
throwDefaultError({
|
|
@@ -1403,20 +1403,20 @@ const deserializeAws_json1_1FilterLogEventsCommandError = async (output, context
|
|
|
1403
1403
|
});
|
|
1404
1404
|
}
|
|
1405
1405
|
};
|
|
1406
|
-
export const
|
|
1406
|
+
export const de_GetDataProtectionPolicyCommand = async (output, context) => {
|
|
1407
1407
|
if (output.statusCode >= 300) {
|
|
1408
|
-
return
|
|
1408
|
+
return de_GetDataProtectionPolicyCommandError(output, context);
|
|
1409
1409
|
}
|
|
1410
1410
|
const data = await parseBody(output.body, context);
|
|
1411
1411
|
let contents = {};
|
|
1412
|
-
contents =
|
|
1412
|
+
contents = de_GetDataProtectionPolicyResponse(data, context);
|
|
1413
1413
|
const response = {
|
|
1414
1414
|
$metadata: deserializeMetadata(output),
|
|
1415
1415
|
...contents,
|
|
1416
1416
|
};
|
|
1417
1417
|
return Promise.resolve(response);
|
|
1418
1418
|
};
|
|
1419
|
-
const
|
|
1419
|
+
const de_GetDataProtectionPolicyCommandError = async (output, context) => {
|
|
1420
1420
|
const parsedOutput = {
|
|
1421
1421
|
...output,
|
|
1422
1422
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1425,16 +1425,16 @@ const deserializeAws_json1_1GetDataProtectionPolicyCommandError = async (output,
|
|
|
1425
1425
|
switch (errorCode) {
|
|
1426
1426
|
case "InvalidParameterException":
|
|
1427
1427
|
case "com.amazonaws.cloudwatchlogs#InvalidParameterException":
|
|
1428
|
-
throw await
|
|
1428
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1429
1429
|
case "OperationAbortedException":
|
|
1430
1430
|
case "com.amazonaws.cloudwatchlogs#OperationAbortedException":
|
|
1431
|
-
throw await
|
|
1431
|
+
throw await de_OperationAbortedExceptionRes(parsedOutput, context);
|
|
1432
1432
|
case "ResourceNotFoundException":
|
|
1433
1433
|
case "com.amazonaws.cloudwatchlogs#ResourceNotFoundException":
|
|
1434
|
-
throw await
|
|
1434
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1435
1435
|
case "ServiceUnavailableException":
|
|
1436
1436
|
case "com.amazonaws.cloudwatchlogs#ServiceUnavailableException":
|
|
1437
|
-
throw await
|
|
1437
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1438
1438
|
default:
|
|
1439
1439
|
const parsedBody = parsedOutput.body;
|
|
1440
1440
|
throwDefaultError({
|
|
@@ -1445,20 +1445,20 @@ const deserializeAws_json1_1GetDataProtectionPolicyCommandError = async (output,
|
|
|
1445
1445
|
});
|
|
1446
1446
|
}
|
|
1447
1447
|
};
|
|
1448
|
-
export const
|
|
1448
|
+
export const de_GetLogEventsCommand = async (output, context) => {
|
|
1449
1449
|
if (output.statusCode >= 300) {
|
|
1450
|
-
return
|
|
1450
|
+
return de_GetLogEventsCommandError(output, context);
|
|
1451
1451
|
}
|
|
1452
1452
|
const data = await parseBody(output.body, context);
|
|
1453
1453
|
let contents = {};
|
|
1454
|
-
contents =
|
|
1454
|
+
contents = de_GetLogEventsResponse(data, context);
|
|
1455
1455
|
const response = {
|
|
1456
1456
|
$metadata: deserializeMetadata(output),
|
|
1457
1457
|
...contents,
|
|
1458
1458
|
};
|
|
1459
1459
|
return Promise.resolve(response);
|
|
1460
1460
|
};
|
|
1461
|
-
const
|
|
1461
|
+
const de_GetLogEventsCommandError = async (output, context) => {
|
|
1462
1462
|
const parsedOutput = {
|
|
1463
1463
|
...output,
|
|
1464
1464
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1467,13 +1467,13 @@ const deserializeAws_json1_1GetLogEventsCommandError = async (output, context) =
|
|
|
1467
1467
|
switch (errorCode) {
|
|
1468
1468
|
case "InvalidParameterException":
|
|
1469
1469
|
case "com.amazonaws.cloudwatchlogs#InvalidParameterException":
|
|
1470
|
-
throw await
|
|
1470
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1471
1471
|
case "ResourceNotFoundException":
|
|
1472
1472
|
case "com.amazonaws.cloudwatchlogs#ResourceNotFoundException":
|
|
1473
|
-
throw await
|
|
1473
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1474
1474
|
case "ServiceUnavailableException":
|
|
1475
1475
|
case "com.amazonaws.cloudwatchlogs#ServiceUnavailableException":
|
|
1476
|
-
throw await
|
|
1476
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1477
1477
|
default:
|
|
1478
1478
|
const parsedBody = parsedOutput.body;
|
|
1479
1479
|
throwDefaultError({
|
|
@@ -1484,20 +1484,20 @@ const deserializeAws_json1_1GetLogEventsCommandError = async (output, context) =
|
|
|
1484
1484
|
});
|
|
1485
1485
|
}
|
|
1486
1486
|
};
|
|
1487
|
-
export const
|
|
1487
|
+
export const de_GetLogGroupFieldsCommand = async (output, context) => {
|
|
1488
1488
|
if (output.statusCode >= 300) {
|
|
1489
|
-
return
|
|
1489
|
+
return de_GetLogGroupFieldsCommandError(output, context);
|
|
1490
1490
|
}
|
|
1491
1491
|
const data = await parseBody(output.body, context);
|
|
1492
1492
|
let contents = {};
|
|
1493
|
-
contents =
|
|
1493
|
+
contents = de_GetLogGroupFieldsResponse(data, context);
|
|
1494
1494
|
const response = {
|
|
1495
1495
|
$metadata: deserializeMetadata(output),
|
|
1496
1496
|
...contents,
|
|
1497
1497
|
};
|
|
1498
1498
|
return Promise.resolve(response);
|
|
1499
1499
|
};
|
|
1500
|
-
const
|
|
1500
|
+
const de_GetLogGroupFieldsCommandError = async (output, context) => {
|
|
1501
1501
|
const parsedOutput = {
|
|
1502
1502
|
...output,
|
|
1503
1503
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1506,16 +1506,16 @@ const deserializeAws_json1_1GetLogGroupFieldsCommandError = async (output, conte
|
|
|
1506
1506
|
switch (errorCode) {
|
|
1507
1507
|
case "InvalidParameterException":
|
|
1508
1508
|
case "com.amazonaws.cloudwatchlogs#InvalidParameterException":
|
|
1509
|
-
throw await
|
|
1509
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1510
1510
|
case "LimitExceededException":
|
|
1511
1511
|
case "com.amazonaws.cloudwatchlogs#LimitExceededException":
|
|
1512
|
-
throw await
|
|
1512
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1513
1513
|
case "ResourceNotFoundException":
|
|
1514
1514
|
case "com.amazonaws.cloudwatchlogs#ResourceNotFoundException":
|
|
1515
|
-
throw await
|
|
1515
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1516
1516
|
case "ServiceUnavailableException":
|
|
1517
1517
|
case "com.amazonaws.cloudwatchlogs#ServiceUnavailableException":
|
|
1518
|
-
throw await
|
|
1518
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1519
1519
|
default:
|
|
1520
1520
|
const parsedBody = parsedOutput.body;
|
|
1521
1521
|
throwDefaultError({
|
|
@@ -1526,20 +1526,20 @@ const deserializeAws_json1_1GetLogGroupFieldsCommandError = async (output, conte
|
|
|
1526
1526
|
});
|
|
1527
1527
|
}
|
|
1528
1528
|
};
|
|
1529
|
-
export const
|
|
1529
|
+
export const de_GetLogRecordCommand = async (output, context) => {
|
|
1530
1530
|
if (output.statusCode >= 300) {
|
|
1531
|
-
return
|
|
1531
|
+
return de_GetLogRecordCommandError(output, context);
|
|
1532
1532
|
}
|
|
1533
1533
|
const data = await parseBody(output.body, context);
|
|
1534
1534
|
let contents = {};
|
|
1535
|
-
contents =
|
|
1535
|
+
contents = de_GetLogRecordResponse(data, context);
|
|
1536
1536
|
const response = {
|
|
1537
1537
|
$metadata: deserializeMetadata(output),
|
|
1538
1538
|
...contents,
|
|
1539
1539
|
};
|
|
1540
1540
|
return Promise.resolve(response);
|
|
1541
1541
|
};
|
|
1542
|
-
const
|
|
1542
|
+
const de_GetLogRecordCommandError = async (output, context) => {
|
|
1543
1543
|
const parsedOutput = {
|
|
1544
1544
|
...output,
|
|
1545
1545
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1548,16 +1548,16 @@ const deserializeAws_json1_1GetLogRecordCommandError = async (output, context) =
|
|
|
1548
1548
|
switch (errorCode) {
|
|
1549
1549
|
case "InvalidParameterException":
|
|
1550
1550
|
case "com.amazonaws.cloudwatchlogs#InvalidParameterException":
|
|
1551
|
-
throw await
|
|
1551
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1552
1552
|
case "LimitExceededException":
|
|
1553
1553
|
case "com.amazonaws.cloudwatchlogs#LimitExceededException":
|
|
1554
|
-
throw await
|
|
1554
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1555
1555
|
case "ResourceNotFoundException":
|
|
1556
1556
|
case "com.amazonaws.cloudwatchlogs#ResourceNotFoundException":
|
|
1557
|
-
throw await
|
|
1557
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1558
1558
|
case "ServiceUnavailableException":
|
|
1559
1559
|
case "com.amazonaws.cloudwatchlogs#ServiceUnavailableException":
|
|
1560
|
-
throw await
|
|
1560
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1561
1561
|
default:
|
|
1562
1562
|
const parsedBody = parsedOutput.body;
|
|
1563
1563
|
throwDefaultError({
|
|
@@ -1568,20 +1568,20 @@ const deserializeAws_json1_1GetLogRecordCommandError = async (output, context) =
|
|
|
1568
1568
|
});
|
|
1569
1569
|
}
|
|
1570
1570
|
};
|
|
1571
|
-
export const
|
|
1571
|
+
export const de_GetQueryResultsCommand = async (output, context) => {
|
|
1572
1572
|
if (output.statusCode >= 300) {
|
|
1573
|
-
return
|
|
1573
|
+
return de_GetQueryResultsCommandError(output, context);
|
|
1574
1574
|
}
|
|
1575
1575
|
const data = await parseBody(output.body, context);
|
|
1576
1576
|
let contents = {};
|
|
1577
|
-
contents =
|
|
1577
|
+
contents = de_GetQueryResultsResponse(data, context);
|
|
1578
1578
|
const response = {
|
|
1579
1579
|
$metadata: deserializeMetadata(output),
|
|
1580
1580
|
...contents,
|
|
1581
1581
|
};
|
|
1582
1582
|
return Promise.resolve(response);
|
|
1583
1583
|
};
|
|
1584
|
-
const
|
|
1584
|
+
const de_GetQueryResultsCommandError = async (output, context) => {
|
|
1585
1585
|
const parsedOutput = {
|
|
1586
1586
|
...output,
|
|
1587
1587
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1590,13 +1590,13 @@ const deserializeAws_json1_1GetQueryResultsCommandError = async (output, context
|
|
|
1590
1590
|
switch (errorCode) {
|
|
1591
1591
|
case "InvalidParameterException":
|
|
1592
1592
|
case "com.amazonaws.cloudwatchlogs#InvalidParameterException":
|
|
1593
|
-
throw await
|
|
1593
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1594
1594
|
case "ResourceNotFoundException":
|
|
1595
1595
|
case "com.amazonaws.cloudwatchlogs#ResourceNotFoundException":
|
|
1596
|
-
throw await
|
|
1596
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1597
1597
|
case "ServiceUnavailableException":
|
|
1598
1598
|
case "com.amazonaws.cloudwatchlogs#ServiceUnavailableException":
|
|
1599
|
-
throw await
|
|
1599
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1600
1600
|
default:
|
|
1601
1601
|
const parsedBody = parsedOutput.body;
|
|
1602
1602
|
throwDefaultError({
|
|
@@ -1607,20 +1607,20 @@ const deserializeAws_json1_1GetQueryResultsCommandError = async (output, context
|
|
|
1607
1607
|
});
|
|
1608
1608
|
}
|
|
1609
1609
|
};
|
|
1610
|
-
export const
|
|
1610
|
+
export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
1611
1611
|
if (output.statusCode >= 300) {
|
|
1612
|
-
return
|
|
1612
|
+
return de_ListTagsForResourceCommandError(output, context);
|
|
1613
1613
|
}
|
|
1614
1614
|
const data = await parseBody(output.body, context);
|
|
1615
1615
|
let contents = {};
|
|
1616
|
-
contents =
|
|
1616
|
+
contents = de_ListTagsForResourceResponse(data, context);
|
|
1617
1617
|
const response = {
|
|
1618
1618
|
$metadata: deserializeMetadata(output),
|
|
1619
1619
|
...contents,
|
|
1620
1620
|
};
|
|
1621
1621
|
return Promise.resolve(response);
|
|
1622
1622
|
};
|
|
1623
|
-
const
|
|
1623
|
+
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
1624
1624
|
const parsedOutput = {
|
|
1625
1625
|
...output,
|
|
1626
1626
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1629,13 +1629,13 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
|
|
|
1629
1629
|
switch (errorCode) {
|
|
1630
1630
|
case "InvalidParameterException":
|
|
1631
1631
|
case "com.amazonaws.cloudwatchlogs#InvalidParameterException":
|
|
1632
|
-
throw await
|
|
1632
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1633
1633
|
case "ResourceNotFoundException":
|
|
1634
1634
|
case "com.amazonaws.cloudwatchlogs#ResourceNotFoundException":
|
|
1635
|
-
throw await
|
|
1635
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1636
1636
|
case "ServiceUnavailableException":
|
|
1637
1637
|
case "com.amazonaws.cloudwatchlogs#ServiceUnavailableException":
|
|
1638
|
-
throw await
|
|
1638
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1639
1639
|
default:
|
|
1640
1640
|
const parsedBody = parsedOutput.body;
|
|
1641
1641
|
throwDefaultError({
|
|
@@ -1646,20 +1646,20 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
|
|
|
1646
1646
|
});
|
|
1647
1647
|
}
|
|
1648
1648
|
};
|
|
1649
|
-
export const
|
|
1649
|
+
export const de_ListTagsLogGroupCommand = async (output, context) => {
|
|
1650
1650
|
if (output.statusCode >= 300) {
|
|
1651
|
-
return
|
|
1651
|
+
return de_ListTagsLogGroupCommandError(output, context);
|
|
1652
1652
|
}
|
|
1653
1653
|
const data = await parseBody(output.body, context);
|
|
1654
1654
|
let contents = {};
|
|
1655
|
-
contents =
|
|
1655
|
+
contents = de_ListTagsLogGroupResponse(data, context);
|
|
1656
1656
|
const response = {
|
|
1657
1657
|
$metadata: deserializeMetadata(output),
|
|
1658
1658
|
...contents,
|
|
1659
1659
|
};
|
|
1660
1660
|
return Promise.resolve(response);
|
|
1661
1661
|
};
|
|
1662
|
-
const
|
|
1662
|
+
const de_ListTagsLogGroupCommandError = async (output, context) => {
|
|
1663
1663
|
const parsedOutput = {
|
|
1664
1664
|
...output,
|
|
1665
1665
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1668,10 +1668,10 @@ const deserializeAws_json1_1ListTagsLogGroupCommandError = async (output, contex
|
|
|
1668
1668
|
switch (errorCode) {
|
|
1669
1669
|
case "ResourceNotFoundException":
|
|
1670
1670
|
case "com.amazonaws.cloudwatchlogs#ResourceNotFoundException":
|
|
1671
|
-
throw await
|
|
1671
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1672
1672
|
case "ServiceUnavailableException":
|
|
1673
1673
|
case "com.amazonaws.cloudwatchlogs#ServiceUnavailableException":
|
|
1674
|
-
throw await
|
|
1674
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1675
1675
|
default:
|
|
1676
1676
|
const parsedBody = parsedOutput.body;
|
|
1677
1677
|
throwDefaultError({
|
|
@@ -1682,20 +1682,20 @@ const deserializeAws_json1_1ListTagsLogGroupCommandError = async (output, contex
|
|
|
1682
1682
|
});
|
|
1683
1683
|
}
|
|
1684
1684
|
};
|
|
1685
|
-
export const
|
|
1685
|
+
export const de_PutDataProtectionPolicyCommand = async (output, context) => {
|
|
1686
1686
|
if (output.statusCode >= 300) {
|
|
1687
|
-
return
|
|
1687
|
+
return de_PutDataProtectionPolicyCommandError(output, context);
|
|
1688
1688
|
}
|
|
1689
1689
|
const data = await parseBody(output.body, context);
|
|
1690
1690
|
let contents = {};
|
|
1691
|
-
contents =
|
|
1691
|
+
contents = de_PutDataProtectionPolicyResponse(data, context);
|
|
1692
1692
|
const response = {
|
|
1693
1693
|
$metadata: deserializeMetadata(output),
|
|
1694
1694
|
...contents,
|
|
1695
1695
|
};
|
|
1696
1696
|
return Promise.resolve(response);
|
|
1697
1697
|
};
|
|
1698
|
-
const
|
|
1698
|
+
const de_PutDataProtectionPolicyCommandError = async (output, context) => {
|
|
1699
1699
|
const parsedOutput = {
|
|
1700
1700
|
...output,
|
|
1701
1701
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1704,19 +1704,19 @@ const deserializeAws_json1_1PutDataProtectionPolicyCommandError = async (output,
|
|
|
1704
1704
|
switch (errorCode) {
|
|
1705
1705
|
case "InvalidParameterException":
|
|
1706
1706
|
case "com.amazonaws.cloudwatchlogs#InvalidParameterException":
|
|
1707
|
-
throw await
|
|
1707
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1708
1708
|
case "LimitExceededException":
|
|
1709
1709
|
case "com.amazonaws.cloudwatchlogs#LimitExceededException":
|
|
1710
|
-
throw await
|
|
1710
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1711
1711
|
case "OperationAbortedException":
|
|
1712
1712
|
case "com.amazonaws.cloudwatchlogs#OperationAbortedException":
|
|
1713
|
-
throw await
|
|
1713
|
+
throw await de_OperationAbortedExceptionRes(parsedOutput, context);
|
|
1714
1714
|
case "ResourceNotFoundException":
|
|
1715
1715
|
case "com.amazonaws.cloudwatchlogs#ResourceNotFoundException":
|
|
1716
|
-
throw await
|
|
1716
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1717
1717
|
case "ServiceUnavailableException":
|
|
1718
1718
|
case "com.amazonaws.cloudwatchlogs#ServiceUnavailableException":
|
|
1719
|
-
throw await
|
|
1719
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1720
1720
|
default:
|
|
1721
1721
|
const parsedBody = parsedOutput.body;
|
|
1722
1722
|
throwDefaultError({
|
|
@@ -1727,20 +1727,20 @@ const deserializeAws_json1_1PutDataProtectionPolicyCommandError = async (output,
|
|
|
1727
1727
|
});
|
|
1728
1728
|
}
|
|
1729
1729
|
};
|
|
1730
|
-
export const
|
|
1730
|
+
export const de_PutDestinationCommand = async (output, context) => {
|
|
1731
1731
|
if (output.statusCode >= 300) {
|
|
1732
|
-
return
|
|
1732
|
+
return de_PutDestinationCommandError(output, context);
|
|
1733
1733
|
}
|
|
1734
1734
|
const data = await parseBody(output.body, context);
|
|
1735
1735
|
let contents = {};
|
|
1736
|
-
contents =
|
|
1736
|
+
contents = de_PutDestinationResponse(data, context);
|
|
1737
1737
|
const response = {
|
|
1738
1738
|
$metadata: deserializeMetadata(output),
|
|
1739
1739
|
...contents,
|
|
1740
1740
|
};
|
|
1741
1741
|
return Promise.resolve(response);
|
|
1742
1742
|
};
|
|
1743
|
-
const
|
|
1743
|
+
const de_PutDestinationCommandError = async (output, context) => {
|
|
1744
1744
|
const parsedOutput = {
|
|
1745
1745
|
...output,
|
|
1746
1746
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1749,13 +1749,13 @@ const deserializeAws_json1_1PutDestinationCommandError = async (output, context)
|
|
|
1749
1749
|
switch (errorCode) {
|
|
1750
1750
|
case "InvalidParameterException":
|
|
1751
1751
|
case "com.amazonaws.cloudwatchlogs#InvalidParameterException":
|
|
1752
|
-
throw await
|
|
1752
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1753
1753
|
case "OperationAbortedException":
|
|
1754
1754
|
case "com.amazonaws.cloudwatchlogs#OperationAbortedException":
|
|
1755
|
-
throw await
|
|
1755
|
+
throw await de_OperationAbortedExceptionRes(parsedOutput, context);
|
|
1756
1756
|
case "ServiceUnavailableException":
|
|
1757
1757
|
case "com.amazonaws.cloudwatchlogs#ServiceUnavailableException":
|
|
1758
|
-
throw await
|
|
1758
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1759
1759
|
default:
|
|
1760
1760
|
const parsedBody = parsedOutput.body;
|
|
1761
1761
|
throwDefaultError({
|
|
@@ -1766,9 +1766,9 @@ const deserializeAws_json1_1PutDestinationCommandError = async (output, context)
|
|
|
1766
1766
|
});
|
|
1767
1767
|
}
|
|
1768
1768
|
};
|
|
1769
|
-
export const
|
|
1769
|
+
export const de_PutDestinationPolicyCommand = async (output, context) => {
|
|
1770
1770
|
if (output.statusCode >= 300) {
|
|
1771
|
-
return
|
|
1771
|
+
return de_PutDestinationPolicyCommandError(output, context);
|
|
1772
1772
|
}
|
|
1773
1773
|
await collectBody(output.body, context);
|
|
1774
1774
|
const response = {
|
|
@@ -1776,7 +1776,7 @@ export const deserializeAws_json1_1PutDestinationPolicyCommand = async (output,
|
|
|
1776
1776
|
};
|
|
1777
1777
|
return Promise.resolve(response);
|
|
1778
1778
|
};
|
|
1779
|
-
const
|
|
1779
|
+
const de_PutDestinationPolicyCommandError = async (output, context) => {
|
|
1780
1780
|
const parsedOutput = {
|
|
1781
1781
|
...output,
|
|
1782
1782
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1785,13 +1785,13 @@ const deserializeAws_json1_1PutDestinationPolicyCommandError = async (output, co
|
|
|
1785
1785
|
switch (errorCode) {
|
|
1786
1786
|
case "InvalidParameterException":
|
|
1787
1787
|
case "com.amazonaws.cloudwatchlogs#InvalidParameterException":
|
|
1788
|
-
throw await
|
|
1788
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1789
1789
|
case "OperationAbortedException":
|
|
1790
1790
|
case "com.amazonaws.cloudwatchlogs#OperationAbortedException":
|
|
1791
|
-
throw await
|
|
1791
|
+
throw await de_OperationAbortedExceptionRes(parsedOutput, context);
|
|
1792
1792
|
case "ServiceUnavailableException":
|
|
1793
1793
|
case "com.amazonaws.cloudwatchlogs#ServiceUnavailableException":
|
|
1794
|
-
throw await
|
|
1794
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1795
1795
|
default:
|
|
1796
1796
|
const parsedBody = parsedOutput.body;
|
|
1797
1797
|
throwDefaultError({
|
|
@@ -1802,20 +1802,20 @@ const deserializeAws_json1_1PutDestinationPolicyCommandError = async (output, co
|
|
|
1802
1802
|
});
|
|
1803
1803
|
}
|
|
1804
1804
|
};
|
|
1805
|
-
export const
|
|
1805
|
+
export const de_PutLogEventsCommand = async (output, context) => {
|
|
1806
1806
|
if (output.statusCode >= 300) {
|
|
1807
|
-
return
|
|
1807
|
+
return de_PutLogEventsCommandError(output, context);
|
|
1808
1808
|
}
|
|
1809
1809
|
const data = await parseBody(output.body, context);
|
|
1810
1810
|
let contents = {};
|
|
1811
|
-
contents =
|
|
1811
|
+
contents = de_PutLogEventsResponse(data, context);
|
|
1812
1812
|
const response = {
|
|
1813
1813
|
$metadata: deserializeMetadata(output),
|
|
1814
1814
|
...contents,
|
|
1815
1815
|
};
|
|
1816
1816
|
return Promise.resolve(response);
|
|
1817
1817
|
};
|
|
1818
|
-
const
|
|
1818
|
+
const de_PutLogEventsCommandError = async (output, context) => {
|
|
1819
1819
|
const parsedOutput = {
|
|
1820
1820
|
...output,
|
|
1821
1821
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1824,22 +1824,22 @@ const deserializeAws_json1_1PutLogEventsCommandError = async (output, context) =
|
|
|
1824
1824
|
switch (errorCode) {
|
|
1825
1825
|
case "DataAlreadyAcceptedException":
|
|
1826
1826
|
case "com.amazonaws.cloudwatchlogs#DataAlreadyAcceptedException":
|
|
1827
|
-
throw await
|
|
1827
|
+
throw await de_DataAlreadyAcceptedExceptionRes(parsedOutput, context);
|
|
1828
1828
|
case "InvalidParameterException":
|
|
1829
1829
|
case "com.amazonaws.cloudwatchlogs#InvalidParameterException":
|
|
1830
|
-
throw await
|
|
1830
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1831
1831
|
case "InvalidSequenceTokenException":
|
|
1832
1832
|
case "com.amazonaws.cloudwatchlogs#InvalidSequenceTokenException":
|
|
1833
|
-
throw await
|
|
1833
|
+
throw await de_InvalidSequenceTokenExceptionRes(parsedOutput, context);
|
|
1834
1834
|
case "ResourceNotFoundException":
|
|
1835
1835
|
case "com.amazonaws.cloudwatchlogs#ResourceNotFoundException":
|
|
1836
|
-
throw await
|
|
1836
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1837
1837
|
case "ServiceUnavailableException":
|
|
1838
1838
|
case "com.amazonaws.cloudwatchlogs#ServiceUnavailableException":
|
|
1839
|
-
throw await
|
|
1839
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1840
1840
|
case "UnrecognizedClientException":
|
|
1841
1841
|
case "com.amazonaws.cloudwatchlogs#UnrecognizedClientException":
|
|
1842
|
-
throw await
|
|
1842
|
+
throw await de_UnrecognizedClientExceptionRes(parsedOutput, context);
|
|
1843
1843
|
default:
|
|
1844
1844
|
const parsedBody = parsedOutput.body;
|
|
1845
1845
|
throwDefaultError({
|
|
@@ -1850,9 +1850,9 @@ const deserializeAws_json1_1PutLogEventsCommandError = async (output, context) =
|
|
|
1850
1850
|
});
|
|
1851
1851
|
}
|
|
1852
1852
|
};
|
|
1853
|
-
export const
|
|
1853
|
+
export const de_PutMetricFilterCommand = async (output, context) => {
|
|
1854
1854
|
if (output.statusCode >= 300) {
|
|
1855
|
-
return
|
|
1855
|
+
return de_PutMetricFilterCommandError(output, context);
|
|
1856
1856
|
}
|
|
1857
1857
|
await collectBody(output.body, context);
|
|
1858
1858
|
const response = {
|
|
@@ -1860,7 +1860,7 @@ export const deserializeAws_json1_1PutMetricFilterCommand = async (output, conte
|
|
|
1860
1860
|
};
|
|
1861
1861
|
return Promise.resolve(response);
|
|
1862
1862
|
};
|
|
1863
|
-
const
|
|
1863
|
+
const de_PutMetricFilterCommandError = async (output, context) => {
|
|
1864
1864
|
const parsedOutput = {
|
|
1865
1865
|
...output,
|
|
1866
1866
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1869,19 +1869,19 @@ const deserializeAws_json1_1PutMetricFilterCommandError = async (output, context
|
|
|
1869
1869
|
switch (errorCode) {
|
|
1870
1870
|
case "InvalidParameterException":
|
|
1871
1871
|
case "com.amazonaws.cloudwatchlogs#InvalidParameterException":
|
|
1872
|
-
throw await
|
|
1872
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1873
1873
|
case "LimitExceededException":
|
|
1874
1874
|
case "com.amazonaws.cloudwatchlogs#LimitExceededException":
|
|
1875
|
-
throw await
|
|
1875
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1876
1876
|
case "OperationAbortedException":
|
|
1877
1877
|
case "com.amazonaws.cloudwatchlogs#OperationAbortedException":
|
|
1878
|
-
throw await
|
|
1878
|
+
throw await de_OperationAbortedExceptionRes(parsedOutput, context);
|
|
1879
1879
|
case "ResourceNotFoundException":
|
|
1880
1880
|
case "com.amazonaws.cloudwatchlogs#ResourceNotFoundException":
|
|
1881
|
-
throw await
|
|
1881
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1882
1882
|
case "ServiceUnavailableException":
|
|
1883
1883
|
case "com.amazonaws.cloudwatchlogs#ServiceUnavailableException":
|
|
1884
|
-
throw await
|
|
1884
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1885
1885
|
default:
|
|
1886
1886
|
const parsedBody = parsedOutput.body;
|
|
1887
1887
|
throwDefaultError({
|
|
@@ -1892,20 +1892,20 @@ const deserializeAws_json1_1PutMetricFilterCommandError = async (output, context
|
|
|
1892
1892
|
});
|
|
1893
1893
|
}
|
|
1894
1894
|
};
|
|
1895
|
-
export const
|
|
1895
|
+
export const de_PutQueryDefinitionCommand = async (output, context) => {
|
|
1896
1896
|
if (output.statusCode >= 300) {
|
|
1897
|
-
return
|
|
1897
|
+
return de_PutQueryDefinitionCommandError(output, context);
|
|
1898
1898
|
}
|
|
1899
1899
|
const data = await parseBody(output.body, context);
|
|
1900
1900
|
let contents = {};
|
|
1901
|
-
contents =
|
|
1901
|
+
contents = de_PutQueryDefinitionResponse(data, context);
|
|
1902
1902
|
const response = {
|
|
1903
1903
|
$metadata: deserializeMetadata(output),
|
|
1904
1904
|
...contents,
|
|
1905
1905
|
};
|
|
1906
1906
|
return Promise.resolve(response);
|
|
1907
1907
|
};
|
|
1908
|
-
const
|
|
1908
|
+
const de_PutQueryDefinitionCommandError = async (output, context) => {
|
|
1909
1909
|
const parsedOutput = {
|
|
1910
1910
|
...output,
|
|
1911
1911
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1914,16 +1914,16 @@ const deserializeAws_json1_1PutQueryDefinitionCommandError = async (output, cont
|
|
|
1914
1914
|
switch (errorCode) {
|
|
1915
1915
|
case "InvalidParameterException":
|
|
1916
1916
|
case "com.amazonaws.cloudwatchlogs#InvalidParameterException":
|
|
1917
|
-
throw await
|
|
1917
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1918
1918
|
case "LimitExceededException":
|
|
1919
1919
|
case "com.amazonaws.cloudwatchlogs#LimitExceededException":
|
|
1920
|
-
throw await
|
|
1920
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1921
1921
|
case "ResourceNotFoundException":
|
|
1922
1922
|
case "com.amazonaws.cloudwatchlogs#ResourceNotFoundException":
|
|
1923
|
-
throw await
|
|
1923
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1924
1924
|
case "ServiceUnavailableException":
|
|
1925
1925
|
case "com.amazonaws.cloudwatchlogs#ServiceUnavailableException":
|
|
1926
|
-
throw await
|
|
1926
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1927
1927
|
default:
|
|
1928
1928
|
const parsedBody = parsedOutput.body;
|
|
1929
1929
|
throwDefaultError({
|
|
@@ -1934,20 +1934,20 @@ const deserializeAws_json1_1PutQueryDefinitionCommandError = async (output, cont
|
|
|
1934
1934
|
});
|
|
1935
1935
|
}
|
|
1936
1936
|
};
|
|
1937
|
-
export const
|
|
1937
|
+
export const de_PutResourcePolicyCommand = async (output, context) => {
|
|
1938
1938
|
if (output.statusCode >= 300) {
|
|
1939
|
-
return
|
|
1939
|
+
return de_PutResourcePolicyCommandError(output, context);
|
|
1940
1940
|
}
|
|
1941
1941
|
const data = await parseBody(output.body, context);
|
|
1942
1942
|
let contents = {};
|
|
1943
|
-
contents =
|
|
1943
|
+
contents = de_PutResourcePolicyResponse(data, context);
|
|
1944
1944
|
const response = {
|
|
1945
1945
|
$metadata: deserializeMetadata(output),
|
|
1946
1946
|
...contents,
|
|
1947
1947
|
};
|
|
1948
1948
|
return Promise.resolve(response);
|
|
1949
1949
|
};
|
|
1950
|
-
const
|
|
1950
|
+
const de_PutResourcePolicyCommandError = async (output, context) => {
|
|
1951
1951
|
const parsedOutput = {
|
|
1952
1952
|
...output,
|
|
1953
1953
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1956,13 +1956,13 @@ const deserializeAws_json1_1PutResourcePolicyCommandError = async (output, conte
|
|
|
1956
1956
|
switch (errorCode) {
|
|
1957
1957
|
case "InvalidParameterException":
|
|
1958
1958
|
case "com.amazonaws.cloudwatchlogs#InvalidParameterException":
|
|
1959
|
-
throw await
|
|
1959
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1960
1960
|
case "LimitExceededException":
|
|
1961
1961
|
case "com.amazonaws.cloudwatchlogs#LimitExceededException":
|
|
1962
|
-
throw await
|
|
1962
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1963
1963
|
case "ServiceUnavailableException":
|
|
1964
1964
|
case "com.amazonaws.cloudwatchlogs#ServiceUnavailableException":
|
|
1965
|
-
throw await
|
|
1965
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1966
1966
|
default:
|
|
1967
1967
|
const parsedBody = parsedOutput.body;
|
|
1968
1968
|
throwDefaultError({
|
|
@@ -1973,9 +1973,9 @@ const deserializeAws_json1_1PutResourcePolicyCommandError = async (output, conte
|
|
|
1973
1973
|
});
|
|
1974
1974
|
}
|
|
1975
1975
|
};
|
|
1976
|
-
export const
|
|
1976
|
+
export const de_PutRetentionPolicyCommand = async (output, context) => {
|
|
1977
1977
|
if (output.statusCode >= 300) {
|
|
1978
|
-
return
|
|
1978
|
+
return de_PutRetentionPolicyCommandError(output, context);
|
|
1979
1979
|
}
|
|
1980
1980
|
await collectBody(output.body, context);
|
|
1981
1981
|
const response = {
|
|
@@ -1983,7 +1983,7 @@ export const deserializeAws_json1_1PutRetentionPolicyCommand = async (output, co
|
|
|
1983
1983
|
};
|
|
1984
1984
|
return Promise.resolve(response);
|
|
1985
1985
|
};
|
|
1986
|
-
const
|
|
1986
|
+
const de_PutRetentionPolicyCommandError = async (output, context) => {
|
|
1987
1987
|
const parsedOutput = {
|
|
1988
1988
|
...output,
|
|
1989
1989
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1992,16 +1992,16 @@ const deserializeAws_json1_1PutRetentionPolicyCommandError = async (output, cont
|
|
|
1992
1992
|
switch (errorCode) {
|
|
1993
1993
|
case "InvalidParameterException":
|
|
1994
1994
|
case "com.amazonaws.cloudwatchlogs#InvalidParameterException":
|
|
1995
|
-
throw await
|
|
1995
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1996
1996
|
case "OperationAbortedException":
|
|
1997
1997
|
case "com.amazonaws.cloudwatchlogs#OperationAbortedException":
|
|
1998
|
-
throw await
|
|
1998
|
+
throw await de_OperationAbortedExceptionRes(parsedOutput, context);
|
|
1999
1999
|
case "ResourceNotFoundException":
|
|
2000
2000
|
case "com.amazonaws.cloudwatchlogs#ResourceNotFoundException":
|
|
2001
|
-
throw await
|
|
2001
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2002
2002
|
case "ServiceUnavailableException":
|
|
2003
2003
|
case "com.amazonaws.cloudwatchlogs#ServiceUnavailableException":
|
|
2004
|
-
throw await
|
|
2004
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
2005
2005
|
default:
|
|
2006
2006
|
const parsedBody = parsedOutput.body;
|
|
2007
2007
|
throwDefaultError({
|
|
@@ -2012,9 +2012,9 @@ const deserializeAws_json1_1PutRetentionPolicyCommandError = async (output, cont
|
|
|
2012
2012
|
});
|
|
2013
2013
|
}
|
|
2014
2014
|
};
|
|
2015
|
-
export const
|
|
2015
|
+
export const de_PutSubscriptionFilterCommand = async (output, context) => {
|
|
2016
2016
|
if (output.statusCode >= 300) {
|
|
2017
|
-
return
|
|
2017
|
+
return de_PutSubscriptionFilterCommandError(output, context);
|
|
2018
2018
|
}
|
|
2019
2019
|
await collectBody(output.body, context);
|
|
2020
2020
|
const response = {
|
|
@@ -2022,7 +2022,7 @@ export const deserializeAws_json1_1PutSubscriptionFilterCommand = async (output,
|
|
|
2022
2022
|
};
|
|
2023
2023
|
return Promise.resolve(response);
|
|
2024
2024
|
};
|
|
2025
|
-
const
|
|
2025
|
+
const de_PutSubscriptionFilterCommandError = async (output, context) => {
|
|
2026
2026
|
const parsedOutput = {
|
|
2027
2027
|
...output,
|
|
2028
2028
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2031,19 +2031,19 @@ const deserializeAws_json1_1PutSubscriptionFilterCommandError = async (output, c
|
|
|
2031
2031
|
switch (errorCode) {
|
|
2032
2032
|
case "InvalidParameterException":
|
|
2033
2033
|
case "com.amazonaws.cloudwatchlogs#InvalidParameterException":
|
|
2034
|
-
throw await
|
|
2034
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2035
2035
|
case "LimitExceededException":
|
|
2036
2036
|
case "com.amazonaws.cloudwatchlogs#LimitExceededException":
|
|
2037
|
-
throw await
|
|
2037
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
2038
2038
|
case "OperationAbortedException":
|
|
2039
2039
|
case "com.amazonaws.cloudwatchlogs#OperationAbortedException":
|
|
2040
|
-
throw await
|
|
2040
|
+
throw await de_OperationAbortedExceptionRes(parsedOutput, context);
|
|
2041
2041
|
case "ResourceNotFoundException":
|
|
2042
2042
|
case "com.amazonaws.cloudwatchlogs#ResourceNotFoundException":
|
|
2043
|
-
throw await
|
|
2043
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2044
2044
|
case "ServiceUnavailableException":
|
|
2045
2045
|
case "com.amazonaws.cloudwatchlogs#ServiceUnavailableException":
|
|
2046
|
-
throw await
|
|
2046
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
2047
2047
|
default:
|
|
2048
2048
|
const parsedBody = parsedOutput.body;
|
|
2049
2049
|
throwDefaultError({
|
|
@@ -2054,20 +2054,20 @@ const deserializeAws_json1_1PutSubscriptionFilterCommandError = async (output, c
|
|
|
2054
2054
|
});
|
|
2055
2055
|
}
|
|
2056
2056
|
};
|
|
2057
|
-
export const
|
|
2057
|
+
export const de_StartQueryCommand = async (output, context) => {
|
|
2058
2058
|
if (output.statusCode >= 300) {
|
|
2059
|
-
return
|
|
2059
|
+
return de_StartQueryCommandError(output, context);
|
|
2060
2060
|
}
|
|
2061
2061
|
const data = await parseBody(output.body, context);
|
|
2062
2062
|
let contents = {};
|
|
2063
|
-
contents =
|
|
2063
|
+
contents = de_StartQueryResponse(data, context);
|
|
2064
2064
|
const response = {
|
|
2065
2065
|
$metadata: deserializeMetadata(output),
|
|
2066
2066
|
...contents,
|
|
2067
2067
|
};
|
|
2068
2068
|
return Promise.resolve(response);
|
|
2069
2069
|
};
|
|
2070
|
-
const
|
|
2070
|
+
const de_StartQueryCommandError = async (output, context) => {
|
|
2071
2071
|
const parsedOutput = {
|
|
2072
2072
|
...output,
|
|
2073
2073
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2076,19 +2076,19 @@ const deserializeAws_json1_1StartQueryCommandError = async (output, context) =>
|
|
|
2076
2076
|
switch (errorCode) {
|
|
2077
2077
|
case "InvalidParameterException":
|
|
2078
2078
|
case "com.amazonaws.cloudwatchlogs#InvalidParameterException":
|
|
2079
|
-
throw await
|
|
2079
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2080
2080
|
case "LimitExceededException":
|
|
2081
2081
|
case "com.amazonaws.cloudwatchlogs#LimitExceededException":
|
|
2082
|
-
throw await
|
|
2082
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
2083
2083
|
case "MalformedQueryException":
|
|
2084
2084
|
case "com.amazonaws.cloudwatchlogs#MalformedQueryException":
|
|
2085
|
-
throw await
|
|
2085
|
+
throw await de_MalformedQueryExceptionRes(parsedOutput, context);
|
|
2086
2086
|
case "ResourceNotFoundException":
|
|
2087
2087
|
case "com.amazonaws.cloudwatchlogs#ResourceNotFoundException":
|
|
2088
|
-
throw await
|
|
2088
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2089
2089
|
case "ServiceUnavailableException":
|
|
2090
2090
|
case "com.amazonaws.cloudwatchlogs#ServiceUnavailableException":
|
|
2091
|
-
throw await
|
|
2091
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
2092
2092
|
default:
|
|
2093
2093
|
const parsedBody = parsedOutput.body;
|
|
2094
2094
|
throwDefaultError({
|
|
@@ -2099,20 +2099,20 @@ const deserializeAws_json1_1StartQueryCommandError = async (output, context) =>
|
|
|
2099
2099
|
});
|
|
2100
2100
|
}
|
|
2101
2101
|
};
|
|
2102
|
-
export const
|
|
2102
|
+
export const de_StopQueryCommand = async (output, context) => {
|
|
2103
2103
|
if (output.statusCode >= 300) {
|
|
2104
|
-
return
|
|
2104
|
+
return de_StopQueryCommandError(output, context);
|
|
2105
2105
|
}
|
|
2106
2106
|
const data = await parseBody(output.body, context);
|
|
2107
2107
|
let contents = {};
|
|
2108
|
-
contents =
|
|
2108
|
+
contents = de_StopQueryResponse(data, context);
|
|
2109
2109
|
const response = {
|
|
2110
2110
|
$metadata: deserializeMetadata(output),
|
|
2111
2111
|
...contents,
|
|
2112
2112
|
};
|
|
2113
2113
|
return Promise.resolve(response);
|
|
2114
2114
|
};
|
|
2115
|
-
const
|
|
2115
|
+
const de_StopQueryCommandError = async (output, context) => {
|
|
2116
2116
|
const parsedOutput = {
|
|
2117
2117
|
...output,
|
|
2118
2118
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2121,13 +2121,13 @@ const deserializeAws_json1_1StopQueryCommandError = async (output, context) => {
|
|
|
2121
2121
|
switch (errorCode) {
|
|
2122
2122
|
case "InvalidParameterException":
|
|
2123
2123
|
case "com.amazonaws.cloudwatchlogs#InvalidParameterException":
|
|
2124
|
-
throw await
|
|
2124
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2125
2125
|
case "ResourceNotFoundException":
|
|
2126
2126
|
case "com.amazonaws.cloudwatchlogs#ResourceNotFoundException":
|
|
2127
|
-
throw await
|
|
2127
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2128
2128
|
case "ServiceUnavailableException":
|
|
2129
2129
|
case "com.amazonaws.cloudwatchlogs#ServiceUnavailableException":
|
|
2130
|
-
throw await
|
|
2130
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
2131
2131
|
default:
|
|
2132
2132
|
const parsedBody = parsedOutput.body;
|
|
2133
2133
|
throwDefaultError({
|
|
@@ -2138,9 +2138,9 @@ const deserializeAws_json1_1StopQueryCommandError = async (output, context) => {
|
|
|
2138
2138
|
});
|
|
2139
2139
|
}
|
|
2140
2140
|
};
|
|
2141
|
-
export const
|
|
2141
|
+
export const de_TagLogGroupCommand = async (output, context) => {
|
|
2142
2142
|
if (output.statusCode >= 300) {
|
|
2143
|
-
return
|
|
2143
|
+
return de_TagLogGroupCommandError(output, context);
|
|
2144
2144
|
}
|
|
2145
2145
|
await collectBody(output.body, context);
|
|
2146
2146
|
const response = {
|
|
@@ -2148,7 +2148,7 @@ export const deserializeAws_json1_1TagLogGroupCommand = async (output, context)
|
|
|
2148
2148
|
};
|
|
2149
2149
|
return Promise.resolve(response);
|
|
2150
2150
|
};
|
|
2151
|
-
const
|
|
2151
|
+
const de_TagLogGroupCommandError = async (output, context) => {
|
|
2152
2152
|
const parsedOutput = {
|
|
2153
2153
|
...output,
|
|
2154
2154
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2157,10 +2157,10 @@ const deserializeAws_json1_1TagLogGroupCommandError = async (output, context) =>
|
|
|
2157
2157
|
switch (errorCode) {
|
|
2158
2158
|
case "InvalidParameterException":
|
|
2159
2159
|
case "com.amazonaws.cloudwatchlogs#InvalidParameterException":
|
|
2160
|
-
throw await
|
|
2160
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2161
2161
|
case "ResourceNotFoundException":
|
|
2162
2162
|
case "com.amazonaws.cloudwatchlogs#ResourceNotFoundException":
|
|
2163
|
-
throw await
|
|
2163
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2164
2164
|
default:
|
|
2165
2165
|
const parsedBody = parsedOutput.body;
|
|
2166
2166
|
throwDefaultError({
|
|
@@ -2171,9 +2171,9 @@ const deserializeAws_json1_1TagLogGroupCommandError = async (output, context) =>
|
|
|
2171
2171
|
});
|
|
2172
2172
|
}
|
|
2173
2173
|
};
|
|
2174
|
-
export const
|
|
2174
|
+
export const de_TagResourceCommand = async (output, context) => {
|
|
2175
2175
|
if (output.statusCode >= 300) {
|
|
2176
|
-
return
|
|
2176
|
+
return de_TagResourceCommandError(output, context);
|
|
2177
2177
|
}
|
|
2178
2178
|
await collectBody(output.body, context);
|
|
2179
2179
|
const response = {
|
|
@@ -2181,7 +2181,7 @@ export const deserializeAws_json1_1TagResourceCommand = async (output, context)
|
|
|
2181
2181
|
};
|
|
2182
2182
|
return Promise.resolve(response);
|
|
2183
2183
|
};
|
|
2184
|
-
const
|
|
2184
|
+
const de_TagResourceCommandError = async (output, context) => {
|
|
2185
2185
|
const parsedOutput = {
|
|
2186
2186
|
...output,
|
|
2187
2187
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2190,16 +2190,16 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
|
|
|
2190
2190
|
switch (errorCode) {
|
|
2191
2191
|
case "InvalidParameterException":
|
|
2192
2192
|
case "com.amazonaws.cloudwatchlogs#InvalidParameterException":
|
|
2193
|
-
throw await
|
|
2193
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2194
2194
|
case "ResourceNotFoundException":
|
|
2195
2195
|
case "com.amazonaws.cloudwatchlogs#ResourceNotFoundException":
|
|
2196
|
-
throw await
|
|
2196
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2197
2197
|
case "ServiceUnavailableException":
|
|
2198
2198
|
case "com.amazonaws.cloudwatchlogs#ServiceUnavailableException":
|
|
2199
|
-
throw await
|
|
2199
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
2200
2200
|
case "TooManyTagsException":
|
|
2201
2201
|
case "com.amazonaws.cloudwatchlogs#TooManyTagsException":
|
|
2202
|
-
throw await
|
|
2202
|
+
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
2203
2203
|
default:
|
|
2204
2204
|
const parsedBody = parsedOutput.body;
|
|
2205
2205
|
throwDefaultError({
|
|
@@ -2210,20 +2210,20 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
|
|
|
2210
2210
|
});
|
|
2211
2211
|
}
|
|
2212
2212
|
};
|
|
2213
|
-
export const
|
|
2213
|
+
export const de_TestMetricFilterCommand = async (output, context) => {
|
|
2214
2214
|
if (output.statusCode >= 300) {
|
|
2215
|
-
return
|
|
2215
|
+
return de_TestMetricFilterCommandError(output, context);
|
|
2216
2216
|
}
|
|
2217
2217
|
const data = await parseBody(output.body, context);
|
|
2218
2218
|
let contents = {};
|
|
2219
|
-
contents =
|
|
2219
|
+
contents = de_TestMetricFilterResponse(data, context);
|
|
2220
2220
|
const response = {
|
|
2221
2221
|
$metadata: deserializeMetadata(output),
|
|
2222
2222
|
...contents,
|
|
2223
2223
|
};
|
|
2224
2224
|
return Promise.resolve(response);
|
|
2225
2225
|
};
|
|
2226
|
-
const
|
|
2226
|
+
const de_TestMetricFilterCommandError = async (output, context) => {
|
|
2227
2227
|
const parsedOutput = {
|
|
2228
2228
|
...output,
|
|
2229
2229
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2232,10 +2232,10 @@ const deserializeAws_json1_1TestMetricFilterCommandError = async (output, contex
|
|
|
2232
2232
|
switch (errorCode) {
|
|
2233
2233
|
case "InvalidParameterException":
|
|
2234
2234
|
case "com.amazonaws.cloudwatchlogs#InvalidParameterException":
|
|
2235
|
-
throw await
|
|
2235
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2236
2236
|
case "ServiceUnavailableException":
|
|
2237
2237
|
case "com.amazonaws.cloudwatchlogs#ServiceUnavailableException":
|
|
2238
|
-
throw await
|
|
2238
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
2239
2239
|
default:
|
|
2240
2240
|
const parsedBody = parsedOutput.body;
|
|
2241
2241
|
throwDefaultError({
|
|
@@ -2246,9 +2246,9 @@ const deserializeAws_json1_1TestMetricFilterCommandError = async (output, contex
|
|
|
2246
2246
|
});
|
|
2247
2247
|
}
|
|
2248
2248
|
};
|
|
2249
|
-
export const
|
|
2249
|
+
export const de_UntagLogGroupCommand = async (output, context) => {
|
|
2250
2250
|
if (output.statusCode >= 300) {
|
|
2251
|
-
return
|
|
2251
|
+
return de_UntagLogGroupCommandError(output, context);
|
|
2252
2252
|
}
|
|
2253
2253
|
await collectBody(output.body, context);
|
|
2254
2254
|
const response = {
|
|
@@ -2256,7 +2256,7 @@ export const deserializeAws_json1_1UntagLogGroupCommand = async (output, context
|
|
|
2256
2256
|
};
|
|
2257
2257
|
return Promise.resolve(response);
|
|
2258
2258
|
};
|
|
2259
|
-
const
|
|
2259
|
+
const de_UntagLogGroupCommandError = async (output, context) => {
|
|
2260
2260
|
const parsedOutput = {
|
|
2261
2261
|
...output,
|
|
2262
2262
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2265,7 +2265,7 @@ const deserializeAws_json1_1UntagLogGroupCommandError = async (output, context)
|
|
|
2265
2265
|
switch (errorCode) {
|
|
2266
2266
|
case "ResourceNotFoundException":
|
|
2267
2267
|
case "com.amazonaws.cloudwatchlogs#ResourceNotFoundException":
|
|
2268
|
-
throw await
|
|
2268
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2269
2269
|
default:
|
|
2270
2270
|
const parsedBody = parsedOutput.body;
|
|
2271
2271
|
throwDefaultError({
|
|
@@ -2276,9 +2276,9 @@ const deserializeAws_json1_1UntagLogGroupCommandError = async (output, context)
|
|
|
2276
2276
|
});
|
|
2277
2277
|
}
|
|
2278
2278
|
};
|
|
2279
|
-
export const
|
|
2279
|
+
export const de_UntagResourceCommand = async (output, context) => {
|
|
2280
2280
|
if (output.statusCode >= 300) {
|
|
2281
|
-
return
|
|
2281
|
+
return de_UntagResourceCommandError(output, context);
|
|
2282
2282
|
}
|
|
2283
2283
|
await collectBody(output.body, context);
|
|
2284
2284
|
const response = {
|
|
@@ -2286,7 +2286,7 @@ export const deserializeAws_json1_1UntagResourceCommand = async (output, context
|
|
|
2286
2286
|
};
|
|
2287
2287
|
return Promise.resolve(response);
|
|
2288
2288
|
};
|
|
2289
|
-
const
|
|
2289
|
+
const de_UntagResourceCommandError = async (output, context) => {
|
|
2290
2290
|
const parsedOutput = {
|
|
2291
2291
|
...output,
|
|
2292
2292
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2295,13 +2295,13 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
|
|
|
2295
2295
|
switch (errorCode) {
|
|
2296
2296
|
case "InvalidParameterException":
|
|
2297
2297
|
case "com.amazonaws.cloudwatchlogs#InvalidParameterException":
|
|
2298
|
-
throw await
|
|
2298
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2299
2299
|
case "ResourceNotFoundException":
|
|
2300
2300
|
case "com.amazonaws.cloudwatchlogs#ResourceNotFoundException":
|
|
2301
|
-
throw await
|
|
2301
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2302
2302
|
case "ServiceUnavailableException":
|
|
2303
2303
|
case "com.amazonaws.cloudwatchlogs#ServiceUnavailableException":
|
|
2304
|
-
throw await
|
|
2304
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
2305
2305
|
default:
|
|
2306
2306
|
const parsedBody = parsedOutput.body;
|
|
2307
2307
|
throwDefaultError({
|
|
@@ -2312,133 +2312,133 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
|
|
|
2312
2312
|
});
|
|
2313
2313
|
}
|
|
2314
2314
|
};
|
|
2315
|
-
const
|
|
2315
|
+
const de_DataAlreadyAcceptedExceptionRes = async (parsedOutput, context) => {
|
|
2316
2316
|
const body = parsedOutput.body;
|
|
2317
|
-
const deserialized =
|
|
2317
|
+
const deserialized = de_DataAlreadyAcceptedException(body, context);
|
|
2318
2318
|
const exception = new DataAlreadyAcceptedException({
|
|
2319
2319
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2320
2320
|
...deserialized,
|
|
2321
2321
|
});
|
|
2322
2322
|
return __decorateServiceException(exception, body);
|
|
2323
2323
|
};
|
|
2324
|
-
const
|
|
2324
|
+
const de_InvalidOperationExceptionRes = async (parsedOutput, context) => {
|
|
2325
2325
|
const body = parsedOutput.body;
|
|
2326
|
-
const deserialized =
|
|
2326
|
+
const deserialized = de_InvalidOperationException(body, context);
|
|
2327
2327
|
const exception = new InvalidOperationException({
|
|
2328
2328
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2329
2329
|
...deserialized,
|
|
2330
2330
|
});
|
|
2331
2331
|
return __decorateServiceException(exception, body);
|
|
2332
2332
|
};
|
|
2333
|
-
const
|
|
2333
|
+
const de_InvalidParameterExceptionRes = async (parsedOutput, context) => {
|
|
2334
2334
|
const body = parsedOutput.body;
|
|
2335
|
-
const deserialized =
|
|
2335
|
+
const deserialized = de_InvalidParameterException(body, context);
|
|
2336
2336
|
const exception = new InvalidParameterException({
|
|
2337
2337
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2338
2338
|
...deserialized,
|
|
2339
2339
|
});
|
|
2340
2340
|
return __decorateServiceException(exception, body);
|
|
2341
2341
|
};
|
|
2342
|
-
const
|
|
2342
|
+
const de_InvalidSequenceTokenExceptionRes = async (parsedOutput, context) => {
|
|
2343
2343
|
const body = parsedOutput.body;
|
|
2344
|
-
const deserialized =
|
|
2344
|
+
const deserialized = de_InvalidSequenceTokenException(body, context);
|
|
2345
2345
|
const exception = new InvalidSequenceTokenException({
|
|
2346
2346
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2347
2347
|
...deserialized,
|
|
2348
2348
|
});
|
|
2349
2349
|
return __decorateServiceException(exception, body);
|
|
2350
2350
|
};
|
|
2351
|
-
const
|
|
2351
|
+
const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
2352
2352
|
const body = parsedOutput.body;
|
|
2353
|
-
const deserialized =
|
|
2353
|
+
const deserialized = de_LimitExceededException(body, context);
|
|
2354
2354
|
const exception = new LimitExceededException({
|
|
2355
2355
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2356
2356
|
...deserialized,
|
|
2357
2357
|
});
|
|
2358
2358
|
return __decorateServiceException(exception, body);
|
|
2359
2359
|
};
|
|
2360
|
-
const
|
|
2360
|
+
const de_MalformedQueryExceptionRes = async (parsedOutput, context) => {
|
|
2361
2361
|
const body = parsedOutput.body;
|
|
2362
|
-
const deserialized =
|
|
2362
|
+
const deserialized = de_MalformedQueryException(body, context);
|
|
2363
2363
|
const exception = new MalformedQueryException({
|
|
2364
2364
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2365
2365
|
...deserialized,
|
|
2366
2366
|
});
|
|
2367
2367
|
return __decorateServiceException(exception, body);
|
|
2368
2368
|
};
|
|
2369
|
-
const
|
|
2369
|
+
const de_OperationAbortedExceptionRes = async (parsedOutput, context) => {
|
|
2370
2370
|
const body = parsedOutput.body;
|
|
2371
|
-
const deserialized =
|
|
2371
|
+
const deserialized = de_OperationAbortedException(body, context);
|
|
2372
2372
|
const exception = new OperationAbortedException({
|
|
2373
2373
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2374
2374
|
...deserialized,
|
|
2375
2375
|
});
|
|
2376
2376
|
return __decorateServiceException(exception, body);
|
|
2377
2377
|
};
|
|
2378
|
-
const
|
|
2378
|
+
const de_ResourceAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
2379
2379
|
const body = parsedOutput.body;
|
|
2380
|
-
const deserialized =
|
|
2380
|
+
const deserialized = de_ResourceAlreadyExistsException(body, context);
|
|
2381
2381
|
const exception = new ResourceAlreadyExistsException({
|
|
2382
2382
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2383
2383
|
...deserialized,
|
|
2384
2384
|
});
|
|
2385
2385
|
return __decorateServiceException(exception, body);
|
|
2386
2386
|
};
|
|
2387
|
-
const
|
|
2387
|
+
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
2388
2388
|
const body = parsedOutput.body;
|
|
2389
|
-
const deserialized =
|
|
2389
|
+
const deserialized = de_ResourceNotFoundException(body, context);
|
|
2390
2390
|
const exception = new ResourceNotFoundException({
|
|
2391
2391
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2392
2392
|
...deserialized,
|
|
2393
2393
|
});
|
|
2394
2394
|
return __decorateServiceException(exception, body);
|
|
2395
2395
|
};
|
|
2396
|
-
const
|
|
2396
|
+
const de_ServiceUnavailableExceptionRes = async (parsedOutput, context) => {
|
|
2397
2397
|
const body = parsedOutput.body;
|
|
2398
|
-
const deserialized =
|
|
2398
|
+
const deserialized = de_ServiceUnavailableException(body, context);
|
|
2399
2399
|
const exception = new ServiceUnavailableException({
|
|
2400
2400
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2401
2401
|
...deserialized,
|
|
2402
2402
|
});
|
|
2403
2403
|
return __decorateServiceException(exception, body);
|
|
2404
2404
|
};
|
|
2405
|
-
const
|
|
2405
|
+
const de_TooManyTagsExceptionRes = async (parsedOutput, context) => {
|
|
2406
2406
|
const body = parsedOutput.body;
|
|
2407
|
-
const deserialized =
|
|
2407
|
+
const deserialized = de_TooManyTagsException(body, context);
|
|
2408
2408
|
const exception = new TooManyTagsException({
|
|
2409
2409
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2410
2410
|
...deserialized,
|
|
2411
2411
|
});
|
|
2412
2412
|
return __decorateServiceException(exception, body);
|
|
2413
2413
|
};
|
|
2414
|
-
const
|
|
2414
|
+
const de_UnrecognizedClientExceptionRes = async (parsedOutput, context) => {
|
|
2415
2415
|
const body = parsedOutput.body;
|
|
2416
|
-
const deserialized =
|
|
2416
|
+
const deserialized = de_UnrecognizedClientException(body, context);
|
|
2417
2417
|
const exception = new UnrecognizedClientException({
|
|
2418
2418
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2419
2419
|
...deserialized,
|
|
2420
2420
|
});
|
|
2421
2421
|
return __decorateServiceException(exception, body);
|
|
2422
2422
|
};
|
|
2423
|
-
const
|
|
2423
|
+
const se_AccountIds = (input, context) => {
|
|
2424
2424
|
return input
|
|
2425
2425
|
.filter((e) => e != null)
|
|
2426
2426
|
.map((entry) => {
|
|
2427
2427
|
return entry;
|
|
2428
2428
|
});
|
|
2429
2429
|
};
|
|
2430
|
-
const
|
|
2430
|
+
const se_AssociateKmsKeyRequest = (input, context) => {
|
|
2431
2431
|
return {
|
|
2432
2432
|
...(input.kmsKeyId != null && { kmsKeyId: input.kmsKeyId }),
|
|
2433
2433
|
...(input.logGroupName != null && { logGroupName: input.logGroupName }),
|
|
2434
2434
|
};
|
|
2435
2435
|
};
|
|
2436
|
-
const
|
|
2436
|
+
const se_CancelExportTaskRequest = (input, context) => {
|
|
2437
2437
|
return {
|
|
2438
2438
|
...(input.taskId != null && { taskId: input.taskId }),
|
|
2439
2439
|
};
|
|
2440
2440
|
};
|
|
2441
|
-
const
|
|
2441
|
+
const se_CreateExportTaskRequest = (input, context) => {
|
|
2442
2442
|
return {
|
|
2443
2443
|
...(input.destination != null && { destination: input.destination }),
|
|
2444
2444
|
...(input.destinationPrefix != null && { destinationPrefix: input.destinationPrefix }),
|
|
@@ -2449,75 +2449,75 @@ const serializeAws_json1_1CreateExportTaskRequest = (input, context) => {
|
|
|
2449
2449
|
...(input.to != null && { to: input.to }),
|
|
2450
2450
|
};
|
|
2451
2451
|
};
|
|
2452
|
-
const
|
|
2452
|
+
const se_CreateLogGroupRequest = (input, context) => {
|
|
2453
2453
|
return {
|
|
2454
2454
|
...(input.kmsKeyId != null && { kmsKeyId: input.kmsKeyId }),
|
|
2455
2455
|
...(input.logGroupName != null && { logGroupName: input.logGroupName }),
|
|
2456
|
-
...(input.tags != null && { tags:
|
|
2456
|
+
...(input.tags != null && { tags: se_Tags(input.tags, context) }),
|
|
2457
2457
|
};
|
|
2458
2458
|
};
|
|
2459
|
-
const
|
|
2459
|
+
const se_CreateLogStreamRequest = (input, context) => {
|
|
2460
2460
|
return {
|
|
2461
2461
|
...(input.logGroupName != null && { logGroupName: input.logGroupName }),
|
|
2462
2462
|
...(input.logStreamName != null && { logStreamName: input.logStreamName }),
|
|
2463
2463
|
};
|
|
2464
2464
|
};
|
|
2465
|
-
const
|
|
2465
|
+
const se_DeleteDataProtectionPolicyRequest = (input, context) => {
|
|
2466
2466
|
return {
|
|
2467
2467
|
...(input.logGroupIdentifier != null && { logGroupIdentifier: input.logGroupIdentifier }),
|
|
2468
2468
|
};
|
|
2469
2469
|
};
|
|
2470
|
-
const
|
|
2470
|
+
const se_DeleteDestinationRequest = (input, context) => {
|
|
2471
2471
|
return {
|
|
2472
2472
|
...(input.destinationName != null && { destinationName: input.destinationName }),
|
|
2473
2473
|
};
|
|
2474
2474
|
};
|
|
2475
|
-
const
|
|
2475
|
+
const se_DeleteLogGroupRequest = (input, context) => {
|
|
2476
2476
|
return {
|
|
2477
2477
|
...(input.logGroupName != null && { logGroupName: input.logGroupName }),
|
|
2478
2478
|
};
|
|
2479
2479
|
};
|
|
2480
|
-
const
|
|
2480
|
+
const se_DeleteLogStreamRequest = (input, context) => {
|
|
2481
2481
|
return {
|
|
2482
2482
|
...(input.logGroupName != null && { logGroupName: input.logGroupName }),
|
|
2483
2483
|
...(input.logStreamName != null && { logStreamName: input.logStreamName }),
|
|
2484
2484
|
};
|
|
2485
2485
|
};
|
|
2486
|
-
const
|
|
2486
|
+
const se_DeleteMetricFilterRequest = (input, context) => {
|
|
2487
2487
|
return {
|
|
2488
2488
|
...(input.filterName != null && { filterName: input.filterName }),
|
|
2489
2489
|
...(input.logGroupName != null && { logGroupName: input.logGroupName }),
|
|
2490
2490
|
};
|
|
2491
2491
|
};
|
|
2492
|
-
const
|
|
2492
|
+
const se_DeleteQueryDefinitionRequest = (input, context) => {
|
|
2493
2493
|
return {
|
|
2494
2494
|
...(input.queryDefinitionId != null && { queryDefinitionId: input.queryDefinitionId }),
|
|
2495
2495
|
};
|
|
2496
2496
|
};
|
|
2497
|
-
const
|
|
2497
|
+
const se_DeleteResourcePolicyRequest = (input, context) => {
|
|
2498
2498
|
return {
|
|
2499
2499
|
...(input.policyName != null && { policyName: input.policyName }),
|
|
2500
2500
|
};
|
|
2501
2501
|
};
|
|
2502
|
-
const
|
|
2502
|
+
const se_DeleteRetentionPolicyRequest = (input, context) => {
|
|
2503
2503
|
return {
|
|
2504
2504
|
...(input.logGroupName != null && { logGroupName: input.logGroupName }),
|
|
2505
2505
|
};
|
|
2506
2506
|
};
|
|
2507
|
-
const
|
|
2507
|
+
const se_DeleteSubscriptionFilterRequest = (input, context) => {
|
|
2508
2508
|
return {
|
|
2509
2509
|
...(input.filterName != null && { filterName: input.filterName }),
|
|
2510
2510
|
...(input.logGroupName != null && { logGroupName: input.logGroupName }),
|
|
2511
2511
|
};
|
|
2512
2512
|
};
|
|
2513
|
-
const
|
|
2513
|
+
const se_DescribeDestinationsRequest = (input, context) => {
|
|
2514
2514
|
return {
|
|
2515
2515
|
...(input.DestinationNamePrefix != null && { DestinationNamePrefix: input.DestinationNamePrefix }),
|
|
2516
2516
|
...(input.limit != null && { limit: input.limit }),
|
|
2517
2517
|
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
2518
2518
|
};
|
|
2519
2519
|
};
|
|
2520
|
-
const
|
|
2520
|
+
const se_DescribeExportTasksRequest = (input, context) => {
|
|
2521
2521
|
return {
|
|
2522
2522
|
...(input.limit != null && { limit: input.limit }),
|
|
2523
2523
|
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
@@ -2525,11 +2525,9 @@ const serializeAws_json1_1DescribeExportTasksRequest = (input, context) => {
|
|
|
2525
2525
|
...(input.taskId != null && { taskId: input.taskId }),
|
|
2526
2526
|
};
|
|
2527
2527
|
};
|
|
2528
|
-
const
|
|
2528
|
+
const se_DescribeLogGroupsRequest = (input, context) => {
|
|
2529
2529
|
return {
|
|
2530
|
-
...(input.accountIdentifiers != null && {
|
|
2531
|
-
accountIdentifiers: serializeAws_json1_1AccountIds(input.accountIdentifiers, context),
|
|
2532
|
-
}),
|
|
2530
|
+
...(input.accountIdentifiers != null && { accountIdentifiers: se_AccountIds(input.accountIdentifiers, context) }),
|
|
2533
2531
|
...(input.includeLinkedAccounts != null && { includeLinkedAccounts: input.includeLinkedAccounts }),
|
|
2534
2532
|
...(input.limit != null && { limit: input.limit }),
|
|
2535
2533
|
...(input.logGroupNamePattern != null && { logGroupNamePattern: input.logGroupNamePattern }),
|
|
@@ -2537,7 +2535,7 @@ const serializeAws_json1_1DescribeLogGroupsRequest = (input, context) => {
|
|
|
2537
2535
|
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
2538
2536
|
};
|
|
2539
2537
|
};
|
|
2540
|
-
const
|
|
2538
|
+
const se_DescribeLogStreamsRequest = (input, context) => {
|
|
2541
2539
|
return {
|
|
2542
2540
|
...(input.descending != null && { descending: input.descending }),
|
|
2543
2541
|
...(input.limit != null && { limit: input.limit }),
|
|
@@ -2548,7 +2546,7 @@ const serializeAws_json1_1DescribeLogStreamsRequest = (input, context) => {
|
|
|
2548
2546
|
...(input.orderBy != null && { orderBy: input.orderBy }),
|
|
2549
2547
|
};
|
|
2550
2548
|
};
|
|
2551
|
-
const
|
|
2549
|
+
const se_DescribeMetricFiltersRequest = (input, context) => {
|
|
2552
2550
|
return {
|
|
2553
2551
|
...(input.filterNamePrefix != null && { filterNamePrefix: input.filterNamePrefix }),
|
|
2554
2552
|
...(input.limit != null && { limit: input.limit }),
|
|
@@ -2558,7 +2556,7 @@ const serializeAws_json1_1DescribeMetricFiltersRequest = (input, context) => {
|
|
|
2558
2556
|
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
2559
2557
|
};
|
|
2560
2558
|
};
|
|
2561
|
-
const
|
|
2559
|
+
const se_DescribeQueriesRequest = (input, context) => {
|
|
2562
2560
|
return {
|
|
2563
2561
|
...(input.logGroupName != null && { logGroupName: input.logGroupName }),
|
|
2564
2562
|
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
@@ -2566,20 +2564,20 @@ const serializeAws_json1_1DescribeQueriesRequest = (input, context) => {
|
|
|
2566
2564
|
...(input.status != null && { status: input.status }),
|
|
2567
2565
|
};
|
|
2568
2566
|
};
|
|
2569
|
-
const
|
|
2567
|
+
const se_DescribeQueryDefinitionsRequest = (input, context) => {
|
|
2570
2568
|
return {
|
|
2571
2569
|
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
2572
2570
|
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
2573
2571
|
...(input.queryDefinitionNamePrefix != null && { queryDefinitionNamePrefix: input.queryDefinitionNamePrefix }),
|
|
2574
2572
|
};
|
|
2575
2573
|
};
|
|
2576
|
-
const
|
|
2574
|
+
const se_DescribeResourcePoliciesRequest = (input, context) => {
|
|
2577
2575
|
return {
|
|
2578
2576
|
...(input.limit != null && { limit: input.limit }),
|
|
2579
2577
|
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
2580
2578
|
};
|
|
2581
2579
|
};
|
|
2582
|
-
const
|
|
2580
|
+
const se_DescribeSubscriptionFiltersRequest = (input, context) => {
|
|
2583
2581
|
return {
|
|
2584
2582
|
...(input.filterNamePrefix != null && { filterNamePrefix: input.filterNamePrefix }),
|
|
2585
2583
|
...(input.limit != null && { limit: input.limit }),
|
|
@@ -2587,7 +2585,7 @@ const serializeAws_json1_1DescribeSubscriptionFiltersRequest = (input, context)
|
|
|
2587
2585
|
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
2588
2586
|
};
|
|
2589
2587
|
};
|
|
2590
|
-
const
|
|
2588
|
+
const se_Dimensions = (input, context) => {
|
|
2591
2589
|
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
2592
2590
|
if (value === null) {
|
|
2593
2591
|
return acc;
|
|
@@ -2596,12 +2594,12 @@ const serializeAws_json1_1Dimensions = (input, context) => {
|
|
|
2596
2594
|
return acc;
|
|
2597
2595
|
}, {});
|
|
2598
2596
|
};
|
|
2599
|
-
const
|
|
2597
|
+
const se_DisassociateKmsKeyRequest = (input, context) => {
|
|
2600
2598
|
return {
|
|
2601
2599
|
...(input.logGroupName != null && { logGroupName: input.logGroupName }),
|
|
2602
2600
|
};
|
|
2603
2601
|
};
|
|
2604
|
-
const
|
|
2602
|
+
const se_FilterLogEventsRequest = (input, context) => {
|
|
2605
2603
|
return {
|
|
2606
2604
|
...(input.endTime != null && { endTime: input.endTime }),
|
|
2607
2605
|
...(input.filterPattern != null && { filterPattern: input.filterPattern }),
|
|
@@ -2610,20 +2608,18 @@ const serializeAws_json1_1FilterLogEventsRequest = (input, context) => {
|
|
|
2610
2608
|
...(input.logGroupIdentifier != null && { logGroupIdentifier: input.logGroupIdentifier }),
|
|
2611
2609
|
...(input.logGroupName != null && { logGroupName: input.logGroupName }),
|
|
2612
2610
|
...(input.logStreamNamePrefix != null && { logStreamNamePrefix: input.logStreamNamePrefix }),
|
|
2613
|
-
...(input.logStreamNames != null && {
|
|
2614
|
-
logStreamNames: serializeAws_json1_1InputLogStreamNames(input.logStreamNames, context),
|
|
2615
|
-
}),
|
|
2611
|
+
...(input.logStreamNames != null && { logStreamNames: se_InputLogStreamNames(input.logStreamNames, context) }),
|
|
2616
2612
|
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
2617
2613
|
...(input.startTime != null && { startTime: input.startTime }),
|
|
2618
2614
|
...(input.unmask != null && { unmask: input.unmask }),
|
|
2619
2615
|
};
|
|
2620
2616
|
};
|
|
2621
|
-
const
|
|
2617
|
+
const se_GetDataProtectionPolicyRequest = (input, context) => {
|
|
2622
2618
|
return {
|
|
2623
2619
|
...(input.logGroupIdentifier != null && { logGroupIdentifier: input.logGroupIdentifier }),
|
|
2624
2620
|
};
|
|
2625
2621
|
};
|
|
2626
|
-
const
|
|
2622
|
+
const se_GetLogEventsRequest = (input, context) => {
|
|
2627
2623
|
return {
|
|
2628
2624
|
...(input.endTime != null && { endTime: input.endTime }),
|
|
2629
2625
|
...(input.limit != null && { limit: input.limit }),
|
|
@@ -2636,147 +2632,145 @@ const serializeAws_json1_1GetLogEventsRequest = (input, context) => {
|
|
|
2636
2632
|
...(input.unmask != null && { unmask: input.unmask }),
|
|
2637
2633
|
};
|
|
2638
2634
|
};
|
|
2639
|
-
const
|
|
2635
|
+
const se_GetLogGroupFieldsRequest = (input, context) => {
|
|
2640
2636
|
return {
|
|
2641
2637
|
...(input.logGroupIdentifier != null && { logGroupIdentifier: input.logGroupIdentifier }),
|
|
2642
2638
|
...(input.logGroupName != null && { logGroupName: input.logGroupName }),
|
|
2643
2639
|
...(input.time != null && { time: input.time }),
|
|
2644
2640
|
};
|
|
2645
2641
|
};
|
|
2646
|
-
const
|
|
2642
|
+
const se_GetLogRecordRequest = (input, context) => {
|
|
2647
2643
|
return {
|
|
2648
2644
|
...(input.logRecordPointer != null && { logRecordPointer: input.logRecordPointer }),
|
|
2649
2645
|
...(input.unmask != null && { unmask: input.unmask }),
|
|
2650
2646
|
};
|
|
2651
2647
|
};
|
|
2652
|
-
const
|
|
2648
|
+
const se_GetQueryResultsRequest = (input, context) => {
|
|
2653
2649
|
return {
|
|
2654
2650
|
...(input.queryId != null && { queryId: input.queryId }),
|
|
2655
2651
|
};
|
|
2656
2652
|
};
|
|
2657
|
-
const
|
|
2653
|
+
const se_InputLogEvent = (input, context) => {
|
|
2658
2654
|
return {
|
|
2659
2655
|
...(input.message != null && { message: input.message }),
|
|
2660
2656
|
...(input.timestamp != null && { timestamp: input.timestamp }),
|
|
2661
2657
|
};
|
|
2662
2658
|
};
|
|
2663
|
-
const
|
|
2659
|
+
const se_InputLogEvents = (input, context) => {
|
|
2664
2660
|
return input
|
|
2665
2661
|
.filter((e) => e != null)
|
|
2666
2662
|
.map((entry) => {
|
|
2667
|
-
return
|
|
2663
|
+
return se_InputLogEvent(entry, context);
|
|
2668
2664
|
});
|
|
2669
2665
|
};
|
|
2670
|
-
const
|
|
2666
|
+
const se_InputLogStreamNames = (input, context) => {
|
|
2671
2667
|
return input
|
|
2672
2668
|
.filter((e) => e != null)
|
|
2673
2669
|
.map((entry) => {
|
|
2674
2670
|
return entry;
|
|
2675
2671
|
});
|
|
2676
2672
|
};
|
|
2677
|
-
const
|
|
2673
|
+
const se_ListTagsForResourceRequest = (input, context) => {
|
|
2678
2674
|
return {
|
|
2679
2675
|
...(input.resourceArn != null && { resourceArn: input.resourceArn }),
|
|
2680
2676
|
};
|
|
2681
2677
|
};
|
|
2682
|
-
const
|
|
2678
|
+
const se_ListTagsLogGroupRequest = (input, context) => {
|
|
2683
2679
|
return {
|
|
2684
2680
|
...(input.logGroupName != null && { logGroupName: input.logGroupName }),
|
|
2685
2681
|
};
|
|
2686
2682
|
};
|
|
2687
|
-
const
|
|
2683
|
+
const se_LogGroupIdentifiers = (input, context) => {
|
|
2688
2684
|
return input
|
|
2689
2685
|
.filter((e) => e != null)
|
|
2690
2686
|
.map((entry) => {
|
|
2691
2687
|
return entry;
|
|
2692
2688
|
});
|
|
2693
2689
|
};
|
|
2694
|
-
const
|
|
2690
|
+
const se_LogGroupNames = (input, context) => {
|
|
2695
2691
|
return input
|
|
2696
2692
|
.filter((e) => e != null)
|
|
2697
2693
|
.map((entry) => {
|
|
2698
2694
|
return entry;
|
|
2699
2695
|
});
|
|
2700
2696
|
};
|
|
2701
|
-
const
|
|
2697
|
+
const se_MetricTransformation = (input, context) => {
|
|
2702
2698
|
return {
|
|
2703
2699
|
...(input.defaultValue != null && { defaultValue: __serializeFloat(input.defaultValue) }),
|
|
2704
|
-
...(input.dimensions != null && { dimensions:
|
|
2700
|
+
...(input.dimensions != null && { dimensions: se_Dimensions(input.dimensions, context) }),
|
|
2705
2701
|
...(input.metricName != null && { metricName: input.metricName }),
|
|
2706
2702
|
...(input.metricNamespace != null && { metricNamespace: input.metricNamespace }),
|
|
2707
2703
|
...(input.metricValue != null && { metricValue: input.metricValue }),
|
|
2708
2704
|
...(input.unit != null && { unit: input.unit }),
|
|
2709
2705
|
};
|
|
2710
2706
|
};
|
|
2711
|
-
const
|
|
2707
|
+
const se_MetricTransformations = (input, context) => {
|
|
2712
2708
|
return input
|
|
2713
2709
|
.filter((e) => e != null)
|
|
2714
2710
|
.map((entry) => {
|
|
2715
|
-
return
|
|
2711
|
+
return se_MetricTransformation(entry, context);
|
|
2716
2712
|
});
|
|
2717
2713
|
};
|
|
2718
|
-
const
|
|
2714
|
+
const se_PutDataProtectionPolicyRequest = (input, context) => {
|
|
2719
2715
|
return {
|
|
2720
2716
|
...(input.logGroupIdentifier != null && { logGroupIdentifier: input.logGroupIdentifier }),
|
|
2721
2717
|
...(input.policyDocument != null && { policyDocument: input.policyDocument }),
|
|
2722
2718
|
};
|
|
2723
2719
|
};
|
|
2724
|
-
const
|
|
2720
|
+
const se_PutDestinationPolicyRequest = (input, context) => {
|
|
2725
2721
|
return {
|
|
2726
2722
|
...(input.accessPolicy != null && { accessPolicy: input.accessPolicy }),
|
|
2727
2723
|
...(input.destinationName != null && { destinationName: input.destinationName }),
|
|
2728
2724
|
...(input.forceUpdate != null && { forceUpdate: input.forceUpdate }),
|
|
2729
2725
|
};
|
|
2730
2726
|
};
|
|
2731
|
-
const
|
|
2727
|
+
const se_PutDestinationRequest = (input, context) => {
|
|
2732
2728
|
return {
|
|
2733
2729
|
...(input.destinationName != null && { destinationName: input.destinationName }),
|
|
2734
2730
|
...(input.roleArn != null && { roleArn: input.roleArn }),
|
|
2735
|
-
...(input.tags != null && { tags:
|
|
2731
|
+
...(input.tags != null && { tags: se_Tags(input.tags, context) }),
|
|
2736
2732
|
...(input.targetArn != null && { targetArn: input.targetArn }),
|
|
2737
2733
|
};
|
|
2738
2734
|
};
|
|
2739
|
-
const
|
|
2735
|
+
const se_PutLogEventsRequest = (input, context) => {
|
|
2740
2736
|
return {
|
|
2741
|
-
...(input.logEvents != null && { logEvents:
|
|
2737
|
+
...(input.logEvents != null && { logEvents: se_InputLogEvents(input.logEvents, context) }),
|
|
2742
2738
|
...(input.logGroupName != null && { logGroupName: input.logGroupName }),
|
|
2743
2739
|
...(input.logStreamName != null && { logStreamName: input.logStreamName }),
|
|
2744
2740
|
...(input.sequenceToken != null && { sequenceToken: input.sequenceToken }),
|
|
2745
2741
|
};
|
|
2746
2742
|
};
|
|
2747
|
-
const
|
|
2743
|
+
const se_PutMetricFilterRequest = (input, context) => {
|
|
2748
2744
|
return {
|
|
2749
2745
|
...(input.filterName != null && { filterName: input.filterName }),
|
|
2750
2746
|
...(input.filterPattern != null && { filterPattern: input.filterPattern }),
|
|
2751
2747
|
...(input.logGroupName != null && { logGroupName: input.logGroupName }),
|
|
2752
2748
|
...(input.metricTransformations != null && {
|
|
2753
|
-
metricTransformations:
|
|
2749
|
+
metricTransformations: se_MetricTransformations(input.metricTransformations, context),
|
|
2754
2750
|
}),
|
|
2755
2751
|
};
|
|
2756
2752
|
};
|
|
2757
|
-
const
|
|
2753
|
+
const se_PutQueryDefinitionRequest = (input, context) => {
|
|
2758
2754
|
return {
|
|
2759
|
-
...(input.logGroupNames != null && {
|
|
2760
|
-
logGroupNames: serializeAws_json1_1LogGroupNames(input.logGroupNames, context),
|
|
2761
|
-
}),
|
|
2755
|
+
...(input.logGroupNames != null && { logGroupNames: se_LogGroupNames(input.logGroupNames, context) }),
|
|
2762
2756
|
...(input.name != null && { name: input.name }),
|
|
2763
2757
|
...(input.queryDefinitionId != null && { queryDefinitionId: input.queryDefinitionId }),
|
|
2764
2758
|
...(input.queryString != null && { queryString: input.queryString }),
|
|
2765
2759
|
};
|
|
2766
2760
|
};
|
|
2767
|
-
const
|
|
2761
|
+
const se_PutResourcePolicyRequest = (input, context) => {
|
|
2768
2762
|
return {
|
|
2769
2763
|
...(input.policyDocument != null && { policyDocument: input.policyDocument }),
|
|
2770
2764
|
...(input.policyName != null && { policyName: input.policyName }),
|
|
2771
2765
|
};
|
|
2772
2766
|
};
|
|
2773
|
-
const
|
|
2767
|
+
const se_PutRetentionPolicyRequest = (input, context) => {
|
|
2774
2768
|
return {
|
|
2775
2769
|
...(input.logGroupName != null && { logGroupName: input.logGroupName }),
|
|
2776
2770
|
...(input.retentionInDays != null && { retentionInDays: input.retentionInDays }),
|
|
2777
2771
|
};
|
|
2778
2772
|
};
|
|
2779
|
-
const
|
|
2773
|
+
const se_PutSubscriptionFilterRequest = (input, context) => {
|
|
2780
2774
|
return {
|
|
2781
2775
|
...(input.destinationArn != null && { destinationArn: input.destinationArn }),
|
|
2782
2776
|
...(input.distribution != null && { distribution: input.distribution }),
|
|
@@ -2786,53 +2780,51 @@ const serializeAws_json1_1PutSubscriptionFilterRequest = (input, context) => {
|
|
|
2786
2780
|
...(input.roleArn != null && { roleArn: input.roleArn }),
|
|
2787
2781
|
};
|
|
2788
2782
|
};
|
|
2789
|
-
const
|
|
2783
|
+
const se_StartQueryRequest = (input, context) => {
|
|
2790
2784
|
return {
|
|
2791
2785
|
...(input.endTime != null && { endTime: input.endTime }),
|
|
2792
2786
|
...(input.limit != null && { limit: input.limit }),
|
|
2793
2787
|
...(input.logGroupIdentifiers != null && {
|
|
2794
|
-
logGroupIdentifiers:
|
|
2788
|
+
logGroupIdentifiers: se_LogGroupIdentifiers(input.logGroupIdentifiers, context),
|
|
2795
2789
|
}),
|
|
2796
2790
|
...(input.logGroupName != null && { logGroupName: input.logGroupName }),
|
|
2797
|
-
...(input.logGroupNames != null && {
|
|
2798
|
-
logGroupNames: serializeAws_json1_1LogGroupNames(input.logGroupNames, context),
|
|
2799
|
-
}),
|
|
2791
|
+
...(input.logGroupNames != null && { logGroupNames: se_LogGroupNames(input.logGroupNames, context) }),
|
|
2800
2792
|
...(input.queryString != null && { queryString: input.queryString }),
|
|
2801
2793
|
...(input.startTime != null && { startTime: input.startTime }),
|
|
2802
2794
|
};
|
|
2803
2795
|
};
|
|
2804
|
-
const
|
|
2796
|
+
const se_StopQueryRequest = (input, context) => {
|
|
2805
2797
|
return {
|
|
2806
2798
|
...(input.queryId != null && { queryId: input.queryId }),
|
|
2807
2799
|
};
|
|
2808
2800
|
};
|
|
2809
|
-
const
|
|
2801
|
+
const se_TagKeyList = (input, context) => {
|
|
2810
2802
|
return input
|
|
2811
2803
|
.filter((e) => e != null)
|
|
2812
2804
|
.map((entry) => {
|
|
2813
2805
|
return entry;
|
|
2814
2806
|
});
|
|
2815
2807
|
};
|
|
2816
|
-
const
|
|
2808
|
+
const se_TagList = (input, context) => {
|
|
2817
2809
|
return input
|
|
2818
2810
|
.filter((e) => e != null)
|
|
2819
2811
|
.map((entry) => {
|
|
2820
2812
|
return entry;
|
|
2821
2813
|
});
|
|
2822
2814
|
};
|
|
2823
|
-
const
|
|
2815
|
+
const se_TagLogGroupRequest = (input, context) => {
|
|
2824
2816
|
return {
|
|
2825
2817
|
...(input.logGroupName != null && { logGroupName: input.logGroupName }),
|
|
2826
|
-
...(input.tags != null && { tags:
|
|
2818
|
+
...(input.tags != null && { tags: se_Tags(input.tags, context) }),
|
|
2827
2819
|
};
|
|
2828
2820
|
};
|
|
2829
|
-
const
|
|
2821
|
+
const se_TagResourceRequest = (input, context) => {
|
|
2830
2822
|
return {
|
|
2831
2823
|
...(input.resourceArn != null && { resourceArn: input.resourceArn }),
|
|
2832
|
-
...(input.tags != null && { tags:
|
|
2824
|
+
...(input.tags != null && { tags: se_Tags(input.tags, context) }),
|
|
2833
2825
|
};
|
|
2834
2826
|
};
|
|
2835
|
-
const
|
|
2827
|
+
const se_Tags = (input, context) => {
|
|
2836
2828
|
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
2837
2829
|
if (value === null) {
|
|
2838
2830
|
return acc;
|
|
@@ -2841,110 +2833,102 @@ const serializeAws_json1_1Tags = (input, context) => {
|
|
|
2841
2833
|
return acc;
|
|
2842
2834
|
}, {});
|
|
2843
2835
|
};
|
|
2844
|
-
const
|
|
2836
|
+
const se_TestEventMessages = (input, context) => {
|
|
2845
2837
|
return input
|
|
2846
2838
|
.filter((e) => e != null)
|
|
2847
2839
|
.map((entry) => {
|
|
2848
2840
|
return entry;
|
|
2849
2841
|
});
|
|
2850
2842
|
};
|
|
2851
|
-
const
|
|
2843
|
+
const se_TestMetricFilterRequest = (input, context) => {
|
|
2852
2844
|
return {
|
|
2853
2845
|
...(input.filterPattern != null && { filterPattern: input.filterPattern }),
|
|
2854
|
-
...(input.logEventMessages != null && {
|
|
2855
|
-
logEventMessages: serializeAws_json1_1TestEventMessages(input.logEventMessages, context),
|
|
2856
|
-
}),
|
|
2846
|
+
...(input.logEventMessages != null && { logEventMessages: se_TestEventMessages(input.logEventMessages, context) }),
|
|
2857
2847
|
};
|
|
2858
2848
|
};
|
|
2859
|
-
const
|
|
2849
|
+
const se_UntagLogGroupRequest = (input, context) => {
|
|
2860
2850
|
return {
|
|
2861
2851
|
...(input.logGroupName != null && { logGroupName: input.logGroupName }),
|
|
2862
|
-
...(input.tags != null && { tags:
|
|
2852
|
+
...(input.tags != null && { tags: se_TagList(input.tags, context) }),
|
|
2863
2853
|
};
|
|
2864
2854
|
};
|
|
2865
|
-
const
|
|
2855
|
+
const se_UntagResourceRequest = (input, context) => {
|
|
2866
2856
|
return {
|
|
2867
2857
|
...(input.resourceArn != null && { resourceArn: input.resourceArn }),
|
|
2868
|
-
...(input.tagKeys != null && { tagKeys:
|
|
2858
|
+
...(input.tagKeys != null && { tagKeys: se_TagKeyList(input.tagKeys, context) }),
|
|
2869
2859
|
};
|
|
2870
2860
|
};
|
|
2871
|
-
const
|
|
2861
|
+
const de_CreateExportTaskResponse = (output, context) => {
|
|
2872
2862
|
return {
|
|
2873
2863
|
taskId: __expectString(output.taskId),
|
|
2874
2864
|
};
|
|
2875
2865
|
};
|
|
2876
|
-
const
|
|
2866
|
+
const de_DataAlreadyAcceptedException = (output, context) => {
|
|
2877
2867
|
return {
|
|
2878
2868
|
expectedSequenceToken: __expectString(output.expectedSequenceToken),
|
|
2879
2869
|
message: __expectString(output.message),
|
|
2880
2870
|
};
|
|
2881
2871
|
};
|
|
2882
|
-
const
|
|
2872
|
+
const de_DeleteQueryDefinitionResponse = (output, context) => {
|
|
2883
2873
|
return {
|
|
2884
2874
|
success: __expectBoolean(output.success),
|
|
2885
2875
|
};
|
|
2886
2876
|
};
|
|
2887
|
-
const
|
|
2877
|
+
const de_DescribeDestinationsResponse = (output, context) => {
|
|
2888
2878
|
return {
|
|
2889
|
-
destinations: output.destinations != null ?
|
|
2879
|
+
destinations: output.destinations != null ? de_Destinations(output.destinations, context) : undefined,
|
|
2890
2880
|
nextToken: __expectString(output.nextToken),
|
|
2891
2881
|
};
|
|
2892
2882
|
};
|
|
2893
|
-
const
|
|
2883
|
+
const de_DescribeExportTasksResponse = (output, context) => {
|
|
2894
2884
|
return {
|
|
2895
|
-
exportTasks: output.exportTasks != null ?
|
|
2885
|
+
exportTasks: output.exportTasks != null ? de_ExportTasks(output.exportTasks, context) : undefined,
|
|
2896
2886
|
nextToken: __expectString(output.nextToken),
|
|
2897
2887
|
};
|
|
2898
2888
|
};
|
|
2899
|
-
const
|
|
2889
|
+
const de_DescribeLogGroupsResponse = (output, context) => {
|
|
2900
2890
|
return {
|
|
2901
|
-
logGroups: output.logGroups != null ?
|
|
2891
|
+
logGroups: output.logGroups != null ? de_LogGroups(output.logGroups, context) : undefined,
|
|
2902
2892
|
nextToken: __expectString(output.nextToken),
|
|
2903
2893
|
};
|
|
2904
2894
|
};
|
|
2905
|
-
const
|
|
2895
|
+
const de_DescribeLogStreamsResponse = (output, context) => {
|
|
2906
2896
|
return {
|
|
2907
|
-
logStreams: output.logStreams != null ?
|
|
2897
|
+
logStreams: output.logStreams != null ? de_LogStreams(output.logStreams, context) : undefined,
|
|
2908
2898
|
nextToken: __expectString(output.nextToken),
|
|
2909
2899
|
};
|
|
2910
2900
|
};
|
|
2911
|
-
const
|
|
2901
|
+
const de_DescribeMetricFiltersResponse = (output, context) => {
|
|
2912
2902
|
return {
|
|
2913
|
-
metricFilters: output.metricFilters != null ?
|
|
2903
|
+
metricFilters: output.metricFilters != null ? de_MetricFilters(output.metricFilters, context) : undefined,
|
|
2914
2904
|
nextToken: __expectString(output.nextToken),
|
|
2915
2905
|
};
|
|
2916
2906
|
};
|
|
2917
|
-
const
|
|
2907
|
+
const de_DescribeQueriesResponse = (output, context) => {
|
|
2918
2908
|
return {
|
|
2919
2909
|
nextToken: __expectString(output.nextToken),
|
|
2920
|
-
queries: output.queries != null ?
|
|
2910
|
+
queries: output.queries != null ? de_QueryInfoList(output.queries, context) : undefined,
|
|
2921
2911
|
};
|
|
2922
2912
|
};
|
|
2923
|
-
const
|
|
2913
|
+
const de_DescribeQueryDefinitionsResponse = (output, context) => {
|
|
2924
2914
|
return {
|
|
2925
2915
|
nextToken: __expectString(output.nextToken),
|
|
2926
|
-
queryDefinitions: output.queryDefinitions != null
|
|
2927
|
-
? deserializeAws_json1_1QueryDefinitionList(output.queryDefinitions, context)
|
|
2928
|
-
: undefined,
|
|
2916
|
+
queryDefinitions: output.queryDefinitions != null ? de_QueryDefinitionList(output.queryDefinitions, context) : undefined,
|
|
2929
2917
|
};
|
|
2930
2918
|
};
|
|
2931
|
-
const
|
|
2919
|
+
const de_DescribeResourcePoliciesResponse = (output, context) => {
|
|
2932
2920
|
return {
|
|
2933
2921
|
nextToken: __expectString(output.nextToken),
|
|
2934
|
-
resourcePolicies: output.resourcePolicies != null
|
|
2935
|
-
? deserializeAws_json1_1ResourcePolicies(output.resourcePolicies, context)
|
|
2936
|
-
: undefined,
|
|
2922
|
+
resourcePolicies: output.resourcePolicies != null ? de_ResourcePolicies(output.resourcePolicies, context) : undefined,
|
|
2937
2923
|
};
|
|
2938
2924
|
};
|
|
2939
|
-
const
|
|
2925
|
+
const de_DescribeSubscriptionFiltersResponse = (output, context) => {
|
|
2940
2926
|
return {
|
|
2941
2927
|
nextToken: __expectString(output.nextToken),
|
|
2942
|
-
subscriptionFilters: output.subscriptionFilters != null
|
|
2943
|
-
? deserializeAws_json1_1SubscriptionFilters(output.subscriptionFilters, context)
|
|
2944
|
-
: undefined,
|
|
2928
|
+
subscriptionFilters: output.subscriptionFilters != null ? de_SubscriptionFilters(output.subscriptionFilters, context) : undefined,
|
|
2945
2929
|
};
|
|
2946
2930
|
};
|
|
2947
|
-
const
|
|
2931
|
+
const de_Destination = (output, context) => {
|
|
2948
2932
|
return {
|
|
2949
2933
|
accessPolicy: __expectString(output.accessPolicy),
|
|
2950
2934
|
arn: __expectString(output.arn),
|
|
@@ -2954,18 +2938,18 @@ const deserializeAws_json1_1Destination = (output, context) => {
|
|
|
2954
2938
|
targetArn: __expectString(output.targetArn),
|
|
2955
2939
|
};
|
|
2956
2940
|
};
|
|
2957
|
-
const
|
|
2941
|
+
const de_Destinations = (output, context) => {
|
|
2958
2942
|
const retVal = (output || [])
|
|
2959
2943
|
.filter((e) => e != null)
|
|
2960
2944
|
.map((entry) => {
|
|
2961
2945
|
if (entry === null) {
|
|
2962
2946
|
return null;
|
|
2963
2947
|
}
|
|
2964
|
-
return
|
|
2948
|
+
return de_Destination(entry, context);
|
|
2965
2949
|
});
|
|
2966
2950
|
return retVal;
|
|
2967
2951
|
};
|
|
2968
|
-
const
|
|
2952
|
+
const de_Dimensions = (output, context) => {
|
|
2969
2953
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
2970
2954
|
if (value === null) {
|
|
2971
2955
|
return acc;
|
|
@@ -2974,45 +2958,43 @@ const deserializeAws_json1_1Dimensions = (output, context) => {
|
|
|
2974
2958
|
return acc;
|
|
2975
2959
|
}, {});
|
|
2976
2960
|
};
|
|
2977
|
-
const
|
|
2961
|
+
const de_ExportTask = (output, context) => {
|
|
2978
2962
|
return {
|
|
2979
2963
|
destination: __expectString(output.destination),
|
|
2980
2964
|
destinationPrefix: __expectString(output.destinationPrefix),
|
|
2981
|
-
executionInfo: output.executionInfo != null
|
|
2982
|
-
? deserializeAws_json1_1ExportTaskExecutionInfo(output.executionInfo, context)
|
|
2983
|
-
: undefined,
|
|
2965
|
+
executionInfo: output.executionInfo != null ? de_ExportTaskExecutionInfo(output.executionInfo, context) : undefined,
|
|
2984
2966
|
from: __expectLong(output.from),
|
|
2985
2967
|
logGroupName: __expectString(output.logGroupName),
|
|
2986
|
-
status: output.status != null ?
|
|
2968
|
+
status: output.status != null ? de_ExportTaskStatus(output.status, context) : undefined,
|
|
2987
2969
|
taskId: __expectString(output.taskId),
|
|
2988
2970
|
taskName: __expectString(output.taskName),
|
|
2989
2971
|
to: __expectLong(output.to),
|
|
2990
2972
|
};
|
|
2991
2973
|
};
|
|
2992
|
-
const
|
|
2974
|
+
const de_ExportTaskExecutionInfo = (output, context) => {
|
|
2993
2975
|
return {
|
|
2994
2976
|
completionTime: __expectLong(output.completionTime),
|
|
2995
2977
|
creationTime: __expectLong(output.creationTime),
|
|
2996
2978
|
};
|
|
2997
2979
|
};
|
|
2998
|
-
const
|
|
2980
|
+
const de_ExportTasks = (output, context) => {
|
|
2999
2981
|
const retVal = (output || [])
|
|
3000
2982
|
.filter((e) => e != null)
|
|
3001
2983
|
.map((entry) => {
|
|
3002
2984
|
if (entry === null) {
|
|
3003
2985
|
return null;
|
|
3004
2986
|
}
|
|
3005
|
-
return
|
|
2987
|
+
return de_ExportTask(entry, context);
|
|
3006
2988
|
});
|
|
3007
2989
|
return retVal;
|
|
3008
2990
|
};
|
|
3009
|
-
const
|
|
2991
|
+
const de_ExportTaskStatus = (output, context) => {
|
|
3010
2992
|
return {
|
|
3011
2993
|
code: __expectString(output.code),
|
|
3012
2994
|
message: __expectString(output.message),
|
|
3013
2995
|
};
|
|
3014
2996
|
};
|
|
3015
|
-
const
|
|
2997
|
+
const de_ExtractedValues = (output, context) => {
|
|
3016
2998
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
3017
2999
|
if (value === null) {
|
|
3018
3000
|
return acc;
|
|
@@ -3021,7 +3003,7 @@ const deserializeAws_json1_1ExtractedValues = (output, context) => {
|
|
|
3021
3003
|
return acc;
|
|
3022
3004
|
}, {});
|
|
3023
3005
|
};
|
|
3024
|
-
const
|
|
3006
|
+
const de_FilteredLogEvent = (output, context) => {
|
|
3025
3007
|
return {
|
|
3026
3008
|
eventId: __expectString(output.eventId),
|
|
3027
3009
|
ingestionTime: __expectLong(output.ingestionTime),
|
|
@@ -3030,91 +3012,87 @@ const deserializeAws_json1_1FilteredLogEvent = (output, context) => {
|
|
|
3030
3012
|
timestamp: __expectLong(output.timestamp),
|
|
3031
3013
|
};
|
|
3032
3014
|
};
|
|
3033
|
-
const
|
|
3015
|
+
const de_FilteredLogEvents = (output, context) => {
|
|
3034
3016
|
const retVal = (output || [])
|
|
3035
3017
|
.filter((e) => e != null)
|
|
3036
3018
|
.map((entry) => {
|
|
3037
3019
|
if (entry === null) {
|
|
3038
3020
|
return null;
|
|
3039
3021
|
}
|
|
3040
|
-
return
|
|
3022
|
+
return de_FilteredLogEvent(entry, context);
|
|
3041
3023
|
});
|
|
3042
3024
|
return retVal;
|
|
3043
3025
|
};
|
|
3044
|
-
const
|
|
3026
|
+
const de_FilterLogEventsResponse = (output, context) => {
|
|
3045
3027
|
return {
|
|
3046
|
-
events: output.events != null ?
|
|
3028
|
+
events: output.events != null ? de_FilteredLogEvents(output.events, context) : undefined,
|
|
3047
3029
|
nextToken: __expectString(output.nextToken),
|
|
3048
|
-
searchedLogStreams: output.searchedLogStreams != null
|
|
3049
|
-
? deserializeAws_json1_1SearchedLogStreams(output.searchedLogStreams, context)
|
|
3050
|
-
: undefined,
|
|
3030
|
+
searchedLogStreams: output.searchedLogStreams != null ? de_SearchedLogStreams(output.searchedLogStreams, context) : undefined,
|
|
3051
3031
|
};
|
|
3052
3032
|
};
|
|
3053
|
-
const
|
|
3033
|
+
const de_GetDataProtectionPolicyResponse = (output, context) => {
|
|
3054
3034
|
return {
|
|
3055
3035
|
lastUpdatedTime: __expectLong(output.lastUpdatedTime),
|
|
3056
3036
|
logGroupIdentifier: __expectString(output.logGroupIdentifier),
|
|
3057
3037
|
policyDocument: __expectString(output.policyDocument),
|
|
3058
3038
|
};
|
|
3059
3039
|
};
|
|
3060
|
-
const
|
|
3040
|
+
const de_GetLogEventsResponse = (output, context) => {
|
|
3061
3041
|
return {
|
|
3062
|
-
events: output.events != null ?
|
|
3042
|
+
events: output.events != null ? de_OutputLogEvents(output.events, context) : undefined,
|
|
3063
3043
|
nextBackwardToken: __expectString(output.nextBackwardToken),
|
|
3064
3044
|
nextForwardToken: __expectString(output.nextForwardToken),
|
|
3065
3045
|
};
|
|
3066
3046
|
};
|
|
3067
|
-
const
|
|
3047
|
+
const de_GetLogGroupFieldsResponse = (output, context) => {
|
|
3068
3048
|
return {
|
|
3069
|
-
logGroupFields: output.logGroupFields != null
|
|
3070
|
-
? deserializeAws_json1_1LogGroupFieldList(output.logGroupFields, context)
|
|
3071
|
-
: undefined,
|
|
3049
|
+
logGroupFields: output.logGroupFields != null ? de_LogGroupFieldList(output.logGroupFields, context) : undefined,
|
|
3072
3050
|
};
|
|
3073
3051
|
};
|
|
3074
|
-
const
|
|
3052
|
+
const de_GetLogRecordResponse = (output, context) => {
|
|
3075
3053
|
return {
|
|
3076
|
-
logRecord: output.logRecord != null ?
|
|
3054
|
+
logRecord: output.logRecord != null ? de_LogRecord(output.logRecord, context) : undefined,
|
|
3077
3055
|
};
|
|
3078
3056
|
};
|
|
3079
|
-
const
|
|
3057
|
+
const de_GetQueryResultsResponse = (output, context) => {
|
|
3080
3058
|
return {
|
|
3081
|
-
results: output.results != null ?
|
|
3082
|
-
statistics: output.statistics != null ?
|
|
3059
|
+
results: output.results != null ? de_QueryResults(output.results, context) : undefined,
|
|
3060
|
+
statistics: output.statistics != null ? de_QueryStatistics(output.statistics, context) : undefined,
|
|
3083
3061
|
status: __expectString(output.status),
|
|
3084
3062
|
};
|
|
3085
3063
|
};
|
|
3086
|
-
const
|
|
3064
|
+
const de_InvalidOperationException = (output, context) => {
|
|
3087
3065
|
return {
|
|
3088
3066
|
message: __expectString(output.message),
|
|
3089
3067
|
};
|
|
3090
3068
|
};
|
|
3091
|
-
const
|
|
3069
|
+
const de_InvalidParameterException = (output, context) => {
|
|
3092
3070
|
return {
|
|
3093
3071
|
message: __expectString(output.message),
|
|
3094
3072
|
};
|
|
3095
3073
|
};
|
|
3096
|
-
const
|
|
3074
|
+
const de_InvalidSequenceTokenException = (output, context) => {
|
|
3097
3075
|
return {
|
|
3098
3076
|
expectedSequenceToken: __expectString(output.expectedSequenceToken),
|
|
3099
3077
|
message: __expectString(output.message),
|
|
3100
3078
|
};
|
|
3101
3079
|
};
|
|
3102
|
-
const
|
|
3080
|
+
const de_LimitExceededException = (output, context) => {
|
|
3103
3081
|
return {
|
|
3104
3082
|
message: __expectString(output.message),
|
|
3105
3083
|
};
|
|
3106
3084
|
};
|
|
3107
|
-
const
|
|
3085
|
+
const de_ListTagsForResourceResponse = (output, context) => {
|
|
3108
3086
|
return {
|
|
3109
|
-
tags: output.tags != null ?
|
|
3087
|
+
tags: output.tags != null ? de_Tags(output.tags, context) : undefined,
|
|
3110
3088
|
};
|
|
3111
3089
|
};
|
|
3112
|
-
const
|
|
3090
|
+
const de_ListTagsLogGroupResponse = (output, context) => {
|
|
3113
3091
|
return {
|
|
3114
|
-
tags: output.tags != null ?
|
|
3092
|
+
tags: output.tags != null ? de_Tags(output.tags, context) : undefined,
|
|
3115
3093
|
};
|
|
3116
3094
|
};
|
|
3117
|
-
const
|
|
3095
|
+
const de_LogGroup = (output, context) => {
|
|
3118
3096
|
return {
|
|
3119
3097
|
arn: __expectString(output.arn),
|
|
3120
3098
|
creationTime: __expectLong(output.creationTime),
|
|
@@ -3126,24 +3104,24 @@ const deserializeAws_json1_1LogGroup = (output, context) => {
|
|
|
3126
3104
|
storedBytes: __expectLong(output.storedBytes),
|
|
3127
3105
|
};
|
|
3128
3106
|
};
|
|
3129
|
-
const
|
|
3107
|
+
const de_LogGroupField = (output, context) => {
|
|
3130
3108
|
return {
|
|
3131
3109
|
name: __expectString(output.name),
|
|
3132
3110
|
percent: __expectInt32(output.percent),
|
|
3133
3111
|
};
|
|
3134
3112
|
};
|
|
3135
|
-
const
|
|
3113
|
+
const de_LogGroupFieldList = (output, context) => {
|
|
3136
3114
|
const retVal = (output || [])
|
|
3137
3115
|
.filter((e) => e != null)
|
|
3138
3116
|
.map((entry) => {
|
|
3139
3117
|
if (entry === null) {
|
|
3140
3118
|
return null;
|
|
3141
3119
|
}
|
|
3142
|
-
return
|
|
3120
|
+
return de_LogGroupField(entry, context);
|
|
3143
3121
|
});
|
|
3144
3122
|
return retVal;
|
|
3145
3123
|
};
|
|
3146
|
-
const
|
|
3124
|
+
const de_LogGroupNames = (output, context) => {
|
|
3147
3125
|
const retVal = (output || [])
|
|
3148
3126
|
.filter((e) => e != null)
|
|
3149
3127
|
.map((entry) => {
|
|
@@ -3154,18 +3132,18 @@ const deserializeAws_json1_1LogGroupNames = (output, context) => {
|
|
|
3154
3132
|
});
|
|
3155
3133
|
return retVal;
|
|
3156
3134
|
};
|
|
3157
|
-
const
|
|
3135
|
+
const de_LogGroups = (output, context) => {
|
|
3158
3136
|
const retVal = (output || [])
|
|
3159
3137
|
.filter((e) => e != null)
|
|
3160
3138
|
.map((entry) => {
|
|
3161
3139
|
if (entry === null) {
|
|
3162
3140
|
return null;
|
|
3163
3141
|
}
|
|
3164
|
-
return
|
|
3142
|
+
return de_LogGroup(entry, context);
|
|
3165
3143
|
});
|
|
3166
3144
|
return retVal;
|
|
3167
3145
|
};
|
|
3168
|
-
const
|
|
3146
|
+
const de_LogRecord = (output, context) => {
|
|
3169
3147
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
3170
3148
|
if (value === null) {
|
|
3171
3149
|
return acc;
|
|
@@ -3174,7 +3152,7 @@ const deserializeAws_json1_1LogRecord = (output, context) => {
|
|
|
3174
3152
|
return acc;
|
|
3175
3153
|
}, {});
|
|
3176
3154
|
};
|
|
3177
|
-
const
|
|
3155
|
+
const de_LogStream = (output, context) => {
|
|
3178
3156
|
return {
|
|
3179
3157
|
arn: __expectString(output.arn),
|
|
3180
3158
|
creationTime: __expectLong(output.creationTime),
|
|
@@ -3186,174 +3164,170 @@ const deserializeAws_json1_1LogStream = (output, context) => {
|
|
|
3186
3164
|
uploadSequenceToken: __expectString(output.uploadSequenceToken),
|
|
3187
3165
|
};
|
|
3188
3166
|
};
|
|
3189
|
-
const
|
|
3167
|
+
const de_LogStreams = (output, context) => {
|
|
3190
3168
|
const retVal = (output || [])
|
|
3191
3169
|
.filter((e) => e != null)
|
|
3192
3170
|
.map((entry) => {
|
|
3193
3171
|
if (entry === null) {
|
|
3194
3172
|
return null;
|
|
3195
3173
|
}
|
|
3196
|
-
return
|
|
3174
|
+
return de_LogStream(entry, context);
|
|
3197
3175
|
});
|
|
3198
3176
|
return retVal;
|
|
3199
3177
|
};
|
|
3200
|
-
const
|
|
3178
|
+
const de_MalformedQueryException = (output, context) => {
|
|
3201
3179
|
return {
|
|
3202
3180
|
message: __expectString(output.message),
|
|
3203
|
-
queryCompileError: output.queryCompileError != null
|
|
3204
|
-
? deserializeAws_json1_1QueryCompileError(output.queryCompileError, context)
|
|
3205
|
-
: undefined,
|
|
3181
|
+
queryCompileError: output.queryCompileError != null ? de_QueryCompileError(output.queryCompileError, context) : undefined,
|
|
3206
3182
|
};
|
|
3207
3183
|
};
|
|
3208
|
-
const
|
|
3184
|
+
const de_MetricFilter = (output, context) => {
|
|
3209
3185
|
return {
|
|
3210
3186
|
creationTime: __expectLong(output.creationTime),
|
|
3211
3187
|
filterName: __expectString(output.filterName),
|
|
3212
3188
|
filterPattern: __expectString(output.filterPattern),
|
|
3213
3189
|
logGroupName: __expectString(output.logGroupName),
|
|
3214
3190
|
metricTransformations: output.metricTransformations != null
|
|
3215
|
-
?
|
|
3191
|
+
? de_MetricTransformations(output.metricTransformations, context)
|
|
3216
3192
|
: undefined,
|
|
3217
3193
|
};
|
|
3218
3194
|
};
|
|
3219
|
-
const
|
|
3195
|
+
const de_MetricFilterMatches = (output, context) => {
|
|
3220
3196
|
const retVal = (output || [])
|
|
3221
3197
|
.filter((e) => e != null)
|
|
3222
3198
|
.map((entry) => {
|
|
3223
3199
|
if (entry === null) {
|
|
3224
3200
|
return null;
|
|
3225
3201
|
}
|
|
3226
|
-
return
|
|
3202
|
+
return de_MetricFilterMatchRecord(entry, context);
|
|
3227
3203
|
});
|
|
3228
3204
|
return retVal;
|
|
3229
3205
|
};
|
|
3230
|
-
const
|
|
3206
|
+
const de_MetricFilterMatchRecord = (output, context) => {
|
|
3231
3207
|
return {
|
|
3232
3208
|
eventMessage: __expectString(output.eventMessage),
|
|
3233
3209
|
eventNumber: __expectLong(output.eventNumber),
|
|
3234
|
-
extractedValues: output.extractedValues != null
|
|
3235
|
-
? deserializeAws_json1_1ExtractedValues(output.extractedValues, context)
|
|
3236
|
-
: undefined,
|
|
3210
|
+
extractedValues: output.extractedValues != null ? de_ExtractedValues(output.extractedValues, context) : undefined,
|
|
3237
3211
|
};
|
|
3238
3212
|
};
|
|
3239
|
-
const
|
|
3213
|
+
const de_MetricFilters = (output, context) => {
|
|
3240
3214
|
const retVal = (output || [])
|
|
3241
3215
|
.filter((e) => e != null)
|
|
3242
3216
|
.map((entry) => {
|
|
3243
3217
|
if (entry === null) {
|
|
3244
3218
|
return null;
|
|
3245
3219
|
}
|
|
3246
|
-
return
|
|
3220
|
+
return de_MetricFilter(entry, context);
|
|
3247
3221
|
});
|
|
3248
3222
|
return retVal;
|
|
3249
3223
|
};
|
|
3250
|
-
const
|
|
3224
|
+
const de_MetricTransformation = (output, context) => {
|
|
3251
3225
|
return {
|
|
3252
3226
|
defaultValue: __limitedParseDouble(output.defaultValue),
|
|
3253
|
-
dimensions: output.dimensions != null ?
|
|
3227
|
+
dimensions: output.dimensions != null ? de_Dimensions(output.dimensions, context) : undefined,
|
|
3254
3228
|
metricName: __expectString(output.metricName),
|
|
3255
3229
|
metricNamespace: __expectString(output.metricNamespace),
|
|
3256
3230
|
metricValue: __expectString(output.metricValue),
|
|
3257
3231
|
unit: __expectString(output.unit),
|
|
3258
3232
|
};
|
|
3259
3233
|
};
|
|
3260
|
-
const
|
|
3234
|
+
const de_MetricTransformations = (output, context) => {
|
|
3261
3235
|
const retVal = (output || [])
|
|
3262
3236
|
.filter((e) => e != null)
|
|
3263
3237
|
.map((entry) => {
|
|
3264
3238
|
if (entry === null) {
|
|
3265
3239
|
return null;
|
|
3266
3240
|
}
|
|
3267
|
-
return
|
|
3241
|
+
return de_MetricTransformation(entry, context);
|
|
3268
3242
|
});
|
|
3269
3243
|
return retVal;
|
|
3270
3244
|
};
|
|
3271
|
-
const
|
|
3245
|
+
const de_OperationAbortedException = (output, context) => {
|
|
3272
3246
|
return {
|
|
3273
3247
|
message: __expectString(output.message),
|
|
3274
3248
|
};
|
|
3275
3249
|
};
|
|
3276
|
-
const
|
|
3250
|
+
const de_OutputLogEvent = (output, context) => {
|
|
3277
3251
|
return {
|
|
3278
3252
|
ingestionTime: __expectLong(output.ingestionTime),
|
|
3279
3253
|
message: __expectString(output.message),
|
|
3280
3254
|
timestamp: __expectLong(output.timestamp),
|
|
3281
3255
|
};
|
|
3282
3256
|
};
|
|
3283
|
-
const
|
|
3257
|
+
const de_OutputLogEvents = (output, context) => {
|
|
3284
3258
|
const retVal = (output || [])
|
|
3285
3259
|
.filter((e) => e != null)
|
|
3286
3260
|
.map((entry) => {
|
|
3287
3261
|
if (entry === null) {
|
|
3288
3262
|
return null;
|
|
3289
3263
|
}
|
|
3290
|
-
return
|
|
3264
|
+
return de_OutputLogEvent(entry, context);
|
|
3291
3265
|
});
|
|
3292
3266
|
return retVal;
|
|
3293
3267
|
};
|
|
3294
|
-
const
|
|
3268
|
+
const de_PutDataProtectionPolicyResponse = (output, context) => {
|
|
3295
3269
|
return {
|
|
3296
3270
|
lastUpdatedTime: __expectLong(output.lastUpdatedTime),
|
|
3297
3271
|
logGroupIdentifier: __expectString(output.logGroupIdentifier),
|
|
3298
3272
|
policyDocument: __expectString(output.policyDocument),
|
|
3299
3273
|
};
|
|
3300
3274
|
};
|
|
3301
|
-
const
|
|
3275
|
+
const de_PutDestinationResponse = (output, context) => {
|
|
3302
3276
|
return {
|
|
3303
|
-
destination: output.destination != null ?
|
|
3277
|
+
destination: output.destination != null ? de_Destination(output.destination, context) : undefined,
|
|
3304
3278
|
};
|
|
3305
3279
|
};
|
|
3306
|
-
const
|
|
3280
|
+
const de_PutLogEventsResponse = (output, context) => {
|
|
3307
3281
|
return {
|
|
3308
3282
|
nextSequenceToken: __expectString(output.nextSequenceToken),
|
|
3309
3283
|
rejectedLogEventsInfo: output.rejectedLogEventsInfo != null
|
|
3310
|
-
?
|
|
3284
|
+
? de_RejectedLogEventsInfo(output.rejectedLogEventsInfo, context)
|
|
3311
3285
|
: undefined,
|
|
3312
3286
|
};
|
|
3313
3287
|
};
|
|
3314
|
-
const
|
|
3288
|
+
const de_PutQueryDefinitionResponse = (output, context) => {
|
|
3315
3289
|
return {
|
|
3316
3290
|
queryDefinitionId: __expectString(output.queryDefinitionId),
|
|
3317
3291
|
};
|
|
3318
3292
|
};
|
|
3319
|
-
const
|
|
3293
|
+
const de_PutResourcePolicyResponse = (output, context) => {
|
|
3320
3294
|
return {
|
|
3321
|
-
resourcePolicy: output.resourcePolicy != null ?
|
|
3295
|
+
resourcePolicy: output.resourcePolicy != null ? de_ResourcePolicy(output.resourcePolicy, context) : undefined,
|
|
3322
3296
|
};
|
|
3323
3297
|
};
|
|
3324
|
-
const
|
|
3298
|
+
const de_QueryCompileError = (output, context) => {
|
|
3325
3299
|
return {
|
|
3326
|
-
location: output.location != null ?
|
|
3300
|
+
location: output.location != null ? de_QueryCompileErrorLocation(output.location, context) : undefined,
|
|
3327
3301
|
message: __expectString(output.message),
|
|
3328
3302
|
};
|
|
3329
3303
|
};
|
|
3330
|
-
const
|
|
3304
|
+
const de_QueryCompileErrorLocation = (output, context) => {
|
|
3331
3305
|
return {
|
|
3332
3306
|
endCharOffset: __expectInt32(output.endCharOffset),
|
|
3333
3307
|
startCharOffset: __expectInt32(output.startCharOffset),
|
|
3334
3308
|
};
|
|
3335
3309
|
};
|
|
3336
|
-
const
|
|
3310
|
+
const de_QueryDefinition = (output, context) => {
|
|
3337
3311
|
return {
|
|
3338
3312
|
lastModified: __expectLong(output.lastModified),
|
|
3339
|
-
logGroupNames: output.logGroupNames != null ?
|
|
3313
|
+
logGroupNames: output.logGroupNames != null ? de_LogGroupNames(output.logGroupNames, context) : undefined,
|
|
3340
3314
|
name: __expectString(output.name),
|
|
3341
3315
|
queryDefinitionId: __expectString(output.queryDefinitionId),
|
|
3342
3316
|
queryString: __expectString(output.queryString),
|
|
3343
3317
|
};
|
|
3344
3318
|
};
|
|
3345
|
-
const
|
|
3319
|
+
const de_QueryDefinitionList = (output, context) => {
|
|
3346
3320
|
const retVal = (output || [])
|
|
3347
3321
|
.filter((e) => e != null)
|
|
3348
3322
|
.map((entry) => {
|
|
3349
3323
|
if (entry === null) {
|
|
3350
3324
|
return null;
|
|
3351
3325
|
}
|
|
3352
|
-
return
|
|
3326
|
+
return de_QueryDefinition(entry, context);
|
|
3353
3327
|
});
|
|
3354
3328
|
return retVal;
|
|
3355
3329
|
};
|
|
3356
|
-
const
|
|
3330
|
+
const de_QueryInfo = (output, context) => {
|
|
3357
3331
|
return {
|
|
3358
3332
|
createTime: __expectLong(output.createTime),
|
|
3359
3333
|
logGroupName: __expectString(output.logGroupName),
|
|
@@ -3362,120 +3336,120 @@ const deserializeAws_json1_1QueryInfo = (output, context) => {
|
|
|
3362
3336
|
status: __expectString(output.status),
|
|
3363
3337
|
};
|
|
3364
3338
|
};
|
|
3365
|
-
const
|
|
3339
|
+
const de_QueryInfoList = (output, context) => {
|
|
3366
3340
|
const retVal = (output || [])
|
|
3367
3341
|
.filter((e) => e != null)
|
|
3368
3342
|
.map((entry) => {
|
|
3369
3343
|
if (entry === null) {
|
|
3370
3344
|
return null;
|
|
3371
3345
|
}
|
|
3372
|
-
return
|
|
3346
|
+
return de_QueryInfo(entry, context);
|
|
3373
3347
|
});
|
|
3374
3348
|
return retVal;
|
|
3375
3349
|
};
|
|
3376
|
-
const
|
|
3350
|
+
const de_QueryResults = (output, context) => {
|
|
3377
3351
|
const retVal = (output || [])
|
|
3378
3352
|
.filter((e) => e != null)
|
|
3379
3353
|
.map((entry) => {
|
|
3380
3354
|
if (entry === null) {
|
|
3381
3355
|
return null;
|
|
3382
3356
|
}
|
|
3383
|
-
return
|
|
3357
|
+
return de_ResultRows(entry, context);
|
|
3384
3358
|
});
|
|
3385
3359
|
return retVal;
|
|
3386
3360
|
};
|
|
3387
|
-
const
|
|
3361
|
+
const de_QueryStatistics = (output, context) => {
|
|
3388
3362
|
return {
|
|
3389
3363
|
bytesScanned: __limitedParseDouble(output.bytesScanned),
|
|
3390
3364
|
recordsMatched: __limitedParseDouble(output.recordsMatched),
|
|
3391
3365
|
recordsScanned: __limitedParseDouble(output.recordsScanned),
|
|
3392
3366
|
};
|
|
3393
3367
|
};
|
|
3394
|
-
const
|
|
3368
|
+
const de_RejectedLogEventsInfo = (output, context) => {
|
|
3395
3369
|
return {
|
|
3396
3370
|
expiredLogEventEndIndex: __expectInt32(output.expiredLogEventEndIndex),
|
|
3397
3371
|
tooNewLogEventStartIndex: __expectInt32(output.tooNewLogEventStartIndex),
|
|
3398
3372
|
tooOldLogEventEndIndex: __expectInt32(output.tooOldLogEventEndIndex),
|
|
3399
3373
|
};
|
|
3400
3374
|
};
|
|
3401
|
-
const
|
|
3375
|
+
const de_ResourceAlreadyExistsException = (output, context) => {
|
|
3402
3376
|
return {
|
|
3403
3377
|
message: __expectString(output.message),
|
|
3404
3378
|
};
|
|
3405
3379
|
};
|
|
3406
|
-
const
|
|
3380
|
+
const de_ResourceNotFoundException = (output, context) => {
|
|
3407
3381
|
return {
|
|
3408
3382
|
message: __expectString(output.message),
|
|
3409
3383
|
};
|
|
3410
3384
|
};
|
|
3411
|
-
const
|
|
3385
|
+
const de_ResourcePolicies = (output, context) => {
|
|
3412
3386
|
const retVal = (output || [])
|
|
3413
3387
|
.filter((e) => e != null)
|
|
3414
3388
|
.map((entry) => {
|
|
3415
3389
|
if (entry === null) {
|
|
3416
3390
|
return null;
|
|
3417
3391
|
}
|
|
3418
|
-
return
|
|
3392
|
+
return de_ResourcePolicy(entry, context);
|
|
3419
3393
|
});
|
|
3420
3394
|
return retVal;
|
|
3421
3395
|
};
|
|
3422
|
-
const
|
|
3396
|
+
const de_ResourcePolicy = (output, context) => {
|
|
3423
3397
|
return {
|
|
3424
3398
|
lastUpdatedTime: __expectLong(output.lastUpdatedTime),
|
|
3425
3399
|
policyDocument: __expectString(output.policyDocument),
|
|
3426
3400
|
policyName: __expectString(output.policyName),
|
|
3427
3401
|
};
|
|
3428
3402
|
};
|
|
3429
|
-
const
|
|
3403
|
+
const de_ResultField = (output, context) => {
|
|
3430
3404
|
return {
|
|
3431
3405
|
field: __expectString(output.field),
|
|
3432
3406
|
value: __expectString(output.value),
|
|
3433
3407
|
};
|
|
3434
3408
|
};
|
|
3435
|
-
const
|
|
3409
|
+
const de_ResultRows = (output, context) => {
|
|
3436
3410
|
const retVal = (output || [])
|
|
3437
3411
|
.filter((e) => e != null)
|
|
3438
3412
|
.map((entry) => {
|
|
3439
3413
|
if (entry === null) {
|
|
3440
3414
|
return null;
|
|
3441
3415
|
}
|
|
3442
|
-
return
|
|
3416
|
+
return de_ResultField(entry, context);
|
|
3443
3417
|
});
|
|
3444
3418
|
return retVal;
|
|
3445
3419
|
};
|
|
3446
|
-
const
|
|
3420
|
+
const de_SearchedLogStream = (output, context) => {
|
|
3447
3421
|
return {
|
|
3448
3422
|
logStreamName: __expectString(output.logStreamName),
|
|
3449
3423
|
searchedCompletely: __expectBoolean(output.searchedCompletely),
|
|
3450
3424
|
};
|
|
3451
3425
|
};
|
|
3452
|
-
const
|
|
3426
|
+
const de_SearchedLogStreams = (output, context) => {
|
|
3453
3427
|
const retVal = (output || [])
|
|
3454
3428
|
.filter((e) => e != null)
|
|
3455
3429
|
.map((entry) => {
|
|
3456
3430
|
if (entry === null) {
|
|
3457
3431
|
return null;
|
|
3458
3432
|
}
|
|
3459
|
-
return
|
|
3433
|
+
return de_SearchedLogStream(entry, context);
|
|
3460
3434
|
});
|
|
3461
3435
|
return retVal;
|
|
3462
3436
|
};
|
|
3463
|
-
const
|
|
3437
|
+
const de_ServiceUnavailableException = (output, context) => {
|
|
3464
3438
|
return {
|
|
3465
3439
|
message: __expectString(output.message),
|
|
3466
3440
|
};
|
|
3467
3441
|
};
|
|
3468
|
-
const
|
|
3442
|
+
const de_StartQueryResponse = (output, context) => {
|
|
3469
3443
|
return {
|
|
3470
3444
|
queryId: __expectString(output.queryId),
|
|
3471
3445
|
};
|
|
3472
3446
|
};
|
|
3473
|
-
const
|
|
3447
|
+
const de_StopQueryResponse = (output, context) => {
|
|
3474
3448
|
return {
|
|
3475
3449
|
success: __expectBoolean(output.success),
|
|
3476
3450
|
};
|
|
3477
3451
|
};
|
|
3478
|
-
const
|
|
3452
|
+
const de_SubscriptionFilter = (output, context) => {
|
|
3479
3453
|
return {
|
|
3480
3454
|
creationTime: __expectLong(output.creationTime),
|
|
3481
3455
|
destinationArn: __expectString(output.destinationArn),
|
|
@@ -3486,18 +3460,18 @@ const deserializeAws_json1_1SubscriptionFilter = (output, context) => {
|
|
|
3486
3460
|
roleArn: __expectString(output.roleArn),
|
|
3487
3461
|
};
|
|
3488
3462
|
};
|
|
3489
|
-
const
|
|
3463
|
+
const de_SubscriptionFilters = (output, context) => {
|
|
3490
3464
|
const retVal = (output || [])
|
|
3491
3465
|
.filter((e) => e != null)
|
|
3492
3466
|
.map((entry) => {
|
|
3493
3467
|
if (entry === null) {
|
|
3494
3468
|
return null;
|
|
3495
3469
|
}
|
|
3496
|
-
return
|
|
3470
|
+
return de_SubscriptionFilter(entry, context);
|
|
3497
3471
|
});
|
|
3498
3472
|
return retVal;
|
|
3499
3473
|
};
|
|
3500
|
-
const
|
|
3474
|
+
const de_Tags = (output, context) => {
|
|
3501
3475
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
3502
3476
|
if (value === null) {
|
|
3503
3477
|
return acc;
|
|
@@ -3506,18 +3480,18 @@ const deserializeAws_json1_1Tags = (output, context) => {
|
|
|
3506
3480
|
return acc;
|
|
3507
3481
|
}, {});
|
|
3508
3482
|
};
|
|
3509
|
-
const
|
|
3483
|
+
const de_TestMetricFilterResponse = (output, context) => {
|
|
3510
3484
|
return {
|
|
3511
|
-
matches: output.matches != null ?
|
|
3485
|
+
matches: output.matches != null ? de_MetricFilterMatches(output.matches, context) : undefined,
|
|
3512
3486
|
};
|
|
3513
3487
|
};
|
|
3514
|
-
const
|
|
3488
|
+
const de_TooManyTagsException = (output, context) => {
|
|
3515
3489
|
return {
|
|
3516
3490
|
message: __expectString(output.message),
|
|
3517
3491
|
resourceName: __expectString(output.resourceName),
|
|
3518
3492
|
};
|
|
3519
3493
|
};
|
|
3520
|
-
const
|
|
3494
|
+
const de_UnrecognizedClientException = (output, context) => {
|
|
3521
3495
|
return {
|
|
3522
3496
|
message: __expectString(output.message),
|
|
3523
3497
|
};
|