@aws-sdk/client-accessanalyzer 3.52.0 → 3.53.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/CHANGELOG.md +11 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/AccessAnalyzerServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +109 -3
- package/dist-cjs/protocols/Aws_restJson1.js +338 -1210
- package/dist-es/index.js +1 -0
- package/dist-es/models/AccessAnalyzerServiceException.js +12 -0
- package/dist-es/models/models_0.js +100 -1
- package/dist-es/protocols/Aws_restJson1.js +691 -1331
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/AccessAnalyzerServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +52 -30
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/AccessAnalyzerServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +38 -30
- package/package.json +25 -25
package/dist-types/index.d.ts
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
/**
|
|
3
|
+
* Base exception class for all service exceptions from AccessAnalyzer service.
|
|
4
|
+
*/
|
|
5
|
+
export declare class AccessAnalyzerServiceException extends __ServiceException {
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
constructor(options: __ServiceExceptionOptions);
|
|
10
|
+
}
|
|
@@ -1,19 +1,22 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { AccessAnalyzerServiceException as __BaseException } from "./AccessAnalyzerServiceException";
|
|
2
3
|
/**
|
|
3
4
|
* <p>You do not have sufficient access to perform this action.</p>
|
|
4
5
|
*/
|
|
5
|
-
export
|
|
6
|
-
name: "AccessDeniedException";
|
|
7
|
-
$fault: "client";
|
|
8
|
-
|
|
6
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
7
|
+
readonly name: "AccessDeniedException";
|
|
8
|
+
readonly $fault: "client";
|
|
9
|
+
/**
|
|
10
|
+
* @internal
|
|
11
|
+
*/
|
|
12
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
9
13
|
}
|
|
10
14
|
/**
|
|
11
15
|
* <p>A conflict exception error.</p>
|
|
12
16
|
*/
|
|
13
|
-
export
|
|
14
|
-
name: "ConflictException";
|
|
15
|
-
$fault: "client";
|
|
16
|
-
message: string | undefined;
|
|
17
|
+
export declare class ConflictException extends __BaseException {
|
|
18
|
+
readonly name: "ConflictException";
|
|
19
|
+
readonly $fault: "client";
|
|
17
20
|
/**
|
|
18
21
|
* <p>The ID of the resource.</p>
|
|
19
22
|
*/
|
|
@@ -22,6 +25,10 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
|
|
|
22
25
|
* <p>The resource type.</p>
|
|
23
26
|
*/
|
|
24
27
|
resourceType: string | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* @internal
|
|
30
|
+
*/
|
|
31
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
25
32
|
}
|
|
26
33
|
/**
|
|
27
34
|
* <p>The criteria to use in the filter that defines the archive rule.</p>
|
|
@@ -82,23 +89,25 @@ export declare namespace CreateArchiveRuleRequest {
|
|
|
82
89
|
/**
|
|
83
90
|
* <p>Internal server error.</p>
|
|
84
91
|
*/
|
|
85
|
-
export
|
|
86
|
-
name: "InternalServerException";
|
|
87
|
-
$fault: "server";
|
|
92
|
+
export declare class InternalServerException extends __BaseException {
|
|
93
|
+
readonly name: "InternalServerException";
|
|
94
|
+
readonly $fault: "server";
|
|
88
95
|
$retryable: {};
|
|
89
|
-
message: string | undefined;
|
|
90
96
|
/**
|
|
91
97
|
* <p>The seconds to wait to retry.</p>
|
|
92
98
|
*/
|
|
93
99
|
retryAfterSeconds?: number;
|
|
100
|
+
/**
|
|
101
|
+
* @internal
|
|
102
|
+
*/
|
|
103
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
94
104
|
}
|
|
95
105
|
/**
|
|
96
106
|
* <p>The specified resource could not be found.</p>
|
|
97
107
|
*/
|
|
98
|
-
export
|
|
99
|
-
name: "ResourceNotFoundException";
|
|
100
|
-
$fault: "client";
|
|
101
|
-
message: string | undefined;
|
|
108
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
109
|
+
readonly name: "ResourceNotFoundException";
|
|
110
|
+
readonly $fault: "client";
|
|
102
111
|
/**
|
|
103
112
|
* <p>The ID of the resource.</p>
|
|
104
113
|
*/
|
|
@@ -107,14 +116,17 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
|
|
|
107
116
|
* <p>The type of the resource.</p>
|
|
108
117
|
*/
|
|
109
118
|
resourceType: string | undefined;
|
|
119
|
+
/**
|
|
120
|
+
* @internal
|
|
121
|
+
*/
|
|
122
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
110
123
|
}
|
|
111
124
|
/**
|
|
112
125
|
* <p>Service quote met error.</p>
|
|
113
126
|
*/
|
|
114
|
-
export
|
|
115
|
-
name: "ServiceQuotaExceededException";
|
|
116
|
-
$fault: "client";
|
|
117
|
-
message: string | undefined;
|
|
127
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
128
|
+
readonly name: "ServiceQuotaExceededException";
|
|
129
|
+
readonly $fault: "client";
|
|
118
130
|
/**
|
|
119
131
|
* <p>The resource ID.</p>
|
|
120
132
|
*/
|
|
@@ -123,21 +135,28 @@ export interface ServiceQuotaExceededException extends __SmithyException, $Metad
|
|
|
123
135
|
* <p>The resource type.</p>
|
|
124
136
|
*/
|
|
125
137
|
resourceType: string | undefined;
|
|
138
|
+
/**
|
|
139
|
+
* @internal
|
|
140
|
+
*/
|
|
141
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
126
142
|
}
|
|
127
143
|
/**
|
|
128
144
|
* <p>Throttling limit exceeded error.</p>
|
|
129
145
|
*/
|
|
130
|
-
export
|
|
131
|
-
name: "ThrottlingException";
|
|
132
|
-
$fault: "client";
|
|
146
|
+
export declare class ThrottlingException extends __BaseException {
|
|
147
|
+
readonly name: "ThrottlingException";
|
|
148
|
+
readonly $fault: "client";
|
|
133
149
|
$retryable: {
|
|
134
|
-
throttling:
|
|
150
|
+
throttling: boolean;
|
|
135
151
|
};
|
|
136
|
-
message: string | undefined;
|
|
137
152
|
/**
|
|
138
153
|
* <p>The seconds to wait to retry.</p>
|
|
139
154
|
*/
|
|
140
155
|
retryAfterSeconds?: number;
|
|
156
|
+
/**
|
|
157
|
+
* @internal
|
|
158
|
+
*/
|
|
159
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
141
160
|
}
|
|
142
161
|
/**
|
|
143
162
|
* <p>Contains information about a validation exception.</p>
|
|
@@ -167,10 +186,9 @@ export declare enum ValidationExceptionReason {
|
|
|
167
186
|
/**
|
|
168
187
|
* <p>Validation exception error.</p>
|
|
169
188
|
*/
|
|
170
|
-
export
|
|
171
|
-
name: "ValidationException";
|
|
172
|
-
$fault: "client";
|
|
173
|
-
message: string | undefined;
|
|
189
|
+
export declare class ValidationException extends __BaseException {
|
|
190
|
+
readonly name: "ValidationException";
|
|
191
|
+
readonly $fault: "client";
|
|
174
192
|
/**
|
|
175
193
|
* <p>The reason for the exception.</p>
|
|
176
194
|
*/
|
|
@@ -179,6 +197,10 @@ export interface ValidationException extends __SmithyException, $MetadataBearer
|
|
|
179
197
|
* <p>A list of fields that didn't validate.</p>
|
|
180
198
|
*/
|
|
181
199
|
fieldList?: ValidationExceptionField[];
|
|
200
|
+
/**
|
|
201
|
+
* @internal
|
|
202
|
+
*/
|
|
203
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
182
204
|
}
|
|
183
205
|
/**
|
|
184
206
|
* <p>Deletes an archive rule.</p>
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
|
|
3
|
+
export declare class AccessAnalyzerServiceException extends __ServiceException {
|
|
4
|
+
|
|
5
|
+
constructor(options: __ServiceExceptionOptions);
|
|
6
|
+
}
|
|
@@ -1,19 +1,22 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { AccessAnalyzerServiceException as __BaseException } from "./AccessAnalyzerServiceException";
|
|
2
3
|
|
|
3
|
-
export
|
|
4
|
-
name: "AccessDeniedException";
|
|
5
|
-
$fault: "client";
|
|
6
|
-
|
|
4
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
5
|
+
readonly name: "AccessDeniedException";
|
|
6
|
+
readonly $fault: "client";
|
|
7
|
+
|
|
8
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
7
9
|
}
|
|
8
10
|
|
|
9
|
-
export
|
|
10
|
-
name: "ConflictException";
|
|
11
|
-
$fault: "client";
|
|
12
|
-
message: string | undefined;
|
|
11
|
+
export declare class ConflictException extends __BaseException {
|
|
12
|
+
readonly name: "ConflictException";
|
|
13
|
+
readonly $fault: "client";
|
|
13
14
|
|
|
14
15
|
resourceId: string | undefined;
|
|
15
16
|
|
|
16
17
|
resourceType: string | undefined;
|
|
18
|
+
|
|
19
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
17
20
|
}
|
|
18
21
|
|
|
19
22
|
export interface Criterion {
|
|
@@ -48,44 +51,48 @@ export declare namespace CreateArchiveRuleRequest {
|
|
|
48
51
|
const filterSensitiveLog: (obj: CreateArchiveRuleRequest) => any;
|
|
49
52
|
}
|
|
50
53
|
|
|
51
|
-
export
|
|
52
|
-
name: "InternalServerException";
|
|
53
|
-
$fault: "server";
|
|
54
|
+
export declare class InternalServerException extends __BaseException {
|
|
55
|
+
readonly name: "InternalServerException";
|
|
56
|
+
readonly $fault: "server";
|
|
54
57
|
$retryable: {};
|
|
55
|
-
message: string | undefined;
|
|
56
58
|
|
|
57
59
|
retryAfterSeconds?: number;
|
|
60
|
+
|
|
61
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
58
62
|
}
|
|
59
63
|
|
|
60
|
-
export
|
|
61
|
-
name: "ResourceNotFoundException";
|
|
62
|
-
$fault: "client";
|
|
63
|
-
message: string | undefined;
|
|
64
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
65
|
+
readonly name: "ResourceNotFoundException";
|
|
66
|
+
readonly $fault: "client";
|
|
64
67
|
|
|
65
68
|
resourceId: string | undefined;
|
|
66
69
|
|
|
67
70
|
resourceType: string | undefined;
|
|
71
|
+
|
|
72
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
68
73
|
}
|
|
69
74
|
|
|
70
|
-
export
|
|
71
|
-
name: "ServiceQuotaExceededException";
|
|
72
|
-
$fault: "client";
|
|
73
|
-
message: string | undefined;
|
|
75
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
76
|
+
readonly name: "ServiceQuotaExceededException";
|
|
77
|
+
readonly $fault: "client";
|
|
74
78
|
|
|
75
79
|
resourceId: string | undefined;
|
|
76
80
|
|
|
77
81
|
resourceType: string | undefined;
|
|
82
|
+
|
|
83
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
78
84
|
}
|
|
79
85
|
|
|
80
|
-
export
|
|
81
|
-
name: "ThrottlingException";
|
|
82
|
-
$fault: "client";
|
|
86
|
+
export declare class ThrottlingException extends __BaseException {
|
|
87
|
+
readonly name: "ThrottlingException";
|
|
88
|
+
readonly $fault: "client";
|
|
83
89
|
$retryable: {
|
|
84
|
-
throttling:
|
|
90
|
+
throttling: boolean;
|
|
85
91
|
};
|
|
86
|
-
message: string | undefined;
|
|
87
92
|
|
|
88
93
|
retryAfterSeconds?: number;
|
|
94
|
+
|
|
95
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
89
96
|
}
|
|
90
97
|
|
|
91
98
|
export interface ValidationExceptionField {
|
|
@@ -105,14 +112,15 @@ export declare enum ValidationExceptionReason {
|
|
|
105
112
|
UNKNOWN_OPERATION = "unknownOperation"
|
|
106
113
|
}
|
|
107
114
|
|
|
108
|
-
export
|
|
109
|
-
name: "ValidationException";
|
|
110
|
-
$fault: "client";
|
|
111
|
-
message: string | undefined;
|
|
115
|
+
export declare class ValidationException extends __BaseException {
|
|
116
|
+
readonly name: "ValidationException";
|
|
117
|
+
readonly $fault: "client";
|
|
112
118
|
|
|
113
119
|
reason: ValidationExceptionReason | string | undefined;
|
|
114
120
|
|
|
115
121
|
fieldList?: ValidationExceptionField[];
|
|
122
|
+
|
|
123
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
116
124
|
}
|
|
117
125
|
|
|
118
126
|
export interface DeleteArchiveRuleRequest {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-accessanalyzer",
|
|
3
3
|
"description": "AWS SDK for JavaScript Accessanalyzer Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.53.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,34 +18,34 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-retry": "3.
|
|
31
|
-
"@aws-sdk/middleware-serde": "3.
|
|
32
|
-
"@aws-sdk/middleware-signing": "3.
|
|
33
|
-
"@aws-sdk/middleware-stack": "3.
|
|
34
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
35
|
-
"@aws-sdk/node-config-provider": "3.
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
37
|
-
"@aws-sdk/protocol-http": "3.
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
-
"@aws-sdk/types": "3.
|
|
40
|
-
"@aws-sdk/url-parser": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.53.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.53.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.53.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.53.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.53.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.53.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.53.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.53.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.53.0",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.53.0",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.53.0",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.53.0",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.53.0",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.53.0",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.53.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.53.0",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.53.0",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.53.0",
|
|
39
|
+
"@aws-sdk/types": "3.53.0",
|
|
40
|
+
"@aws-sdk/url-parser": "3.53.0",
|
|
41
41
|
"@aws-sdk/util-base64-browser": "3.52.0",
|
|
42
42
|
"@aws-sdk/util-base64-node": "3.52.0",
|
|
43
43
|
"@aws-sdk/util-body-length-browser": "3.52.0",
|
|
44
44
|
"@aws-sdk/util-body-length-node": "3.52.0",
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.53.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.53.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.53.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.53.0",
|
|
49
49
|
"@aws-sdk/util-utf8-browser": "3.52.0",
|
|
50
50
|
"@aws-sdk/util-utf8-node": "3.52.0",
|
|
51
51
|
"tslib": "^2.3.0",
|