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

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


11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
# File 'lib/aws-sdk-qconnect/types.rb', line 11993

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)


11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
# File 'lib/aws-sdk-qconnect/types.rb', line 11993

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>)


11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
# File 'lib/aws-sdk-qconnect/types.rb', line 11993

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)


11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
# File 'lib/aws-sdk-qconnect/types.rb', line 11993

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)


11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
# File 'lib/aws-sdk-qconnect/types.rb', line 11993

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)


11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
# File 'lib/aws-sdk-qconnect/types.rb', line 11993

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)


11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
# File 'lib/aws-sdk-qconnect/types.rb', line 11993

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].

[1]: docs.aws.amazon.com/amazon-q-connect/latest/APIReference/API_StartContentUpload.html

Returns:

  • (String)


11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
# File 'lib/aws-sdk-qconnect/types.rb', line 11993

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