get_ops_summary
¶
get_ops_summary(
*,
config_overrides: Optional[SSMClientConfig] = 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/ssm.py
7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030 7031 7032 7033 7034 7035 7036 7037 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 | |