@aws-sdk/client-accessanalyzer 3.828.0 → 3.831.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 (36) hide show
  1. package/README.md +1 -24
  2. package/dist-cjs/index.js +31 -0
  3. package/dist-es/models/models_0.js +22 -0
  4. package/dist-es/protocols/Aws_restJson1.js +5 -0
  5. package/dist-types/AccessAnalyzer.d.ts +1 -24
  6. package/dist-types/AccessAnalyzerClient.d.ts +1 -24
  7. package/dist-types/commands/ApplyArchiveRuleCommand.d.ts +1 -2
  8. package/dist-types/commands/CheckNoNewAccessCommand.d.ts +1 -6
  9. package/dist-types/commands/CheckNoPublicAccessCommand.d.ts +1 -2
  10. package/dist-types/commands/CreateAccessPreviewCommand.d.ts +1 -2
  11. package/dist-types/commands/CreateAnalyzerCommand.d.ts +17 -0
  12. package/dist-types/commands/CreateArchiveRuleCommand.d.ts +1 -3
  13. package/dist-types/commands/DeleteAnalyzerCommand.d.ts +1 -3
  14. package/dist-types/commands/GetAnalyzerCommand.d.ts +17 -0
  15. package/dist-types/commands/GetArchiveRuleCommand.d.ts +1 -2
  16. package/dist-types/commands/GetFindingCommand.d.ts +1 -4
  17. package/dist-types/commands/GetFindingV2Command.d.ts +29 -7
  18. package/dist-types/commands/GetFindingsStatisticsCommand.d.ts +13 -2
  19. package/dist-types/commands/GetGeneratedPolicyCommand.d.ts +1 -2
  20. package/dist-types/commands/ListAccessPreviewFindingsCommand.d.ts +1 -2
  21. package/dist-types/commands/ListAnalyzedResourcesCommand.d.ts +1 -2
  22. package/dist-types/commands/ListAnalyzersCommand.d.ts +17 -0
  23. package/dist-types/commands/ListFindingsCommand.d.ts +1 -5
  24. package/dist-types/commands/ListFindingsV2Command.d.ts +1 -5
  25. package/dist-types/commands/UpdateAnalyzerCommand.d.ts +34 -0
  26. package/dist-types/commands/ValidatePolicyCommand.d.ts +1 -3
  27. package/dist-types/endpoint/EndpointParameters.d.ts +7 -7
  28. package/dist-types/index.d.ts +1 -24
  29. package/dist-types/models/models_0.d.ts +455 -899
  30. package/dist-types/runtimeConfig.browser.d.ts +2 -2
  31. package/dist-types/runtimeConfig.native.d.ts +2 -2
  32. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +7 -7
  33. package/dist-types/ts3.4/models/models_0.d.ts +117 -18
  34. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -2
  35. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -2
  36. package/package.json +2 -2
@@ -54,6 +54,23 @@ declare const UpdateAnalyzerCommand_base: {
54
54
  * ],
55
55
  * },
56
56
  * },
57
+ * internalAccess: { // InternalAccessConfiguration
58
+ * analysisRule: { // InternalAccessAnalysisRule
59
+ * inclusions: [ // InternalAccessAnalysisRuleCriteriaList
60
+ * { // InternalAccessAnalysisRuleCriteria
61
+ * accountIds: [
62
+ * "STRING_VALUE",
63
+ * ],
64
+ * resourceTypes: [ // ResourceTypeList
65
+ * "STRING_VALUE",
66
+ * ],
67
+ * resourceArns: [ // ResourceArnsList
68
+ * "STRING_VALUE",
69
+ * ],
70
+ * },
71
+ * ],
72
+ * },
73
+ * },
57
74
  * },
58
75
  * };
59
76
  * const command = new UpdateAnalyzerCommand(input);
