Skip to content

Commit 20c4094

Browse files
author
awstools
committed
feat(client-ssm-sap): Add new attributes to the outputs of GetApplication and GetDatabase APIs.
1 parent 30b277c commit 20c4094

File tree

8 files changed

+107
-51
lines changed

8 files changed

+107
-51
lines changed

clients/client-ssm-sap/src/commands/GetApplicationCommand.ts

+3
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ export interface GetApplicationCommandOutput extends GetApplicationOutput, __Met
5656
* // ],
5757
* // LastUpdated: new Date("TIMESTAMP"),
5858
* // StatusMessage: "STRING_VALUE",
59+
* // AssociatedApplicationArns: [ // ApplicationArnList
60+
* // "STRING_VALUE",
61+
* // ],
5962
* // },
6063
* // Tags: { // TagMap
6164
* // "<keys>": "STRING_VALUE",

clients/client-ssm-sap/src/commands/GetDatabaseCommand.ts

+3
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ export interface GetDatabaseCommandOutput extends GetDatabaseOutput, __MetadataB
6363
* // PrimaryHost: "STRING_VALUE",
6464
* // SQLPort: Number("int"),
6565
* // LastUpdated: new Date("TIMESTAMP"),
66+
* // ConnectedComponentArns: [ // ComponentArnList
67+
* // "STRING_VALUE",
68+
* // ],
6669
* // },
6770
* // Tags: { // TagMap
6871
* // "<keys>": "STRING_VALUE",

clients/client-ssm-sap/src/commands/ListOperationEventsCommand.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@ export interface ListOperationEventsCommandOutput extends ListOperationEventsOut
3030
/**
3131
* <p>Returns a list of operations events.</p>
3232
* <p>Available parameters include <code>OperationID</code>, as well as optional parameters
33-
* <code>MaxResults</code>, <code>NextToken</code>, and
34-
* <code>Filters</code>.</p>
33+
* <code>MaxResults</code>, <code>NextToken</code>, and <code>Filters</code>.</p>
3534
* @example
3635
* Use a bare-bones client and the command you need to make an API call.
3736
* ```javascript

clients/client-ssm-sap/src/commands/RegisterApplicationCommand.ts

+3
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,9 @@ export interface RegisterApplicationCommandOutput extends RegisterApplicationOut
8181
* // ],
8282
* // LastUpdated: new Date("TIMESTAMP"),
8383
* // StatusMessage: "STRING_VALUE",
84+
* // AssociatedApplicationArns: [ // ApplicationArnList
85+
* // "STRING_VALUE",
86+
* // ],
8487
* // },
8588
* // OperationId: "STRING_VALUE",
8689
* // };

clients/client-ssm-sap/src/commands/StopApplicationCommand.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ export interface StopApplicationCommandOutput extends StopApplicationOutput, __M
2929

3030
/**
3131
* <p>Request is an operation to stop an application.</p>
32-
* <p>Parameter <code>ApplicationId</code> is required.
33-
* Parameters <code>StopConnectedEntity</code> and
34-
* <code>IncludeEc2InstanceShutdown</code> are optional.</p>
32+
* <p>Parameter <code>ApplicationId</code> is required. Parameters
33+
* <code>StopConnectedEntity</code> and <code>IncludeEc2InstanceShutdown</code> are
34+
* optional.</p>
3535
* @example
3636
* Use a bare-bones client and the command you need to make an API call.
3737
* ```javascript

clients/client-ssm-sap/src/models/models_0.ts

+37-31
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,13 @@ export interface Application {
128128
* @public
129129
*/
130130
StatusMessage?: string;
131+
132+
/**
133+
* <p>The Amazon Resource Names of the associated AWS Systems Manager for SAP
134+
* applications.</p>
135+
* @public
136+
*/
137+
AssociatedApplicationArns?: string[];
131138
}
132139

