@aws-sdk/client-partnercentral-benefits 3.1148.0 → 3.1150.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/index.js +9 -1
- package/dist-es/models/PartnerCentralBenefitsServiceException.js +1 -0
- package/dist-es/models/errors.js +7 -0
- package/dist-types/models/PartnerCentralBenefitsServiceException.d.ts +1 -0
- package/dist-types/models/errors.d.ts +7 -0
- package/dist-types/ts3.4/models/PartnerCentralBenefitsServiceException.d.ts +1 -0
- package/dist-types/ts3.4/models/errors.d.ts +7 -0
- package/package.json +4 -4
package/dist-cjs/index.js
CHANGED
|
@@ -67,7 +67,7 @@ const commonParams = {
|
|
|
67
67
|
Region: { type: "builtInParams", name: "region" },
|
|
68
68
|
};
|
|
69
69
|
|
|
70
|
-
var version = "3.
|
|
70
|
+
var version = "3.1149.0";
|
|
71
71
|
var packageInfo = {
|
|
72
72
|
version: version};
|
|
73
73
|
|
|
@@ -113,6 +113,7 @@ const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
|
113
113
|
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
114
114
|
|
|
115
115
|
class PartnerCentralBenefitsServiceException extends ServiceException {
|
|
116
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.partnercentralbenefits#PartnerCentralBenefitsServiceException";
|
|
116
117
|
constructor(options) {
|
|
117
118
|
super(options);
|
|
118
119
|
Object.setPrototypeOf(this, PartnerCentralBenefitsServiceException.prototype);
|
|
@@ -120,6 +121,7 @@ class PartnerCentralBenefitsServiceException extends ServiceException {
|
|
|
120
121
|
}
|
|
121
122
|
|
|
122
123
|
class AccessDeniedException extends PartnerCentralBenefitsServiceException {
|
|
124
|
+
static shapeId = "com.amazonaws.partnercentralbenefits#AccessDeniedException";
|
|
123
125
|
name = "AccessDeniedException";
|
|
124
126
|
$fault = "client";
|
|
125
127
|
Message;
|
|
@@ -134,6 +136,7 @@ class AccessDeniedException extends PartnerCentralBenefitsServiceException {
|
|
|
134
136
|
}
|
|
135
137
|
}
|
|
136
138
|
class ConflictException extends PartnerCentralBenefitsServiceException {
|
|
139
|
+
static shapeId = "com.amazonaws.partnercentralbenefits#ConflictException";
|
|
137
140
|
name = "ConflictException";
|
|
138
141
|
$fault = "client";
|
|
139
142
|
Message;
|
|
@@ -148,6 +151,7 @@ class ConflictException extends PartnerCentralBenefitsServiceException {
|
|
|
148
151
|
}
|
|
149
152
|
}
|
|
150
153
|
class InternalServerException extends PartnerCentralBenefitsServiceException {
|
|
154
|
+
static shapeId = "com.amazonaws.partnercentralbenefits#InternalServerException";
|
|
151
155
|
name = "InternalServerException";
|
|
152
156
|
$fault = "server";
|
|
153
157
|
Message;
|
|
@@ -162,6 +166,7 @@ class InternalServerException extends PartnerCentralBenefitsServiceException {
|
|
|
162
166
|
}
|
|
163
167
|
}
|
|
164
168
|
class ResourceNotFoundException extends PartnerCentralBenefitsServiceException {
|
|
169
|
+
static shapeId = "com.amazonaws.partnercentralbenefits#ResourceNotFoundException";
|
|
165
170
|
name = "ResourceNotFoundException";
|
|
166
171
|
$fault = "client";
|
|
167
172
|
Message;
|
|
@@ -176,6 +181,7 @@ class ResourceNotFoundException extends PartnerCentralBenefitsServiceException {
|
|
|
176
181
|
}
|
|
177
182
|
}
|
|
178
183
|
class ThrottlingException extends PartnerCentralBenefitsServiceException {
|
|
184
|
+
static shapeId = "com.amazonaws.partnercentralbenefits#ThrottlingException";
|
|
179
185
|
name = "ThrottlingException";
|
|
180
186
|
$fault = "client";
|
|
181
187
|
Message;
|
|
@@ -190,6 +196,7 @@ class ThrottlingException extends PartnerCentralBenefitsServiceException {
|
|
|
190
196
|
}
|
|
191
197
|
}
|
|
192
198
|
class ValidationException extends PartnerCentralBenefitsServiceException {
|
|
199
|
+
static shapeId = "com.amazonaws.partnercentralbenefits#ValidationException";
|
|
193
200
|
name = "ValidationException";
|
|
194
201
|
$fault = "client";
|
|
195
202
|
Message;
|
|
@@ -208,6 +215,7 @@ class ValidationException extends PartnerCentralBenefitsServiceException {
|
|
|
208
215
|
}
|
|
209
216
|
}
|
|
210
217
|
class ServiceQuotaExceededException extends PartnerCentralBenefitsServiceException {
|
|
218
|
+
static shapeId = "com.amazonaws.partnercentralbenefits#ServiceQuotaExceededException";
|
|
211
219
|
name = "ServiceQuotaExceededException";
|
|
212
220
|
$fault = "client";
|
|
213
221
|
$retryable = {};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, } from "@smithy/core/client";
|
|
2
2
|
export { __ServiceException };
|
|
3
3
|
export class PartnerCentralBenefitsServiceException extends __ServiceException {
|
|
4
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.partnercentralbenefits#PartnerCentralBenefitsServiceException";
|
|
4
5
|
constructor(options) {
|
|
5
6
|
super(options);
|
|
6
7
|
Object.setPrototypeOf(this, PartnerCentralBenefitsServiceException.prototype);
|
package/dist-es/models/errors.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { PartnerCentralBenefitsServiceException as __BaseException } from "./PartnerCentralBenefitsServiceException";
|
|
2
2
|
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
static shapeId = "com.amazonaws.partnercentralbenefits#AccessDeniedException";
|
|
3
4
|
name = "AccessDeniedException";
|
|
4
5
|
$fault = "client";
|
|
5
6
|
Message;
|
|
@@ -14,6 +15,7 @@ export class AccessDeniedException extends __BaseException {
|
|
|
14
15
|
}
|
|
15
16
|
}
|
|
16
17
|
export class ConflictException extends __BaseException {
|
|
18
|
+
static shapeId = "com.amazonaws.partnercentralbenefits#ConflictException";
|
|
17
19
|
name = "ConflictException";
|
|
18
20
|
$fault = "client";
|
|
19
21
|
Message;
|
|
@@ -28,6 +30,7 @@ export class ConflictException extends __BaseException {
|
|
|
28
30
|
}
|
|
29
31
|
}
|
|
30
32
|
export class InternalServerException extends __BaseException {
|
|
33
|
+
static shapeId = "com.amazonaws.partnercentralbenefits#InternalServerException";
|
|
31
34
|
name = "InternalServerException";
|
|
32
35
|
$fault = "server";
|
|
33
36
|
Message;
|
|
@@ -42,6 +45,7 @@ export class InternalServerException extends __BaseException {
|
|
|
42
45
|
}
|
|
43
46
|
}
|
|
44
47
|
export class ResourceNotFoundException extends __BaseException {
|
|
48
|
+
static shapeId = "com.amazonaws.partnercentralbenefits#ResourceNotFoundException";
|
|
45
49
|
name = "ResourceNotFoundException";
|
|
46
50
|
$fault = "client";
|
|
47
51
|
Message;
|
|
@@ -56,6 +60,7 @@ export class ResourceNotFoundException extends __BaseException {
|
|
|
56
60
|
}
|
|
57
61
|
}
|
|
58
62
|
export class ThrottlingException extends __BaseException {
|
|
63
|
+
static shapeId = "com.amazonaws.partnercentralbenefits#ThrottlingException";
|
|
59
64
|
name = "ThrottlingException";
|
|
60
65
|
$fault = "client";
|
|
61
66
|
Message;
|
|
@@ -70,6 +75,7 @@ export class ThrottlingException extends __BaseException {
|
|
|
70
75
|
}
|
|
71
76
|
}
|
|
72
77
|
export class ValidationException extends __BaseException {
|
|
78
|
+
static shapeId = "com.amazonaws.partnercentralbenefits#ValidationException";
|
|
73
79
|
name = "ValidationException";
|
|
74
80
|
$fault = "client";
|
|
75
81
|
Message;
|
|
@@ -88,6 +94,7 @@ export class ValidationException extends __BaseException {
|
|
|
88
94
|
}
|
|
89
95
|
}
|
|
90
96
|
export class ServiceQuotaExceededException extends __BaseException {
|
|
97
|
+
static shapeId = "com.amazonaws.partnercentralbenefits#ServiceQuotaExceededException";
|
|
91
98
|
name = "ServiceQuotaExceededException";
|
|
92
99
|
$fault = "client";
|
|
93
100
|
$retryable = {};
|
|
@@ -7,6 +7,7 @@ export { __ServiceException };
|
|
|
7
7
|
* Base exception class for all service exceptions from PartnerCentralBenefits service.
|
|
8
8
|
*/
|
|
9
9
|
export declare class PartnerCentralBenefitsServiceException extends __ServiceException {
|
|
10
|
+
static readonly shapeId: string;
|
|
10
11
|
/**
|
|
11
12
|
* @internal
|
|
12
13
|
*/
|
|
@@ -7,6 +7,7 @@ import { PartnerCentralBenefitsServiceException as __BaseException } from "./Par
|
|
|
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
|
/**
|
|
@@ -24,6 +25,7 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
24
25
|
* @public
|
|
25
26
|
*/
|
|
26
27
|
export declare class ConflictException extends __BaseException {
|
|
28
|
+
static readonly shapeId: string;
|
|
27
29
|
readonly name: "ConflictException";
|
|
28
30
|
readonly $fault: "client";
|
|
29
31
|
/**
|
|
@@ -41,6 +43,7 @@ export declare class ConflictException extends __BaseException {
|
|
|
41
43
|
* @public
|
|
42
44
|
*/
|
|
43
45
|
export declare class InternalServerException extends __BaseException {
|
|
46
|
+
static readonly shapeId: string;
|
|
44
47
|
readonly name: "InternalServerException";
|
|
45
48
|
readonly $fault: "server";
|
|
46
49
|
/**
|
|
@@ -58,6 +61,7 @@ export declare class InternalServerException extends __BaseException {
|
|
|
58
61
|
* @public
|
|
59
62
|
*/
|
|
60
63
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
64
|
+
static readonly shapeId: string;
|
|
61
65
|
readonly name: "ResourceNotFoundException";
|
|
62
66
|
readonly $fault: "client";
|
|
63
67
|
/**
|
|
@@ -75,6 +79,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
75
79
|
* @public
|
|
76
80
|
*/
|
|
77
81
|
export declare class ThrottlingException extends __BaseException {
|
|
82
|
+
static readonly shapeId: string;
|
|
78
83
|
readonly name: "ThrottlingException";
|
|
79
84
|
readonly $fault: "client";
|
|
80
85
|
/**
|
|
@@ -92,6 +97,7 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
92
97
|
* @public
|
|
93
98
|
*/
|
|
94
99
|
export declare class ValidationException extends __BaseException {
|
|
100
|
+
static readonly shapeId: string;
|
|
95
101
|
readonly name: "ValidationException";
|
|
96
102
|
readonly $fault: "client";
|
|
97
103
|
/**
|
|
@@ -119,6 +125,7 @@ export declare class ValidationException extends __BaseException {
|
|
|
119
125
|
* @public
|
|
120
126
|
*/
|
|
121
127
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
128
|
+
static readonly shapeId: string;
|
|
122
129
|
readonly name: "ServiceQuotaExceededException";
|
|
123
130
|
readonly $fault: "client";
|
|
124
131
|
$retryable: {};
|
|
@@ -3,36 +3,42 @@ import { ValidationExceptionReason } from "./enums";
|
|
|
3
3
|
import { ValidationExceptionField } from "./models_0";
|
|
4
4
|
import { PartnerCentralBenefitsServiceException as __BaseException } from "./PartnerCentralBenefitsServiceException";
|
|
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
|
Message: string | undefined;
|
|
9
10
|
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
10
11
|
}
|
|
11
12
|
export declare class ConflictException extends __BaseException {
|
|
13
|
+
static readonly shapeId: string;
|
|
12
14
|
readonly name: "ConflictException";
|
|
13
15
|
readonly $fault: "client";
|
|
14
16
|
Message: string | undefined;
|
|
15
17
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
16
18
|
}
|
|
17
19
|
export declare class InternalServerException extends __BaseException {
|
|
20
|
+
static readonly shapeId: string;
|
|
18
21
|
readonly name: "InternalServerException";
|
|
19
22
|
readonly $fault: "server";
|
|
20
23
|
Message: string | undefined;
|
|
21
24
|
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
22
25
|
}
|
|
23
26
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
27
|
+
static readonly shapeId: string;
|
|
24
28
|
readonly name: "ResourceNotFoundException";
|
|
25
29
|
readonly $fault: "client";
|
|
26
30
|
Message: string | undefined;
|
|
27
31
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
28
32
|
}
|
|
29
33
|
export declare class ThrottlingException extends __BaseException {
|
|
34
|
+
static readonly shapeId: string;
|
|
30
35
|
readonly name: "ThrottlingException";
|
|
31
36
|
readonly $fault: "client";
|
|
32
37
|
Message: string | undefined;
|
|
33
38
|
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
34
39
|
}
|
|
35
40
|
export declare class ValidationException extends __BaseException {
|
|
41
|
+
static readonly shapeId: string;
|
|
36
42
|
readonly name: "ValidationException";
|
|
37
43
|
readonly $fault: "client";
|
|
38
44
|
Message: string | undefined;
|
|
@@ -41,6 +47,7 @@ export declare class ValidationException extends __BaseException {
|
|
|
41
47
|
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
42
48
|
}
|
|
43
49
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
50
|
+
static readonly shapeId: string;
|
|
44
51
|
readonly name: "ServiceQuotaExceededException";
|
|
45
52
|
readonly $fault: "client";
|
|
46
53
|
$retryable: {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-partnercentral-benefits",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1150.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Partnercentral Benefits Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-partnercentral-benefits",
|
|
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.3",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.86",
|
|
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",
|