@@ -77,6 +94,23 @@ declare const UpdateAnalyzerCommand_base: {
77
94
  * // ],
78
95
  * // },
79
96
  * // },
97
+ * // internalAccess: { // InternalAccessConfiguration
98
+ * // analysisRule: { // InternalAccessAnalysisRule
99
+ * // inclusions: [ // InternalAccessAnalysisRuleCriteriaList
100
+ * // { // InternalAccessAnalysisRuleCriteria
101
+ * // accountIds: [
102
+ * // "STRING_VALUE",
103
+ * // ],
104
+ * // resourceTypes: [ // ResourceTypeList
105
+ * // "STRING_VALUE",
106
+ * // ],
107
+ * // resourceArns: [ // ResourceArnsList
108
+ * // "STRING_VALUE",
109
+ * // ],
110
+ * // },
111
+ * // ],
112
+ * // },
113
+ * // },
80
114
  * // },
81
115
  * // };
82
116
  *
@@ -27,9 +27,7 @@ declare const ValidatePolicyCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Requests the validation of a policy and returns a list of findings. The findings help
31
- * you identify issues and provide actionable recommendations to resolve the issue and enable
32
- * you to author functional policies that meet security best practices. </p>
30
+ * <p>Requests the validation of a policy and returns a list of findings. The findings help you identify issues and provide actionable recommendations to resolve the issue and enable you to author functional policies that meet security best practices. </p>
33
31
  * @example
34
32
  * Use a bare-bones client and the command you need to make an API call.
35
33
  * ```javascript
@@ -3,9 +3,9 @@ import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provi
3
3
  * @public
4
4
  */
5
5
  export interface ClientInputEndpointParameters {
6
- region?: string | Provider<string>;
7
- useDualstackEndpoint?: boolean | Provider<boolean>;
8
- useFipsEndpoint?: boolean | Provider<boolean>;
6
+ region?: string | undefined | Provider<string | undefined>;
7
+ useDualstackEndpoint?: boolean | undefined | Provider<boolean | undefined>;
8
+ useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
9
9
  endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
10
10
  }
11
11
  export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
@@ -31,8 +31,8 @@ export declare const commonParams: {
31
31
  };
32
32
  };
33
33
  export interface EndpointParameters extends __EndpointParameters {
34
- Region?: string;
35
- UseDualStack?: boolean;
36
- UseFIPS?: boolean;
37
- Endpoint?: string;
34
+ Region?: string | undefined;
35
+ UseDualStack?: boolean | undefined;
36
+ UseFIPS?: boolean | undefined;
37
+ Endpoint?: string | undefined;
38
38
  }
@@ -1,28 +1,5 @@
1
1
  /**
2
- * <p>Identity and Access Management Access Analyzer helps you to set, verify, and refine your IAM policies by providing
3
- * a suite of capabilities. Its features include findings for external and unused access,
4
- * basic and custom policy checks for validating policies, and policy generation to generate
5
- * fine-grained policies. To start using IAM Access Analyzer to identify external or unused access,
6
- * you first need to create an analyzer.</p>
7
- * <p>
8
- * <b>External access analyzers</b> help identify potential risks
9
- * of accessing resources by enabling you to identify any resource policies that grant access
10
- * to an external principal. It does this by using logic-based reasoning to analyze
11
- * resource-based policies in your Amazon Web Services environment. An external principal can be another
12
- * Amazon Web Services account, a root user, an IAM user or role, a federated user, an Amazon Web Services service, or an
13
- * anonymous user. You can also use IAM Access Analyzer to preview public and cross-account access
14
- * to your resources before deploying permissions changes.</p>
15
- * <p>
16
- * <b>Unused access analyzers</b> help identify potential
17
- * identity access risks by enabling you to identify unused IAM roles, unused access keys,
18
- * unused console passwords, and IAM principals with unused service and action-level
19
- * permissions.</p>
20
- * <p>Beyond findings, IAM Access Analyzer provides basic and custom policy checks to validate IAM
21
- * policies before deploying permissions changes. You can use policy generation to refine
22
- * permissions by attaching a policy generated using access activity logged in CloudTrail logs. </p>
23
- * <p>This guide describes the IAM Access Analyzer operations that you can call programmatically.
24
- * 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
25
- * <b>IAM User Guide</b>.</p>
2
+ * <p>Identity and Access Management Access Analyzer helps you to set, verify, and refine your IAM policies by providing a suite of capabilities. Its features include findings for external and unused access, basic and custom policy checks for validating policies, and policy generation to generate fine-grained policies. To start using IAM Access Analyzer to identify external or unused access, you first need to create an analyzer.</p> <p> <b>External access analyzers</b> help identify potential risks of accessing resources by enabling you to identify any resource policies that grant access to an external principal. It does this by using logic-based reasoning to analyze resource-based policies in your Amazon Web Services environment. An external principal can be another Amazon Web Services account, a root user, an IAM user or role, a federated user, an Amazon Web Services service, or an anonymous user. You can also use IAM Access Analyzer to preview public and cross-account access to your resources before deploying permissions changes.</p> <p> <b>Unused access analyzers</b> help identify potential identity access risks by enabling you to identify unused IAM roles, unused access keys, unused console passwords, and IAM principals with unused service and action-level permissions.</p> <p>Beyond findings, IAM Access Analyzer provides basic and custom policy checks to validate IAM policies before deploying permissions changes. You can use policy generation to refine permissions by attaching a policy generated using access activity logged in CloudTrail logs. </p> <p>This guide describes the IAM Access Analyzer operations that you can 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>
26
3
  *
27
4
  * @packageDocumentation
28
5
  */