Skip to content

Commit 6a156d7

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

11 files changed

+542
-12
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ export interface DeregisterApplicationCommandOutput extends DeregisterApplicatio
6363
* @throws {@link InternalServerException} (server fault)
6464
* <p>An internal error has occurred.</p>
6565
*
66+
* @throws {@link UnauthorizedException} (client fault)
67+
* <p>The request is not authorized.</p>
68+
*
6669
* @throws {@link ValidationException} (client fault)
6770
* <p>The input fails to satisfy the constraints specified by an AWS service. </p>
6871
*

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export interface GetApplicationCommandOutput extends GetApplicationOutput, __Met
5555
* // { // GetApplicationOutput
5656
* // Application: { // Application
5757
* // Id: "STRING_VALUE",
58-
* // Type: "HANA",
58+
* // Type: "HANA" || "SAP_ABAP",
5959
* // Arn: "STRING_VALUE",
6060
* // AppRegistryArn: "STRING_VALUE",
6161
* // Status: "ACTIVATED" || "STARTING" || "STOPPED" || "STOPPING" || "FAILED" || "REGISTERING" || "DELETING" || "UNKNOWN",

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

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,25 +54,36 @@ export interface GetComponentCommandOutput extends GetComponentOutput, __Metadat
5454
* // { // GetComponentOutput
5555
* // Component: { // Component
5656
* // ComponentId: "STRING_VALUE",
57+
* // Sid: "STRING_VALUE",
58+
* // SystemNumber: "STRING_VALUE",
5759
* // ParentComponent: "STRING_VALUE",
5860
* // ChildComponents: [ // ComponentIdList
5961
* // "STRING_VALUE",
6062
* // ],
6163
* // ApplicationId: "STRING_VALUE",
62-
* // ComponentType: "HANA" || "HANA_NODE",
64+
* // ComponentType: "HANA" || "HANA_NODE" || "ABAP" || "ASCS" || "DIALOG" || "WEBDISP" || "WD" || "ERS",
6365
* // Status: "ACTIVATED" || "STARTING" || "STOPPED" || "STOPPING" || "RUNNING" || "RUNNING_WITH_ERROR" || "UNDEFINED",
6466
* // SapHostname: "STRING_VALUE",
67+
* // SapFeature: "STRING_VALUE",
6568
* // SapKernelVersion: "STRING_VALUE",
6669
* // HdbVersion: "STRING_VALUE",
6770
* // Resilience: { // Resilience
6871
* // HsrTier: "STRING_VALUE",
6972
* // HsrReplicationMode: "PRIMARY" || "NONE" || "SYNC" || "SYNCMEM" || "ASYNC",
7073
* // HsrOperationMode: "PRIMARY" || "LOGREPLAY" || "DELTA_DATASHIPPING" || "LOGREPLAY_READACCESS" || "NONE",
7174
* // ClusterStatus: "ONLINE" || "STANDBY" || "MAINTENANCE" || "OFFLINE" || "NONE",
75+
* // EnqueueReplication: true || false,
7276
* // },
7377
* // AssociatedHost: { // AssociatedHost
7478
* // Hostname: "STRING_VALUE",
7579
* // Ec2InstanceId: "STRING_VALUE",
80+
* // IpAddresses: [ // IpAddressList
81+
* // { // IpAddressMember
82+
* // IpAddress: "STRING_VALUE",
83+
* // Primary: true || false,
84+
* // AllocationType: "VPC_SUBNET" || "ELASTIC_IP" || "OVERLAY" || "UNKNOWN",
85+
* // },
86+
* // ],
7687
* // OsVersion: "STRING_VALUE",
7788
* // },
7889
* // Databases: [ // DatabaseIdList
@@ -89,6 +100,11 @@ export interface GetComponentCommandOutput extends GetComponentOutput, __Metadat
89100
* // },
90101
* // ],
91102
* // PrimaryHost: "STRING_VALUE",
103+
* // DatabaseConnection: { // DatabaseConnection
104+
* // DatabaseConnectionMethod: "DIRECT" || "OVERLAY",
105+
* // DatabaseArn: "STRING_VALUE",
106+
* // ConnectionIp: "STRING_VALUE",
107+
* // },
92108
* // LastUpdated: new Date("TIMESTAMP"),
93109
* // Arn: "STRING_VALUE",
94110
* // },
@@ -108,6 +124,9 @@ export interface GetComponentCommandOutput extends GetComponentOutput, __Metadat
108124
* @throws {@link InternalServerException} (server fault)
109125
* <p>An internal error has occurred.</p>
110126
*
127+
* @throws {@link UnauthorizedException} (client fault)
128+
* <p>The request is not authorized.</p>
129+
*
111130
* @throws {@link ValidationException} (client fault)
112131
* <p>The input fails to satisfy the constraints specified by an AWS service. </p>
113132
*

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

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,22 @@ export interface ListApplicationsCommandOutput extends ListApplicationsOutput, _
4747
* const input = { // ListApplicationsInput
4848
* NextToken: "STRING_VALUE",
4949
* MaxResults: Number("int"),
50+
* Filters: [ // FilterList
51+
* { // Filter
52+
* Name: "STRING_VALUE", // required
53+
* Value: "STRING_VALUE", // required
54+
* Operator: "Equals" || "GreaterThanOrEquals" || "LessThanOrEquals", // required
55+
* },
56+
* ],
5057
* };
5158
* const command = new ListApplicationsCommand(input);
5259
* const response = await client.send(command);
5360
* // { // ListApplicationsOutput
5461
* // Applications: [ // ApplicationSummaryList
5562
* // { // ApplicationSummary
5663
* // Id: "STRING_VALUE",
57-
* // Type: "HANA",
64+
* // DiscoveryStatus: "SUCCESS" || "REGISTRATION_FAILED" || "REFRESH_FAILED" || "REGISTERING" || "DELETING",
65+
* // Type: "HANA" || "SAP_ABAP",
5866
* // Arn: "STRING_VALUE",
5967
* // Tags: { // TagMap
6068
* // "<keys>": "STRING_VALUE",

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export interface ListComponentsCommandOutput extends ListComponentsOutput, __Met
5656
* // { // ComponentSummary
5757
* // ApplicationId: "STRING_VALUE",
5858
* // ComponentId: "STRING_VALUE",
59-
* // ComponentType: "HANA" || "HANA_NODE",
59+
* // ComponentType: "HANA" || "HANA_NODE" || "ABAP" || "ASCS" || "DIALOG" || "WEBDISP" || "WD" || "ERS",
6060
* // Tags: { // TagMap
6161
* // "<keys>": "STRING_VALUE",
6262
* // },
@@ -80,6 +80,9 @@ export interface ListComponentsCommandOutput extends ListComponentsOutput, __Met
8080
* @throws {@link ResourceNotFoundException} (client fault)
8181
* <p>The resource is not available.</p>
8282
*
83+
* @throws {@link UnauthorizedException} (client fault)
84+
* <p>The request is not authorized.</p>
85+
*
8386
* @throws {@link ValidationException} (client fault)
8487
* <p>The input fails to satisfy the constraints specified by an AWS service. </p>
8588
*

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

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export interface RegisterApplicationCommandOutput extends RegisterApplicationOut
5757
* const client = new SsmSapClient(config);
5858
* const input = { // RegisterApplicationInput
5959
* ApplicationId: "STRING_VALUE", // required
60-
* ApplicationType: "HANA", // required
60+
* ApplicationType: "HANA" || "SAP_ABAP", // required
6161
* Instances: [ // InstanceList // required
6262
* "STRING_VALUE",
6363
* ],
@@ -66,20 +66,21 @@ export interface RegisterApplicationCommandOutput extends RegisterApplicationOut
6666
* Tags: { // TagMap
6767
* "<keys>": "STRING_VALUE",
6868
* },
69-
* Credentials: [ // ApplicationCredentialList // required
69+
* Credentials: [ // ApplicationCredentialList
7070
* { // ApplicationCredential
7171
* DatabaseName: "STRING_VALUE", // required
7272
* CredentialType: "ADMIN", // required
7373
* SecretId: "STRING_VALUE", // required
7474
* },
7575
* ],
76+
* DatabaseArn: "STRING_VALUE",
7677
* };
7778
* const command = new RegisterApplicationCommand(input);
7879
* const response = await client.send(command);
7980
* // { // RegisterApplicationOutput
8081
* // Application: { // Application
8182
* // Id: "STRING_VALUE",
82-
* // Type: "HANA",
83+
* // Type: "HANA" || "SAP_ABAP",
8384
* // Arn: "STRING_VALUE",
8485
* // AppRegistryArn: "STRING_VALUE",
8586
* // Status: "ACTIVATED" || "STARTING" || "STOPPED" || "STOPPING" || "FAILED" || "REGISTERING" || "DELETING" || "UNKNOWN",
@@ -107,6 +108,9 @@ export interface RegisterApplicationCommandOutput extends RegisterApplicationOut
107108
* @throws {@link InternalServerException} (server fault)
108109
* <p>An internal error has occurred.</p>
109110
*
111+
* @throws {@link ResourceNotFoundException} (client fault)
112+
* <p>The resource is not available.</p>
113+
*
110114
* @throws {@link ValidationException} (client fault)
111115
* <p>The input fails to satisfy the constraints specified by an AWS service. </p>
112116
*

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,9 @@ export interface StartApplicationRefreshCommandOutput extends StartApplicationRe
7070
* @throws {@link ResourceNotFoundException} (client fault)
7171
* <p>The resource is not available.</p>
7272
*
73+
* @throws {@link UnauthorizedException} (client fault)
74+
* <p>The request is not authorized.</p>
75+
*
7376
* @throws {@link ValidationException} (client fault)
7477
* <p>The input fails to satisfy the constraints specified by an AWS service. </p>
7578
*

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ export interface UpdateApplicationSettingsCommandOutput extends UpdateApplicatio
6969
* BackintMode: "AWSBackup", // required
7070
* EnsureNoBackupInProcess: true || false, // required
7171
* },
72+
* DatabaseArn: "STRING_VALUE",
7273
* };
7374
* const command = new UpdateApplicationSettingsCommand(input);
7475
* const response = await client.send(command);
@@ -96,6 +97,9 @@ export interface UpdateApplicationSettingsCommandOutput extends UpdateApplicatio
9697
* @throws {@link ResourceNotFoundException} (client fault)
9798
* <p>The resource is not available.</p>
9899
*
100+
* @throws {@link UnauthorizedException} (client fault)
101+
* <p>The request is not authorized.</p>
102+
*
99103
* @throws {@link ValidationException} (client fault)
100104
* <p>The input fails to satisfy the constraints specified by an AWS service. </p>
101105
*

0 commit comments

Comments
 (0)