Skip to content

Commit 5330db5

Browse files
Added support for SAP Hana High Availability discovery (primary and secondary nodes) and Backint agent installation with SSM for SAP.
1 parent 2169385 commit 5330db5

40 files changed

+4756
-321
lines changed

generator/ServiceModels/ssm-sap/ssm-sap-2018-05-10.api.json

Lines changed: 151 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,22 @@
217217
{"shape":"InternalServerException"}
218218
]
219219
},
220+
"StartApplicationRefresh":{
221+
"name":"StartApplicationRefresh",
222+
"http":{
223+
"method":"POST",
224+
"requestUri":"/start-application-refresh",
225+
"responseCode":200
226+
},
227+
"input":{"shape":"StartApplicationRefreshInput"},
228+
"output":{"shape":"StartApplicationRefreshOutput"},
229+
"errors":[
230+
{"shape":"ResourceNotFoundException"},
231+
{"shape":"ValidationException"},
232+
{"shape":"ConflictException"},
233+
{"shape":"InternalServerException"}
234+
]
235+
},
220236
"TagResource":{
221237
"name":"TagResource",
222238
"http":{
@@ -260,6 +276,7 @@
260276
"errors":[
261277
{"shape":"ResourceNotFoundException"},
262278
{"shape":"ValidationException"},
279+
{"shape":"ConflictException"},
263280
{"shape":"InternalServerException"}
264281
]
265282
}
@@ -277,6 +294,7 @@
277294
"Arn":{"shape":"SsmSapArn"},
278295
"AppRegistryArn":{"shape":"AppRegistryArn"},
279296
"Status":{"shape":"ApplicationStatus"},
297+
"DiscoveryStatus":{"shape":"ApplicationDiscoveryStatus"},
280298
"Components":{"shape":"ComponentIdList"},
281299
"LastUpdated":{"shape":"Timestamp"},
282300
"StatusMessage":{"shape":"String"}
@@ -301,6 +319,16 @@
301319
"max":20,
302320
"min":1
303321
},
322+
"ApplicationDiscoveryStatus":{
323+
"type":"string",
324+
"enum":[
325+
"SUCCESS",
326+
"REGISTRATION_FAILED",
327+
"REFRESH_FAILED",
328+
"REGISTERING",
329+
"DELETING"
330+
]
331+
},
304332
"ApplicationId":{
305333
"type":"string",
306334
"pattern":"[\\w\\d]{1,50}"
@@ -339,17 +367,70 @@
339367
"type":"string",
340368
"pattern":"arn:(.+:){2,4}.+$|^arn:(.+:){1,3}.+\\/.+"
341369
},
370+
"AssociatedHost":{
371+
"type":"structure",
372+
"members":{
373+
"Hostname":{"shape":"String"},
374+
"Ec2InstanceId":{"shape":"String"},
375+
"OsVersion":{"shape":"String"}
376+
}
377+
},
378+
"BackintConfig":{
379+
"type":"structure",
380+
"required":[
381+
"BackintMode",
382+
"EnsureNoBackupInProcess"
383+
],
384+
"members":{
385+
"BackintMode":{"shape":"BackintMode"},
386+
"EnsureNoBackupInProcess":{"shape":"Boolean"}
387+
}
388+
},
389+
"BackintMode":{
390+
"type":"string",
391+
"enum":["AWSBackup"]
392+
},
393+
"Boolean":{
394+
"type":"boolean",
395+
"box":true
396+
},
397+
"ClusterStatus":{
398+
"type":"string",
399+
"enum":[
400+
"ONLINE",
401+
"STANDBY",
402+
"MAINTENANCE",
403+
"OFFLINE",
404+
"NONE"
405+
]
406+
},
342407
"Component":{
343408
"type":"structure",
344409
"members":{
345410
"ComponentId":{"shape":"ComponentId"},
411+
"ParentComponent":{"shape":"ComponentId"},
412+
"ChildComponents":{"shape":"ComponentIdList"},
346413
"ApplicationId":{"shape":"ApplicationId"},
347414
"ComponentType":{"shape":"ComponentType"},
348415
"Status":{"shape":"ComponentStatus"},
416+
"SapHostname":{"shape":"String"},
417+
"SapKernelVersion":{"shape":"String"},
418+
"HdbVersion":{"shape":"String"},
419+
"Resilience":{"shape":"Resilience"},
420+
"AssociatedHost":{"shape":"AssociatedHost"},
349421
"Databases":{"shape":"DatabaseIdList"},
350-
"Hosts":{"shape":"HostList"},
351-
"PrimaryHost":{"shape":"String"},
352-
"LastUpdated":{"shape":"Timestamp"}
422+
"Hosts":{
423+
"shape":"HostList",
424+
"deprecated":true,
425+
"deprecatedMessage":"This shape is no longer used. Please use AssociatedHost."
426+
},
427+
"PrimaryHost":{
428+
"shape":"String",
429+
"deprecated":true,
430+
"deprecatedMessage":"This shape is no longer used. Please use AssociatedHost."
431+
},
432+
"LastUpdated":{"shape":"Timestamp"},
433+
"Arn":{"shape":"SsmSapArn"}
353434
}
354435
},
355436
"ComponentId":{
@@ -362,15 +443,24 @@
362443
},
363444
"ComponentStatus":{
364445
"type":"string",
365-
"enum":["ACTIVATED"]
446+
"enum":[
447+
"ACTIVATED",
448+
"STARTING",
449+
"STOPPED",
450+
"STOPPING",
451+
"RUNNING",
452+
"RUNNING_WITH_ERROR",
453+
"UNDEFINED"
454+
]
366455
},
367456
"ComponentSummary":{
368457
"type":"structure",
369458
"members":{
370459
"ApplicationId":{"shape":"ApplicationId"},
371460
"ComponentId":{"shape":"ComponentId"},
372461
"ComponentType":{"shape":"ComponentType"},
373-
"Tags":{"shape":"TagMap"}
462+
"Tags":{"shape":"TagMap"},
463+
"Arn":{"shape":"SsmSapArn"}
374464
}
375465
},
376466
"ComponentSummaryList":{
@@ -379,7 +469,10 @@
379469
},
380470
"ComponentType":{
381471
"type":"string",
382-
"enum":["HANA"]
472+
"enum":[
473+
"HANA",
474+
"HANA_NODE"
475+
]
383476
},
384477
"ConflictException":{
385478
"type":"structure",
@@ -432,7 +525,8 @@
432525
"STARTING",
433526
"STOPPED",
434527
"WARNING",
435-
"UNKNOWN"
528+
"UNKNOWN",
529+
"ERROR"
436530
]
437531
},
438532
"DatabaseSummary":{
@@ -550,7 +644,8 @@
550644
"GetComponentOutput":{
551645
"type":"structure",
552646
"members":{
553-
"Component":{"shape":"Component"}
647+
"Component":{"shape":"Component"},
648+
"Tags":{"shape":"TagMap"}
554649
}
555650
},
556651
"GetDatabaseInput":{
@@ -600,9 +695,11 @@
600695
"type":"structure",
601696
"members":{
602697
"HostName":{"shape":"String"},
603-
"HostRole":{"shape":"HostRole"},
604698
"HostIp":{"shape":"String"},
605-
"InstanceId":{"shape":"String"}
699+
"EC2InstanceId":{"shape":"String"},
700+
"InstanceId":{"shape":"String"},
701+
"HostRole":{"shape":"HostRole"},
702+
"OsVersion":{"shape":"String"}
606703
}
607704
},
608705
"HostList":{
@@ -769,6 +866,16 @@
769866
"type":"list",
770867
"member":{"shape":"Operation"}
771868
},
869+
"OperationMode":{
870+
"type":"string",
871+
"enum":[
872+
"PRIMARY",
873+
"LOGREPLAY",
874+
"DELTA_DATASHIPPING",
875+
"LOGREPLAY_READACCESS",
876+
"NONE"
877+
]
878+
},
772879
"OperationProperties":{
773880
"type":"map",
774881
"key":{"shape":"String"},
@@ -831,6 +938,25 @@
831938
"OperationId":{"shape":"OperationId"}
832939
}
833940
},
941+
"ReplicationMode":{
942+
"type":"string",
943+
"enum":[
944+
"PRIMARY",
945+
"NONE",
946+
"SYNC",
947+
"SYNCMEM",
948+
"ASYNC"
949+
]
950+
},
951+
"Resilience":{
952+
"type":"structure",
953+
"members":{
954+
"HsrTier":{"shape":"String"},
955+
"HsrReplicationMode":{"shape":"ReplicationMode"},
956+
"HsrOperationMode":{"shape":"OperationMode"},
957+
"ClusterStatus":{"shape":"ClusterStatus"}
958+
}
959+
},
834960
"ResourceId":{
835961
"type":"string",
836962
"max":64,
@@ -870,6 +996,19 @@
870996
"type":"string",
871997
"pattern":"arn:(.+:){2,4}.+$|^arn:(.+:){1,3}.+\\/.+"
872998
},
999+
"StartApplicationRefreshInput":{
1000+
"type":"structure",
1001+
"required":["ApplicationId"],
1002+
"members":{
1003+
"ApplicationId":{"shape":"ApplicationId"}
1004+
}
1005+
},
1006+
"StartApplicationRefreshOutput":{
1007+
"type":"structure",
1008+
"members":{
1009+
"OperationId":{"shape":"OperationId"}
1010+
}
1011+
},
8731012
"String":{"type":"string"},
8741013
"TagKey":{
8751014
"type":"string",
@@ -940,7 +1079,8 @@
9401079
"members":{
9411080
"ApplicationId":{"shape":"ApplicationId"},
9421081
"CredentialsToAddOrUpdate":{"shape":"ApplicationCredentialList"},
943-
"CredentialsToRemove":{"shape":"ApplicationCredentialList"}
1082+
"CredentialsToRemove":{"shape":"ApplicationCredentialList"},
1083+
"Backint":{"shape":"BackintConfig"}
9441084
}
9451085
},
9461086
"UpdateApplicationSettingsOutput":{

0 commit comments

Comments
 (0)