getBuiltinIntent method
Returns information about a built-in intent.
This operation requires permission for the
lex:GetBuiltinIntent
action.
May throw NotFoundException. May throw LimitExceededException. May throw InternalFailureException. May throw BadRequestException.
Parameter signature
:
The unique identifier for a built-in intent. To find the signature for an
intent, see Standard
Built-in Intents in the Alexa Skills Kit.
Implementation
Future<GetBuiltinIntentResponse> getBuiltinIntent({
required String signature,
}) async {
ArgumentError.checkNotNull(signature, 'signature');
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/builtins/intents/${Uri.encodeComponent(signature)}',
exceptionFnMap: _exceptionFns,
);
return GetBuiltinIntentResponse.fromJson(response);
}