Skip to content

Commit

Permalink
Updates SDK to v2.1293.0
Browse files Browse the repository at this point in the history
  • Loading branch information
awstools committed Jan 11, 2023
1 parent 302d48a commit 13e512c
Show file tree
Hide file tree
Showing 11 changed files with 48 additions and 31 deletions.
7 changes: 7 additions & 0 deletions .changes/2.1293.0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[
{
"type": "feature",
"category": "Kendra",
"description": "This release adds support to new document types - RTF, XML, XSLT, MS_EXCEL, CSV, JSON, MD"
}
]
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# Changelog for AWS SDK for JavaScript
<!--LATEST=2.1292.0-->
<!--LATEST=2.1293.0-->
<!--ENTRYINSERT-->

## 2.1293.0
* feature: Kendra: This release adds support to new document types - RTF, XML, XSLT, MS_EXCEL, CSV, JSON, MD

## 2.1292.0
* bugfix: KendraRanking: Set endpoint to dualstack by default
* feature: Location: This release adds support for two new route travel models, Bicycle and Motorcycle which can be used with Grab data source.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ for further details.
To use the SDK in the browser, simply add the following script tag to your
HTML pages:

<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1292.0.min.js"></script>
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1293.0.min.js"></script>

You can also build a custom browser SDK with your specified set of AWS services.
This can allow you to reduce the SDK's size, specify different API versions of
Expand Down
33 changes: 20 additions & 13 deletions apis/kendra-2019-02-03.normal.json
Original file line number Diff line number Diff line change
Expand Up @@ -1584,7 +1584,7 @@
"shape": "InternalServerException"
}
],
"documentation": "<p>Searches an active index. Use this API to search your documents using query. The <code>Query</code> API enables to do faceted search and to filter results based on document attributes.</p> <p>It also enables you to provide user context that Amazon Kendra uses to enforce document access control in the search results.</p> <p>Amazon Kendra searches your index for text content and question and answer (FAQ) content. By default the response contains three types of results.</p> <ul> <li> <p>Relevant passages</p> </li> <li> <p>Matching FAQs</p> </li> <li> <p>Relevant documents</p> </li> </ul> <p>You can specify that the query return only one type of result using the <code>QueryResultTypeConfig</code> parameter.</p> <p>Each query returns the 100 most relevant results. </p>"
"documentation": "<p>Searches an active index. Use this API to search your documents using query. The <code>Query</code> API enables to do faceted search and to filter results based on document attributes.</p> <p>It also enables you to provide user context that Amazon Kendra uses to enforce document access control in the search results.</p> <p>Amazon Kendra searches your index for text content and question and answer (FAQ) content. By default the response contains three types of results.</p> <ul> <li> <p>Relevant passages</p> </li> <li> <p>Matching FAQs</p> </li> <li> <p>Relevant documents</p> </li> </ul> <p>You can specify that the query return only one type of result using the <code>QueryResultTypeFilter</code> parameter.</p> <p>Each query returns the 100 most relevant results. </p>"
},
"StartDataSourceSyncJob": {
"name": "StartDataSourceSyncJob",
Expand Down Expand Up @@ -2901,7 +2901,7 @@
"documentation": "<p>The name of the index field to map to the Confluence data source field. The index field type must match the Confluence field type.</p>"
}
},
"documentation": "<p>&gt;Maps attributes or field names of Confluence pages to Amazon Kendra index field names. To create custom fields, use the <code>UpdateIndex</code> API before you map to Confluence fields. For more information, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html\">Mapping data source fields</a>. The Confluence data source field names must exist in your Confluence custom metadata.</p>"
"documentation": "<p>Maps attributes or field names of Confluence pages to Amazon Kendra index field names. To create custom fields, use the <code>UpdateIndex</code> API before you map to Confluence fields. For more information, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html\">Mapping data source fields</a>. The Confluence data source field names must exist in your Confluence custom metadata.</p>"
},
"ConfluenceSpaceConfiguration": {
"type": "structure",
Expand Down Expand Up @@ -2975,7 +2975,7 @@
"documentation": "<p>The name of the index field to map to the Confluence data source field. The index field type must match the Confluence field type.</p>"
}
},
"documentation": "<p>&gt;Maps attributes or field names of Confluence spaces to Amazon Kendra index field names. To create custom fields, use the <code>UpdateIndex</code> API before you map to Confluence fields. For more information, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html\">Mapping data source fields</a>. The Confluence data source field names must exist in your Confluence custom metadata.</p>"
"documentation": "<p>Maps attributes or field names of Confluence spaces to Amazon Kendra index field names. To create custom fields, use the <code>UpdateIndex</code> API before you map to Confluence fields. For more information, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html\">Mapping data source fields</a>. The Confluence data source field names must exist in your Confluence custom metadata.</p>"
},
"ConfluenceVersion": {
"type": "string",
Expand Down Expand Up @@ -3042,7 +3042,14 @@
"HTML",
"MS_WORD",
"PLAIN_TEXT",
"PPT"
"PPT",
"RTF",
"XML",
"XSLT",
"MS_EXCEL",
"CSV",
"JSON",
"MD"
]
},
"Correction": {
Expand Down Expand Up @@ -6186,11 +6193,11 @@
"members": {
"JiraAccountUrl": {
"shape": "JiraAccountUrl",
"documentation": "<p>The URL of the Jira account. For example, <i>company.atlassian.net</i> or <i>https://jira.company.com</i>. You can find your Jira account URL in the URL of your profile page for Jira desktop.</p>"
"documentation": "<p>The URL of the Jira account. For example, <i>company.atlassian.net</i>.</p>"
},
"SecretArn": {
"shape": "SecretArn",
"documentation": "<p>The Amazon Resource Name (ARN) of a secret in Secrets Manager contains the key-value pairs required to connect to your Jira data source. The secret must contain a JSON structure with the following keys:</p> <ul> <li> <p>jiraId—The Jira username.</p> </li> <li> <p>jiraCredentials—The Jira API token. For more information on creating an API token in Jira, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/data-source-jira.html\"> Using a Jira data source</a>.</p> </li> </ul>"
"documentation": "<p>The Amazon Resource Name (ARN) of a secret in Secrets Manager contains the key-value pairs required to connect to your Jira data source. The secret must contain a JSON structure with the following keys:</p> <ul> <li> <p>jiraId—The Jira user name or email.</p> </li> <li> <p>jiraCredentials—The Jira API token. For more information, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/data-source-jira.html\">Using a Jira data source</a>.</p> </li> </ul>"
},
"UseChangeLog": {
"shape": "Boolean",
Expand All @@ -6214,23 +6221,23 @@
},
"AttachmentFieldMappings": {
"shape": "DataSourceToIndexFieldMappingList",
"documentation": "<p>A list of DataSourceToIndexFieldMapping objects that map attributes or field names of Jira attachments to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to Jira fields. For more information, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html\"> Mapping data source fields</a>. The Jira data source field names must exist in your Jira custom metadata.</p>"
"documentation": "<p>A list of <code>DataSourceToIndexFieldMapping</code> objects that map attributes or field names of Jira attachments to Amazon Kendra index field names. To create custom fields, use the <code>UpdateIndex</code> API before you map to Jira fields. For more information, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html\"> Mapping data source fields</a>. The Jira data source field names must exist in your Jira custom metadata.</p>"
},
"CommentFieldMappings": {
"shape": "DataSourceToIndexFieldMappingList",
"documentation": "<p>A list of DataSourceToIndexFieldMapping objects that map attributes or field names of Jira comments to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to Jira fields. For more information, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html\"> Mapping data source fields</a>. The Jira data source field names must exist in your Jira custom metadata.</p>"
"documentation": "<p>A list of <code>DataSourceToIndexFieldMapping</code> objects that map attributes or field names of Jira comments to Amazon Kendra index field names. To create custom fields, use the <code>UpdateIndex</code> API before you map to Jira fields. For more information, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html\"> Mapping data source fields</a>. The Jira data source field names must exist in your Jira custom metadata.</p>"
},
"IssueFieldMappings": {
"shape": "DataSourceToIndexFieldMappingList",
"documentation": "<p>A list of DataSourceToIndexFieldMapping objects that map attributes or field names of Jira issues to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to Jira fields. For more information, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html\"> Mapping data source fields</a>. The Jira data source field names must exist in your Jira custom metadata.</p>"
"documentation": "<p>A list of <code>DataSourceToIndexFieldMapping</code> objects that map attributes or field names of Jira issues to Amazon Kendra index field names. To create custom fields, use the <code>UpdateIndex</code> API before you map to Jira fields. For more information, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html\"> Mapping data source fields</a>. The Jira data source field names must exist in your Jira custom metadata.</p>"
},
"ProjectFieldMappings": {
"shape": "DataSourceToIndexFieldMappingList",
"documentation": "<p>A list of DataSourceToIndexFieldMapping objects that map attributes or field names of Jira projects to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to Jira fields. For more information, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html\"> Mapping data source fields</a>. The Jira data source field names must exist in your Jira custom metadata.</p>"
"documentation": "<p>A list of <code>DataSourceToIndexFieldMapping</code> objects that map attributes or field names of Jira projects to Amazon Kendra index field names. To create custom fields, use the <code>UpdateIndex</code> API before you map to Jira fields. For more information, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html\"> Mapping data source fields</a>. The Jira data source field names must exist in your Jira custom metadata.</p>"
},
"WorkLogFieldMappings": {
"shape": "DataSourceToIndexFieldMappingList",
"documentation": "<p>A list of DataSourceToIndexFieldMapping objects that map attributes or field names of Jira work logs to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to Jira fields. For more information, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html\"> Mapping data source fields</a>. The Jira data source field names must exist in your Jira custom metadata.</p>"
"documentation": "<p>A list of <code>DataSourceToIndexFieldMapping</code> objects that map attributes or field names of Jira work logs to Amazon Kendra index field names. To create custom fields, use the <code>UpdateIndex</code> API before you map to Jira fields. For more information, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html\"> Mapping data source fields</a>. The Jira data source field names must exist in your Jira custom metadata.</p>"
},
"InclusionPatterns": {
"shape": "DataSourceInclusionsExclusionsStrings",
Expand All @@ -6242,7 +6249,7 @@
},
"VpcConfiguration": {
"shape": "DataSourceVpcConfiguration",
"documentation": "<p>Configuration information for an Amazon Virtual Private Cloud to connect to your Jira. Your Jira account must reside inside your VPC.</p>"
"documentation": "<p>Configuration information for an Amazon Virtual Private Cloud to connect to your Jira. For more information, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/vpc-configuration.html\">Configuring a VPC</a>.</p>"
}
},
"documentation": "<p>Provides the configuration information to connect to Jira as your data source.</p>"
Expand Down Expand Up @@ -6957,7 +6964,7 @@
},
"SecretArn": {
"shape": "SecretArn",
"documentation": "<p>The Amazon Resource Name (ARN) of an Secrets Managersecret that contains the user name and password to connect to OneDrive. The user namd should be the application ID for the OneDrive application, and the password is the application key for the OneDrive application.</p>"
"documentation": "<p>The Amazon Resource Name (ARN) of an Secrets Managersecret that contains the user name and password to connect to OneDrive. The user name should be the application ID for the OneDrive application, and the password is the application key for the OneDrive application.</p>"
},
"OneDriveUsers": {
"shape": "OneDriveUsers",
Expand Down
14 changes: 7 additions & 7 deletions clients/kendra.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -388,11 +388,11 @@ declare class Kendra extends Service {
*/
putPrincipalMapping(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
/**
* Searches an active index. Use this API to search your documents using query. The Query API enables to do faceted search and to filter results based on document attributes. It also enables you to provide user context that Amazon Kendra uses to enforce document access control in the search results. Amazon Kendra searches your index for text content and question and answer (FAQ) content. By default the response contains three types of results. Relevant passages Matching FAQs Relevant documents You can specify that the query return only one type of result using the QueryResultTypeConfig parameter. Each query returns the 100 most relevant results.
* Searches an active index. Use this API to search your documents using query. The Query API enables to do faceted search and to filter results based on document attributes. It also enables you to provide user context that Amazon Kendra uses to enforce document access control in the search results. Amazon Kendra searches your index for text content and question and answer (FAQ) content. By default the response contains three types of results. Relevant passages Matching FAQs Relevant documents You can specify that the query return only one type of result using the QueryResultTypeFilter parameter. Each query returns the 100 most relevant results.
*/
query(params: Kendra.Types.QueryRequest, callback?: (err: AWSError, data: Kendra.Types.QueryResult) => void): Request<Kendra.Types.QueryResult, AWSError>;
/**
* Searches an active index. Use this API to search your documents using query. The Query API enables to do faceted search and to filter results based on document attributes. It also enables you to provide user context that Amazon Kendra uses to enforce document access control in the search results. Amazon Kendra searches your index for text content and question and answer (FAQ) content. By default the response contains three types of results. Relevant passages Matching FAQs Relevant documents You can specify that the query return only one type of result using the QueryResultTypeConfig parameter. Each query returns the 100 most relevant results.
* Searches an active index. Use this API to search your documents using query. The Query API enables to do faceted search and to filter results based on document attributes. It also enables you to provide user context that Amazon Kendra uses to enforce document access control in the search results. Amazon Kendra searches your index for text content and question and answer (FAQ) content. By default the response contains three types of results. Relevant passages Matching FAQs Relevant documents You can specify that the query return only one type of result using the QueryResultTypeFilter parameter. Each query returns the 100 most relevant results.
*/
query(callback?: (err: AWSError, data: Kendra.Types.QueryResult) => void): Request<Kendra.Types.QueryResult, AWSError>;
/**
Expand Down Expand Up @@ -1112,7 +1112,7 @@ declare namespace Kendra {
*/
DirectPutContent?: Boolean;
}
export type ContentType = "PDF"|"HTML"|"MS_WORD"|"PLAIN_TEXT"|"PPT"|string;
export type ContentType = "PDF"|"HTML"|"MS_WORD"|"PLAIN_TEXT"|"PPT"|"RTF"|"XML"|"XSLT"|"MS_EXCEL"|"CSV"|"JSON"|"MD"|string;
export interface Correction {
/**
* The zero-based location in the response string or text where the corrected word starts.
Expand Down Expand Up @@ -3075,11 +3075,11 @@ declare namespace Kendra {
export type JiraAccountUrl = string;
export interface JiraConfiguration {
/**
* The URL of the Jira account. For example, company.atlassian.net or https://jira.company.com. You can find your Jira account URL in the URL of your profile page for Jira desktop.
* The URL of the Jira account. For example, company.atlassian.net.
*/
JiraAccountUrl: JiraAccountUrl;
/**
* The Amazon Resource Name (ARN) of a secret in Secrets Manager contains the key-value pairs required to connect to your Jira data source. The secret must contain a JSON structure with the following keys: jiraId—The Jira username. jiraCredentials—The Jira API token. For more information on creating an API token in Jira, see Using a Jira data source.
* The Amazon Resource Name (ARN) of a secret in Secrets Manager contains the key-value pairs required to connect to your Jira data source. The secret must contain a JSON structure with the following keys: jiraId—The Jira user name or email. jiraCredentials—The Jira API token. For more information, see Using a Jira data source.
*/
SecretArn: SecretArn;
/**
Expand Down Expand Up @@ -3131,7 +3131,7 @@ declare namespace Kendra {
*/
ExclusionPatterns?: DataSourceInclusionsExclusionsStrings;
/**
* Configuration information for an Amazon Virtual Private Cloud to connect to your Jira. Your Jira account must reside inside your VPC.
* Configuration information for an Amazon Virtual Private Cloud to connect to your Jira. For more information, see Configuring a VPC.
*/
VpcConfiguration?: DataSourceVpcConfiguration;
}
Expand Down Expand Up @@ -3539,7 +3539,7 @@ declare namespace Kendra {
*/
TenantDomain: TenantDomain;
/**
* The Amazon Resource Name (ARN) of an Secrets Managersecret that contains the user name and password to connect to OneDrive. The user namd should be the application ID for the OneDrive application, and the password is the application key for the OneDrive application.
* The Amazon Resource Name (ARN) of an Secrets Managersecret that contains the user name and password to connect to OneDrive. The user name should be the application ID for the OneDrive application, and the password is the application key for the OneDrive application.
*/
SecretArn: SecretArn;
/**
Expand Down
2 changes: 1 addition & 1 deletion dist/aws-sdk-core-react-native.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ return /******/ (function(modules) { // webpackBootstrap
/**
* @constant
*/
VERSION: '2.1292.0',
VERSION: '2.1293.0',

/**
* @api private
Expand Down
2 changes: 1 addition & 1 deletion dist/aws-sdk-react-native.js
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ return /******/ (function(modules) { // webpackBootstrap
/**
* @constant
*/
VERSION: '2.1292.0',
VERSION: '2.1293.0',

/**
* @api private
Expand Down
Loading

0 comments on commit 13e512c

Please sign in to comment.