@aws-sdk/client-ssm-sap 3.569.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.
Files changed (32) hide show
  1. package/README.md +24 -0
  2. package/dist-cjs/index.js +186 -0
  3. package/dist-es/SsmSap.js +6 -0
  4. package/dist-es/commands/ListOperationEventsCommand.js +24 -0
  5. package/dist-es/commands/StartApplicationCommand.js +24 -0
  6. package/dist-es/commands/StopApplicationCommand.js +24 -0
  7. package/dist-es/commands/index.js +3 -0
  8. package/dist-es/models/models_0.js +8 -0
  9. package/dist-es/pagination/ListOperationEventsPaginator.js +4 -0
  10. package/dist-es/pagination/index.js +1 -0
  11. package/dist-es/protocols/Aws_restJson1.js +104 -0
  12. package/dist-types/SsmSap.d.ts +21 -0
  13. package/dist-types/SsmSapClient.d.ts +5 -2
  14. package/dist-types/commands/ListOperationEventsCommand.d.ts +89 -0
  15. package/dist-types/commands/StartApplicationCommand.d.ts +72 -0
  16. package/dist-types/commands/StopApplicationCommand.d.ts +76 -0
  17. package/dist-types/commands/index.d.ts +3 -0
  18. package/dist-types/models/models_0.d.ts +209 -1
  19. package/dist-types/pagination/ListOperationEventsPaginator.d.ts +7 -0
  20. package/dist-types/pagination/index.d.ts +1 -0
  21. package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
  22. package/dist-types/ts3.4/SsmSap.d.ts +51 -0
  23. package/dist-types/ts3.4/SsmSapClient.d.ts +18 -0
  24. package/dist-types/ts3.4/commands/ListOperationEventsCommand.d.ts +39 -0
  25. package/dist-types/ts3.4/commands/StartApplicationCommand.d.ts +38 -0
  26. package/dist-types/ts3.4/commands/StopApplicationCommand.d.ts +38 -0
  27. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  28. package/dist-types/ts3.4/models/models_0.d.ts +47 -0
  29. package/dist-types/ts3.4/pagination/ListOperationEventsPaginator.d.ts +11 -0
  30. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  31. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
  32. package/package.json +8 -8
@@ -630,6 +630,17 @@ export declare class ConflictException extends __BaseException {
630
630
  */
631
631
  constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
632
632
  }
633
+ /**
634
+ * @public
635
+ * @enum
636
+ */
637
+ export declare const ConnectedEntityType: {
638
+ readonly DBMS: "DBMS";
639
+ };
640
+ /**
641
+ * @public
642
+ */
643
+ export type ConnectedEntityType = (typeof ConnectedEntityType)[keyof typeof ConnectedEntityType];
633
644
  /**
634
645
  * @public
635
646
  * @enum
@@ -1137,7 +1148,7 @@ export interface ListApplicationsInput {
1137
1148
  NextToken?: string;
1138
1149
  /**
1139
1150
  * <p>The maximum number of results to return with a single call. To retrieve the remaining
1140
- * results, make another call with the returned nextToken value. </p>
1151
+ * results, make another call with the returned nextToken value.</p>
1141
1152
  * @public
1142
1153
  */
1143
1154
  MaxResults?: number;
@@ -1245,6 +1256,148 @@ export interface ListDatabasesOutput {
1245
1256
  */
1246
1257
  NextToken?: string;
1247
1258
  }
