@aws-sdk/client-marketplace-entitlement-service 3.131.0 → 3.142.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 +33 -0
- package/README.md +1 -1
- package/dist-cjs/commands/GetEntitlementsCommand.js +2 -2
- package/dist-cjs/models/models_0.js +28 -33
- package/dist-cjs/protocols/Aws_json1_1.js +5 -11
- package/dist-es/commands/GetEntitlementsCommand.js +3 -3
- package/dist-es/models/models_0.js +16 -25
- package/dist-es/protocols/Aws_json1_1.js +9 -12
- package/dist-types/models/models_0.d.ts +16 -22
- package/dist-types/ts3.4/models/models_0.d.ts +8 -14
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,39 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.142.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.141.0...v3.142.0) (2022-08-02)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **codegen:** general data mapping function ([#3830](https://github.com/aws/aws-sdk-js-v3/issues/3830)) ([9417eae](https://github.com/aws/aws-sdk-js-v3/commit/9417eae722806799fb4c15c07921574268c1165c))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.141.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.140.0...v3.141.0) (2022-08-01)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* **clients:** update client endpoints as of 2022-08-01 ([aaf49f2](https://github.com/aws/aws-sdk-js-v3/commit/aaf49f21b371412e6ea7e00890b71a7b31991b66))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
# [3.137.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.136.1...v3.137.0) (2022-07-26)
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
### Features
|
|
32
|
+
|
|
33
|
+
* **namespaces:** remove namespaces with only a log filter ([#3823](https://github.com/aws/aws-sdk-js-v3/issues/3823)) ([33e6822](https://github.com/aws/aws-sdk-js-v3/commit/33e68228fb64c53dd8f89e6be76dd5f46edc3cfd))
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
6
39
|
# [3.131.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.130.0...v3.131.0) (2022-07-15)
|
|
7
40
|
|
|
8
41
|
**Note:** Version bump only for package @aws-sdk/client-marketplace-entitlement-service
|
package/README.md
CHANGED
|
@@ -188,7 +188,7 @@ try {
|
|
|
188
188
|
const data = await client.send(command);
|
|
189
189
|
// process data.
|
|
190
190
|
} catch (error) {
|
|
191
|
-
const { requestId, cfId, extendedRequestId } = error
|
|
191
|
+
const { requestId, cfId, extendedRequestId } = error.$$metadata;
|
|
192
192
|
console.log({ requestId, cfId, extendedRequestId });
|
|
193
193
|
/**
|
|
194
194
|
* The keys within exceptions are also parsed.
|
|
@@ -20,8 +20,8 @@ class GetEntitlementsCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog: models_0_1.
|
|
24
|
-
outputFilterSensitiveLog: models_0_1.
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.GetEntitlementsRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.GetEntitlementsResultFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,18 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.GetEntitlementsResultFilterSensitiveLog = exports.EntitlementFilterSensitiveLog = exports.EntitlementValueFilterSensitiveLog = exports.GetEntitlementsRequestFilterSensitiveLog = exports.ThrottlingException = exports.InvalidParameterException = exports.InternalServiceErrorException = exports.EntitlementValue = exports.GetEntitlementFilterName = void 0;
|
|
4
4
|
const MarketplaceEntitlementServiceServiceException_1 = require("./MarketplaceEntitlementServiceServiceException");
|
|
5
5
|
var GetEntitlementFilterName;
|
|
6
6
|
(function (GetEntitlementFilterName) {
|
|
7
7
|
GetEntitlementFilterName["CUSTOMER_IDENTIFIER"] = "CUSTOMER_IDENTIFIER";
|
|
8
8
|
GetEntitlementFilterName["DIMENSION"] = "DIMENSION";
|
|
9
9
|
})(GetEntitlementFilterName = exports.GetEntitlementFilterName || (exports.GetEntitlementFilterName = {}));
|
|
10
|
-
var GetEntitlementsRequest;
|
|
11
|
-
(function (GetEntitlementsRequest) {
|
|
12
|
-
GetEntitlementsRequest.filterSensitiveLog = (obj) => ({
|
|
13
|
-
...obj,
|
|
14
|
-
});
|
|
15
|
-
})(GetEntitlementsRequest = exports.GetEntitlementsRequest || (exports.GetEntitlementsRequest = {}));
|
|
16
10
|
var EntitlementValue;
|
|
17
11
|
(function (EntitlementValue) {
|
|
18
12
|
EntitlementValue.visit = (value, visitor) => {
|
|
@@ -26,33 +20,7 @@ var EntitlementValue;
|
|
|
26
20
|
return visitor.StringValue(value.StringValue);
|
|
27
21
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
28
22
|
};
|
|
29
|
-
EntitlementValue.filterSensitiveLog = (obj) => {
|
|
30
|
-
if (obj.IntegerValue !== undefined)
|
|
31
|
-
return { IntegerValue: obj.IntegerValue };
|
|
32
|
-
if (obj.DoubleValue !== undefined)
|
|
33
|
-
return { DoubleValue: obj.DoubleValue };
|
|
34
|
-
if (obj.BooleanValue !== undefined)
|
|
35
|
-
return { BooleanValue: obj.BooleanValue };
|
|
36
|
-
if (obj.StringValue !== undefined)
|
|
37
|
-
return { StringValue: obj.StringValue };
|
|
38
|
-
if (obj.$unknown !== undefined)
|
|
39
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
40
|
-
};
|
|
41
23
|
})(EntitlementValue = exports.EntitlementValue || (exports.EntitlementValue = {}));
|
|
42
|
-
var Entitlement;
|
|
43
|
-
(function (Entitlement) {
|
|
44
|
-
Entitlement.filterSensitiveLog = (obj) => ({
|
|
45
|
-
...obj,
|
|
46
|
-
...(obj.Value && { Value: EntitlementValue.filterSensitiveLog(obj.Value) }),
|
|
47
|
-
});
|
|
48
|
-
})(Entitlement = exports.Entitlement || (exports.Entitlement = {}));
|
|
49
|
-
var GetEntitlementsResult;
|
|
50
|
-
(function (GetEntitlementsResult) {
|
|
51
|
-
GetEntitlementsResult.filterSensitiveLog = (obj) => ({
|
|
52
|
-
...obj,
|
|
53
|
-
...(obj.Entitlements && { Entitlements: obj.Entitlements.map((item) => Entitlement.filterSensitiveLog(item)) }),
|
|
54
|
-
});
|
|
55
|
-
})(GetEntitlementsResult = exports.GetEntitlementsResult || (exports.GetEntitlementsResult = {}));
|
|
56
24
|
class InternalServiceErrorException extends MarketplaceEntitlementServiceServiceException_1.MarketplaceEntitlementServiceServiceException {
|
|
57
25
|
constructor(opts) {
|
|
58
26
|
super({
|
|
@@ -92,3 +60,30 @@ class ThrottlingException extends MarketplaceEntitlementServiceServiceException_
|
|
|
92
60
|
}
|
|
93
61
|
}
|
|
94
62
|
exports.ThrottlingException = ThrottlingException;
|
|
63
|
+
const GetEntitlementsRequestFilterSensitiveLog = (obj) => ({
|
|
64
|
+
...obj,
|
|
65
|
+
});
|
|
66
|
+
exports.GetEntitlementsRequestFilterSensitiveLog = GetEntitlementsRequestFilterSensitiveLog;
|
|
67
|
+
const EntitlementValueFilterSensitiveLog = (obj) => {
|
|
68
|
+
if (obj.IntegerValue !== undefined)
|
|
69
|
+
return { IntegerValue: obj.IntegerValue };
|
|
70
|
+
if (obj.DoubleValue !== undefined)
|
|
71
|
+
return { DoubleValue: obj.DoubleValue };
|
|
72
|
+
if (obj.BooleanValue !== undefined)
|
|
73
|
+
return { BooleanValue: obj.BooleanValue };
|
|
74
|
+
if (obj.StringValue !== undefined)
|
|
75
|
+
return { StringValue: obj.StringValue };
|
|
76
|
+
if (obj.$unknown !== undefined)
|
|
77
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
78
|
+
};
|
|
79
|
+
exports.EntitlementValueFilterSensitiveLog = EntitlementValueFilterSensitiveLog;
|
|
80
|
+
const EntitlementFilterSensitiveLog = (obj) => ({
|
|
81
|
+
...obj,
|
|
82
|
+
...(obj.Value && { Value: (0, exports.EntitlementValueFilterSensitiveLog)(obj.Value) }),
|
|
83
|
+
});
|
|
84
|
+
exports.EntitlementFilterSensitiveLog = EntitlementFilterSensitiveLog;
|
|
85
|
+
const GetEntitlementsResultFilterSensitiveLog = (obj) => ({
|
|
86
|
+
...obj,
|
|
87
|
+
...(obj.Entitlements && { Entitlements: obj.Entitlements.map((item) => (0, exports.EntitlementFilterSensitiveLog)(item)) }),
|
|
88
|
+
});
|
|
89
|
+
exports.GetEntitlementsResultFilterSensitiveLog = GetEntitlementsResultFilterSensitiveLog;
|
|
@@ -34,7 +34,6 @@ const deserializeAws_json1_1GetEntitlementsCommandError = async (output, context
|
|
|
34
34
|
...output,
|
|
35
35
|
body: await parseBody(output.body, context),
|
|
36
36
|
};
|
|
37
|
-
let response;
|
|
38
37
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
39
38
|
switch (errorCode) {
|
|
40
39
|
case "InternalServiceErrorException":
|
|
@@ -48,14 +47,12 @@ const deserializeAws_json1_1GetEntitlementsCommandError = async (output, context
|
|
|
48
47
|
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
49
48
|
default:
|
|
50
49
|
const parsedBody = parsedOutput.body;
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
$metadata,
|
|
50
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
51
|
+
output,
|
|
52
|
+
parsedBody,
|
|
53
|
+
exceptionCtor: MarketplaceEntitlementServiceServiceException_1.MarketplaceEntitlementServiceServiceException,
|
|
54
|
+
errorCode,
|
|
57
55
|
});
|
|
58
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
59
56
|
}
|
|
60
57
|
};
|
|
61
58
|
const deserializeAws_json1_1InternalServiceErrorExceptionResponse = async (parsedOutput, context) => {
|
|
@@ -89,9 +86,6 @@ const serializeAws_json1_1FilterValueList = (input, context) => {
|
|
|
89
86
|
return input
|
|
90
87
|
.filter((e) => e != null)
|
|
91
88
|
.map((entry) => {
|
|
92
|
-
if (entry === null) {
|
|
93
|
-
return null;
|
|
94
|
-
}
|
|
95
89
|
return entry;
|
|
96
90
|
});
|
|
97
91
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { GetEntitlementsRequestFilterSensitiveLog, GetEntitlementsResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1GetEntitlementsCommand, serializeAws_json1_1GetEntitlementsCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var GetEntitlementsCommand = (function (_super) {
|
|
7
7
|
__extends(GetEntitlementsCommand, _super);
|
|
@@ -20,8 +20,8 @@ var GetEntitlementsCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: GetEntitlementsRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: GetEntitlementsResultFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -5,10 +5,6 @@ export var GetEntitlementFilterName;
|
|
|
5
5
|
GetEntitlementFilterName["CUSTOMER_IDENTIFIER"] = "CUSTOMER_IDENTIFIER";
|
|
6
6
|
GetEntitlementFilterName["DIMENSION"] = "DIMENSION";
|
|
7
7
|
})(GetEntitlementFilterName || (GetEntitlementFilterName = {}));
|
|
8
|
-
export var GetEntitlementsRequest;
|
|
9
|
-
(function (GetEntitlementsRequest) {
|
|
10
|
-
GetEntitlementsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
11
|
-
})(GetEntitlementsRequest || (GetEntitlementsRequest = {}));
|
|
12
8
|
export var EntitlementValue;
|
|
13
9
|
(function (EntitlementValue) {
|
|
14
10
|
EntitlementValue.visit = function (value, visitor) {
|
|
@@ -22,28 +18,7 @@ export var EntitlementValue;
|
|
|
22
18
|
return visitor.StringValue(value.StringValue);
|
|
23
19
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
24
20
|
};
|
|
25
|
-
EntitlementValue.filterSensitiveLog = function (obj) {
|
|
26
|
-
var _a;
|
|
27
|
-
if (obj.IntegerValue !== undefined)
|
|
28
|
-
return { IntegerValue: obj.IntegerValue };
|
|
29
|
-
if (obj.DoubleValue !== undefined)
|
|
30
|
-
return { DoubleValue: obj.DoubleValue };
|
|
31
|
-
if (obj.BooleanValue !== undefined)
|
|
32
|
-
return { BooleanValue: obj.BooleanValue };
|
|
33
|
-
if (obj.StringValue !== undefined)
|
|
34
|
-
return { StringValue: obj.StringValue };
|
|
35
|
-
if (obj.$unknown !== undefined)
|
|
36
|
-
return _a = {}, _a[obj.$unknown[0]] = "UNKNOWN", _a;
|
|
37
|
-
};
|
|
38
21
|
})(EntitlementValue || (EntitlementValue = {}));
|
|
39
|
-
export var Entitlement;
|
|
40
|
-
(function (Entitlement) {
|
|
41
|
-
Entitlement.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Value && { Value: EntitlementValue.filterSensitiveLog(obj.Value) }))); };
|
|
42
|
-
})(Entitlement || (Entitlement = {}));
|
|
43
|
-
export var GetEntitlementsResult;
|
|
44
|
-
(function (GetEntitlementsResult) {
|
|
45
|
-
GetEntitlementsResult.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Entitlements && { Entitlements: obj.Entitlements.map(function (item) { return Entitlement.filterSensitiveLog(item); }) }))); };
|
|
46
|
-
})(GetEntitlementsResult || (GetEntitlementsResult = {}));
|
|
47
22
|
var InternalServiceErrorException = (function (_super) {
|
|
48
23
|
__extends(InternalServiceErrorException, _super);
|
|
49
24
|
function InternalServiceErrorException(opts) {
|
|
@@ -80,3 +55,19 @@ var ThrottlingException = (function (_super) {
|
|
|
80
55
|
return ThrottlingException;
|
|
81
56
|
}(__BaseException));
|
|
82
57
|
export { ThrottlingException };
|
|
58
|
+
export var GetEntitlementsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
59
|
+
export var EntitlementValueFilterSensitiveLog = function (obj) {
|
|
60
|
+
var _a;
|
|
61
|
+
if (obj.IntegerValue !== undefined)
|
|
62
|
+
return { IntegerValue: obj.IntegerValue };
|
|
63
|
+
if (obj.DoubleValue !== undefined)
|
|
64
|
+
return { DoubleValue: obj.DoubleValue };
|
|
65
|
+
if (obj.BooleanValue !== undefined)
|
|
66
|
+
return { BooleanValue: obj.BooleanValue };
|
|
67
|
+
if (obj.StringValue !== undefined)
|
|
68
|
+
return { StringValue: obj.StringValue };
|
|
69
|
+
if (obj.$unknown !== undefined)
|
|
70
|
+
return _a = {}, _a[obj.$unknown[0]] = "UNKNOWN", _a;
|
|
71
|
+
};
|
|
72
|
+
export var EntitlementFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Value && { Value: EntitlementValueFilterSensitiveLog(obj.Value) }))); };
|
|
73
|
+
export var GetEntitlementsResultFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Entitlements && { Entitlements: obj.Entitlements.map(function (item) { return EntitlementFilterSensitiveLog(item); }) }))); };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __assign, __awaiter, __generator, __read } from "tslib";
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, expectUnion as __expectUnion, limitedParseDouble as __limitedParseDouble, parseEpochTimestamp as __parseEpochTimestamp, } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, expectUnion as __expectUnion, limitedParseDouble as __limitedParseDouble, parseEpochTimestamp as __parseEpochTimestamp, throwDefaultError, } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { MarketplaceEntitlementServiceServiceException as __BaseException } from "../models/MarketplaceEntitlementServiceServiceException";
|
|
5
5
|
import { InternalServiceErrorException, InvalidParameterException, ThrottlingException, } from "../models/models_0";
|
|
6
6
|
export var serializeAws_json1_1GetEntitlementsCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -33,7 +33,7 @@ export var deserializeAws_json1_1GetEntitlementsCommand = function (output, cont
|
|
|
33
33
|
});
|
|
34
34
|
}); };
|
|
35
35
|
var deserializeAws_json1_1GetEntitlementsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
36
|
-
var parsedOutput, _a,
|
|
36
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
37
37
|
var _c;
|
|
38
38
|
return __generator(this, function (_d) {
|
|
39
39
|
switch (_d.label) {
|
|
@@ -62,14 +62,14 @@ var deserializeAws_json1_1GetEntitlementsCommandError = function (output, contex
|
|
|
62
62
|
case 7: throw _d.sent();
|
|
63
63
|
case 8:
|
|
64
64
|
parsedBody = parsedOutput.body;
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
$metadata: $metadata,
|
|
65
|
+
throwDefaultError({
|
|
66
|
+
output: output,
|
|
67
|
+
parsedBody: parsedBody,
|
|
68
|
+
exceptionCtor: __BaseException,
|
|
69
|
+
errorCode: errorCode,
|
|
71
70
|
});
|
|
72
|
-
|
|
71
|
+
_d.label = 9;
|
|
72
|
+
case 9: return [2];
|
|
73
73
|
}
|
|
74
74
|
});
|
|
75
75
|
}); };
|
|
@@ -104,9 +104,6 @@ var serializeAws_json1_1FilterValueList = function (input, context) {
|
|
|
104
104
|
return input
|
|
105
105
|
.filter(function (e) { return e != null; })
|
|
106
106
|
.map(function (entry) {
|
|
107
|
-
if (entry === null) {
|
|
108
|
-
return null;
|
|
109
|
-
}
|
|
110
107
|
return entry;
|
|
111
108
|
});
|
|
112
109
|
};
|
|
@@ -32,12 +32,6 @@ export interface GetEntitlementsRequest {
|
|
|
32
32
|
*/
|
|
33
33
|
MaxResults?: number;
|
|
34
34
|
}
|
|
35
|
-
export declare namespace GetEntitlementsRequest {
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
|
-
const filterSensitiveLog: (obj: GetEntitlementsRequest) => any;
|
|
40
|
-
}
|
|
41
35
|
/**
|
|
42
36
|
* <p>The EntitlementValue represents the amount of capacity that the customer is entitled to
|
|
43
37
|
* for the product.</p>
|
|
@@ -103,10 +97,6 @@ export declare namespace EntitlementValue {
|
|
|
103
97
|
_: (name: string, value: any) => T;
|
|
104
98
|
}
|
|
105
99
|
const visit: <T>(value: EntitlementValue, visitor: Visitor<T>) => T;
|
|
106
|
-
/**
|
|
107
|
-
* @internal
|
|
108
|
-
*/
|
|
109
|
-
const filterSensitiveLog: (obj: EntitlementValue) => any;
|
|
110
100
|
}
|
|
111
101
|
/**
|
|
112
102
|
* <p>An entitlement represents capacity in a product owned by the customer. For example, a
|
|
@@ -144,12 +134,6 @@ export interface Entitlement {
|
|
|
144
134
|
*/
|
|
145
135
|
ExpirationDate?: Date;
|
|
146
136
|
}
|
|
147
|
-
export declare namespace Entitlement {
|
|
148
|
-
/**
|
|
149
|
-
* @internal
|
|
150
|
-
*/
|
|
151
|
-
const filterSensitiveLog: (obj: Entitlement) => any;
|
|
152
|
-
}
|
|
153
137
|
/**
|
|
154
138
|
* <p>The GetEntitlementsRequest contains results from the GetEntitlements operation.</p>
|
|
155
139
|
*/
|
|
@@ -167,12 +151,6 @@ export interface GetEntitlementsResult {
|
|
|
167
151
|
*/
|
|
168
152
|
NextToken?: string;
|
|
169
153
|
}
|
|
170
|
-
export declare namespace GetEntitlementsResult {
|
|
171
|
-
/**
|
|
172
|
-
* @internal
|
|
173
|
-
*/
|
|
174
|
-
const filterSensitiveLog: (obj: GetEntitlementsResult) => any;
|
|
175
|
-
}
|
|
176
154
|
/**
|
|
177
155
|
* <p>An internal error has occurred. Retry your request. If the problem persists, post a
|
|
178
156
|
* message with details on the AWS forums.</p>
|
|
@@ -207,3 +185,19 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
207
185
|
*/
|
|
208
186
|
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
209
187
|
}
|
|
188
|
+
/**
|
|
189
|
+
* @internal
|
|
190
|
+
*/
|
|
191
|
+
export declare const GetEntitlementsRequestFilterSensitiveLog: (obj: GetEntitlementsRequest) => any;
|
|
192
|
+
/**
|
|
193
|
+
* @internal
|
|
194
|
+
*/
|
|
195
|
+
export declare const EntitlementValueFilterSensitiveLog: (obj: EntitlementValue) => any;
|
|
196
|
+
/**
|
|
197
|
+
* @internal
|
|
198
|
+
*/
|
|
199
|
+
export declare const EntitlementFilterSensitiveLog: (obj: Entitlement) => any;
|
|
200
|
+
/**
|
|
201
|
+
* @internal
|
|
202
|
+
*/
|
|
203
|
+
export declare const GetEntitlementsResultFilterSensitiveLog: (obj: GetEntitlementsResult) => any;
|
|
@@ -15,10 +15,6 @@ export interface GetEntitlementsRequest {
|
|
|
15
15
|
|
|
16
16
|
MaxResults?: number;
|
|
17
17
|
}
|
|
18
|
-
export declare namespace GetEntitlementsRequest {
|
|
19
|
-
|
|
20
|
-
const filterSensitiveLog: (obj: GetEntitlementsRequest) => any;
|
|
21
|
-
}
|
|
22
18
|
|
|
23
19
|
export declare type EntitlementValue = EntitlementValue.BooleanValueMember | EntitlementValue.DoubleValueMember | EntitlementValue.IntegerValueMember | EntitlementValue.StringValueMember | EntitlementValue.$UnknownMember;
|
|
24
20
|
export declare namespace EntitlementValue {
|
|
@@ -72,8 +68,6 @@ export declare namespace EntitlementValue {
|
|
|
72
68
|
_: (name: string, value: any) => T;
|
|
73
69
|
}
|
|
74
70
|
const visit: <T>(value: EntitlementValue, visitor: Visitor<T>) => T;
|
|
75
|
-
|
|
76
|
-
const filterSensitiveLog: (obj: EntitlementValue) => any;
|
|
77
71
|
}
|
|
78
72
|
|
|
79
73
|
export interface Entitlement {
|
|
@@ -88,10 +82,6 @@ export interface Entitlement {
|
|
|
88
82
|
|
|
89
83
|
ExpirationDate?: Date;
|
|
90
84
|
}
|
|
91
|
-
export declare namespace Entitlement {
|
|
92
|
-
|
|
93
|
-
const filterSensitiveLog: (obj: Entitlement) => any;
|
|
94
|
-
}
|
|
95
85
|
|
|
96
86
|
export interface GetEntitlementsResult {
|
|
97
87
|
|
|
@@ -99,10 +89,6 @@ export interface GetEntitlementsResult {
|
|
|
99
89
|
|
|
100
90
|
NextToken?: string;
|
|
101
91
|
}
|
|
102
|
-
export declare namespace GetEntitlementsResult {
|
|
103
|
-
|
|
104
|
-
const filterSensitiveLog: (obj: GetEntitlementsResult) => any;
|
|
105
|
-
}
|
|
106
92
|
|
|
107
93
|
export declare class InternalServiceErrorException extends __BaseException {
|
|
108
94
|
readonly name: "InternalServiceErrorException";
|
|
@@ -124,3 +110,11 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
124
110
|
|
|
125
111
|
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
126
112
|
}
|
|
113
|
+
|
|
114
|
+
export declare const GetEntitlementsRequestFilterSensitiveLog: (obj: GetEntitlementsRequest) => any;
|
|
115
|
+
|
|
116
|
+
export declare const EntitlementValueFilterSensitiveLog: (obj: EntitlementValue) => any;
|
|
117
|
+
|
|
118
|
+
export declare const EntitlementFilterSensitiveLog: (obj: Entitlement) => any;
|
|
119
|
+
|
|
120
|
+
export declare const GetEntitlementsResultFilterSensitiveLog: (obj: GetEntitlementsResult) => any;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-marketplace-entitlement-service",
|
|
3
3
|
"description": "AWS SDK for JavaScript Marketplace Entitlement Service Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.142.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.142.0",
|
|
22
22
|
"@aws-sdk/config-resolver": "3.130.0",
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.142.0",
|
|
24
24
|
"@aws-sdk/fetch-http-handler": "3.131.0",
|
|
25
25
|
"@aws-sdk/hash-node": "3.127.0",
|
|
26
26
|
"@aws-sdk/invalid-dependency": "3.127.0",
|
|
@@ -36,15 +36,15 @@
|
|
|
36
36
|
"@aws-sdk/node-config-provider": "3.127.0",
|
|
37
37
|
"@aws-sdk/node-http-handler": "3.127.0",
|
|
38
38
|
"@aws-sdk/protocol-http": "3.127.0",
|
|
39
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
+
"@aws-sdk/smithy-client": "3.142.0",
|
|
40
40
|
"@aws-sdk/types": "3.127.0",
|
|
41
41
|
"@aws-sdk/url-parser": "3.127.0",
|
|
42
42
|
"@aws-sdk/util-base64-browser": "3.109.0",
|
|
43
43
|
"@aws-sdk/util-base64-node": "3.55.0",
|
|
44
44
|
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
45
45
|
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
46
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
47
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
46
|
+
"@aws-sdk/util-defaults-mode-browser": "3.142.0",
|
|
47
|
+
"@aws-sdk/util-defaults-mode-node": "3.142.0",
|
|
48
48
|
"@aws-sdk/util-user-agent-browser": "3.127.0",
|
|
49
49
|
"@aws-sdk/util-user-agent-node": "3.127.0",
|
|
50
50
|
"@aws-sdk/util-utf8-browser": "3.109.0",
|