Class: Aws::Connect::Types::ResourceInUseException

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

Overview

That resource is already in use (for example, you’re trying to add a record with the same name as an existing record). If you are trying to delete a resource (for example, DeleteHoursOfOperation or DeletePredefinedAttribute), remove its reference from related resources and then try again.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#messageString

Returns:

  • (String)


20344
20345
20346
20347
20348
20349
20350
# File 'lib/aws-sdk-connect/types.rb', line 20344

class ResourceInUseException < Struct.new(
  :message,
  :resource_type,
  :resource_id)
  SENSITIVE = []
  include Aws::Structure
end

#resource_idString

The identifier for the resource.

Returns:

  • (String)


20344
20345
20346
20347
20348
20349
20350
# File 'lib/aws-sdk-connect/types.rb', line 20344

class ResourceInUseException < Struct.new(
  :message,
  :resource_type,
  :resource_id)
  SENSITIVE = []
  include Aws::Structure
end

#resource_typeString

The type of resource.

Returns:

  • (String)


20344
20345
20346
20347
20348
20349
20350
# File 'lib/aws-sdk-connect/types.rb', line 20344

class ResourceInUseException < Struct.new(
  :message,
  :resource_type,
  :resource_id)
  SENSITIVE = []
  include Aws::Structure
end