getTelemetryRule method

Future<GetTelemetryRuleOutput> getTelemetryRule({
  1. required String ruleIdentifier,
})

Retrieves the details of a specific telemetry rule in your account.

May throw AccessDeniedException. May throw InternalServerException. May throw ResourceNotFoundException. May throw TooManyRequestsException. May throw ValidationException.

Parameter ruleIdentifier : The identifier (name or ARN) of the telemetry rule to retrieve.

Implementation

Future<GetTelemetryRuleOutput> getTelemetryRule({
  required String ruleIdentifier,
}) async {
  final $payload = <String, dynamic>{
    'RuleIdentifier': ruleIdentifier,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri: '/GetTelemetryRule',
    exceptionFnMap: _exceptionFns,
  );
  return GetTelemetryRuleOutput.fromJson(response);
}