NAME

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

DESCRIPTION

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

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

SYNOPSIS

my $kendra = Paws->service('Kendra');
$kendra->UpdateDataSource(
  Id            => 'MyDataSourceId',
  IndexId       => 'MyIndexId',
  Configuration => {
    DatabaseConfiguration => {
      ColumnConfiguration => {
        ChangeDetectingColumns => [
          'MyColumnName', ...    # min: 1, max: 100
        ],    # min: 1, max: 5
        DocumentDataColumnName  => 'MyColumnName',    # min: 1, max: 100
        DocumentIdColumnName    => 'MyColumnName',    # min: 1, max: 100
        DocumentTitleColumnName => 'MyColumnName',    # min: 1, max: 100
        FieldMappings           => [
          {
            DataSourceFieldName =>
              'MyDataSourceFieldName',                # min: 1, max: 100
            IndexFieldName  => 'MyIndexFieldName',    # min: 1, max: 30
            DateFieldFormat =>
              'MyDataSourceDateFieldFormat',    # min: 4, max: 40; OPTIONAL
          },
          ...
        ],    # min: 1, max: 100; OPTIONAL
      },
      ConnectionConfiguration => {
        DatabaseHost => 'MyDatabaseHost',    # min: 1, max: 253
        DatabaseName => 'MyDatabaseName',    # min: 1, max: 100
        DatabasePort => 1,                   # min: 1, max: 65535
        SecretArn    => 'MySecretArn',       # min: 1, max: 1284
        TableName    => 'MyTableName',       # min: 1, max: 100

      },
      DatabaseEngineType => 'RDS_AURORA_MYSQL'
      , # values: RDS_AURORA_MYSQL, RDS_AURORA_POSTGRESQL, RDS_MYSQL, RDS_POSTGRESQL
      AclConfiguration => {
        AllowedGroupsColumnName => 'MyColumnName',    # min: 1, max: 100

      },    # OPTIONAL
      VpcConfiguration => {
        SecurityGroupIds => [
          'MyVpcSecurityGroupId', ...    # min: 1, max: 200
        ],    # min: 1, max: 10
        SubnetIds => [
          'MySubnetId', ...    # min: 1, max: 200
        ],    # min: 1, max: 6

      },    # OPTIONAL
    },    # OPTIONAL
    S3Configuration => {
      BucketName                     => 'MyS3BucketName',  # min: 3, max: 63
      AccessControlListConfiguration => {
        KeyPath => 'MyS3ObjectKey',    # min: 1, max: 1024; OPTIONAL
      },    # OPTIONAL
      DocumentsMetadataConfiguration => {
        S3Prefix => 'MyS3ObjectKey',    # min: 1, max: 1024; OPTIONAL
      },    # OPTIONAL
      ExclusionPatterns => [
        'MyDataSourceInclusionsExclusionsStringsMember',
        ...    # min: 1, max: 50
      ],    # max: 100; OPTIONAL
      InclusionPrefixes => [
        'MyDataSourceInclusionsExclusionsStringsMember',
        ...    # min: 1, max: 50
      ],    # max: 100; OPTIONAL
    },    # OPTIONAL
    SharePointConfiguration => {
      SecretArn         => 'MySecretArn',        # min: 1, max: 1284
      SharePointVersion => 'SHAREPOINT_ONLINE',  # values: SHAREPOINT_ONLINE
      Urls              => [
        'MyUrl', ...                             # min: 1, max: 2048
      ],    # min: 1, max: 100
      CrawlAttachments       => 1,                        # OPTIONAL
      DocumentTitleFieldName => 'MyDataSourceFieldName',  # min: 1, max: 100
      FieldMappings          => [
        {
          DataSourceFieldName => 'MyDataSourceFieldName', # min: 1, max: 100
          IndexFieldName      => 'MyIndexFieldName',      # min: 1, max: 30
          DateFieldFormat     =>
            'MyDataSourceDateFieldFormat',    # min: 4, max: 40; OPTIONAL
        },
        ...
      ],    # min: 1, max: 100; OPTIONAL
      VpcConfiguration => {
        SecurityGroupIds => [
          'MyVpcSecurityGroupId', ...    # min: 1, max: 200
        ],    # min: 1, max: 10
        SubnetIds => [
          'MySubnetId', ...    # min: 1, max: 200
        ],    # min: 1, max: 6

      },    # OPTIONAL
    },    # OPTIONAL
  },    # OPTIONAL
  Description => 'MyDescription',       # OPTIONAL
  Name        => 'MyDataSourceName',    # OPTIONAL
  RoleArn     => 'MyRoleArn',           # OPTIONAL
  Schedule    => 'MyScanSchedule',      # OPTIONAL
);

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/UpdateDataSource

ATTRIBUTES

Configuration => Paws::Kendra::DataSourceConfiguration

Description => Str

The new description for the data source.

REQUIRED Id => Str

The unique identifier of the data source to update.

REQUIRED IndexId => Str

The identifier of the index that contains the data source to update.

Name => Str

The name of the data source to update. The name of the data source can't be updated. To rename a data source you must delete the data source and re-create it.

RoleArn => Str

The Amazon Resource Name (ARN) of the new role to use when the data source is accessing resources on your behalf.

Schedule => Str

The new update schedule for the data source.

SEE ALSO

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

BUGS and CONTRIBUTIONS

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