Skip to content

Commit

Permalink
feat(client-ssm-sap): AWS Systems Manager for SAP added support for r…
Browse files Browse the repository at this point in the history
…egistration and discovery of distributed ABAP applications
  • Loading branch information
awstools committed Dec 19, 2024
1 parent 1f67291 commit f8fee42
Show file tree
Hide file tree
Showing 4 changed files with 98 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,13 @@ export interface RegisterApplicationCommandOutput extends RegisterApplicationOut
* },
* ],
* DatabaseArn: "STRING_VALUE",
* ComponentsInfo: [ // ComponentInfoList
* { // ComponentInfo
* ComponentType: "HANA" || "HANA_NODE" || "ABAP" || "ASCS" || "DIALOG" || "WEBDISP" || "WD" || "ERS", // required
* Sid: "STRING_VALUE", // required
* Ec2InstanceId: "STRING_VALUE", // required
* },
* ],
* };
* const command = new RegisterApplicationCommand(input);
* const response = await client.send(command);
Expand Down
38 changes: 38 additions & 0 deletions clients/client-ssm-sap/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -682,6 +682,34 @@ export interface Component {
Arn?: string | undefined;
}

/**
* <p>This is information about the component of
* your SAP application, such as Web Dispatcher.</p>
* @public
*/
export interface ComponentInfo {
/**
* <p>This string is the type of the component.</p>
* <p>Accepted value is <code>WD</code>.</p>
* @public
*/
ComponentType: ComponentType | undefined;

/**
* <p>This string is the SAP System ID of the component.</p>
* <p>Accepted values are alphanumeric.</p>
* @public
*/
Sid: string | undefined;

/**
* <p>This is the Amazon EC2 instance on which your SAP component is running.</p>
* <p>Accepted values are alphanumeric.</p>
* @public
*/
Ec2InstanceId: string | undefined;
}

/**
* <p>The summary of the component.</p>
* @public
Expand Down Expand Up @@ -1800,6 +1828,16 @@ export interface RegisterApplicationInput {
* @public
*/
DatabaseArn?: string | undefined;

/**
* <p>This is an optional parameter for component details
* to which the SAP ABAP application is attached,
* such as Web Dispatcher.</p>
* <p>This is an array of ApplicationComponent objects.
* You may input 0 to 5 items.</p>
* @public
*/
ComponentsInfo?: ComponentInfo[] | undefined;
}

/**
Expand Down
6 changes: 6 additions & 0 deletions clients/client-ssm-sap/src/protocols/Aws_restJson1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ import {
ApplicationCredential,
BackintConfig,
Component,
ComponentInfo,
ConflictException,
Database,
Filter,
Expand Down Expand Up @@ -432,6 +433,7 @@ export const se_RegisterApplicationCommand = async (
take(input, {
ApplicationId: [],
ApplicationType: [],
ComponentsInfo: (_) => _json(_),
Credentials: (_) => _json(_),
DatabaseArn: [],
Instances: (_) => _json(_),
Expand Down Expand Up @@ -1155,6 +1157,10 @@ const de_ValidationExceptionRes = async (parsedOutput: any, context: __SerdeCont

// se_BackintConfig omitted.

// se_ComponentInfo omitted.

// se_ComponentInfoList omitted.

// se_Filter omitted.

// se_FilterList omitted.
Expand Down
47 changes: 47 additions & 0 deletions codegen/sdk-codegen/aws-models/ssm-sap.json
Original file line number Diff line number Diff line change
Expand Up @@ -572,6 +572,47 @@
"target": "com.amazonaws.ssmsap#ComponentId"
}
},
"com.amazonaws.ssmsap#ComponentInfo": {
"type": "structure",
"members": {
"ComponentType": {
"target": "com.amazonaws.ssmsap#ComponentType",
"traits": {
"smithy.api#documentation": "<p>This string is the type of the component.</p>\n <p>Accepted value is <code>WD</code>.</p>",
"smithy.api#required": {}
}
},
"Sid": {
"target": "com.amazonaws.ssmsap#SID",
"traits": {
"smithy.api#documentation": "<p>This string is the SAP System ID of the component.</p>\n <p>Accepted values are alphanumeric.</p>",
"smithy.api#required": {}
}
},
"Ec2InstanceId": {
"target": "com.amazonaws.ssmsap#InstanceId",
"traits": {
"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>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>This is information about the component of \n your SAP application, such as Web Dispatcher.</p>"
}
},
"com.amazonaws.ssmsap#ComponentInfoList": {
"type": "list",
"member": {
"target": "com.amazonaws.ssmsap#ComponentInfo"
},
"traits": {
"smithy.api#length": {
"min": 0,
"max": 5
}
}
},
"com.amazonaws.ssmsap#ComponentStatus": {
"type": "enum",
"members": {
Expand Down Expand Up @@ -2518,6 +2559,12 @@
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name of the SAP HANA database.</p>"
}
},
"ComponentsInfo": {
"target": "com.amazonaws.ssmsap#ComponentInfoList",
"traits": {
"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>"
}
}
}
},
Expand Down

0 comments on commit f8fee42

Please sign in to comment.