Skip to content

Commit

Permalink
feat(client-kendra): This release enables our customer to choose the …
Browse files Browse the repository at this point in the history
…option of Sharepoint 2019 for the on-premise Sharepoint connector.
  • Loading branch information
awstools committed Sep 13, 2022
1 parent e09e302 commit a3f73d2
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 16 deletions.
1 change: 1 addition & 0 deletions clients/client-kendra/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3465,6 +3465,7 @@ export enum SharePointOnlineAuthenticationType {
export enum SharePointVersion {
SHAREPOINT_2013 = "SHAREPOINT_2013",
SHAREPOINT_2016 = "SHAREPOINT_2016",
SHAREPOINT_2019 = "SHAREPOINT_2019",
SHAREPOINT_ONLINE = "SHAREPOINT_ONLINE",
}

Expand Down
16 changes: 8 additions & 8 deletions clients/client-kendra/src/models/models_1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export interface FacetResult {

/**
* <p>Provides filtering the query results based on document
* attributes.</p>
* attributes or metadata fields.</p>
* <p>When you use the <code>AndAllFilters</code> or
* <code>OrAllFilters</code>, filters you can use 2 layers under the
* first attribute filter. For example, you can use:</p>
Expand Down Expand Up @@ -88,47 +88,47 @@ export interface AttributeFilter {
NotFilter?: AttributeFilter;

/**
* <p>Performs an equals operation on two document attributes.</p>
* <p>Performs an equals operation on two document attributes or metadata fields.</p>
*/
EqualsTo?: DocumentAttribute;

/**
* <p>Returns true when a document contains all of the specified document
* attributes. This filter is only applicable to
* attributes or metadata fields. This filter is only applicable to
* <code>StringListValue</code> metadata.</p>
*/
ContainsAll?: DocumentAttribute;

/**
* <p>Returns true when a document contains any of the specified document
* attributes. This filter is only applicable to
* attributes or metadata fields. This filter is only applicable to
* <code>StringListValue</code> metadata.</p>
*/
ContainsAny?: DocumentAttribute;

/**
* <p>Performs a greater than operation on two document attributes. Use
* <p>Performs a greater than operation on two document attributes or metadata fields. Use
* with a document attribute of type <code>Date</code> or
* <code>Long</code>.</p>
*/
GreaterThan?: DocumentAttribute;

/**
* <p>Performs a greater or equals than operation on two document
* attributes. Use with a document attribute of type <code>Date</code>
* attributes or metadata fields. Use with a document attribute of type <code>Date</code>
* or <code>Long</code>.</p>
*/
GreaterThanOrEquals?: DocumentAttribute;

/**
* <p>Performs a less than operation on two document attributes. Use with
* <p>Performs a less than operation on two document attributes or metadata fields. Use with
* a document attribute of type <code>Date</code> or
* <code>Long</code>.</p>
*/
LessThan?: DocumentAttribute;

/**
* <p>Performs a less than or equals operation on two document attributes.
* <p>Performs a less than or equals operation on two document attributes or metadata fields.
* Use with a document attribute of type <code>Date</code> or
* <code>Long</code>.</p>
*/
Expand Down
20 changes: 12 additions & 8 deletions codegen/sdk-codegen/aws-models/kendra.json
Original file line number Diff line number Diff line change
Expand Up @@ -677,48 +677,48 @@
"EqualsTo": {
"target": "com.amazonaws.kendra#DocumentAttribute",
"traits": {
"smithy.api#documentation": "<p>Performs an equals operation on two document attributes.</p>"
"smithy.api#documentation": "<p>Performs an equals operation on two document attributes or metadata fields.</p>"
}
},
"ContainsAll": {
"target": "com.amazonaws.kendra#DocumentAttribute",
"traits": {
"smithy.api#documentation": "<p>Returns true when a document contains all of the specified document\n attributes. This filter is only applicable to\n <code>StringListValue</code> metadata.</p>"
"smithy.api#documentation": "<p>Returns true when a document contains all of the specified document\n attributes or metadata fields. This filter is only applicable to\n <code>StringListValue</code> metadata.</p>"
}
},
"ContainsAny": {
"target": "com.amazonaws.kendra#DocumentAttribute",
"traits": {
"smithy.api#documentation": "<p>Returns true when a document contains any of the specified document\n attributes. This filter is only applicable to\n <code>StringListValue</code> metadata.</p>"
"smithy.api#documentation": "<p>Returns true when a document contains any of the specified document\n attributes or metadata fields. This filter is only applicable to\n <code>StringListValue</code> metadata.</p>"
}
},
"GreaterThan": {
"target": "com.amazonaws.kendra#DocumentAttribute",
"traits": {
"smithy.api#documentation": "<p>Performs a greater than operation on two document attributes. Use\n with a document attribute of type <code>Date</code> or\n <code>Long</code>.</p>"
"smithy.api#documentation": "<p>Performs a greater than operation on two document attributes or metadata fields. Use\n with a document attribute of type <code>Date</code> or\n <code>Long</code>.</p>"
}
},
"GreaterThanOrEquals": {
"target": "com.amazonaws.kendra#DocumentAttribute",
"traits": {
"smithy.api#documentation": "<p>Performs a greater or equals than operation on two document\n attributes. Use with a document attribute of type <code>Date</code>\n or <code>Long</code>.</p>"
"smithy.api#documentation": "<p>Performs a greater or equals than operation on two document\n attributes or metadata fields. Use with a document attribute of type <code>Date</code>\n or <code>Long</code>.</p>"
}
},
"LessThan": {
"target": "com.amazonaws.kendra#DocumentAttribute",
"traits": {
"smithy.api#documentation": "<p>Performs a less than operation on two document attributes. Use with\n a document attribute of type <code>Date</code> or\n <code>Long</code>.</p>"
"smithy.api#documentation": "<p>Performs a less than operation on two document attributes or metadata fields. Use with\n a document attribute of type <code>Date</code> or\n <code>Long</code>.</p>"
}
},
"LessThanOrEquals": {
"target": "com.amazonaws.kendra#DocumentAttribute",
"traits": {
"smithy.api#documentation": "<p>Performs a less than or equals operation on two document attributes.\n Use with a document attribute of type <code>Date</code> or\n <code>Long</code>.</p>"
"smithy.api#documentation": "<p>Performs a less than or equals operation on two document attributes or metadata fields.\n Use with a document attribute of type <code>Date</code> or\n <code>Long</code>.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Provides filtering the query results based on document\n attributes.</p>\n <p>When you use the <code>AndAllFilters</code> or\n <code>OrAllFilters</code>, filters you can use 2 layers under the\n first attribute filter. For example, you can use:</p>\n <p>\n <code><AndAllFilters></code>\n </p>\n <ol>\n <li>\n <p>\n <code> <OrAllFilters></code>\n </p>\n </li>\n <li>\n <p>\n <code> <EqualsTo></code>\n </p>\n </li>\n </ol>\n <p>If you use more than 2 layers, you receive a\n <code>ValidationException</code> exception with the message\n \"<code>AttributeFilter</code> cannot have a depth of more \n than 2.\"</p>\n <p>If you use more than 10 attribute filters in a given list for \n <code>AndAllFilters</code> or <code>OrAllFilters</code>, you receive \n a <code>ValidationException</code> with the message \n \"<code>AttributeFilter</code> cannot have a length of more than 10\".</p>"
"smithy.api#documentation": "<p>Provides filtering the query results based on document\n attributes or metadata fields.</p>\n <p>When you use the <code>AndAllFilters</code> or\n <code>OrAllFilters</code>, filters you can use 2 layers under the\n first attribute filter. For example, you can use:</p>\n <p>\n <code><AndAllFilters></code>\n </p>\n <ol>\n <li>\n <p>\n <code> <OrAllFilters></code>\n </p>\n </li>\n <li>\n <p>\n <code> <EqualsTo></code>\n </p>\n </li>\n </ol>\n <p>If you use more than 2 layers, you receive a\n <code>ValidationException</code> exception with the message\n \"<code>AttributeFilter</code> cannot have a depth of more \n than 2.\"</p>\n <p>If you use more than 10 attribute filters in a given list for \n <code>AndAllFilters</code> or <code>OrAllFilters</code>, you receive \n a <code>ValidationException</code> with the message \n \"<code>AttributeFilter</code> cannot have a length of more than 10\".</p>"
}
},
"com.amazonaws.kendra#AttributeFilterList": {
Expand Down Expand Up @@ -11087,6 +11087,10 @@
{
"value": "SHAREPOINT_ONLINE",
"name": "SHAREPOINT_ONLINE"
},
{
"value": "SHAREPOINT_2019",
"name": "SHAREPOINT_2019"
}
]
}
Expand Down

0 comments on commit a3f73d2

Please sign in to comment.