list_service_operations
¶
list_service_operations(
start_time: datetime,
end_time: datetime,
key_attributes: Attributes,
*,
config_overrides: Optional[ApplicationSignalsClientConfig] = None,
max_results: Optional[ListServiceOperationMaxResults] = None,
next_token: Optional[NextToken] = None,
) -> ListServiceOperationsOutput
Returns a list of the operations of this service that have been discovered by Application Signals. Only the operations that were invoked during the specified time range are returned.
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 end time will be rounded to the nearest hour.
-
key_attributes(Attributes) –Use this field to specify which service you want to retrieve information for. You must specify at least the
Type,Name, andEnvironmentattributes.This is a string-to-string map. It can include the following fields.
-
Typedesignates the type of object this is. -
ResourceTypespecifies the type of the resource. This field is used only when the value of theTypefield isResourceorAWS::Resource. -
Namespecifies the name of the object. This is used only if the value of theTypefield isService,RemoteService, orAWS::Service. -
Identifieridentifies the resource objects of this resource. This is used only if the value of theTypefield isResourceorAWS::Resource. -
Environmentspecifies the location where this object is hosted, or what it belongs to.
-
-
max_results(Optional[ListServiceOperationMaxResults], 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 service operations.
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/application_signals.py
1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 | |