Skip to content

Commit 429ec5c

Browse files
author
awstools
committed
Updates SDK to v2.1182.0
1 parent df30ee1 commit 429ec5c

40 files changed

+8710
-1401
lines changed

.changes/2.1182.0.json

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
[
2+
{
3+
"type": "feature",
4+
"category": "AppSync",
5+
"description": "Adds support for a new API to evaluate mapping templates with mock data, allowing you to remotely unit test your AppSync resolvers and functions."
6+
},
7+
{
8+
"type": "feature",
9+
"category": "Detective",
10+
"description": "Added the ability to get data source package information for the behavior graph. Graph administrators can now start (or stop) optional datasources on the behavior graph."
11+
},
12+
{
13+
"type": "feature",
14+
"category": "GuardDuty",
15+
"description": "Amazon GuardDuty introduces a new Malware Protection feature that triggers malware scan on selected EC2 instance resources, after the service detects a potentially malicious activity."
16+
},
17+
{
18+
"type": "feature",
19+
"category": "LookoutVision",
20+
"description": "This release introduces support for the automatic scaling of inference units used by Amazon Lookout for Vision models."
21+
},
22+
{
23+
"type": "feature",
24+
"category": "Macie2",
25+
"description": "This release adds support for retrieving (revealing) sample occurrences of sensitive data that Amazon Macie detects and reports in findings."
26+
},
27+
{
28+
"type": "feature",
29+
"category": "Rekognition",
30+
"description": "This release introduces support for the automatic scaling of inference units used by Amazon Rekognition Custom Labels models."
31+
},
32+
{
33+
"type": "feature",
34+
"category": "Transfer",
35+
"description": "AWS Transfer Family now supports Applicability Statement 2 (AS2), a network protocol used for the secure and reliable transfer of critical Business-to-Business (B2B) data over the public internet using HTTP/HTTPS as the transport mechanism."
36+
}
37+
]

CHANGELOG.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,16 @@
11
# Changelog for AWS SDK for JavaScript
2-
<!--LATEST=2.1181.0-->
2+
<!--LATEST=2.1182.0-->
33
<!--ENTRYINSERT-->
44

