register_application
async
¶
register_application(
application_id: ApplicationId,
application_type: ApplicationType,
instances: InstanceList,
*,
config_overrides: Optional[AsyncSsmSapClientConfig] = None,
sap_instance_number: Optional[SAPInstanceNumber] = None,
sid: Optional[SID] = None,
tags: Optional[TagMap] = None,
credentials: Optional[ApplicationCredentialList] = None,
database_arn: Optional[SsmSapArn] = None,
components_info: Optional[ComponentInfoList] = None,
) -> RegisterApplicationOutput
Register an SAP application with AWS Systems Manager for SAP. You must meet the following requirements before registering.
The SAP application you want to register with AWS Systems Manager for SAP is running on Amazon EC2.
AWS Systems Manager Agent must be setup on an Amazon EC2 instance along with the required IAM permissions.
Amazon EC2 instance(s) must have access to the secrets created in AWS Secrets Manager to manage SAP applications and components.
Parameters:
-
application_id(ApplicationId) –The ID of the application.
-
application_type(ApplicationType) –The type of the application.
-
instances(InstanceList) –The Amazon EC2 instances on which your SAP application is running.
-
sap_instance_number(Optional[SAPInstanceNumber], default:None) –The SAP instance number of the application.
-
sid(Optional[SID], default:None) –The System ID of the application.
-
tags(Optional[TagMap], default:None) –The tags to be attached to the SAP application.
-
credentials(Optional[ApplicationCredentialList], default:None) –The credentials of the SAP application.
-
database_arn(Optional[SsmSapArn], default:None) –The Amazon Resource Name of the SAP HANA database.
-
components_info(Optional[ComponentInfoList], default:None) –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.
Raises:
-
ConflictException–A conflict has occurred.
-
InternalServerException–An internal error has occurred.
-
ResourceNotFoundException–The resource is not available.
-
ValidationException–The input fails to satisfy the constraints specified by an AWS service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ssm_sap/_services/async_ssm_sap.py
1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 | |