AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

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

Overview

Note:

When making an API call, you may pass UpdateContentRequest data as a hash:

{
  content_id: "UuidOrArn", # required
  knowledge_base_id: "UuidOrArn", # required
  metadata: {
    "NonEmptyString" => "NonEmptyString",
  },
  override_link_out_uri: "Uri",
  remove_override_link_out_uri: false,
  revision_id: "NonEmptyString",
  title: "ContentTitle",
  upload_id: "NonEmptyString",
}

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)


2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
# File 'gems/aws-sdk-connectwisdomservice/lib/aws-sdk-connectwisdomservice/types.rb', line 2507

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 the identifier of the knowledge base. Can be either the ID or the ARN

Returns:

  • (String)


2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
# File 'gems/aws-sdk-connectwisdomservice/lib/aws-sdk-connectwisdomservice/types.rb', line 2507

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


2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
# File 'gems/aws-sdk-connectwisdomservice/lib/aws-sdk-connectwisdomservice/types.rb', line 2507

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)


2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
# File 'gems/aws-sdk-connectwisdomservice/lib/aws-sdk-connectwisdomservice/types.rb', line 2507

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)


2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
# File 'gems/aws-sdk-connectwisdomservice/lib/aws-sdk-connectwisdomservice/types.rb', line 2507

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)


2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
# File 'gems/aws-sdk-connectwisdomservice/lib/aws-sdk-connectwisdomservice/types.rb', line 2507

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)


2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
# File 'gems/aws-sdk-connectwisdomservice/lib/aws-sdk-connectwisdomservice/types.rb', line 2507

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)


2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
# File 'gems/aws-sdk-connectwisdomservice/lib/aws-sdk-connectwisdomservice/types.rb', line 2507

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