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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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.



3962
3963
3964
3965
3966
3967
# File 'lib/aws-sdk-lexmodelbuildingservice/types.rb', line 3962

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

#reference_typeString

Returns:

  • (String)


3962
3963
3964
3965
3966
3967
# File 'lib/aws-sdk-lexmodelbuildingservice/types.rb', line 3962

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