Skip to content

Commit

Permalink
Updates SDK to v2.746.0
Browse files Browse the repository at this point in the history
  • Loading branch information
awstools committed Sep 3, 2020
1 parent bc370f5 commit 72f2e73
Show file tree
Hide file tree
Showing 22 changed files with 458 additions and 138 deletions.
27 changes: 27 additions & 0 deletions .changes/2.746.0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
[
{
"type": "bugfix",
"category": "Types",
"description": "Re-export ConfigBase on previous config typings"
},
{
"type": "feature",
"category": "GuardDuty",
"description": "GuardDuty findings triggered by failed events now include the error code name within the AwsApiCallAction section."
},
{
"type": "feature",
"category": "Kendra",
"description": "Amazon Kendra now returns confidence scores for both 'answer' and 'question and answer' query responses."
},
{
"type": "feature",
"category": "MediaPackage",
"description": "Enables inserting a UTCTiming XML tag in the output manifest of a DASH endpoint which a media player will use to help with time synchronization."
},
{
"type": "feature",
"category": "StepFunctions",
"description": "This release of the AWS Step Functions SDK introduces support for payloads up to 256KB for Standard and Express workflows"
}
]
5 changes: 0 additions & 5 deletions .changes/next-release/bugfix-Types-3d2fd91b.json

This file was deleted.

9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
# Changelog for AWS SDK for JavaScript
<!--LATEST=2.745.0-->
<!--LATEST=2.746.0-->
<!--ENTRYINSERT-->

## 2.746.0
* bugfix: Types: Re-export ConfigBase on previous config typings
* feature: GuardDuty: GuardDuty findings triggered by failed events now include the error code name within the AwsApiCallAction section.
* feature: Kendra: Amazon Kendra now returns confidence scores for both 'answer' and 'question and answer' query responses.
* feature: MediaPackage: Enables inserting a UTCTiming XML tag in the output manifest of a DASH endpoint which a media player will use to help with time synchronization.
* feature: StepFunctions: This release of the AWS Step Functions SDK introduces support for payloads up to 256KB for Standard and Express workflows

