@aws-sdk/client-ssm-sap 3.631.0 → 3.634.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/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +2 -0
- package/dist-types/commands/GetApplicationCommand.d.ts +3 -0
- package/dist-types/commands/GetDatabaseCommand.d.ts +3 -0
- package/dist-types/commands/ListOperationEventsCommand.d.ts +1 -2
- package/dist-types/commands/RegisterApplicationCommand.d.ts +3 -0
- package/dist-types/commands/StopApplicationCommand.d.ts +3 -3
- package/dist-types/models/models_0.d.ts +35 -31
- package/dist-types/ts3.4/models/models_0.d.ts +2 -0
- package/package.json +6 -6
package/dist-cjs/index.js
CHANGED
|
@@ -1225,6 +1225,7 @@ var de_Application = /* @__PURE__ */ __name((output, context) => {
|
|
|
1225
1225
|
return (0, import_smithy_client.take)(output, {
|
|
1226
1226
|
AppRegistryArn: import_smithy_client.expectString,
|
|
1227
1227
|
Arn: import_smithy_client.expectString,
|
|
1228
|
+
AssociatedApplicationArns: import_smithy_client._json,
|
|
1228
1229
|
Components: import_smithy_client._json,
|
|
1229
1230
|
DiscoveryStatus: import_smithy_client.expectString,
|
|
1230
1231
|
Id: import_smithy_client.expectString,
|
|
@@ -1263,6 +1264,7 @@ var de_Database = /* @__PURE__ */ __name((output, context) => {
|
|
|
1263
1264
|
ApplicationId: import_smithy_client.expectString,
|
|
1264
1265
|
Arn: import_smithy_client.expectString,
|
|
1265
1266
|
ComponentId: import_smithy_client.expectString,
|
|
1267
|
+
ConnectedComponentArns: import_smithy_client._json,
|
|
1266
1268
|
Credentials: import_smithy_client._json,
|
|
1267
1269
|
DatabaseId: import_smithy_client.expectString,
|
|
1268
1270
|
DatabaseName: import_smithy_client.expectString,
|
|
@@ -705,6 +705,7 @@ const de_Application = (output, context) => {
|
|
|
705
705
|
return take(output, {
|
|
706
706
|
AppRegistryArn: __expectString,
|
|
707
707
|
Arn: __expectString,
|
|
708
|
+
AssociatedApplicationArns: _json,
|
|
708
709
|
Components: _json,
|
|
709
710
|
DiscoveryStatus: __expectString,
|
|
710
711
|
Id: __expectString,
|
|
@@ -743,6 +744,7 @@ const de_Database = (output, context) => {
|
|
|
743
744
|
ApplicationId: __expectString,
|
|
744
745
|
Arn: __expectString,
|
|
745
746
|
ComponentId: __expectString,
|
|
747
|
+
ConnectedComponentArns: _json,
|
|
746
748
|
Credentials: _json,
|
|
747
749
|
DatabaseId: __expectString,
|
|
748
750
|
DatabaseName: __expectString,
|
|
@@ -55,6 +55,9 @@ declare const GetApplicationCommand_base: {
|
|
|
55
55
|
* // ],
|
|
56
56
|
* // LastUpdated: new Date("TIMESTAMP"),
|
|
57
57
|
* // StatusMessage: "STRING_VALUE",
|
|
58
|
+
* // AssociatedApplicationArns: [ // ApplicationArnList
|
|
59
|
+
* // "STRING_VALUE",
|
|
60
|
+
* // ],
|
|
58
61
|
* // },
|
|
59
62
|
* // Tags: { // TagMap
|
|
60
63
|
* // "<keys>": "STRING_VALUE",
|
|
@@ -62,6 +62,9 @@ declare const GetDatabaseCommand_base: {
|
|
|
62
62
|
* // PrimaryHost: "STRING_VALUE",
|
|
63
63
|
* // SQLPort: Number("int"),
|
|
64
64
|
* // LastUpdated: new Date("TIMESTAMP"),
|
|
65
|
+
* // ConnectedComponentArns: [ // ComponentArnList
|
|
66
|
+
* // "STRING_VALUE",
|
|
67
|
+
* // ],
|
|
65
68
|
* // },
|
|
66
69
|
* // Tags: { // TagMap
|
|
67
70
|
* // "<keys>": "STRING_VALUE",
|
|
@@ -29,8 +29,7 @@ declare const ListOperationEventsCommand_base: {
|
|
|
29
29
|
/**
|
|
30
30
|
* <p>Returns a list of operations events.</p>
|
|
31
31
|
* <p>Available parameters include <code>OperationID</code>, as well as optional parameters
|
|
32
|
-
* <code>MaxResults</code>, <code>NextToken</code>, and
|
|
33
|
-
* <code>Filters</code>.</p>
|
|
32
|
+
* <code>MaxResults</code>, <code>NextToken</code>, and <code>Filters</code>.</p>
|
|
34
33
|
* @example
|
|
35
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
36
35
|
* ```javascript
|
|
@@ -76,6 +76,9 @@ declare const RegisterApplicationCommand_base: {
|
|
|
76
76
|
* // ],
|
|
77
77
|
* // LastUpdated: new Date("TIMESTAMP"),
|
|
78
78
|
* // StatusMessage: "STRING_VALUE",
|
|
79
|
+
* // AssociatedApplicationArns: [ // ApplicationArnList
|
|
80
|
+
* // "STRING_VALUE",
|
|
81
|
+
* // ],
|
|
79
82
|
* // },
|
|
80
83
|
* // OperationId: "STRING_VALUE",
|
|
81
84
|
* // };
|
|
@@ -28,9 +28,9 @@ declare const StopApplicationCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <p>Request is an operation to stop an application.</p>
|
|
31
|
-
* <p>Parameter <code>ApplicationId</code> is required.
|
|
32
|
-
*
|
|
33
|
-
*
|
|
31
|
+
* <p>Parameter <code>ApplicationId</code> is required. Parameters
|
|
32
|
+
* <code>StopConnectedEntity</code> and <code>IncludeEc2InstanceShutdown</code> are
|
|
33
|
+
* optional.</p>
|
|
34
34
|
* @example
|
|
35
35
|
* Use a bare-bones client and the command you need to make an API call.
|
|
36
36
|
* ```javascript
|
|
@@ -109,6 +109,12 @@ export interface Application {
|
|
|
109
109
|
* @public
|
|
110
110
|
*/
|
|
111
111
|
StatusMessage?: string;
|
|
112
|
+
/**
|
|
113
|
+
* <p>The Amazon Resource Names of the associated AWS Systems Manager for SAP
|
|
114
|
+
* applications.</p>
|
|
115
|
+
* @public
|
|
116
|
+
*/
|
|
117
|
+
AssociatedApplicationArns?: string[];
|
|
112
118
|
}
|
|
113
119
|
/**
|
|
114
120
|
* @public
|
|
@@ -730,6 +736,12 @@ export interface Database {
|
|
|
730
736
|
* @public
|
|
731
737
|
*/
|
|
732
738
|
LastUpdated?: Date;
|
|
739
|
+
/**
|
|
740
|
+
* <p>The Amazon Resource Names of the connected AWS Systems Manager for SAP
|
|
741
|
+
* components.</p>
|
|
742
|
+
* @public
|
|
743
|
+
*/
|
|
744
|
+
ConnectedComponentArns?: string[];
|
|
733
745
|
}
|
|
734
746
|
/**
|
|
735
747
|
* <p>The summary of the database.</p>
|
|
@@ -1274,31 +1286,30 @@ export interface ListOperationEventsInput {
|
|
|
1274
1286
|
*/
|
|
1275
1287
|
MaxResults?: number;
|
|
1276
1288
|
/**
|
|
1277
|
-
* <p>The token to use to retrieve the next page of results.
|
|
1278
|
-
*
|
|
1289
|
+
* <p>The token to use to retrieve the next page of results. This value is null when there are
|
|
1290
|
+
* no more results to return.</p>
|
|
1279
1291
|
* @public
|
|
1280
1292
|
*/
|
|
1281
1293
|
NextToken?: string;
|
|
1282
1294
|
/**
|
|
1283
|
-
* <p>Optionally specify filters to narrow the returned operation
|
|
1284
|
-
*
|
|
1285
|
-
*
|
|
1286
|
-
*
|
|
1287
|
-
* is <code>Equals</code>.</p>
|
|
1295
|
+
* <p>Optionally specify filters to narrow the returned operation event items.</p>
|
|
1296
|
+
* <p>Valid filter names include <code>status</code>, <code>resourceID</code>, and
|
|
1297
|
+
* <code>resourceType</code>. The valid operator for all three filters is
|
|
1298
|
+
* <code>Equals</code>.</p>
|
|
1288
1299
|
* @public
|
|
1289
1300
|
*/
|
|
1290
1301
|
Filters?: Filter[];
|
|
1291
1302
|
}
|
|
1292
1303
|
/**
|
|
1293
|
-
* <p>The resource contains a <code>ResourceArn</code>
|
|
1294
|
-
*
|
|
1304
|
+
* <p>The resource contains a <code>ResourceArn</code> and the
|
|
1305
|
+
* <code>ResourceType</code>.</p>
|
|
1295
1306
|
* @public
|
|
1296
1307
|
*/
|
|
1297
1308
|
export interface Resource {
|
|
1298
1309
|
/**
|
|
1299
1310
|
* <p>The Amazon Resource Name (ARN) of the source resource.</p>
|
|
1300
1311
|
* <p>Example of <code>ResourceArn</code>:
|
|
1301
|
-
*
|
|
1312
|
+
* "<code>arn:aws:ec2:us-east-1:111111111111:instance/i-abcdefgh987654321</code>"</p>
|
|
1302
1313
|
* @public
|
|
1303
1314
|
*/
|
|
1304
1315
|
ResourceArn?: string;
|
|
@@ -1324,9 +1335,8 @@ export declare const OperationEventStatus: {
|
|
|
1324
1335
|
*/
|
|
1325
1336
|
export type OperationEventStatus = (typeof OperationEventStatus)[keyof typeof OperationEventStatus];
|
|
1326
1337
|
/**
|
|
1327
|
-
* <p>An operation event returns details for an operation, including
|
|
1328
|
-
*
|
|
1329
|
-
* in progress.</p>
|
|
1338
|
+
* <p>An operation event returns details for an operation, including key milestones which can
|
|
1339
|
+
* be used to monitor and track operations in progress.</p>
|
|
1330
1340
|
* <p>Operation events contain:</p>
|
|
1331
1341
|
* <ul>
|
|
1332
1342
|
* <li>
|
|
@@ -1345,14 +1355,13 @@ export type OperationEventStatus = (typeof OperationEventStatus)[keyof typeof Op
|
|
|
1345
1355
|
* <p>TimeStamp</p>
|
|
1346
1356
|
* </li>
|
|
1347
1357
|
* </ul>
|
|
1348
|
-
* <p>Operation event examples include StartApplication or
|
|
1349
|
-
* StopApplication.</p>
|
|
1358
|
+
* <p>Operation event examples include StartApplication or StopApplication.</p>
|
|
1350
1359
|
* @public
|
|
1351
1360
|
*/
|
|
1352
1361
|
export interface OperationEvent {
|
|
1353
1362
|
/**
|
|
1354
|
-
* <p>A description of the operation event. For example,
|
|
1355
|
-
*
|
|
1363
|
+
* <p>A description of the operation event. For example, "Stop the EC2 instance
|
|
1364
|
+
* i-abcdefgh987654321".</p>
|
|
1356
1365
|
* @public
|
|
1357
1366
|
*/
|
|
1358
1367
|
Description?: string;
|
|
@@ -1363,15 +1372,13 @@ export interface OperationEvent {
|
|
|
1363
1372
|
*/
|
|
1364
1373
|
Resource?: Resource;
|
|
1365
1374
|
/**
|
|
1366
|
-
* <p>The status of the operation event. The possible statuses
|
|
1367
|
-
*
|
|
1368
|
-
* <code>COMPLETED</code>, and <code>FAILED</code>.</p>
|
|
1375
|
+
* <p>The status of the operation event. The possible statuses are: <code>IN_PROGRESS</code>,
|
|
1376
|
+
* <code>COMPLETED</code>, and <code>FAILED</code>.</p>
|
|
1369
1377
|
* @public
|
|
1370
1378
|
*/
|
|
1371
1379
|
Status?: OperationEventStatus;
|
|
1372
1380
|
/**
|
|
1373
|
-
* <p>The status message relating to a specific
|
|
1374
|
-
* operation event.</p>
|
|
1381
|
+
* <p>The status message relating to a specific operation event.</p>
|
|
1375
1382
|
* @public
|
|
1376
1383
|
*/
|
|
1377
1384
|
StatusMessage?: string;
|
|
@@ -1386,8 +1393,7 @@ export interface OperationEvent {
|
|
|
1386
1393
|
*/
|
|
1387
1394
|
export interface ListOperationEventsOutput {
|
|
1388
1395
|
/**
|
|
1389
|
-
* <p>A returned list of operation events that
|
|
1390
|
-
* meet the filter criteria.</p>
|
|
1396
|
+
* <p>A returned list of operation events that meet the filter criteria.</p>
|
|
1391
1397
|
* @public
|
|
1392
1398
|
*/
|
|
1393
1399
|
OperationEvents?: OperationEvent[];
|
|
@@ -1601,17 +1607,15 @@ export interface StopApplicationInput {
|
|
|
1601
1607
|
*/
|
|
1602
1608
|
ApplicationId: string | undefined;
|
|
1603
1609
|
/**
|
|
1604
|
-
* <p>Specify the <code>ConnectedEntityType</code>. Accepted type
|
|
1605
|
-
*
|
|
1606
|
-
*
|
|
1607
|
-
* Management System) will be stopped.</p>
|
|
1610
|
+
* <p>Specify the <code>ConnectedEntityType</code>. Accepted type is <code>DBMS</code>.</p>
|
|
1611
|
+
* <p>If this parameter is included, the connected DBMS (Database Management System) will be
|
|
1612
|
+
* stopped.</p>
|
|
1608
1613
|
* @public
|
|
1609
1614
|
*/
|
|
1610
1615
|
StopConnectedEntity?: ConnectedEntityType;
|
|
1611
1616
|
/**
|
|
1612
|
-
* <p>Boolean. If included and if set to <code>True</code>, the
|
|
1613
|
-
*
|
|
1614
|
-
* the application.</p>
|
|
1617
|
+
* <p>Boolean. If included and if set to <code>True</code>, the StopApplication operation will
|
|
1618
|
+
* shut down the associated Amazon EC2 instance in addition to the application.</p>
|
|
1615
1619
|
* @public
|
|
1616
1620
|
*/
|
|
1617
1621
|
IncludeEc2InstanceShutdown?: boolean;
|
|
@@ -45,6 +45,7 @@ export interface Application {
|
|
|
45
45
|
Components?: string[];
|
|
46
46
|
LastUpdated?: Date;
|
|
47
47
|
StatusMessage?: string;
|
|
48
|
+
AssociatedApplicationArns?: string[];
|
|
48
49
|
}
|
|
49
50
|
export declare const CredentialType: {
|
|
50
51
|
readonly ADMIN: "ADMIN";
|
|
@@ -229,6 +230,7 @@ export interface Database {
|
|
|
229
230
|
PrimaryHost?: string;
|
|
230
231
|
SQLPort?: number;
|
|
231
232
|
LastUpdated?: Date;
|
|
233
|
+
ConnectedComponentArns?: string[];
|
|
232
234
|
}
|
|
233
235
|
export interface DatabaseSummary {
|
|
234
236
|
ApplicationId?: string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ssm-sap",
|
|
3
3
|
"description": "AWS SDK for JavaScript Ssm Sap Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.634.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-ssm-sap",
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.632.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.632.0",
|
|
25
25
|
"@aws-sdk/core": "3.629.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.632.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.620.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.609.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.620.0",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.632.0",
|
|
31
31
|
"@aws-sdk/region-config-resolver": "3.614.0",
|
|
32
32
|
"@aws-sdk/types": "3.609.0",
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.632.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.609.0",
|
|
35
35
|
"@aws-sdk/util-user-agent-node": "3.614.0",
|
|
36
36
|
"@smithy/config-resolver": "^3.0.5",
|