Skip to content

Commit 5eec2b1

Browse files
author
awstools
committed
Updates SDK to v2.15.0
1 parent d911f8d commit 5eec2b1

18 files changed

+494
-439
lines changed

.changes/2.15.0.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[
2+
{
3+
"type": "feature",
4+
"category": "CognitoIdentity",
5+
"description": "Allows createIdentityPool and updateIdentityPool API to set server side token check value on identity pool."
6+
},
7+
{
8+
"type": "feature",
9+
"category": "ConfigService",
10+
"description": "AWS Config now supports a new test mode for the PutEvaluations API. Set the TestMode parameter to true in your custom rule to verify whether your AWS Lambda function will deliver evaluation results to AWS Config. No updates occur to your existing evaluations, and evaluation results are not sent to AWS Config."
11+
}
12+
]

CHANGELOG.md

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

5+
## 2.15.0
6+
* feature: CognitoIdentity: Allows createIdentityPool and updateIdentityPool API to set server side token check value on identity pool.
7+
* feature: ConfigService: AWS Config now supports a new test mode for the PutEvaluations API. Set the TestMode parameter to true in your custom rule to verify whether your AWS Lambda function will deliver evaluation results to AWS Config. No updates occur to your existing evaluations, and evaluation results are not sent to AWS Config.
8+
59
## 2.14.0
610
* feature: KMS: This release of AWS Key Management Service introduces the ability to tag keys. Tagging keys can help you organize your keys and track your KMS costs in the cost allocation report. This release also increases the maximum length of a key ID to accommodate ARNs that include a long key alias.
711

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ to work with the new major version.
2424
To use the SDK in the browser, simply add the following script tag to your
2525
HTML pages:
2626

27-
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.14.0.min.js"></script>
27+
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.15.0.min.js"></script>
2828

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

apis/cognito-identity-2014-06-30.min.json

