aws-sdk 2.871.0 → 2.875.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/alexaforbusiness-2017-11-09.min.json +9 -0
- package/apis/customer-profiles-2020-08-15.min.json +164 -6
- package/apis/docdb-2014-10-31.min.json +298 -114
- package/apis/docdb-2014-10-31.paginators.json +6 -0
- package/apis/eventbridge-2015-10-07.min.json +22 -3
- package/apis/events-2015-10-07.min.json +22 -3
- package/apis/glue-2017-03-31.min.json +20 -10
- package/apis/iotwireless-2020-11-22.min.json +3 -0
- package/apis/location-2020-11-19.min.json +23 -1
- package/apis/lookoutmetrics-2017-07-25.examples.json +5 -0
- package/apis/lookoutmetrics-2017-07-25.min.json +1179 -0
- package/apis/lookoutmetrics-2017-07-25.paginators.json +39 -0
- package/apis/medialive-2017-10-14.min.json +189 -176
- package/apis/metadata.json +3 -0
- package/apis/rekognition-2016-06-27.min.json +181 -109
- package/apis/sagemaker-2017-07-24.min.json +213 -199
- package/apis/wafv2-2019-07-29.min.json +172 -81
- package/clients/alexaforbusiness.d.ts +12 -0
- package/clients/all.d.ts +1 -0
- package/clients/all.js +2 -1
- package/clients/cloudwatchevents.d.ts +25 -2
- package/clients/customerprofiles.d.ts +102 -1
- package/clients/docdb.d.ts +213 -0
- package/clients/eventbridge.d.ts +25 -2
- package/clients/glue.d.ts +21 -6
- package/clients/iotwireless.d.ts +13 -9
- package/clients/location.d.ts +100 -44
- package/clients/lookoutmetrics.d.ts +1497 -0
- package/clients/lookoutmetrics.js +19 -0
- package/clients/medialive.d.ts +8 -1
- package/clients/rekognition.d.ts +80 -3
- package/clients/sagemaker.d.ts +26 -11
- package/clients/sqs.d.ts +2 -2
- package/clients/transcribeservice.d.ts +2 -2
- package/clients/wafv2.d.ts +94 -3
- package/dist/aws-sdk-core-react-native.js +2 -2
- package/dist/aws-sdk-react-native.js +83 -17
- package/dist/aws-sdk.js +209 -115
- package/dist/aws-sdk.min.js +47 -47
- package/lib/config_service_placeholders.d.ts +2 -0
- package/lib/core.js +1 -1
- package/lib/services/lookoutmetrics.js +22 -0
- package/package.json +1 -1
|
@@ -260,6 +260,7 @@ export abstract class ConfigurationServicePlaceholders {
|
|
|
260
260
|
lexmodelsv2?: AWS.LexModelsV2.Types.ClientConfiguration;
|
|
261
261
|
lexruntimev2?: AWS.LexRuntimeV2.Types.ClientConfiguration;
|
|
262
262
|
fis?: AWS.Fis.Types.ClientConfiguration;
|
|
263
|
+
lookoutmetrics?: AWS.LookoutMetrics.Types.ClientConfiguration;
|
|
263
264
|
}
|
|
264
265
|
export interface ConfigurationServiceApiVersions {
|
|
265
266
|
acm?: AWS.ACM.Types.apiVersion;
|
|
@@ -522,4 +523,5 @@ export interface ConfigurationServiceApiVersions {
|
|
|
522
523
|
lexmodelsv2?: AWS.LexModelsV2.Types.apiVersion;
|
|
523
524
|
lexruntimev2?: AWS.LexRuntimeV2.Types.apiVersion;
|
|
524
525
|
fis?: AWS.Fis.Types.apiVersion;
|
|
526
|
+
lookoutmetrics?: AWS.LookoutMetrics.Types.apiVersion;
|
|
525
527
|
}
|
package/lib/core.js
CHANGED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
var AWS = require('../core');
|
|
2
|
+
|
|
3
|
+
AWS.util.update(AWS.LookoutMetrics.prototype, {
|
|
4
|
+
/**
|
|
5
|
+
* @api private
|
|
6
|
+
*/
|
|
7
|
+
setupRequestListeners: function setupRequestListeners(request) {
|
|
8
|
+
request.addListener('build', this.modifyContentType);
|
|
9
|
+
},
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Normally rest-json services require `Content-Type` header to be 'application/json',
|
|
13
|
+
* However lookout metrics services requires the header to be 'application/x-amz-json-1.1'.
|
|
14
|
+
*
|
|
15
|
+
* @api private
|
|
16
|
+
*/
|
|
17
|
+
modifyContentType: function modifyContentType(request) {
|
|
18
|
+
if (request.httpRequest.headers['Content-Type'] === 'application/json') {
|
|
19
|
+
request.httpRequest.headers['Content-Type'] = 'application/x-amz-json-1.1';
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
});
|