def METHOD_NAME(client, sample_service):
    data_retention = create_service_data_retention(service=sample_service)
    response = client.get(
        "/service/{}/data-retention/notification-type/{}".format(sample_service.id, "sms"),
        headers=[("Content-Type", "application/json"), create_authorization_header()],
    )
    assert response.status_code == 200
    assert json.loads(response.get_data(as_text=True)) == data_retention.serialize()