@aws-sdk/client-accessanalyzer 3.28.0 → 3.32.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.
Files changed (60) hide show
  1. package/AccessAnalyzer.ts +17 -20
  2. package/AccessAnalyzerClient.ts +9 -9
  3. package/CHANGELOG.md +35 -0
  4. package/README.md +9 -9
  5. package/commands/CreateAccessPreviewCommand.ts +2 -2
  6. package/commands/CreateArchiveRuleCommand.ts +1 -2
  7. package/commands/DeleteAnalyzerCommand.ts +3 -3
  8. package/commands/GetArchiveRuleCommand.ts +1 -2
  9. package/commands/ListFindingsCommand.ts +1 -2
  10. package/dist/cjs/AccessAnalyzer.js +9 -9
  11. package/dist/cjs/AccessAnalyzer.js.map +1 -1
  12. package/dist/cjs/AccessAnalyzerClient.js +9 -9
  13. package/dist/cjs/commands/CreateAccessPreviewCommand.js +2 -2
  14. package/dist/cjs/commands/CreateArchiveRuleCommand.js +1 -2
  15. package/dist/cjs/commands/CreateArchiveRuleCommand.js.map +1 -1
  16. package/dist/cjs/commands/DeleteAnalyzerCommand.js +3 -3
  17. package/dist/cjs/commands/GetArchiveRuleCommand.js +1 -2
  18. package/dist/cjs/commands/GetArchiveRuleCommand.js.map +1 -1
  19. package/dist/cjs/commands/ListFindingsCommand.js +1 -2
  20. package/dist/cjs/commands/ListFindingsCommand.js.map +1 -1
  21. package/dist/cjs/models/models_0.js.map +1 -1
  22. package/dist/cjs/package.json +31 -31
  23. package/dist/cjs/protocols/Aws_restJson1.js +95 -53
  24. package/dist/cjs/protocols/Aws_restJson1.js.map +1 -1
  25. package/dist/es/AccessAnalyzer.js +9 -9
  26. package/dist/es/AccessAnalyzer.js.map +1 -1
  27. package/dist/es/AccessAnalyzerClient.js +9 -9
  28. package/dist/es/commands/CreateAccessPreviewCommand.js +2 -2
  29. package/dist/es/commands/CreateArchiveRuleCommand.js +1 -2
  30. package/dist/es/commands/CreateArchiveRuleCommand.js.map +1 -1
  31. package/dist/es/commands/DeleteAnalyzerCommand.js +3 -3
  32. package/dist/es/commands/GetArchiveRuleCommand.js +1 -2
  33. package/dist/es/commands/GetArchiveRuleCommand.js.map +1 -1
  34. package/dist/es/commands/ListFindingsCommand.js +1 -2
  35. package/dist/es/commands/ListFindingsCommand.js.map +1 -1
  36. package/dist/es/endpoints.js +1 -2
  37. package/dist/es/endpoints.js.map +1 -1
  38. package/dist/es/models/models_0.js.map +1 -1
  39. package/dist/es/package.json +31 -31
  40. package/dist/es/protocols/Aws_restJson1.js +186 -108
  41. package/dist/es/protocols/Aws_restJson1.js.map +1 -1
  42. package/dist/types/AccessAnalyzer.d.ts +17 -20
  43. package/dist/types/AccessAnalyzerClient.d.ts +9 -9
  44. package/dist/types/commands/CreateAccessPreviewCommand.d.ts +2 -2
  45. package/dist/types/commands/CreateArchiveRuleCommand.d.ts +1 -2
  46. package/dist/types/commands/DeleteAnalyzerCommand.d.ts +3 -3
  47. package/dist/types/commands/GetArchiveRuleCommand.d.ts +1 -2
  48. package/dist/types/commands/ListFindingsCommand.d.ts +1 -2
  49. package/dist/types/models/models_0.d.ts +105 -98
  50. package/dist/types/ts3.4/AccessAnalyzer.d.ts +17 -20
  51. package/dist/types/ts3.4/AccessAnalyzerClient.d.ts +9 -9
  52. package/dist/types/ts3.4/commands/CreateAccessPreviewCommand.d.ts +2 -2
  53. package/dist/types/ts3.4/commands/CreateArchiveRuleCommand.d.ts +1 -2
  54. package/dist/types/ts3.4/commands/DeleteAnalyzerCommand.d.ts +3 -3
  55. package/dist/types/ts3.4/commands/GetArchiveRuleCommand.d.ts +1 -2
  56. package/dist/types/ts3.4/commands/ListFindingsCommand.d.ts +1 -2
  57. package/dist/types/ts3.4/models/models_0.d.ts +105 -98
  58. package/models/models_0.ts +105 -98
  59. package/package.json +31 -31
  60. package/protocols/Aws_restJson1.ts +120 -55
