code: @Override
      public PutSlotTypeResult putSlotType(PutSlotTypeRequest request) {
          request = beforeClientExecution(request);
          return executePutSlotType(request);
      }
docs: <p>
  Creates a custom slot type or replaces an existing custom slot type.
  </p>
  <p>
  To create a custom slot type, specify a name for the slot type and a set of enumeration values, which are the
  values that a slot of this type can assume. For more information, see <a>how-it-works</a>.
  </p>
  <p>
  If you specify the name of an existing slot type, the fields in the request replace the existing values in the
  <code>$LATEST</code> version of the slot type. Amazon Lex removes the fields that you don't provide in the
  request. If you don't specify required fields, Amazon Lex throws an exception. When you update the
  <code>$LATEST</code> version of a slot type, if a bot uses the <code>$LATEST</code> version of an intent that
  contains the slot type, the bot's <code>status</code> field is set to <code>NOT_BUILT</code>.
  </p>
  <p>
  This operation requires permissions for the <code>lex:PutSlotType</code> action.
  </p>
  
  @param putSlotTypeRequest
  @return Result of the PutSlotType operation returned by the service.
  @throws ConflictException
  There was a conflict processing the request. Try your request again.
  @throws LimitExceededException
  The request exceeded a limit. Try your request again.
  @throws InternalFailureException
  An internal Amazon Lex error occurred. Try your request again.
  @throws BadRequestException
  The request is not well formed. For example, a value is invalid or a required field is missing. Check the
  field values, and try again.
  @throws PreconditionFailedException
  The checksum of the resource that you are trying to change does not match the checksum in the request.
  Check the resource's checksum and try again.
  @sample AmazonLexModelBuilding.PutSlotType
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/PutSlotType" target="_top">AWS API
  Documentation</a>