aws-sdk 2.583.0 → 2.587.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/CHANGELOG.md +26 -1
- package/README.md +1 -1
- package/apis/apigatewayv2-2018-11-29.min.json +632 -201
- package/apis/ebs-2019-11-02.examples.json +5 -0
- package/apis/ebs-2019-11-02.min.json +195 -0
- package/apis/ebs-2019-11-02.paginators.json +14 -0
- package/apis/kafka-2018-11-14.min.json +170 -34
- package/apis/kendra-2019-02-03.min.json +2 -1
- package/apis/kinesis-video-signaling-2019-12-04.examples.json +5 -0
- package/apis/kinesis-video-signaling-2019-12-04.min.json +79 -0
- package/apis/kinesis-video-signaling-2019-12-04.paginators.json +4 -0
- package/apis/kinesisvideo-2017-09-30.min.json +281 -8
- package/apis/kinesisvideo-2017-09-30.paginators.json +6 -0
- package/apis/lambda-2015-03-31.min.json +217 -25
- package/apis/lambda-2015-03-31.paginators.json +6 -0
- package/apis/metadata.json +8 -0
- package/apis/rds-2014-10-31.min.json +495 -101
- package/apis/rds-2014-10-31.paginators.json +18 -0
- package/apis/rekognition-2016-06-27.min.json +409 -85
- package/apis/rekognition-2016-06-27.paginators.json +12 -0
- package/apis/rekognition-2016-06-27.waiters2.json +45 -0
- package/apis/sagemaker-2017-07-24.min.json +3471 -472
- package/apis/sagemaker-2017-07-24.paginators.json +128 -16
- package/apis/sagemaker-2017-07-24.waiters2.json +30 -0
- package/apis/ssm-2014-11-06.min.json +94 -71
- package/apis/states-2016-11-23.min.json +92 -55
- package/clients/all.d.ts +2 -0
- package/clients/all.js +3 -1
- package/clients/apigatewayv2.d.ts +856 -1161
- package/clients/applicationautoscaling.d.ts +32 -32
- package/clients/browser_default.d.ts +1 -0
- package/clients/browser_default.js +2 -1
- package/clients/ebs.d.ts +211 -0
- package/clients/ebs.js +18 -0
- package/clients/kafka.d.ts +152 -0
- package/clients/kendra.d.ts +7 -3
- package/clients/kinesisvideo.d.ts +312 -1
- package/clients/kinesisvideosignalingchannels.d.ts +121 -0
- package/clients/kinesisvideosignalingchannels.js +18 -0
- package/clients/kms.d.ts +6 -6
- package/clients/lambda.d.ts +199 -2
- package/clients/quicksight.d.ts +223 -223
- package/clients/rds.d.ts +549 -0
- package/clients/rekognition.d.ts +423 -8
- package/clients/rekognition.js +1 -0
- package/clients/sagemaker.d.ts +4588 -610
- package/clients/ssm.d.ts +42 -6
- package/clients/stepfunctions.d.ts +54 -0
- package/dist/aws-sdk-core-react-native.js +2 -2
- package/dist/aws-sdk-react-native.js +1182 -1102
- package/dist/aws-sdk.js +2265 -859
- package/dist/aws-sdk.min.js +35 -35
- package/lib/config.d.ts +12 -0
- package/lib/config_service_placeholders.d.ts +4 -0
- package/lib/core.js +1 -1
- package/lib/services/s3.js +5 -4
- package/lib/services/sts.js +2 -4
- package/package.json +1 -1
- package/scripts/region-checker/whitelist.js +5 -5
package/lib/config.d.ts
CHANGED
|
@@ -250,6 +250,18 @@ export abstract class ConfigurationOptions {
|
|
|
250
250
|
* Whether to force path style URLs for S3 objects.
|
|
251
251
|
*/
|
|
252
252
|
s3ForcePathStyle?: boolean
|
|
253
|
+
/**
|
|
254
|
+
* when region is set to 'us-east-1', whether to send s3 request to global endpoints
|
|
255
|
+
* or 'us-east-1' regional endpoints. This config is only applicable to S3 client;
|
|
256
|
+
* Defaults to 'legacy'
|
|
257
|
+
*/
|
|
258
|
+
s3UsEast1RegionalEndpoint?: "regional"|"legacy"
|
|
259
|
+
/**
|
|
260
|
+
* whether to override the request region with the region inferred
|
|
261
|
+
* from requested resource's ARN. Only available for S3 buckets
|
|
262
|
+
* Defaults to `true`
|
|
263
|
+
*/
|
|
264
|
+
s3UseArnRegion?: boolean
|
|
253
265
|
/**
|
|
254
266
|
* Whether the signature to sign requests with (overriding the API configuration) is cached.
|
|
255
267
|
*/
|
|
@@ -216,6 +216,8 @@ export abstract class ConfigurationServicePlaceholders {
|
|
|
216
216
|
networkmanager?: AWS.NetworkManager.Types.ClientConfiguration;
|
|
217
217
|
outposts?: AWS.Outposts.Types.ClientConfiguration;
|
|
218
218
|
augmentedairuntime?: AWS.AugmentedAIRuntime.Types.ClientConfiguration;
|
|
219
|
+
ebs?: AWS.EBS.Types.ClientConfiguration;
|
|
220
|
+
kinesisvideosignalingchannels?: AWS.KinesisVideoSignalingChannels.Types.ClientConfiguration;
|
|
219
221
|
}
|
|
220
222
|
export interface ConfigurationServiceApiVersions {
|
|
221
223
|
acm?: AWS.ACM.Types.apiVersion;
|
|
@@ -434,4 +436,6 @@ export interface ConfigurationServiceApiVersions {
|
|
|
434
436
|
networkmanager?: AWS.NetworkManager.Types.apiVersion;
|
|
435
437
|
outposts?: AWS.Outposts.Types.apiVersion;
|
|
436
438
|
augmentedairuntime?: AWS.AugmentedAIRuntime.Types.apiVersion;
|
|
439
|
+
ebs?: AWS.EBS.Types.apiVersion;
|
|
440
|
+
kinesisvideosignalingchannels?: AWS.KinesisVideoSignalingChannels.Types.apiVersion;
|
|
437
441
|
}
|
package/lib/core.js
CHANGED
package/lib/services/s3.js
CHANGED
|
@@ -375,9 +375,7 @@ AWS.util.update(AWS.S3.prototype, {
|
|
|
375
375
|
var insertPoint = config.endpoint.indexOf('.amazonaws.com');
|
|
376
376
|
regionalEndpoint = config.endpoint.substring(0, insertPoint) +
|
|
377
377
|
'.us-east-1' + config.endpoint.substring(insertPoint);
|
|
378
|
-
|
|
379
|
-
endpoint.hostname = regionalEndpoint;
|
|
380
|
-
endpoint.host = regionalEndpoint;
|
|
378
|
+
req.httpRequest.updateEndpoint(regionalEndpoint);
|
|
381
379
|
}
|
|
382
380
|
},
|
|
383
381
|
|
|
@@ -476,10 +474,13 @@ AWS.util.update(AWS.S3.prototype, {
|
|
|
476
474
|
dnsSuffix
|
|
477
475
|
].join('.');
|
|
478
476
|
endpoint.host = endpoint.hostname;
|
|
479
|
-
var encodedArn = AWS.util.
|
|
477
|
+
var encodedArn = AWS.util.uriEscape(req.params.Bucket);
|
|
480
478
|
var path = req.httpRequest.path;
|
|
481
479
|
//remove the Bucket value from path
|
|
482
480
|
req.httpRequest.path = path.replace(new RegExp('/' + encodedArn), '');
|
|
481
|
+
if (req.httpRequest.path[0] !== '/') {
|
|
482
|
+
req.httpRequest.path = '/' + req.httpRequest.path;
|
|
483
|
+
}
|
|
483
484
|
req.httpRequest.region = accessPointArn.region; //region used to sign
|
|
484
485
|
},
|
|
485
486
|
|
package/lib/services/sts.js
CHANGED
|
@@ -76,11 +76,9 @@ AWS.util.update(AWS.STS.prototype, {
|
|
|
76
76
|
{code: 'ConfigError', message: 'Missing region in config'});
|
|
77
77
|
}
|
|
78
78
|
var insertPoint = config.endpoint.indexOf('.amazonaws.com');
|
|
79
|
-
regionalEndpoint = config.endpoint.substring(0, insertPoint) +
|
|
79
|
+
var regionalEndpoint = config.endpoint.substring(0, insertPoint) +
|
|
80
80
|
'.' + config.region + config.endpoint.substring(insertPoint);
|
|
81
|
-
|
|
82
|
-
endpoint.hostname = regionalEndpoint;
|
|
83
|
-
endpoint.host = regionalEndpoint;
|
|
81
|
+
req.httpRequest.updateEndpoint(regionalEndpoint);
|
|
84
82
|
req.httpRequest.region = config.region;
|
|
85
83
|
}
|
|
86
84
|
}
|
package/package.json
CHANGED