@aws-sdk/client-marketplace-entitlement-service 3.306.0 → 3.310.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/dist-cjs/commands/GetEntitlementsCommand.js +2 -2
- package/dist-cjs/protocols/Aws_json1_1.js +33 -33
- package/dist-es/commands/GetEntitlementsCommand.js +3 -3
- package/dist-es/protocols/Aws_json1_1.js +30 -30
- package/dist-types/protocols/Aws_json1_1.d.ts +8 -2
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +2 -2
- package/package.json +35 -35
|
@@ -36,10 +36,10 @@ class GetEntitlementsCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_json1_1_1.
|
|
39
|
+
return (0, Aws_json1_1_1.se_GetEntitlementsCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_json1_1_1.
|
|
42
|
+
return (0, Aws_json1_1_1.de_GetEntitlementsCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.GetEntitlementsCommand = GetEntitlementsCommand;
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.de_GetEntitlementsCommand = exports.se_GetEntitlementsCommand = void 0;
|
|
4
4
|
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const MarketplaceEntitlementServiceServiceException_1 = require("../models/MarketplaceEntitlementServiceServiceException");
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
8
|
-
const
|
|
8
|
+
const se_GetEntitlementsCommand = async (input, context) => {
|
|
9
9
|
const headers = {
|
|
10
10
|
"content-type": "application/x-amz-json-1.1",
|
|
11
11
|
"x-amz-target": "AWSMPEntitlementService.GetEntitlements",
|
|
12
12
|
};
|
|
13
13
|
let body;
|
|
14
|
-
body = JSON.stringify(
|
|
14
|
+
body = JSON.stringify(se_GetEntitlementsRequest(input, context));
|
|
15
15
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
16
16
|
};
|
|
17
|
-
exports.
|
|
18
|
-
const
|
|
17
|
+
exports.se_GetEntitlementsCommand = se_GetEntitlementsCommand;
|
|
18
|
+
const de_GetEntitlementsCommand = async (output, context) => {
|
|
19
19
|
if (output.statusCode >= 300) {
|
|
20
|
-
return
|
|
20
|
+
return de_GetEntitlementsCommandError(output, context);
|
|
21
21
|
}
|
|
22
22
|
const data = await parseBody(output.body, context);
|
|
23
23
|
let contents = {};
|
|
24
|
-
contents =
|
|
24
|
+
contents = de_GetEntitlementsResult(data, context);
|
|
25
25
|
const response = {
|
|
26
26
|
$metadata: deserializeMetadata(output),
|
|
27
27
|
...contents,
|
|
28
28
|
};
|
|
29
29
|
return Promise.resolve(response);
|
|
30
30
|
};
|
|
31
|
-
exports.
|
|
32
|
-
const
|
|
31
|
+
exports.de_GetEntitlementsCommand = de_GetEntitlementsCommand;
|
|
32
|
+
const de_GetEntitlementsCommandError = async (output, context) => {
|
|
33
33
|
const parsedOutput = {
|
|
34
34
|
...output,
|
|
35
35
|
body: await parseErrorBody(output.body, context),
|
|
@@ -38,13 +38,13 @@ const deserializeAws_json1_1GetEntitlementsCommandError = async (output, context
|
|
|
38
38
|
switch (errorCode) {
|
|
39
39
|
case "InternalServiceErrorException":
|
|
40
40
|
case "com.amazonaws.marketplaceentitlementservice#InternalServiceErrorException":
|
|
41
|
-
throw await
|
|
41
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
42
42
|
case "InvalidParameterException":
|
|
43
43
|
case "com.amazonaws.marketplaceentitlementservice#InvalidParameterException":
|
|
44
|
-
throw await
|
|
44
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
45
45
|
case "ThrottlingException":
|
|
46
46
|
case "com.amazonaws.marketplaceentitlementservice#ThrottlingException":
|
|
47
|
-
throw await
|
|
47
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
48
48
|
default:
|
|
49
49
|
const parsedBody = parsedOutput.body;
|
|
50
50
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -55,58 +55,58 @@ const deserializeAws_json1_1GetEntitlementsCommandError = async (output, context
|
|
|
55
55
|
});
|
|
56
56
|
}
|
|
57
57
|
};
|
|
58
|
-
const
|
|
58
|
+
const de_InternalServiceErrorExceptionRes = async (parsedOutput, context) => {
|
|
59
59
|
const body = parsedOutput.body;
|
|
60
|
-
const deserialized =
|
|
60
|
+
const deserialized = de_InternalServiceErrorException(body, context);
|
|
61
61
|
const exception = new models_0_1.InternalServiceErrorException({
|
|
62
62
|
$metadata: deserializeMetadata(parsedOutput),
|
|
63
63
|
...deserialized,
|
|
64
64
|
});
|
|
65
65
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
66
66
|
};
|
|
67
|
-
const
|
|
67
|
+
const de_InvalidParameterExceptionRes = async (parsedOutput, context) => {
|
|
68
68
|
const body = parsedOutput.body;
|
|
69
|
-
const deserialized =
|
|
69
|
+
const deserialized = de_InvalidParameterException(body, context);
|
|
70
70
|
const exception = new models_0_1.InvalidParameterException({
|
|
71
71
|
$metadata: deserializeMetadata(parsedOutput),
|
|
72
72
|
...deserialized,
|
|
73
73
|
});
|
|
74
74
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
75
75
|
};
|
|
76
|
-
const
|
|
76
|
+
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
77
77
|
const body = parsedOutput.body;
|
|
78
|
-
const deserialized =
|
|
78
|
+
const deserialized = de_ThrottlingException(body, context);
|
|
79
79
|
const exception = new models_0_1.ThrottlingException({
|
|
80
80
|
$metadata: deserializeMetadata(parsedOutput),
|
|
81
81
|
...deserialized,
|
|
82
82
|
});
|
|
83
83
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
84
84
|
};
|
|
85
|
-
const
|
|
85
|
+
const se_FilterValueList = (input, context) => {
|
|
86
86
|
return input
|
|
87
87
|
.filter((e) => e != null)
|
|
88
88
|
.map((entry) => {
|
|
89
89
|
return entry;
|
|
90
90
|
});
|
|
91
91
|
};
|
|
92
|
-
const
|
|
92
|
+
const se_GetEntitlementFilters = (input, context) => {
|
|
93
93
|
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
94
94
|
if (value === null) {
|
|
95
95
|
return acc;
|
|
96
96
|
}
|
|
97
|
-
acc[key] =
|
|
97
|
+
acc[key] = se_FilterValueList(value, context);
|
|
98
98
|
return acc;
|
|
99
99
|
}, {});
|
|
100
100
|
};
|
|
101
|
-
const
|
|
101
|
+
const se_GetEntitlementsRequest = (input, context) => {
|
|
102
102
|
return {
|
|
103
|
-
...(input.Filter != null && { Filter:
|
|
103
|
+
...(input.Filter != null && { Filter: se_GetEntitlementFilters(input.Filter, context) }),
|
|
104
104
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
105
105
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
106
106
|
...(input.ProductCode != null && { ProductCode: input.ProductCode }),
|
|
107
107
|
};
|
|
108
108
|
};
|
|
109
|
-
const
|
|
109
|
+
const de_Entitlement = (output, context) => {
|
|
110
110
|
return {
|
|
111
111
|
CustomerIdentifier: (0, smithy_client_1.expectString)(output.CustomerIdentifier),
|
|
112
112
|
Dimension: (0, smithy_client_1.expectString)(output.Dimension),
|
|
@@ -114,21 +114,21 @@ const deserializeAws_json1_1Entitlement = (output, context) => {
|
|
|
114
114
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ExpirationDate)))
|
|
115
115
|
: undefined,
|
|
116
116
|
ProductCode: (0, smithy_client_1.expectString)(output.ProductCode),
|
|
117
|
-
Value: output.Value != null ?
|
|
117
|
+
Value: output.Value != null ? de_EntitlementValue(output.Value, context) : undefined,
|
|
118
118
|
};
|
|
119
119
|
};
|
|
120
|
-
const
|
|
120
|
+
const de_EntitlementList = (output, context) => {
|
|
121
121
|
const retVal = (output || [])
|
|
122
122
|
.filter((e) => e != null)
|
|
123
123
|
.map((entry) => {
|
|
124
124
|
if (entry === null) {
|
|
125
125
|
return null;
|
|
126
126
|
}
|
|
127
|
-
return
|
|
127
|
+
return de_Entitlement(entry, context);
|
|
128
128
|
});
|
|
129
129
|
return retVal;
|
|
130
130
|
};
|
|
131
|
-
const
|
|
131
|
+
const de_EntitlementValue = (output, context) => {
|
|
132
132
|
return {
|
|
133
133
|
BooleanValue: (0, smithy_client_1.expectBoolean)(output.BooleanValue),
|
|
134
134
|
DoubleValue: (0, smithy_client_1.limitedParseDouble)(output.DoubleValue),
|
|
@@ -136,23 +136,23 @@ const deserializeAws_json1_1EntitlementValue = (output, context) => {
|
|
|
136
136
|
StringValue: (0, smithy_client_1.expectString)(output.StringValue),
|
|
137
137
|
};
|
|
138
138
|
};
|
|
139
|
-
const
|
|
139
|
+
const de_GetEntitlementsResult = (output, context) => {
|
|
140
140
|
return {
|
|
141
|
-
Entitlements: output.Entitlements != null ?
|
|
141
|
+
Entitlements: output.Entitlements != null ? de_EntitlementList(output.Entitlements, context) : undefined,
|
|
142
142
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
143
143
|
};
|
|
144
144
|
};
|
|
145
|
-
const
|
|
145
|
+
const de_InternalServiceErrorException = (output, context) => {
|
|
146
146
|
return {
|
|
147
147
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
148
148
|
};
|
|
149
149
|
};
|
|
150
|
-
const
|
|
150
|
+
const de_InvalidParameterException = (output, context) => {
|
|
151
151
|
return {
|
|
152
152
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
153
153
|
};
|
|
154
154
|
};
|
|
155
|
-
const
|
|
155
|
+
const de_ThrottlingException = (output, context) => {
|
|
156
156
|
return {
|
|
157
157
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
158
158
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_GetEntitlementsCommand, se_GetEntitlementsCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export class GetEntitlementsCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class GetEntitlementsCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_GetEntitlementsCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_GetEntitlementsCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -2,29 +2,29 @@ import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
|
2
2
|
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, limitedParseDouble as __limitedParseDouble, parseEpochTimestamp as __parseEpochTimestamp, throwDefaultError, } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { MarketplaceEntitlementServiceServiceException as __BaseException } from "../models/MarketplaceEntitlementServiceServiceException";
|
|
4
4
|
import { InternalServiceErrorException, InvalidParameterException, ThrottlingException, } from "../models/models_0";
|
|
5
|
-
export const
|
|
5
|
+
export const se_GetEntitlementsCommand = async (input, context) => {
|
|
6
6
|
const headers = {
|
|
7
7
|
"content-type": "application/x-amz-json-1.1",
|
|
8
8
|
"x-amz-target": "AWSMPEntitlementService.GetEntitlements",
|
|
9
9
|
};
|
|
10
10
|
let body;
|
|
11
|
-
body = JSON.stringify(
|
|
11
|
+
body = JSON.stringify(se_GetEntitlementsRequest(input, context));
|
|
12
12
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
13
13
|
};
|
|
14
|
-
export const
|
|
14
|
+
export const de_GetEntitlementsCommand = async (output, context) => {
|
|
15
15
|
if (output.statusCode >= 300) {
|
|
16
|
-
return
|
|
16
|
+
return de_GetEntitlementsCommandError(output, context);
|
|
17
17
|
}
|
|
18
18
|
const data = await parseBody(output.body, context);
|
|
19
19
|
let contents = {};
|
|
20
|
-
contents =
|
|
20
|
+
contents = de_GetEntitlementsResult(data, context);
|
|
21
21
|
const response = {
|
|
22
22
|
$metadata: deserializeMetadata(output),
|
|
23
23
|
...contents,
|
|
24
24
|
};
|
|
25
25
|
return Promise.resolve(response);
|
|
26
26
|
};
|
|
27
|
-
const
|
|
27
|
+
const de_GetEntitlementsCommandError = async (output, context) => {
|
|
28
28
|
const parsedOutput = {
|
|
29
29
|
...output,
|
|
30
30
|
body: await parseErrorBody(output.body, context),
|
|
@@ -33,13 +33,13 @@ const deserializeAws_json1_1GetEntitlementsCommandError = async (output, context
|
|
|
33
33
|
switch (errorCode) {
|
|
34
34
|
case "InternalServiceErrorException":
|
|
35
35
|
case "com.amazonaws.marketplaceentitlementservice#InternalServiceErrorException":
|
|
36
|
-
throw await
|
|
36
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
37
37
|
case "InvalidParameterException":
|
|
38
38
|
case "com.amazonaws.marketplaceentitlementservice#InvalidParameterException":
|
|
39
|
-
throw await
|
|
39
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
40
40
|
case "ThrottlingException":
|
|
41
41
|
case "com.amazonaws.marketplaceentitlementservice#ThrottlingException":
|
|
42
|
-
throw await
|
|
42
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
43
43
|
default:
|
|
44
44
|
const parsedBody = parsedOutput.body;
|
|
45
45
|
throwDefaultError({
|
|
@@ -50,58 +50,58 @@ const deserializeAws_json1_1GetEntitlementsCommandError = async (output, context
|
|
|
50
50
|
});
|
|
51
51
|
}
|
|
52
52
|
};
|
|
53
|
-
const
|
|
53
|
+
const de_InternalServiceErrorExceptionRes = async (parsedOutput, context) => {
|
|
54
54
|
const body = parsedOutput.body;
|
|
55
|
-
const deserialized =
|
|
55
|
+
const deserialized = de_InternalServiceErrorException(body, context);
|
|
56
56
|
const exception = new InternalServiceErrorException({
|
|
57
57
|
$metadata: deserializeMetadata(parsedOutput),
|
|
58
58
|
...deserialized,
|
|
59
59
|
});
|
|
60
60
|
return __decorateServiceException(exception, body);
|
|
61
61
|
};
|
|
62
|
-
const
|
|
62
|
+
const de_InvalidParameterExceptionRes = async (parsedOutput, context) => {
|
|
63
63
|
const body = parsedOutput.body;
|
|
64
|
-
const deserialized =
|
|
64
|
+
const deserialized = de_InvalidParameterException(body, context);
|
|
65
65
|
const exception = new InvalidParameterException({
|
|
66
66
|
$metadata: deserializeMetadata(parsedOutput),
|
|
67
67
|
...deserialized,
|
|
68
68
|
});
|
|
69
69
|
return __decorateServiceException(exception, body);
|
|
70
70
|
};
|
|
71
|
-
const
|
|
71
|
+
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
72
72
|
const body = parsedOutput.body;
|
|
73
|
-
const deserialized =
|
|
73
|
+
const deserialized = de_ThrottlingException(body, context);
|
|
74
74
|
const exception = new ThrottlingException({
|
|
75
75
|
$metadata: deserializeMetadata(parsedOutput),
|
|
76
76
|
...deserialized,
|
|
77
77
|
});
|
|
78
78
|
return __decorateServiceException(exception, body);
|
|
79
79
|
};
|
|
80
|
-
const
|
|
80
|
+
const se_FilterValueList = (input, context) => {
|
|
81
81
|
return input
|
|
82
82
|
.filter((e) => e != null)
|
|
83
83
|
.map((entry) => {
|
|
84
84
|
return entry;
|
|
85
85
|
});
|
|
86
86
|
};
|
|
87
|
-
const
|
|
87
|
+
const se_GetEntitlementFilters = (input, context) => {
|
|
88
88
|
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
89
89
|
if (value === null) {
|
|
90
90
|
return acc;
|
|
91
91
|
}
|
|
92
|
-
acc[key] =
|
|
92
|
+
acc[key] = se_FilterValueList(value, context);
|
|
93
93
|
return acc;
|
|
94
94
|
}, {});
|
|
95
95
|
};
|
|
96
|
-
const
|
|
96
|
+
const se_GetEntitlementsRequest = (input, context) => {
|
|
97
97
|
return {
|
|
98
|
-
...(input.Filter != null && { Filter:
|
|
98
|
+
...(input.Filter != null && { Filter: se_GetEntitlementFilters(input.Filter, context) }),
|
|
99
99
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
100
100
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
101
101
|
...(input.ProductCode != null && { ProductCode: input.ProductCode }),
|
|
102
102
|
};
|
|
103
103
|
};
|
|
104
|
-
const
|
|
104
|
+
const de_Entitlement = (output, context) => {
|
|
105
105
|
return {
|
|
106
106
|
CustomerIdentifier: __expectString(output.CustomerIdentifier),
|
|
107
107
|
Dimension: __expectString(output.Dimension),
|
|
@@ -109,21 +109,21 @@ const deserializeAws_json1_1Entitlement = (output, context) => {
|
|
|
109
109
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ExpirationDate)))
|
|
110
110
|
: undefined,
|
|
111
111
|
ProductCode: __expectString(output.ProductCode),
|
|
112
|
-
Value: output.Value != null ?
|
|
112
|
+
Value: output.Value != null ? de_EntitlementValue(output.Value, context) : undefined,
|
|
113
113
|
};
|
|
114
114
|
};
|
|
115
|
-
const
|
|
115
|
+
const de_EntitlementList = (output, context) => {
|
|
116
116
|
const retVal = (output || [])
|
|
117
117
|
.filter((e) => e != null)
|
|
118
118
|
.map((entry) => {
|
|
119
119
|
if (entry === null) {
|
|
120
120
|
return null;
|
|
121
121
|
}
|
|
122
|
-
return
|
|
122
|
+
return de_Entitlement(entry, context);
|
|
123
123
|
});
|
|
124
124
|
return retVal;
|
|
125
125
|
};
|
|
126
|
-
const
|
|
126
|
+
const de_EntitlementValue = (output, context) => {
|
|
127
127
|
return {
|
|
128
128
|
BooleanValue: __expectBoolean(output.BooleanValue),
|
|
129
129
|
DoubleValue: __limitedParseDouble(output.DoubleValue),
|
|
@@ -131,23 +131,23 @@ const deserializeAws_json1_1EntitlementValue = (output, context) => {
|
|
|
131
131
|
StringValue: __expectString(output.StringValue),
|
|
132
132
|
};
|
|
133
133
|
};
|
|
134
|
-
const
|
|
134
|
+
const de_GetEntitlementsResult = (output, context) => {
|
|
135
135
|
return {
|
|
136
|
-
Entitlements: output.Entitlements != null ?
|
|
136
|
+
Entitlements: output.Entitlements != null ? de_EntitlementList(output.Entitlements, context) : undefined,
|
|
137
137
|
NextToken: __expectString(output.NextToken),
|
|
138
138
|
};
|
|
139
139
|
};
|
|
140
|
-
const
|
|
140
|
+
const de_InternalServiceErrorException = (output, context) => {
|
|
141
141
|
return {
|
|
142
142
|
message: __expectString(output.message),
|
|
143
143
|
};
|
|
144
144
|
};
|
|
145
|
-
const
|
|
145
|
+
const de_InvalidParameterException = (output, context) => {
|
|
146
146
|
return {
|
|
147
147
|
message: __expectString(output.message),
|
|
148
148
|
};
|
|
149
149
|
};
|
|
150
|
-
const
|
|
150
|
+
const de_ThrottlingException = (output, context) => {
|
|
151
151
|
return {
|
|
152
152
|
message: __expectString(output.message),
|
|
153
153
|
};
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
2
2
|
import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
|
|
3
3
|
import { GetEntitlementsCommandInput, GetEntitlementsCommandOutput } from "../commands/GetEntitlementsCommand";
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
/**
|
|
5
|
+
* serializeAws_json1_1GetEntitlementsCommand
|
|
6
|
+
*/
|
|
7
|
+
export declare const se_GetEntitlementsCommand: (input: GetEntitlementsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
8
|
+
/**
|
|
9
|
+
* deserializeAws_json1_1GetEntitlementsCommand
|
|
10
|
+
*/
|
|
11
|
+
export declare const de_GetEntitlementsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetEntitlementsCommandOutput>;
|
|
@@ -7,11 +7,11 @@ import {
|
|
|
7
7
|
GetEntitlementsCommandInput,
|
|
8
8
|
GetEntitlementsCommandOutput,
|
|
9
9
|
} from "../commands/GetEntitlementsCommand";
|
|
10
|
-
export declare const
|
|
10
|
+
export declare const se_GetEntitlementsCommand: (
|
|
11
11
|
input: GetEntitlementsCommandInput,
|
|
12
12
|
context: __SerdeContext
|
|
13
13
|
) => Promise<__HttpRequest>;
|
|
14
|
-
export declare const
|
|
14
|
+
export declare const de_GetEntitlementsCommand: (
|
|
15
15
|
output: __HttpResponse,
|
|
16
16
|
context: __SerdeContext
|
|
17
17
|
) => Promise<GetEntitlementsCommandOutput>;
|
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.310.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",
|
|
@@ -21,42 +21,42 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/protocol-http": "3.
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
44
|
-
"@aws-sdk/types": "3.
|
|
45
|
-
"@aws-sdk/url-parser": "3.
|
|
46
|
-
"@aws-sdk/util-base64": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
48
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-retry": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
55
|
-
"@aws-sdk/util-utf8": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.310.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.310.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.310.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.310.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.310.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.310.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.310.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.310.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.310.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.310.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.310.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.310.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.310.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.310.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.310.0",
|
|
42
|
+
"@aws-sdk/protocol-http": "3.310.0",
|
|
43
|
+
"@aws-sdk/smithy-client": "3.310.0",
|
|
44
|
+
"@aws-sdk/types": "3.310.0",
|
|
45
|
+
"@aws-sdk/url-parser": "3.310.0",
|
|
46
|
+
"@aws-sdk/util-base64": "3.310.0",
|
|
47
|
+
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
48
|
+
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.310.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.310.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.310.0",
|
|
52
|
+
"@aws-sdk/util-retry": "3.310.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.310.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.310.0",
|
|
55
|
+
"@aws-sdk/util-utf8": "3.310.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
59
|
+
"@aws-sdk/service-client-documentation-generator": "3.310.0",
|
|
60
60
|
"@tsconfig/node14": "1.0.3",
|
|
61
61
|
"@types/node": "^14.14.31",
|
|
62
62
|
"concurrently": "7.0.0",
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
}
|
|
77
77
|
},
|
|
78
78
|
"files": [
|
|
79
|
-
"dist
|
|
79
|
+
"dist-*/**"
|
|
80
80
|
],
|
|
81
81
|
"author": {
|
|
82
82
|
"name": "AWS SDK for JavaScript Team",
|