Skip to content

Commit a3f73d2

Browse files
author
awstools
committed
feat(client-kendra): This release enables our customer to choose the option of Sharepoint 2019 for the on-premise Sharepoint connector.
1 parent e09e302 commit a3f73d2

File tree

3 files changed

+21
-16
lines changed

3 files changed

+21
-16
lines changed

clients/client-kendra/src/models/models_0.ts

+1
Original file line numberDiff line numberDiff line change
@@ -3465,6 +3465,7 @@ export enum SharePointOnlineAuthenticationType {
34653465
export enum SharePointVersion {
34663466
SHAREPOINT_2013 = "SHAREPOINT_2013",
34673467
SHAREPOINT_2016 = "SHAREPOINT_2016",
3468+
SHAREPOINT_2019 = "SHAREPOINT_2019",
34683469
SHAREPOINT_ONLINE = "SHAREPOINT_ONLINE",
34693470
}
34703471

clients/client-kendra/src/models/models_1.ts

+8-8
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export interface FacetResult {
4040

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

9090
/**
91-
* <p>Performs an equals operation on two document attributes.</p>
91+
* <p>Performs an equals operation on two document attributes or metadata fields.</p>
9292
*/
9393
EqualsTo?: DocumentAttribute;
9494

9595
/**
9696
* <p>Returns true when a document contains all of the specified document
97-
* attributes. This filter is only applicable to
97+
* attributes or metadata fields. This filter is only applicable to
9898
* <code>StringListValue</code> metadata.</p>
9999
*/
100100
ContainsAll?: DocumentAttribute;
101101

102102
/**
103103
* <p>Returns true when a document contains any of the specified document
104-
* attributes. This filter is only applicable to
104+
* attributes or metadata fields. This filter is only applicable to
105105
* <code>StringListValue</code> metadata.</p>
106106
*/
107107
ContainsAny?: DocumentAttribute;
108108

109109
/**
110-
* <p>Performs a greater than operation on two document attributes. Use
110+
* <p>Performs a greater than operation on two document attributes or metadata fields. Use
111111
* with a document attribute of type <code>Date</code> or
112112
* <code>Long</code>.</p>
113113
*/
114114
GreaterThan?: DocumentAttribute;
115115

116116
/**
117117
* <p>Performs a greater or equals than operation on two document
118-
* attributes. Use with a document attribute of type <code>Date</code>
118+
* attributes or metadata fields. Use with a document attribute of type <code>Date</code>
119119
* or <code>Long</code>.</p>
120120
*/
121121
GreaterThanOrEquals?: DocumentAttribute;
122122

123123
/**
124-
* <p>Performs a less than operation on two document attributes. Use with
124+
* <p>Performs a less than operation on two document attributes or metadata fields. Use with
125125
* a document attribute of type <code>Date</code> or
126126
* <code>Long</code>.</p>
127127
*/
128128
LessThan?: DocumentAttribute;
129129

130130
/**
131-
* <p>Performs a less than or equals operation on two document attributes.
131+
* <p>Performs a less than or equals operation on two document attributes or metadata fields.
132132
* Use with a document attribute of type <code>Date</code> or
133133
* <code>Long</code>.</p>
134134
*/

codegen/sdk-codegen/aws-models/kendra.json

+12-8
Original file line numberDiff line numberDiff line change
@@ -677,48 +677,48 @@
677677
"EqualsTo": {
678678
"target": "com.amazonaws.kendra#DocumentAttribute",
679679
"traits": {
680-
"smithy.api#documentation": "<p>Performs an equals operation on two document attributes.</p>"
680+
"smithy.api#documentation": "<p>Performs an equals operation on two document attributes or metadata fields.</p>"
681681
}
682682
},
683683
"ContainsAll": {
684684
"target": "com.amazonaws.kendra#DocumentAttribute",
685685
"traits": {
686-
"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>"
686+
"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>"
687687
}
688688
},
689689
"ContainsAny": {
690690
"target": "com.amazonaws.kendra#DocumentAttribute",
691691
"traits": {
692-
"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>"
692+
"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>"
693693
}
694694
},
695695
"GreaterThan": {
696696
"target": "com.amazonaws.kendra#DocumentAttribute",
697697
"traits": {
698-
"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>"
698+
"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>"
699699
}
700700
},
701701
"GreaterThanOrEquals": {
702702
"target": "com.amazonaws.kendra#DocumentAttribute",
703703
"traits": {
704-
"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>"
704+
"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>"
705705
}
706706
},
707707
"LessThan": {
708708
"target": "com.amazonaws.kendra#DocumentAttribute",
709709
"traits": {
710-
"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>"
710+
"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>"
711711
}
712712
},
713713
"LessThanOrEquals": {
714714
"target": "com.amazonaws.kendra#DocumentAttribute",
715715
"traits": {
716-
"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>"
716+
"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>"
717717
}
718718
}
719719
},
720720
"traits": {
721-
"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>"
721+
"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>"
722722
}
723723
},
724724
"com.amazonaws.kendra#AttributeFilterList": {
@@ -11087,6 +11087,10 @@
1108711087
{
1108811088
"value": "SHAREPOINT_ONLINE",
1108911089
"name": "SHAREPOINT_ONLINE"
11090+
},
11091+
{
11092+
"value": "SHAREPOINT_2019",
11093+
"name": "SHAREPOINT_2019"
1109011094
}
1109111095
]
1109211096
}

0 commit comments

Comments
 (0)