AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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.



4616
4617
4618
4619
4620
4621
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 4616

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

#reference_typeString

Returns:

  • (String)


4616
4617
4618
4619
4620
4621
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 4616

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