133140
/**
@@ -849,6 +856,13 @@ export interface Database {
849856
* @public
850857
*/
851858
LastUpdated?: Date;
859+
860+
/**
861+
* <p>The Amazon Resource Names of the connected AWS Systems Manager for SAP
862+
* components.</p>
863+
* @public
864+
*/
865+
ConnectedComponentArns?: string[];
852866
}
853867

854868
/**
@@ -1499,33 +1513,32 @@ export interface ListOperationEventsInput {
14991513
MaxResults?: number;
15001514

15011515
/**
1502-
* <p>The token to use to retrieve the next page of results.
1503-
* This value is null when there are no more results to return.</p>
1516+
* <p>The token to use to retrieve the next page of results. This value is null when there are
1517+
* no more results to return.</p>
15041518
* @public
15051519
*/
15061520
NextToken?: string;
15071521

15081522
/**
1509-
* <p>Optionally specify filters to narrow the returned operation
1510-
* event items.</p>
1511-
* <p>Valid filter names include <code>status</code>, <code>resourceID</code>,
1512-
* and <code>resourceType</code>. The valid operator for all three filters
1513-
* is <code>Equals</code>.</p>
1523+
* <p>Optionally specify filters to narrow the returned operation event items.</p>
1524+
* <p>Valid filter names include <code>status</code>, <code>resourceID</code>, and
1525+
* <code>resourceType</code>. The valid operator for all three filters is
1526+
* <code>Equals</code>.</p>
15141527
* @public
15151528
*/
15161529
Filters?: Filter[];
15171530
}
15181531

