@aws-sdk/client-nova-act 3.987.0 → 3.988.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 +35 -771
- package/dist-cjs/models/NovaActServiceException.js +12 -0
- package/dist-cjs/models/errors.js +129 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +560 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +65 -59
- package/dist-types/schemas/schemas_0.d.ts +14 -7
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +9 -7
- package/package.json +13 -13
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NovaActServiceException = exports.__ServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
+
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
6
|
+
class NovaActServiceException extends smithy_client_1.ServiceException {
|
|
7
|
+
constructor(options) {
|
|
8
|
+
super(options);
|
|
9
|
+
Object.setPrototypeOf(this, NovaActServiceException.prototype);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.NovaActServiceException = NovaActServiceException;
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ValidationException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.AccessDeniedException = void 0;
|
|
4
|
+
const NovaActServiceException_1 = require("./NovaActServiceException");
|
|
5
|
+
class AccessDeniedException extends NovaActServiceException_1.NovaActServiceException {
|
|
6
|
+
name = "AccessDeniedException";
|
|
7
|
+
$fault = "client";
|
|
8
|
+
constructor(opts) {
|
|
9
|
+
super({
|
|
10
|
+
name: "AccessDeniedException",
|
|
11
|
+
$fault: "client",
|
|
12
|
+
...opts,
|
|
13
|
+
});
|
|
14
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
18
|
+
class ConflictException extends NovaActServiceException_1.NovaActServiceException {
|
|
19
|
+
name = "ConflictException";
|
|
20
|
+
$fault = "client";
|
|
21
|
+
resourceId;
|
|
22
|
+
resourceType;
|
|
23
|
+
constructor(opts) {
|
|
24
|
+
super({
|
|
25
|
+
name: "ConflictException",
|
|
26
|
+
$fault: "client",
|
|
27
|
+
...opts,
|
|
28
|
+
});
|
|
29
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
30
|
+
this.resourceId = opts.resourceId;
|
|
31
|
+
this.resourceType = opts.resourceType;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
exports.ConflictException = ConflictException;
|
|
35
|
+
class InternalServerException extends NovaActServiceException_1.NovaActServiceException {
|
|
36
|
+
name = "InternalServerException";
|
|
37
|
+
$fault = "server";
|
|
38
|
+
$retryable = {};
|
|
39
|
+
retryAfterSeconds;
|
|
40
|
+
reason;
|
|
41
|
+
constructor(opts) {
|
|
42
|
+
super({
|
|
43
|
+
name: "InternalServerException",
|
|
44
|
+
$fault: "server",
|
|
45
|
+
...opts,
|
|
46
|
+
});
|
|
47
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
48
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
49
|
+
this.reason = opts.reason;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
exports.InternalServerException = InternalServerException;
|
|
53
|
+
class ResourceNotFoundException extends NovaActServiceException_1.NovaActServiceException {
|
|
54
|
+
name = "ResourceNotFoundException";
|
|
55
|
+
$fault = "client";
|
|
56
|
+
resourceId;
|
|
57
|
+
resourceType;
|
|
58
|
+
constructor(opts) {
|
|
59
|
+
super({
|
|
60
|
+
name: "ResourceNotFoundException",
|
|
61
|
+
$fault: "client",
|
|
62
|
+
...opts,
|
|
63
|
+
});
|
|
64
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
65
|
+
this.resourceId = opts.resourceId;
|
|
66
|
+
this.resourceType = opts.resourceType;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
70
|
+
class ServiceQuotaExceededException extends NovaActServiceException_1.NovaActServiceException {
|
|
71
|
+
name = "ServiceQuotaExceededException";
|
|
72
|
+
$fault = "client";
|
|
73
|
+
resourceId;
|
|
74
|
+
resourceType;
|
|
75
|
+
serviceCode;
|
|
76
|
+
quotaCode;
|
|
77
|
+
constructor(opts) {
|
|
78
|
+
super({
|
|
79
|
+
name: "ServiceQuotaExceededException",
|
|
80
|
+
$fault: "client",
|
|
81
|
+
...opts,
|
|
82
|
+
});
|
|
83
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
84
|
+
this.resourceId = opts.resourceId;
|
|
85
|
+
this.resourceType = opts.resourceType;
|
|
86
|
+
this.serviceCode = opts.serviceCode;
|
|
87
|
+
this.quotaCode = opts.quotaCode;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
91
|
+
class ThrottlingException extends NovaActServiceException_1.NovaActServiceException {
|
|
92
|
+
name = "ThrottlingException";
|
|
93
|
+
$fault = "client";
|
|
94
|
+
$retryable = {
|
|
95
|
+
throttling: true,
|
|
96
|
+
};
|
|
97
|
+
serviceCode;
|
|
98
|
+
quotaCode;
|
|
99
|
+
retryAfterSeconds;
|
|
100
|
+
constructor(opts) {
|
|
101
|
+
super({
|
|
102
|
+
name: "ThrottlingException",
|
|
103
|
+
$fault: "client",
|
|
104
|
+
...opts,
|
|
105
|
+
});
|
|
106
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
107
|
+
this.serviceCode = opts.serviceCode;
|
|
108
|
+
this.quotaCode = opts.quotaCode;
|
|
109
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
exports.ThrottlingException = ThrottlingException;
|
|
113
|
+
class ValidationException extends NovaActServiceException_1.NovaActServiceException {
|
|
114
|
+
name = "ValidationException";
|
|
115
|
+
$fault = "client";
|
|
116
|
+
reason;
|
|
117
|
+
fieldList;
|
|
118
|
+
constructor(opts) {
|
|
119
|
+
super({
|
|
120
|
+
name: "ValidationException",
|
|
121
|
+
$fault: "client",
|
|
122
|
+
...opts,
|
|
123
|
+
});
|
|
124
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
125
|
+
this.reason = opts.reason;
|
|
126
|
+
this.fieldList = opts.fieldList;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
exports.ValidationException = ValidationException;
|
|
@@ -9,6 +9,7 @@ const util_base64_1 = require("@smithy/util-base64");
|
|
|
9
9
|
const util_utf8_1 = require("@smithy/util-utf8");
|
|
10
10
|
const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
|
|
11
11
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
12
|
+
const schemas_0_1 = require("./schemas/schemas_0");
|
|
12
13
|
const getRuntimeConfig = (config) => {
|
|
13
14
|
return {
|
|
14
15
|
apiVersion: "2025-08-22",
|
|
@@ -29,6 +30,7 @@ const getRuntimeConfig = (config) => {
|
|
|
29
30
|
protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
|
|
30
31
|
protocolSettings: config?.protocolSettings ?? {
|
|
31
32
|
defaultNamespace: "com.amazonaws.novaact",
|
|
33
|
+
errorTypeRegistries: schemas_0_1.errorTypeRegistries,
|
|
32
34
|
version: "2025-08-22",
|
|
33
35
|
serviceTarget: "AmazonNovaAgentsDataPlane",
|
|
34
36
|
},
|