5+
## 2.1182.0
6+
* feature: AppSync: Adds support for a new API to evaluate mapping templates with mock data, allowing you to remotely unit test your AppSync resolvers and functions.
7+
* feature: Detective: Added the ability to get data source package information for the behavior graph. Graph administrators can now start (or stop) optional datasources on the behavior graph.
8+
* feature: GuardDuty: Amazon GuardDuty introduces a new Malware Protection feature that triggers malware scan on selected EC2 instance resources, after the service detects a potentially malicious activity.
9+
* feature: LookoutVision: This release introduces support for the automatic scaling of inference units used by Amazon Lookout for Vision models.
10+
* feature: Macie2: This release adds support for retrieving (revealing) sample occurrences of sensitive data that Amazon Macie detects and reports in findings.
11+
* feature: Rekognition: This release introduces support for the automatic scaling of inference units used by Amazon Rekognition Custom Labels models.
12+
* feature: Transfer: AWS Transfer Family now supports Applicability Statement 2 (AS2), a network protocol used for the secure and reliable transfer of critical Business-to-Business (B2B) data over the public internet using HTTP/HTTPS as the transport mechanism.
13+
514
## 2.1181.0
615
* feature: Account: This release enables customers to manage the primary contact information for their AWS accounts. For more information, see https://docs.aws.amazon.com/accounts/latest/reference/API_Operations.html
716
* feature: EC2: Added support for EC2 M1 Mac instances. For more information, please visit aws.amazon.com/mac.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ For release notes, see the [CHANGELOG](https://github.com/aws/aws-sdk-js/blob/ma
2929
To use the SDK in the browser, simply add the following script tag to your
3030
HTML pages:
3131

32-
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1181.0.min.js"></script>
32+
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1182.0.min.js"></script>
3333

3434
You can also build a custom browser SDK with your specified set of AWS services.
3535
This can allow you to reduce the SDK's size, specify different API versions of

apis/appsync-2017-07-25.min.json

Lines changed: 34 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -572,6 +572,34 @@
572572
"members": {}
573573
}
574574
},
575+
"EvaluateMappingTemplate": {
576+
"http": {
577+
"requestUri": "/v1/dataplane-evaluatetemplate"
578+
},
579+
"input": {
580+
"type": "structure",
581+
"required": [
582+
"template",
583+
"context"
584+
],
585+
"members": {
586+
"template": {},
587+
"context": {}
588+
}
589+
},
590+
"output": {
591+
"type": "structure",
592+
"members": {
593+
"evaluationResult": {},
594+
"error": {
595+
"type": "structure",
596+
"members": {
597+
"message": {}
598+
}
599+
}
600+
}
601+
}
602+
},
575603
"FlushApiCache": {
576604
"http": {
577605
"method": "DELETE",
@@ -1110,7 +1138,7 @@
11101138
"type": "structure",
11111139
"members": {
11121140
"resolvers": {
1113-
"shape": "S3y"
1141+
"shape": "S45"
11141142
},
11151143
"nextToken": {}
11161144
}
@@ -1151,7 +1179,7 @@
11511179
"type": "structure",
11521180
"members": {
11531181
"resolvers": {
1154-
"shape": "S3y"
1182+
"shape": "S45"
11551183
},
11561184
"nextToken": {}
11571185
}
@@ -1973,6 +2001,9 @@
19732001
},
19742002
"S1z": {
19752003
"type": "structure",
2004+
"required": [
2005+
"ttl"
2006+
],
19762007
"members": {
19772008
"ttl": {
19782009
"type": "long"
@@ -2017,7 +2048,7 @@
20172048
"format": {}
20182049
}
20192050
},
2020-
"S3y": {
2051+
"S45": {
20212052
"type": "list",
20222053
"member": {
20232054
"shape": "S22"

apis/appsync-2017-07-25.normal.json

Lines changed: 91 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -562,6 +562,31 @@
562562
],
563563
"documentation": "<p>Removes an <code>ApiAssociation</code> object from a custom domain.</p>"
564564
},
565+
"EvaluateMappingTemplate": {
566+
"name": "EvaluateMappingTemplate",
567+
"http": {
568+
"method": "POST",
569+
"requestUri": "/v1/dataplane-evaluatetemplate"
570+
},
571+
"input": {
572+
"shape": "EvaluateMappingTemplateRequest"
573+
},
574+
"output": {
575+
"shape": "EvaluateMappingTemplateResponse"
576+
},
577+
"errors": [
578+
{
579+
"shape": "AccessDeniedException"
580+
},
581+
{
582+
"shape": "InternalFailureException"
583+
},
584+
{
585+
"shape": "BadRequestException"
586+
}
587+
],
588+
"documentation": "<p>Evaluates a given template and returns the response. The mapping template can be a request or response template.</p> <p>Request templates take the incoming request after a GraphQL operation is parsed and convert it into a request configuration for the selected data source operation. Response templates interpret responses from the data source and map it to the shape of the GraphQL field output type.</p> <p>Mapping templates are written in the Apache Velocity Template Language (VTL).</p>"
589+
},
565590
"FlushApiCache": {
566591
"name": "FlushApiCache",
567592
"http": {
@@ -1722,6 +1747,9 @@
17221747
},
17231748
"CachingConfig": {
17241749
"type": "structure",
1750+
"required": [
1751+
"ttl"
1752+
],
17251753
"members": {
17261754
"ttl": {
17271755
"shape": "Long",
@@ -1763,7 +1791,7 @@
17631791
},
17641792
"appIdClientRegex": {
17651793
"shape": "String",
1766-
"documentation": "<p>A regular expression for validating the incoming Amazon Cognito user pool app client ID.</p>"
1794+
"documentation": "<p>A regular expression for validating the incoming Amazon Cognito user pool app client ID. If this value isn't set, no filtering is applied.</p>"
17671795
}
17681796
},
17691797
"documentation": "<p>Describes an Amazon Cognito user pool configuration.</p>"
@@ -1784,6 +1812,12 @@
17841812
"NONE"
17851813
]
17861814
},
1815+
"Context": {
1816+
"type": "string",
1817+
"max": 28000,
1818+
"min": 2,
1819+
"pattern": "^[\\s\\S]*$"
1820+
},
17871821
"CreateApiCacheRequest": {
17881822
"type": "structure",
17891823
"required": [
@@ -2560,6 +2594,55 @@
25602594
},
25612595
"documentation": "<p>Describes an OpenSearch data source configuration.</p> <p>As of September 2021, Amazon Elasticsearch service is Amazon OpenSearch Service. This configuration is deprecated. For new data sources, use <a>OpenSearchServiceDataSourceConfig</a> to specify an OpenSearch data source.</p>"
25622596
},
2597+
"ErrorDetail": {
2598+
"type": "structure",
2599+
"members": {
2600+
"message": {
2601+
"shape": "ErrorMessage",
2602+
"documentation": "<p>The error payload.</p>"
2603+
}
2604+
},
2605+
"documentation": "<p>Contains the list of errors generated when attempting to evaluate a mapping template.</p>"
2606+
},
2607+
"ErrorMessage": {
2608+
"type": "string"
2609+
},
2610+
"EvaluateMappingTemplateRequest": {
2611+
"type": "structure",
2612+
"required": [
2613+
"template",
2614+
"context"
2615+
],
2616+
"members": {
2617+
"template": {
2618+
"shape": "Template",
2619+
"documentation": "<p>The mapping template; this can be a request or response template. A <code>template</code> is required for this action.</p>"
2620+
},
2621+
"context": {
2622+
"shape": "Context",
2623+
"documentation": "<p>The map that holds all of the contextual information for your resolver invocation. A <code>context</code> is required for this action.</p>"
2624+
}
2625+
}
2626+
},
2627+
"EvaluateMappingTemplateResponse": {
2628+
"type": "structure",
2629+
"members": {
2630+
"evaluationResult": {
2631+
"shape": "EvaluationResult",
2632+
"documentation": "<p>The mapping template; this can be a request or response template.</p>"
2633+
},
2634+
"error": {
2635+
"shape": "ErrorDetail",
2636+
"documentation": "<p>The <code>ErrorDetail</code> object.</p>"
2637+
}
2638+
}
2639+
},
2640+
"EvaluationResult": {
2641+
"type": "string",
2642+
"max": 65536,
2643+
"min": 0,
2644+
"pattern": "^[\\s\\S]*$"
2645+
},
25632646
"FieldLogLevel": {
25642647
"type": "string",
25652648
"enum": [
@@ -3755,6 +3838,12 @@
37553838
"max": 256,
37563839
"pattern": "^[\\s\\w+-=\\.:/@]*$"
37573840
},
3841+
"Template": {
3842+
"type": "string",
3843+
"max": 65536,
3844+
"min": 2,
3845+
"pattern": "^[\\s\\S]*$"
3846+
},
37583847
"Type": {
37593848
"type": "structure",
37603849
"members": {
@@ -4241,7 +4330,7 @@
42414330
},
42424331
"appIdClientRegex": {
42434332
"shape": "String",
4244-
"documentation": "<p>A regular expression for validating the incoming Amazon Cognito user pool app client ID.</p>"
4333+
"documentation": "<p>A regular expression for validating the incoming Amazon Cognito user pool app client ID. If this value isn't set, no filtering is applied.</p>"
42454334
}
42464335
},
42474336
"documentation": "<p>Describes an Amazon Cognito user pool configuration.</p>"

0 commit comments

Comments
 (0)