class Aws::Kendra::Types::UpdateIndexRequest

@note When making an API call, you may pass UpdateIndexRequest

data as a hash:

    {
      id: "IndexId", # required
      name: "IndexName",
      role_arn: "RoleArn",
      description: "Description",
      document_metadata_configuration_updates: [
        {
          name: "DocumentMetadataConfigurationName", # required
          type: "STRING_VALUE", # required, accepts STRING_VALUE, STRING_LIST_VALUE, LONG_VALUE, DATE_VALUE
          relevance: {
            freshness: false,
            importance: 1,
            duration: "Duration",
            rank_order: "ASCENDING", # accepts ASCENDING, DESCENDING
            value_importance_map: {
              "ValueImportanceMapKey" => 1,
            },
          },
          search: {
            facetable: false,
            searchable: false,
            displayable: false,
            sortable: false,
          },
        },
      ],
      capacity_units: {
        storage_capacity_units: 1, # required
        query_capacity_units: 1, # required
      },
      user_token_configurations: [
        {
          jwt_token_type_configuration: {
            key_location: "URL", # required, accepts URL, SECRET_MANAGER
            url: "Url",
            secret_manager_arn: "RoleArn",
            user_name_attribute_field: "UserNameAttributeField",
            group_attribute_field: "GroupAttributeField",
            issuer: "Issuer",
            claim_regex: "ClaimRegex",
          },
          json_token_type_configuration: {
            user_name_attribute_field: "String", # required
            group_attribute_field: "String", # required
          },
        },
      ],
      user_context_policy: "ATTRIBUTE_FILTER", # accepts ATTRIBUTE_FILTER, USER_TOKEN
    }

@!attribute [rw] id

The identifier of the index to update.
@return [String]

@!attribute [rw] name

The name of the index to update.
@return [String]

@!attribute [rw] role_arn

A new IAM role that gives Amazon Kendra permission to access your
Amazon CloudWatch logs.
@return [String]

@!attribute [rw] description

A new description for the index.
@return [String]

@!attribute [rw] document_metadata_configuration_updates

The document metadata to update.
@return [Array<Types::DocumentMetadataConfiguration>]

@!attribute [rw] capacity_units

Sets the number of additional storage and query capacity units that
should be used by the index. You can change the capacity of the
index up to 5 times per day.

If you are using extra storage units, you can't reduce the storage
capacity below that required to meet the storage needs for your
index.
@return [Types::CapacityUnitsConfiguration]

@!attribute [rw] user_token_configurations

The user token configuration.
@return [Array<Types::UserTokenConfiguration>]

@!attribute [rw] user_context_policy

The user user token context policy.
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/UpdateIndexRequest AWS API Documentation

Constants

SENSITIVE