code: @Override
      public ModifyDocumentPermissionResult modifyDocumentPermission(ModifyDocumentPermissionRequest request) {
          request = beforeClientExecution(request);
          return executeModifyDocumentPermission(request);
      }
docs: <p>
  Shares a Systems Manager document publicly or privately. If you share a document privately, you must specify the
  AWS user account IDs for those people who can use the document. If you share a document publicly, you must
  specify <i>All</i> as the account ID.
  </p>
  
  @param modifyDocumentPermissionRequest
  @return Result of the ModifyDocumentPermission operation returned by the service.
  @throws InternalServerErrorException
  An error occurred on the server side.
  @throws InvalidDocumentException
  The specified document does not exist.
  @throws InvalidPermissionTypeException
  The permission type is not supported. <i>Share</i> is the only supported permission type.
  @throws DocumentPermissionLimitException
  The document cannot be shared with more AWS user accounts. You can share a document with a maximum of 20
  accounts. You can publicly share up to five documents. If you need to increase this limit, contact AWS
  Support.
  @throws DocumentLimitExceededException
  You can have at most 200 active Systems Manager documents.
  @sample AWSSimpleSystemsManagement.ModifyDocumentPermission
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ModifyDocumentPermission" target="_top">AWS
  API Documentation</a>