Class: Aws::LexModelBuildingService::Types::DeleteSlotTypeVersionRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-lexmodelbuildingservice/types.rb

Overview

Note:

When making an API call, you may pass DeleteSlotTypeVersionRequest data as a hash:

{
  name: "SlotTypeName", # required
  version: "NumericalVersion", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The name of the slot type.

Returns:

  • (String)


762
763
764
765
766
# File 'lib/aws-sdk-lexmodelbuildingservice/types.rb', line 762

class DeleteSlotTypeVersionRequest < Struct.new(
  :name,
  :version)
  include Aws::Structure
end

#versionString

The version of the slot type to delete. You cannot delete the ‘$LATEST` version of the slot type. To delete the `$LATEST` version, use the DeleteSlotType operation.

Returns:

  • (String)


762
763
764
765
766
# File 'lib/aws-sdk-lexmodelbuildingservice/types.rb', line 762

class DeleteSlotTypeVersionRequest < Struct.new(
  :name,
  :version)
  include Aws::Structure
end