code: @Override
      public CreateLocationS3Result createLocationS3(CreateLocationS3Request request) {
          request = beforeClientExecution(request);
          return executeCreateLocationS3(request);
      }
docs: <p>
  Creates an endpoint for an Amazon S3 bucket.
  </p>
  <p>
  For AWS DataSync to access a destination S3 bucket, it needs an AWS Identity and Access Management (IAM) role
  that has the required permissions. You can set up the required permissions by creating an IAM policy that grants
  the required permissions and attaching the policy to the role. An example of such a policy is shown in the
  examples section. For more information, see <a
  href="https://docs.aws.amazon.com/sync-service/latest/userguide/configuring-s3-locations.html">Configuring Amazon
  S3 Location Settings</a> in the <i>AWS DataSync User Guide</i>.
  </p>
  
  @param createLocationS3Request
  CreateLocationS3Request
  @return Result of the CreateLocationS3 operation returned by the service.
  @throws InvalidRequestException
  This exception is thrown when the client submits a malformed request.
  @sample AWSDataSync.CreateLocationS3
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateLocationS3" target="_top">AWS API
  Documentation</a>