@aws-sdk/client-accessanalyzer 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 +56 -1924
- package/dist-cjs/models/AccessAnalyzerServiceException.js +12 -0
- package/dist-cjs/models/errors.js +146 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +1573 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +89 -83
- package/dist-types/schemas/schemas_0.d.ts +17 -10
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +12 -10
- package/package.json +13 -13
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AccessAnalyzerServiceException = 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 AccessAnalyzerServiceException extends smithy_client_1.ServiceException {
|
|
7
|
+
constructor(options) {
|
|
8
|
+
super(options);
|
|
9
|
+
Object.setPrototypeOf(this, AccessAnalyzerServiceException.prototype);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.AccessAnalyzerServiceException = AccessAnalyzerServiceException;
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UnprocessableEntityException = exports.InvalidParameterException = exports.ValidationException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.AccessDeniedException = void 0;
|
|
4
|
+
const AccessAnalyzerServiceException_1 = require("./AccessAnalyzerServiceException");
|
|
5
|
+
class AccessDeniedException extends AccessAnalyzerServiceException_1.AccessAnalyzerServiceException {
|
|
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 AccessAnalyzerServiceException_1.AccessAnalyzerServiceException {
|
|
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 AccessAnalyzerServiceException_1.AccessAnalyzerServiceException {
|
|
36
|
+
name = "InternalServerException";
|
|
37
|
+
$fault = "server";
|
|
38
|
+
$retryable = {};
|
|
39
|
+
retryAfterSeconds;
|
|
40
|
+
constructor(opts) {
|
|
41
|
+
super({
|
|
42
|
+
name: "InternalServerException",
|
|
43
|
+
$fault: "server",
|
|
44
|
+
...opts,
|
|
45
|
+
});
|
|
46
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
47
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
exports.InternalServerException = InternalServerException;
|
|
51
|
+
class ResourceNotFoundException extends AccessAnalyzerServiceException_1.AccessAnalyzerServiceException {
|
|
52
|
+
name = "ResourceNotFoundException";
|
|
53
|
+
$fault = "client";
|
|
54
|
+
resourceId;
|
|
55
|
+
resourceType;
|
|
56
|
+
constructor(opts) {
|
|
57
|
+
super({
|
|
58
|
+
name: "ResourceNotFoundException",
|
|
59
|
+
$fault: "client",
|
|
60
|
+
...opts,
|
|
61
|
+
});
|
|
62
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
63
|
+
this.resourceId = opts.resourceId;
|
|
64
|
+
this.resourceType = opts.resourceType;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
68
|
+
class ServiceQuotaExceededException extends AccessAnalyzerServiceException_1.AccessAnalyzerServiceException {
|
|
69
|
+
name = "ServiceQuotaExceededException";
|
|
70
|
+
$fault = "client";
|
|
71
|
+
resourceId;
|
|
72
|
+
resourceType;
|
|
73
|
+
constructor(opts) {
|
|
74
|
+
super({
|
|
75
|
+
name: "ServiceQuotaExceededException",
|
|
76
|
+
$fault: "client",
|
|
77
|
+
...opts,
|
|
78
|
+
});
|
|
79
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
80
|
+
this.resourceId = opts.resourceId;
|
|
81
|
+
this.resourceType = opts.resourceType;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
85
|
+
class ThrottlingException extends AccessAnalyzerServiceException_1.AccessAnalyzerServiceException {
|
|
86
|
+
name = "ThrottlingException";
|
|
87
|
+
$fault = "client";
|
|
88
|
+
$retryable = {
|
|
89
|
+
throttling: true,
|
|
90
|
+
};
|
|
91
|
+
retryAfterSeconds;
|
|
92
|
+
constructor(opts) {
|
|
93
|
+
super({
|
|
94
|
+
name: "ThrottlingException",
|
|
95
|
+
$fault: "client",
|
|
96
|
+
...opts,
|
|
97
|
+
});
|
|
98
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
99
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
exports.ThrottlingException = ThrottlingException;
|
|
103
|
+
class ValidationException extends AccessAnalyzerServiceException_1.AccessAnalyzerServiceException {
|
|
104
|
+
name = "ValidationException";
|
|
105
|
+
$fault = "client";
|
|
106
|
+
reason;
|
|
107
|
+
fieldList;
|
|
108
|
+
constructor(opts) {
|
|
109
|
+
super({
|
|
110
|
+
name: "ValidationException",
|
|
111
|
+
$fault: "client",
|
|
112
|
+
...opts,
|
|
113
|
+
});
|
|
114
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
115
|
+
this.reason = opts.reason;
|
|
116
|
+
this.fieldList = opts.fieldList;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
exports.ValidationException = ValidationException;
|
|
120
|
+
class InvalidParameterException extends AccessAnalyzerServiceException_1.AccessAnalyzerServiceException {
|
|
121
|
+
name = "InvalidParameterException";
|
|
122
|
+
$fault = "client";
|
|
123
|
+
constructor(opts) {
|
|
124
|
+
super({
|
|
125
|
+
name: "InvalidParameterException",
|
|
126
|
+
$fault: "client",
|
|
127
|
+
...opts,
|
|
128
|
+
});
|
|
129
|
+
Object.setPrototypeOf(this, InvalidParameterException.prototype);
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
exports.InvalidParameterException = InvalidParameterException;
|
|
133
|
+
class UnprocessableEntityException extends AccessAnalyzerServiceException_1.AccessAnalyzerServiceException {
|
|
134
|
+
name = "UnprocessableEntityException";
|
|
135
|
+
$fault = "client";
|
|
136
|
+
$retryable = {};
|
|
137
|
+
constructor(opts) {
|
|
138
|
+
super({
|
|
139
|
+
name: "UnprocessableEntityException",
|
|
140
|
+
$fault: "client",
|
|
141
|
+
...opts,
|
|
142
|
+
});
|
|
143
|
+
Object.setPrototypeOf(this, UnprocessableEntityException.prototype);
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
exports.UnprocessableEntityException = UnprocessableEntityException;
|
|
@@ -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: "2019-11-01",
|
|
@@ -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.accessanalyzer",
|
|
33
|
+
errorTypeRegistries: schemas_0_1.errorTypeRegistries,
|
|
32
34
|
version: "2019-11-01",
|
|
33
35
|
serviceTarget: "AccessAnalyzer",
|
|
34
36
|
},
|