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 SAP ABAP applications
  • Loading branch information
awstools committed Oct 26, 2023
1 parent 89f97b5 commit 6a156d7
Show file tree
Hide file tree
Showing 11 changed files with 542 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ export interface DeregisterApplicationCommandOutput extends DeregisterApplicatio
* @throws {@link InternalServerException} (server fault)
* <p>An internal error has occurred.</p>
*
* @throws {@link UnauthorizedException} (client fault)
* <p>The request is not authorized.</p>
*
* @throws {@link ValidationException} (client fault)
* <p>The input fails to satisfy the constraints specified by an AWS service. </p>
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export interface GetApplicationCommandOutput extends GetApplicationOutput, __Met
* // { // GetApplicationOutput
* // Application: { // Application
* // Id: "STRING_VALUE",
* // Type: "HANA",
* // Type: "HANA" || "SAP_ABAP",
* // Arn: "STRING_VALUE",
* // AppRegistryArn: "STRING_VALUE",
* // Status: "ACTIVATED" || "STARTING" || "STOPPED" || "STOPPING" || "FAILED" || "REGISTERING" || "DELETING" || "UNKNOWN",
Expand Down
21 changes: 20 additions & 1 deletion clients/client-ssm-sap/src/commands/GetComponentCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,25 +54,36 @@ export interface GetComponentCommandOutput extends GetComponentOutput, __Metadat
* // { // GetComponentOutput
* // Component: { // Component
* // ComponentId: "STRING_VALUE",
* // Sid: "STRING_VALUE",
* // SystemNumber: "STRING_VALUE",
* // ParentComponent: "STRING_VALUE",
* // ChildComponents: [ // ComponentIdList
* // "STRING_VALUE",
* // ],
* // ApplicationId: "STRING_VALUE",
* // ComponentType: "HANA" || "HANA_NODE",
* // ComponentType: "HANA" || "HANA_NODE" || "ABAP" || "ASCS" || "DIALOG" || "WEBDISP" || "WD" || "ERS",
* // Status: "ACTIVATED" || "STARTING" || "STOPPED" || "STOPPING" || "RUNNING" || "RUNNING_WITH_ERROR" || "UNDEFINED",
* // SapHostname: "STRING_VALUE",
* // SapFeature: "STRING_VALUE",
* // SapKernelVersion: "STRING_VALUE",
* // HdbVersion: "STRING_VALUE",
* // Resilience: { // Resilience
* // HsrTier: "STRING_VALUE",
* // HsrReplicationMode: "PRIMARY" || "NONE" || "SYNC" || "SYNCMEM" || "ASYNC",
* // HsrOperationMode: "PRIMARY" || "LOGREPLAY" || "DELTA_DATASHIPPING" || "LOGREPLAY_READACCESS" || "NONE",
* // ClusterStatus: "ONLINE" || "STANDBY" || "MAINTENANCE" || "OFFLINE" || "NONE",
* // EnqueueReplication: true || false,
* // },
* // AssociatedHost: { // AssociatedHost
* // Hostname: "STRING_VALUE",
* // Ec2InstanceId: "STRING_VALUE",
* // IpAddresses: [ // IpAddressList
* // { // IpAddressMember
* // IpAddress: "STRING_VALUE",
* // Primary: true || false,
* // AllocationType: "VPC_SUBNET" || "ELASTIC_IP" || "OVERLAY" || "UNKNOWN",
* // },
* // ],
* // OsVersion: "STRING_VALUE",
* // },
* // Databases: [ // DatabaseIdList
Expand All @@ -89,6 +100,11 @@ export interface GetComponentCommandOutput extends GetComponentOutput, __Metadat
* // },
* // ],
* // PrimaryHost: "STRING_VALUE",
* // DatabaseConnection: { // DatabaseConnection
* // DatabaseConnectionMethod: "DIRECT" || "OVERLAY",
* // DatabaseArn: "STRING_VALUE",
* // ConnectionIp: "STRING_VALUE",
* // },
* // LastUpdated: new Date("TIMESTAMP"),
* // Arn: "STRING_VALUE",
* // },
Expand All @@ -108,6 +124,9 @@ export interface GetComponentCommandOutput extends GetComponentOutput, __Metadat
* @throws {@link InternalServerException} (server fault)
* <p>An internal error has occurred.</p>
*
* @throws {@link UnauthorizedException} (client fault)
* <p>The request is not authorized.</p>
*
* @throws {@link ValidationException} (client fault)
* <p>The input fails to satisfy the constraints specified by an AWS service. </p>
*
Expand Down
10 changes: 9 additions & 1 deletion clients/client-ssm-sap/src/commands/ListApplicationsCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,22 @@ export interface ListApplicationsCommandOutput extends ListApplicationsOutput, _
* const input = { // ListApplicationsInput
* NextToken: "STRING_VALUE",
* MaxResults: Number("int"),
* Filters: [ // FilterList
* { // Filter
* Name: "STRING_VALUE", // required
* Value: "STRING_VALUE", // required
* Operator: "Equals" || "GreaterThanOrEquals" || "LessThanOrEquals", // required
* },
* ],
* };
* const command = new ListApplicationsCommand(input);
* const response = await client.send(command);
* // { // ListApplicationsOutput
* // Applications: [ // ApplicationSummaryList
* // { // ApplicationSummary
* // Id: "STRING_VALUE",
* // Type: "HANA",
* // DiscoveryStatus: "SUCCESS" || "REGISTRATION_FAILED" || "REFRESH_FAILED" || "REGISTERING" || "DELETING",
* // Type: "HANA" || "SAP_ABAP",
* // Arn: "STRING_VALUE",
* // Tags: { // TagMap
* // "<keys>": "STRING_VALUE",
Expand Down
5 changes: 4 additions & 1 deletion clients/client-ssm-sap/src/commands/ListComponentsCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export interface ListComponentsCommandOutput extends ListComponentsOutput, __Met
* // { // ComponentSummary
* // ApplicationId: "STRING_VALUE",
* // ComponentId: "STRING_VALUE",
* // ComponentType: "HANA" || "HANA_NODE",
* // ComponentType: "HANA" || "HANA_NODE" || "ABAP" || "ASCS" || "DIALOG" || "WEBDISP" || "WD" || "ERS",
* // Tags: { // TagMap
* // "<keys>": "STRING_VALUE",
* // },
Expand All @@ -80,6 +80,9 @@ export interface ListComponentsCommandOutput extends ListComponentsOutput, __Met
* @throws {@link ResourceNotFoundException} (client fault)
* <p>The resource is not available.</p>
*
* @throws {@link UnauthorizedException} (client fault)
* <p>The request is not authorized.</p>
*
* @throws {@link ValidationException} (client fault)
* <p>The input fails to satisfy the constraints specified by an AWS service. </p>
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export interface RegisterApplicationCommandOutput extends RegisterApplicationOut
* const client = new SsmSapClient(config);
* const input = { // RegisterApplicationInput
* ApplicationId: "STRING_VALUE", // required
* ApplicationType: "HANA", // required
* ApplicationType: "HANA" || "SAP_ABAP", // required
* Instances: [ // InstanceList // required
* "STRING_VALUE",
* ],
Expand All @@ -66,20 +66,21 @@ export interface RegisterApplicationCommandOutput extends RegisterApplicationOut
* Tags: { // TagMap
* "<keys>": "STRING_VALUE",
* },
* Credentials: [ // ApplicationCredentialList // required
* Credentials: [ // ApplicationCredentialList
* { // ApplicationCredential
* DatabaseName: "STRING_VALUE", // required
* CredentialType: "ADMIN", // required
* SecretId: "STRING_VALUE", // required
* },
* ],
* DatabaseArn: "STRING_VALUE",
* };
* const command = new RegisterApplicationCommand(input);
* const response = await client.send(command);
* // { // RegisterApplicationOutput
* // Application: { // Application
* // Id: "STRING_VALUE",
* // Type: "HANA",
* // Type: "HANA" || "SAP_ABAP",
* // Arn: "STRING_VALUE",
* // AppRegistryArn: "STRING_VALUE",
* // Status: "ACTIVATED" || "STARTING" || "STOPPED" || "STOPPING" || "FAILED" || "REGISTERING" || "DELETING" || "UNKNOWN",
Expand Down Expand Up @@ -107,6 +108,9 @@ export interface RegisterApplicationCommandOutput extends RegisterApplicationOut
* @throws {@link InternalServerException} (server fault)
* <p>An internal error has occurred.</p>
*
* @throws {@link ResourceNotFoundException} (client fault)
* <p>The resource is not available.</p>
*
* @throws {@link ValidationException} (client fault)
* <p>The input fails to satisfy the constraints specified by an AWS service. </p>
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ export interface StartApplicationRefreshCommandOutput extends StartApplicationRe
* @throws {@link ResourceNotFoundException} (client fault)
* <p>The resource is not available.</p>
*
* @throws {@link UnauthorizedException} (client fault)
* <p>The request is not authorized.</p>
*
* @throws {@link ValidationException} (client fault)
* <p>The input fails to satisfy the constraints specified by an AWS service. </p>
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ export interface UpdateApplicationSettingsCommandOutput extends UpdateApplicatio
* BackintMode: "AWSBackup", // required
* EnsureNoBackupInProcess: true || false, // required
* },
* DatabaseArn: "STRING_VALUE",
* };
* const command = new UpdateApplicationSettingsCommand(input);
* const response = await client.send(command);
Expand Down Expand Up @@ -96,6 +97,9 @@ export interface UpdateApplicationSettingsCommandOutput extends UpdateApplicatio
* @throws {@link ResourceNotFoundException} (client fault)
* <p>The resource is not available.</p>
*
* @throws {@link UnauthorizedException} (client fault)
* <p>The request is not authorized.</p>
*
* @throws {@link ValidationException} (client fault)
* <p>The input fails to satisfy the constraints specified by an AWS service. </p>
*
Expand Down
Loading

0 comments on commit 6a156d7

Please sign in to comment.