Class: Aws::Kendra::Types::CreateAccessControlConfigurationRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-kendra/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#access_control_listArray<Types::Principal>

Information on principals (users and/or groups) and which documents they should have access to. This is useful for user context filtering, where search results are filtered based on the user or their group access to documents.

Returns:



1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
# File 'lib/aws-sdk-kendra/types.rb', line 1933

class CreateAccessControlConfigurationRequest < Struct.new(
  :index_id,
  :name,
  :description,
  :access_control_list,
  :hierarchical_access_control_list,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#client_tokenString

A token that you provide to identify the request to create an access control configuration. Multiple calls to the ‘CreateAccessControlConfiguration` API with the same client token will create only one access control configuration.

**A suitable default value is auto-generated.** You should normally not need to pass this option.

Returns:

  • (String)


1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
# File 'lib/aws-sdk-kendra/types.rb', line 1933

class CreateAccessControlConfigurationRequest < Struct.new(
  :index_id,
  :name,
  :description,
  :access_control_list,
  :hierarchical_access_control_list,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

A description for the access control configuration.

Returns:

  • (String)


1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
# File 'lib/aws-sdk-kendra/types.rb', line 1933

class CreateAccessControlConfigurationRequest < Struct.new(
  :index_id,
  :name,
  :description,
  :access_control_list,
  :hierarchical_access_control_list,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#hierarchical_access_control_listArray<Types::HierarchicalPrincipal>

The list of [principal] lists that define the hierarchy for which documents users should have access to.

[1]: docs.aws.amazon.com/kendra/latest/dg/API_Principal.html

Returns:



1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
# File 'lib/aws-sdk-kendra/types.rb', line 1933

class CreateAccessControlConfigurationRequest < Struct.new(
  :index_id,
  :name,
  :description,
  :access_control_list,
  :hierarchical_access_control_list,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#index_idString

The identifier of the index to create an access control configuration for your documents.

Returns:

  • (String)


1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
# File 'lib/aws-sdk-kendra/types.rb', line 1933

class CreateAccessControlConfigurationRequest < Struct.new(
  :index_id,
  :name,
  :description,
  :access_control_list,
  :hierarchical_access_control_list,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

A name for the access control configuration.

Returns:

  • (String)


1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
# File 'lib/aws-sdk-kendra/types.rb', line 1933

class CreateAccessControlConfigurationRequest < Struct.new(
  :index_id,
  :name,
  :description,
  :access_control_list,
  :hierarchical_access_control_list,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end