@aws-sdk/client-accessanalyzer 3.687.0 → 3.692.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/README.md +8 -0
- package/dist-cjs/index.js +58 -0
- package/dist-es/AccessAnalyzer.js +2 -0
- package/dist-es/commands/UpdateAnalyzerCommand.js +22 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +6 -0
- package/dist-es/protocols/Aws_restJson1.js +31 -0
- package/dist-types/AccessAnalyzer.d.ts +7 -0
- package/dist-types/AccessAnalyzerClient.d.ts +3 -2
- package/dist-types/commands/CreateAnalyzerCommand.d.ts +14 -0
- package/dist-types/commands/GetAnalyzerCommand.d.ts +14 -0
- package/dist-types/commands/GetFindingCommand.d.ts +1 -0
- package/dist-types/commands/GetFindingV2Command.d.ts +1 -0
- package/dist-types/commands/ListAccessPreviewFindingsCommand.d.ts +1 -0
- package/dist-types/commands/ListAnalyzedResourcesCommand.d.ts +1 -2
- package/dist-types/commands/ListAnalyzersCommand.d.ts +14 -0
- package/dist-types/commands/ListFindingsCommand.d.ts +1 -0
- package/dist-types/commands/UpdateAnalyzerCommand.d.ts +126 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +326 -207
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/ts3.4/AccessAnalyzer.d.ts +17 -0
- package/dist-types/ts3.4/AccessAnalyzerClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/UpdateAnalyzerCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +223 -187
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +35 -35
|
@@ -32,6 +32,7 @@ import { StartPolicyGenerationCommandInput, StartPolicyGenerationCommandOutput }
|
|
|
32
32
|
import { StartResourceScanCommandInput, StartResourceScanCommandOutput } from "../commands/StartResourceScanCommand";
|
|
33
33
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
|
|
34
34
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
|
|
35
|
+
import { UpdateAnalyzerCommandInput, UpdateAnalyzerCommandOutput } from "../commands/UpdateAnalyzerCommand";
|
|
35
36
|
import { UpdateArchiveRuleCommandInput, UpdateArchiveRuleCommandOutput } from "../commands/UpdateArchiveRuleCommand";
|
|
36
37
|
import { UpdateFindingsCommandInput, UpdateFindingsCommandOutput } from "../commands/UpdateFindingsCommand";
|
|
37
38
|
import { ValidatePolicyCommandInput, ValidatePolicyCommandOutput } from "../commands/ValidatePolicyCommand";
|
|
@@ -163,6 +164,10 @@ export declare const se_TagResourceCommand: (input: TagResourceCommandInput, con
|
|
|
163
164
|
* serializeAws_restJson1UntagResourceCommand
|
|
164
165
|
*/
|
|
165
166
|
export declare const se_UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
167
|
+
/**
|
|
168
|
+
* serializeAws_restJson1UpdateAnalyzerCommand
|
|
169
|
+
*/
|
|
170
|
+
export declare const se_UpdateAnalyzerCommand: (input: UpdateAnalyzerCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
166
171
|
/**
|
|
167
172
|
* serializeAws_restJson1UpdateArchiveRuleCommand
|
|
168
173
|
*/
|
|
@@ -303,6 +308,10 @@ export declare const de_TagResourceCommand: (output: __HttpResponse, context: __
|
|
|
303
308
|
* deserializeAws_restJson1UntagResourceCommand
|
|
304
309
|
*/
|
|
305
310
|
export declare const de_UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
|
|
311
|
+
/**
|
|
312
|
+
* deserializeAws_restJson1UpdateAnalyzerCommand
|
|
313
|
+
*/
|
|
314
|
+
export declare const de_UpdateAnalyzerCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateAnalyzerCommandOutput>;
|
|
306
315
|
/**
|
|
307
316
|
* deserializeAws_restJson1UpdateArchiveRuleCommand
|
|
308
317
|
*/
|
|
@@ -128,6 +128,10 @@ import {
|
|
|
128
128
|
UntagResourceCommandInput,
|
|
129
129
|
UntagResourceCommandOutput,
|
|
130
130
|
} from "./commands/UntagResourceCommand";
|
|
131
|
+
import {
|
|
132
|
+
UpdateAnalyzerCommandInput,
|
|
133
|
+
UpdateAnalyzerCommandOutput,
|
|
134
|
+
} from "./commands/UpdateAnalyzerCommand";
|
|
131
135
|
import {
|
|
132
136
|
UpdateArchiveRuleCommandInput,
|
|
133
137
|
UpdateArchiveRuleCommandOutput,
|
|
@@ -559,6 +563,19 @@ export interface AccessAnalyzer {
|
|
|
559
563
|
options: __HttpHandlerOptions,
|
|
560
564
|
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
561
565
|
): void;
|
|
566
|
+
updateAnalyzer(
|
|
567
|
+
args: UpdateAnalyzerCommandInput,
|
|
568
|
+
options?: __HttpHandlerOptions
|
|
569
|
+
): Promise<UpdateAnalyzerCommandOutput>;
|
|
570
|
+
updateAnalyzer(
|
|
571
|
+
args: UpdateAnalyzerCommandInput,
|
|
572
|
+
cb: (err: any, data?: UpdateAnalyzerCommandOutput) => void
|
|
573
|
+
): void;
|
|
574
|
+
updateAnalyzer(
|
|
575
|
+
args: UpdateAnalyzerCommandInput,
|
|
576
|
+
options: __HttpHandlerOptions,
|
|
577
|
+
cb: (err: any, data?: UpdateAnalyzerCommandOutput) => void
|
|
578
|
+
): void;
|
|
562
579
|
updateArchiveRule(
|
|
563
580
|
args: UpdateArchiveRuleCommandInput,
|
|
564
581
|
options?: __HttpHandlerOptions
|
|
@@ -173,6 +173,10 @@ import {
|
|
|
173
173
|
UntagResourceCommandInput,
|
|
174
174
|
UntagResourceCommandOutput,
|
|
175
175
|
} from "./commands/UntagResourceCommand";
|
|
176
|
+
import {
|
|
177
|
+
UpdateAnalyzerCommandInput,
|
|
178
|
+
UpdateAnalyzerCommandOutput,
|
|
179
|
+
} from "./commands/UpdateAnalyzerCommand";
|
|
176
180
|
import {
|
|
177
181
|
UpdateArchiveRuleCommandInput,
|
|
178
182
|
UpdateArchiveRuleCommandOutput,
|
|
@@ -225,6 +229,7 @@ export type ServiceInputTypes =
|
|
|
225
229
|
| StartResourceScanCommandInput
|
|
226
230
|
| TagResourceCommandInput
|
|
227
231
|
| UntagResourceCommandInput
|
|
232
|
+
| UpdateAnalyzerCommandInput
|
|
228
233
|
| UpdateArchiveRuleCommandInput
|
|
229
234
|
| UpdateFindingsCommandInput
|
|
230
235
|
| ValidatePolicyCommandInput;
|
|
@@ -261,6 +266,7 @@ export type ServiceOutputTypes =
|
|
|
261
266
|
| StartResourceScanCommandOutput
|
|
262
267
|
| TagResourceCommandOutput
|
|
263
268
|
| UntagResourceCommandOutput
|
|
269
|
+
| UpdateAnalyzerCommandOutput
|
|
264
270
|
| UpdateArchiveRuleCommandOutput
|
|
265
271
|
| UpdateFindingsCommandOutput
|
|
266
272
|
| ValidatePolicyCommandOutput;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
AccessAnalyzerClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../AccessAnalyzerClient";
|
|
8
|
+
import {
|
|
9
|
+
UpdateAnalyzerRequest,
|
|
10
|
+
UpdateAnalyzerResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface UpdateAnalyzerCommandInput extends UpdateAnalyzerRequest {}
|
|
15
|
+
export interface UpdateAnalyzerCommandOutput
|
|
16
|
+
extends UpdateAnalyzerResponse,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
declare const UpdateAnalyzerCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: UpdateAnalyzerCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
22
|
+
UpdateAnalyzerCommandInput,
|
|
23
|
+
UpdateAnalyzerCommandOutput,
|
|
24
|
+
AccessAnalyzerClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
new (
|
|
29
|
+
__0_0: UpdateAnalyzerCommandInput
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
UpdateAnalyzerCommandInput,
|
|
32
|
+
UpdateAnalyzerCommandOutput,
|
|
33
|
+
AccessAnalyzerClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
37
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
38
|
+
};
|
|
39
|
+
export declare class UpdateAnalyzerCommand extends UpdateAnalyzerCommand_base {
|
|
40
|
+
protected static __types: {
|
|
41
|
+
api: {
|
|
42
|
+
input: UpdateAnalyzerRequest;
|
|
43
|
+
output: UpdateAnalyzerResponse;
|
|
44
|
+
};
|
|
45
|
+
sdk: {
|
|
46
|
+
input: UpdateAnalyzerCommandInput;
|
|
47
|
+
output: UpdateAnalyzerCommandOutput;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -30,6 +30,7 @@ export * from "./StartPolicyGenerationCommand";
|
|
|
30
30
|
export * from "./StartResourceScanCommand";
|
|
31
31
|
export * from "./TagResourceCommand";
|
|
32
32
|
export * from "./UntagResourceCommand";
|
|
33
|
+
export * from "./UpdateAnalyzerCommand";
|
|
33
34
|
export * from "./UpdateArchiveRuleCommand";
|
|
34
35
|
export * from "./UpdateFindingsCommand";
|
|
35
36
|
export * from "./ValidatePolicyCommand";
|