code: @Override
      public CreateResourceDefinitionResult createResourceDefinition(CreateResourceDefinitionRequest request) {
          request = beforeClientExecution(request);
          return executeCreateResourceDefinition(request);
      }
docs: Creates a resource definition which contains a list of resources to be used in a group. You can create an initial
  version of the definition by providing a list of resources now, or use ''CreateResourceDefinitionVersion'' later.
  
  @param createResourceDefinitionRequest
  @return Result of the CreateResourceDefinition operation returned by the service.
  @throws BadRequestException
  invalid request
  @sample AWSGreengrass.CreateResourceDefinition
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateResourceDefinition"
  target="_top">AWS API Documentation</a>