aws-sdk 2.1119.0 → 2.1122.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 +20 -1
- package/README.md +1 -1
- package/apis/cloudfront-2020-05-31.min.json +42 -28
- package/apis/connect-2017-08-08.min.json +133 -9
- package/apis/connect-2017-08-08.paginators.json +9 -0
- package/apis/ec2-2016-11-15.min.json +14 -11
- package/apis/ec2-2016-11-15.waiters2.json +18 -0
- package/apis/ivschat-2020-07-14.examples.json +5 -0
- package/apis/ivschat-2020-07-14.min.json +443 -0
- package/apis/ivschat-2020-07-14.paginators.json +9 -0
- package/apis/lightsail-2016-11-28.min.json +55 -17
- package/apis/metadata.json +3 -0
- package/apis/mq-2017-11-27.min.json +22 -7
- package/apis/network-firewall-2020-11-12.min.json +107 -52
- package/apis/rds-data-2018-08-01.min.json +4 -1
- package/apis/sagemaker-2017-07-24.min.json +447 -434
- package/apis/securityhub-2018-10-26.min.json +20 -18
- package/clients/all.d.ts +1 -0
- package/clients/all.js +2 -1
- package/clients/cloudfront.d.ts +15 -0
- package/clients/connect.d.ts +176 -9
- package/clients/ec2.d.ts +23 -14
- package/clients/eventbridge.js +1 -0
- package/clients/gamelift.d.ts +67 -67
- package/clients/glue.d.ts +79 -10
- package/clients/ivschat.d.ts +523 -0
- package/clients/ivschat.js +18 -0
- package/clients/lightsail.d.ts +113 -42
- package/clients/mq.d.ts +16 -1
- package/clients/networkfirewall.d.ts +103 -21
- package/clients/pricing.d.ts +3 -3
- package/clients/rdsdataservice.d.ts +22 -7
- package/clients/sagemaker.d.ts +24 -0
- package/clients/securityhub.d.ts +13 -4
- package/dist/aws-sdk-core-react-native.js +2 -2
- package/dist/aws-sdk-react-native.js +822 -754
- package/dist/aws-sdk.js +228 -52
- package/dist/aws-sdk.min.js +83 -83
- package/lib/config_service_placeholders.d.ts +2 -0
- package/lib/core.js +1 -1
- package/lib/services/eventbridge.js +19 -0
- package/lib/services/s3util.js +6 -1
- package/package.json +1 -1
|
@@ -304,6 +304,7 @@ export abstract class ConfigurationServicePlaceholders {
|
|
|
304
304
|
billingconductor?: AWS.Billingconductor.Types.ClientConfiguration;
|
|
305
305
|
gamesparks?: AWS.GameSparks.Types.ClientConfiguration;
|
|
306
306
|
pinpointsmsvoicev2?: AWS.PinpointSMSVoiceV2.Types.ClientConfiguration;
|
|
307
|
+
ivschat?: AWS.Ivschat.Types.ClientConfiguration;
|
|
307
308
|
}
|
|
308
309
|
export interface ConfigurationServiceApiVersions {
|
|
309
310
|
acm?: AWS.ACM.Types.apiVersion;
|
|
@@ -610,4 +611,5 @@ export interface ConfigurationServiceApiVersions {
|
|
|
610
611
|
billingconductor?: AWS.Billingconductor.Types.apiVersion;
|
|
611
612
|
gamesparks?: AWS.GameSparks.Types.apiVersion;
|
|
612
613
|
pinpointsmsvoicev2?: AWS.PinpointSMSVoiceV2.Types.apiVersion;
|
|
614
|
+
ivschat?: AWS.Ivschat.Types.apiVersion;
|
|
613
615
|
}
|
package/lib/core.js
CHANGED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
var AWS = require('../core');
|
|
2
|
+
|
|
3
|
+
AWS.util.update(AWS.EventBridge.prototype, {
|
|
4
|
+
/**
|
|
5
|
+
* @api private
|
|
6
|
+
*/
|
|
7
|
+
setupRequestListeners: function setupRequestListeners(request) {
|
|
8
|
+
if (request.operation === 'putEvents') {
|
|
9
|
+
var params = request.params || {};
|
|
10
|
+
if (params.EndpointId !== undefined) {
|
|
11
|
+
throw new AWS.util.error(new Error(), {
|
|
12
|
+
code: 'InvalidParameter',
|
|
13
|
+
message: 'EndpointId is not supported in current SDK.\n' +
|
|
14
|
+
'You should consider switching to V3(https://github.com/aws/aws-sdk-js-v3).'
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
});
|
package/lib/services/s3util.js
CHANGED
|
@@ -144,9 +144,14 @@ var s3util = {
|
|
|
144
144
|
var allowFipsEndpoint = options.allowFipsEndpoint || false;
|
|
145
145
|
|
|
146
146
|
if (!regionFromArn) {
|
|
147
|
+
var message = 'ARN region is empty';
|
|
148
|
+
if (req._parsedArn.service === 's3') {
|
|
149
|
+
message = message + '\nYou may want to use multi-regional ARN. The feature is not supported in current SDK. ' +
|
|
150
|
+
'You should consider switching to V3(https://github.com/aws/aws-sdk-js-v3).';
|
|
151
|
+
}
|
|
147
152
|
throw AWS.util.error(new Error(), {
|
|
148
153
|
code: 'InvalidARN',
|
|
149
|
-
message:
|
|
154
|
+
message: message
|
|
150
155
|
});
|
|
151
156
|
}
|
|
152
157
|
|