1259
+ /**
1260
+ * @public
1261
+ */
1262
+ export interface ListOperationEventsInput {
1263
+ /**
1264
+ * <p>The ID of the operation.</p>
1265
+ * @public
1266
+ */
1267
+ OperationId: string | undefined;
1268
+ /**
1269
+ * <p>The maximum number of results to return with a single call. To retrieve the remaining
1270
+ * results, make another call with the returned nextToken value.</p>
1271
+ * <p>If you do not specify a value for <code>MaxResults</code>, the request returns 50 items
1272
+ * per page by default.</p>
1273
+ * @public
1274
+ */
1275
+ MaxResults?: number;
1276
+ /**
1277
+ * <p>The token to use to retrieve the next page of results.
1278
+ * This value is null when there are no more results to return.</p>
1279
+ * @public
1280
+ */
1281
+ NextToken?: string;
1282
+ /**
1283
+ * <p>Optionally specify filters to narrow the returned operation
1284
+ * event items.</p>
1285
+ * <p>Valid filter names include <code>status</code>, <code>resourceID</code>,
1286
+ * and <code>resourceType</code>. The valid operator for all three filters
1287
+ * is <code>Equals</code>.</p>
1288
+ * @public
1289
+ */
1290
+ Filters?: Filter[];
1291
+ }
1292
+ /**
1293
+ * <p>The resource contains a <code>ResourceArn</code>
1294
+ * and the <code>ResourceType</code>.</p>
1295
+ * @public
1296
+ */
1297
+ export interface Resource {
1298
+ /**
1299
+ * <p>The Amazon Resource Name (ARN) of the source resource.</p>
1300
+ * <p>Example of <code>ResourceArn</code>:
1301
+ * "<code>arn:aws:ec2:us-east-1:111111111111:instance/i-abcdefgh987654321</code>"</p>
1302
+ * @public
1303
+ */
1304
+ ResourceArn?: string;
1305
+ /**
1306
+ * <p>The resource type.</p>
1307
+ * <p>Example of <code>ResourceType</code>: "<code>AWS::SystemsManagerSAP::Component</code>"
1308
+ * or "<code>AWS::EC2::Instance</code>".</p>
1309
+ * @public
1310
+ */
1311
+ ResourceType?: string;
1312
+ }
1313
+ /**
1314
+ * @public
1315
+ * @enum
1316
+ */
1317
+ export declare const OperationEventStatus: {
1318
+ readonly COMPLETED: "COMPLETED";
1319
+ readonly FAILED: "FAILED";
1320
+ readonly IN_PROGRESS: "IN_PROGRESS";
1321
+ };
1322
+ /**
1323
+ * @public
1324
+ */
1325
+ export type OperationEventStatus = (typeof OperationEventStatus)[keyof typeof OperationEventStatus];
1326
+ /**
1327
+ * <p>An operation event returns details for an operation, including
1328
+ * key milestones which can be used to monitor and track operations
1329
+ * in progress.</p>
1330
+ * <p>Operation events contain:</p>
1331
+ * <ul>
1332
+ * <li>
1333
+ * <p>Description string</p>
1334
+ * </li>
1335
+ * <li>
1336
+ * <p>Resource, including its ARN and type</p>
1337
+ * </li>
1338
+ * <li>
1339
+ * <p>Status</p>
1340
+ * </li>
1341
+ * <li>
1342
+ * <p>StatusMessage string</p>
1343
+ * </li>
1344
+ * <li>
1345
+ * <p>TimeStamp</p>
1346
+ * </li>
1347
+ * </ul>
1348
+ * <p>Operation event examples include StartApplication or
1349
+ * StopApplication.</p>
1350
+ * @public
1351
+ */
1352
+ export interface OperationEvent {
1353
+ /**
1354
+ * <p>A description of the operation event. For example,
1355
+ * "Stop the EC2 instance i-abcdefgh987654321".</p>
1356
+ * @public
1357
+ */
1358
+ Description?: string;
1359
+ /**
1360
+ * <p>The resource involved in the operations event.</p>
1361
+ * <p>Contains <code>ResourceArn</code> ARN and <code>ResourceType</code>.</p>
1362
+ * @public
1363
+ */
1364
+ Resource?: Resource;
1365
+ /**
1366
+ * <p>The status of the operation event. The possible statuses
1367
+ * are: <code>IN_PROGRESS</code>,
1368
+ * <code>COMPLETED</code>, and <code>FAILED</code>.</p>
1369
+ * @public
1370
+ */
1371
+ Status?: OperationEventStatus;
1372
+ /**
1373
+ * <p>The status message relating to a specific
1374
+ * operation event.</p>
1375
+ * @public
1376
+ */
1377
+ StatusMessage?: string;
1378
+ /**
1379
+ * <p>The timestamp of the specified operation event.</p>
1380
+ * @public
1381
+ */
1382
+ Timestamp?: Date;
1383
+ }
1384
+ /**
1385
+ * @public
1386
+ */
1387
+ export interface ListOperationEventsOutput {
1388
+ /**
1389
+ * <p>A returned list of operation events that
1390
+ * meet the filter criteria.</p>
1391
+ * @public
1392
+ */
1393
+ OperationEvents?: OperationEvent[];
1394
+ /**
1395
+ * <p>The token to use to retrieve the next page of results. This value is null when there are
1396
+ * no more results to return.</p>
1397
+ * @public
1398
+ */
1399
+ NextToken?: string;
1400
+ }
1248
1401
  /**
1249
1402
  * @public
1250
1403
  */
