def METHOD_NAME():
    client = boto3.client("glacier", region_name="us-west-2")
    client.create_vault(vaultName="myname")
    archive1 = client.upload_archive(vaultName="myname", body=b"first archive")
    archive2 = client.upload_archive(vaultName="myname", body=b"second archive")
    job1 = client.initiate_job(
        vaultName="myname",
        jobParameters={"ArchiveId": archive1["archiveId"], "Type": "archive-retrieval"},
    )
    job2 = client.initiate_job(
        vaultName="myname",
        jobParameters={"ArchiveId": archive2["archiveId"], "Type": "archive-retrieval"},
    )
    jobs = client.list_jobs(vaultName="myname")["JobList"]
    # Verify the created jobs are in this list
    found_jobs = [j["JobId"] for j in jobs]
    assert job1["jobId"] in found_jobs
    assert job2["jobId"] in found_jobs
    found_job1 = [j for j in jobs if j["JobId"] == job1["jobId"]][0]
    assert found_job1["ArchiveId"] == archive1["archiveId"]
    found_job2 = [j for j in jobs if j["JobId"] == job2["jobId"]][0]
    assert found_job2["ArchiveId"] == archive2["archiveId"]
    # Verify all jobs follow the correct format
    for job in jobs:
        assert "JobId" in job
        assert "Action" in job
        assert "ArchiveId" in job
        assert "VaultARN" in job
        assert "CreationDate" in job
        assert "ArchiveSizeInBytes" in job
        assert "Completed" in job
        assert "StatusCode" in job
        assert "InventorySizeInBytes" in job
        assert "Tier" in job