get_ops_summary
async
¶
get_ops_summary(
*,
config_overrides: Optional[AsyncSSMClientConfig] = None,
sync_name: Optional[ResourceDataSyncName] = None,
filters: Optional[OpsFilterList] = None,
aggregators: Optional[OpsAggregatorList] = None,
result_attributes: Optional[OpsResultAttributeList] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResults] = None,
) -> GetOpsSummaryResult
View a summary of operations metadata (OpsData) based on specified filters and aggregators. OpsData can include information about Amazon Web Services Systems Manager OpsCenter operational workitems (OpsItems) as well as information about any Amazon Web Services resource or service configured to report OpsData to Amazon Web Services Systems Manager Explorer.
Parameters:
-
sync_name(Optional[ResourceDataSyncName], default:None) –Specify the name of a resource data sync to get.
-
filters(Optional[OpsFilterList], default:None) –Optional filters used to scope down the returned OpsData.
-
aggregators(Optional[OpsAggregatorList], default:None) –Optional aggregators that return counts of OpsData based on one or more expressions.
-
result_attributes(Optional[OpsResultAttributeList], default:None) –The OpsData data type to return.
-
next_token(Optional[NextToken], default:None) –A token to start the list. Use this token to get the next set of results.
-
max_results(Optional[MaxResults], default:None) –The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
Raises:
-
InternalServerError–An error occurred on the server side.
-
InvalidAggregatorException–The specified aggregator isn't valid for the group type. Verify that the aggregator you provided is supported.
-
InvalidFilter–The filter name isn't valid. Verify that you entered the correct name and try again.
-
InvalidNextToken–The specified token isn't valid.
-
InvalidTypeNameException–The parameter type name isn't valid.
-
ResourceDataSyncNotFoundException–The specified sync name wasn't found.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ssm/_services/async_ssm.py
7038 7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058 7059 7060 7061 7062 7063 7064 7065 7066 7067 7068 7069 7070 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 7085 7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 7099 7100 7101 7102 7103 7104 7105 7106 7107 7108 7109 7110 7111 7112 7113 | |