Class: Aws::QConnect::Types::UpdateContentRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#content_idString

The identifier of the content. Can be either the ID or the ARN. URLs cannot contain the ARN.

Returns:

  • (String)


4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 4217

class UpdateContentRequest < Struct.new(
  :content_id,
  :knowledge_base_id,
  :metadata,
  :override_link_out_uri,
  :remove_override_link_out_uri,
  :revision_id,
  :title,
  :upload_id)
  SENSITIVE = []
  include Aws::Structure
end

#knowledge_base_idString

The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base. Can be either the ID or the ARN

Returns:

  • (String)


4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 4217

class UpdateContentRequest < Struct.new(
  :content_id,
  :knowledge_base_id,
  :metadata,
  :override_link_out_uri,
  :remove_override_link_out_uri,
  :revision_id,
  :title,
  :upload_id)
  SENSITIVE = []
  include Aws::Structure
end

#metadataHash<String,String>

A key/value map to store attributes without affecting tagging or recommendations. For example, when synchronizing data between an external system and Amazon Q in Connect, you can store an external version identifier as metadata to utilize for determining drift.

Returns:

  • (Hash<String,String>)


4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 4217

class UpdateContentRequest < Struct.new(
  :content_id,
  :knowledge_base_id,
  :metadata,
  :override_link_out_uri,
  :remove_override_link_out_uri,
  :revision_id,
  :title,
  :upload_id)
  SENSITIVE = []
  include Aws::Structure
end

The URI for the article. If the knowledge base has a templateUri, setting this argument overrides it for this piece of content. To remove an existing overrideLinkOurUri, exclude this argument and set removeOverrideLinkOutUri to true.

Returns:

  • (String)


4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 4217

class UpdateContentRequest < Struct.new(
  :content_id,
  :knowledge_base_id,
  :metadata,
  :override_link_out_uri,
  :remove_override_link_out_uri,
  :revision_id,
  :title,
  :upload_id)
  SENSITIVE = []
  include Aws::Structure
end

Unset the existing overrideLinkOutUri if it exists.

Returns:

  • (Boolean)


4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 4217

class UpdateContentRequest < Struct.new(
  :content_id,
  :knowledge_base_id,
  :metadata,
  :override_link_out_uri,
  :remove_override_link_out_uri,
  :revision_id,
  :title,
  :upload_id)
  SENSITIVE = []
  include Aws::Structure
end

#revision_idString

The revisionId of the content resource to update, taken from an earlier call to GetContent, GetContentSummary, SearchContent, or ListContents. If included, this argument acts as an optimistic lock to ensure content was not modified since it was last read. If it has been modified, this API throws a PreconditionFailedException.

Returns:

  • (String)


4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 4217

class UpdateContentRequest < Struct.new(
  :content_id,
  :knowledge_base_id,
  :metadata,
  :override_link_out_uri,
  :remove_override_link_out_uri,
  :revision_id,
  :title,
  :upload_id)
  SENSITIVE = []
  include Aws::Structure
end

#titleString

The title of the content.

Returns:

  • (String)


4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 4217

class UpdateContentRequest < Struct.new(
  :content_id,
  :knowledge_base_id,
  :metadata,
  :override_link_out_uri,
  :remove_override_link_out_uri,
  :revision_id,
  :title,
  :upload_id)
  SENSITIVE = []
  include Aws::Structure
end

#upload_idString

A pointer to the uploaded asset. This value is returned by StartContentUpload.

Returns:

  • (String)


4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 4217

class UpdateContentRequest < Struct.new(
  :content_id,
  :knowledge_base_id,
  :metadata,
  :override_link_out_uri,
  :remove_override_link_out_uri,
  :revision_id,
  :title,
  :upload_id)
  SENSITIVE = []
  include Aws::Structure
end