code: @Override
      public AttachInternetGatewayResult attachInternetGateway(AttachInternetGatewayRequest request) {
          request = beforeClientExecution(request);
          return executeAttachInternetGateway(request);
      }
docs: <p>
  Attaches an internet gateway to a VPC, enabling connectivity between the internet and the VPC. For more
  information about your VPC and internet gateway, see the <a
  href="https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/">Amazon Virtual Private Cloud User Guide</a>.
  </p>
  
  @param attachInternetGatewayRequest
  @return Result of the AttachInternetGateway operation returned by the service.
  @sample AmazonEC2.AttachInternetGateway
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AttachInternetGateway" target="_top">AWS API
  Documentation</a>