@@ -29,15 +29,15 @@ import { UpdateFindingsCommandInput, UpdateFindingsCommandOutput } from "./comma
29
29
  import { ValidatePolicyCommandInput, ValidatePolicyCommandOutput } from "./commands/ValidatePolicyCommand";
30
30
  import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
31
31
  /**
32
- * <p>AWS IAM Access Analyzer helps identify potential resource-access risks by enabling you to identify
33
- * any policies that grant access to an external principal. It does this by using logic-based
34
- * reasoning to analyze resource-based policies in your AWS environment. An external
35
- * principal can be another AWS account, a root user, an IAM user or role, a federated
36
- * user, an AWS service, or an anonymous user. You can also use Access Analyzer to preview and
37
- * validate public and cross-account access to your resources before deploying permissions
38
- * changes. This guide describes the AWS IAM Access Analyzer operations that you can call
39
- * programmatically. For general information about Access Analyzer, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/what-is-access-analyzer.html">AWS IAM Access Analyzer</a> in the <b>IAM User Guide</b>.</p>
40
- * <p>To start using Access Analyzer, you first need to create an analyzer.</p>
32
+ * <p>Identity and Access Management Access Analyzer helps identify potential resource-access risks by enabling you to
33
+ * identify any policies that grant access to an external principal. It does this by using
34
+ * logic-based reasoning to analyze resource-based policies in your Amazon Web Services environment. An
35
+ * external principal can be another Amazon Web Services account, a root user, an IAM user or role, a
36
+ * federated user, an Amazon Web Services service, or an anonymous user. You can also use IAM Access Analyzer to
37
+ * preview and validate public and cross-account access to your resources before deploying
38
+ * permissions changes. This guide describes the Identity and Access Management Access Analyzer operations that you can
39
+ * 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>
40
+ * <p>To start using IAM Access Analyzer, you first need to create an analyzer.</p>
41
41
  */
