You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::LexModelBuildingService::Types::DeleteIntentVersionRequest

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

Overview

Note:

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

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

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The name of the intent.

Returns:

  • (String)


718
719
720
721
722
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 718

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

#versionString

The version of the intent to delete. You cannot delete the $LATEST version of the intent. To delete the $LATEST version, use the DeleteIntent operation.

Returns:

  • (String)


718
719
720
721
722
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 718

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