15191532
/**
1520-
* <p>The resource contains a <code>ResourceArn</code>
1521-
* and the <code>ResourceType</code>.</p>
1533+
* <p>The resource contains a <code>ResourceArn</code> and the
1534+
* <code>ResourceType</code>.</p>
15221535
* @public
15231536
*/
15241537
export interface Resource {
15251538
/**
15261539
* <p>The Amazon Resource Name (ARN) of the source resource.</p>
15271540
* <p>Example of <code>ResourceArn</code>:
1528-
* "<code>arn:aws:ec2:us-east-1:111111111111:instance/i-abcdefgh987654321</code>"</p>
1541+
* "<code>arn:aws:ec2:us-east-1:111111111111:instance/i-abcdefgh987654321</code>"</p>
15291542
* @public
15301543
*/
15311544
ResourceArn?: string;
@@ -1555,9 +1568,8 @@ export const OperationEventStatus = {
15551568
export type OperationEventStatus = (typeof OperationEventStatus)[keyof typeof OperationEventStatus];
15561569

15571570
/**
1558-
* <p>An operation event returns details for an operation, including
1559-
* key milestones which can be used to monitor and track operations
1560-
* in progress.</p>
1571+
* <p>An operation event returns details for an operation, including key milestones which can
1572+
* be used to monitor and track operations in progress.</p>
15611573
* <p>Operation events contain:</p>
15621574
* <ul>
15631575
* <li>
@@ -1576,14 +1588,13 @@ export type OperationEventStatus = (typeof OperationEventStatus)[keyof typeof Op
15761588
* <p>TimeStamp</p>
15771589
* </li>
15781590
* </ul>
1579-
* <p>Operation event examples include StartApplication or
1580-
* StopApplication.</p>
1591+
* <p>Operation event examples include StartApplication or StopApplication.</p>
15811592
* @public
15821593
*/
15831594
export interface OperationEvent {
15841595
/**
1585-
* <p>A description of the operation event. For example,
1586-
* "Stop the EC2 instance i-abcdefgh987654321".</p>
1596+
* <p>A description of the operation event. For example, "Stop the EC2 instance
1597+
* i-abcdefgh987654321".</p>
15871598
* @public
15881599
*/
15891600
Description?: string;
@@ -1596,16 +1607,14 @@ export interface OperationEvent {
15961607
Resource?: Resource;
15971608

15981609
/**
1599-
* <p>The status of the operation event. The possible statuses
1600-
* are: <code>IN_PROGRESS</code>,
1601-
* <code>COMPLETED</code>, and <code>FAILED</code>.</p>
1610+
* <p>The status of the operation event. The possible statuses are: <code>IN_PROGRESS</code>,
1611+
* <code>COMPLETED</code>, and <code>FAILED</code>.</p>
16021612
* @public
16031613
*/
16041614
Status?: OperationEventStatus;
16051615

16061616
/**
1607-
* <p>The status message relating to a specific
1608-
* operation event.</p>
1617+
* <p>The status message relating to a specific operation event.</p>
16091618
* @public
16101619
*/
16111620
StatusMessage?: string;
@@ -1622,8 +1631,7 @@ export interface OperationEvent {
16221631
*/
16231632
export interface ListOperationEventsOutput {
16241633
/**
1625-
* <p>A returned list of operation events that
1626-
* meet the filter criteria.</p>
1634+
* <p>A returned list of operation events that meet the filter criteria.</p>
16271635
* @public
16281636
*/
16291637
OperationEvents?: OperationEvent[];
@@ -1866,18 +1874,16 @@ export interface StopApplicationInput {
18661874
ApplicationId: string | undefined;
18671875

18681876
/**
1869-
* <p>Specify the <code>ConnectedEntityType</code>. Accepted type
1870-
* is <code>DBMS</code>.</p>
1871-
* <p>If this parameter is included, the connected DBMS (Database
1872-
* Management System) will be stopped.</p>
1877+
* <p>Specify the <code>ConnectedEntityType</code>. Accepted type is <code>DBMS</code>.</p>
1878+
* <p>If this parameter is included, the connected DBMS (Database Management System) will be
1879+
* stopped.</p>
18731880
* @public
18741881
*/
18751882
StopConnectedEntity?: ConnectedEntityType;
18761883

18771884
/**
1878-
* <p>Boolean. If included and if set to <code>True</code>, the
1879-
* StopApplication operation will shut down the associated Amazon EC2 instance in addition to
1880-
* the application.</p>
1885+
* <p>Boolean. If included and if set to <code>True</code>, the StopApplication operation will
1886+
* shut down the associated Amazon EC2 instance in addition to the application.</p>
18811887
* @public
18821888
*/
18831889
IncludeEc2InstanceShutdown?: boolean;

clients/client-ssm-sap/src/protocols/Aws_restJson1.ts

+6
Original file line numberDiff line numberDiff line change
@@ -1173,6 +1173,7 @@ const de_Application = (output: any, context: __SerdeContext): Application => {
11731173
return take(output, {
11741174
AppRegistryArn: __expectString,
11751175
Arn: __expectString,
1176+
AssociatedApplicationArns: _json,
11761177
Components: _json,
11771178
DiscoveryStatus: __expectString,
11781179
Id: __expectString,
@@ -1183,6 +1184,8 @@ const de_Application = (output: any, context: __SerdeContext): Application => {
11831184
}) as any;
11841185
};
11851186

1187+
// de_ApplicationArnList omitted.
1188+
11861189
// de_ApplicationCredential omitted.
11871190

11881191
// de_ApplicationCredentialList omitted.
@@ -1221,6 +1224,8 @@ const de_Component = (output: any, context: __SerdeContext): Component => {
12211224
}) as any;
12221225
};
12231226

1227+
// de_ComponentArnList omitted.
1228+
12241229
// de_ComponentIdList omitted.
12251230

12261231
// de_ComponentSummary omitted.
@@ -1235,6 +1240,7 @@ const de_Database = (output: any, context: __SerdeContext): Database => {
12351240
ApplicationId: __expectString,
12361241
Arn: __expectString,
12371242
ComponentId: __expectString,
1243+
ConnectedComponentArns: _json,
12381244
Credentials: _json,
12391245
DatabaseId: __expectString,
12401246
DatabaseName: __expectString,

0 commit comments

Comments
 (0)