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)


9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 9842

class UpdateContentRequest < Struct.new(
  :knowledge_base_id,
  :content_id,
  :revision_id,
  :title,
  :override_link_out_uri,
  :remove_override_link_out_uri,
  :metadata,
  :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)


9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 9842

class UpdateContentRequest < Struct.new(
  :knowledge_base_id,
  :content_id,
  :revision_id,
  :title,
  :override_link_out_uri,
  :remove_override_link_out_uri,
  :metadata,
  :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>)


9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 9842

class UpdateContentRequest < Struct.new(
  :knowledge_base_id,
  :content_id,
  :revision_id,
  :title,
  :override_link_out_uri,
  :remove_override_link_out_uri,
  :metadata,
  :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)


9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 9842

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

Unset the existing overrideLinkOutUri if it exists.

Returns:

  • (Boolean)


9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 9842

class UpdateContentRequest < Struct.new(
  :knowledge_base_id,
  :content_id,
  :revision_id,
  :title,
  :override_link_out_uri,
  :remove_override_link_out_uri,
  :metadata,
  :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)


9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 9842

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

#titleString

The title of the content.

Returns:

  • (String)


9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 9842

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

#upload_idString

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

Returns:

  • (String)


9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 9842

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