GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Paws::Kendra::CreateIndex(3) User Contributed Perl Documentation Paws::Kendra::CreateIndex(3)

Paws::Kendra::CreateIndex - Arguments for method CreateIndex on Paws::Kendra

This class represents the parameters used for calling the method CreateIndex on the AWSKendraFrontendService service. Use the attributes of this class as arguments to method CreateIndex.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateIndex.

    my $kendra = Paws->service('Kendra');
    my $CreateIndexResponse = $kendra->CreateIndex(
      Name                              => 'MyIndexName',
      RoleArn                           => 'MyRoleArn',
      ClientToken                       => 'MyClientTokenName',    # OPTIONAL
      Description                       => 'MyDescription',        # OPTIONAL
      Edition                           => 'DEVELOPER_EDITION',    # OPTIONAL
      ServerSideEncryptionConfiguration => {
        KmsKeyId => 'MyKmsKeyId',    # min: 1, max: 2048; OPTIONAL
      },    # OPTIONAL
      Tags => [
        {
          Key   => 'MyTagKey',      # min: 1, max: 128
          Value => 'MyTagValue',    # max: 256
        },
        ...
      ],    # OPTIONAL
      UserContextPolicy       => 'ATTRIBUTE_FILTER',    # OPTIONAL
      UserTokenConfigurations => [
        {
          JsonTokenTypeConfiguration => {
            GroupAttributeField    => 'MyString',    # min: 1, max: 2048
            UserNameAttributeField => 'MyString',    # min: 1, max: 2048
          },    # OPTIONAL
          JwtTokenTypeConfiguration => {
            KeyLocation         => 'URL',          # values: URL, SECRET_MANAGER
            ClaimRegex          => 'MyClaimRegex', # min: 1, max: 100; OPTIONAL
            GroupAttributeField =>
              'MyGroupAttributeField',             # min: 1, max: 100; OPTIONAL
            Issuer                 => 'MyIssuer',  # min: 1, max: 65; OPTIONAL
            SecretManagerArn       => 'MyRoleArn', # min: 1, max: 1284
            URL                    => 'MyUrl',     # min: 1, max: 2048; OPTIONAL
            UserNameAttributeField =>
              'MyUserNameAttributeField',          # min: 1, max: 100; OPTIONAL
          },    # OPTIONAL
        },
        ...
      ],    # OPTIONAL
    );
    # Results:
    my $Id = $CreateIndexResponse->Id;
    # Returns a L<Paws::Kendra::CreateIndexResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see <https://docs.aws.amazon.com/goto/WebAPI/kendra/CreateIndex>

A token that you provide to identify the request to create an index. Multiple calls to the "CreateIndex" operation with the same client token will create only one index.

A description for the index.

The Amazon Kendra edition to use for the index. Choose "DEVELOPER_EDITION" for indexes intended for development, testing, or proof of concept. Use "ENTERPRISE_EDITION" for your production databases. Once you set the edition for an index, it can't be changed.

The "Edition" parameter is optional. If you don't supply a value, the default is "ENTERPRISE_EDITION".

For more information on quota limits for enterprise and developer editions, see Quotas (https://docs.aws.amazon.com/kendra/latest/dg/quotas.html).

Valid values are: "DEVELOPER_EDITION", "ENTERPRISE_EDITION"

REQUIRED Name => Str

The name for the new index.

REQUIRED RoleArn => Str

An AWS Identity and Access Management (IAM) role that gives Amazon Kendra permissions to access your Amazon CloudWatch logs and metrics. This is also the role used when you use the "BatchPutDocument" operation to index documents from an Amazon S3 bucket.

The identifier of the AWS KMS customer managed key (CMK) to use to encrypt data indexed by Amazon Kendra. Amazon Kendra doesn't support asymmetric CMKs.

A list of key-value pairs that identify the index. You can use the tags to identify and organize your resources and to control access to resources.

The user context policy.

All indexed content is searchable and displayable for all users. If there is an access control list, it is ignored. You can filter on user and group attributes.
Enables SSO and token-based user access control. All documents with no access control and all documents accessible to the user will be searchable and displayable.

Valid values are: "ATTRIBUTE_FILTER", "USER_TOKEN"

The user token configuration.

This class forms part of Paws, documenting arguments for method CreateIndex in Paws::Kendra

The source code is located here: <https://github.com/pplu/aws-sdk-perl>

Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>

2022-06-01 perl v5.40.2

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.