@aws-sdk/client-b2bi 3.933.0 → 3.935.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 +445 -444
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +430 -0
- package/dist-es/models/errors.js +101 -0
- package/dist-es/models/models_0.js +1 -531
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +598 -0
- package/dist-types/models/errors.d.ts +119 -0
- package/dist-types/models/models_0.d.ts +1 -717
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +464 -0
- package/dist-types/ts3.4/models/errors.d.ts +58 -0
- package/dist-types/ts3.4/models/models_0.d.ts +23 -522
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { B2biServiceException as __BaseException } from "./B2biServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
8
|
+
readonly name: "AccessDeniedException";
|
|
9
|
+
readonly $fault: "client";
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* <p>A conflict exception is thrown when you attempt to delete a resource (such as a profile or a capability) that is being used by other resources.</p>
|
|
17
|
+
* @public
|
|
18
|
+
*/
|
|
19
|
+
export declare class ConflictException extends __BaseException {
|
|
20
|
+
readonly name: "ConflictException";
|
|
21
|
+
readonly $fault: "client";
|
|
22
|
+
/**
|
|
23
|
+
* @internal
|
|
24
|
+
*/
|
|
25
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* <p>This exception is thrown when an error occurs in the Amazon Web Services B2B Data Interchange service.</p>
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
export declare class InternalServerException extends __BaseException {
|
|
32
|
+
readonly name: "InternalServerException";
|
|
33
|
+
readonly $fault: "server";
|
|
34
|
+
$retryable: {};
|
|
35
|
+
/**
|
|
36
|
+
* <p>The server attempts to retry a failed command.</p>
|
|
37
|
+
* @public
|
|
38
|
+
*/
|
|
39
|
+
retryAfterSeconds?: number | undefined;
|
|
40
|
+
/**
|
|
41
|
+
* @internal
|
|
42
|
+
*/
|
|
43
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* <p>Occurs when the requested resource does not exist, or cannot be found. In some cases, the resource exists in a region other than the region specified in the API call.</p>
|
|
47
|
+
* @public
|
|
48
|
+
*/
|
|
49
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
50
|
+
readonly name: "ResourceNotFoundException";
|
|
51
|
+
readonly $fault: "client";
|
|
52
|
+
/**
|
|
53
|
+
* @internal
|
|
54
|
+
*/
|
|
55
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* <p>Occurs when the calling command attempts to exceed one of the service quotas, for example trying to create a capability when you already have the maximum number of capabilities allowed.</p>
|
|
59
|
+
* @public
|
|
60
|
+
*/
|
|
61
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
62
|
+
readonly name: "ServiceQuotaExceededException";
|
|
63
|
+
readonly $fault: "client";
|
|
64
|
+
/**
|
|
65
|
+
* <p>The ID for the resource that exceeded the quota, which caused the exception.</p>
|
|
66
|
+
* @public
|
|
67
|
+
*/
|
|
68
|
+
resourceId: string | undefined;
|
|
69
|
+
/**
|
|
70
|
+
* <p>The resource type (profile, partnership, transformer, or capability) that exceeded the quota, which caused the exception.</p>
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
73
|
+
resourceType: string | undefined;
|
|
74
|
+
/**
|
|
75
|
+
* <p>The code responsible for exceeding the quota, which caused the exception.</p>
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
serviceCode: string | undefined;
|
|
79
|
+
/**
|
|
80
|
+
* <p>The quota that was exceeded, which caused the exception.</p>
|
|
81
|
+
* @public
|
|
82
|
+
*/
|
|
83
|
+
quotaCode: string | undefined;
|
|
84
|
+
/**
|
|
85
|
+
* @internal
|
|
86
|
+
*/
|
|
87
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* <p>The request was denied due to throttling: the data speed and rendering may be limited depending on various parameters and conditions.</p>
|
|
91
|
+
* @public
|
|
92
|
+
*/
|
|
93
|
+
export declare class ThrottlingException extends __BaseException {
|
|
94
|
+
readonly name: "ThrottlingException";
|
|
95
|
+
readonly $fault: "client";
|
|
96
|
+
$retryable: {};
|
|
97
|
+
/**
|
|
98
|
+
* <p>The server attempts to retry a command that was throttled.</p>
|
|
99
|
+
* @public
|
|
100
|
+
*/
|
|
101
|
+
retryAfterSeconds?: number | undefined;
|
|
102
|
+
/**
|
|
103
|
+
* @internal
|
|
104
|
+
*/
|
|
105
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* <p>Occurs when a B2BI object cannot be validated against a request from another object. This exception can be thrown during standard EDI validation or when custom validation rules fail, such as when element length constraints are violated, invalid codes are used in code list validations, or required elements are missing based on configured element requirement rules.</p>
|
|
109
|
+
* @public
|
|
110
|
+
*/
|
|
111
|
+
export declare class ValidationException extends __BaseException {
|
|
112
|
+
readonly name: "ValidationException";
|
|
113
|
+
readonly $fault: "client";
|
|
114
|
+
Message: string | undefined;
|
|
115
|
+
/**
|
|
116
|
+
* @internal
|
|
117
|
+
*/
|
|
118
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
119
|
+
}
|