def METHOD_NAME(statemachine_arn: Optional[pulumi.Input[str]] = None,
                                      opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetStateMachineVersionsResult]:
    """
    Data source for managing an AWS SFN (Step Functions) State Machine Versions.
    ## Example Usage
    ### Basic Usage
    ```python
    import pulumi
    import pulumi_aws as aws
    test = aws.sfn.get_state_machine_versions(statemachine_arn=aws_sfn_state_machine["test"]["arn"])
    ```
    :param str statemachine_arn: ARN of the State Machine.
    """
    ...