@@ -1398,6 +1551,26 @@ export interface RegisterApplicationOutput {
1398
1551
  */
1399
1552
  OperationId?: string;
1400
1553
  }
1554
+ /**
1555
+ * @public
1556
+ */
1557
+ export interface StartApplicationInput {
1558
+ /**
1559
+ * <p>The ID of the application.</p>
1560
+ * @public
1561
+ */
1562
+ ApplicationId: string | undefined;
1563
+ }
1564
+ /**
1565
+ * @public
1566
+ */
1567
+ export interface StartApplicationOutput {
1568
+ /**
1569
+ * <p>The ID of the operation.</p>
1570
+ * @public
1571
+ */
1572
+ OperationId?: string;
1573
+ }
1401
1574
  /**
1402
1575
  * @public
1403
1576
  */
@@ -1418,6 +1591,41 @@ export interface StartApplicationRefreshOutput {
1418
1591
  */
1419
1592
  OperationId?: string;
1420
1593
  }
1594
+ /**
1595
+ * @public
1596
+ */
1597
+ export interface StopApplicationInput {
1598
+ /**
1599
+ * <p>The ID of the application.</p>
1600
+ * @public
1601
+ */
1602
+ ApplicationId: string | undefined;
1603
+ /**
1604
+ * <p>Specify the <code>ConnectedEntityType</code>. Accepted type
1605
+ * is <code>DBMS</code>.</p>
1606
+ * <p>If this parameter is included, the connected DBMS (Database
1607
+ * Management System) will be stopped.</p>
1608
+ * @public
1609
+ */
1610
+ StopConnectedEntity?: ConnectedEntityType;
1611
+ /**
1612
+ * <p>Boolean. If included and if set to <code>True</code>, the
1613
+ * StopApplication operation will shut down the associated Amazon EC2 instance in addition to
1614
+ * the application.</p>
1615
+ * @public
1616
+ */
1617
+ IncludeEc2InstanceShutdown?: boolean;
1618
+ }
1619
+ /**
1620
+ * @public
1621
+ */
1622
+ export interface StopApplicationOutput {
1623
+ /**
1624
+ * <p>The ID of the operation.</p>
1625
+ * @public
1626
+ */
1627
+ OperationId?: string;
1628
+ }
1421
1629
  /**
1422
1630
  * @public
1423
1631
  */
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListOperationEventsCommandInput, ListOperationEventsCommandOutput } from "../commands/ListOperationEventsCommand";
3
+ import { SsmSapPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListOperationEvents: (config: SsmSapPaginationConfiguration, input: ListOperationEventsCommandInput, ...rest: any[]) => Paginator<ListOperationEventsCommandOutput>;
@@ -2,4 +2,5 @@ export * from "./Interfaces";
2
2
  export * from "./ListApplicationsPaginator";
3
3
  export * from "./ListComponentsPaginator";
4
4
  export * from "./ListDatabasesPaginator";
5
+ export * from "./ListOperationEventsPaginator";
5
6
  export * from "./ListOperationsPaginator";
@@ -10,11 +10,14 @@ import { GetResourcePermissionCommandInput, GetResourcePermissionCommandOutput }
10
10
  import { ListApplicationsCommandInput, ListApplicationsCommandOutput } from "../commands/ListApplicationsCommand";
11
11
  import { ListComponentsCommandInput, ListComponentsCommandOutput } from "../commands/ListComponentsCommand";
12
12
  import { ListDatabasesCommandInput, ListDatabasesCommandOutput } from "../commands/ListDatabasesCommand";
13
+ import { ListOperationEventsCommandInput, ListOperationEventsCommandOutput } from "../commands/ListOperationEventsCommand";
13
14
  import { ListOperationsCommandInput, ListOperationsCommandOutput } from "../commands/ListOperationsCommand";
14
15
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
15
16
  import { PutResourcePermissionCommandInput, PutResourcePermissionCommandOutput } from "../commands/PutResourcePermissionCommand";
16
17
  import { RegisterApplicationCommandInput, RegisterApplicationCommandOutput } from "../commands/RegisterApplicationCommand";
18
+ import { StartApplicationCommandInput, StartApplicationCommandOutput } from "../commands/StartApplicationCommand";
17
19
  import { StartApplicationRefreshCommandInput, StartApplicationRefreshCommandOutput } from "../commands/StartApplicationRefreshCommand";
20
+ import { StopApplicationCommandInput, StopApplicationCommandOutput } from "../commands/StopApplicationCommand";
18
21
  import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
19
22
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
20
23
  import { UpdateApplicationSettingsCommandInput, UpdateApplicationSettingsCommandOutput } from "../commands/UpdateApplicationSettingsCommand";
@@ -58,6 +61,10 @@ export declare const se_ListComponentsCommand: (input: ListComponentsCommandInpu
58
61
  * serializeAws_restJson1ListDatabasesCommand
59
62
  */
60
63
  export declare const se_ListDatabasesCommand: (input: ListDatabasesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
64
+ /**
65
+ * serializeAws_restJson1ListOperationEventsCommand
66
+ */
67
+ export declare const se_ListOperationEventsCommand: (input: ListOperationEventsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
61
68
  /**
62
69
  * serializeAws_restJson1ListOperationsCommand
63
70
  */
@@ -74,10 +81,18 @@ export declare const se_PutResourcePermissionCommand: (input: PutResourcePermiss
74
81
  * serializeAws_restJson1RegisterApplicationCommand
75
82
  */
76
83
  export declare const se_RegisterApplicationCommand: (input: RegisterApplicationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
84
+ /**
85
+ * serializeAws_restJson1StartApplicationCommand
86
+ */
87
+ export declare const se_StartApplicationCommand: (input: StartApplicationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
77
88
  /**
78
89
  * serializeAws_restJson1StartApplicationRefreshCommand
79
90
  */
80
91
  export declare const se_StartApplicationRefreshCommand: (input: StartApplicationRefreshCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
92
+ /**
93
+ * serializeAws_restJson1StopApplicationCommand
94
+ */
95
+ export declare const se_StopApplicationCommand: (input: StopApplicationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
81
96
  /**
82
97
  * serializeAws_restJson1TagResourceCommand
83
98
  */
@@ -130,6 +145,10 @@ export declare const de_ListComponentsCommand: (output: __HttpResponse, context:
130
145
  * deserializeAws_restJson1ListDatabasesCommand
131
146
  */
132
147
  export declare const de_ListDatabasesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListDatabasesCommandOutput>;
148
+ /**
149
+ * deserializeAws_restJson1ListOperationEventsCommand
150
+ */
151
+ export declare const de_ListOperationEventsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListOperationEventsCommandOutput>;
133
152
  /**
134
153
  * deserializeAws_restJson1ListOperationsCommand
135
154
  */
@@ -146,10 +165,18 @@ export declare const de_PutResourcePermissionCommand: (output: __HttpResponse, c
146
165
  * deserializeAws_restJson1RegisterApplicationCommand
147
166
  */
148
167
  export declare const de_RegisterApplicationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RegisterApplicationCommandOutput>;
168
+ /**
169
+ * deserializeAws_restJson1StartApplicationCommand
170
+ */
171
+ export declare const de_StartApplicationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartApplicationCommandOutput>;
149
172
  /**
150
173
  * deserializeAws_restJson1StartApplicationRefreshCommand
151
174
  */
152
175
  export declare const de_StartApplicationRefreshCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartApplicationRefreshCommandOutput>;
176
+ /**
177
+ * deserializeAws_restJson1StopApplicationCommand
178
+ */
179
+ export declare const de_StopApplicationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StopApplicationCommandOutput>;
153
180
  /**
154
181
  * deserializeAws_restJson1TagResourceCommand
155
182
  */
@@ -39,6 +39,10 @@ import {
39
39
  ListDatabasesCommandInput,
40
40
  ListDatabasesCommandOutput,
41
41
  } from "./commands/ListDatabasesCommand";
42
+ import {
43
+ ListOperationEventsCommandInput,
44
+ ListOperationEventsCommandOutput,
45
+ } from "./commands/ListOperationEventsCommand";
42
46
  import {
43
47
  ListOperationsCommandInput,
44
48
  ListOperationsCommandOutput,
@@ -55,10 +59,18 @@ import {
55
59
  RegisterApplicationCommandInput,
56
60
  RegisterApplicationCommandOutput,
57
61
  } from "./commands/RegisterApplicationCommand";
62
+ import {
63
+ StartApplicationCommandInput,
64
+ StartApplicationCommandOutput,
65
+ } from "./commands/StartApplicationCommand";
58
66
  import {
59
67
  StartApplicationRefreshCommandInput,
60
68
  StartApplicationRefreshCommandOutput,
61
69
  } from "./commands/StartApplicationRefreshCommand";
70
+ import {
71
+ StopApplicationCommandInput,
72
+ StopApplicationCommandOutput,
73
+ } from "./commands/StopApplicationCommand";
62
74
  import {
63
75
  TagResourceCommandInput,
64
76
  TagResourceCommandOutput,
@@ -208,6 +220,19 @@ export interface SsmSap {
208
220
  options: __HttpHandlerOptions,
209
221
  cb: (err: any, data?: ListDatabasesCommandOutput) => void
210
222
  ): void;
223
+ listOperationEvents(
224
+ args: ListOperationEventsCommandInput,
225
+ options?: __HttpHandlerOptions
226
+ ): Promise<ListOperationEventsCommandOutput>;
227
+ listOperationEvents(
228
+ args: ListOperationEventsCommandInput,
229
+ cb: (err: any, data?: ListOperationEventsCommandOutput) => void
230
+ ): void;
231
+ listOperationEvents(
232
+ args: ListOperationEventsCommandInput,
233
+ options: __HttpHandlerOptions,
234
+ cb: (err: any, data?: ListOperationEventsCommandOutput) => void
235
+ ): void;
211
236
  listOperations(
212
237
  args: ListOperationsCommandInput,
213
238
  options?: __HttpHandlerOptions
@@ -260,6 +285,19 @@ export interface SsmSap {
260
285
  options: __HttpHandlerOptions,
261
286
  cb: (err: any, data?: RegisterApplicationCommandOutput) => void
262
287
  ): void;
288
+ startApplication(
289
+ args: StartApplicationCommandInput,
290
+ options?: __HttpHandlerOptions
291
+ ): Promise<StartApplicationCommandOutput>;
292
+ startApplication(
293
+ args: StartApplicationCommandInput,
294
+ cb: (err: any, data?: StartApplicationCommandOutput) => void
295
+ ): void;
296
+ startApplication(
297
+ args: StartApplicationCommandInput,
298
+ options: __HttpHandlerOptions,
299
+ cb: (err: any, data?: StartApplicationCommandOutput) => void
300
+ ): void;
263
301
  startApplicationRefresh(
264
302
  args: StartApplicationRefreshCommandInput,
265
303
  options?: __HttpHandlerOptions
@@ -273,6 +311,19 @@ export interface SsmSap {
273
311
  options: __HttpHandlerOptions,
274
312
  cb: (err: any, data?: StartApplicationRefreshCommandOutput) => void
275
313
  ): void;
314
+ stopApplication(
315
+ args: StopApplicationCommandInput,
316
+ options?: __HttpHandlerOptions
317
+ ): Promise<StopApplicationCommandOutput>;
318
+ stopApplication(
319
+ args: StopApplicationCommandInput,
320
+ cb: (err: any, data?: StopApplicationCommandOutput) => void
321
+ ): void;
322
+ stopApplication(
323
+ args: StopApplicationCommandInput,
324
+ options: __HttpHandlerOptions,
325
+ cb: (err: any, data?: StopApplicationCommandOutput) => void
326
+ ): void;
276
327
  tagResource(
277
328
  args: TagResourceCommandInput,
278
329
  options?: __HttpHandlerOptions
@@ -85,6 +85,10 @@ import {
85
85
  ListDatabasesCommandInput,
86
86
  ListDatabasesCommandOutput,
87
87
  } from "./commands/ListDatabasesCommand";
88
+ import {
89
+ ListOperationEventsCommandInput,
90
+ ListOperationEventsCommandOutput,
91
+ } from "./commands/ListOperationEventsCommand";
88
92
  import {
89
93
  ListOperationsCommandInput,
90
94
  ListOperationsCommandOutput,
@@ -101,10 +105,18 @@ import {
101
105
  RegisterApplicationCommandInput,
102
106
  RegisterApplicationCommandOutput,
103
107
  } from "./commands/RegisterApplicationCommand";
108
+ import {
109
+ StartApplicationCommandInput,
110
+ StartApplicationCommandOutput,
111
+ } from "./commands/StartApplicationCommand";
104
112
  import {
105
113
  StartApplicationRefreshCommandInput,
106
114
  StartApplicationRefreshCommandOutput,
107
115
  } from "./commands/StartApplicationRefreshCommand";
116
+ import {
117
+ StopApplicationCommandInput,
118
+ StopApplicationCommandOutput,
119
+ } from "./commands/StopApplicationCommand";
108
120
  import {
109
121
  TagResourceCommandInput,
110
122
  TagResourceCommandOutput,
@@ -135,11 +147,14 @@ export type ServiceInputTypes =
135
147
  | ListApplicationsCommandInput
136
148
  | ListComponentsCommandInput
137
149
  | ListDatabasesCommandInput
150
+ | ListOperationEventsCommandInput
138
151
  | ListOperationsCommandInput
139
152
  | ListTagsForResourceCommandInput
140
153
  | PutResourcePermissionCommandInput
141
154
  | RegisterApplicationCommandInput
155
+ | StartApplicationCommandInput
142
156
  | StartApplicationRefreshCommandInput
157
+ | StopApplicationCommandInput
143
158
  | TagResourceCommandInput
144
159
  | UntagResourceCommandInput
145
160
  | UpdateApplicationSettingsCommandInput;
@@ -154,11 +169,14 @@ export type ServiceOutputTypes =
154
169
  | ListApplicationsCommandOutput
155
170
  | ListComponentsCommandOutput
156
171
  | ListDatabasesCommandOutput
172
+ | ListOperationEventsCommandOutput
157
173
  | ListOperationsCommandOutput
158
174
  | ListTagsForResourceCommandOutput
159
175
  | PutResourcePermissionCommandOutput
160
176
  | RegisterApplicationCommandOutput
177
+ | StartApplicationCommandOutput
161
178
  | StartApplicationRefreshCommandOutput
179
+ | StopApplicationCommandOutput
162
180
  | TagResourceCommandOutput
163
181
  | UntagResourceCommandOutput
164
182
  | UpdateApplicationSettingsCommandOutput;
@@ -0,0 +1,39 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ ListOperationEventsInput,
5
+ ListOperationEventsOutput,
6
+ } from "../models/models_0";
7
+ import {
8
+ ServiceInputTypes,
9
+ ServiceOutputTypes,
10
+ SsmSapClientResolvedConfig,
11
+ } from "../SsmSapClient";
12
+ export { __MetadataBearer, $Command };
13
+ export interface ListOperationEventsCommandInput
14
+ extends ListOperationEventsInput {}
15
+ export interface ListOperationEventsCommandOutput
16
+ extends ListOperationEventsOutput,
17
+ __MetadataBearer {}
18
+ declare const ListOperationEventsCommand_base: {
19
+ new (
20
+ input: ListOperationEventsCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ ListOperationEventsCommandInput,
23
+ ListOperationEventsCommandOutput,
24
+ SsmSapClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ new (
29
+ __0_0: ListOperationEventsCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ ListOperationEventsCommandInput,
32
+ ListOperationEventsCommandOutput,
33
+ SsmSapClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
37
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ };
39
+ export declare class ListOperationEventsCommand extends ListOperationEventsCommand_base {}
@@ -0,0 +1,38 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ StartApplicationInput,
5
+ StartApplicationOutput,
6
+ } from "../models/models_0";
7
+ import {
8
+ ServiceInputTypes,
9
+ ServiceOutputTypes,
10
+ SsmSapClientResolvedConfig,
11
+ } from "../SsmSapClient";
12
+ export { __MetadataBearer, $Command };
13
+ export interface StartApplicationCommandInput extends StartApplicationInput {}
14
+ export interface StartApplicationCommandOutput
15
+ extends StartApplicationOutput,
16
+ __MetadataBearer {}
17
+ declare const StartApplicationCommand_base: {
18
+ new (
19
+ input: StartApplicationCommandInput
20
+ ): import("@smithy/smithy-client").CommandImpl<
21
+ StartApplicationCommandInput,
22
+ StartApplicationCommandOutput,
23
+ SsmSapClientResolvedConfig,
24
+ ServiceInputTypes,
25
+ ServiceOutputTypes
26
+ >;
27
+ new (
28
+ __0_0: StartApplicationCommandInput
29
+ ): import("@smithy/smithy-client").CommandImpl<
30
+ StartApplicationCommandInput,
31
+ StartApplicationCommandOutput,
32
+ SsmSapClientResolvedConfig,
33
+ ServiceInputTypes,
34
+ ServiceOutputTypes
35
+ >;
36
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
37
+ };
38
+ export declare class StartApplicationCommand extends StartApplicationCommand_base {}
@@ -0,0 +1,38 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ StopApplicationInput,
5
+ StopApplicationOutput,
6
+ } from "../models/models_0";
7
+ import {
8
+ ServiceInputTypes,
9
+ ServiceOutputTypes,
10
+ SsmSapClientResolvedConfig,
11
+ } from "../SsmSapClient";
12
+ export { __MetadataBearer, $Command };
13
+ export interface StopApplicationCommandInput extends StopApplicationInput {}
14
+ export interface StopApplicationCommandOutput
15
+ extends StopApplicationOutput,
16
+ __MetadataBearer {}
17
+ declare const StopApplicationCommand_base: {
18
+ new (
19
+ input: StopApplicationCommandInput
20
+ ): import("@smithy/smithy-client").CommandImpl<
21
+ StopApplicationCommandInput,
22
+ StopApplicationCommandOutput,
23
+ SsmSapClientResolvedConfig,
24
+ ServiceInputTypes,
25
+ ServiceOutputTypes
26
+ >;
27
+ new (
28
+ __0_0: StopApplicationCommandInput
29
+ ): import("@smithy/smithy-client").CommandImpl<
30
+ StopApplicationCommandInput,
31
+ StopApplicationCommandOutput,
32
+ SsmSapClientResolvedConfig,
33
+ ServiceInputTypes,
34
+ ServiceOutputTypes
35
+ >;
36
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
37
+ };
38
+ export declare class StopApplicationCommand extends StopApplicationCommand_base {}
@@ -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";
@@ -197,6 +197,11 @@ export declare class ConflictException extends __BaseException {
197
197
  Message?: string;
198
198
  constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
199
199
  }
200
+ export declare const ConnectedEntityType: {
201
+ readonly DBMS: "DBMS";
202
+ };
203
+ export type ConnectedEntityType =
204
+ (typeof ConnectedEntityType)[keyof typeof ConnectedEntityType];
200
205
  export declare const DatabaseType: {
201
206
  readonly SYSTEM: "SYSTEM";
202
207
  readonly TENANT: "TENANT";
@@ -382,6 +387,34 @@ export interface ListDatabasesOutput {
382
387
  Databases?: DatabaseSummary[];
383
388
  NextToken?: string;
384
389
  }
390
+ export interface ListOperationEventsInput {
391
+ OperationId: string | undefined;
392
+ MaxResults?: number;
393
+ NextToken?: string;
394
+ Filters?: Filter[];
395
+ }
396
+ export interface Resource {
397
+ ResourceArn?: string;
398
+ ResourceType?: string;
399
+ }
400
+ export declare const OperationEventStatus: {
401
+ readonly COMPLETED: "COMPLETED";
402
+ readonly FAILED: "FAILED";
403
+ readonly IN_PROGRESS: "IN_PROGRESS";
404
+ };
405
+ export type OperationEventStatus =
406
+ (typeof OperationEventStatus)[keyof typeof OperationEventStatus];
407
+ export interface OperationEvent {
408
+ Description?: string;
409
+ Resource?: Resource;
410
+ Status?: OperationEventStatus;
411
+ StatusMessage?: string;
412
+ Timestamp?: Date;
413
+ }
414
+ export interface ListOperationEventsOutput {
415
+ OperationEvents?: OperationEvent[];
416
+ NextToken?: string;
417
+ }
385
418
  export interface ListOperationsInput {
386
419
  ApplicationId: string | undefined;
387
420
  MaxResults?: number;
@@ -420,12 +453,26 @@ export interface RegisterApplicationOutput {
420
453
  Application?: Application;
421
454
  OperationId?: string;
422
455
  }
456
+ export interface StartApplicationInput {
457
+ ApplicationId: string | undefined;
458
+ }
459
+ export interface StartApplicationOutput {
460
+ OperationId?: string;
461
+ }
423
462
  export interface StartApplicationRefreshInput {
424
463
  ApplicationId: string | undefined;
425
464
  }
426
465
  export interface StartApplicationRefreshOutput {
427
466
  OperationId?: string;
428
467
  }
468
+ export interface StopApplicationInput {
469
+ ApplicationId: string | undefined;
470
+ StopConnectedEntity?: ConnectedEntityType;
471
+ IncludeEc2InstanceShutdown?: boolean;
472
+ }
473
+ export interface StopApplicationOutput {
474
+ OperationId?: string;
475
+ }
429
476
  export interface TagResourceRequest {
430
477
  resourceArn: string | undefined;
431
478
  tags: Record<string, string> | undefined;