@aws-sdk/client-ssm-sap 3.572.0 → 3.573.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/README.md +24 -0
- package/dist-cjs/index.js +186 -0
- package/dist-es/SsmSap.js +6 -0
- package/dist-es/commands/ListOperationEventsCommand.js +24 -0
- package/dist-es/commands/StartApplicationCommand.js +24 -0
- package/dist-es/commands/StopApplicationCommand.js +24 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +8 -0
- package/dist-es/pagination/ListOperationEventsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +104 -0
- package/dist-types/SsmSap.d.ts +21 -0
- package/dist-types/SsmSapClient.d.ts +5 -2
- package/dist-types/commands/ListOperationEventsCommand.d.ts +89 -0
- package/dist-types/commands/StartApplicationCommand.d.ts +72 -0
- package/dist-types/commands/StopApplicationCommand.d.ts +76 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +209 -1
- package/dist-types/pagination/ListOperationEventsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
- package/dist-types/ts3.4/SsmSap.d.ts +51 -0
- package/dist-types/ts3.4/SsmSapClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/ListOperationEventsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/StartApplicationCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/StopApplicationCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +47 -0
- package/dist-types/ts3.4/pagination/ListOperationEventsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -284,6 +284,14 @@ ListDatabases
|
|
|
284
284
|
|
|
285
285
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ssm-sap/command/ListDatabasesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ssm-sap/Interface/ListDatabasesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ssm-sap/Interface/ListDatabasesCommandOutput/)
|
|
286
286
|
|
|
287
|
+
</details>
|
|
288
|
+
<details>
|
|
289
|
+
<summary>
|
|
290
|
+
ListOperationEvents
|
|
291
|
+
</summary>
|
|
292
|
+
|
|
293
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ssm-sap/command/ListOperationEventsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ssm-sap/Interface/ListOperationEventsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ssm-sap/Interface/ListOperationEventsCommandOutput/)
|
|
294
|
+
|
|
287
295
|
</details>
|
|
288
296
|
<details>
|
|
289
297
|
<summary>
|
|
@@ -316,6 +324,14 @@ RegisterApplication
|
|
|
316
324
|
|
|
317
325
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ssm-sap/command/RegisterApplicationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ssm-sap/Interface/RegisterApplicationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ssm-sap/Interface/RegisterApplicationCommandOutput/)
|
|
318
326
|
|
|
327
|
+
</details>
|
|
328
|
+
<details>
|
|
329
|
+
<summary>
|
|
330
|
+
StartApplication
|
|
331
|
+
</summary>
|
|
332
|
+
|
|
333
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ssm-sap/command/StartApplicationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ssm-sap/Interface/StartApplicationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ssm-sap/Interface/StartApplicationCommandOutput/)
|
|
334
|
+
|
|
319
335
|
</details>
|
|
320
336
|
<details>
|
|
321
337
|
<summary>
|
|
@@ -324,6 +340,14 @@ StartApplicationRefresh
|
|
|
324
340
|
|
|
325
341
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ssm-sap/command/StartApplicationRefreshCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ssm-sap/Interface/StartApplicationRefreshCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ssm-sap/Interface/StartApplicationRefreshCommandOutput/)
|
|
326
342
|
|
|
343
|
+
</details>
|
|
344
|
+
<details>
|
|
345
|
+
<summary>
|
|
346
|
+
StopApplication
|
|
347
|
+
</summary>
|
|
348
|
+
|
|
349
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ssm-sap/command/StopApplicationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ssm-sap/Interface/StopApplicationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ssm-sap/Interface/StopApplicationCommandOutput/)
|
|
350
|
+
|
|
327
351
|
</details>
|
|
328
352
|
<details>
|
|
329
353
|
<summary>
|
package/dist-cjs/index.js
CHANGED
|
@@ -31,6 +31,7 @@ __export(src_exports, {
|
|
|
31
31
|
ComponentStatus: () => ComponentStatus,
|
|
32
32
|
ComponentType: () => ComponentType,
|
|
33
33
|
ConflictException: () => ConflictException,
|
|
34
|
+
ConnectedEntityType: () => ConnectedEntityType,
|
|
34
35
|
CredentialType: () => CredentialType,
|
|
35
36
|
DatabaseConnectionMethod: () => DatabaseConnectionMethod,
|
|
36
37
|
DatabaseFilterSensitiveLog: () => DatabaseFilterSensitiveLog,
|
|
@@ -50,8 +51,10 @@ __export(src_exports, {
|
|
|
50
51
|
ListApplicationsCommand: () => ListApplicationsCommand,
|
|
51
52
|
ListComponentsCommand: () => ListComponentsCommand,
|
|
52
53
|
ListDatabasesCommand: () => ListDatabasesCommand,
|
|
54
|
+
ListOperationEventsCommand: () => ListOperationEventsCommand,
|
|
53
55
|
ListOperationsCommand: () => ListOperationsCommand,
|
|
54
56
|
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
57
|
+
OperationEventStatus: () => OperationEventStatus,
|
|
55
58
|
OperationMode: () => OperationMode,
|
|
56
59
|
OperationStatus: () => OperationStatus,
|
|
57
60
|
PermissionActionType: () => PermissionActionType,
|
|
@@ -63,7 +66,9 @@ __export(src_exports, {
|
|
|
63
66
|
SsmSap: () => SsmSap,
|
|
64
67
|
SsmSapClient: () => SsmSapClient,
|
|
65
68
|
SsmSapServiceException: () => SsmSapServiceException,
|
|
69
|
+
StartApplicationCommand: () => StartApplicationCommand,
|
|
66
70
|
StartApplicationRefreshCommand: () => StartApplicationRefreshCommand,
|
|
71
|
+
StopApplicationCommand: () => StopApplicationCommand,
|
|
67
72
|
TagResourceCommand: () => TagResourceCommand,
|
|
68
73
|
UnauthorizedException: () => UnauthorizedException,
|
|
69
74
|
UntagResourceCommand: () => UntagResourceCommand,
|
|
@@ -74,6 +79,7 @@ __export(src_exports, {
|
|
|
74
79
|
paginateListApplications: () => paginateListApplications,
|
|
75
80
|
paginateListComponents: () => paginateListComponents,
|
|
76
81
|
paginateListDatabases: () => paginateListDatabases,
|
|
82
|
+
paginateListOperationEvents: () => paginateListOperationEvents,
|
|
77
83
|
paginateListOperations: () => paginateListOperations
|
|
78
84
|
});
|
|
79
85
|
module.exports = __toCommonJS(src_exports);
|
|
@@ -354,6 +360,9 @@ var _ConflictException = class _ConflictException extends SsmSapServiceException
|
|
|
354
360
|
};
|
|
355
361
|
__name(_ConflictException, "ConflictException");
|
|
356
362
|
var ConflictException = _ConflictException;
|
|
363
|
+
var ConnectedEntityType = {
|
|
364
|
+
DBMS: "DBMS"
|
|
365
|
+
};
|
|
357
366
|
var DatabaseType = {
|
|
358
367
|
SYSTEM: "SYSTEM",
|
|
359
368
|
TENANT: "TENANT"
|
|
@@ -451,6 +460,11 @@ var OperationStatus = {
|
|
|
451
460
|
INPROGRESS: "INPROGRESS",
|
|
452
461
|
SUCCESS: "SUCCESS"
|
|
453
462
|
};
|
|
463
|
+
var OperationEventStatus = {
|
|
464
|
+
COMPLETED: "COMPLETED",
|
|
465
|
+
FAILED: "FAILED",
|
|
466
|
+
IN_PROGRESS: "IN_PROGRESS"
|
|
467
|
+
};
|
|
454
468
|
var ApplicationCredentialFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
455
469
|
...obj,
|
|
456
470
|
...obj.SecretId && { SecretId: import_smithy_client.SENSITIVE_STRING }
|
|
@@ -644,6 +658,24 @@ var se_ListDatabasesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
644
658
|
b.m("POST").h(headers).b(body);
|
|
645
659
|
return b.build();
|
|
646
660
|
}, "se_ListDatabasesCommand");
|
|
661
|
+
var se_ListOperationEventsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
662
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
663
|
+
const headers = {
|
|
664
|
+
"content-type": "application/json"
|
|
665
|
+
};
|
|
666
|
+
b.bp("/list-operation-events");
|
|
667
|
+
let body;
|
|
668
|
+
body = JSON.stringify(
|
|
669
|
+
(0, import_smithy_client.take)(input, {
|
|
670
|
+
Filters: (_) => (0, import_smithy_client._json)(_),
|
|
671
|
+
MaxResults: [],
|
|
672
|
+
NextToken: [],
|
|
673
|
+
OperationId: []
|
|
674
|
+
})
|
|
675
|
+
);
|
|
676
|
+
b.m("POST").h(headers).b(body);
|
|
677
|
+
return b.build();
|
|
678
|
+
}, "se_ListOperationEventsCommand");
|
|
647
679
|
var se_ListOperationsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
648
680
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
649
681
|
const headers = {
|
|
@@ -710,6 +742,21 @@ var se_RegisterApplicationCommand = /* @__PURE__ */ __name(async (input, context
|
|
|
710
742
|
b.m("POST").h(headers).b(body);
|
|
711
743
|
return b.build();
|
|
712
744
|
}, "se_RegisterApplicationCommand");
|
|
745
|
+
var se_StartApplicationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
746
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
747
|
+
const headers = {
|
|
748
|
+
"content-type": "application/json"
|
|
749
|
+
};
|
|
750
|
+
b.bp("/start-application");
|
|
751
|
+
let body;
|
|
752
|
+
body = JSON.stringify(
|
|
753
|
+
(0, import_smithy_client.take)(input, {
|
|
754
|
+
ApplicationId: []
|
|
755
|
+
})
|
|
756
|
+
);
|
|
757
|
+
b.m("POST").h(headers).b(body);
|
|
758
|
+
return b.build();
|
|
759
|
+
}, "se_StartApplicationCommand");
|
|
713
760
|
var se_StartApplicationRefreshCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
714
761
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
715
762
|
const headers = {
|
|
@@ -725,6 +772,23 @@ var se_StartApplicationRefreshCommand = /* @__PURE__ */ __name(async (input, con
|
|
|
725
772
|
b.m("POST").h(headers).b(body);
|
|
726
773
|
return b.build();
|
|
727
774
|
}, "se_StartApplicationRefreshCommand");
|
|
775
|
+
var se_StopApplicationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
776
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
777
|
+
const headers = {
|
|
778
|
+
"content-type": "application/json"
|
|
779
|
+
};
|
|
780
|
+
b.bp("/stop-application");
|
|
781
|
+
let body;
|
|
782
|
+
body = JSON.stringify(
|
|
783
|
+
(0, import_smithy_client.take)(input, {
|
|
784
|
+
ApplicationId: [],
|
|
785
|
+
IncludeEc2InstanceShutdown: [],
|
|
786
|
+
StopConnectedEntity: []
|
|
787
|
+
})
|
|
788
|
+
);
|
|
789
|
+
b.m("POST").h(headers).b(body);
|
|
790
|
+
return b.build();
|
|
791
|
+
}, "se_StopApplicationCommand");
|
|
728
792
|
var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
729
793
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
730
794
|
const headers = {
|
|
@@ -917,6 +981,21 @@ var de_ListDatabasesCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
917
981
|
Object.assign(contents, doc);
|
|
918
982
|
return contents;
|
|
919
983
|
}, "de_ListDatabasesCommand");
|
|
984
|
+
var de_ListOperationEventsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
985
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
986
|
+
return de_CommandError(output, context);
|
|
987
|
+
}
|
|
988
|
+
const contents = (0, import_smithy_client.map)({
|
|
989
|
+
$metadata: deserializeMetadata(output)
|
|
990
|
+
});
|
|
991
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
992
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
993
|
+
NextToken: import_smithy_client.expectString,
|
|
994
|
+
OperationEvents: (_) => de_OperationEventList(_, context)
|
|
995
|
+
});
|
|
996
|
+
Object.assign(contents, doc);
|
|
997
|
+
return contents;
|
|
998
|
+
}, "de_ListOperationEventsCommand");
|
|
920
999
|
var de_ListOperationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
921
1000
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
922
1001
|
return de_CommandError(output, context);
|
|
@@ -975,6 +1054,20 @@ var de_RegisterApplicationCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
975
1054
|
Object.assign(contents, doc);
|
|
976
1055
|
return contents;
|
|
977
1056
|
}, "de_RegisterApplicationCommand");
|
|
1057
|
+
var de_StartApplicationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1058
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1059
|
+
return de_CommandError(output, context);
|
|
1060
|
+
}
|
|
1061
|
+
const contents = (0, import_smithy_client.map)({
|
|
1062
|
+
$metadata: deserializeMetadata(output)
|
|
1063
|
+
});
|
|
1064
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1065
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1066
|
+
OperationId: import_smithy_client.expectString
|
|
1067
|
+
});
|
|
1068
|
+
Object.assign(contents, doc);
|
|
1069
|
+
return contents;
|
|
1070
|
+
}, "de_StartApplicationCommand");
|
|
978
1071
|
var de_StartApplicationRefreshCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
979
1072
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
980
1073
|
return de_CommandError(output, context);
|
|
@@ -989,6 +1082,20 @@ var de_StartApplicationRefreshCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
989
1082
|
Object.assign(contents, doc);
|
|
990
1083
|
return contents;
|
|
991
1084
|
}, "de_StartApplicationRefreshCommand");
|
|
1085
|
+
var de_StopApplicationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1086
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1087
|
+
return de_CommandError(output, context);
|
|
1088
|
+
}
|
|
1089
|
+
const contents = (0, import_smithy_client.map)({
|
|
1090
|
+
$metadata: deserializeMetadata(output)
|
|
1091
|
+
});
|
|
1092
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1093
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1094
|
+
OperationId: import_smithy_client.expectString
|
|
1095
|
+
});
|
|
1096
|
+
Object.assign(contents, doc);
|
|
1097
|
+
return contents;
|
|
1098
|
+
}, "de_StopApplicationCommand");
|
|
992
1099
|
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
993
1100
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
994
1101
|
return de_CommandError(output, context);
|
|
@@ -1188,6 +1295,21 @@ var de_Operation = /* @__PURE__ */ __name((output, context) => {
|
|
|
1188
1295
|
Type: import_smithy_client.expectString
|
|
1189
1296
|
});
|
|
1190
1297
|
}, "de_Operation");
|
|
1298
|
+
var de_OperationEvent = /* @__PURE__ */ __name((output, context) => {
|
|
1299
|
+
return (0, import_smithy_client.take)(output, {
|
|
1300
|
+
Description: import_smithy_client.expectString,
|
|
1301
|
+
Resource: import_smithy_client._json,
|
|
1302
|
+
Status: import_smithy_client.expectString,
|
|
1303
|
+
StatusMessage: import_smithy_client.expectString,
|
|
1304
|
+
Timestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
1305
|
+
});
|
|
1306
|
+
}, "de_OperationEvent");
|
|
1307
|
+
var de_OperationEventList = /* @__PURE__ */ __name((output, context) => {
|
|
1308
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1309
|
+
return de_OperationEvent(entry, context);
|
|
1310
|
+
});
|
|
1311
|
+
return retVal;
|
|
1312
|
+
}, "de_OperationEventList");
|
|
1191
1313
|
var de_OperationList = /* @__PURE__ */ __name((output, context) => {
|
|
1192
1314
|
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1193
1315
|
return de_Operation(entry, context);
|
|
@@ -1378,6 +1500,23 @@ var _ListDatabasesCommand = class _ListDatabasesCommand extends import_smithy_cl
|
|
|
1378
1500
|
__name(_ListDatabasesCommand, "ListDatabasesCommand");
|
|
1379
1501
|
var ListDatabasesCommand = _ListDatabasesCommand;
|
|
1380
1502
|
|
|
1503
|
+
// src/commands/ListOperationEventsCommand.ts
|
|
1504
|
+
|
|
1505
|
+
|
|
1506
|
+
|
|
1507
|
+
|
|
1508
|
+
var _ListOperationEventsCommand = class _ListOperationEventsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1509
|
+
...commonParams
|
|
1510
|
+
}).m(function(Command, cs, config, o) {
|
|
1511
|
+
return [
|
|
1512
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1513
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1514
|
+
];
|
|
1515
|
+
}).s("SsmSap", "ListOperationEvents", {}).n("SsmSapClient", "ListOperationEventsCommand").f(void 0, void 0).ser(se_ListOperationEventsCommand).de(de_ListOperationEventsCommand).build() {
|
|
1516
|
+
};
|
|
1517
|
+
__name(_ListOperationEventsCommand, "ListOperationEventsCommand");
|
|
1518
|
+
var ListOperationEventsCommand = _ListOperationEventsCommand;
|
|
1519
|
+
|
|
1381
1520
|
// src/commands/ListOperationsCommand.ts
|
|
1382
1521
|
|
|
1383
1522
|
|
|
@@ -1446,6 +1585,23 @@ var _RegisterApplicationCommand = class _RegisterApplicationCommand extends impo
|
|
|
1446
1585
|
__name(_RegisterApplicationCommand, "RegisterApplicationCommand");
|
|
1447
1586
|
var RegisterApplicationCommand = _RegisterApplicationCommand;
|
|
1448
1587
|
|
|
1588
|
+
// src/commands/StartApplicationCommand.ts
|
|
1589
|
+
|
|
1590
|
+
|
|
1591
|
+
|
|
1592
|
+
|
|
1593
|
+
var _StartApplicationCommand = class _StartApplicationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1594
|
+
...commonParams
|
|
1595
|
+
}).m(function(Command, cs, config, o) {
|
|
1596
|
+
return [
|
|
1597
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1598
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1599
|
+
];
|
|
1600
|
+
}).s("SsmSap", "StartApplication", {}).n("SsmSapClient", "StartApplicationCommand").f(void 0, void 0).ser(se_StartApplicationCommand).de(de_StartApplicationCommand).build() {
|
|
1601
|
+
};
|
|
1602
|
+
__name(_StartApplicationCommand, "StartApplicationCommand");
|
|
1603
|
+
var StartApplicationCommand = _StartApplicationCommand;
|
|
1604
|
+
|
|
1449
1605
|
// src/commands/StartApplicationRefreshCommand.ts
|
|
1450
1606
|
|
|
1451
1607
|
|
|
@@ -1463,6 +1619,23 @@ var _StartApplicationRefreshCommand = class _StartApplicationRefreshCommand exte
|
|
|
1463
1619
|
__name(_StartApplicationRefreshCommand, "StartApplicationRefreshCommand");
|
|
1464
1620
|
var StartApplicationRefreshCommand = _StartApplicationRefreshCommand;
|
|
1465
1621
|
|
|
1622
|
+
// src/commands/StopApplicationCommand.ts
|
|
1623
|
+
|
|
1624
|
+
|
|
1625
|
+
|
|
1626
|
+
|
|
1627
|
+
var _StopApplicationCommand = class _StopApplicationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1628
|
+
...commonParams
|
|
1629
|
+
}).m(function(Command, cs, config, o) {
|
|
1630
|
+
return [
|
|
1631
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1632
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1633
|
+
];
|
|
1634
|
+
}).s("SsmSap", "StopApplication", {}).n("SsmSapClient", "StopApplicationCommand").f(void 0, void 0).ser(se_StopApplicationCommand).de(de_StopApplicationCommand).build() {
|
|
1635
|
+
};
|
|
1636
|
+
__name(_StopApplicationCommand, "StopApplicationCommand");
|
|
1637
|
+
var StopApplicationCommand = _StopApplicationCommand;
|
|
1638
|
+
|
|
1466
1639
|
// src/commands/TagResourceCommand.ts
|
|
1467
1640
|
|
|
1468
1641
|
|
|
@@ -1526,11 +1699,14 @@ var commands = {
|
|
|
1526
1699
|
ListApplicationsCommand,
|
|
1527
1700
|
ListComponentsCommand,
|
|
1528
1701
|
ListDatabasesCommand,
|
|
1702
|
+
ListOperationEventsCommand,
|
|
1529
1703
|
ListOperationsCommand,
|
|
1530
1704
|
ListTagsForResourceCommand,
|
|
1531
1705
|
PutResourcePermissionCommand,
|
|
1532
1706
|
RegisterApplicationCommand,
|
|
1707
|
+
StartApplicationCommand,
|
|
1533
1708
|
StartApplicationRefreshCommand,
|
|
1709
|
+
StopApplicationCommand,
|
|
1534
1710
|
TagResourceCommand,
|
|
1535
1711
|
UntagResourceCommand,
|
|
1536
1712
|
UpdateApplicationSettingsCommand
|
|
@@ -1553,6 +1729,10 @@ var paginateListComponents = (0, import_core.createPaginator)(SsmSapClient, List
|
|
|
1553
1729
|
|
|
1554
1730
|
var paginateListDatabases = (0, import_core.createPaginator)(SsmSapClient, ListDatabasesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1555
1731
|
|
|
1732
|
+
// src/pagination/ListOperationEventsPaginator.ts
|
|
1733
|
+
|
|
1734
|
+
var paginateListOperationEvents = (0, import_core.createPaginator)(SsmSapClient, ListOperationEventsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1735
|
+
|
|
1556
1736
|
// src/pagination/ListOperationsPaginator.ts
|
|
1557
1737
|
|
|
1558
1738
|
var paginateListOperations = (0, import_core.createPaginator)(SsmSapClient, ListOperationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1574,17 +1754,21 @@ var paginateListOperations = (0, import_core.createPaginator)(SsmSapClient, List
|
|
|
1574
1754
|
ListApplicationsCommand,
|
|
1575
1755
|
ListComponentsCommand,
|
|
1576
1756
|
ListDatabasesCommand,
|
|
1757
|
+
ListOperationEventsCommand,
|
|
1577
1758
|
ListOperationsCommand,
|
|
1578
1759
|
ListTagsForResourceCommand,
|
|
1579
1760
|
PutResourcePermissionCommand,
|
|
1580
1761
|
RegisterApplicationCommand,
|
|
1762
|
+
StartApplicationCommand,
|
|
1581
1763
|
StartApplicationRefreshCommand,
|
|
1764
|
+
StopApplicationCommand,
|
|
1582
1765
|
TagResourceCommand,
|
|
1583
1766
|
UntagResourceCommand,
|
|
1584
1767
|
UpdateApplicationSettingsCommand,
|
|
1585
1768
|
paginateListApplications,
|
|
1586
1769
|
paginateListComponents,
|
|
1587
1770
|
paginateListDatabases,
|
|
1771
|
+
paginateListOperationEvents,
|
|
1588
1772
|
paginateListOperations,
|
|
1589
1773
|
AllocationType,
|
|
1590
1774
|
ApplicationDiscoveryStatus,
|
|
@@ -1600,6 +1784,7 @@ var paginateListOperations = (0, import_core.createPaginator)(SsmSapClient, List
|
|
|
1600
1784
|
ReplicationMode,
|
|
1601
1785
|
ComponentStatus,
|
|
1602
1786
|
ConflictException,
|
|
1787
|
+
ConnectedEntityType,
|
|
1603
1788
|
DatabaseType,
|
|
1604
1789
|
DatabaseStatus,
|
|
1605
1790
|
PermissionActionType,
|
|
@@ -1609,6 +1794,7 @@ var paginateListOperations = (0, import_core.createPaginator)(SsmSapClient, List
|
|
|
1609
1794
|
UnauthorizedException,
|
|
1610
1795
|
FilterOperator,
|
|
1611
1796
|
OperationStatus,
|
|
1797
|
+
OperationEventStatus,
|
|
1612
1798
|
ApplicationCredentialFilterSensitiveLog,
|
|
1613
1799
|
DatabaseFilterSensitiveLog,
|
|
1614
1800
|
GetDatabaseOutputFilterSensitiveLog,
|
package/dist-es/SsmSap.js
CHANGED
|
@@ -9,11 +9,14 @@ import { GetResourcePermissionCommand, } from "./commands/GetResourcePermissionC
|
|
|
9
9
|
import { ListApplicationsCommand, } from "./commands/ListApplicationsCommand";
|
|
10
10
|
import { ListComponentsCommand, } from "./commands/ListComponentsCommand";
|
|
11
11
|
import { ListDatabasesCommand, } from "./commands/ListDatabasesCommand";
|
|
12
|
+
import { ListOperationEventsCommand, } from "./commands/ListOperationEventsCommand";
|
|
12
13
|
import { ListOperationsCommand, } from "./commands/ListOperationsCommand";
|
|
13
14
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
14
15
|
import { PutResourcePermissionCommand, } from "./commands/PutResourcePermissionCommand";
|
|
15
16
|
import { RegisterApplicationCommand, } from "./commands/RegisterApplicationCommand";
|
|
17
|
+
import { StartApplicationCommand, } from "./commands/StartApplicationCommand";
|
|
16
18
|
import { StartApplicationRefreshCommand, } from "./commands/StartApplicationRefreshCommand";
|
|
19
|
+
import { StopApplicationCommand, } from "./commands/StopApplicationCommand";
|
|
17
20
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
18
21
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
19
22
|
import { UpdateApplicationSettingsCommand, } from "./commands/UpdateApplicationSettingsCommand";
|
|
@@ -29,11 +32,14 @@ const commands = {
|
|
|
29
32
|
ListApplicationsCommand,
|
|
30
33
|
ListComponentsCommand,
|
|
31
34
|
ListDatabasesCommand,
|
|
35
|
+
ListOperationEventsCommand,
|
|
32
36
|
ListOperationsCommand,
|
|
33
37
|
ListTagsForResourceCommand,
|
|
34
38
|
PutResourcePermissionCommand,
|
|
35
39
|
RegisterApplicationCommand,
|
|
40
|
+
StartApplicationCommand,
|
|
36
41
|
StartApplicationRefreshCommand,
|
|
42
|
+
StopApplicationCommand,
|
|
37
43
|
TagResourceCommand,
|
|
38
44
|
UntagResourceCommand,
|
|
39
45
|
UpdateApplicationSettingsCommand,
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ListOperationEventsCommand, se_ListOperationEventsCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListOperationEventsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("SsmSap", "ListOperationEvents", {})
|
|
19
|
+
.n("SsmSapClient", "ListOperationEventsCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ListOperationEventsCommand)
|
|
22
|
+
.de(de_ListOperationEventsCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_StartApplicationCommand, se_StartApplicationCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class StartApplicationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("SsmSap", "StartApplication", {})
|
|
19
|
+
.n("SsmSapClient", "StartApplicationCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_StartApplicationCommand)
|
|
22
|
+
.de(de_StartApplicationCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_StopApplicationCommand, se_StopApplicationCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class StopApplicationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("SsmSap", "StopApplication", {})
|
|
19
|
+
.n("SsmSapClient", "StopApplicationCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_StopApplicationCommand)
|
|
22
|
+
.de(de_StopApplicationCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -8,11 +8,14 @@ export * from "./GetResourcePermissionCommand";
|
|
|
8
8
|
export * from "./ListApplicationsCommand";
|
|
9
9
|
export * from "./ListComponentsCommand";
|
|
10
10
|
export * from "./ListDatabasesCommand";
|
|
11
|
+
export * from "./ListOperationEventsCommand";
|
|
11
12
|
export * from "./ListOperationsCommand";
|
|
12
13
|
export * from "./ListTagsForResourceCommand";
|
|
13
14
|
export * from "./PutResourcePermissionCommand";
|
|
14
15
|
export * from "./RegisterApplicationCommand";
|
|
16
|
+
export * from "./StartApplicationCommand";
|
|
15
17
|
export * from "./StartApplicationRefreshCommand";
|
|
18
|
+
export * from "./StopApplicationCommand";
|
|
16
19
|
export * from "./TagResourceCommand";
|
|
17
20
|
export * from "./UntagResourceCommand";
|
|
18
21
|
export * from "./UpdateApplicationSettingsCommand";
|
|
@@ -96,6 +96,9 @@ export class ConflictException extends __BaseException {
|
|
|
96
96
|
this.Message = opts.Message;
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
|
+
export const ConnectedEntityType = {
|
|
100
|
+
DBMS: "DBMS",
|
|
101
|
+
};
|
|
99
102
|
export const DatabaseType = {
|
|
100
103
|
SYSTEM: "SYSTEM",
|
|
101
104
|
TENANT: "TENANT",
|
|
@@ -173,6 +176,11 @@ export const OperationStatus = {
|
|
|
173
176
|
INPROGRESS: "INPROGRESS",
|
|
174
177
|
SUCCESS: "SUCCESS",
|
|
175
178
|
};
|
|
179
|
+
export const OperationEventStatus = {
|
|
180
|
+
COMPLETED: "COMPLETED",
|
|
181
|
+
FAILED: "FAILED",
|
|
182
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
183
|
+
};
|
|
176
184
|
export const ApplicationCredentialFilterSensitiveLog = (obj) => ({
|
|
177
185
|
...obj,
|
|
178
186
|
...(obj.SecretId && { SecretId: SENSITIVE_STRING }),
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListOperationEventsCommand, } from "../commands/ListOperationEventsCommand";
|
|
3
|
+
import { SsmSapClient } from "../SsmSapClient";
|
|
4
|
+
export const paginateListOperationEvents = createPaginator(SsmSapClient, ListOperationEventsCommand, "NextToken", "NextToken", "MaxResults");
|