<reponame>nicktom1034/aws-data-all-Develop<filename>frontend/src/api/Dashboard/createDashboard.js<gh_stars>0import { gql } from 'apollo-boost';

const createDashboard = ({ input }) => ({
  variables: {
    input
  },
  mutation: gql`
    mutation CreateDashboard($input: NewDashboardInput) {
      createDashboard(input: $input) {
        dashboardUri
        name
        label
        created
      }
    }
  `
});

export default createDashboard;
