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

const getOrganization = (organizationUri) => ({
  variables: { organizationUri },
  query: gql`
    query GetOrganization($organizationUri: String!) {
      getOrganization(organizationUri: $organizationUri) {
        organizationUri
        label
        tags
        SamlGroupName
        owner
        created
        description
        userRoleInOrganization
        stats {
          environments
          groups
        }
      }
    }
  `
});

export default getOrganization;
