Class: Aws::LexModelBuildingService::Types::ResourceInUseException

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

Overview

The resource that you are attempting to delete is referred to by another resource. Use this information to remove references to the resource that you are trying to delete.

The body of the exception contains a JSON object that describes the resource.

\{ "resourceType": BOT | BOTALIAS | BOTCHANNEL | INTENT,

"resourceReference": \{

"name": string, "version": string \} \}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#example_referenceTypes::ResourceReference

Describes the resource that refers to the resource that you are attempting to delete. This object is returned as part of the ResourceInUseException exception.



4202
4203
4204
4205
4206
4207
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 4202

class ResourceInUseException < Struct.new(
  :reference_type,
  :example_reference)
  SENSITIVE = []
  include Aws::Structure
end

#reference_typeString

Returns:

  • (String)


4202
4203
4204
4205
4206
4207
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 4202

class ResourceInUseException < Struct.new(
  :reference_type,
  :example_reference)
  SENSITIVE = []
  include Aws::Structure
end