@aws-sdk/client-accessanalyzer 3.312.0 → 3.316.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/AccessAnalyzer.js +32 -392
- package/dist-cjs/protocols/Aws_restJson1.js +386 -1418
- package/dist-es/AccessAnalyzer.js +32 -392
- package/dist-es/protocols/Aws_restJson1.js +341 -1373
- package/dist-types/AccessAnalyzer.d.ts +43 -82
- package/dist-types/ts3.4/AccessAnalyzer.d.ts +4 -1
- package/package.json +6 -6
|
@@ -28,226 +28,187 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./command
|
|
|
28
28
|
import { UpdateArchiveRuleCommandInput, UpdateArchiveRuleCommandOutput } from "./commands/UpdateArchiveRuleCommand";
|
|
29
29
|
import { UpdateFindingsCommandInput, UpdateFindingsCommandOutput } from "./commands/UpdateFindingsCommand";
|
|
30
30
|
import { ValidatePolicyCommandInput, ValidatePolicyCommandOutput } from "./commands/ValidatePolicyCommand";
|
|
31
|
-
|
|
32
|
-
* @public
|
|
33
|
-
* <p>Identity and Access Management Access Analyzer helps identify potential resource-access risks by enabling you to
|
|
34
|
-
* identify any policies that grant access to an external principal. It does this by using
|
|
35
|
-
* logic-based reasoning to analyze resource-based policies in your Amazon Web Services environment. An
|
|
36
|
-
* external principal can be another Amazon Web Services account, a root user, an IAM user or role, a
|
|
37
|
-
* federated user, an Amazon Web Services service, or an anonymous user. You can also use IAM Access Analyzer to
|
|
38
|
-
* preview and validate public and cross-account access to your resources before deploying
|
|
39
|
-
* permissions changes. This guide describes the Identity and Access Management Access Analyzer operations that you can
|
|
40
|
-
* call programmatically. For general information about IAM Access Analyzer, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/what-is-access-analyzer.html">Identity and Access Management Access Analyzer</a> in the <b>IAM User Guide</b>.</p>
|
|
41
|
-
* <p>To start using IAM Access Analyzer, you first need to create an analyzer.</p>
|
|
42
|
-
*/
|
|
43
|
-
export declare class AccessAnalyzer extends AccessAnalyzerClient {
|
|
31
|
+
export interface AccessAnalyzer {
|
|
44
32
|
/**
|
|
45
|
-
* @
|
|
46
|
-
* <p>Retroactively applies the archive rule to existing findings that meet the archive rule
|
|
47
|
-
* criteria.</p>
|
|
33
|
+
* @see {@link ApplyArchiveRuleCommand}
|
|
48
34
|
*/
|
|
49
35
|
applyArchiveRule(args: ApplyArchiveRuleCommandInput, options?: __HttpHandlerOptions): Promise<ApplyArchiveRuleCommandOutput>;
|
|
50
36
|
applyArchiveRule(args: ApplyArchiveRuleCommandInput, cb: (err: any, data?: ApplyArchiveRuleCommandOutput) => void): void;
|
|
51
37
|
applyArchiveRule(args: ApplyArchiveRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ApplyArchiveRuleCommandOutput) => void): void;
|
|
52
38
|
/**
|
|
53
|
-
* @
|
|
54
|
-
* <p>Cancels the requested policy generation.</p>
|
|
39
|
+
* @see {@link CancelPolicyGenerationCommand}
|
|
55
40
|
*/
|
|
56
41
|
cancelPolicyGeneration(args: CancelPolicyGenerationCommandInput, options?: __HttpHandlerOptions): Promise<CancelPolicyGenerationCommandOutput>;
|
|
57
42
|
cancelPolicyGeneration(args: CancelPolicyGenerationCommandInput, cb: (err: any, data?: CancelPolicyGenerationCommandOutput) => void): void;
|
|
58
43
|
cancelPolicyGeneration(args: CancelPolicyGenerationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelPolicyGenerationCommandOutput) => void): void;
|
|
59
44
|
/**
|
|
60
|
-
* @
|
|
61
|
-
* <p>Creates an access preview that allows you to preview IAM Access Analyzer findings for your
|
|
62
|
-
* resource before deploying resource permissions.</p>
|
|
45
|
+
* @see {@link CreateAccessPreviewCommand}
|
|
63
46
|
*/
|
|
64
47
|
createAccessPreview(args: CreateAccessPreviewCommandInput, options?: __HttpHandlerOptions): Promise<CreateAccessPreviewCommandOutput>;
|
|
65
48
|
createAccessPreview(args: CreateAccessPreviewCommandInput, cb: (err: any, data?: CreateAccessPreviewCommandOutput) => void): void;
|
|
66
49
|
createAccessPreview(args: CreateAccessPreviewCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAccessPreviewCommandOutput) => void): void;
|
|
67
50
|
/**
|
|
68
|
-
* @
|
|
69
|
-
* <p>Creates an analyzer for your account.</p>
|
|
51
|
+
* @see {@link CreateAnalyzerCommand}
|
|
70
52
|
*/
|
|
71
53
|
createAnalyzer(args: CreateAnalyzerCommandInput, options?: __HttpHandlerOptions): Promise<CreateAnalyzerCommandOutput>;
|
|
72
54
|
createAnalyzer(args: CreateAnalyzerCommandInput, cb: (err: any, data?: CreateAnalyzerCommandOutput) => void): void;
|
|
73
55
|
createAnalyzer(args: CreateAnalyzerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAnalyzerCommandOutput) => void): void;
|
|
74
56
|
/**
|
|
75
|
-
* @
|
|
76
|
-
* <p>Creates an archive rule for the specified analyzer. Archive rules automatically archive
|
|
77
|
-
* new findings that meet the criteria you define when you create the rule.</p>
|
|
78
|
-
* <p>To learn about filter keys that you can use to create an archive rule, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access-analyzer-reference-filter-keys.html">IAM Access Analyzer filter keys</a> in the <b>IAM User Guide</b>.</p>
|
|
57
|
+
* @see {@link CreateArchiveRuleCommand}
|
|
79
58
|
*/
|
|
80
59
|
createArchiveRule(args: CreateArchiveRuleCommandInput, options?: __HttpHandlerOptions): Promise<CreateArchiveRuleCommandOutput>;
|
|
81
60
|
createArchiveRule(args: CreateArchiveRuleCommandInput, cb: (err: any, data?: CreateArchiveRuleCommandOutput) => void): void;
|
|
82
61
|
createArchiveRule(args: CreateArchiveRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateArchiveRuleCommandOutput) => void): void;
|
|
83
62
|
/**
|
|
84
|
-
* @
|
|
85
|
-
* <p>Deletes the specified analyzer. When you delete an analyzer, IAM Access Analyzer is disabled
|
|
86
|
-
* for the account or organization in the current or specific Region. All findings that were
|
|
87
|
-
* generated by the analyzer are deleted. You cannot undo this action.</p>
|
|
63
|
+
* @see {@link DeleteAnalyzerCommand}
|
|
88
64
|
*/
|
|
89
65
|
deleteAnalyzer(args: DeleteAnalyzerCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAnalyzerCommandOutput>;
|
|
90
66
|
deleteAnalyzer(args: DeleteAnalyzerCommandInput, cb: (err: any, data?: DeleteAnalyzerCommandOutput) => void): void;
|
|
91
67
|
deleteAnalyzer(args: DeleteAnalyzerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAnalyzerCommandOutput) => void): void;
|
|
92
68
|
/**
|
|
93
|
-
* @
|
|
94
|
-
* <p>Deletes the specified archive rule.</p>
|
|
69
|
+
* @see {@link DeleteArchiveRuleCommand}
|
|
95
70
|
*/
|
|
96
71
|
deleteArchiveRule(args: DeleteArchiveRuleCommandInput, options?: __HttpHandlerOptions): Promise<DeleteArchiveRuleCommandOutput>;
|
|
97
72
|
deleteArchiveRule(args: DeleteArchiveRuleCommandInput, cb: (err: any, data?: DeleteArchiveRuleCommandOutput) => void): void;
|
|
98
73
|
deleteArchiveRule(args: DeleteArchiveRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteArchiveRuleCommandOutput) => void): void;
|
|
99
74
|
/**
|
|
100
|
-
* @
|
|
101
|
-
* <p>Retrieves information about an access preview for the specified analyzer.</p>
|
|
75
|
+
* @see {@link GetAccessPreviewCommand}
|
|
102
76
|
*/
|
|
103
77
|
getAccessPreview(args: GetAccessPreviewCommandInput, options?: __HttpHandlerOptions): Promise<GetAccessPreviewCommandOutput>;
|
|
104
78
|
getAccessPreview(args: GetAccessPreviewCommandInput, cb: (err: any, data?: GetAccessPreviewCommandOutput) => void): void;
|
|
105
79
|
getAccessPreview(args: GetAccessPreviewCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAccessPreviewCommandOutput) => void): void;
|
|
106
80
|
/**
|
|
107
|
-
* @
|
|
108
|
-
* <p>Retrieves information about a resource that was analyzed.</p>
|
|
81
|
+
* @see {@link GetAnalyzedResourceCommand}
|
|
109
82
|
*/
|
|
110
83
|
getAnalyzedResource(args: GetAnalyzedResourceCommandInput, options?: __HttpHandlerOptions): Promise<GetAnalyzedResourceCommandOutput>;
|
|
111
84
|
getAnalyzedResource(args: GetAnalyzedResourceCommandInput, cb: (err: any, data?: GetAnalyzedResourceCommandOutput) => void): void;
|
|
112
85
|
getAnalyzedResource(args: GetAnalyzedResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAnalyzedResourceCommandOutput) => void): void;
|
|
113
86
|
/**
|
|
114
|
-
* @
|
|
115
|
-
* <p>Retrieves information about the specified analyzer.</p>
|
|
87
|
+
* @see {@link GetAnalyzerCommand}
|
|
116
88
|
*/
|
|
117
89
|
getAnalyzer(args: GetAnalyzerCommandInput, options?: __HttpHandlerOptions): Promise<GetAnalyzerCommandOutput>;
|
|
118
90
|
getAnalyzer(args: GetAnalyzerCommandInput, cb: (err: any, data?: GetAnalyzerCommandOutput) => void): void;
|
|
119
91
|
getAnalyzer(args: GetAnalyzerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAnalyzerCommandOutput) => void): void;
|
|
120
92
|
/**
|
|
121
|
-
* @
|
|
122
|
-
* <p>Retrieves information about an archive rule.</p>
|
|
123
|
-
* <p>To learn about filter keys that you can use to create an archive rule, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access-analyzer-reference-filter-keys.html">IAM Access Analyzer filter keys</a> in the <b>IAM User Guide</b>.</p>
|
|
93
|
+
* @see {@link GetArchiveRuleCommand}
|
|
124
94
|
*/
|
|
125
95
|
getArchiveRule(args: GetArchiveRuleCommandInput, options?: __HttpHandlerOptions): Promise<GetArchiveRuleCommandOutput>;
|
|
126
96
|
getArchiveRule(args: GetArchiveRuleCommandInput, cb: (err: any, data?: GetArchiveRuleCommandOutput) => void): void;
|
|
127
97
|
getArchiveRule(args: GetArchiveRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetArchiveRuleCommandOutput) => void): void;
|
|
128
98
|
/**
|
|
129
|
-
* @
|
|
130
|
-
* <p>Retrieves information about the specified finding.</p>
|
|
99
|
+
* @see {@link GetFindingCommand}
|
|
131
100
|
*/
|
|
132
101
|
getFinding(args: GetFindingCommandInput, options?: __HttpHandlerOptions): Promise<GetFindingCommandOutput>;
|
|
133
102
|
getFinding(args: GetFindingCommandInput, cb: (err: any, data?: GetFindingCommandOutput) => void): void;
|
|
134
103
|
getFinding(args: GetFindingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFindingCommandOutput) => void): void;
|
|
135
104
|
/**
|
|
136
|
-
* @
|
|
137
|
-
* <p>Retrieves the policy that was generated using <code>StartPolicyGeneration</code>.
|
|
138
|
-
* </p>
|
|
105
|
+
* @see {@link GetGeneratedPolicyCommand}
|
|
139
106
|
*/
|
|
140
107
|
getGeneratedPolicy(args: GetGeneratedPolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetGeneratedPolicyCommandOutput>;
|
|
141
108
|
getGeneratedPolicy(args: GetGeneratedPolicyCommandInput, cb: (err: any, data?: GetGeneratedPolicyCommandOutput) => void): void;
|
|
142
109
|
getGeneratedPolicy(args: GetGeneratedPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetGeneratedPolicyCommandOutput) => void): void;
|
|
143
110
|
/**
|
|
144
|
-
* @
|
|
145
|
-
* <p>Retrieves a list of access preview findings generated by the specified access
|
|
146
|
-
* preview.</p>
|
|
111
|
+
* @see {@link ListAccessPreviewFindingsCommand}
|
|
147
112
|
*/
|
|
148
113
|
listAccessPreviewFindings(args: ListAccessPreviewFindingsCommandInput, options?: __HttpHandlerOptions): Promise<ListAccessPreviewFindingsCommandOutput>;
|
|
149
114
|
listAccessPreviewFindings(args: ListAccessPreviewFindingsCommandInput, cb: (err: any, data?: ListAccessPreviewFindingsCommandOutput) => void): void;
|
|
150
115
|
listAccessPreviewFindings(args: ListAccessPreviewFindingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAccessPreviewFindingsCommandOutput) => void): void;
|
|
151
116
|
/**
|
|
152
|
-
* @
|
|
153
|
-
* <p>Retrieves a list of access previews for the specified analyzer.</p>
|
|
117
|
+
* @see {@link ListAccessPreviewsCommand}
|
|
154
118
|
*/
|
|
155
119
|
listAccessPreviews(args: ListAccessPreviewsCommandInput, options?: __HttpHandlerOptions): Promise<ListAccessPreviewsCommandOutput>;
|
|
156
120
|
listAccessPreviews(args: ListAccessPreviewsCommandInput, cb: (err: any, data?: ListAccessPreviewsCommandOutput) => void): void;
|
|
157
121
|
listAccessPreviews(args: ListAccessPreviewsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAccessPreviewsCommandOutput) => void): void;
|
|
158
122
|
/**
|
|
159
|
-
* @
|
|
160
|
-
* <p>Retrieves a list of resources of the specified type that have been analyzed by the
|
|
161
|
-
* specified analyzer..</p>
|
|
123
|
+
* @see {@link ListAnalyzedResourcesCommand}
|
|
162
124
|
*/
|
|
163
125
|
listAnalyzedResources(args: ListAnalyzedResourcesCommandInput, options?: __HttpHandlerOptions): Promise<ListAnalyzedResourcesCommandOutput>;
|
|
164
126
|
listAnalyzedResources(args: ListAnalyzedResourcesCommandInput, cb: (err: any, data?: ListAnalyzedResourcesCommandOutput) => void): void;
|
|
165
127
|
listAnalyzedResources(args: ListAnalyzedResourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAnalyzedResourcesCommandOutput) => void): void;
|
|
166
128
|
/**
|
|
167
|
-
* @
|
|
168
|
-
* <p>Retrieves a list of analyzers.</p>
|
|
129
|
+
* @see {@link ListAnalyzersCommand}
|
|
169
130
|
*/
|
|
170
131
|
listAnalyzers(args: ListAnalyzersCommandInput, options?: __HttpHandlerOptions): Promise<ListAnalyzersCommandOutput>;
|
|
171
132
|
listAnalyzers(args: ListAnalyzersCommandInput, cb: (err: any, data?: ListAnalyzersCommandOutput) => void): void;
|
|
172
133
|
listAnalyzers(args: ListAnalyzersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAnalyzersCommandOutput) => void): void;
|
|
173
134
|
/**
|
|
174
|
-
* @
|
|
175
|
-
* <p>Retrieves a list of archive rules created for the specified analyzer.</p>
|
|
135
|
+
* @see {@link ListArchiveRulesCommand}
|
|
176
136
|
*/
|
|
177
137
|
listArchiveRules(args: ListArchiveRulesCommandInput, options?: __HttpHandlerOptions): Promise<ListArchiveRulesCommandOutput>;
|
|
178
138
|
listArchiveRules(args: ListArchiveRulesCommandInput, cb: (err: any, data?: ListArchiveRulesCommandOutput) => void): void;
|
|
179
139
|
listArchiveRules(args: ListArchiveRulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListArchiveRulesCommandOutput) => void): void;
|
|
180
140
|
/**
|
|
181
|
-
* @
|
|
182
|
-
* <p>Retrieves a list of findings generated by the specified analyzer.</p>
|
|
183
|
-
* <p>To learn about filter keys that you can use to retrieve a list of findings, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access-analyzer-reference-filter-keys.html">IAM Access Analyzer filter keys</a> in the <b>IAM User Guide</b>.</p>
|
|
141
|
+
* @see {@link ListFindingsCommand}
|
|
184
142
|
*/
|
|
185
143
|
listFindings(args: ListFindingsCommandInput, options?: __HttpHandlerOptions): Promise<ListFindingsCommandOutput>;
|
|
186
144
|
listFindings(args: ListFindingsCommandInput, cb: (err: any, data?: ListFindingsCommandOutput) => void): void;
|
|
187
145
|
listFindings(args: ListFindingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListFindingsCommandOutput) => void): void;
|
|
188
146
|
/**
|
|
189
|
-
* @
|
|
190
|
-
* <p>Lists all of the policy generations requested in the last seven days.</p>
|
|
147
|
+
* @see {@link ListPolicyGenerationsCommand}
|
|
191
148
|
*/
|
|
192
149
|
listPolicyGenerations(args: ListPolicyGenerationsCommandInput, options?: __HttpHandlerOptions): Promise<ListPolicyGenerationsCommandOutput>;
|
|
193
150
|
listPolicyGenerations(args: ListPolicyGenerationsCommandInput, cb: (err: any, data?: ListPolicyGenerationsCommandOutput) => void): void;
|
|
194
151
|
listPolicyGenerations(args: ListPolicyGenerationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPolicyGenerationsCommandOutput) => void): void;
|
|
195
152
|
/**
|
|
196
|
-
* @
|
|
197
|
-
* <p>Retrieves a list of tags applied to the specified resource.</p>
|
|
153
|
+
* @see {@link ListTagsForResourceCommand}
|
|
198
154
|
*/
|
|
199
155
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
200
156
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
201
157
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
202
158
|
/**
|
|
203
|
-
* @
|
|
204
|
-
* <p>Starts the policy generation request.</p>
|
|
159
|
+
* @see {@link StartPolicyGenerationCommand}
|
|
205
160
|
*/
|
|
206
161
|
startPolicyGeneration(args: StartPolicyGenerationCommandInput, options?: __HttpHandlerOptions): Promise<StartPolicyGenerationCommandOutput>;
|
|
207
162
|
startPolicyGeneration(args: StartPolicyGenerationCommandInput, cb: (err: any, data?: StartPolicyGenerationCommandOutput) => void): void;
|
|
208
163
|
startPolicyGeneration(args: StartPolicyGenerationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartPolicyGenerationCommandOutput) => void): void;
|
|
209
164
|
/**
|
|
210
|
-
* @
|
|
211
|
-
* <p>Immediately starts a scan of the policies applied to the specified resource.</p>
|
|
165
|
+
* @see {@link StartResourceScanCommand}
|
|
212
166
|
*/
|
|
213
167
|
startResourceScan(args: StartResourceScanCommandInput, options?: __HttpHandlerOptions): Promise<StartResourceScanCommandOutput>;
|
|
214
168
|
startResourceScan(args: StartResourceScanCommandInput, cb: (err: any, data?: StartResourceScanCommandOutput) => void): void;
|
|
215
169
|
startResourceScan(args: StartResourceScanCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartResourceScanCommandOutput) => void): void;
|
|
216
170
|
/**
|
|
217
|
-
* @
|
|
218
|
-
* <p>Adds a tag to the specified resource.</p>
|
|
171
|
+
* @see {@link TagResourceCommand}
|
|
219
172
|
*/
|
|
220
173
|
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
221
174
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
222
175
|
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
223
176
|
/**
|
|
224
|
-
* @
|
|
225
|
-
* <p>Removes a tag from the specified resource.</p>
|
|
177
|
+
* @see {@link UntagResourceCommand}
|
|
226
178
|
*/
|
|
227
179
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
228
180
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
229
181
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
230
182
|
/**
|
|
231
|
-
* @
|
|
232
|
-
* <p>Updates the criteria and values for the specified archive rule.</p>
|
|
183
|
+
* @see {@link UpdateArchiveRuleCommand}
|
|
233
184
|
*/
|
|
234
185
|
updateArchiveRule(args: UpdateArchiveRuleCommandInput, options?: __HttpHandlerOptions): Promise<UpdateArchiveRuleCommandOutput>;
|
|
235
186
|
updateArchiveRule(args: UpdateArchiveRuleCommandInput, cb: (err: any, data?: UpdateArchiveRuleCommandOutput) => void): void;
|
|
236
187
|
updateArchiveRule(args: UpdateArchiveRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateArchiveRuleCommandOutput) => void): void;
|
|
237
188
|
/**
|
|
238
|
-
* @
|
|
239
|
-
* <p>Updates the status for the specified findings.</p>
|
|
189
|
+
* @see {@link UpdateFindingsCommand}
|
|
240
190
|
*/
|
|
241
191
|
updateFindings(args: UpdateFindingsCommandInput, options?: __HttpHandlerOptions): Promise<UpdateFindingsCommandOutput>;
|
|
242
192
|
updateFindings(args: UpdateFindingsCommandInput, cb: (err: any, data?: UpdateFindingsCommandOutput) => void): void;
|
|
243
193
|
updateFindings(args: UpdateFindingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateFindingsCommandOutput) => void): void;
|
|
244
194
|
/**
|
|
245
|
-
* @
|
|
246
|
-
* <p>Requests the validation of a policy and returns a list of findings. The findings help
|
|
247
|
-
* you identify issues and provide actionable recommendations to resolve the issue and enable
|
|
248
|
-
* you to author functional policies that meet security best practices. </p>
|
|
195
|
+
* @see {@link ValidatePolicyCommand}
|
|
249
196
|
*/
|
|
250
197
|
validatePolicy(args: ValidatePolicyCommandInput, options?: __HttpHandlerOptions): Promise<ValidatePolicyCommandOutput>;
|
|
251
198
|
validatePolicy(args: ValidatePolicyCommandInput, cb: (err: any, data?: ValidatePolicyCommandOutput) => void): void;
|
|
252
199
|
validatePolicy(args: ValidatePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ValidatePolicyCommandOutput) => void): void;
|
|
253
200
|
}
|
|
201
|
+
/**
|
|
202
|
+
* @public
|
|
203
|
+
* <p>Identity and Access Management Access Analyzer helps identify potential resource-access risks by enabling you to
|
|
204
|
+
* identify any policies that grant access to an external principal. It does this by using
|
|
205
|
+
* logic-based reasoning to analyze resource-based policies in your Amazon Web Services environment. An
|
|
206
|
+
* external principal can be another Amazon Web Services account, a root user, an IAM user or role, a
|
|
207
|
+
* federated user, an Amazon Web Services service, or an anonymous user. You can also use IAM Access Analyzer to
|
|
208
|
+
* preview and validate public and cross-account access to your resources before deploying
|
|
209
|
+
* permissions changes. This guide describes the Identity and Access Management Access Analyzer operations that you can
|
|
210
|
+
* call programmatically. For general information about IAM Access Analyzer, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/what-is-access-analyzer.html">Identity and Access Management Access Analyzer</a> in the <b>IAM User Guide</b>.</p>
|
|
211
|
+
* <p>To start using IAM Access Analyzer, you first need to create an analyzer.</p>
|
|
212
|
+
*/
|
|
213
|
+
export declare class AccessAnalyzer extends AccessAnalyzerClient implements AccessAnalyzer {
|
|
214
|
+
}
|
|
@@ -112,7 +112,7 @@ import {
|
|
|
112
112
|
ValidatePolicyCommandInput,
|
|
113
113
|
ValidatePolicyCommandOutput,
|
|
114
114
|
} from "./commands/ValidatePolicyCommand";
|
|
115
|
-
export
|
|
115
|
+
export interface AccessAnalyzer {
|
|
116
116
|
applyArchiveRule(
|
|
117
117
|
args: ApplyArchiveRuleCommandInput,
|
|
118
118
|
options?: __HttpHandlerOptions
|
|
@@ -478,3 +478,6 @@ export declare class AccessAnalyzer extends AccessAnalyzerClient {
|
|
|
478
478
|
cb: (err: any, data?: ValidatePolicyCommandOutput) => void
|
|
479
479
|
): void;
|
|
480
480
|
}
|
|
481
|
+
export declare class AccessAnalyzer
|
|
482
|
+
extends AccessAnalyzerClient
|
|
483
|
+
implements AccessAnalyzer {}
|
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.316.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",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.316.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.316.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
@@ -40,14 +40,14 @@
|
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.310.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
+
"@aws-sdk/smithy-client": "3.316.0",
|
|
44
44
|
"@aws-sdk/types": "3.310.0",
|
|
45
45
|
"@aws-sdk/url-parser": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-base64": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.316.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.316.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.310.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.310.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|