Class: Aws::ConnectWisdomService::Types::UpdateContentRequest

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


3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
# File 'lib/aws-sdk-connectwisdomservice/types.rb', line 3750

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 if you’re storing Wisdom Content resource to it. Can be either the ID or the ARN

Returns:

  • (String)


3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
# File 'lib/aws-sdk-connectwisdomservice/types.rb', line 3750

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 Wisdom, you can store an external version identifier as metadata to utilize for determining drift.

Returns:

  • (Hash<String,String>)


3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
# File 'lib/aws-sdk-connectwisdomservice/types.rb', line 3750

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)


3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
# File 'lib/aws-sdk-connectwisdomservice/types.rb', line 3750

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)


3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
# File 'lib/aws-sdk-connectwisdomservice/types.rb', line 3750

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)


3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
# File 'lib/aws-sdk-connectwisdomservice/types.rb', line 3750

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)


3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
# File 'lib/aws-sdk-connectwisdomservice/types.rb', line 3750

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

[1]: docs.aws.amazon.com/wisdom/latest/APIReference/API_StartContentUpload.html

Returns:

  • (String)


3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
# File 'lib/aws-sdk-connectwisdomservice/types.rb', line 3750

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