Skip to content

Commit d9d46f8

Browse files
author
AWS
committed
AWSKendraFrontendService Update: Amazon Kendra now provides a data source connector for Amazon WorkDocs. For more information, see https://docs.aws.amazon.com/kendra/latest/dg/data-source-workdocs.html
1 parent 37d5618 commit d9d46f8

File tree

2 files changed

+57
-9
lines changed

2 files changed

+57
-9
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "AWSKendraFrontendService",
4+
"contributor": "",
5+
"description": "Amazon Kendra now provides a data source connector for Amazon WorkDocs. For more information, see https://docs.aws.amazon.com/kendra/latest/dg/data-source-workdocs.html"
6+
}

services/kendra/src/main/resources/codegen-resources/service-2.json

Lines changed: 51 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -646,7 +646,7 @@
646646
{"shape":"AccessDeniedException"},
647647
{"shape":"InternalServerException"}
648648
],
649-
"documentation":"<p>Enables you to provide feedback to Amazon Kendra to improve the performance of the service. </p>"
649+
"documentation":"<p>Enables you to provide feedback to Amazon Kendra to improve the performance of your index. </p>"
650650
},
651651
"TagResource":{
652652
"name":"TagResource",
@@ -889,7 +889,7 @@
889889
"documentation":"<p>Performs a less than or equals operation on two document attributes. Use with a document attribute of type <code>Integer</code> or <code>Long</code>.</p>"
890890
}
891891
},
892-
"documentation":"<p>Provides filtering the query results based on document attributes.</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> <p> <code>&lt;AndAllFilters&gt;</code> </p> <ol> <li> <p> <code> &lt;OrAllFilters&gt;</code> </p> </li> <li> <p> <code> &lt;EqualTo&gt;</code> </p> </li> </ol> <p>If you use more than 2 layers, you receive a <code>ValidationException</code> exception with the message \"<code>AttributeFilter</code> cannot have a depth of more than 2.\"</p>"
892+
"documentation":"<p>Provides filtering the query results based on document attributes.</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> <p> <code>&lt;AndAllFilters&gt;</code> </p> <ol> <li> <p> <code> &lt;OrAllFilters&gt;</code> </p> </li> <li> <p> <code> &lt;EqualTo&gt;</code> </p> </li> </ol> <p>If you use more than 2 layers, you receive a <code>ValidationException</code> exception with the message \"<code>AttributeFilter</code> cannot have a depth of more than 2.\"</p> <p>If you use more than 10 attribute filters, you receive a <code>ValidationException</code> exception with the message \"<code>AttributeFilter</code> cannot have a length of more than 10\".</p>"
893893
},
894894
"AttributeFilterList":{
895895
"type":"list",
@@ -1098,11 +1098,11 @@
10981098
"members":{
10991099
"StorageCapacityUnits":{
11001100
"shape":"StorageCapacityUnit",
1101-
"documentation":"<p>The amount of extra storage capacity for an index. A single capacity unit for an index provides 150 GB of storage space or 500,000 documents, whichever is reached first.</p>"
1101+
"documentation":"<p>The amount of extra storage capacity for an index. A single capacity unit provides 30 GB of storage space or 100,000 documents, whichever is reached first.</p>"
11021102
},
11031103
"QueryCapacityUnits":{
11041104
"shape":"QueryCapacityUnit",
1105-
"documentation":"<p>The amount of extra query capacity for an index and <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/API_GetQuerySuggestions.html\">GetQuerySuggestions</a> capacity.</p> <p>A single extra capacity unit for an index provides 0.5 queries per second or approximately 40,000 queries per day.</p> <p> <code>GetQuerySuggestions</code> capacity is 5 times the provisioned query capacity for an index. For example, the base capacity for an index is 0.5 queries per second, so GetQuerySuggestions capacity is 2.5 calls per second. If adding another 0.5 queries per second to total 1 queries per second for an index, the <code>GetQuerySuggestions</code> capacity is 5 calls per second.</p>"
1105+
"documentation":"<p>The amount of extra query capacity for an index and <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/API_GetQuerySuggestions.html\">GetQuerySuggestions</a> capacity.</p> <p>A single extra capacity unit for an index provides 0.1 queries per second or approximately 8,000 queries per day.</p> <p> <code>GetQuerySuggestions</code> capacity is five times the provisioned query capacity for an index, or the base capacity of 2.5 calls per second, whichever is higher. For example, the base capacity for an index is 0.1 queries per second, and <code>GetQuerySuggestions</code> capacity has a base of 2.5 calls per second. If you add another 0.1 queries per second to total 0.2 queries per second for an index, the <code>GetQuerySuggestions</code> capacity is 2.5 calls per second (higher than five times 0.2 queries per second).</p>"
11061106
}
11071107
},
11081108
"documentation":"<p>Specifies capacity units configured for your enterprise edition index. You can add and remove capacity units to tune an index to your requirements.</p>"
@@ -1510,7 +1510,7 @@
15101510
},
15111511
"SecretArn":{
15121512
"shape":"SecretArn",
1513-
"documentation":"<p>The Amazon Resource Name (ARN) of credentials stored in AWS Secrets Manager. The credentials should be a user/password pair. For more information, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/data-source-database.html\">Using a Database Data Source</a>. For more information about AWS Secrets Manager, see <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/intro.html\"> What Is AWS Secrets Manager </a> in the <i> Secrets Manager </i> user guide.</p>"
1513+
"documentation":"<p>The Amazon Resource Name (ARN) of credentials stored in Secrets Manager. The credentials should be a user/password pair. For more information, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/data-source-database.html\">Using a Database Data Source</a>. For more information about Secrets Manager, see <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/intro.html\"> What Is Secrets Manager</a> in the <i> Secrets Manager </i> user guide.</p>"
15141514
}
15151515
},
15161516
"documentation":"<p>Provides the information necessary to connect to a database.</p>"
@@ -1653,7 +1653,7 @@
16531653
},
16541654
"Edition":{
16551655
"shape":"IndexEdition",
1656-
"documentation":"<p>The Amazon Kendra edition to use for the index. Choose <code>DEVELOPER_EDITION</code> for indexes intended for development, testing, or proof of concept. Use <code>ENTERPRISE_EDITION</code> for your production databases. Once you set the edition for an index, it can't be changed. </p> <p>The <code>Edition</code> parameter is optional. If you don't supply a value, the default is <code>ENTERPRISE_EDITION</code>.</p>"
1656+
"documentation":"<p>The Amazon Kendra edition to use for the index. Choose <code>DEVELOPER_EDITION</code> for indexes intended for development, testing, or proof of concept. Use <code>ENTERPRISE_EDITION</code> for your production databases. Once you set the edition for an index, it can't be changed.</p> <p>The <code>Edition</code> parameter is optional. If you don't supply a value, the default is <code>ENTERPRISE_EDITION</code>.</p> <p>For more information on quota limits for enterprise and developer editions, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/quotas.html\">Quotas</a>.</p>"
16571657
},
16581658
"RoleArn":{
16591659
"shape":"RoleArn",
@@ -1828,7 +1828,11 @@
18281828
"shape":"GoogleDriveConfiguration",
18291829
"documentation":"<p>Provides configuration for data sources that connect to Google Drive. </p>"
18301830
},
1831-
"WebCrawlerConfiguration":{"shape":"WebCrawlerConfiguration"}
1831+
"WebCrawlerConfiguration":{"shape":"WebCrawlerConfiguration"},
1832+
"WorkDocsConfiguration":{
1833+
"shape":"WorkDocsConfiguration",
1834+
"documentation":"<p>Provides the configuration information to connect to WorkDocs as your data source.</p>"
1835+
}
18321836
},
18331837
"documentation":"<p>Configuration information for a Amazon Kendra data source.</p>"
18341838
},
@@ -2076,7 +2080,8 @@
20762080
"CUSTOM",
20772081
"CONFLUENCE",
20782082
"GOOGLEDRIVE",
2079-
"WEBCRAWLER"
2083+
"WEBCRAWLER",
2084+
"WORKDOCS"
20802085
]
20812086
},
20822087
"DataSourceVpcConfiguration":{
@@ -3973,6 +3978,12 @@
39733978
"DESCENDING"
39743979
]
39753980
},
3981+
"OrganizationId":{
3982+
"type":"string",
3983+
"max":12,
3984+
"min":12,
3985+
"pattern":"d-[0-9a-fA-F]{10}"
3986+
},
39763987
"Port":{
39773988
"type":"integer",
39783989
"max":65535,
@@ -4968,7 +4979,7 @@
49684979
},
49694980
"SecretArn":{
49704981
"shape":"SecretArn",
4971-
"documentation":"<p>The Amazon Resource Name (ARN) of credentials stored in AWS Secrets Manager. The credentials should be a user/password pair. If you use SharePoint Sever, you also need to provide the sever domain name as part of the credentials. For more information, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/data-source-sharepoint.html\">Using a Microsoft SharePoint Data Source</a>. For more information about AWS Secrets Manager, see <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/intro.html\"> What Is AWS Secrets Manager </a> in the <i>Secrets Manager </i> user guide.</p>"
4982+
"documentation":"<p>The Amazon Resource Name (ARN) of credentials stored in Secrets Manager. The credentials should be a user/password pair. If you use SharePoint Server, you also need to provide the sever domain name as part of the credentials. For more information, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/data-source-sharepoint.html\">Using a Microsoft SharePoint Data Source</a>. For more information about Secrets Manager, see <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/intro.html\"> What Is Secrets Manager</a> in the <i>Secrets Manager </i> user guide.</p>"
49724983
},
49734984
"CrawlAttachments":{
49744985
"shape":"Boolean",
@@ -5798,6 +5809,37 @@
57985809
"SUBDOMAINS",
57995810
"EVERYTHING"
58005811
]
5812+
},
5813+
"WorkDocsConfiguration":{
5814+
"type":"structure",
5815+
"required":["OrganizationId"],
5816+
"members":{
5817+
"OrganizationId":{
5818+
"shape":"OrganizationId",
5819+
"documentation":"<p>The identifier of the directory corresponding to your Amazon WorkDocs site repository.</p> <p>You can find the organization ID in the <a href=\"https://console.aws.amazon.com/directoryservicev2/\">AWS Directory Service</a> by going to <b>Active Directory</b>, then <b>Directories</b>. Your Amazon WorkDocs site directory has an ID, which is the organization ID. You can also set up a new Amazon WorkDocs directory in the AWS Directory Service console and enable a Amazon WorkDocs site for the directory in the Amazon WorkDocs console.</p>"
5820+
},
5821+
"CrawlComments":{
5822+
"shape":"Boolean",
5823+
"documentation":"<p> <code>TRUE</code> to include comments on documents in your index. Including comments in your index means each comment is a document that can be searched on.</p> <p>The default is set to <code>FALSE</code>.</p>"
5824+
},
5825+
"UseChangeLog":{
5826+
"shape":"Boolean",
5827+
"documentation":"<p> <code>TRUE</code> to use the change logs to update documents in your index instead of scanning all documents.</p> <p>If you are syncing your Amazon WorkDocs data source with your index for the first time, all documents are scanned. After your first sync, you can use the change logs to update your documents in your index for future syncs.</p> <p>The default is set to <code>FALSE</code>.</p>"
5828+
},
5829+
"InclusionPatterns":{
5830+
"shape":"DataSourceInclusionsExclusionsStrings",
5831+
"documentation":"<p>A list of regular expression patterns to include certain files in your Amazon WorkDocs site repository. Files that match the patterns are included in the index. Files that don't match the patterns are excluded from the index. If a file matches both an inclusion pattern and an exclusion pattern, the exclusion pattern takes precedence and the file isn’t included in the index.</p>"
5832+
},
5833+
"ExclusionPatterns":{
5834+
"shape":"DataSourceInclusionsExclusionsStrings",
5835+
"documentation":"<p>A list of regular expression patterns to exclude certain files in your Amazon WorkDocs site repository. Files that match the patterns are excluded from the index. Files that don’t match the patterns are included in the index. If a file matches both an inclusion pattern and an exclusion pattern, the exclusion pattern takes precedence and the file isn’t included in the index.</p>"
5836+
},
5837+
"FieldMappings":{
5838+
"shape":"DataSourceToIndexFieldMappingList",
5839+
"documentation":"<p>A list of <code>DataSourceToIndexFieldMapping</code> objects that map Amazon WorkDocs field names to custom index field names in Amazon Kendra. You must first create the custom index fields using the <code>UpdateIndex</code> operation before you map to Amazon WorkDocs fields. For more information, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html\">Mapping Data Source Fields</a>. The Amazon WorkDocs data source field names need to exist in your Amazon WorkDocs custom metadata.</p>"
5840+
}
5841+
},
5842+
"documentation":"<p>Provides the configuration information to connect to Amazon WorkDocs as your data source.</p> <p>Amazon WorkDocs connector is available in Oregon, North Virginia, Sydney, Singapore and Ireland regions.</p>"
58015843
}
58025844
},
58035845
"documentation":"<p>Amazon Kendra is a service for indexing large document sets.</p>"

0 commit comments

Comments
 (0)