getPolicyEngineSummary method

Future<GetPolicyEngineSummaryResponse> getPolicyEngineSummary({
  1. required String policyEngineId,
})

Retrieves a metadata-only summary of a specific policy engine without decrypting customer content. This lightweight read operation returns resource identifiers, status, timestamps, and the encryption key ARN, but does not include the description or status reasons. Because this operation does not require access to the customer's KMS key, it is suitable for resource discovery, inventory, and integration scenarios where only metadata is needed.

May throw AccessDeniedException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw ValidationException.

Parameter policyEngineId : The unique identifier of the policy engine to retrieve the summary for. This must be a valid policy engine ID that exists within the account.

Implementation

Future<GetPolicyEngineSummaryResponse> getPolicyEngineSummary({
  required String policyEngineId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/policy-engine-summaries/${Uri.encodeComponent(policyEngineId)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetPolicyEngineSummaryResponse.fromJson(response);
}