list_services
async
¶
list_services(
start_time: datetime,
end_time: datetime,
*,
config_overrides: Optional[AsyncApplicationSignalsClientConfig] = None,
max_results: Optional[ListServicesMaxResults] = None,
next_token: Optional[NextToken] = None,
include_linked_accounts: Optional[bool] = None,
aws_account_id: Optional[AwsAccountId] = None,
) -> ListServicesOutput
Returns a list of services that have been discovered by Application Signals. A service represents a minimum logical and transactional unit that completes a business function. Services are discovered through Application Signals instrumentation.
Parameters:
-
start_time(datetime) –The start of the time period to retrieve information about. When used in a raw HTTP Query API, it is formatted as be epoch time in seconds. For example:
1698778057Your requested start time will be rounded to the nearest hour.
-
end_time(datetime) –The end of the time period to retrieve information about. When used in a raw HTTP Query API, it is formatted as be epoch time in seconds. For example:
1698778057Your requested start time will be rounded to the nearest hour.
-
max_results(Optional[ListServicesMaxResults], default:None) –The maximum number of results to return in one operation. If you omit this parameter, the default of 50 is used.
-
next_token(Optional[NextToken], default:None) –Include this value, if it was returned by the previous operation, to get the next set of services.
-
include_linked_accounts(Optional[bool], default:None) –If you are using this operation in a monitoring account, specify
trueto include services from source accounts in the returned data. -
aws_account_id(Optional[AwsAccountId], default:None) –Amazon Web Services Account ID.
Raises:
-
ThrottlingException–The request was throttled because of quota limits.
-
ValidationException–The resource is not valid.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_application_signals/_services/async_application_signals.py
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 1610 1611 1612 | |