describeStateMachineAlias method

Future<DescribeStateMachineAliasOutput> describeStateMachineAlias({
  1. required String stateMachineAliasArn,
})

Returns details about a state machine alias.

Related operations:

May throw InvalidArn. May throw ResourceNotFound. May throw ValidationException.

Parameter stateMachineAliasArn : The Amazon Resource Name (ARN) of the state machine alias.

Implementation

Future<DescribeStateMachineAliasOutput> describeStateMachineAlias({
  required String stateMachineAliasArn,
}) async {
  final headers = <String, String>{
    'Content-Type': 'application/x-amz-json-1.0',
    'X-Amz-Target': 'AWSStepFunctions.DescribeStateMachineAlias'
  };
  final jsonResponse = await _protocol.send(
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    // TODO queryParams
    headers: headers,
    payload: {
      'stateMachineAliasArn': stateMachineAliasArn,
    },
  );

  return DescribeStateMachineAliasOutput.fromJson(jsonResponse.body);
}