Skip to content

Commit b340661

Browse files
author
AWS
committed
AWSKendraFrontendService Update: Amazon Kendra now supports the indexing of web documents for search through the web crawler.
1 parent d829f97 commit b340661

File tree

2 files changed

+220
-5
lines changed

2 files changed

+220
-5
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 supports the indexing of web documents for search through the web crawler."
6+
}

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

Lines changed: 214 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -825,6 +825,45 @@
825825
"type":"list",
826826
"member":{"shape":"AttributeFilter"}
827827
},
828+
"AuthenticationConfiguration":{
829+
"type":"structure",
830+
"members":{
831+
"BasicAuthentication":{
832+
"shape":"BasicAuthenticationConfigurationList",
833+
"documentation":"<p>The list of configuration information that's required to connect to and crawl a website host using basic authentication credentials.</p> <p>The list includes the name and port number of the website host.</p>"
834+
}
835+
},
836+
"documentation":"<p>Provides the configuration information to connect to websites that require user authentication.</p>"
837+
},
838+
"BasicAuthenticationConfiguration":{
839+
"type":"structure",
840+
"required":[
841+
"Host",
842+
"Port",
843+
"Credentials"
844+
],
845+
"members":{
846+
"Host":{
847+
"shape":"Host",
848+
"documentation":"<p>The name of the website host you want to connect to using authentication credentials.</p> <p>For example, the host name of https://a.example.com/page1.html is \"a.example.com\".</p>"
849+
},
850+
"Port":{
851+
"shape":"Port",
852+
"documentation":"<p>The port number of the website host you want to connect to using authentication credentials.</p> <p>For example, the port for https://a.example.com/page1.html is 443, the standard port for HTTPS.</p>"
853+
},
854+
"Credentials":{
855+
"shape":"SecretArn",
856+
"documentation":"<p>Your secret ARN, which you can create in <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/intro.html\">AWS Secrets Manager</a> </p> <p>You use a secret if basic authentication credentials are required to connect to a website. The secret stores your credentials of user name and password.</p>"
857+
}
858+
},
859+
"documentation":"<p>Provides the configuration information to connect to websites that require basic user authentication.</p>"
860+
},
861+
"BasicAuthenticationConfigurationList":{
862+
"type":"list",
863+
"member":{"shape":"BasicAuthenticationConfiguration"},
864+
"max":10,
865+
"min":0
866+
},
828867
"BatchDeleteDocumentRequest":{
829868
"type":"structure",
830869
"required":[
@@ -989,14 +1028,14 @@
9891028
"members":{
9901029
"StorageCapacityUnits":{
9911030
"shape":"StorageCapacityUnit",
992-
"documentation":"<p>The amount of extra storage capacity for an index. Each capacity unit provides 150 Gb of storage space or 500,000 documents, whichever is reached first.</p>"
1031+
"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>"
9931032
},
9941033
"QueryCapacityUnits":{
9951034
"shape":"QueryCapacityUnit",
996-
"documentation":"<p>The amount of extra query capacity for an index. Each capacity unit provides 0.5 queries per second and 40,000 queries per day.</p>"
1035+
"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>"
9971036
}
9981037
},
999-
"documentation":"<p>Specifies capacity units configured for your index. You can add and remove capacity units to tune an index to your requirements.</p>"
1038+
"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>"
10001039
},
10011040
"ChangeDetectingColumns":{
10021041
"type":"list",
@@ -1416,6 +1455,11 @@
14161455
"PPT"
14171456
]
14181457
},
1458+
"CrawlDepth":{
1459+
"type":"integer",
1460+
"max":10,
1461+
"min":0
1462+
},
14191463
"CreateDataSourceRequest":{
14201464
"type":"structure",
14211465
"required":[
@@ -1713,7 +1757,8 @@
17131757
"GoogleDriveConfiguration":{
17141758
"shape":"GoogleDriveConfiguration",
17151759
"documentation":"<p>Provides configuration for data sources that connect to Google Drive. </p>"
1716-
}
1760+
},
1761+
"WebCrawlerConfiguration":{"shape":"WebCrawlerConfiguration"}
17171762
},
17181763
"documentation":"<p>Configuration information for a Amazon Kendra data source.</p>"
17191764
},
@@ -1936,7 +1981,8 @@
19361981
"SERVICENOW",
19371982
"CUSTOM",
19381983
"CONFLUENCE",
1939-
"GOOGLEDRIVE"
1984+
"GOOGLEDRIVE",
1985+
"WEBCRAWLER"
19401986
]
19411987
},
19421988
"DataSourceVpcConfiguration":{
@@ -3010,6 +3056,12 @@
30103056
"THESAURUS_SYNONYM"
30113057
]
30123058
},
3059+
"Host":{
3060+
"type":"string",
3061+
"max":253,
3062+
"min":1,
3063+
"pattern":"([^\\s]*)"
3064+
},
30133065
"Importance":{
30143066
"type":"integer",
30153067
"max":10,
@@ -3418,6 +3470,16 @@
34183470
}
34193471
},
34203472
"Long":{"type":"long"},
3473+
"MaxContentSizePerPageInMegaBytes":{
3474+
"type":"float",
3475+
"max":50,
3476+
"min":1.0e-06
3477+
},
3478+
"MaxLinksPerPage":{
3479+
"type":"integer",
3480+
"max":1000,
3481+
"min":1
3482+
},
34213483
"MaxResultsIntegerForListDataSourceSyncJobsRequest":{
34223484
"type":"integer",
34233485
"max":10,
@@ -3448,6 +3510,11 @@
34483510
"max":100,
34493511
"min":1
34503512
},
3513+
"MaxUrlsPerMinuteCrawlRate":{
3514+
"type":"integer",
3515+
"max":300,
3516+
"min":1
3517+
},
34513518
"MetricValue":{
34523519
"type":"string",
34533520
"pattern":"(([1-9][0-9]*)|0)"
@@ -3553,6 +3620,11 @@
35533620
"DESCENDING"
35543621
]
35553622
},
3623+
"Port":{
3624+
"type":"integer",
3625+
"max":65535,
3626+
"min":1
3627+
},
35563628
"Principal":{
35573629
"type":"structure",
35583630
"required":[
@@ -3593,6 +3665,28 @@
35933665
"GROUP"
35943666
]
35953667
},
3668+
"ProxyConfiguration":{
3669+
"type":"structure",
3670+
"required":[
3671+
"Host",
3672+
"Port"
3673+
],
3674+
"members":{
3675+
"Host":{
3676+
"shape":"Host",
3677+
"documentation":"<p>The name of the website host you want to connect to via a web proxy server.</p> <p>For example, the host name of https://a.example.com/page1.html is \"a.example.com\".</p>"
3678+
},
3679+
"Port":{
3680+
"shape":"Port",
3681+
"documentation":"<p>The port number of the website host you want to connect to via a web proxy server. </p> <p>For example, the port for https://a.example.com/page1.html is 443, the standard port for HTTPS.</p>"
3682+
},
3683+
"Credentials":{
3684+
"shape":"SecretArn",
3685+
"documentation":"<p>Your secret ARN, which you can create in <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/intro.html\">AWS Secrets Manager</a> </p> <p>The credentials are optional. You use a secret if web proxy credentials are required to connect to a website host. Amazon Kendra currently support basic authentication to connect to a web proxy server. The secret stores your credentials.</p>"
3686+
}
3687+
},
3688+
"documentation":"<p>Provides the configuration information for a web proxy to connect to website hosts.</p>"
3689+
},
35963690
"QueryCapacityUnit":{
35973691
"type":"integer",
35983692
"min":0
@@ -4278,6 +4372,33 @@
42784372
"max":10,
42794373
"min":1
42804374
},
4375+
"SeedUrl":{
4376+
"type":"string",
4377+
"max":2048,
4378+
"min":1,
4379+
"pattern":"^(https?):\\/\\/([^\\s]*)"
4380+
},
4381+
"SeedUrlConfiguration":{
4382+
"type":"structure",
4383+
"required":["SeedUrls"],
4384+
"members":{
4385+
"SeedUrls":{
4386+
"shape":"SeedUrlList",
4387+
"documentation":"<p>The list of seed or starting point URLs of the websites you want to crawl.</p> <p>The list can include a maximum of 100 seed URLs.</p>"
4388+
},
4389+
"WebCrawlerMode":{
4390+
"shape":"WebCrawlerMode",
4391+
"documentation":"<p>You can choose one of the following modes:</p> <ul> <li> <p> <code>HOST_ONLY</code> – crawl only the website host names. For example, if the seed URL is \"abc.example.com\", then only URLs with host name \"abc.example.com\" are crawled.</p> </li> <li> <p> <code>SUBDOMAINS</code> – crawl the website host names with subdomains. For example, if the seed URL is \"abc.example.com\", then \"a.abc.example.com\" and \"b.abc.example.com\" are also crawled.</p> </li> <li> <p> <code>EVERYTHING</code> – crawl the website host names with subdomains and other domains that the webpages link to.</p> </li> </ul> <p>The default mode is set to <code>HOST_ONLY</code>.</p>"
4392+
}
4393+
},
4394+
"documentation":"<p>Provides the configuration information of the seed or starting point URLs to crawl.</p> <p> <i>When selecting websites to index, you must adhere to the <a href=\"https://aws.amazon.com/aup/\">Amazon Acceptable Use Policy</a> and all other Amazon terms. Remember that you must only use the Amazon Kendra web crawler to index your own webpages, or webpages that you have authorization to index.</i> </p>"
4395+
},
4396+
"SeedUrlList":{
4397+
"type":"list",
4398+
"member":{"shape":"SeedUrl"},
4399+
"max":100,
4400+
"min":0
4401+
},
42814402
"ServerSideEncryptionConfiguration":{
42824403
"type":"structure",
42834404
"members":{
@@ -4491,6 +4612,29 @@
44914612
"min":1,
44924613
"pattern":"^\\P{C}*$"
44934614
},
4615+
"SiteMap":{
4616+
"type":"string",
4617+
"max":2048,
4618+
"min":1,
4619+
"pattern":"^(https?):\\/\\/([^\\s]*)"
4620+
},
4621+
"SiteMapsConfiguration":{
4622+
"type":"structure",
4623+
"required":["SiteMaps"],
4624+
"members":{
4625+
"SiteMaps":{
4626+
"shape":"SiteMapsList",
4627+
"documentation":"<p>The list of sitemap URLs of the websites you want to crawl.</p> <p>The list can include a maximum of three sitemap URLs.</p>"
4628+
}
4629+
},
4630+
"documentation":"<p>Provides the configuration information of the sitemap URLs to crawl.</p> <p> <i>When selecting websites to index, you must adhere to the <a href=\"https://aws.amazon.com/aup/\">Amazon Acceptable Use Policy</a> and all other Amazon terms. Remember that you must only use the Amazon Kendra web crawler to index your own webpages, or webpages that you have authorization to index.</i> </p>"
4631+
},
4632+
"SiteMapsList":{
4633+
"type":"list",
4634+
"member":{"shape":"SiteMap"},
4635+
"max":3,
4636+
"min":0
4637+
},
44944638
"SortOrder":{
44954639
"type":"string",
44964640
"enum":[
@@ -5083,6 +5227,20 @@
50835227
"min":1,
50845228
"pattern":"^(https?|ftp|file):\\/\\/([^\\s]*)"
50855229
},
5230+
"Urls":{
5231+
"type":"structure",
5232+
"members":{
5233+
"SeedUrlConfiguration":{
5234+
"shape":"SeedUrlConfiguration",
5235+
"documentation":"<p>Provides the configuration of the seed or starting point URLs of the websites you want to crawl.</p> <p>You can choose to crawl only the website host names, or the website host names with subdomains, or the website host names with subdomains and other domains that the webpages link to.</p> <p>You can list up to 100 seed URLs.</p>"
5236+
},
5237+
"SiteMapsConfiguration":{
5238+
"shape":"SiteMapsConfiguration",
5239+
"documentation":"<p>Provides the configuration of the sitemap URLs of the websites you want to crawl.</p> <p>Only URLs belonging to the same website host names are crawled. You can list up to three sitemap URLs.</p>"
5240+
}
5241+
},
5242+
"documentation":"<p>Provides the configuration information of the URLs to crawl.</p> <p> <i>When selecting websites to index, you must adhere to the <a href=\"https://aws.amazon.com/aup/\">Amazon Acceptable Use Policy</a> and all other Amazon terms. Remember that you must only use the Amazon Kendra web crawler to index your own webpages, or webpages that you have authorization to index.</i> </p>"
5243+
},
50865244
"UserAccount":{
50875245
"type":"string",
50885246
"max":256,
@@ -5160,6 +5318,57 @@
51605318
"max":200,
51615319
"min":1,
51625320
"pattern":"[-0-9a-zA-Z]+"
5321+
},
5322+
"WebCrawlerConfiguration":{
5323+
"type":"structure",
5324+
"required":["Urls"],
5325+
"members":{
5326+
"Urls":{
5327+
"shape":"Urls",
5328+
"documentation":"<p>Specifies the seed or starting point URLs of the websites or the sitemap URLs of the websites you want to crawl.</p> <p>You can include website subdomains. You can list up to 100 seed URLs and up to three sitemap URLs.</p> <p> <i>When selecting websites to index, you must adhere to the <a href=\"https://aws.amazon.com/aup/\">Amazon Acceptable Use Policy</a> and all other Amazon terms. Remember that you must only use the Amazon Kendra web crawler to index your own webpages, or webpages that you have authorization to index.</i> </p>"
5329+
},
5330+
"CrawlDepth":{
5331+
"shape":"CrawlDepth",
5332+
"documentation":"<p>Specifies the number of levels in a website that you want to crawl.</p> <p>The first level begins from the website seed or starting point URL. For example, if a website has 3 levels – index level (i.e. seed in this example), sections level, and subsections level – and you are only interested in crawling information up to the sections level (i.e. levels 0-1), you can set your depth to 1.</p> <p>The default crawl depth is set to 2.</p>"
5333+
},
5334+
"MaxLinksPerPage":{
5335+
"shape":"MaxLinksPerPage",
5336+
"documentation":"<p>The maximum number of URLs on a webpage to include when crawling a website. This number is per webpage.</p> <p>As a website’s webpages are crawled, any URLs the webpages link to are also crawled. URLs on a webpage are crawled in order of appearance.</p> <p>The default maximum links per page is 100.</p>"
5337+
},
5338+
"MaxContentSizePerPageInMegaBytes":{
5339+
"shape":"MaxContentSizePerPageInMegaBytes",
5340+
"documentation":"<p>The maximum size (in MB) of a webpage or attachment to crawl.</p> <p>Files larger than this size (in MB) are skipped/not crawled.</p> <p>The default maximum size of a webpage or attachment is set to 50 MB.</p>"
5341+
},
5342+
"MaxUrlsPerMinuteCrawlRate":{
5343+
"shape":"MaxUrlsPerMinuteCrawlRate",
5344+
"documentation":"<p>The maximum number of URLs crawled per website host per minute.</p> <p>A minimum of one URL is required.</p> <p>The default maximum number of URLs crawled per website host per minute is 300.</p>"
5345+
},
5346+
"UrlInclusionPatterns":{
5347+
"shape":"DataSourceInclusionsExclusionsStrings",
5348+
"documentation":"<p>The regular expression pattern to include certain URLs to crawl.</p> <p>If there is a regular expression pattern to exclude certain URLs that conflicts with the include pattern, the exclude pattern takes precedence.</p>"
5349+
},
5350+
"UrlExclusionPatterns":{
5351+
"shape":"DataSourceInclusionsExclusionsStrings",
5352+
"documentation":"<p>The regular expression pattern to exclude certain URLs to crawl.</p> <p>If there is a regular expression pattern to include certain URLs that conflicts with the exclude pattern, the exclude pattern takes precedence.</p>"
5353+
},
5354+
"ProxyConfiguration":{
5355+
"shape":"ProxyConfiguration",
5356+
"documentation":"<p>Provides configuration information required to connect to your internal websites via a web proxy.</p> <p>You must provide the website host name and port number. For example, the host name of https://a.example.com/page1.html is \"a.example.com\" and the port is 443, the standard port for HTTPS.</p> <p>Web proxy credentials are optional and you can use them to connect to a web proxy server that requires basic authentication. To store web proxy credentials, you use a secret in <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/intro.html\">AWS Secrets Manager</a>.</p>"
5357+
},
5358+
"AuthenticationConfiguration":{
5359+
"shape":"AuthenticationConfiguration",
5360+
"documentation":"<p>Provides configuration information required to connect to websites using authentication.</p> <p>You can connect to websites using basic authentication of user name and password.</p> <p>You must provide the website host name and port number. For example, the host name of https://a.example.com/page1.html is \"a.example.com\" and the port is 443, the standard port for HTTPS. You use a secret in <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/intro.html\">AWS Secrets Manager</a> to store your authentication credentials.</p>"
5361+
}
5362+
},
5363+
"documentation":"<p>Provides the configuration information required for Amazon Kendra web crawler.</p>"
5364+
},
5365+
"WebCrawlerMode":{
5366+
"type":"string",
5367+
"enum":[
5368+
"HOST_ONLY",
5369+
"SUBDOMAINS",
5370+
"EVERYTHING"
5371+
]
51635372
}
51645373
},
51655374
"documentation":"<p>Amazon Kendra is a service for indexing large document sets.</p>"

0 commit comments

Comments
 (0)