42
42
  export declare class AccessAnalyzer extends AccessAnalyzerClient {
43
43
  /**
@@ -54,8 +54,8 @@ export declare class AccessAnalyzer extends AccessAnalyzerClient {
54
54
  cancelPolicyGeneration(args: CancelPolicyGenerationCommandInput, cb: (err: any, data?: CancelPolicyGenerationCommandOutput) => void): void;
55
55
  cancelPolicyGeneration(args: CancelPolicyGenerationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelPolicyGenerationCommandOutput) => void): void;
56
56
  /**
57
- * <p>Creates an access preview that allows you to preview Access Analyzer findings for your resource
58
- * before deploying resource permissions.</p>
57
+ * <p>Creates an access preview that allows you to preview IAM Access Analyzer findings for your
58
+ * resource before deploying resource permissions.</p>
59
59
  */
60
60
  createAccessPreview(args: CreateAccessPreviewCommandInput, options?: __HttpHandlerOptions): Promise<CreateAccessPreviewCommandOutput>;
61
61
  createAccessPreview(args: CreateAccessPreviewCommandInput, cb: (err: any, data?: CreateAccessPreviewCommandOutput) => void): void;
@@ -69,16 +69,15 @@ export declare class AccessAnalyzer extends AccessAnalyzerClient {
69
69
  /**
70
70
  * <p>Creates an archive rule for the specified analyzer. Archive rules automatically archive
71
71
  * new findings that meet the criteria you define when you create the rule.</p>
72
- * <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">Access Analyzer filter keys</a> in the <b>IAM User
73
- * Guide</b>.</p>
72
+ * <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>
74
73
  */
75
74
  createArchiveRule(args: CreateArchiveRuleCommandInput, options?: __HttpHandlerOptions): Promise<CreateArchiveRuleCommandOutput>;
76
75
  createArchiveRule(args: CreateArchiveRuleCommandInput, cb: (err: any, data?: CreateArchiveRuleCommandOutput) => void): void;
77
76
  createArchiveRule(args: CreateArchiveRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateArchiveRuleCommandOutput) => void): void;
78
77
  /**
79
- * <p>Deletes the specified analyzer. When you delete an analyzer, Access Analyzer is disabled for the
80
- * account or organization in the current or specific Region. All findings that were generated
81
- * by the analyzer are deleted. You cannot undo this action.</p>
78
+ * <p>Deletes the specified analyzer. When you delete an analyzer, IAM Access Analyzer is disabled
79
+ * for the account or organization in the current or specific Region. All findings that were
80
+ * generated by the analyzer are deleted. You cannot undo this action.</p>
82
81
  */
83
82
  deleteAnalyzer(args: DeleteAnalyzerCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAnalyzerCommandOutput>;
84
83
  deleteAnalyzer(args: DeleteAnalyzerCommandInput, cb: (err: any, data?: DeleteAnalyzerCommandOutput) => void): void;
@@ -109,8 +108,7 @@ export declare class AccessAnalyzer extends AccessAnalyzerClient {
109
108
  getAnalyzer(args: GetAnalyzerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAnalyzerCommandOutput) => void): void;
110
109
  /**
111
110
  * <p>Retrieves information about an archive rule.</p>
112
- * <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">Access Analyzer filter keys</a> in the <b>IAM User
113
- * Guide</b>.</p>
111
+ * <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>
114
112
  */
115
113
  getArchiveRule(args: GetArchiveRuleCommandInput, options?: __HttpHandlerOptions): Promise<GetArchiveRuleCommandOutput>;
116
114
  getArchiveRule(args: GetArchiveRuleCommandInput, cb: (err: any, data?: GetArchiveRuleCommandOutput) => void): void;
@@ -162,8 +160,7 @@ export declare class AccessAnalyzer extends AccessAnalyzerClient {
162
160
  listArchiveRules(args: ListArchiveRulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListArchiveRulesCommandOutput) => void): void;
163
161
  /**
164
162
  * <p>Retrieves a list of findings generated by the specified analyzer.</p>
165
- * <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">Access Analyzer filter keys</a> in the <b>IAM User
166
- * Guide</b>.</p>
163
+ * <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>
167
164
  */
168
165
  listFindings(args: ListFindingsCommandInput, options?: __HttpHandlerOptions): Promise<ListFindingsCommandOutput>;
169
166
  listFindings(args: ListFindingsCommandInput, cb: (err: any, data?: ListFindingsCommandOutput) => void): void;
@@ -142,15 +142,15 @@ declare type AccessAnalyzerClientResolvedConfigType = __SmithyResolvedConfigurat
142
142
  export interface AccessAnalyzerClientResolvedConfig extends AccessAnalyzerClientResolvedConfigType {
143
143
  }
144
144
  /**
145
- * <p>AWS IAM Access Analyzer helps identify potential resource-access risks by enabling you to identify
146
- * any policies that grant access to an external principal. It does this by using logic-based
147
- * reasoning to analyze resource-based policies in your AWS environment. An external
148
- * principal can be another AWS account, a root user, an IAM user or role, a federated
149
- * user, an AWS service, or an anonymous user. You can also use Access Analyzer to preview and
150
- * validate public and cross-account access to your resources before deploying permissions
151
- * changes. This guide describes the AWS IAM Access Analyzer operations that you can call
152
- * programmatically. For general information about Access Analyzer, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/what-is-access-analyzer.html">AWS IAM Access Analyzer</a> in the <b>IAM User Guide</b>.</p>
153
- * <p>To start using Access Analyzer, you first need to create an analyzer.</p>
145
+ * <p>Identity and Access Management Access Analyzer helps identify potential resource-access risks by enabling you to
146
+ * identify any policies that grant access to an external principal. It does this by using
147
+ * logic-based reasoning to analyze resource-based policies in your Amazon Web Services environment. An
148
+ * external principal can be another Amazon Web Services account, a root user, an IAM user or role, a
149
+ * federated user, an Amazon Web Services service, or an anonymous user. You can also use IAM Access Analyzer to
150
+ * preview and validate public and cross-account access to your resources before deploying
151
+ * permissions changes. This guide describes the Identity and Access Management Access Analyzer operations that you can
152
+ * 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>
153
+ * <p>To start using IAM Access Analyzer, you first need to create an analyzer.</p>
154
154
  */
155
155
  export declare class AccessAnalyzerClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, AccessAnalyzerClientResolvedConfig> {
156
156
  /**
@@ -7,8 +7,8 @@ export interface CreateAccessPreviewCommandInput extends CreateAccessPreviewRequ
7
7
  export interface CreateAccessPreviewCommandOutput extends CreateAccessPreviewResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Creates an access preview that allows you to preview Access Analyzer findings for your resource
11
- * before deploying resource permissions.</p>
10
+ * <p>Creates an access preview that allows you to preview IAM Access Analyzer findings for your
11
+ * resource before deploying resource permissions.</p>
12
12
  * @example
13
13
  * Use a bare-bones client and the command you need to make an API call.
14
14
  * ```javascript
@@ -9,8 +9,7 @@ export interface CreateArchiveRuleCommandOutput extends __MetadataBearer {
9
9
  /**
10
10
  * <p>Creates an archive rule for the specified analyzer. Archive rules automatically archive
11
11
  * new findings that meet the criteria you define when you create the rule.</p>
12
- * <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">Access Analyzer filter keys</a> in the <b>IAM User
13
- * Guide</b>.</p>
12
+ * <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>
14
13
  * @example
15
14
  * Use a bare-bones client and the command you need to make an API call.
16
15
  * ```javascript
@@ -7,9 +7,9 @@ export interface DeleteAnalyzerCommandInput extends DeleteAnalyzerRequest {
7
7
  export interface DeleteAnalyzerCommandOutput extends __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Deletes the specified analyzer. When you delete an analyzer, Access Analyzer is disabled for the
11
- * account or organization in the current or specific Region. All findings that were generated
12
- * by the analyzer are deleted. You cannot undo this action.</p>
10
+ * <p>Deletes the specified analyzer. When you delete an analyzer, IAM Access Analyzer is disabled
11
+ * for the account or organization in the current or specific Region. All findings that were
12
+ * generated by the analyzer are deleted. You cannot undo this action.</p>
13
13
  * @example
14
14
  * Use a bare-bones client and the command you need to make an API call.
15
15
  * ```javascript
@@ -8,8 +8,7 @@ export interface GetArchiveRuleCommandOutput extends GetArchiveRuleResponse, __M
8
8
  }
9
9
  /**
10
10
  * <p>Retrieves information about an archive rule.</p>
11
- * <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">Access Analyzer filter keys</a> in the <b>IAM User
12
- * Guide</b>.</p>
11
+ * <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>
13
12
  * @example
14
13
  * Use a bare-bones client and the command you need to make an API call.
15
14
  * ```javascript
@@ -8,8 +8,7 @@ export interface ListFindingsCommandOutput extends ListFindingsResponse, __Metad
8
8
  }
9
9
  /**
10
10
  * <p>Retrieves a list of findings generated by the specified analyzer.</p>
11
- * <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">Access Analyzer filter keys</a> in the <b>IAM User
12
- * Guide</b>.</p>
11
+ * <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>
13
12
  * @example
14
13
  * Use a bare-bones client and the command you need to make an API call.
15
14
  * ```javascript