code: @Override
      public GetGroupPolicyResult getGroupPolicy(GetGroupPolicyRequest request) {
          request = beforeClientExecution(request);
          return executeGetGroupPolicy(request);
      }
docs: <p>
  Retrieves the specified inline policy document that is embedded in the specified IAM group.
  </p>
  <note>
  <p>
  Policies returned by this API are URL-encoded compliant with <a href="https://tools.ietf.org/html/rfc3986">RFC
  3986</a>. You can use a URL decoding method to convert the policy back to plain JSON text. For example, if you
  use Java, you can use the <code>decode</code> method of the <code>java.net.URLDecoder</code> utility class in the
  Java SDK. Other languages and SDKs provide similar functionality.
  </p>
  </note>
  <p>
  An IAM group can also have managed policies attached to it. To retrieve a managed policy document that is
  attached to a group, use <a>GetPolicy</a> to determine the policy's default version, then use
  <a>GetPolicyVersion</a> to retrieve the policy document.
  </p>
  <p>
  For more information about policies, see <a
  href="https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html">Managed Policies and
  Inline Policies</a> in the <i>IAM User Guide</i>.
  </p>
  
  @param getGroupPolicyRequest
  @return Result of the GetGroupPolicy operation returned by the service.
  @throws NoSuchEntityException
  The request was rejected because it referenced a resource entity that does not exist. The error message
  describes the resource.
  @throws ServiceFailureException
  The request processing has failed because of an unknown error, exception or failure.
  @sample AmazonIdentityManagement.GetGroupPolicy
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetGroupPolicy" target="_top">AWS API
  Documentation</a>