## 2.745.0
* bugfix: XML: Fixed an array equality bug in the Node.js XML parser
* feature: EC2: This release adds a new transit gateway attachment state and resource type.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ version.
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.745.0.min.js"></script>
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.746.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
3 changes: 3 additions & 0 deletions apis/guardduty-2017-11-28.min.json
Original file line number Diff line number Diff line change
Expand Up @@ -1313,6 +1313,9 @@
}
}
},
"ErrorCode": {
"locationName": "errorCode"
},
"RemoteIpDetails": {
"shape": "S3v",
"locationName": "remoteIpDetails"
Expand Down
11 changes: 8 additions & 3 deletions apis/guardduty-2017-11-28.normal.json
Original file line number Diff line number Diff line change
Expand Up @@ -1578,9 +1578,14 @@
"documentation": "<p>The domain information for the AWS API call.</p>",
"locationName": "domainDetails"
},
"ErrorCode": {
"shape": "String",
"documentation": "<p>The error code of the failed AWS API action.</p>",
"locationName": "errorCode"
},
"RemoteIpDetails": {
"shape": "RemoteIpDetails",
"documentation": "<p>The remote IP information of the connection.</p>",
"documentation": "<p>The remote IP information of the connection that initiated the AWS API call.</p>",
"locationName": "remoteIpDetails"
},
"ServiceName": {
Expand All @@ -1589,7 +1594,7 @@
"locationName": "serviceName"
}
},
"documentation": "<p>Contains information about the API operation.</p>"
"documentation": "<p>Contains information about the API action.</p>"
},
"BlockPublicAccess": {
"type": "structure",
Expand Down Expand Up @@ -2248,7 +2253,7 @@
"locationName": "kmsMasterKeyArn"
}
},
"documentation": "<p>Contains information on the server side encryption method used in the S3 bucket. See <a href=\"https://docs.aws.amazon.com/AmazonS3/atest/dev/serv-side-encryption.html\">S3 Server-Side Encryption</a> for more information.</p>"
"documentation": "<p>Contains information on the server side encryption method used in the S3 bucket. See <a href=\"https://docs.aws.amazon.com/AmazonS3/latest/dev/serv-side-encryption.html\">S3 Server-Side Encryption</a> for more information.</p>"
},
"DeleteDetectorRequest": {
"type": "structure",
Expand Down
6 changes: 6 additions & 0 deletions apis/kendra-2019-02-03.min.json
Original file line number Diff line number Diff line change
Expand Up @@ -689,6 +689,12 @@
"DocumentURI": {},
"DocumentAttributes": {
"shape": "Sm"
},
"ScoreAttributes": {
"type": "structure",
"members": {
"ScoreConfidence": {}
}
}
}
}
Expand Down
35 changes: 29 additions & 6 deletions apis/kendra-2019-02-03.normal.json
Original file line number Diff line number Diff line change
Expand Up @@ -896,11 +896,11 @@
},
"ContainsAll": {
"shape": "DocumentAttribute",
"documentation": "<p>Returns true when a document contains all of the specified document attributes. This filter is only appicable to <code>StringListValue</code> metadata.</p>"
"documentation": "<p>Returns true when a document contains all of the specified document attributes. This filter is only applicable to <code>StringListValue</code> metadata.</p>"
},
"ContainsAny": {
"shape": "DocumentAttribute",
"documentation": "<p>Returns true when a document contains any of the specified document attributes.This filter is only appicable to <code>StringListValue</code> metadata.</p>"
"documentation": "<p>Returns true when a document contains any of the specified document attributes. This filter is only applicable to <code>StringListValue</code> metadata.</p>"
},
"GreaterThan": {
"shape": "DocumentAttribute",
Expand Down Expand Up @@ -1380,7 +1380,7 @@
},
"DataSourceInclusionsExclusionsStringsMember": {
"type": "string",
"max": 150,
"max": 50,
"min": 1
},
"DataSourceName": {
Expand Down Expand Up @@ -2789,7 +2789,7 @@
},
"AdditionalAttributes": {
"shape": "AdditionalResultAttributeList",
"documentation": "<p>One or more additional attribues associated with the query result.</p>"
"documentation": "<p>One or more additional attributes associated with the query result.</p>"
},
"DocumentId": {
"shape": "DocumentId",
Expand All @@ -2810,6 +2810,10 @@
"DocumentAttributes": {
"shape": "DocumentAttributeList",
"documentation": "<p>An array of document attributes for the document that the query result maps to. For example, the document author (Author) or the source URI (SourceUri) of the document.</p>"
},
"ScoreAttributes": {
"shape": "ScoreAttributes",
"documentation": "<p>Indicates the confidence that Amazon Kendra has that a result matches the query that you provided. Each result is placed into a bin that indicates the confidence, <code>VERY_HIGH</code>, <code>HIGH</code>, and <code>MEDIUM</code>. You can use the score to determine if a response meets the confidence needed for your application.</p> <p>Confidence scores are only returned for results with the <code>Type</code> field set to <code>QUESTION_ANSWER</code> or <code>ANSWER</code>. This field is not returned if the <code>Type</code> field is set to <code>DOCUMENT</code>.</p>"
}
},
"documentation": "<p>A single query result.</p> <p>A query result contains information about a document returned by the query. This includes the original location of the document, a list of attributes assigned to the document, and relevant text from the document that satisfies the query.</p>"
Expand Down Expand Up @@ -3223,6 +3227,25 @@
"ScanSchedule": {
"type": "string"
},
"ScoreAttributes": {
"type": "structure",
"members": {
"ScoreConfidence": {
"shape": "ScoreConfidence",
"documentation": "<p>A relative ranking for how well the response matches the query.</p>"
}
},
"documentation": "<p>Provides a relative ranking that indicates how confident Amazon Kendra is that the response matches the query.</p>"
},
"ScoreConfidence": {
"type": "string",
"documentation": "Enumeration for query score confidence.",
"enum": [
"VERY_HIGH",
"HIGH",
"MEDIUM"
]
},
"Search": {
"type": "structure",
"members": {
Expand Down Expand Up @@ -3466,14 +3489,14 @@
"documentation": "<p>The order that the results should be returned in. In case of ties, the relevance assigned to the result by Amazon Kendra is used as the tie-breaker.</p>"
}
},
"documentation": "<p>Specifies the document attribute to use to sort the response to a Amazon Kendra query. You can specify a single attribute for sorting. The attribute must have the <code>Sortable</code> flag set to <code>true</code>, otherwise Amazon Kendra returns an exception.</p>"
"documentation": "<p>Specifies the document attribute to use to sort the response to a Amazon Kendra query. You can specify a single attribute for sorting. The attribute must have the <code>Sortable</code> flag set to <code>true</code>, otherwise Amazon Kendra returns an exception.</p> <p>You can sort attributes of the following types.</p> <ul> <li> <p>Date value</p> </li> <li> <p>Long value</p> </li> <li> <p>String value</p> </li> </ul> <p>You can't sort attributes of the following type.</p> <ul> <li> <p>String list value</p> </li> </ul>"
},
"SqlConfiguration": {
"type": "structure",
"members": {
"QueryIdentifiersEnclosingOption": {
"shape": "QueryIdentifiersEnclosingOption",
"documentation": "<p>Determines whether Amazon Kendra encloses SQL identifiers in double quotes (\") when making a database query.</p> <p>By default, Amazon Kendra passes SQL identifiers the way that they are entered into the data source configuration. It does not change the case of identifiers or enclose them in quotes.</p> <p>PostgreSQL internally converts uppercase characters to lower case characters in identifiers unless they are quoted. Choosing this option encloses identifiers in quotes so that PostgreSQL does not convert the character's case.</p> <p>For MySQL databases, you must enable the <code>ansi_quotes</code> option when you choose this option.</p>"
"documentation": "<p>Determines whether Amazon Kendra encloses SQL identifiers for tables and column names in double quotes (\") when making a database query.</p> <p>By default, Amazon Kendra passes SQL identifiers the way that they are entered into the data source configuration. It does not change the case of identifiers or enclose them in quotes.</p> <p>PostgreSQL internally converts uppercase characters to lower case characters in identifiers unless they are quoted. Choosing this option encloses identifiers in quotes so that PostgreSQL does not convert the character's case.</p> <p>For MySQL databases, you must enable the <code>ansi_quotes</code> option when you set this field to <code>DOUBLE_QUOTES</code>.</p>"
}
},
"documentation": "<p>Provides information that configures Amazon Kendra to use a SQL database.</p>"
Expand Down
Loading

0 comments on commit 72f2e73

Please sign in to comment.