@aws-sdk/client-marketplace-agreement 3.1147.0 → 3.1149.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/README.md +39 -0
- package/dist-cjs/index.js +9 -1
- package/dist-es/models/MarketplaceAgreementServiceException.js +1 -0
- package/dist-es/models/errors.js +7 -0
- package/dist-types/models/MarketplaceAgreementServiceException.d.ts +1 -0
- package/dist-types/models/errors.d.ts +7 -0
- package/dist-types/ts3.4/models/MarketplaceAgreementServiceException.d.ts +1 -0
- package/dist-types/ts3.4/models/errors.d.ts +7 -0
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -51,6 +51,45 @@ const params = { /** input parameters */ };
|
|
|
51
51
|
const command = new ListAgreementChargesCommand(params);
|
|
52
52
|
```
|
|
53
53
|
|
|
54
|
+
#### Supported Message Protocols
|
|
55
|
+
|
|
56
|
+
This client supports multiple protocols.
|
|
57
|
+
|
|
58
|
+
The default for this client is **AWS JSON (RPC) 1.0**.
|
|
59
|
+
|
|
60
|
+
We have selected this default based on our evaluation of the
|
|
61
|
+
performance characteristics of this protocol format in JavaScript. You don't need to change it,
|
|
62
|
+
but you have the option to do so, for example to support existing integrations or tests.
|
|
63
|
+
Selecting a non-default protocol changes the format
|
|
64
|
+
of the data sent over the network, but does not affect how you interact with the
|
|
65
|
+
client using JavaScript objects.
|
|
66
|
+
|
|
67
|
+
Install the `@aws-sdk/config` package to access alternate protocols.
|
|
68
|
+
|
|
69
|
+
See [AWS Protocols](https://smithy.io/2.0/aws/protocols/index.html) for more information.
|
|
70
|
+
|
|
71
|
+
##### AWS JSON (RPC) 1.0
|
|
72
|
+
|
|
73
|
+
This protocol uses JSON payloads.
|
|
74
|
+
```js
|
|
75
|
+
import { AwsJson1_0Protocol } from "@aws-sdk/config/protocol";
|
|
76
|
+
|
|
77
|
+
const client = new MarketplaceAgreementClient({
|
|
78
|
+
protocol: AwsJson1_0Protocol
|
|
79
|
+
});
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
##### Smithy RPC v2 CBOR
|
|
83
|
+
|
|
84
|
+
This protocol uses CBOR payloads.
|
|
85
|
+
```js
|
|
86
|
+
import { AwsSmithyRpcV2CborProtocol } from "@aws-sdk/config/protocol";
|
|
87
|
+
|
|
88
|
+
const client = new MarketplaceAgreementClient({
|
|
89
|
+
protocol: AwsSmithyRpcV2CborProtocol
|
|
90
|
+
});
|
|
91
|
+
```
|
|
92
|
+
|
|
54
93
|
#### Async/await
|
|
55
94
|
|
|
56
95
|
We recommend using the [await](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/await)
|
package/dist-cjs/index.js
CHANGED
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1148.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -132,6 +132,7 @@ const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
|
132
132
|
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
133
133
|
|
|
134
134
|
class MarketplaceAgreementServiceException extends ServiceException {
|
|
135
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.marketplaceagreement#MarketplaceAgreementServiceException";
|
|
135
136
|
constructor(options) {
|
|
136
137
|
super(options);
|
|
137
138
|
Object.setPrototypeOf(this, MarketplaceAgreementServiceException.prototype);
|
|
@@ -139,6 +140,7 @@ class MarketplaceAgreementServiceException extends ServiceException {
|
|
|
139
140
|
}
|
|
140
141
|
|
|
141
142
|
class AccessDeniedException extends MarketplaceAgreementServiceException {
|
|
143
|
+
static shapeId = "com.amazonaws.marketplaceagreement#AccessDeniedException";
|
|
142
144
|
name = "AccessDeniedException";
|
|
143
145
|
$fault = "client";
|
|
144
146
|
requestId;
|
|
@@ -155,6 +157,7 @@ class AccessDeniedException extends MarketplaceAgreementServiceException {
|
|
|
155
157
|
}
|
|
156
158
|
}
|
|
157
159
|
class ConflictException extends MarketplaceAgreementServiceException {
|
|
160
|
+
static shapeId = "com.amazonaws.marketplaceagreement#ConflictException";
|
|
158
161
|
name = "ConflictException";
|
|
159
162
|
$fault = "client";
|
|
160
163
|
requestId;
|
|
@@ -173,6 +176,7 @@ class ConflictException extends MarketplaceAgreementServiceException {
|
|
|
173
176
|
}
|
|
174
177
|
}
|
|
175
178
|
class InternalServerException extends MarketplaceAgreementServiceException {
|
|
179
|
+
static shapeId = "com.amazonaws.marketplaceagreement#InternalServerException";
|
|
176
180
|
name = "InternalServerException";
|
|
177
181
|
$fault = "server";
|
|
178
182
|
requestId;
|
|
@@ -187,6 +191,7 @@ class InternalServerException extends MarketplaceAgreementServiceException {
|
|
|
187
191
|
}
|
|
188
192
|
}
|
|
189
193
|
class ResourceNotFoundException extends MarketplaceAgreementServiceException {
|
|
194
|
+
static shapeId = "com.amazonaws.marketplaceagreement#ResourceNotFoundException";
|
|
190
195
|
name = "ResourceNotFoundException";
|
|
191
196
|
$fault = "client";
|
|
192
197
|
requestId;
|
|
@@ -205,6 +210,7 @@ class ResourceNotFoundException extends MarketplaceAgreementServiceException {
|
|
|
205
210
|
}
|
|
206
211
|
}
|
|
207
212
|
class ThrottlingException extends MarketplaceAgreementServiceException {
|
|
213
|
+
static shapeId = "com.amazonaws.marketplaceagreement#ThrottlingException";
|
|
208
214
|
name = "ThrottlingException";
|
|
209
215
|
$fault = "client";
|
|
210
216
|
requestId;
|
|
@@ -219,6 +225,7 @@ class ThrottlingException extends MarketplaceAgreementServiceException {
|
|
|
219
225
|
}
|
|
220
226
|
}
|
|
221
227
|
class ValidationException extends MarketplaceAgreementServiceException {
|
|
228
|
+
static shapeId = "com.amazonaws.marketplaceagreement#ValidationException";
|
|
222
229
|
name = "ValidationException";
|
|
223
230
|
$fault = "client";
|
|
224
231
|
requestId;
|
|
@@ -237,6 +244,7 @@ class ValidationException extends MarketplaceAgreementServiceException {
|
|
|
237
244
|
}
|
|
238
245
|
}
|
|
239
246
|
class ServiceQuotaExceededException extends MarketplaceAgreementServiceException {
|
|
247
|
+
static shapeId = "com.amazonaws.marketplaceagreement#ServiceQuotaExceededException";
|
|
240
248
|
name = "ServiceQuotaExceededException";
|
|
241
249
|
$fault = "client";
|
|
242
250
|
requestId;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, } from "@smithy/core/client";
|
|
2
2
|
export { __ServiceException };
|
|
3
3
|
export class MarketplaceAgreementServiceException extends __ServiceException {
|
|
4
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.marketplaceagreement#MarketplaceAgreementServiceException";
|
|
4
5
|
constructor(options) {
|
|
5
6
|
super(options);
|
|
6
7
|
Object.setPrototypeOf(this, MarketplaceAgreementServiceException.prototype);
|
package/dist-es/models/errors.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { MarketplaceAgreementServiceException as __BaseException } from "./MarketplaceAgreementServiceException";
|
|
2
2
|
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
static shapeId = "com.amazonaws.marketplaceagreement#AccessDeniedException";
|
|
3
4
|
name = "AccessDeniedException";
|
|
4
5
|
$fault = "client";
|
|
5
6
|
requestId;
|
|
@@ -16,6 +17,7 @@ export class AccessDeniedException extends __BaseException {
|
|
|
16
17
|
}
|
|
17
18
|
}
|
|
18
19
|
export class ConflictException extends __BaseException {
|
|
20
|
+
static shapeId = "com.amazonaws.marketplaceagreement#ConflictException";
|
|
19
21
|
name = "ConflictException";
|
|
20
22
|
$fault = "client";
|
|
21
23
|
requestId;
|
|
@@ -34,6 +36,7 @@ export class ConflictException extends __BaseException {
|
|
|
34
36
|
}
|
|
35
37
|
}
|
|
36
38
|
export class InternalServerException extends __BaseException {
|
|
39
|
+
static shapeId = "com.amazonaws.marketplaceagreement#InternalServerException";
|
|
37
40
|
name = "InternalServerException";
|
|
38
41
|
$fault = "server";
|
|
39
42
|
requestId;
|
|
@@ -48,6 +51,7 @@ export class InternalServerException extends __BaseException {
|
|
|
48
51
|
}
|
|
49
52
|
}
|
|
50
53
|
export class ResourceNotFoundException extends __BaseException {
|
|
54
|
+
static shapeId = "com.amazonaws.marketplaceagreement#ResourceNotFoundException";
|
|
51
55
|
name = "ResourceNotFoundException";
|
|
52
56
|
$fault = "client";
|
|
53
57
|
requestId;
|
|
@@ -66,6 +70,7 @@ export class ResourceNotFoundException extends __BaseException {
|
|
|
66
70
|
}
|
|
67
71
|
}
|
|
68
72
|
export class ThrottlingException extends __BaseException {
|
|
73
|
+
static shapeId = "com.amazonaws.marketplaceagreement#ThrottlingException";
|
|
69
74
|
name = "ThrottlingException";
|
|
70
75
|
$fault = "client";
|
|
71
76
|
requestId;
|
|
@@ -80,6 +85,7 @@ export class ThrottlingException extends __BaseException {
|
|
|
80
85
|
}
|
|
81
86
|
}
|
|
82
87
|
export class ValidationException extends __BaseException {
|
|
88
|
+
static shapeId = "com.amazonaws.marketplaceagreement#ValidationException";
|
|
83
89
|
name = "ValidationException";
|
|
84
90
|
$fault = "client";
|
|
85
91
|
requestId;
|
|
@@ -98,6 +104,7 @@ export class ValidationException extends __BaseException {
|
|
|
98
104
|
}
|
|
99
105
|
}
|
|
100
106
|
export class ServiceQuotaExceededException extends __BaseException {
|
|
107
|
+
static shapeId = "com.amazonaws.marketplaceagreement#ServiceQuotaExceededException";
|
|
101
108
|
name = "ServiceQuotaExceededException";
|
|
102
109
|
$fault = "client";
|
|
103
110
|
requestId;
|
|
@@ -7,6 +7,7 @@ export { __ServiceException };
|
|
|
7
7
|
* Base exception class for all service exceptions from MarketplaceAgreement service.
|
|
8
8
|
*/
|
|
9
9
|
export declare class MarketplaceAgreementServiceException extends __ServiceException {
|
|
10
|
+
static readonly shapeId: string;
|
|
10
11
|
/**
|
|
11
12
|
* @internal
|
|
12
13
|
*/
|
|
@@ -7,6 +7,7 @@ import type { ValidationExceptionField } from "./models_0";
|
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
9
9
|
export declare class AccessDeniedException extends __BaseException {
|
|
10
|
+
static readonly shapeId: string;
|
|
10
11
|
readonly name: "AccessDeniedException";
|
|
11
12
|
readonly $fault: "client";
|
|
12
13
|
/**
|
|
@@ -29,6 +30,7 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
29
30
|
* @public
|
|
30
31
|
*/
|
|
31
32
|
export declare class ConflictException extends __BaseException {
|
|
33
|
+
static readonly shapeId: string;
|
|
32
34
|
readonly name: "ConflictException";
|
|
33
35
|
readonly $fault: "client";
|
|
34
36
|
/**
|
|
@@ -56,6 +58,7 @@ export declare class ConflictException extends __BaseException {
|
|
|
56
58
|
* @public
|
|
57
59
|
*/
|
|
58
60
|
export declare class InternalServerException extends __BaseException {
|
|
61
|
+
static readonly shapeId: string;
|
|
59
62
|
readonly name: "InternalServerException";
|
|
60
63
|
readonly $fault: "server";
|
|
61
64
|
/**
|
|
@@ -73,6 +76,7 @@ export declare class InternalServerException extends __BaseException {
|
|
|
73
76
|
* @public
|
|
74
77
|
*/
|
|
75
78
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
79
|
+
static readonly shapeId: string;
|
|
76
80
|
readonly name: "ResourceNotFoundException";
|
|
77
81
|
readonly $fault: "client";
|
|
78
82
|
/**
|
|
@@ -100,6 +104,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
100
104
|
* @public
|
|
101
105
|
*/
|
|
102
106
|
export declare class ThrottlingException extends __BaseException {
|
|
107
|
+
static readonly shapeId: string;
|
|
103
108
|
readonly name: "ThrottlingException";
|
|
104
109
|
readonly $fault: "client";
|
|
105
110
|
/**
|
|
@@ -117,6 +122,7 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
117
122
|
* @public
|
|
118
123
|
*/
|
|
119
124
|
export declare class ValidationException extends __BaseException {
|
|
125
|
+
static readonly shapeId: string;
|
|
120
126
|
readonly name: "ValidationException";
|
|
121
127
|
readonly $fault: "client";
|
|
122
128
|
/**
|
|
@@ -144,6 +150,7 @@ export declare class ValidationException extends __BaseException {
|
|
|
144
150
|
* @public
|
|
145
151
|
*/
|
|
146
152
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
153
|
+
static readonly shapeId: string;
|
|
147
154
|
readonly name: "ServiceQuotaExceededException";
|
|
148
155
|
readonly $fault: "client";
|
|
149
156
|
/**
|
|
@@ -3,6 +3,7 @@ import { AccessDeniedExceptionReason, ResourceType, ValidationExceptionReason }
|
|
|
3
3
|
import { MarketplaceAgreementServiceException as __BaseException } from "./MarketplaceAgreementServiceException";
|
|
4
4
|
import { ValidationExceptionField } from "./models_0";
|
|
5
5
|
export declare class AccessDeniedException extends __BaseException {
|
|
6
|
+
static readonly shapeId: string;
|
|
6
7
|
readonly name: "AccessDeniedException";
|
|
7
8
|
readonly $fault: "client";
|
|
8
9
|
requestId?: string | undefined;
|
|
@@ -10,6 +11,7 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
10
11
|
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
11
12
|
}
|
|
12
13
|
export declare class ConflictException extends __BaseException {
|
|
14
|
+
static readonly shapeId: string;
|
|
13
15
|
readonly name: "ConflictException";
|
|
14
16
|
readonly $fault: "client";
|
|
15
17
|
requestId?: string | undefined;
|
|
@@ -18,12 +20,14 @@ export declare class ConflictException extends __BaseException {
|
|
|
18
20
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
19
21
|
}
|
|
20
22
|
export declare class InternalServerException extends __BaseException {
|
|
23
|
+
static readonly shapeId: string;
|
|
21
24
|
readonly name: "InternalServerException";
|
|
22
25
|
readonly $fault: "server";
|
|
23
26
|
requestId?: string | undefined;
|
|
24
27
|
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
25
28
|
}
|
|
26
29
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
30
|
+
static readonly shapeId: string;
|
|
27
31
|
readonly name: "ResourceNotFoundException";
|
|
28
32
|
readonly $fault: "client";
|
|
29
33
|
requestId?: string | undefined;
|
|
@@ -32,12 +36,14 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
32
36
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
33
37
|
}
|
|
34
38
|
export declare class ThrottlingException extends __BaseException {
|
|
39
|
+
static readonly shapeId: string;
|
|
35
40
|
readonly name: "ThrottlingException";
|
|
36
41
|
readonly $fault: "client";
|
|
37
42
|
requestId?: string | undefined;
|
|
38
43
|
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
39
44
|
}
|
|
40
45
|
export declare class ValidationException extends __BaseException {
|
|
46
|
+
static readonly shapeId: string;
|
|
41
47
|
readonly name: "ValidationException";
|
|
42
48
|
readonly $fault: "client";
|
|
43
49
|
requestId?: string | undefined;
|
|
@@ -46,6 +52,7 @@ export declare class ValidationException extends __BaseException {
|
|
|
46
52
|
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
47
53
|
}
|
|
48
54
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
55
|
+
static readonly shapeId: string;
|
|
49
56
|
readonly name: "ServiceQuotaExceededException";
|
|
50
57
|
readonly $fault: "client";
|
|
51
58
|
requestId?: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-marketplace-agreement",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1149.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Marketplace Agreement Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-marketplace-agreement",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -46,10 +46,10 @@
|
|
|
46
46
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@aws-sdk/core": "^3.978.
|
|
50
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
49
|
+
"@aws-sdk/core": "^3.978.2",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.85",
|
|
51
51
|
"@aws-sdk/types": "^3.974.6",
|
|
52
|
-
"@smithy/core": "^3.35.
|
|
52
|
+
"@smithy/core": "^3.35.2",
|
|
53
53
|
"@smithy/fetch-http-handler": "^5.8.0",
|
|
54
54
|
"@smithy/node-http-handler": "^4.12.1",
|
|
55
55
|
"@smithy/types": "^4.19.0",
|