diff --git a/clients/client-ssm-sap/src/commands/RegisterApplicationCommand.ts b/clients/client-ssm-sap/src/commands/RegisterApplicationCommand.ts index 6aa6fad01061..2c69c9e11f1d 100644 --- a/clients/client-ssm-sap/src/commands/RegisterApplicationCommand.ts +++ b/clients/client-ssm-sap/src/commands/RegisterApplicationCommand.ts @@ -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); diff --git a/clients/client-ssm-sap/src/models/models_0.ts b/clients/client-ssm-sap/src/models/models_0.ts index 2e0a548b137c..3dc060e564fd 100644 --- a/clients/client-ssm-sap/src/models/models_0.ts +++ b/clients/client-ssm-sap/src/models/models_0.ts @@ -682,6 +682,34 @@ export interface Component { Arn?: string | undefined; } +/** + *
This is information about the component of + * your SAP application, such as Web Dispatcher.
+ * @public + */ +export interface ComponentInfo { + /** + *This string is the type of the component.
+ *Accepted value is WD
.
This string is the SAP System ID of the component.
+ *Accepted values are alphanumeric.
+ * @public + */ + Sid: string | undefined; + + /** + *This is the Amazon EC2 instance on which your SAP component is running.
+ *Accepted values are alphanumeric.
+ * @public + */ + Ec2InstanceId: string | undefined; +} + /** *The summary of the component.
* @public @@ -1800,6 +1828,16 @@ export interface RegisterApplicationInput { * @public */ DatabaseArn?: string | undefined; + + /** + *This is an optional parameter for component details + * to which the SAP ABAP application is attached, + * such as Web Dispatcher.
+ *This is an array of ApplicationComponent objects. + * You may input 0 to 5 items.
+ * @public + */ + ComponentsInfo?: ComponentInfo[] | undefined; } /** diff --git a/clients/client-ssm-sap/src/protocols/Aws_restJson1.ts b/clients/client-ssm-sap/src/protocols/Aws_restJson1.ts index 7555048b47da..12db98bcc743 100644 --- a/clients/client-ssm-sap/src/protocols/Aws_restJson1.ts +++ b/clients/client-ssm-sap/src/protocols/Aws_restJson1.ts @@ -77,6 +77,7 @@ import { ApplicationCredential, BackintConfig, Component, + ComponentInfo, ConflictException, Database, Filter, @@ -432,6 +433,7 @@ export const se_RegisterApplicationCommand = async ( take(input, { ApplicationId: [], ApplicationType: [], + ComponentsInfo: (_) => _json(_), Credentials: (_) => _json(_), DatabaseArn: [], Instances: (_) => _json(_), @@ -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. diff --git a/codegen/sdk-codegen/aws-models/ssm-sap.json b/codegen/sdk-codegen/aws-models/ssm-sap.json index 05cd82fff11d..93d42ac32359 100644 --- a/codegen/sdk-codegen/aws-models/ssm-sap.json +++ b/codegen/sdk-codegen/aws-models/ssm-sap.json @@ -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": "This string is the type of the component.
\nAccepted value is WD
.
This string is the SAP System ID of the component.
\nAccepted values are alphanumeric.
", + "smithy.api#required": {} + } + }, + "Ec2InstanceId": { + "target": "com.amazonaws.ssmsap#InstanceId", + "traits": { + "smithy.api#documentation": "This is the Amazon EC2 instance on which your SAP component is running.
\nAccepted values are alphanumeric.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "This is information about the component of \n your SAP application, such as Web Dispatcher.
" + } + }, + "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": { @@ -2518,6 +2559,12 @@ "traits": { "smithy.api#documentation": "The Amazon Resource Name of the SAP HANA database.
" } + }, + "ComponentsInfo": { + "target": "com.amazonaws.ssmsap#ComponentInfoList", + "traits": { + "smithy.api#documentation": "This is an optional parameter for component details \n to which the SAP ABAP application is attached, \n such as Web Dispatcher.
\nThis is an array of ApplicationComponent objects. \n You may input 0 to 5 items.
" + } } } },