def METHOD_NAME():
    client = boto3.client("apigateway", region_name="us-west-2")
    stage_name = "staging"
    response = client.create_rest_api(name="my_api", description="this is my api")
    api_id = response["id"]
    create_method_integration(client, api_id)
    response = client.create_deployment(restApiId=api_id, stageName=stage_name)
    deployment_id = response["id"]
    response = client.get_deployment(restApiId=api_id, deploymentId=deployment_id)
    response = client.create_deployment(restApiId=api_id, stageName=stage_name)
    deployment_id2 = response["id"]
    response = client.get_deployments(restApiId=api_id)
    assert response["items"][0]["id"] in [deployment_id, deployment_id2]
    assert response["items"][1]["id"] in [deployment_id, deployment_id2]