aws-sdk 2.28.0 → 2.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.changes/2.29.0.json +27 -0
- package/.changes/2.30.0.json +12 -0
- package/.changes/2.31.0.json +27 -0
- package/.changes/2.32.0.json +12 -0
- package/CHANGELOG.md +23 -1
- package/README.md +1 -1
- package/apis/application-autoscaling-2016-02-06.paginators.json +8 -8
- package/apis/cloudtrail-2013-11-01.min.json +7 -0
- package/apis/directconnect-2012-10-25.min.json +8 -4
- package/apis/discovery-2015-11-01.min.json +73 -25
- package/apis/discovery-2015-11-01.paginators.json +4 -0
- package/apis/elasticloadbalancingv2-2015-12-01.waiters2.json +46 -0
- package/apis/lambda-2015-03-31.paginators.json +3 -3
- package/apis/marketplacecommerceanalytics-2015-07-01.paginators.json +4 -0
- package/apis/pinpoint-2016-12-01.min.json +177 -52
- package/clients/applicationautoscaling.d.ts +22 -22
- package/clients/cloudtrail.d.ts +9 -3
- package/clients/codebuild.d.ts +1 -1
- package/clients/discovery.d.ts +104 -50
- package/clients/discovery.js +1 -0
- package/clients/elbv2.d.ts +16 -0
- package/clients/elbv2.js +1 -0
- package/clients/lambda.d.ts +1 -1
- package/clients/marketplacecommerceanalytics.d.ts +2 -2
- package/clients/marketplacecommerceanalytics.js +1 -0
- package/clients/pinpoint.d.ts +145 -13
- package/clients/rekognition.d.ts +4 -4
- package/codecov.yml +9 -0
- package/dist/aws-sdk.js +498 -360
- package/dist/aws-sdk.min.js +42 -42
- package/lib/config.js +8 -7
- package/lib/core.js +1 -1
- package/lib/dynamodb/converter.js +35 -10
- package/lib/model/shape.js +13 -10
- package/lib/param_validator.js +5 -1
- package/lib/protocol/rest.js +7 -1
- package/lib/resource_waiter.js +12 -1
- package/lib/s3/managed_upload.d.ts +14 -10
- package/lib/s3/managed_upload.js +44 -3
- package/lib/service.d.ts +14 -1
- package/lib/service.js +6 -1
- package/lib/services/dynamodb.js +6 -1
- package/lib/services/s3.js +36 -10
- package/lib/signers/v4_credentials.js +2 -2
- package/lib/util.js +1 -1
- package/package.json +4 -4
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"type": "feature",
|
|
4
|
+
"category": "protocol",
|
|
5
|
+
"description": "The SDK can now support JSON-value string shapes in headers"
|
|
6
|
+
},
|
|
7
|
+
{
|
|
8
|
+
"type": "feature",
|
|
9
|
+
"category": "Pinpoint",
|
|
10
|
+
"description": "Added ability to segment endpoints by user attributes in addition to endpoint attributes."
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"type": "feature",
|
|
14
|
+
"category": "Pinpoint",
|
|
15
|
+
"description": "Added functionality to publish raw app analytics and campaign events data as events streams to Kinesis and Kinesis Firehose."
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"type": "feature",
|
|
19
|
+
"category": "ELBv2",
|
|
20
|
+
"description": "Adding waiters for LoadBalancers in ELBv2."
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"type": "feature",
|
|
24
|
+
"category": "MarketplaceCommerceAnalytics",
|
|
25
|
+
"description": "This update adds a new data set, us_sales_and_use_tax_records, which enables AWS Marketplace sellers to programmatically access to their U.S. Sales and Use Tax report data."
|
|
26
|
+
}
|
|
27
|
+
]
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"type": "feature",
|
|
4
|
+
"category": "DynamoDb",
|
|
5
|
+
"description": "Allow objects with inheritance chains to be converted to MapAttributeValues instead of undefined"
|
|
6
|
+
},
|
|
7
|
+
{
|
|
8
|
+
"type": "bugfix",
|
|
9
|
+
"category": "CredentialsError",
|
|
10
|
+
"description": "Update AWS.Config.getCredentials to overwrite the name (in addition to message and code) of errors thrown by underlying credential providers."
|
|
11
|
+
}
|
|
12
|
+
]
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"type": "feature",
|
|
4
|
+
"category": "DynamoDB",
|
|
5
|
+
"description": "Adds ability to customize retry delays for DynamoDB. This previously worked for all services except DynamoDB. Also adds jitter to DynamoDB retries. See `AWS.Config.retryDelayOptions` for more information."
|
|
6
|
+
},
|
|
7
|
+
{
|
|
8
|
+
"type": "feature",
|
|
9
|
+
"category": "Waiter",
|
|
10
|
+
"description": "Allow customization of a waiter using a special `$waiter` key"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"type": "feature",
|
|
14
|
+
"category": "Lambda",
|
|
15
|
+
"description": "Adds support for new runtime Node.js v6.10 for AWS Lambda service. :tada:"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"type": "feature",
|
|
19
|
+
"category": "ELBv2",
|
|
20
|
+
"description": "Adding waiters for Elastic Load Balancing V2"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"type": "feature",
|
|
24
|
+
"category": "Discovery",
|
|
25
|
+
"description": "Adds export configuration options to the API."
|
|
26
|
+
}
|
|
27
|
+
]
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"type": "feature",
|
|
4
|
+
"category": "S3",
|
|
5
|
+
"description": "Adds a means of specifying tags to apply to objects of any size uploaded with AWS.S3.ManagedUploader"
|
|
6
|
+
},
|
|
7
|
+
{
|
|
8
|
+
"type": "feature",
|
|
9
|
+
"category": "ApplicationAutoScaling",
|
|
10
|
+
"description": "Application AutoScaling is launching support for a new target resource (AppStream 2.0 Fleets) as a scalable target."
|
|
11
|
+
}
|
|
12
|
+
]
|
package/CHANGELOG.md
CHANGED
|
@@ -1,7 +1,29 @@
|
|
|
1
1
|
# Changelog for AWS SDK for JavaScript
|
|
2
|
-
<!--LATEST=2.
|
|
2
|
+
<!--LATEST=2.32.0-->
|
|
3
3
|
<!--ENTRYINSERT-->
|
|
4
4
|
|
|
5
|
+
## 2.32.0
|
|
6
|
+
* feature: S3: Adds a means of specifying tags to apply to objects of any size uploaded with AWS.S3.ManagedUploader
|
|
7
|
+
* feature: ApplicationAutoScaling: Application AutoScaling is launching support for a new target resource (AppStream 2.0 Fleets) as a scalable target.
|
|
8
|
+
|
|
9
|
+
## 2.31.0
|
|
10
|
+
* feature: DynamoDB: Adds ability to customize retry delays for DynamoDB. This previously worked for all services except DynamoDB. Also adds jitter to DynamoDB retries. See `AWS.Config.retryDelayOptions` for more information.
|
|
11
|
+
* feature: Waiter: Allow customization of a waiter using a special `$waiter` key
|
|
12
|
+
* feature: Lambda: Adds support for new runtime Node.js v6.10 for AWS Lambda service. :tada:
|
|
13
|
+
* feature: ELBv2: Adding waiters for Elastic Load Balancing V2
|
|
14
|
+
* feature: Discovery: Adds export configuration options to the API.
|
|
15
|
+
|
|
16
|
+
## 2.30.0
|
|
17
|
+
* feature: DynamoDb: Allow objects with inheritance chains to be converted to MapAttributeValues instead of undefined
|
|
18
|
+
* bugfix: CredentialsError: Update AWS.Config.getCredentials to overwrite the name (in addition to message and code) of errors thrown by underlying credential providers.
|
|
19
|
+
|
|
20
|
+
## 2.29.0
|
|
21
|
+
* feature: protocol: The SDK can now support JSON-value string shapes in headers
|
|
22
|
+
* feature: Pinpoint: Added ability to segment endpoints by user attributes in addition to endpoint attributes.
|
|
23
|
+
* feature: Pinpoint: Added functionality to publish raw app analytics and campaign events data as events streams to Kinesis and Kinesis Firehose.
|
|
24
|
+
* feature: ELBv2: Adding waiters for LoadBalancers in ELBv2.
|
|
25
|
+
* feature: MarketplaceCommerceAnalytics: This update adds a new data set, us_sales_and_use_tax_records, which enables AWS Marketplace sellers to programmatically access to their U.S. Sales and Use Tax report data.
|
|
26
|
+
|
|
5
27
|
## 2.28.0
|
|
6
28
|
* feature: DeviceFarm: Network shaping allows users to simulate network connections and conditions while testing their Android, iOS, and web apps with AWS Device Farm.
|
|
7
29
|
* feature: CloudWatchEvents: This update extends Target Data Type for configuring Target behavior during invocation.
|
package/README.md
CHANGED
|
@@ -24,7 +24,7 @@ to work with the new major version.
|
|
|
24
24
|
To use the SDK in the browser, simply add the following script tag to your
|
|
25
25
|
HTML pages:
|
|
26
26
|
|
|
27
|
-
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.
|
|
27
|
+
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.32.0.min.js"></script>
|
|
28
28
|
|
|
29
29
|
You can also build a custom browser SDK with your specified set of AWS services.
|
|
30
30
|
This can allow you to reduce the SDK's size, specify different API versions of
|
|
@@ -2,21 +2,21 @@
|
|
|
2
2
|
"pagination": {
|
|
3
3
|
"DescribeScalableTargets": {
|
|
4
4
|
"input_token": "NextToken",
|
|
5
|
-
"output_token": "NextToken",
|
|
6
5
|
"limit_key": "MaxResults",
|
|
6
|
+
"output_token": "NextToken",
|
|
7
7
|
"result_key": "ScalableTargets"
|
|
8
8
|
},
|
|
9
|
-
"
|
|
9
|
+
"DescribeScalingActivities": {
|
|
10
10
|
"input_token": "NextToken",
|
|
11
|
-
"output_token": "NextToken",
|
|
12
11
|
"limit_key": "MaxResults",
|
|
13
|
-
"
|
|
12
|
+
"output_token": "NextToken",
|
|
13
|
+
"result_key": "ScalingActivities"
|
|
14
14
|
},
|
|
15
|
-
"
|
|
15
|
+
"DescribeScalingPolicies": {
|
|
16
16
|
"input_token": "NextToken",
|
|
17
|
-
"output_token": "NextToken",
|
|
18
17
|
"limit_key": "MaxResults",
|
|
19
|
-
"
|
|
18
|
+
"output_token": "NextToken",
|
|
19
|
+
"result_key": "ScalingPolicies"
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
|
-
}
|
|
22
|
+
}
|
|
@@ -155,6 +155,9 @@
|
|
|
155
155
|
"GetEventSelectors": {
|
|
156
156
|
"input": {
|
|
157
157
|
"type": "structure",
|
|
158
|
+
"required": [
|
|
159
|
+
"TrailName"
|
|
160
|
+
],
|
|
158
161
|
"members": {
|
|
159
162
|
"TrailName": {}
|
|
160
163
|
}
|
|
@@ -358,6 +361,10 @@
|
|
|
358
361
|
"PutEventSelectors": {
|
|
359
362
|
"input": {
|
|
360
363
|
"type": "structure",
|
|
364
|
+
"required": [
|
|
365
|
+
"TrailName",
|
|
366
|
+
"EventSelectors"
|
|
367
|
+
],
|
|
361
368
|
"members": {
|
|
362
369
|
"TrailName": {},
|
|
363
370
|
"EventSelectors": {
|
|
@@ -33,7 +33,8 @@
|
|
|
33
33
|
},
|
|
34
34
|
"output": {
|
|
35
35
|
"shape": "S7"
|
|
36
|
-
}
|
|
36
|
+
},
|
|
37
|
+
"deprecated": true
|
|
37
38
|
},
|
|
38
39
|
"AllocateHostedConnection": {
|
|
39
40
|
"input": {
|
|
@@ -506,7 +507,8 @@
|
|
|
506
507
|
"shape": "S28"
|
|
507
508
|
}
|
|
508
509
|
}
|
|
509
|
-
}
|
|
510
|
+
},
|
|
511
|
+
"deprecated": true
|
|
510
512
|
},
|
|
511
513
|
"DescribeConnections": {
|
|
512
514
|
"input": {
|
|
@@ -531,7 +533,8 @@
|
|
|
531
533
|
},
|
|
532
534
|
"output": {
|
|
533
535
|
"shape": "S2b"
|
|
534
|
-
}
|
|
536
|
+
},
|
|
537
|
+
"deprecated": true
|
|
535
538
|
},
|
|
536
539
|
"DescribeHostedConnections": {
|
|
537
540
|
"input": {
|
|
@@ -566,7 +569,8 @@
|
|
|
566
569
|
"shape": "S28"
|
|
567
570
|
}
|
|
568
571
|
}
|
|
569
|
-
}
|
|
572
|
+
},
|
|
573
|
+
"deprecated": true
|
|
570
574
|
},
|
|
571
575
|
"DescribeInterconnects": {
|
|
572
576
|
"input": {
|
|
@@ -188,8 +188,7 @@
|
|
|
188
188
|
"type": "structure",
|
|
189
189
|
"members": {
|
|
190
190
|
"exportIds": {
|
|
191
|
-
"
|
|
192
|
-
"member": {}
|
|
191
|
+
"shape": "S15"
|
|
193
192
|
},
|
|
194
193
|
"maxResults": {
|
|
195
194
|
"type": "integer"
|
|
@@ -201,25 +200,31 @@
|
|
|
201
200
|
"type": "structure",
|
|
202
201
|
"members": {
|
|
203
202
|
"exportsInfo": {
|
|
204
|
-
"
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
203
|
+
"shape": "S18"
|
|
204
|
+
},
|
|
205
|
+
"nextToken": {}
|
|
206
|
+
}
|
|
207
|
+
},
|
|
208
|
+
"deprecated": true
|
|
209
|
+
},
|
|
210
|
+
"DescribeExportTasks": {
|
|
211
|
+
"input": {
|
|
212
|
+
"type": "structure",
|
|
213
|
+
"members": {
|
|
214
|
+
"exportIds": {
|
|
215
|
+
"shape": "S15"
|
|
216
|
+
},
|
|
217
|
+
"maxResults": {
|
|
218
|
+
"type": "integer"
|
|
219
|
+
},
|
|
220
|
+
"nextToken": {}
|
|
221
|
+
}
|
|
222
|
+
},
|
|
223
|
+
"output": {
|
|
224
|
+
"type": "structure",
|
|
225
|
+
"members": {
|
|
226
|
+
"exportsInfo": {
|
|
227
|
+
"shape": "S18"
|
|
223
228
|
},
|
|
224
229
|
"nextToken": {}
|
|
225
230
|
}
|
|
@@ -299,7 +304,8 @@
|
|
|
299
304
|
"members": {
|
|
300
305
|
"exportId": {}
|
|
301
306
|
}
|
|
302
|
-
}
|
|
307
|
+
},
|
|
308
|
+
"deprecated": true
|
|
303
309
|
},
|
|
304
310
|
"GetDiscoverySummary": {
|
|
305
311
|
"input": {
|
|
@@ -510,11 +516,28 @@
|
|
|
510
516
|
"type": "structure",
|
|
511
517
|
"members": {
|
|
512
518
|
"agentsConfigurationStatus": {
|
|
513
|
-
"shape": "
|
|
519
|
+
"shape": "S2c"
|
|
514
520
|
}
|
|
515
521
|
}
|
|
516
522
|
}
|
|
517
523
|
},
|
|
524
|
+
"StartExportTask": {
|
|
525
|
+
"input": {
|
|
526
|
+
"type": "structure",
|
|
527
|
+
"members": {
|
|
528
|
+
"exportDataFormat": {
|
|
529
|
+
"type": "list",
|
|
530
|
+
"member": {}
|
|
531
|
+
}
|
|
532
|
+
}
|
|
533
|
+
},
|
|
534
|
+
"output": {
|
|
535
|
+
"type": "structure",
|
|
536
|
+
"members": {
|
|
537
|
+
"exportId": {}
|
|
538
|
+
}
|
|
539
|
+
}
|
|
540
|
+
},
|
|
518
541
|
"StopDataCollectionByAgentIds": {
|
|
519
542
|
"input": {
|
|
520
543
|
"type": "structure",
|
|
@@ -531,7 +554,7 @@
|
|
|
531
554
|
"type": "structure",
|
|
532
555
|
"members": {
|
|
533
556
|
"agentsConfigurationStatus": {
|
|
534
|
-
"shape": "
|
|
557
|
+
"shape": "S2c"
|
|
535
558
|
}
|
|
536
559
|
}
|
|
537
560
|
}
|
|
@@ -602,7 +625,32 @@
|
|
|
602
625
|
"locationName": "item"
|
|
603
626
|
}
|
|
604
627
|
},
|
|
605
|
-
"
|
|
628
|
+
"S15": {
|
|
629
|
+
"type": "list",
|
|
630
|
+
"member": {}
|
|
631
|
+
},
|
|
632
|
+
"S18": {
|
|
633
|
+
"type": "list",
|
|
634
|
+
"member": {
|
|
635
|
+
"type": "structure",
|
|
636
|
+
"required": [
|
|
637
|
+
"exportId",
|
|
638
|
+
"exportStatus",
|
|
639
|
+
"statusMessage",
|
|
640
|
+
"exportRequestTime"
|
|
641
|
+
],
|
|
642
|
+
"members": {
|
|
643
|
+
"exportId": {},
|
|
644
|
+
"exportStatus": {},
|
|
645
|
+
"statusMessage": {},
|
|
646
|
+
"configurationsDownloadUrl": {},
|
|
647
|
+
"exportRequestTime": {
|
|
648
|
+
"type": "timestamp"
|
|
649
|
+
}
|
|
650
|
+
}
|
|
651
|
+
}
|
|
652
|
+
},
|
|
653
|
+
"S2c": {
|
|
606
654
|
"type": "list",
|
|
607
655
|
"member": {
|
|
608
656
|
"type": "structure",
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 2,
|
|
3
|
+
"waiters": {
|
|
4
|
+
"LoadBalancerExists": {
|
|
5
|
+
"delay": 15,
|
|
6
|
+
"operation": "DescribeLoadBalancers",
|
|
7
|
+
"maxAttempts": 40,
|
|
8
|
+
"acceptors": [
|
|
9
|
+
{
|
|
10
|
+
"matcher": "status",
|
|
11
|
+
"expected": 200,
|
|
12
|
+
"state": "success"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"matcher": "error",
|
|
16
|
+
"expected": "LoadBalancerNotFound",
|
|
17
|
+
"state": "retry"
|
|
18
|
+
}
|
|
19
|
+
]
|
|
20
|
+
},
|
|
21
|
+
"LoadBalancerAvailable": {
|
|
22
|
+
"delay": 15,
|
|
23
|
+
"operation": "DescribeLoadBalancers",
|
|
24
|
+
"maxAttempts": 40,
|
|
25
|
+
"acceptors": [
|
|
26
|
+
{
|
|
27
|
+
"state": "success",
|
|
28
|
+
"matcher": "pathAll",
|
|
29
|
+
"argument": "LoadBalancers[].State.Code",
|
|
30
|
+
"expected": "active"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"state": "retry",
|
|
34
|
+
"matcher": "pathAny",
|
|
35
|
+
"argument": "LoadBalancers[].State.Code",
|
|
36
|
+
"expected": "provisioning"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"state": "retry",
|
|
40
|
+
"matcher": "error",
|
|
41
|
+
"expected": "LoadBalancerNotFound"
|
|
42
|
+
}
|
|
43
|
+
]
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
"pagination": {
|
|
3
3
|
"ListEventSourceMappings": {
|
|
4
4
|
"input_token": "Marker",
|
|
5
|
-
"output_token": "NextMarker",
|
|
6
5
|
"limit_key": "MaxItems",
|
|
6
|
+
"output_token": "NextMarker",
|
|
7
7
|
"result_key": "EventSourceMappings"
|
|
8
8
|
},
|
|
9
9
|
"ListFunctions": {
|
|
10
10
|
"input_token": "Marker",
|
|
11
|
-
"output_token": "NextMarker",
|
|
12
11
|
"limit_key": "MaxItems",
|
|
12
|
+
"output_token": "NextMarker",
|
|
13
13
|
"result_key": "Functions"
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
|
-
}
|
|
16
|
+
}
|