@aws-sdk/client-ssm 3.309.0 → 3.312.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/protocols/Aws_json1_1.js +144 -552
- package/dist-es/protocols/Aws_json1_1.js +144 -552
- package/package.json +36 -36
|
@@ -6,1243 +6,829 @@ import { AssociationVersionLimitExceeded, AutomationDefinitionNotApprovedExcepti
|
|
|
6
6
|
import { DocumentVersionLimitExceeded, DuplicateDocumentContent, DuplicateDocumentVersionName, InvalidUpdate, OpsMetadataKeyLimitExceededException, ResourceDataSyncConflictException, StatusUnchanged, } from "../models/models_2";
|
|
7
7
|
import { SSMServiceException as __BaseException } from "../models/SSMServiceException";
|
|
8
8
|
export const se_AddTagsToResourceCommand = async (input, context) => {
|
|
9
|
-
const headers =
|
|
10
|
-
"content-type": "application/x-amz-json-1.1",
|
|
11
|
-
"x-amz-target": "AmazonSSM.AddTagsToResource",
|
|
12
|
-
};
|
|
9
|
+
const headers = sharedHeaders("AddTagsToResource");
|
|
13
10
|
let body;
|
|
14
11
|
body = JSON.stringify(se_AddTagsToResourceRequest(input, context));
|
|
15
12
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
16
13
|
};
|
|
17
14
|
export const se_AssociateOpsItemRelatedItemCommand = async (input, context) => {
|
|
18
|
-
const headers =
|
|
19
|
-
"content-type": "application/x-amz-json-1.1",
|
|
20
|
-
"x-amz-target": "AmazonSSM.AssociateOpsItemRelatedItem",
|
|
21
|
-
};
|
|
15
|
+
const headers = sharedHeaders("AssociateOpsItemRelatedItem");
|
|
22
16
|
let body;
|
|
23
17
|
body = JSON.stringify(se_AssociateOpsItemRelatedItemRequest(input, context));
|
|
24
18
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
25
19
|
};
|
|
26
20
|
export const se_CancelCommandCommand = async (input, context) => {
|
|
27
|
-
const headers =
|
|
28
|
-
"content-type": "application/x-amz-json-1.1",
|
|
29
|
-
"x-amz-target": "AmazonSSM.CancelCommand",
|
|
30
|
-
};
|
|
21
|
+
const headers = sharedHeaders("CancelCommand");
|
|
31
22
|
let body;
|
|
32
23
|
body = JSON.stringify(se_CancelCommandRequest(input, context));
|
|
33
24
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
34
25
|
};
|
|
35
26
|
export const se_CancelMaintenanceWindowExecutionCommand = async (input, context) => {
|
|
36
|
-
const headers =
|
|
37
|
-
"content-type": "application/x-amz-json-1.1",
|
|
38
|
-
"x-amz-target": "AmazonSSM.CancelMaintenanceWindowExecution",
|
|
39
|
-
};
|
|
27
|
+
const headers = sharedHeaders("CancelMaintenanceWindowExecution");
|
|
40
28
|
let body;
|
|
41
29
|
body = JSON.stringify(se_CancelMaintenanceWindowExecutionRequest(input, context));
|
|
42
30
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
43
31
|
};
|
|
44
32
|
export const se_CreateActivationCommand = async (input, context) => {
|
|
45
|
-
const headers =
|
|
46
|
-
"content-type": "application/x-amz-json-1.1",
|
|
47
|
-
"x-amz-target": "AmazonSSM.CreateActivation",
|
|
48
|
-
};
|
|
33
|
+
const headers = sharedHeaders("CreateActivation");
|
|
49
34
|
let body;
|
|
50
35
|
body = JSON.stringify(se_CreateActivationRequest(input, context));
|
|
51
36
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
52
37
|
};
|
|
53
38
|
export const se_CreateAssociationCommand = async (input, context) => {
|
|
54
|
-
const headers =
|
|
55
|
-
"content-type": "application/x-amz-json-1.1",
|
|
56
|
-
"x-amz-target": "AmazonSSM.CreateAssociation",
|
|
57
|
-
};
|
|
39
|
+
const headers = sharedHeaders("CreateAssociation");
|
|
58
40
|
let body;
|
|
59
41
|
body = JSON.stringify(se_CreateAssociationRequest(input, context));
|
|
60
42
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
61
43
|
};
|
|
62
44
|
export const se_CreateAssociationBatchCommand = async (input, context) => {
|
|
63
|
-
const headers =
|
|
64
|
-
"content-type": "application/x-amz-json-1.1",
|
|
65
|
-
"x-amz-target": "AmazonSSM.CreateAssociationBatch",
|
|
66
|
-
};
|
|
45
|
+
const headers = sharedHeaders("CreateAssociationBatch");
|
|
67
46
|
let body;
|
|
68
47
|
body = JSON.stringify(se_CreateAssociationBatchRequest(input, context));
|
|
69
48
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
70
49
|
};
|
|
71
50
|
export const se_CreateDocumentCommand = async (input, context) => {
|
|
72
|
-
const headers =
|
|
73
|
-
"content-type": "application/x-amz-json-1.1",
|
|
74
|
-
"x-amz-target": "AmazonSSM.CreateDocument",
|
|
75
|
-
};
|
|
51
|
+
const headers = sharedHeaders("CreateDocument");
|
|
76
52
|
let body;
|
|
77
53
|
body = JSON.stringify(se_CreateDocumentRequest(input, context));
|
|
78
54
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
79
55
|
};
|
|
80
56
|
export const se_CreateMaintenanceWindowCommand = async (input, context) => {
|
|
81
|
-
const headers =
|
|
82
|
-
"content-type": "application/x-amz-json-1.1",
|
|
83
|
-
"x-amz-target": "AmazonSSM.CreateMaintenanceWindow",
|
|
84
|
-
};
|
|
57
|
+
const headers = sharedHeaders("CreateMaintenanceWindow");
|
|
85
58
|
let body;
|
|
86
59
|
body = JSON.stringify(se_CreateMaintenanceWindowRequest(input, context));
|
|
87
60
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
88
61
|
};
|
|
89
62
|
export const se_CreateOpsItemCommand = async (input, context) => {
|
|
90
|
-
const headers =
|
|
91
|
-
"content-type": "application/x-amz-json-1.1",
|
|
92
|
-
"x-amz-target": "AmazonSSM.CreateOpsItem",
|
|
93
|
-
};
|
|
63
|
+
const headers = sharedHeaders("CreateOpsItem");
|
|
94
64
|
let body;
|
|
95
65
|
body = JSON.stringify(se_CreateOpsItemRequest(input, context));
|
|
96
66
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
97
67
|
};
|
|
98
68
|
export const se_CreateOpsMetadataCommand = async (input, context) => {
|
|
99
|
-
const headers =
|
|
100
|
-
"content-type": "application/x-amz-json-1.1",
|
|
101
|
-
"x-amz-target": "AmazonSSM.CreateOpsMetadata",
|
|
102
|
-
};
|
|
69
|
+
const headers = sharedHeaders("CreateOpsMetadata");
|
|
103
70
|
let body;
|
|
104
71
|
body = JSON.stringify(se_CreateOpsMetadataRequest(input, context));
|
|
105
72
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
106
73
|
};
|
|
107
74
|
export const se_CreatePatchBaselineCommand = async (input, context) => {
|
|
108
|
-
const headers =
|
|
109
|
-
"content-type": "application/x-amz-json-1.1",
|
|
110
|
-
"x-amz-target": "AmazonSSM.CreatePatchBaseline",
|
|
111
|
-
};
|
|
75
|
+
const headers = sharedHeaders("CreatePatchBaseline");
|
|
112
76
|
let body;
|
|
113
77
|
body = JSON.stringify(se_CreatePatchBaselineRequest(input, context));
|
|
114
78
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
115
79
|
};
|
|
116
80
|
export const se_CreateResourceDataSyncCommand = async (input, context) => {
|
|
117
|
-
const headers =
|
|
118
|
-
"content-type": "application/x-amz-json-1.1",
|
|
119
|
-
"x-amz-target": "AmazonSSM.CreateResourceDataSync",
|
|
120
|
-
};
|
|
81
|
+
const headers = sharedHeaders("CreateResourceDataSync");
|
|
121
82
|
let body;
|
|
122
83
|
body = JSON.stringify(se_CreateResourceDataSyncRequest(input, context));
|
|
123
84
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
124
85
|
};
|
|
125
86
|
export const se_DeleteActivationCommand = async (input, context) => {
|
|
126
|
-
const headers =
|
|
127
|
-
"content-type": "application/x-amz-json-1.1",
|
|
128
|
-
"x-amz-target": "AmazonSSM.DeleteActivation",
|
|
129
|
-
};
|
|
87
|
+
const headers = sharedHeaders("DeleteActivation");
|
|
130
88
|
let body;
|
|
131
89
|
body = JSON.stringify(se_DeleteActivationRequest(input, context));
|
|
132
90
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
133
91
|
};
|
|
134
92
|
export const se_DeleteAssociationCommand = async (input, context) => {
|
|
135
|
-
const headers =
|
|
136
|
-
"content-type": "application/x-amz-json-1.1",
|
|
137
|
-
"x-amz-target": "AmazonSSM.DeleteAssociation",
|
|
138
|
-
};
|
|
93
|
+
const headers = sharedHeaders("DeleteAssociation");
|
|
139
94
|
let body;
|
|
140
95
|
body = JSON.stringify(se_DeleteAssociationRequest(input, context));
|
|
141
96
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
142
97
|
};
|
|
143
98
|
export const se_DeleteDocumentCommand = async (input, context) => {
|
|
144
|
-
const headers =
|
|
145
|
-
"content-type": "application/x-amz-json-1.1",
|
|
146
|
-
"x-amz-target": "AmazonSSM.DeleteDocument",
|
|
147
|
-
};
|
|
99
|
+
const headers = sharedHeaders("DeleteDocument");
|
|
148
100
|
let body;
|
|
149
101
|
body = JSON.stringify(se_DeleteDocumentRequest(input, context));
|
|
150
102
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
151
103
|
};
|
|
152
104
|
export const se_DeleteInventoryCommand = async (input, context) => {
|
|
153
|
-
const headers =
|
|
154
|
-
"content-type": "application/x-amz-json-1.1",
|
|
155
|
-
"x-amz-target": "AmazonSSM.DeleteInventory",
|
|
156
|
-
};
|
|
105
|
+
const headers = sharedHeaders("DeleteInventory");
|
|
157
106
|
let body;
|
|
158
107
|
body = JSON.stringify(se_DeleteInventoryRequest(input, context));
|
|
159
108
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
160
109
|
};
|
|
161
110
|
export const se_DeleteMaintenanceWindowCommand = async (input, context) => {
|
|
162
|
-
const headers =
|
|
163
|
-
"content-type": "application/x-amz-json-1.1",
|
|
164
|
-
"x-amz-target": "AmazonSSM.DeleteMaintenanceWindow",
|
|
165
|
-
};
|
|
111
|
+
const headers = sharedHeaders("DeleteMaintenanceWindow");
|
|
166
112
|
let body;
|
|
167
113
|
body = JSON.stringify(se_DeleteMaintenanceWindowRequest(input, context));
|
|
168
114
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
169
115
|
};
|
|
170
116
|
export const se_DeleteOpsMetadataCommand = async (input, context) => {
|
|
171
|
-
const headers =
|
|
172
|
-
"content-type": "application/x-amz-json-1.1",
|
|
173
|
-
"x-amz-target": "AmazonSSM.DeleteOpsMetadata",
|
|
174
|
-
};
|
|
117
|
+
const headers = sharedHeaders("DeleteOpsMetadata");
|
|
175
118
|
let body;
|
|
176
119
|
body = JSON.stringify(se_DeleteOpsMetadataRequest(input, context));
|
|
177
120
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
178
121
|
};
|
|
179
122
|
export const se_DeleteParameterCommand = async (input, context) => {
|
|
180
|
-
const headers =
|
|
181
|
-
"content-type": "application/x-amz-json-1.1",
|
|
182
|
-
"x-amz-target": "AmazonSSM.DeleteParameter",
|
|
183
|
-
};
|
|
123
|
+
const headers = sharedHeaders("DeleteParameter");
|
|
184
124
|
let body;
|
|
185
125
|
body = JSON.stringify(se_DeleteParameterRequest(input, context));
|
|
186
126
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
187
127
|
};
|
|
188
128
|
export const se_DeleteParametersCommand = async (input, context) => {
|
|
189
|
-
const headers =
|
|
190
|
-
"content-type": "application/x-amz-json-1.1",
|
|
191
|
-
"x-amz-target": "AmazonSSM.DeleteParameters",
|
|
192
|
-
};
|
|
129
|
+
const headers = sharedHeaders("DeleteParameters");
|
|
193
130
|
let body;
|
|
194
131
|
body = JSON.stringify(se_DeleteParametersRequest(input, context));
|
|
195
132
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
196
133
|
};
|
|
197
134
|
export const se_DeletePatchBaselineCommand = async (input, context) => {
|
|
198
|
-
const headers =
|
|
199
|
-
"content-type": "application/x-amz-json-1.1",
|
|
200
|
-
"x-amz-target": "AmazonSSM.DeletePatchBaseline",
|
|
201
|
-
};
|
|
135
|
+
const headers = sharedHeaders("DeletePatchBaseline");
|
|
202
136
|
let body;
|
|
203
137
|
body = JSON.stringify(se_DeletePatchBaselineRequest(input, context));
|
|
204
138
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
205
139
|
};
|
|
206
140
|
export const se_DeleteResourceDataSyncCommand = async (input, context) => {
|
|
207
|
-
const headers =
|
|
208
|
-
"content-type": "application/x-amz-json-1.1",
|
|
209
|
-
"x-amz-target": "AmazonSSM.DeleteResourceDataSync",
|
|
210
|
-
};
|
|
141
|
+
const headers = sharedHeaders("DeleteResourceDataSync");
|
|
211
142
|
let body;
|
|
212
143
|
body = JSON.stringify(se_DeleteResourceDataSyncRequest(input, context));
|
|
213
144
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
214
145
|
};
|
|
215
146
|
export const se_DeleteResourcePolicyCommand = async (input, context) => {
|
|
216
|
-
const headers =
|
|
217
|
-
"content-type": "application/x-amz-json-1.1",
|
|
218
|
-
"x-amz-target": "AmazonSSM.DeleteResourcePolicy",
|
|
219
|
-
};
|
|
147
|
+
const headers = sharedHeaders("DeleteResourcePolicy");
|
|
220
148
|
let body;
|
|
221
149
|
body = JSON.stringify(se_DeleteResourcePolicyRequest(input, context));
|
|
222
150
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
223
151
|
};
|
|
224
152
|
export const se_DeregisterManagedInstanceCommand = async (input, context) => {
|
|
225
|
-
const headers =
|
|
226
|
-
"content-type": "application/x-amz-json-1.1",
|
|
227
|
-
"x-amz-target": "AmazonSSM.DeregisterManagedInstance",
|
|
228
|
-
};
|
|
153
|
+
const headers = sharedHeaders("DeregisterManagedInstance");
|
|
229
154
|
let body;
|
|
230
155
|
body = JSON.stringify(se_DeregisterManagedInstanceRequest(input, context));
|
|
231
156
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
232
157
|
};
|
|
233
158
|
export const se_DeregisterPatchBaselineForPatchGroupCommand = async (input, context) => {
|
|
234
|
-
const headers =
|
|
235
|
-
"content-type": "application/x-amz-json-1.1",
|
|
236
|
-
"x-amz-target": "AmazonSSM.DeregisterPatchBaselineForPatchGroup",
|
|
237
|
-
};
|
|
159
|
+
const headers = sharedHeaders("DeregisterPatchBaselineForPatchGroup");
|
|
238
160
|
let body;
|
|
239
161
|
body = JSON.stringify(se_DeregisterPatchBaselineForPatchGroupRequest(input, context));
|
|
240
162
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
241
163
|
};
|
|
242
164
|
export const se_DeregisterTargetFromMaintenanceWindowCommand = async (input, context) => {
|
|
243
|
-
const headers =
|
|
244
|
-
"content-type": "application/x-amz-json-1.1",
|
|
245
|
-
"x-amz-target": "AmazonSSM.DeregisterTargetFromMaintenanceWindow",
|
|
246
|
-
};
|
|
165
|
+
const headers = sharedHeaders("DeregisterTargetFromMaintenanceWindow");
|
|
247
166
|
let body;
|
|
248
167
|
body = JSON.stringify(se_DeregisterTargetFromMaintenanceWindowRequest(input, context));
|
|
249
168
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
250
169
|
};
|
|
251
170
|
export const se_DeregisterTaskFromMaintenanceWindowCommand = async (input, context) => {
|
|
252
|
-
const headers =
|
|
253
|
-
"content-type": "application/x-amz-json-1.1",
|
|
254
|
-
"x-amz-target": "AmazonSSM.DeregisterTaskFromMaintenanceWindow",
|
|
255
|
-
};
|
|
171
|
+
const headers = sharedHeaders("DeregisterTaskFromMaintenanceWindow");
|
|
256
172
|
let body;
|
|
257
173
|
body = JSON.stringify(se_DeregisterTaskFromMaintenanceWindowRequest(input, context));
|
|
258
174
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
259
175
|
};
|
|
260
176
|
export const se_DescribeActivationsCommand = async (input, context) => {
|
|
261
|
-
const headers =
|
|
262
|
-
"content-type": "application/x-amz-json-1.1",
|
|
263
|
-
"x-amz-target": "AmazonSSM.DescribeActivations",
|
|
264
|
-
};
|
|
177
|
+
const headers = sharedHeaders("DescribeActivations");
|
|
265
178
|
let body;
|
|
266
179
|
body = JSON.stringify(se_DescribeActivationsRequest(input, context));
|
|
267
180
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
268
181
|
};
|
|
269
182
|
export const se_DescribeAssociationCommand = async (input, context) => {
|
|
270
|
-
const headers =
|
|
271
|
-
"content-type": "application/x-amz-json-1.1",
|
|
272
|
-
"x-amz-target": "AmazonSSM.DescribeAssociation",
|
|
273
|
-
};
|
|
183
|
+
const headers = sharedHeaders("DescribeAssociation");
|
|
274
184
|
let body;
|
|
275
185
|
body = JSON.stringify(se_DescribeAssociationRequest(input, context));
|
|
276
186
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
277
187
|
};
|
|
278
188
|
export const se_DescribeAssociationExecutionsCommand = async (input, context) => {
|
|
279
|
-
const headers =
|
|
280
|
-
"content-type": "application/x-amz-json-1.1",
|
|
281
|
-
"x-amz-target": "AmazonSSM.DescribeAssociationExecutions",
|
|
282
|
-
};
|
|
189
|
+
const headers = sharedHeaders("DescribeAssociationExecutions");
|
|
283
190
|
let body;
|
|
284
191
|
body = JSON.stringify(se_DescribeAssociationExecutionsRequest(input, context));
|
|
285
192
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
286
193
|
};
|
|
287
194
|
export const se_DescribeAssociationExecutionTargetsCommand = async (input, context) => {
|
|
288
|
-
const headers =
|
|
289
|
-
"content-type": "application/x-amz-json-1.1",
|
|
290
|
-
"x-amz-target": "AmazonSSM.DescribeAssociationExecutionTargets",
|
|
291
|
-
};
|
|
195
|
+
const headers = sharedHeaders("DescribeAssociationExecutionTargets");
|
|
292
196
|
let body;
|
|
293
197
|
body = JSON.stringify(se_DescribeAssociationExecutionTargetsRequest(input, context));
|
|
294
198
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
295
199
|
};
|
|
296
200
|
export const se_DescribeAutomationExecutionsCommand = async (input, context) => {
|
|
297
|
-
const headers =
|
|
298
|
-
"content-type": "application/x-amz-json-1.1",
|
|
299
|
-
"x-amz-target": "AmazonSSM.DescribeAutomationExecutions",
|
|
300
|
-
};
|
|
201
|
+
const headers = sharedHeaders("DescribeAutomationExecutions");
|
|
301
202
|
let body;
|
|
302
203
|
body = JSON.stringify(se_DescribeAutomationExecutionsRequest(input, context));
|
|
303
204
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
304
205
|
};
|
|
305
206
|
export const se_DescribeAutomationStepExecutionsCommand = async (input, context) => {
|
|
306
|
-
const headers =
|
|
307
|
-
"content-type": "application/x-amz-json-1.1",
|
|
308
|
-
"x-amz-target": "AmazonSSM.DescribeAutomationStepExecutions",
|
|
309
|
-
};
|
|
207
|
+
const headers = sharedHeaders("DescribeAutomationStepExecutions");
|
|
310
208
|
let body;
|
|
311
209
|
body = JSON.stringify(se_DescribeAutomationStepExecutionsRequest(input, context));
|
|
312
210
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
313
211
|
};
|
|
314
212
|
export const se_DescribeAvailablePatchesCommand = async (input, context) => {
|
|
315
|
-
const headers =
|
|
316
|
-
"content-type": "application/x-amz-json-1.1",
|
|
317
|
-
"x-amz-target": "AmazonSSM.DescribeAvailablePatches",
|
|
318
|
-
};
|
|
213
|
+
const headers = sharedHeaders("DescribeAvailablePatches");
|
|
319
214
|
let body;
|
|
320
215
|
body = JSON.stringify(se_DescribeAvailablePatchesRequest(input, context));
|
|
321
216
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
322
217
|
};
|
|
323
218
|
export const se_DescribeDocumentCommand = async (input, context) => {
|
|
324
|
-
const headers =
|
|
325
|
-
"content-type": "application/x-amz-json-1.1",
|
|
326
|
-
"x-amz-target": "AmazonSSM.DescribeDocument",
|
|
327
|
-
};
|
|
219
|
+
const headers = sharedHeaders("DescribeDocument");
|
|
328
220
|
let body;
|
|
329
221
|
body = JSON.stringify(se_DescribeDocumentRequest(input, context));
|
|
330
222
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
331
223
|
};
|
|
332
224
|
export const se_DescribeDocumentPermissionCommand = async (input, context) => {
|
|
333
|
-
const headers =
|
|
334
|
-
"content-type": "application/x-amz-json-1.1",
|
|
335
|
-
"x-amz-target": "AmazonSSM.DescribeDocumentPermission",
|
|
336
|
-
};
|
|
225
|
+
const headers = sharedHeaders("DescribeDocumentPermission");
|
|
337
226
|
let body;
|
|
338
227
|
body = JSON.stringify(se_DescribeDocumentPermissionRequest(input, context));
|
|
339
228
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
340
229
|
};
|
|
341
230
|
export const se_DescribeEffectiveInstanceAssociationsCommand = async (input, context) => {
|
|
342
|
-
const headers =
|
|
343
|
-
"content-type": "application/x-amz-json-1.1",
|
|
344
|
-
"x-amz-target": "AmazonSSM.DescribeEffectiveInstanceAssociations",
|
|
345
|
-
};
|
|
231
|
+
const headers = sharedHeaders("DescribeEffectiveInstanceAssociations");
|
|
346
232
|
let body;
|
|
347
233
|
body = JSON.stringify(se_DescribeEffectiveInstanceAssociationsRequest(input, context));
|
|
348
234
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
349
235
|
};
|
|
350
236
|
export const se_DescribeEffectivePatchesForPatchBaselineCommand = async (input, context) => {
|
|
351
|
-
const headers =
|
|
352
|
-
"content-type": "application/x-amz-json-1.1",
|
|
353
|
-
"x-amz-target": "AmazonSSM.DescribeEffectivePatchesForPatchBaseline",
|
|
354
|
-
};
|
|
237
|
+
const headers = sharedHeaders("DescribeEffectivePatchesForPatchBaseline");
|
|
355
238
|
let body;
|
|
356
239
|
body = JSON.stringify(se_DescribeEffectivePatchesForPatchBaselineRequest(input, context));
|
|
357
240
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
358
241
|
};
|
|
359
242
|
export const se_DescribeInstanceAssociationsStatusCommand = async (input, context) => {
|
|
360
|
-
const headers =
|
|
361
|
-
"content-type": "application/x-amz-json-1.1",
|
|
362
|
-
"x-amz-target": "AmazonSSM.DescribeInstanceAssociationsStatus",
|
|
363
|
-
};
|
|
243
|
+
const headers = sharedHeaders("DescribeInstanceAssociationsStatus");
|
|
364
244
|
let body;
|
|
365
245
|
body = JSON.stringify(se_DescribeInstanceAssociationsStatusRequest(input, context));
|
|
366
246
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
367
247
|
};
|
|
368
248
|
export const se_DescribeInstanceInformationCommand = async (input, context) => {
|
|
369
|
-
const headers =
|
|
370
|
-
"content-type": "application/x-amz-json-1.1",
|
|
371
|
-
"x-amz-target": "AmazonSSM.DescribeInstanceInformation",
|
|
372
|
-
};
|
|
249
|
+
const headers = sharedHeaders("DescribeInstanceInformation");
|
|
373
250
|
let body;
|
|
374
251
|
body = JSON.stringify(se_DescribeInstanceInformationRequest(input, context));
|
|
375
252
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
376
253
|
};
|
|
377
254
|
export const se_DescribeInstancePatchesCommand = async (input, context) => {
|
|
378
|
-
const headers =
|
|
379
|
-
"content-type": "application/x-amz-json-1.1",
|
|
380
|
-
"x-amz-target": "AmazonSSM.DescribeInstancePatches",
|
|
381
|
-
};
|
|
255
|
+
const headers = sharedHeaders("DescribeInstancePatches");
|
|
382
256
|
let body;
|
|
383
257
|
body = JSON.stringify(se_DescribeInstancePatchesRequest(input, context));
|
|
384
258
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
385
259
|
};
|
|
386
260
|
export const se_DescribeInstancePatchStatesCommand = async (input, context) => {
|
|
387
|
-
const headers =
|
|
388
|
-
"content-type": "application/x-amz-json-1.1",
|
|
389
|
-
"x-amz-target": "AmazonSSM.DescribeInstancePatchStates",
|
|
390
|
-
};
|
|
261
|
+
const headers = sharedHeaders("DescribeInstancePatchStates");
|
|
391
262
|
let body;
|
|
392
263
|
body = JSON.stringify(se_DescribeInstancePatchStatesRequest(input, context));
|
|
393
264
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
394
265
|
};
|
|
395
266
|
export const se_DescribeInstancePatchStatesForPatchGroupCommand = async (input, context) => {
|
|
396
|
-
const headers =
|
|
397
|
-
"content-type": "application/x-amz-json-1.1",
|
|
398
|
-
"x-amz-target": "AmazonSSM.DescribeInstancePatchStatesForPatchGroup",
|
|
399
|
-
};
|
|
267
|
+
const headers = sharedHeaders("DescribeInstancePatchStatesForPatchGroup");
|
|
400
268
|
let body;
|
|
401
269
|
body = JSON.stringify(se_DescribeInstancePatchStatesForPatchGroupRequest(input, context));
|
|
402
270
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
403
271
|
};
|
|
404
272
|
export const se_DescribeInventoryDeletionsCommand = async (input, context) => {
|
|
405
|
-
const headers =
|
|
406
|
-
"content-type": "application/x-amz-json-1.1",
|
|
407
|
-
"x-amz-target": "AmazonSSM.DescribeInventoryDeletions",
|
|
408
|
-
};
|
|
273
|
+
const headers = sharedHeaders("DescribeInventoryDeletions");
|
|
409
274
|
let body;
|
|
410
275
|
body = JSON.stringify(se_DescribeInventoryDeletionsRequest(input, context));
|
|
411
276
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
412
277
|
};
|
|
413
278
|
export const se_DescribeMaintenanceWindowExecutionsCommand = async (input, context) => {
|
|
414
|
-
const headers =
|
|
415
|
-
"content-type": "application/x-amz-json-1.1",
|
|
416
|
-
"x-amz-target": "AmazonSSM.DescribeMaintenanceWindowExecutions",
|
|
417
|
-
};
|
|
279
|
+
const headers = sharedHeaders("DescribeMaintenanceWindowExecutions");
|
|
418
280
|
let body;
|
|
419
281
|
body = JSON.stringify(se_DescribeMaintenanceWindowExecutionsRequest(input, context));
|
|
420
282
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
421
283
|
};
|
|
422
284
|
export const se_DescribeMaintenanceWindowExecutionTaskInvocationsCommand = async (input, context) => {
|
|
423
|
-
const headers =
|
|
424
|
-
"content-type": "application/x-amz-json-1.1",
|
|
425
|
-
"x-amz-target": "AmazonSSM.DescribeMaintenanceWindowExecutionTaskInvocations",
|
|
426
|
-
};
|
|
285
|
+
const headers = sharedHeaders("DescribeMaintenanceWindowExecutionTaskInvocations");
|
|
427
286
|
let body;
|
|
428
287
|
body = JSON.stringify(se_DescribeMaintenanceWindowExecutionTaskInvocationsRequest(input, context));
|
|
429
288
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
430
289
|
};
|
|
431
290
|
export const se_DescribeMaintenanceWindowExecutionTasksCommand = async (input, context) => {
|
|
432
|
-
const headers =
|
|
433
|
-
"content-type": "application/x-amz-json-1.1",
|
|
434
|
-
"x-amz-target": "AmazonSSM.DescribeMaintenanceWindowExecutionTasks",
|
|
435
|
-
};
|
|
291
|
+
const headers = sharedHeaders("DescribeMaintenanceWindowExecutionTasks");
|
|
436
292
|
let body;
|
|
437
293
|
body = JSON.stringify(se_DescribeMaintenanceWindowExecutionTasksRequest(input, context));
|
|
438
294
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
439
295
|
};
|
|
440
296
|
export const se_DescribeMaintenanceWindowsCommand = async (input, context) => {
|
|
441
|
-
const headers =
|
|
442
|
-
"content-type": "application/x-amz-json-1.1",
|
|
443
|
-
"x-amz-target": "AmazonSSM.DescribeMaintenanceWindows",
|
|
444
|
-
};
|
|
297
|
+
const headers = sharedHeaders("DescribeMaintenanceWindows");
|
|
445
298
|
let body;
|
|
446
299
|
body = JSON.stringify(se_DescribeMaintenanceWindowsRequest(input, context));
|
|
447
300
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
448
301
|
};
|
|
449
302
|
export const se_DescribeMaintenanceWindowScheduleCommand = async (input, context) => {
|
|
450
|
-
const headers =
|
|
451
|
-
"content-type": "application/x-amz-json-1.1",
|
|
452
|
-
"x-amz-target": "AmazonSSM.DescribeMaintenanceWindowSchedule",
|
|
453
|
-
};
|
|
303
|
+
const headers = sharedHeaders("DescribeMaintenanceWindowSchedule");
|
|
454
304
|
let body;
|
|
455
305
|
body = JSON.stringify(se_DescribeMaintenanceWindowScheduleRequest(input, context));
|
|
456
306
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
457
307
|
};
|
|
458
308
|
export const se_DescribeMaintenanceWindowsForTargetCommand = async (input, context) => {
|
|
459
|
-
const headers =
|
|
460
|
-
"content-type": "application/x-amz-json-1.1",
|
|
461
|
-
"x-amz-target": "AmazonSSM.DescribeMaintenanceWindowsForTarget",
|
|
462
|
-
};
|
|
309
|
+
const headers = sharedHeaders("DescribeMaintenanceWindowsForTarget");
|
|
463
310
|
let body;
|
|
464
311
|
body = JSON.stringify(se_DescribeMaintenanceWindowsForTargetRequest(input, context));
|
|
465
312
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
466
313
|
};
|
|
467
314
|
export const se_DescribeMaintenanceWindowTargetsCommand = async (input, context) => {
|
|
468
|
-
const headers =
|
|
469
|
-
"content-type": "application/x-amz-json-1.1",
|
|
470
|
-
"x-amz-target": "AmazonSSM.DescribeMaintenanceWindowTargets",
|
|
471
|
-
};
|
|
315
|
+
const headers = sharedHeaders("DescribeMaintenanceWindowTargets");
|
|
472
316
|
let body;
|
|
473
317
|
body = JSON.stringify(se_DescribeMaintenanceWindowTargetsRequest(input, context));
|
|
474
318
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
475
319
|
};
|
|
476
320
|
export const se_DescribeMaintenanceWindowTasksCommand = async (input, context) => {
|
|
477
|
-
const headers =
|
|
478
|
-
"content-type": "application/x-amz-json-1.1",
|
|
479
|
-
"x-amz-target": "AmazonSSM.DescribeMaintenanceWindowTasks",
|
|
480
|
-
};
|
|
321
|
+
const headers = sharedHeaders("DescribeMaintenanceWindowTasks");
|
|
481
322
|
let body;
|
|
482
323
|
body = JSON.stringify(se_DescribeMaintenanceWindowTasksRequest(input, context));
|
|
483
324
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
484
325
|
};
|
|
485
326
|
export const se_DescribeOpsItemsCommand = async (input, context) => {
|
|
486
|
-
const headers =
|
|
487
|
-
"content-type": "application/x-amz-json-1.1",
|
|
488
|
-
"x-amz-target": "AmazonSSM.DescribeOpsItems",
|
|
489
|
-
};
|
|
327
|
+
const headers = sharedHeaders("DescribeOpsItems");
|
|
490
328
|
let body;
|
|
491
329
|
body = JSON.stringify(se_DescribeOpsItemsRequest(input, context));
|
|
492
330
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
493
331
|
};
|
|
494
332
|
export const se_DescribeParametersCommand = async (input, context) => {
|
|
495
|
-
const headers =
|
|
496
|
-
"content-type": "application/x-amz-json-1.1",
|
|
497
|
-
"x-amz-target": "AmazonSSM.DescribeParameters",
|
|
498
|
-
};
|
|
333
|
+
const headers = sharedHeaders("DescribeParameters");
|
|
499
334
|
let body;
|
|
500
335
|
body = JSON.stringify(se_DescribeParametersRequest(input, context));
|
|
501
336
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
502
337
|
};
|
|
503
338
|
export const se_DescribePatchBaselinesCommand = async (input, context) => {
|
|
504
|
-
const headers =
|
|
505
|
-
"content-type": "application/x-amz-json-1.1",
|
|
506
|
-
"x-amz-target": "AmazonSSM.DescribePatchBaselines",
|
|
507
|
-
};
|
|
339
|
+
const headers = sharedHeaders("DescribePatchBaselines");
|
|
508
340
|
let body;
|
|
509
341
|
body = JSON.stringify(se_DescribePatchBaselinesRequest(input, context));
|
|
510
342
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
511
343
|
};
|
|
512
344
|
export const se_DescribePatchGroupsCommand = async (input, context) => {
|
|
513
|
-
const headers =
|
|
514
|
-
"content-type": "application/x-amz-json-1.1",
|
|
515
|
-
"x-amz-target": "AmazonSSM.DescribePatchGroups",
|
|
516
|
-
};
|
|
345
|
+
const headers = sharedHeaders("DescribePatchGroups");
|
|
517
346
|
let body;
|
|
518
347
|
body = JSON.stringify(se_DescribePatchGroupsRequest(input, context));
|
|
519
348
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
520
349
|
};
|
|
521
350
|
export const se_DescribePatchGroupStateCommand = async (input, context) => {
|
|
522
|
-
const headers =
|
|
523
|
-
"content-type": "application/x-amz-json-1.1",
|
|
524
|
-
"x-amz-target": "AmazonSSM.DescribePatchGroupState",
|
|
525
|
-
};
|
|
351
|
+
const headers = sharedHeaders("DescribePatchGroupState");
|
|
526
352
|
let body;
|
|
527
353
|
body = JSON.stringify(se_DescribePatchGroupStateRequest(input, context));
|
|
528
354
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
529
355
|
};
|
|
530
356
|
export const se_DescribePatchPropertiesCommand = async (input, context) => {
|
|
531
|
-
const headers =
|
|
532
|
-
"content-type": "application/x-amz-json-1.1",
|
|
533
|
-
"x-amz-target": "AmazonSSM.DescribePatchProperties",
|
|
534
|
-
};
|
|
357
|
+
const headers = sharedHeaders("DescribePatchProperties");
|
|
535
358
|
let body;
|
|
536
359
|
body = JSON.stringify(se_DescribePatchPropertiesRequest(input, context));
|
|
537
360
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
538
361
|
};
|
|
539
362
|
export const se_DescribeSessionsCommand = async (input, context) => {
|
|
540
|
-
const headers =
|
|
541
|
-
"content-type": "application/x-amz-json-1.1",
|
|
542
|
-
"x-amz-target": "AmazonSSM.DescribeSessions",
|
|
543
|
-
};
|
|
363
|
+
const headers = sharedHeaders("DescribeSessions");
|
|
544
364
|
let body;
|
|
545
365
|
body = JSON.stringify(se_DescribeSessionsRequest(input, context));
|
|
546
366
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
547
367
|
};
|
|
548
368
|
export const se_DisassociateOpsItemRelatedItemCommand = async (input, context) => {
|
|
549
|
-
const headers =
|
|
550
|
-
"content-type": "application/x-amz-json-1.1",
|
|
551
|
-
"x-amz-target": "AmazonSSM.DisassociateOpsItemRelatedItem",
|
|
552
|
-
};
|
|
369
|
+
const headers = sharedHeaders("DisassociateOpsItemRelatedItem");
|
|
553
370
|
let body;
|
|
554
371
|
body = JSON.stringify(se_DisassociateOpsItemRelatedItemRequest(input, context));
|
|
555
372
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
556
373
|
};
|
|
557
374
|
export const se_GetAutomationExecutionCommand = async (input, context) => {
|
|
558
|
-
const headers =
|
|
559
|
-
"content-type": "application/x-amz-json-1.1",
|
|
560
|
-
"x-amz-target": "AmazonSSM.GetAutomationExecution",
|
|
561
|
-
};
|
|
375
|
+
const headers = sharedHeaders("GetAutomationExecution");
|
|
562
376
|
let body;
|
|
563
377
|
body = JSON.stringify(se_GetAutomationExecutionRequest(input, context));
|
|
564
378
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
565
379
|
};
|
|
566
380
|
export const se_GetCalendarStateCommand = async (input, context) => {
|
|
567
|
-
const headers =
|
|
568
|
-
"content-type": "application/x-amz-json-1.1",
|
|
569
|
-
"x-amz-target": "AmazonSSM.GetCalendarState",
|
|
570
|
-
};
|
|
381
|
+
const headers = sharedHeaders("GetCalendarState");
|
|
571
382
|
let body;
|
|
572
383
|
body = JSON.stringify(se_GetCalendarStateRequest(input, context));
|
|
573
384
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
574
385
|
};
|
|
575
386
|
export const se_GetCommandInvocationCommand = async (input, context) => {
|
|
576
|
-
const headers =
|
|
577
|
-
"content-type": "application/x-amz-json-1.1",
|
|
578
|
-
"x-amz-target": "AmazonSSM.GetCommandInvocation",
|
|
579
|
-
};
|
|
387
|
+
const headers = sharedHeaders("GetCommandInvocation");
|
|
580
388
|
let body;
|
|
581
389
|
body = JSON.stringify(se_GetCommandInvocationRequest(input, context));
|
|
582
390
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
583
391
|
};
|
|
584
392
|
export const se_GetConnectionStatusCommand = async (input, context) => {
|
|
585
|
-
const headers =
|
|
586
|
-
"content-type": "application/x-amz-json-1.1",
|
|
587
|
-
"x-amz-target": "AmazonSSM.GetConnectionStatus",
|
|
588
|
-
};
|
|
393
|
+
const headers = sharedHeaders("GetConnectionStatus");
|
|
589
394
|
let body;
|
|
590
395
|
body = JSON.stringify(se_GetConnectionStatusRequest(input, context));
|
|
591
396
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
592
397
|
};
|
|
593
398
|
export const se_GetDefaultPatchBaselineCommand = async (input, context) => {
|
|
594
|
-
const headers =
|
|
595
|
-
"content-type": "application/x-amz-json-1.1",
|
|
596
|
-
"x-amz-target": "AmazonSSM.GetDefaultPatchBaseline",
|
|
597
|
-
};
|
|
399
|
+
const headers = sharedHeaders("GetDefaultPatchBaseline");
|
|
598
400
|
let body;
|
|
599
401
|
body = JSON.stringify(se_GetDefaultPatchBaselineRequest(input, context));
|
|
600
402
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
601
403
|
};
|
|
602
404
|
export const se_GetDeployablePatchSnapshotForInstanceCommand = async (input, context) => {
|
|
603
|
-
const headers =
|
|
604
|
-
"content-type": "application/x-amz-json-1.1",
|
|
605
|
-
"x-amz-target": "AmazonSSM.GetDeployablePatchSnapshotForInstance",
|
|
606
|
-
};
|
|
405
|
+
const headers = sharedHeaders("GetDeployablePatchSnapshotForInstance");
|
|
607
406
|
let body;
|
|
608
407
|
body = JSON.stringify(se_GetDeployablePatchSnapshotForInstanceRequest(input, context));
|
|
609
408
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
610
409
|
};
|
|
611
410
|
export const se_GetDocumentCommand = async (input, context) => {
|
|
612
|
-
const headers =
|
|
613
|
-
"content-type": "application/x-amz-json-1.1",
|
|
614
|
-
"x-amz-target": "AmazonSSM.GetDocument",
|
|
615
|
-
};
|
|
411
|
+
const headers = sharedHeaders("GetDocument");
|
|
616
412
|
let body;
|
|
617
413
|
body = JSON.stringify(se_GetDocumentRequest(input, context));
|
|
618
414
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
619
415
|
};
|
|
620
416
|
export const se_GetInventoryCommand = async (input, context) => {
|
|
621
|
-
const headers =
|
|
622
|
-
"content-type": "application/x-amz-json-1.1",
|
|
623
|
-
"x-amz-target": "AmazonSSM.GetInventory",
|
|
624
|
-
};
|
|
417
|
+
const headers = sharedHeaders("GetInventory");
|
|
625
418
|
let body;
|
|
626
419
|
body = JSON.stringify(se_GetInventoryRequest(input, context));
|
|
627
420
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
628
421
|
};
|
|
629
422
|
export const se_GetInventorySchemaCommand = async (input, context) => {
|
|
630
|
-
const headers =
|
|
631
|
-
"content-type": "application/x-amz-json-1.1",
|
|
632
|
-
"x-amz-target": "AmazonSSM.GetInventorySchema",
|
|
633
|
-
};
|
|
423
|
+
const headers = sharedHeaders("GetInventorySchema");
|
|
634
424
|
let body;
|
|
635
425
|
body = JSON.stringify(se_GetInventorySchemaRequest(input, context));
|
|
636
426
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
637
427
|
};
|
|
638
428
|
export const se_GetMaintenanceWindowCommand = async (input, context) => {
|
|
639
|
-
const headers =
|
|
640
|
-
"content-type": "application/x-amz-json-1.1",
|
|
641
|
-
"x-amz-target": "AmazonSSM.GetMaintenanceWindow",
|
|
642
|
-
};
|
|
429
|
+
const headers = sharedHeaders("GetMaintenanceWindow");
|
|
643
430
|
let body;
|
|
644
431
|
body = JSON.stringify(se_GetMaintenanceWindowRequest(input, context));
|
|
645
432
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
646
433
|
};
|
|
647
434
|
export const se_GetMaintenanceWindowExecutionCommand = async (input, context) => {
|
|
648
|
-
const headers =
|
|
649
|
-
"content-type": "application/x-amz-json-1.1",
|
|
650
|
-
"x-amz-target": "AmazonSSM.GetMaintenanceWindowExecution",
|
|
651
|
-
};
|
|
435
|
+
const headers = sharedHeaders("GetMaintenanceWindowExecution");
|
|
652
436
|
let body;
|
|
653
437
|
body = JSON.stringify(se_GetMaintenanceWindowExecutionRequest(input, context));
|
|
654
438
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
655
439
|
};
|
|
656
440
|
export const se_GetMaintenanceWindowExecutionTaskCommand = async (input, context) => {
|
|
657
|
-
const headers =
|
|
658
|
-
"content-type": "application/x-amz-json-1.1",
|
|
659
|
-
"x-amz-target": "AmazonSSM.GetMaintenanceWindowExecutionTask",
|
|
660
|
-
};
|
|
441
|
+
const headers = sharedHeaders("GetMaintenanceWindowExecutionTask");
|
|
661
442
|
let body;
|
|
662
443
|
body = JSON.stringify(se_GetMaintenanceWindowExecutionTaskRequest(input, context));
|
|
663
444
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
664
445
|
};
|
|
665
446
|
export const se_GetMaintenanceWindowExecutionTaskInvocationCommand = async (input, context) => {
|
|
666
|
-
const headers =
|
|
667
|
-
"content-type": "application/x-amz-json-1.1",
|
|
668
|
-
"x-amz-target": "AmazonSSM.GetMaintenanceWindowExecutionTaskInvocation",
|
|
669
|
-
};
|
|
447
|
+
const headers = sharedHeaders("GetMaintenanceWindowExecutionTaskInvocation");
|
|
670
448
|
let body;
|
|
671
449
|
body = JSON.stringify(se_GetMaintenanceWindowExecutionTaskInvocationRequest(input, context));
|
|
672
450
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
673
451
|
};
|
|
674
452
|
export const se_GetMaintenanceWindowTaskCommand = async (input, context) => {
|
|
675
|
-
const headers =
|
|
676
|
-
"content-type": "application/x-amz-json-1.1",
|
|
677
|
-
"x-amz-target": "AmazonSSM.GetMaintenanceWindowTask",
|
|
678
|
-
};
|
|
453
|
+
const headers = sharedHeaders("GetMaintenanceWindowTask");
|
|
679
454
|
let body;
|
|
680
455
|
body = JSON.stringify(se_GetMaintenanceWindowTaskRequest(input, context));
|
|
681
456
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
682
457
|
};
|
|
683
458
|
export const se_GetOpsItemCommand = async (input, context) => {
|
|
684
|
-
const headers =
|
|
685
|
-
"content-type": "application/x-amz-json-1.1",
|
|
686
|
-
"x-amz-target": "AmazonSSM.GetOpsItem",
|
|
687
|
-
};
|
|
459
|
+
const headers = sharedHeaders("GetOpsItem");
|
|
688
460
|
let body;
|
|
689
461
|
body = JSON.stringify(se_GetOpsItemRequest(input, context));
|
|
690
462
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
691
463
|
};
|
|
692
464
|
export const se_GetOpsMetadataCommand = async (input, context) => {
|
|
693
|
-
const headers =
|
|
694
|
-
"content-type": "application/x-amz-json-1.1",
|
|
695
|
-
"x-amz-target": "AmazonSSM.GetOpsMetadata",
|
|
696
|
-
};
|
|
465
|
+
const headers = sharedHeaders("GetOpsMetadata");
|
|
697
466
|
let body;
|
|
698
467
|
body = JSON.stringify(se_GetOpsMetadataRequest(input, context));
|
|
699
468
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
700
469
|
};
|
|
701
470
|
export const se_GetOpsSummaryCommand = async (input, context) => {
|
|
702
|
-
const headers =
|
|
703
|
-
"content-type": "application/x-amz-json-1.1",
|
|
704
|
-
"x-amz-target": "AmazonSSM.GetOpsSummary",
|
|
705
|
-
};
|
|
471
|
+
const headers = sharedHeaders("GetOpsSummary");
|
|
706
472
|
let body;
|
|
707
473
|
body = JSON.stringify(se_GetOpsSummaryRequest(input, context));
|
|
708
474
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
709
475
|
};
|
|
710
476
|
export const se_GetParameterCommand = async (input, context) => {
|
|
711
|
-
const headers =
|
|
712
|
-
"content-type": "application/x-amz-json-1.1",
|
|
713
|
-
"x-amz-target": "AmazonSSM.GetParameter",
|
|
714
|
-
};
|
|
477
|
+
const headers = sharedHeaders("GetParameter");
|
|
715
478
|
let body;
|
|
716
479
|
body = JSON.stringify(se_GetParameterRequest(input, context));
|
|
717
480
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
718
481
|
};
|
|
719
482
|
export const se_GetParameterHistoryCommand = async (input, context) => {
|
|
720
|
-
const headers =
|
|
721
|
-
"content-type": "application/x-amz-json-1.1",
|
|
722
|
-
"x-amz-target": "AmazonSSM.GetParameterHistory",
|
|
723
|
-
};
|
|
483
|
+
const headers = sharedHeaders("GetParameterHistory");
|
|
724
484
|
let body;
|
|
725
485
|
body = JSON.stringify(se_GetParameterHistoryRequest(input, context));
|
|
726
486
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
727
487
|
};
|
|
728
488
|
export const se_GetParametersCommand = async (input, context) => {
|
|
729
|
-
const headers =
|
|
730
|
-
"content-type": "application/x-amz-json-1.1",
|
|
731
|
-
"x-amz-target": "AmazonSSM.GetParameters",
|
|
732
|
-
};
|
|
489
|
+
const headers = sharedHeaders("GetParameters");
|
|
733
490
|
let body;
|
|
734
491
|
body = JSON.stringify(se_GetParametersRequest(input, context));
|
|
735
492
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
736
493
|
};
|
|
737
494
|
export const se_GetParametersByPathCommand = async (input, context) => {
|
|
738
|
-
const headers =
|
|
739
|
-
"content-type": "application/x-amz-json-1.1",
|
|
740
|
-
"x-amz-target": "AmazonSSM.GetParametersByPath",
|
|
741
|
-
};
|
|
495
|
+
const headers = sharedHeaders("GetParametersByPath");
|
|
742
496
|
let body;
|
|
743
497
|
body = JSON.stringify(se_GetParametersByPathRequest(input, context));
|
|
744
498
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
745
499
|
};
|
|
746
500
|
export const se_GetPatchBaselineCommand = async (input, context) => {
|
|
747
|
-
const headers =
|
|
748
|
-
"content-type": "application/x-amz-json-1.1",
|
|
749
|
-
"x-amz-target": "AmazonSSM.GetPatchBaseline",
|
|
750
|
-
};
|
|
501
|
+
const headers = sharedHeaders("GetPatchBaseline");
|
|
751
502
|
let body;
|
|
752
503
|
body = JSON.stringify(se_GetPatchBaselineRequest(input, context));
|
|
753
504
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
754
505
|
};
|
|
755
506
|
export const se_GetPatchBaselineForPatchGroupCommand = async (input, context) => {
|
|
756
|
-
const headers =
|
|
757
|
-
"content-type": "application/x-amz-json-1.1",
|
|
758
|
-
"x-amz-target": "AmazonSSM.GetPatchBaselineForPatchGroup",
|
|
759
|
-
};
|
|
507
|
+
const headers = sharedHeaders("GetPatchBaselineForPatchGroup");
|
|
760
508
|
let body;
|
|
761
509
|
body = JSON.stringify(se_GetPatchBaselineForPatchGroupRequest(input, context));
|
|
762
510
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
763
511
|
};
|
|
764
512
|
export const se_GetResourcePoliciesCommand = async (input, context) => {
|
|
765
|
-
const headers =
|
|
766
|
-
"content-type": "application/x-amz-json-1.1",
|
|
767
|
-
"x-amz-target": "AmazonSSM.GetResourcePolicies",
|
|
768
|
-
};
|
|
513
|
+
const headers = sharedHeaders("GetResourcePolicies");
|
|
769
514
|
let body;
|
|
770
515
|
body = JSON.stringify(se_GetResourcePoliciesRequest(input, context));
|
|
771
516
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
772
517
|
};
|
|
773
518
|
export const se_GetServiceSettingCommand = async (input, context) => {
|
|
774
|
-
const headers =
|
|
775
|
-
"content-type": "application/x-amz-json-1.1",
|
|
776
|
-
"x-amz-target": "AmazonSSM.GetServiceSetting",
|
|
777
|
-
};
|
|
519
|
+
const headers = sharedHeaders("GetServiceSetting");
|
|
778
520
|
let body;
|
|
779
521
|
body = JSON.stringify(se_GetServiceSettingRequest(input, context));
|
|
780
522
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
781
523
|
};
|
|
782
524
|
export const se_LabelParameterVersionCommand = async (input, context) => {
|
|
783
|
-
const headers =
|
|
784
|
-
"content-type": "application/x-amz-json-1.1",
|
|
785
|
-
"x-amz-target": "AmazonSSM.LabelParameterVersion",
|
|
786
|
-
};
|
|
525
|
+
const headers = sharedHeaders("LabelParameterVersion");
|
|
787
526
|
let body;
|
|
788
527
|
body = JSON.stringify(se_LabelParameterVersionRequest(input, context));
|
|
789
528
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
790
529
|
};
|
|
791
530
|
export const se_ListAssociationsCommand = async (input, context) => {
|
|
792
|
-
const headers =
|
|
793
|
-
"content-type": "application/x-amz-json-1.1",
|
|
794
|
-
"x-amz-target": "AmazonSSM.ListAssociations",
|
|
795
|
-
};
|
|
531
|
+
const headers = sharedHeaders("ListAssociations");
|
|
796
532
|
let body;
|
|
797
533
|
body = JSON.stringify(se_ListAssociationsRequest(input, context));
|
|
798
534
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
799
535
|
};
|
|
800
536
|
export const se_ListAssociationVersionsCommand = async (input, context) => {
|
|
801
|
-
const headers =
|
|
802
|
-
"content-type": "application/x-amz-json-1.1",
|
|
803
|
-
"x-amz-target": "AmazonSSM.ListAssociationVersions",
|
|
804
|
-
};
|
|
537
|
+
const headers = sharedHeaders("ListAssociationVersions");
|
|
805
538
|
let body;
|
|
806
539
|
body = JSON.stringify(se_ListAssociationVersionsRequest(input, context));
|
|
807
540
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
808
541
|
};
|
|
809
542
|
export const se_ListCommandInvocationsCommand = async (input, context) => {
|
|
810
|
-
const headers =
|
|
811
|
-
"content-type": "application/x-amz-json-1.1",
|
|
812
|
-
"x-amz-target": "AmazonSSM.ListCommandInvocations",
|
|
813
|
-
};
|
|
543
|
+
const headers = sharedHeaders("ListCommandInvocations");
|
|
814
544
|
let body;
|
|
815
545
|
body = JSON.stringify(se_ListCommandInvocationsRequest(input, context));
|
|
816
546
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
817
547
|
};
|
|
818
548
|
export const se_ListCommandsCommand = async (input, context) => {
|
|
819
|
-
const headers =
|
|
820
|
-
"content-type": "application/x-amz-json-1.1",
|
|
821
|
-
"x-amz-target": "AmazonSSM.ListCommands",
|
|
822
|
-
};
|
|
549
|
+
const headers = sharedHeaders("ListCommands");
|
|
823
550
|
let body;
|
|
824
551
|
body = JSON.stringify(se_ListCommandsRequest(input, context));
|
|
825
552
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
826
553
|
};
|
|
827
554
|
export const se_ListComplianceItemsCommand = async (input, context) => {
|
|
828
|
-
const headers =
|
|
829
|
-
"content-type": "application/x-amz-json-1.1",
|
|
830
|
-
"x-amz-target": "AmazonSSM.ListComplianceItems",
|
|
831
|
-
};
|
|
555
|
+
const headers = sharedHeaders("ListComplianceItems");
|
|
832
556
|
let body;
|
|
833
557
|
body = JSON.stringify(se_ListComplianceItemsRequest(input, context));
|
|
834
558
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
835
559
|
};
|
|
836
560
|
export const se_ListComplianceSummariesCommand = async (input, context) => {
|
|
837
|
-
const headers =
|
|
838
|
-
"content-type": "application/x-amz-json-1.1",
|
|
839
|
-
"x-amz-target": "AmazonSSM.ListComplianceSummaries",
|
|
840
|
-
};
|
|
561
|
+
const headers = sharedHeaders("ListComplianceSummaries");
|
|
841
562
|
let body;
|
|
842
563
|
body = JSON.stringify(se_ListComplianceSummariesRequest(input, context));
|
|
843
564
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
844
565
|
};
|
|
845
566
|
export const se_ListDocumentMetadataHistoryCommand = async (input, context) => {
|
|
846
|
-
const headers =
|
|
847
|
-
"content-type": "application/x-amz-json-1.1",
|
|
848
|
-
"x-amz-target": "AmazonSSM.ListDocumentMetadataHistory",
|
|
849
|
-
};
|
|
567
|
+
const headers = sharedHeaders("ListDocumentMetadataHistory");
|
|
850
568
|
let body;
|
|
851
569
|
body = JSON.stringify(se_ListDocumentMetadataHistoryRequest(input, context));
|
|
852
570
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
853
571
|
};
|
|
854
572
|
export const se_ListDocumentsCommand = async (input, context) => {
|
|
855
|
-
const headers =
|
|
856
|
-
"content-type": "application/x-amz-json-1.1",
|
|
857
|
-
"x-amz-target": "AmazonSSM.ListDocuments",
|
|
858
|
-
};
|
|
573
|
+
const headers = sharedHeaders("ListDocuments");
|
|
859
574
|
let body;
|
|
860
575
|
body = JSON.stringify(se_ListDocumentsRequest(input, context));
|
|
861
576
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
862
577
|
};
|
|
863
578
|
export const se_ListDocumentVersionsCommand = async (input, context) => {
|
|
864
|
-
const headers =
|
|
865
|
-
"content-type": "application/x-amz-json-1.1",
|
|
866
|
-
"x-amz-target": "AmazonSSM.ListDocumentVersions",
|
|
867
|
-
};
|
|
579
|
+
const headers = sharedHeaders("ListDocumentVersions");
|
|
868
580
|
let body;
|
|
869
581
|
body = JSON.stringify(se_ListDocumentVersionsRequest(input, context));
|
|
870
582
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
871
583
|
};
|
|
872
584
|
export const se_ListInventoryEntriesCommand = async (input, context) => {
|
|
873
|
-
const headers =
|
|
874
|
-
"content-type": "application/x-amz-json-1.1",
|
|
875
|
-
"x-amz-target": "AmazonSSM.ListInventoryEntries",
|
|
876
|
-
};
|
|
585
|
+
const headers = sharedHeaders("ListInventoryEntries");
|
|
877
586
|
let body;
|
|
878
587
|
body = JSON.stringify(se_ListInventoryEntriesRequest(input, context));
|
|
879
588
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
880
589
|
};
|
|
881
590
|
export const se_ListOpsItemEventsCommand = async (input, context) => {
|
|
882
|
-
const headers =
|
|
883
|
-
"content-type": "application/x-amz-json-1.1",
|
|
884
|
-
"x-amz-target": "AmazonSSM.ListOpsItemEvents",
|
|
885
|
-
};
|
|
591
|
+
const headers = sharedHeaders("ListOpsItemEvents");
|
|
886
592
|
let body;
|
|
887
593
|
body = JSON.stringify(se_ListOpsItemEventsRequest(input, context));
|
|
888
594
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
889
595
|
};
|
|
890
596
|
export const se_ListOpsItemRelatedItemsCommand = async (input, context) => {
|
|
891
|
-
const headers =
|
|
892
|
-
"content-type": "application/x-amz-json-1.1",
|
|
893
|
-
"x-amz-target": "AmazonSSM.ListOpsItemRelatedItems",
|
|
894
|
-
};
|
|
597
|
+
const headers = sharedHeaders("ListOpsItemRelatedItems");
|
|
895
598
|
let body;
|
|
896
599
|
body = JSON.stringify(se_ListOpsItemRelatedItemsRequest(input, context));
|
|
897
600
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
898
601
|
};
|
|
899
602
|
export const se_ListOpsMetadataCommand = async (input, context) => {
|
|
900
|
-
const headers =
|
|
901
|
-
"content-type": "application/x-amz-json-1.1",
|
|
902
|
-
"x-amz-target": "AmazonSSM.ListOpsMetadata",
|
|
903
|
-
};
|
|
603
|
+
const headers = sharedHeaders("ListOpsMetadata");
|
|
904
604
|
let body;
|
|
905
605
|
body = JSON.stringify(se_ListOpsMetadataRequest(input, context));
|
|
906
606
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
907
607
|
};
|
|
908
608
|
export const se_ListResourceComplianceSummariesCommand = async (input, context) => {
|
|
909
|
-
const headers =
|
|
910
|
-
"content-type": "application/x-amz-json-1.1",
|
|
911
|
-
"x-amz-target": "AmazonSSM.ListResourceComplianceSummaries",
|
|
912
|
-
};
|
|
609
|
+
const headers = sharedHeaders("ListResourceComplianceSummaries");
|
|
913
610
|
let body;
|
|
914
611
|
body = JSON.stringify(se_ListResourceComplianceSummariesRequest(input, context));
|
|
915
612
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
916
613
|
};
|
|
917
614
|
export const se_ListResourceDataSyncCommand = async (input, context) => {
|
|
918
|
-
const headers =
|
|
919
|
-
"content-type": "application/x-amz-json-1.1",
|
|
920
|
-
"x-amz-target": "AmazonSSM.ListResourceDataSync",
|
|
921
|
-
};
|
|
615
|
+
const headers = sharedHeaders("ListResourceDataSync");
|
|
922
616
|
let body;
|
|
923
617
|
body = JSON.stringify(se_ListResourceDataSyncRequest(input, context));
|
|
924
618
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
925
619
|
};
|
|
926
620
|
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
927
|
-
const headers =
|
|
928
|
-
"content-type": "application/x-amz-json-1.1",
|
|
929
|
-
"x-amz-target": "AmazonSSM.ListTagsForResource",
|
|
930
|
-
};
|
|
621
|
+
const headers = sharedHeaders("ListTagsForResource");
|
|
931
622
|
let body;
|
|
932
623
|
body = JSON.stringify(se_ListTagsForResourceRequest(input, context));
|
|
933
624
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
934
625
|
};
|
|
935
626
|
export const se_ModifyDocumentPermissionCommand = async (input, context) => {
|
|
936
|
-
const headers =
|
|
937
|
-
"content-type": "application/x-amz-json-1.1",
|
|
938
|
-
"x-amz-target": "AmazonSSM.ModifyDocumentPermission",
|
|
939
|
-
};
|
|
627
|
+
const headers = sharedHeaders("ModifyDocumentPermission");
|
|
940
628
|
let body;
|
|
941
629
|
body = JSON.stringify(se_ModifyDocumentPermissionRequest(input, context));
|
|
942
630
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
943
631
|
};
|
|
944
632
|
export const se_PutComplianceItemsCommand = async (input, context) => {
|
|
945
|
-
const headers =
|
|
946
|
-
"content-type": "application/x-amz-json-1.1",
|
|
947
|
-
"x-amz-target": "AmazonSSM.PutComplianceItems",
|
|
948
|
-
};
|
|
633
|
+
const headers = sharedHeaders("PutComplianceItems");
|
|
949
634
|
let body;
|
|
950
635
|
body = JSON.stringify(se_PutComplianceItemsRequest(input, context));
|
|
951
636
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
952
637
|
};
|
|
953
638
|
export const se_PutInventoryCommand = async (input, context) => {
|
|
954
|
-
const headers =
|
|
955
|
-
"content-type": "application/x-amz-json-1.1",
|
|
956
|
-
"x-amz-target": "AmazonSSM.PutInventory",
|
|
957
|
-
};
|
|
639
|
+
const headers = sharedHeaders("PutInventory");
|
|
958
640
|
let body;
|
|
959
641
|
body = JSON.stringify(se_PutInventoryRequest(input, context));
|
|
960
642
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
961
643
|
};
|
|
962
644
|
export const se_PutParameterCommand = async (input, context) => {
|
|
963
|
-
const headers =
|
|
964
|
-
"content-type": "application/x-amz-json-1.1",
|
|
965
|
-
"x-amz-target": "AmazonSSM.PutParameter",
|
|
966
|
-
};
|
|
645
|
+
const headers = sharedHeaders("PutParameter");
|
|
967
646
|
let body;
|
|
968
647
|
body = JSON.stringify(se_PutParameterRequest(input, context));
|
|
969
648
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
970
649
|
};
|
|
971
650
|
export const se_PutResourcePolicyCommand = async (input, context) => {
|
|
972
|
-
const headers =
|
|
973
|
-
"content-type": "application/x-amz-json-1.1",
|
|
974
|
-
"x-amz-target": "AmazonSSM.PutResourcePolicy",
|
|
975
|
-
};
|
|
651
|
+
const headers = sharedHeaders("PutResourcePolicy");
|
|
976
652
|
let body;
|
|
977
653
|
body = JSON.stringify(se_PutResourcePolicyRequest(input, context));
|
|
978
654
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
979
655
|
};
|
|
980
656
|
export const se_RegisterDefaultPatchBaselineCommand = async (input, context) => {
|
|
981
|
-
const headers =
|
|
982
|
-
"content-type": "application/x-amz-json-1.1",
|
|
983
|
-
"x-amz-target": "AmazonSSM.RegisterDefaultPatchBaseline",
|
|
984
|
-
};
|
|
657
|
+
const headers = sharedHeaders("RegisterDefaultPatchBaseline");
|
|
985
658
|
let body;
|
|
986
659
|
body = JSON.stringify(se_RegisterDefaultPatchBaselineRequest(input, context));
|
|
987
660
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
988
661
|
};
|
|
989
662
|
export const se_RegisterPatchBaselineForPatchGroupCommand = async (input, context) => {
|
|
990
|
-
const headers =
|
|
991
|
-
"content-type": "application/x-amz-json-1.1",
|
|
992
|
-
"x-amz-target": "AmazonSSM.RegisterPatchBaselineForPatchGroup",
|
|
993
|
-
};
|
|
663
|
+
const headers = sharedHeaders("RegisterPatchBaselineForPatchGroup");
|
|
994
664
|
let body;
|
|
995
665
|
body = JSON.stringify(se_RegisterPatchBaselineForPatchGroupRequest(input, context));
|
|
996
666
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
997
667
|
};
|
|
998
668
|
export const se_RegisterTargetWithMaintenanceWindowCommand = async (input, context) => {
|
|
999
|
-
const headers =
|
|
1000
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1001
|
-
"x-amz-target": "AmazonSSM.RegisterTargetWithMaintenanceWindow",
|
|
1002
|
-
};
|
|
669
|
+
const headers = sharedHeaders("RegisterTargetWithMaintenanceWindow");
|
|
1003
670
|
let body;
|
|
1004
671
|
body = JSON.stringify(se_RegisterTargetWithMaintenanceWindowRequest(input, context));
|
|
1005
672
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1006
673
|
};
|
|
1007
674
|
export const se_RegisterTaskWithMaintenanceWindowCommand = async (input, context) => {
|
|
1008
|
-
const headers =
|
|
1009
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1010
|
-
"x-amz-target": "AmazonSSM.RegisterTaskWithMaintenanceWindow",
|
|
1011
|
-
};
|
|
675
|
+
const headers = sharedHeaders("RegisterTaskWithMaintenanceWindow");
|
|
1012
676
|
let body;
|
|
1013
677
|
body = JSON.stringify(se_RegisterTaskWithMaintenanceWindowRequest(input, context));
|
|
1014
678
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1015
679
|
};
|
|
1016
680
|
export const se_RemoveTagsFromResourceCommand = async (input, context) => {
|
|
1017
|
-
const headers =
|
|
1018
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1019
|
-
"x-amz-target": "AmazonSSM.RemoveTagsFromResource",
|
|
1020
|
-
};
|
|
681
|
+
const headers = sharedHeaders("RemoveTagsFromResource");
|
|
1021
682
|
let body;
|
|
1022
683
|
body = JSON.stringify(se_RemoveTagsFromResourceRequest(input, context));
|
|
1023
684
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1024
685
|
};
|
|
1025
686
|
export const se_ResetServiceSettingCommand = async (input, context) => {
|
|
1026
|
-
const headers =
|
|
1027
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1028
|
-
"x-amz-target": "AmazonSSM.ResetServiceSetting",
|
|
1029
|
-
};
|
|
687
|
+
const headers = sharedHeaders("ResetServiceSetting");
|
|
1030
688
|
let body;
|
|
1031
689
|
body = JSON.stringify(se_ResetServiceSettingRequest(input, context));
|
|
1032
690
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1033
691
|
};
|
|
1034
692
|
export const se_ResumeSessionCommand = async (input, context) => {
|
|
1035
|
-
const headers =
|
|
1036
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1037
|
-
"x-amz-target": "AmazonSSM.ResumeSession",
|
|
1038
|
-
};
|
|
693
|
+
const headers = sharedHeaders("ResumeSession");
|
|
1039
694
|
let body;
|
|
1040
695
|
body = JSON.stringify(se_ResumeSessionRequest(input, context));
|
|
1041
696
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1042
697
|
};
|
|
1043
698
|
export const se_SendAutomationSignalCommand = async (input, context) => {
|
|
1044
|
-
const headers =
|
|
1045
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1046
|
-
"x-amz-target": "AmazonSSM.SendAutomationSignal",
|
|
1047
|
-
};
|
|
699
|
+
const headers = sharedHeaders("SendAutomationSignal");
|
|
1048
700
|
let body;
|
|
1049
701
|
body = JSON.stringify(se_SendAutomationSignalRequest(input, context));
|
|
1050
702
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1051
703
|
};
|
|
1052
704
|
export const se_SendCommandCommand = async (input, context) => {
|
|
1053
|
-
const headers =
|
|
1054
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1055
|
-
"x-amz-target": "AmazonSSM.SendCommand",
|
|
1056
|
-
};
|
|
705
|
+
const headers = sharedHeaders("SendCommand");
|
|
1057
706
|
let body;
|
|
1058
707
|
body = JSON.stringify(se_SendCommandRequest(input, context));
|
|
1059
708
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1060
709
|
};
|
|
1061
710
|
export const se_StartAssociationsOnceCommand = async (input, context) => {
|
|
1062
|
-
const headers =
|
|
1063
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1064
|
-
"x-amz-target": "AmazonSSM.StartAssociationsOnce",
|
|
1065
|
-
};
|
|
711
|
+
const headers = sharedHeaders("StartAssociationsOnce");
|
|
1066
712
|
let body;
|
|
1067
713
|
body = JSON.stringify(se_StartAssociationsOnceRequest(input, context));
|
|
1068
714
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1069
715
|
};
|
|
1070
716
|
export const se_StartAutomationExecutionCommand = async (input, context) => {
|
|
1071
|
-
const headers =
|
|
1072
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1073
|
-
"x-amz-target": "AmazonSSM.StartAutomationExecution",
|
|
1074
|
-
};
|
|
717
|
+
const headers = sharedHeaders("StartAutomationExecution");
|
|
1075
718
|
let body;
|
|
1076
719
|
body = JSON.stringify(se_StartAutomationExecutionRequest(input, context));
|
|
1077
720
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1078
721
|
};
|
|
1079
722
|
export const se_StartChangeRequestExecutionCommand = async (input, context) => {
|
|
1080
|
-
const headers =
|
|
1081
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1082
|
-
"x-amz-target": "AmazonSSM.StartChangeRequestExecution",
|
|
1083
|
-
};
|
|
723
|
+
const headers = sharedHeaders("StartChangeRequestExecution");
|
|
1084
724
|
let body;
|
|
1085
725
|
body = JSON.stringify(se_StartChangeRequestExecutionRequest(input, context));
|
|
1086
726
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1087
727
|
};
|
|
1088
728
|
export const se_StartSessionCommand = async (input, context) => {
|
|
1089
|
-
const headers =
|
|
1090
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1091
|
-
"x-amz-target": "AmazonSSM.StartSession",
|
|
1092
|
-
};
|
|
729
|
+
const headers = sharedHeaders("StartSession");
|
|
1093
730
|
let body;
|
|
1094
731
|
body = JSON.stringify(se_StartSessionRequest(input, context));
|
|
1095
732
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1096
733
|
};
|
|
1097
734
|
export const se_StopAutomationExecutionCommand = async (input, context) => {
|
|
1098
|
-
const headers =
|
|
1099
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1100
|
-
"x-amz-target": "AmazonSSM.StopAutomationExecution",
|
|
1101
|
-
};
|
|
735
|
+
const headers = sharedHeaders("StopAutomationExecution");
|
|
1102
736
|
let body;
|
|
1103
737
|
body = JSON.stringify(se_StopAutomationExecutionRequest(input, context));
|
|
1104
738
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1105
739
|
};
|
|
1106
740
|
export const se_TerminateSessionCommand = async (input, context) => {
|
|
1107
|
-
const headers =
|
|
1108
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1109
|
-
"x-amz-target": "AmazonSSM.TerminateSession",
|
|
1110
|
-
};
|
|
741
|
+
const headers = sharedHeaders("TerminateSession");
|
|
1111
742
|
let body;
|
|
1112
743
|
body = JSON.stringify(se_TerminateSessionRequest(input, context));
|
|
1113
744
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1114
745
|
};
|
|
1115
746
|
export const se_UnlabelParameterVersionCommand = async (input, context) => {
|
|
1116
|
-
const headers =
|
|
1117
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1118
|
-
"x-amz-target": "AmazonSSM.UnlabelParameterVersion",
|
|
1119
|
-
};
|
|
747
|
+
const headers = sharedHeaders("UnlabelParameterVersion");
|
|
1120
748
|
let body;
|
|
1121
749
|
body = JSON.stringify(se_UnlabelParameterVersionRequest(input, context));
|
|
1122
750
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1123
751
|
};
|
|
1124
752
|
export const se_UpdateAssociationCommand = async (input, context) => {
|
|
1125
|
-
const headers =
|
|
1126
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1127
|
-
"x-amz-target": "AmazonSSM.UpdateAssociation",
|
|
1128
|
-
};
|
|
753
|
+
const headers = sharedHeaders("UpdateAssociation");
|
|
1129
754
|
let body;
|
|
1130
755
|
body = JSON.stringify(se_UpdateAssociationRequest(input, context));
|
|
1131
756
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1132
757
|
};
|
|
1133
758
|
export const se_UpdateAssociationStatusCommand = async (input, context) => {
|
|
1134
|
-
const headers =
|
|
1135
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1136
|
-
"x-amz-target": "AmazonSSM.UpdateAssociationStatus",
|
|
1137
|
-
};
|
|
759
|
+
const headers = sharedHeaders("UpdateAssociationStatus");
|
|
1138
760
|
let body;
|
|
1139
761
|
body = JSON.stringify(se_UpdateAssociationStatusRequest(input, context));
|
|
1140
762
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1141
763
|
};
|
|
1142
764
|
export const se_UpdateDocumentCommand = async (input, context) => {
|
|
1143
|
-
const headers =
|
|
1144
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1145
|
-
"x-amz-target": "AmazonSSM.UpdateDocument",
|
|
1146
|
-
};
|
|
765
|
+
const headers = sharedHeaders("UpdateDocument");
|
|
1147
766
|
let body;
|
|
1148
767
|
body = JSON.stringify(se_UpdateDocumentRequest(input, context));
|
|
1149
768
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1150
769
|
};
|
|
1151
770
|
export const se_UpdateDocumentDefaultVersionCommand = async (input, context) => {
|
|
1152
|
-
const headers =
|
|
1153
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1154
|
-
"x-amz-target": "AmazonSSM.UpdateDocumentDefaultVersion",
|
|
1155
|
-
};
|
|
771
|
+
const headers = sharedHeaders("UpdateDocumentDefaultVersion");
|
|
1156
772
|
let body;
|
|
1157
773
|
body = JSON.stringify(se_UpdateDocumentDefaultVersionRequest(input, context));
|
|
1158
774
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1159
775
|
};
|
|
1160
776
|
export const se_UpdateDocumentMetadataCommand = async (input, context) => {
|
|
1161
|
-
const headers =
|
|
1162
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1163
|
-
"x-amz-target": "AmazonSSM.UpdateDocumentMetadata",
|
|
1164
|
-
};
|
|
777
|
+
const headers = sharedHeaders("UpdateDocumentMetadata");
|
|
1165
778
|
let body;
|
|
1166
779
|
body = JSON.stringify(se_UpdateDocumentMetadataRequest(input, context));
|
|
1167
780
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1168
781
|
};
|
|
1169
782
|
export const se_UpdateMaintenanceWindowCommand = async (input, context) => {
|
|
1170
|
-
const headers =
|
|
1171
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1172
|
-
"x-amz-target": "AmazonSSM.UpdateMaintenanceWindow",
|
|
1173
|
-
};
|
|
783
|
+
const headers = sharedHeaders("UpdateMaintenanceWindow");
|
|
1174
784
|
let body;
|
|
1175
785
|
body = JSON.stringify(se_UpdateMaintenanceWindowRequest(input, context));
|
|
1176
786
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1177
787
|
};
|
|
1178
788
|
export const se_UpdateMaintenanceWindowTargetCommand = async (input, context) => {
|
|
1179
|
-
const headers =
|
|
1180
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1181
|
-
"x-amz-target": "AmazonSSM.UpdateMaintenanceWindowTarget",
|
|
1182
|
-
};
|
|
789
|
+
const headers = sharedHeaders("UpdateMaintenanceWindowTarget");
|
|
1183
790
|
let body;
|
|
1184
791
|
body = JSON.stringify(se_UpdateMaintenanceWindowTargetRequest(input, context));
|
|
1185
792
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1186
793
|
};
|
|
1187
794
|
export const se_UpdateMaintenanceWindowTaskCommand = async (input, context) => {
|
|
1188
|
-
const headers =
|
|
1189
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1190
|
-
"x-amz-target": "AmazonSSM.UpdateMaintenanceWindowTask",
|
|
1191
|
-
};
|
|
795
|
+
const headers = sharedHeaders("UpdateMaintenanceWindowTask");
|
|
1192
796
|
let body;
|
|
1193
797
|
body = JSON.stringify(se_UpdateMaintenanceWindowTaskRequest(input, context));
|
|
1194
798
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1195
799
|
};
|
|
1196
800
|
export const se_UpdateManagedInstanceRoleCommand = async (input, context) => {
|
|
1197
|
-
const headers =
|
|
1198
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1199
|
-
"x-amz-target": "AmazonSSM.UpdateManagedInstanceRole",
|
|
1200
|
-
};
|
|
801
|
+
const headers = sharedHeaders("UpdateManagedInstanceRole");
|
|
1201
802
|
let body;
|
|
1202
803
|
body = JSON.stringify(se_UpdateManagedInstanceRoleRequest(input, context));
|
|
1203
804
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1204
805
|
};
|
|
1205
806
|
export const se_UpdateOpsItemCommand = async (input, context) => {
|
|
1206
|
-
const headers =
|
|
1207
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1208
|
-
"x-amz-target": "AmazonSSM.UpdateOpsItem",
|
|
1209
|
-
};
|
|
807
|
+
const headers = sharedHeaders("UpdateOpsItem");
|
|
1210
808
|
let body;
|
|
1211
809
|
body = JSON.stringify(se_UpdateOpsItemRequest(input, context));
|
|
1212
810
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1213
811
|
};
|
|
1214
812
|
export const se_UpdateOpsMetadataCommand = async (input, context) => {
|
|
1215
|
-
const headers =
|
|
1216
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1217
|
-
"x-amz-target": "AmazonSSM.UpdateOpsMetadata",
|
|
1218
|
-
};
|
|
813
|
+
const headers = sharedHeaders("UpdateOpsMetadata");
|
|
1219
814
|
let body;
|
|
1220
815
|
body = JSON.stringify(se_UpdateOpsMetadataRequest(input, context));
|
|
1221
816
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1222
817
|
};
|
|
1223
818
|
export const se_UpdatePatchBaselineCommand = async (input, context) => {
|
|
1224
|
-
const headers =
|
|
1225
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1226
|
-
"x-amz-target": "AmazonSSM.UpdatePatchBaseline",
|
|
1227
|
-
};
|
|
819
|
+
const headers = sharedHeaders("UpdatePatchBaseline");
|
|
1228
820
|
let body;
|
|
1229
821
|
body = JSON.stringify(se_UpdatePatchBaselineRequest(input, context));
|
|
1230
822
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1231
823
|
};
|
|
1232
824
|
export const se_UpdateResourceDataSyncCommand = async (input, context) => {
|
|
1233
|
-
const headers =
|
|
1234
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1235
|
-
"x-amz-target": "AmazonSSM.UpdateResourceDataSync",
|
|
1236
|
-
};
|
|
825
|
+
const headers = sharedHeaders("UpdateResourceDataSync");
|
|
1237
826
|
let body;
|
|
1238
827
|
body = JSON.stringify(se_UpdateResourceDataSyncRequest(input, context));
|
|
1239
828
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1240
829
|
};
|
|
1241
830
|
export const se_UpdateServiceSettingCommand = async (input, context) => {
|
|
1242
|
-
const headers =
|
|
1243
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1244
|
-
"x-amz-target": "AmazonSSM.UpdateServiceSetting",
|
|
1245
|
-
};
|
|
831
|
+
const headers = sharedHeaders("UpdateServiceSetting");
|
|
1246
832
|
let body;
|
|
1247
833
|
body = JSON.stringify(se_UpdateServiceSettingRequest(input, context));
|
|
1248
834
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
@@ -14912,6 +14498,12 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
|
|
|
14912
14498
|
}
|
|
14913
14499
|
return new __HttpRequest(contents);
|
|
14914
14500
|
};
|
|
14501
|
+
function sharedHeaders(operation) {
|
|
14502
|
+
return {
|
|
14503
|
+
"content-type": "application/x-amz-json-1.1",
|
|
14504
|
+
"x-amz-target": `AmazonSSM.${operation}`,
|
|
14505
|
+
};
|
|
14506
|
+
}
|
|
14915
14507
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
14916
14508
|
if (encoded.length) {
|
|
14917
14509
|
return JSON.parse(encoded);
|