Lines changed: 30 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@
3434
"shape": "Sa"
3535
},
3636
"SamlProviderARNs": {
37-
"shape": "Se"
37+
"shape": "Sf"
3838
}
3939
}
4040
},
4141
"output": {
42-
"shape": "Sf"
42+
"shape": "Sg"
4343
}
4444
},
4545
"DeleteIdentities": {
@@ -93,7 +93,7 @@
9393
}
9494
},
9595
"output": {
96-
"shape": "Sq"
96+
"shape": "Sr"
9797
}
9898
},
9999
"DescribeIdentityPool": {
@@ -107,7 +107,7 @@
107107
}
108108
},
109109
"output": {
110-
"shape": "Sf"
110+
"shape": "Sg"
111111
}
112112
},
113113
"GetCredentialsForIdentity": {
@@ -119,7 +119,7 @@
119119
"members": {
120120
"IdentityId": {},
121121
"Logins": {
122-
"shape": "Sv"
122+
"shape": "Sw"
123123
},
124124
"CustomRoleArn": {}
125125
}
@@ -152,7 +152,7 @@
152152
"AccountId": {},
153153
"IdentityPoolId": {},
154154
"Logins": {
155-
"shape": "Sv"
155+
"shape": "Sw"
156156
}
157157
}
158158
},
@@ -178,10 +178,10 @@
178178
"members": {
179179
"IdentityPoolId": {},
180180
"Roles": {
181-
"shape": "S17"
181+
"shape": "S18"
182182
},
183183
"RoleMappings": {
184-
"shape": "S19"
184+
"shape": "S1a"
185185
}
186186
}
187187
}
@@ -195,7 +195,7 @@
195195
"members": {
196196
"IdentityId": {},
197197
"Logins": {
198-
"shape": "Sv"
198+
"shape": "Sw"
199199
}
200200
}
201201
},
@@ -218,7 +218,7 @@
218218
"IdentityPoolId": {},
219219
"IdentityId": {},
220220
"Logins": {
221-
"shape": "Sv"
221+
"shape": "Sw"
222222
},
223223
"TokenDuration": {
224224
"type": "long"
@@ -258,7 +258,7 @@
258258
"Identities": {
259259
"type": "list",
260260
"member": {
261-
"shape": "Sq"
261+
"shape": "Sr"
262262
}
263263
},
264264
"NextToken": {}
@@ -356,10 +356,10 @@
356356
"members": {
357357
"IdentityPoolId": {},
358358
"Roles": {
359-
"shape": "S17"
359+
"shape": "S18"
360360
},
361361
"RoleMappings": {
362-
"shape": "S19"
362+
"shape": "S1a"
363363
}
364364
}
365365
}
@@ -392,20 +392,20 @@
392392
"members": {
393393
"IdentityId": {},
394394
"Logins": {
395-
"shape": "Sv"
395+
"shape": "Sw"
396396
},
397397
"LoginsToRemove": {
398-
"shape": "Sr"
398+
"shape": "Ss"
399399
}
400400
}
401401
}
402402
},
403403
"UpdateIdentityPool": {
404404
"input": {
405-
"shape": "Sf"
405+
"shape": "Sg"
406406
},
407407
"output": {
408-
"shape": "Sf"
408+
"shape": "Sg"
409409
}
410410
}
411411
},
@@ -425,15 +425,18 @@
425425
"type": "structure",
426426
"members": {
427427
"ProviderName": {},
428-
"ClientId": {}
428+
"ClientId": {},
429+
"ServerSideTokenCheck": {
430+
"type": "boolean"
431+
}
429432
}
430433
}
431434
},
432-
"Se": {
435+
"Sf": {
433436
"type": "list",
434437
"member": {}
435438
},
436-
"Sf": {
439+
"Sg": {
437440
"type": "structure",
438441
"required": [
439442
"IdentityPoolId",
@@ -457,16 +460,16 @@
457460
"shape": "Sa"
458461
},
459462
"SamlProviderARNs": {
460-
"shape": "Se"
463+
"shape": "Sf"
461464
}
462465
}
463466
},
464-
"Sq": {
467+
"Sr": {
465468
"type": "structure",
466469
"members": {
467470
"IdentityId": {},
468471
"Logins": {
469-
"shape": "Sr"
472+
"shape": "Ss"
470473
},
471474
"CreationDate": {
472475
"type": "timestamp"
@@ -476,21 +479,21 @@
476479
}
477480
}
478481
},
479-
"Sr": {
482+
"Ss": {
480483
"type": "list",
481484
"member": {}
482485
},
483-
"Sv": {
486+
"Sw": {
484487
"type": "map",
485488
"key": {},
486489
"value": {}
487490
},
488-
"S17": {
491+
"S18": {
489492
"type": "map",
490493
"key": {},
491494
"value": {}
492495
},
493-
"S19": {
496+
"S1a": {
494497
"type": "map",
495498
"key": {},
496499
"value": {

apis/cognito-identity-2014-06-30.normal.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,11 @@
374374
"ClientId":{
375375
"shape":"CognitoIdentityProviderClientId",
376376
"documentation":"<p>The client ID for the Amazon Cognito Identity User Pool.</p>"
377+
},
378+
"ServerSideTokenCheck":{
379+
"shape":"CognitoIdentityProviderTokenCheck",
380+
"documentation":"<p>TRUE if server-side token validation is enabled for the identity provider’s token.</p>",
381+
"box":true
377382
}
378383
},
379384
"documentation":"<p>A provider representing an Amazon Cognito Identity User Pool and its client ID.</p>"
@@ -394,6 +399,7 @@
394399
"min":1,
395400
"pattern":"[\\w._:/-]+"
396401
},
402+
"CognitoIdentityProviderTokenCheck":{"type":"boolean"},
397403
"ConcurrentModificationException":{
398404
"type":"structure",
399405
"members":{
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"pagination": {
3+
}
4+
}

apis/config-2014-11-12.min.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,10 @@
605605
"Evaluations": {
606606
"shape": "S3t"
607607
},
608-
"ResultToken": {}
608+
"ResultToken": {},
609+
"TestMode": {
610+
"type": "boolean"
611+
}
609612
}
610613
},
611614
"output": {

apis/config-2014-11-12.normal.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1548,7 +1548,7 @@
15481548
"type":"structure",
15491549
"members":{
15501550
},
1551-
"documentation":"<p>The speNexcified token is invalid.</p>",
1551+
"documentation":"<p>The specified <code>ResultToken</code> is invalid.</p>",
15521552
"exception":true
15531553
},
15541554
"InvalidRoleException":{
@@ -1784,6 +1784,10 @@
17841784
"ResultToken":{
17851785
"shape":"String",
17861786
"documentation":"<p>An encrypted token that associates an evaluation with an AWS Config rule. Identifies the rule and the event that triggered the evaluation</p>"
1787+
},
1788+
"TestMode":{
1789+
"shape":"Boolean",
1790+
"documentation":"<p>Use this parameter to specify a test run for <code>PutEvaluations</code>. You can verify whether your AWS Lambda function will deliver evaluation results to AWS Config. No updates occur to your existing evaluations, and evaluation results are not sent to AWS Config.</p> <note> <p>When <code>TestMode</code> is <code>true</code>, <code>PutEvaluations</code> doesn't require a valid value for the <code>ResultToken</code> parameter, but the value cannot be null.</p> </note>"
17871791
}
17881792
},
17891793
"documentation":"<p/>"

clients/cognitoidentity.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,10 +172,15 @@ declare namespace CognitoIdentity {
172172
* The client ID for the Amazon Cognito Identity User Pool.
173173
*/
174174
ClientId?: CognitoIdentityProviderClientId;
175+
/**
176+
* TRUE if server-side token validation is enabled for the identity provider’s token.
177+
*/
178+
ServerSideTokenCheck?: CognitoIdentityProviderTokenCheck;
175179
}
176180
export type CognitoIdentityProviderClientId = string;
177181
export type CognitoIdentityProviderList = CognitoIdentityProvider[];
178182
export type CognitoIdentityProviderName = string;
183+
export type CognitoIdentityProviderTokenCheck = boolean;
179184
export interface CreateIdentityPoolInput {
180185
/**
181186
* A string that you provide.

clients/cognitoidentity.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ require('../lib/services/cognitoidentity');
99
Object.defineProperty(apiLoader.services['cognitoidentity'], '2014-06-30', {
1010
get: function get() {
1111
var model = require('../apis/cognito-identity-2014-06-30.min.json');
12+
model.paginators = require('../apis/cognito-identity-2014-06-30.paginators.json').pagination;
1213
return model;
1314
},
1415
enumerable: true,

0 commit comments

Comments
 (0)