code: @Override
      public CreateGroupMembershipResult createGroupMembership(CreateGroupMembershipRequest request) {
          request = beforeClientExecution(request);
          return executeCreateGroupMembership(request);
      }
docs: <p>
  Adds an Amazon QuickSight user to an Amazon QuickSight group.
  </p>
  <p>
  The permissions resource is
  <code>arn:aws:quicksight:us-east-1:<i>&lt;aws-account-id&gt;</i>:group/default/<i>&lt;group-name&gt;</i> </code>.
  </p>
  <p>
  The condition resource is the user name.
  </p>
  <p>
  The condition key is <code>quicksight:UserName</code>.
  </p>
  <p>
  The response is the group member object.
  </p>
  <p>
  <b>CLI Sample:</b>
  </p>
  <p>
  <code>aws quicksight create-group-membership --aws-account-id=111122223333 --namespace=default --group-name=Sales --member-name=Pat </code>
  </p>
  
  @param createGroupMembershipRequest
  @return Result of the CreateGroupMembership operation returned by the service.
  @throws AccessDeniedException
  You don't have access to this. The provided credentials couldn't be validated. You might not be
  authorized to carry out the request. Ensure that your account is authorized to use the Amazon QuickSight
  service, that your policies have the correct permissions, and that you are using the correct access keys.
  @throws InvalidParameterValueException
  One or more parameters don't have a valid value.
  @throws ResourceNotFoundException
  One or more resources can't be found.
  @throws ThrottlingException
  Access is throttled.
  @throws PreconditionNotMetException
  One or more preconditions aren't met.
  @throws InternalFailureException
  An internal failure occurred.
  @throws ResourceUnavailableException
  This resource is currently unavailable.
  @sample AmazonQuickSight.CreateGroupMembership
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateGroupMembership"
  target="_top">AWS API Documentation</a>