Skip to content

Commit f8fee42

Browse files
author
awstools
committed
feat(client-ssm-sap): AWS Systems Manager for SAP added support for registration and discovery of distributed ABAP applications
1 parent 1f67291 commit f8fee42

File tree

4 files changed

+98
-0
lines changed

4 files changed

+98
-0
lines changed

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

+7
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,13 @@ export interface RegisterApplicationCommandOutput extends RegisterApplicationOut
6565
* },
6666
* ],
6767
* DatabaseArn: "STRING_VALUE",
68+
* ComponentsInfo: [ // ComponentInfoList
69+
* { // ComponentInfo
70+
* ComponentType: "HANA" || "HANA_NODE" || "ABAP" || "ASCS" || "DIALOG" || "WEBDISP" || "WD" || "ERS", // required
71+
* Sid: "STRING_VALUE", // required
72+
* Ec2InstanceId: "STRING_VALUE", // required
73+
* },
74+
* ],
6875
* };
6976
* const command = new RegisterApplicationCommand(input);
7077
* const response = await client.send(command);

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

+38
Original file line numberDiff line numberDiff line change
@@ -682,6 +682,34 @@ export interface Component {
682682
Arn?: string | undefined;
683683
}
684684

685+
/**
686+
* <p>This is information about the component of
687+
* your SAP application, such as Web Dispatcher.</p>
688+
* @public
689+
*/
690+
export interface ComponentInfo {
691+
/**
692+
* <p>This string is the type of the component.</p>
693+
* <p>Accepted value is <code>WD</code>.</p>
694+
* @public
695+
*/
696+
ComponentType: ComponentType | undefined;
697+
698+
/**
699+
* <p>This string is the SAP System ID of the component.</p>
700+
* <p>Accepted values are alphanumeric.</p>
701+
* @public
702+
*/
703+
Sid: string | undefined;
704+
705+
/**
706+
* <p>This is the Amazon EC2 instance on which your SAP component is running.</p>
707+
* <p>Accepted values are alphanumeric.</p>
708+
* @public
709+
*/
710+
Ec2InstanceId: string | undefined;
711+
}
712+
685713
/**
686714
* <p>The summary of the component.</p>
687715
* @public
@@ -1800,6 +1828,16 @@ export interface RegisterApplicationInput {
18001828
* @public
18011829
*/
18021830
DatabaseArn?: string | undefined;
1831+
1832+
/**
1833+
* <p>This is an optional parameter for component details
1834+
* to which the SAP ABAP application is attached,
1835+
* such as Web Dispatcher.</p>
1836+
* <p>This is an array of ApplicationComponent objects.
1837+
* You may input 0 to 5 items.</p>
1838+
* @public
1839+
*/
1840+
ComponentsInfo?: ComponentInfo[] | undefined;
18031841
}
18041842

18051843
/**

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

+6
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ import {
7777
ApplicationCredential,
7878
BackintConfig,
7979
Component,
80+
ComponentInfo,
8081
ConflictException,
8182
Database,
8283
Filter,
@@ -432,6 +433,7 @@ export const se_RegisterApplicationCommand = async (
432433
take(input, {
433434
ApplicationId: [],
434435
ApplicationType: [],
436+
ComponentsInfo: (_) => _json(_),
435437
Credentials: (_) => _json(_),
436438
DatabaseArn: [],
437439
Instances: (_) => _json(_),
@@ -1155,6 +1157,10 @@ const de_ValidationExceptionRes = async (parsedOutput: any, context: __SerdeCont
11551157

11561158
// se_BackintConfig omitted.
11571159

1160+
// se_ComponentInfo omitted.
1161+
1162+
// se_ComponentInfoList omitted.
1163+
11581164
// se_Filter omitted.
11591165

11601166
// se_FilterList omitted.

codegen/sdk-codegen/aws-models/ssm-sap.json

+47
Original file line numberDiff line numberDiff line change
@@ -572,6 +572,47 @@
572572
"target": "com.amazonaws.ssmsap#ComponentId"
573573
}
574574
},
575+
"com.amazonaws.ssmsap#ComponentInfo": {
576+
"type": "structure",
577+
"members": {
578+
"ComponentType": {
579+
"target": "com.amazonaws.ssmsap#ComponentType",
580+
"traits": {
581+
"smithy.api#documentation": "<p>This string is the type of the component.</p>\n <p>Accepted value is <code>WD</code>.</p>",
582+
"smithy.api#required": {}
583+
}
584+
},
585+
"Sid": {
586+
"target": "com.amazonaws.ssmsap#SID",
587+
"traits": {
588+
"smithy.api#documentation": "<p>This string is the SAP System ID of the component.</p>\n <p>Accepted values are alphanumeric.</p>",
589+
"smithy.api#required": {}
590+
}
591+
},
592+
"Ec2InstanceId": {
593+
"target": "com.amazonaws.ssmsap#InstanceId",
594+
"traits": {
595+
"smithy.api#documentation": "<p>This is the Amazon EC2 instance on which your SAP component is running.</p>\n <p>Accepted values are alphanumeric.</p>",
596+
"smithy.api#required": {}
597+
}
598+
}
599+
},
600+
"traits": {
601+
"smithy.api#documentation": "<p>This is information about the component of \n your SAP application, such as Web Dispatcher.</p>"
602+
}
603+
},
604+
"com.amazonaws.ssmsap#ComponentInfoList": {
605+
"type": "list",
606+
"member": {
607+
"target": "com.amazonaws.ssmsap#ComponentInfo"
608+
},
609+
"traits": {
610+
"smithy.api#length": {
611+
"min": 0,
612+
"max": 5
613+
}
614+
}
615+
},
575616
"com.amazonaws.ssmsap#ComponentStatus": {
576617
"type": "enum",
577618
"members": {
@@ -2518,6 +2559,12 @@
25182559
"traits": {
25192560
"smithy.api#documentation": "<p>The Amazon Resource Name of the SAP HANA database.</p>"
25202561
}
2562+
},
2563+
"ComponentsInfo": {
2564+
"target": "com.amazonaws.ssmsap#ComponentInfoList",
2565+
"traits": {
2566+
"smithy.api#documentation": "<p>This is an optional parameter for component details \n to which the SAP ABAP application is attached, \n such as Web Dispatcher.</p>\n <p>This is an array of ApplicationComponent objects. \n You may input 0 to 5 items.</p>"
2567+
}
25212568
}
25222569
}
25232570
},

0 commit comments

Comments
 (0)