@aws-sdk/client-accessanalyzer 3.40.0 → 3.44.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 (38) hide show
  1. package/CHANGELOG.md +38 -0
  2. package/dist-cjs/endpoints.js +8 -0
  3. package/dist-cjs/models/models_0.js +8 -1
  4. package/dist-cjs/protocols/Aws_restJson1.js +2 -0
  5. package/dist-es/endpoints.js +8 -0
  6. package/dist-es/models/models_0.js +7 -0
  7. package/dist-es/protocols/Aws_restJson1.js +3 -2
  8. package/dist-types/commands/ApplyArchiveRuleCommand.d.ts +1 -1
  9. package/dist-types/commands/CancelPolicyGenerationCommand.d.ts +1 -1
  10. package/dist-types/commands/CreateAccessPreviewCommand.d.ts +1 -1
  11. package/dist-types/commands/CreateAnalyzerCommand.d.ts +1 -1
  12. package/dist-types/commands/CreateArchiveRuleCommand.d.ts +1 -1
  13. package/dist-types/commands/DeleteAnalyzerCommand.d.ts +1 -1
  14. package/dist-types/commands/DeleteArchiveRuleCommand.d.ts +1 -1
  15. package/dist-types/commands/GetAccessPreviewCommand.d.ts +1 -1
  16. package/dist-types/commands/GetAnalyzedResourceCommand.d.ts +1 -1
  17. package/dist-types/commands/GetAnalyzerCommand.d.ts +1 -1
  18. package/dist-types/commands/GetArchiveRuleCommand.d.ts +1 -1
  19. package/dist-types/commands/GetFindingCommand.d.ts +1 -1
  20. package/dist-types/commands/GetGeneratedPolicyCommand.d.ts +1 -1
  21. package/dist-types/commands/ListAccessPreviewFindingsCommand.d.ts +1 -1
  22. package/dist-types/commands/ListAccessPreviewsCommand.d.ts +1 -1
  23. package/dist-types/commands/ListAnalyzedResourcesCommand.d.ts +1 -1
  24. package/dist-types/commands/ListAnalyzersCommand.d.ts +1 -1
  25. package/dist-types/commands/ListArchiveRulesCommand.d.ts +1 -1
  26. package/dist-types/commands/ListFindingsCommand.d.ts +1 -1
  27. package/dist-types/commands/ListPolicyGenerationsCommand.d.ts +1 -1
  28. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  29. package/dist-types/commands/StartPolicyGenerationCommand.d.ts +1 -1
  30. package/dist-types/commands/StartResourceScanCommand.d.ts +1 -1
  31. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  32. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  33. package/dist-types/commands/UpdateArchiveRuleCommand.d.ts +1 -1
  34. package/dist-types/commands/UpdateFindingsCommand.d.ts +1 -1
  35. package/dist-types/commands/ValidatePolicyCommand.d.ts +1 -1
  36. package/dist-types/models/models_0.d.ts +21 -4
  37. package/dist-types/ts3.4/models/models_0.d.ts +8 -0
  38. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -3,6 +3,44 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.44.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.43.0...v3.44.0) (2021-12-02)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** update clients as of 2021/11/30 ([#3077](https://github.com/aws/aws-sdk-js-v3/issues/3077)) ([2bdba30](https://github.com/aws/aws-sdk-js-v3/commit/2bdba30963e550728ba2903d57daa1e666a29d71))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
18
+
19
+ **Note:** Version bump only for package @aws-sdk/client-accessanalyzer
20
+
21
+
22
+
23
+
24
+
25
+ # [3.42.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.41.0...v3.42.0) (2021-11-19)
26
+
27
+ **Note:** Version bump only for package @aws-sdk/client-accessanalyzer
28
+
29
+
30
+
31
+
32
+
33
+ # [3.41.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.40.1...v3.41.0) (2021-11-11)
34
+
35
+
36
+ ### Features
37
+
38
+ * **clients:** update clients as of 2021/11/11 ([#3015](https://github.com/aws/aws-sdk-js-v3/issues/3015)) ([3d82c4e](https://github.com/aws/aws-sdk-js-v3/commit/3d82c4e3c4d174533f46ce35495cf5cffabdb35a))
39
+
40
+
41
+
42
+
43
+
6
44
  # [3.40.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.39.0...v3.40.0) (2021-11-05)
7
45
 
8
46
 
@@ -162,6 +162,10 @@ const partitionHash = {
162
162
  hostname: "access-analyzer.{region}.c2s.ic.gov",
163
163
  tags: [],
164
164
  },
165
+ {
166
+ hostname: "access-analyzer-fips.{region}.c2s.ic.gov",
167
+ tags: ["fips"],
168
+ },
165
169
  ],
166
170
  },
167
171
  "aws-iso-b": {
@@ -172,6 +176,10 @@ const partitionHash = {
172
176
  hostname: "access-analyzer.{region}.sc2s.sgov.gov",
173
177
  tags: [],
174
178
  },
179
+ {
180
+ hostname: "access-analyzer-fips.{region}.sc2s.sgov.gov",
181
+ tags: ["fips"],
182
+ },
175
183
  ],
176
184
  },
177
185
  "aws-us-gov": {
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CreateAccessPreviewResponse = exports.CreateAccessPreviewRequest = exports.Configuration = exports.SqsQueueConfiguration = exports.SecretsManagerSecretConfiguration = exports.S3BucketConfiguration = exports.S3BucketAclGrantConfiguration = exports.AclPermission = exports.AclGrantee = exports.S3AccessPointConfiguration = exports.S3PublicAccessBlockConfiguration = exports.NetworkOriginConfiguration = exports.VpcConfiguration = exports.InternetConfiguration = exports.KmsKeyConfiguration = exports.KmsGrantConfiguration = exports.KmsGrantOperation = exports.KmsGrantConstraints = exports.IamRoleConfiguration = exports.CancelPolicyGenerationResponse = exports.CancelPolicyGenerationRequest = exports.ApplyArchiveRuleRequest = exports.ListAnalyzersResponse = exports.ListAnalyzersRequest = exports.GetAnalyzerResponse = exports.AnalyzerSummary = exports.StatusReason = exports.GetAnalyzerRequest = exports.DeleteAnalyzerRequest = exports.CreateAnalyzerResponse = exports.CreateAnalyzerRequest = exports.InlineArchiveRule = exports.UpdateArchiveRuleRequest = exports.ListArchiveRulesResponse = exports.ListArchiveRulesRequest = exports.GetArchiveRuleResponse = exports.ArchiveRuleSummary = exports.GetArchiveRuleRequest = exports.DeleteArchiveRuleRequest = exports.ValidationException = exports.ValidationExceptionReason = exports.ValidationExceptionField = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.InternalServerException = exports.CreateArchiveRuleRequest = exports.Criterion = exports.ConflictException = exports.AccessDeniedException = void 0;
4
4
  exports.StartResourceScanRequest = exports.StartPolicyGenerationResponse = exports.StartPolicyGenerationRequest = exports.PolicyGenerationDetails = exports.CloudTrailDetails = exports.Trail = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListPolicyGenerationsResponse = exports.PolicyGeneration = exports.ListPolicyGenerationsRequest = exports.ListFindingsResponse = exports.FindingSummary = exports.ListFindingsRequest = exports.SortCriteria = exports.ListAnalyzedResourcesResponse = exports.AnalyzedResourceSummary = exports.ListAnalyzedResourcesRequest = exports.ListAccessPreviewsResponse = exports.AccessPreviewSummary = exports.ListAccessPreviewsRequest = exports.ListAccessPreviewFindingsResponse = exports.AccessPreviewFinding = exports.FindingChangeType = exports.ListAccessPreviewFindingsRequest = exports.GetGeneratedPolicyResponse = exports.JobDetails = exports.JobStatus = exports.JobError = exports.JobErrorCode = exports.GeneratedPolicyResult = exports.GeneratedPolicyProperties = exports.CloudTrailProperties = exports.TrailProperties = exports.GeneratedPolicy = exports.GetGeneratedPolicyRequest = exports.GetFindingResponse = exports.Finding = exports.FindingSource = exports.FindingSourceDetail = exports.GetFindingRequest = exports.GetAnalyzedResourceResponse = exports.AnalyzedResource = exports.GetAnalyzedResourceRequest = exports.GetAccessPreviewResponse = exports.AccessPreview = exports.AccessPreviewStatusReason = exports.AccessPreviewStatusReasonCode = exports.AccessPreviewStatus = exports.GetAccessPreviewRequest = void 0;
5
- exports.ValidatePolicyResponse = exports.ValidatePolicyFinding = exports.Location = exports.Span = exports.Position = exports.PathElement = exports.Substring = exports.ValidatePolicyFindingType = exports.ValidatePolicyRequest = exports.PolicyType = exports.Locale = exports.UpdateFindingsRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = void 0;
5
+ exports.ValidatePolicyResponse = exports.ValidatePolicyFinding = exports.Location = exports.Span = exports.Position = exports.PathElement = exports.Substring = exports.ValidatePolicyFindingType = exports.ValidatePolicyRequest = exports.ValidatePolicyResourceType = exports.PolicyType = exports.Locale = exports.UpdateFindingsRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = void 0;
6
6
  var AccessDeniedException;
7
7
  (function (AccessDeniedException) {
8
8
  AccessDeniedException.filterSensitiveLog = (obj) => ({
@@ -739,6 +739,13 @@ var PolicyType;
739
739
  PolicyType["RESOURCE_POLICY"] = "RESOURCE_POLICY";
740
740
  PolicyType["SERVICE_CONTROL_POLICY"] = "SERVICE_CONTROL_POLICY";
741
741
  })(PolicyType = exports.PolicyType || (exports.PolicyType = {}));
742
+ var ValidatePolicyResourceType;
743
+ (function (ValidatePolicyResourceType) {
744
+ ValidatePolicyResourceType["S3_ACCESS_POINT"] = "AWS::S3::AccessPoint";
745
+ ValidatePolicyResourceType["S3_BUCKET"] = "AWS::S3::Bucket";
746
+ ValidatePolicyResourceType["S3_MULTI_REGION_ACCESS_POINT"] = "AWS::S3::MultiRegionAccessPoint";
747
+ ValidatePolicyResourceType["S3_OBJECT_LAMBDA_ACCESS_POINT"] = "AWS::S3ObjectLambda::AccessPoint";
748
+ })(ValidatePolicyResourceType = exports.ValidatePolicyResourceType || (exports.ValidatePolicyResourceType = {}));
742
749
  var ValidatePolicyRequest;
743
750
  (function (ValidatePolicyRequest) {
744
751
  ValidatePolicyRequest.filterSensitiveLog = (obj) => ({
@@ -809,6 +809,8 @@ const serializeAws_restJson1ValidatePolicyCommand = async (input, context) => {
809
809
  ...(input.policyDocument !== undefined &&
810
810
  input.policyDocument !== null && { policyDocument: input.policyDocument }),
811
811
  ...(input.policyType !== undefined && input.policyType !== null && { policyType: input.policyType }),
812
+ ...(input.validatePolicyResourceType !== undefined &&
813
+ input.validatePolicyResourceType !== null && { validatePolicyResourceType: input.validatePolicyResourceType }),
812
814
  });
813
815
  return new protocol_http_1.HttpRequest({
814
816
  protocol,
@@ -160,6 +160,10 @@ var partitionHash = {
160
160
  hostname: "access-analyzer.{region}.c2s.ic.gov",
161
161
  tags: [],
162
162
  },
163
+ {
164
+ hostname: "access-analyzer-fips.{region}.c2s.ic.gov",
165
+ tags: ["fips"],
166
+ },
163
167
  ],
164
168
  },
165
169
  "aws-iso-b": {
@@ -170,6 +174,10 @@ var partitionHash = {
170
174
  hostname: "access-analyzer.{region}.sc2s.sgov.gov",
171
175
  tags: [],
172
176
  },
177
+ {
178
+ hostname: "access-analyzer-fips.{region}.sc2s.sgov.gov",
179
+ tags: ["fips"],
180
+ },
173
181
  ],
174
182
  },
175
183
  "aws-us-gov": {
@@ -546,6 +546,13 @@ export var PolicyType;
546
546
  PolicyType["RESOURCE_POLICY"] = "RESOURCE_POLICY";
547
547
  PolicyType["SERVICE_CONTROL_POLICY"] = "SERVICE_CONTROL_POLICY";
548
548
  })(PolicyType || (PolicyType = {}));
549
+ export var ValidatePolicyResourceType;
550
+ (function (ValidatePolicyResourceType) {
551
+ ValidatePolicyResourceType["S3_ACCESS_POINT"] = "AWS::S3::AccessPoint";
552
+ ValidatePolicyResourceType["S3_BUCKET"] = "AWS::S3::Bucket";
553
+ ValidatePolicyResourceType["S3_MULTI_REGION_ACCESS_POINT"] = "AWS::S3::MultiRegionAccessPoint";
554
+ ValidatePolicyResourceType["S3_OBJECT_LAMBDA_ACCESS_POINT"] = "AWS::S3ObjectLambda::AccessPoint";
555
+ })(ValidatePolicyResourceType || (ValidatePolicyResourceType = {}));
549
556
  export var ValidatePolicyRequest;
550
557
  (function (ValidatePolicyRequest) {
551
558
  ValidatePolicyRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -854,8 +854,9 @@ export var serializeAws_restJson1ValidatePolicyCommand = function (input, contex
854
854
  };
855
855
  resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/policy/validation";
856
856
  query = __assign(__assign({}, (input.maxResults !== undefined && { maxResults: input.maxResults.toString() })), (input.nextToken !== undefined && { nextToken: input.nextToken }));
857
- body = JSON.stringify(__assign(__assign(__assign({}, (input.locale !== undefined && input.locale !== null && { locale: input.locale })), (input.policyDocument !== undefined &&
858
- input.policyDocument !== null && { policyDocument: input.policyDocument })), (input.policyType !== undefined && input.policyType !== null && { policyType: input.policyType })));
857
+ body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.locale !== undefined && input.locale !== null && { locale: input.locale })), (input.policyDocument !== undefined &&
858
+ input.policyDocument !== null && { policyDocument: input.policyDocument })), (input.policyType !== undefined && input.policyType !== null && { policyType: input.policyType })), (input.validatePolicyResourceType !== undefined &&
859
+ input.validatePolicyResourceType !== null && { validatePolicyResourceType: input.validatePolicyResourceType })));
859
860
  return [2, new __HttpRequest({
860
861
  protocol: protocol,
861
862
  hostname: hostname,
@@ -21,7 +21,7 @@ export interface ApplyArchiveRuleCommandOutput extends __MetadataBearer {
21
21
  *
22
22
  * @see {@link ApplyArchiveRuleCommandInput} for command's `input` shape.
23
23
  * @see {@link ApplyArchiveRuleCommandOutput} for command's `response` shape.
24
- * @see {@link AccessAnalyzerClientResolvedConfig | config} for command's `input` shape.
24
+ * @see {@link AccessAnalyzerClientResolvedConfig | config} for AccessAnalyzerClient's `config` shape.
25
25
  *
26
26
  */
27
27
  export declare class ApplyArchiveRuleCommand extends $Command<ApplyArchiveRuleCommandInput, ApplyArchiveRuleCommandOutput, AccessAnalyzerClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface CancelPolicyGenerationCommandOutput extends CancelPolicyGenerat
20
20
  *
21
21
  * @see {@link CancelPolicyGenerationCommandInput} for command's `input` shape.
22
22
  * @see {@link CancelPolicyGenerationCommandOutput} for command's `response` shape.
23
- * @see {@link AccessAnalyzerClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link AccessAnalyzerClientResolvedConfig | config} for AccessAnalyzerClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class CancelPolicyGenerationCommand extends $Command<CancelPolicyGenerationCommandInput, CancelPolicyGenerationCommandOutput, AccessAnalyzerClientResolvedConfig> {
@@ -21,7 +21,7 @@ export interface CreateAccessPreviewCommandOutput extends CreateAccessPreviewRes
21
21
  *
22
22
  * @see {@link CreateAccessPreviewCommandInput} for command's `input` shape.
23
23
  * @see {@link CreateAccessPreviewCommandOutput} for command's `response` shape.
24
- * @see {@link AccessAnalyzerClientResolvedConfig | config} for command's `input` shape.
24
+ * @see {@link AccessAnalyzerClientResolvedConfig | config} for AccessAnalyzerClient's `config` shape.
25
25
  *
26
26
  */
27
27
  export declare class CreateAccessPreviewCommand extends $Command<CreateAccessPreviewCommandInput, CreateAccessPreviewCommandOutput, AccessAnalyzerClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface CreateAnalyzerCommandOutput extends CreateAnalyzerResponse, __M
20
20
  *
21
21
  * @see {@link CreateAnalyzerCommandInput} for command's `input` shape.
22
22
  * @see {@link CreateAnalyzerCommandOutput} for command's `response` shape.
23
- * @see {@link AccessAnalyzerClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link AccessAnalyzerClientResolvedConfig | config} for AccessAnalyzerClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class CreateAnalyzerCommand extends $Command<CreateAnalyzerCommandInput, CreateAnalyzerCommandOutput, AccessAnalyzerClientResolvedConfig> {
@@ -22,7 +22,7 @@ export interface CreateArchiveRuleCommandOutput extends __MetadataBearer {
22
22
  *
23
23
  * @see {@link CreateArchiveRuleCommandInput} for command's `input` shape.
24
24
  * @see {@link CreateArchiveRuleCommandOutput} for command's `response` shape.
25
- * @see {@link AccessAnalyzerClientResolvedConfig | config} for command's `input` shape.
25
+ * @see {@link AccessAnalyzerClientResolvedConfig | config} for AccessAnalyzerClient's `config` shape.
26
26
  *
27
27
  */
28
28
  export declare class CreateArchiveRuleCommand extends $Command<CreateArchiveRuleCommandInput, CreateArchiveRuleCommandOutput, AccessAnalyzerClientResolvedConfig> {
@@ -22,7 +22,7 @@ export interface DeleteAnalyzerCommandOutput extends __MetadataBearer {
22
22
  *
23
23
  * @see {@link DeleteAnalyzerCommandInput} for command's `input` shape.
24
24
  * @see {@link DeleteAnalyzerCommandOutput} for command's `response` shape.
25
- * @see {@link AccessAnalyzerClientResolvedConfig | config} for command's `input` shape.
25
+ * @see {@link AccessAnalyzerClientResolvedConfig | config} for AccessAnalyzerClient's `config` shape.
26
26
  *
27
27
  */
28
28
  export declare class DeleteAnalyzerCommand extends $Command<DeleteAnalyzerCommandInput, DeleteAnalyzerCommandOutput, AccessAnalyzerClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface DeleteArchiveRuleCommandOutput extends __MetadataBearer {
20
20
  *
21
21
  * @see {@link DeleteArchiveRuleCommandInput} for command's `input` shape.
22
22
  * @see {@link DeleteArchiveRuleCommandOutput} for command's `response` shape.
23
- * @see {@link AccessAnalyzerClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link AccessAnalyzerClientResolvedConfig | config} for AccessAnalyzerClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class DeleteArchiveRuleCommand extends $Command<DeleteArchiveRuleCommandInput, DeleteArchiveRuleCommandOutput, AccessAnalyzerClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface GetAccessPreviewCommandOutput extends GetAccessPreviewResponse,
20
20
  *
21
21
  * @see {@link GetAccessPreviewCommandInput} for command's `input` shape.
22
22
  * @see {@link GetAccessPreviewCommandOutput} for command's `response` shape.
23
- * @see {@link AccessAnalyzerClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link AccessAnalyzerClientResolvedConfig | config} for AccessAnalyzerClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class GetAccessPreviewCommand extends $Command<GetAccessPreviewCommandInput, GetAccessPreviewCommandOutput, AccessAnalyzerClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface GetAnalyzedResourceCommandOutput extends GetAnalyzedResourceRes
20
20
  *
21
21
  * @see {@link GetAnalyzedResourceCommandInput} for command's `input` shape.
22
22
  * @see {@link GetAnalyzedResourceCommandOutput} for command's `response` shape.
23
- * @see {@link AccessAnalyzerClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link AccessAnalyzerClientResolvedConfig | config} for AccessAnalyzerClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class GetAnalyzedResourceCommand extends $Command<GetAnalyzedResourceCommandInput, GetAnalyzedResourceCommandOutput, AccessAnalyzerClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface GetAnalyzerCommandOutput extends GetAnalyzerResponse, __Metadat
20
20
  *
21
21
  * @see {@link GetAnalyzerCommandInput} for command's `input` shape.
22
22
  * @see {@link GetAnalyzerCommandOutput} for command's `response` shape.
23
- * @see {@link AccessAnalyzerClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link AccessAnalyzerClientResolvedConfig | config} for AccessAnalyzerClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class GetAnalyzerCommand extends $Command<GetAnalyzerCommandInput, GetAnalyzerCommandOutput, AccessAnalyzerClientResolvedConfig> {
@@ -21,7 +21,7 @@ export interface GetArchiveRuleCommandOutput extends GetArchiveRuleResponse, __M
21
21
  *
22
22
  * @see {@link GetArchiveRuleCommandInput} for command's `input` shape.
23
23
  * @see {@link GetArchiveRuleCommandOutput} for command's `response` shape.
24
- * @see {@link AccessAnalyzerClientResolvedConfig | config} for command's `input` shape.
24
+ * @see {@link AccessAnalyzerClientResolvedConfig | config} for AccessAnalyzerClient's `config` shape.
25
25
  *
26
26
  */
27
27
  export declare class GetArchiveRuleCommand extends $Command<GetArchiveRuleCommandInput, GetArchiveRuleCommandOutput, AccessAnalyzerClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface GetFindingCommandOutput extends GetFindingResponse, __MetadataB
20
20
  *
21
21
  * @see {@link GetFindingCommandInput} for command's `input` shape.
22
22
  * @see {@link GetFindingCommandOutput} for command's `response` shape.
23
- * @see {@link AccessAnalyzerClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link AccessAnalyzerClientResolvedConfig | config} for AccessAnalyzerClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class GetFindingCommand extends $Command<GetFindingCommandInput, GetFindingCommandOutput, AccessAnalyzerClientResolvedConfig> {
@@ -21,7 +21,7 @@ export interface GetGeneratedPolicyCommandOutput extends GetGeneratedPolicyRespo
21
21
  *
22
22
  * @see {@link GetGeneratedPolicyCommandInput} for command's `input` shape.
23
23
  * @see {@link GetGeneratedPolicyCommandOutput} for command's `response` shape.
24
- * @see {@link AccessAnalyzerClientResolvedConfig | config} for command's `input` shape.
24
+ * @see {@link AccessAnalyzerClientResolvedConfig | config} for AccessAnalyzerClient's `config` shape.
25
25
  *
26
26
  */
27
27
  export declare class GetGeneratedPolicyCommand extends $Command<GetGeneratedPolicyCommandInput, GetGeneratedPolicyCommandOutput, AccessAnalyzerClientResolvedConfig> {
@@ -21,7 +21,7 @@ export interface ListAccessPreviewFindingsCommandOutput extends ListAccessPrevie
21
21
  *
22
22
  * @see {@link ListAccessPreviewFindingsCommandInput} for command's `input` shape.
23
23
  * @see {@link ListAccessPreviewFindingsCommandOutput} for command's `response` shape.
24
- * @see {@link AccessAnalyzerClientResolvedConfig | config} for command's `input` shape.
24
+ * @see {@link AccessAnalyzerClientResolvedConfig | config} for AccessAnalyzerClient's `config` shape.
25
25
  *
26
26
  */
27
27
  export declare class ListAccessPreviewFindingsCommand extends $Command<ListAccessPreviewFindingsCommandInput, ListAccessPreviewFindingsCommandOutput, AccessAnalyzerClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface ListAccessPreviewsCommandOutput extends ListAccessPreviewsRespo
20
20
  *
21
21
  * @see {@link ListAccessPreviewsCommandInput} for command's `input` shape.
22
22
  * @see {@link ListAccessPreviewsCommandOutput} for command's `response` shape.
23
- * @see {@link AccessAnalyzerClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link AccessAnalyzerClientResolvedConfig | config} for AccessAnalyzerClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class ListAccessPreviewsCommand extends $Command<ListAccessPreviewsCommandInput, ListAccessPreviewsCommandOutput, AccessAnalyzerClientResolvedConfig> {
@@ -21,7 +21,7 @@ export interface ListAnalyzedResourcesCommandOutput extends ListAnalyzedResource
21
21
  *
22
22
  * @see {@link ListAnalyzedResourcesCommandInput} for command's `input` shape.
23
23
  * @see {@link ListAnalyzedResourcesCommandOutput} for command's `response` shape.
24
- * @see {@link AccessAnalyzerClientResolvedConfig | config} for command's `input` shape.
24
+ * @see {@link AccessAnalyzerClientResolvedConfig | config} for AccessAnalyzerClient's `config` shape.
25
25
  *
26
26
  */
27
27
  export declare class ListAnalyzedResourcesCommand extends $Command<ListAnalyzedResourcesCommandInput, ListAnalyzedResourcesCommandOutput, AccessAnalyzerClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface ListAnalyzersCommandOutput extends ListAnalyzersResponse, __Met
20
20
  *
21
21
  * @see {@link ListAnalyzersCommandInput} for command's `input` shape.
22
22
  * @see {@link ListAnalyzersCommandOutput} for command's `response` shape.
23
- * @see {@link AccessAnalyzerClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link AccessAnalyzerClientResolvedConfig | config} for AccessAnalyzerClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class ListAnalyzersCommand extends $Command<ListAnalyzersCommandInput, ListAnalyzersCommandOutput, AccessAnalyzerClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface ListArchiveRulesCommandOutput extends ListArchiveRulesResponse,
20
20
  *
21
21
  * @see {@link ListArchiveRulesCommandInput} for command's `input` shape.
22
22
  * @see {@link ListArchiveRulesCommandOutput} for command's `response` shape.
23
- * @see {@link AccessAnalyzerClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link AccessAnalyzerClientResolvedConfig | config} for AccessAnalyzerClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class ListArchiveRulesCommand extends $Command<ListArchiveRulesCommandInput, ListArchiveRulesCommandOutput, AccessAnalyzerClientResolvedConfig> {
@@ -21,7 +21,7 @@ export interface ListFindingsCommandOutput extends ListFindingsResponse, __Metad
21
21
  *
22
22
  * @see {@link ListFindingsCommandInput} for command's `input` shape.
23
23
  * @see {@link ListFindingsCommandOutput} for command's `response` shape.
24
- * @see {@link AccessAnalyzerClientResolvedConfig | config} for command's `input` shape.
24
+ * @see {@link AccessAnalyzerClientResolvedConfig | config} for AccessAnalyzerClient's `config` shape.
25
25
  *
26
26
  */
27
27
  export declare class ListFindingsCommand extends $Command<ListFindingsCommandInput, ListFindingsCommandOutput, AccessAnalyzerClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface ListPolicyGenerationsCommandOutput extends ListPolicyGeneration
20
20
  *
21
21
  * @see {@link ListPolicyGenerationsCommandInput} for command's `input` shape.
22
22
  * @see {@link ListPolicyGenerationsCommandOutput} for command's `response` shape.
23
- * @see {@link AccessAnalyzerClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link AccessAnalyzerClientResolvedConfig | config} for AccessAnalyzerClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class ListPolicyGenerationsCommand extends $Command<ListPolicyGenerationsCommandInput, ListPolicyGenerationsCommandOutput, AccessAnalyzerClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
20
20
  *
21
21
  * @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
22
22
  * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
23
- * @see {@link AccessAnalyzerClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link AccessAnalyzerClientResolvedConfig | config} for AccessAnalyzerClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, AccessAnalyzerClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface StartPolicyGenerationCommandOutput extends StartPolicyGeneratio
20
20
  *
21
21
  * @see {@link StartPolicyGenerationCommandInput} for command's `input` shape.
22
22
  * @see {@link StartPolicyGenerationCommandOutput} for command's `response` shape.
23
- * @see {@link AccessAnalyzerClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link AccessAnalyzerClientResolvedConfig | config} for AccessAnalyzerClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class StartPolicyGenerationCommand extends $Command<StartPolicyGenerationCommandInput, StartPolicyGenerationCommandOutput, AccessAnalyzerClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface StartResourceScanCommandOutput extends __MetadataBearer {
20
20
  *
21
21
  * @see {@link StartResourceScanCommandInput} for command's `input` shape.
22
22
  * @see {@link StartResourceScanCommandOutput} for command's `response` shape.
23
- * @see {@link AccessAnalyzerClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link AccessAnalyzerClientResolvedConfig | config} for AccessAnalyzerClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class StartResourceScanCommand extends $Command<StartResourceScanCommandInput, StartResourceScanCommandOutput, AccessAnalyzerClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
20
20
  *
21
21
  * @see {@link TagResourceCommandInput} for command's `input` shape.
22
22
  * @see {@link TagResourceCommandOutput} for command's `response` shape.
23
- * @see {@link AccessAnalyzerClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link AccessAnalyzerClientResolvedConfig | config} for AccessAnalyzerClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, AccessAnalyzerClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
20
20
  *
21
21
  * @see {@link UntagResourceCommandInput} for command's `input` shape.
22
22
  * @see {@link UntagResourceCommandOutput} for command's `response` shape.
23
- * @see {@link AccessAnalyzerClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link AccessAnalyzerClientResolvedConfig | config} for AccessAnalyzerClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, AccessAnalyzerClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface UpdateArchiveRuleCommandOutput extends __MetadataBearer {
20
20
  *
21
21
  * @see {@link UpdateArchiveRuleCommandInput} for command's `input` shape.
22
22
  * @see {@link UpdateArchiveRuleCommandOutput} for command's `response` shape.
23
- * @see {@link AccessAnalyzerClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link AccessAnalyzerClientResolvedConfig | config} for AccessAnalyzerClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class UpdateArchiveRuleCommand extends $Command<UpdateArchiveRuleCommandInput, UpdateArchiveRuleCommandOutput, AccessAnalyzerClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface UpdateFindingsCommandOutput extends __MetadataBearer {
20
20
  *
21
21
  * @see {@link UpdateFindingsCommandInput} for command's `input` shape.
22
22
  * @see {@link UpdateFindingsCommandOutput} for command's `response` shape.
23
- * @see {@link AccessAnalyzerClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link AccessAnalyzerClientResolvedConfig | config} for AccessAnalyzerClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class UpdateFindingsCommand extends $Command<UpdateFindingsCommandInput, UpdateFindingsCommandOutput, AccessAnalyzerClientResolvedConfig> {
@@ -22,7 +22,7 @@ export interface ValidatePolicyCommandOutput extends ValidatePolicyResponse, __M
22
22
  *
23
23
  * @see {@link ValidatePolicyCommandInput} for command's `input` shape.
24
24
  * @see {@link ValidatePolicyCommandOutput} for command's `response` shape.
25
- * @see {@link AccessAnalyzerClientResolvedConfig | config} for command's `input` shape.
25
+ * @see {@link AccessAnalyzerClientResolvedConfig | config} for AccessAnalyzerClient's `config` shape.
26
26
  *
27
27
  */
28
28
  export declare class ValidatePolicyCommand extends $Command<ValidatePolicyCommandInput, ValidatePolicyCommandOutput, AccessAnalyzerClientResolvedConfig> {
@@ -1068,14 +1068,14 @@ export declare namespace S3BucketConfiguration {
1068
1068
  * specify the policy, the access preview assumes a secret without a policy. To propose
1069
1069
  * deletion of an existing policy, you can specify an empty string. If the proposed
1070
1070
  * configuration is for a new secret and you do not specify the KMS key ID, the access
1071
- * preview uses the default CMK of the Amazon Web Services account. If you specify an empty string for the
1072
- * KMS key ID, the access preview uses the default CMK of the Amazon Web Services account. For more
1073
- * information about secret policy limits, see <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_limits.html">Quotas for
1071
+ * preview uses the Amazon Web Services managed key <code>aws/secretsmanager</code>. If you specify an empty
1072
+ * string for the KMS key ID, the access preview uses the Amazon Web Services managed key of the Amazon Web Services
1073
+ * account. For more information about secret policy limits, see <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_limits.html">Quotas for
1074
1074
  * Secrets Manager.</a>.</p>
1075
1075
  */
1076
1076
  export interface SecretsManagerSecretConfiguration {
1077
1077
  /**
1078
- * <p>The proposed ARN, key ID, or alias of the KMS customer master key (CMK).</p>
1078
+ * <p>The proposed ARN, key ID, or alias of the KMS key.</p>
1079
1079
  */
1080
1080
  kmsKeyId?: string;
1081
1081
  /**
@@ -2639,6 +2639,12 @@ export declare enum PolicyType {
2639
2639
  RESOURCE_POLICY = "RESOURCE_POLICY",
2640
2640
  SERVICE_CONTROL_POLICY = "SERVICE_CONTROL_POLICY"
2641
2641
  }
2642
+ export declare enum ValidatePolicyResourceType {
2643
+ S3_ACCESS_POINT = "AWS::S3::AccessPoint",
2644
+ S3_BUCKET = "AWS::S3::Bucket",
2645
+ S3_MULTI_REGION_ACCESS_POINT = "AWS::S3::MultiRegionAccessPoint",
2646
+ S3_OBJECT_LAMBDA_ACCESS_POINT = "AWS::S3ObjectLambda::AccessPoint"
2647
+ }
2642
2648
  export interface ValidatePolicyRequest {
2643
2649
  /**
2644
2650
  * <p>The locale to use for localizing the findings.</p>
@@ -2667,6 +2673,17 @@ export interface ValidatePolicyRequest {
2667
2673
  * or Amazon S3 bucket policy. </p>
2668
2674
  */
2669
2675
  policyType: PolicyType | string | undefined;
2676
+ /**
2677
+ * <p>The type of resource to attach to your resource policy. Specify a value for the policy
2678
+ * validation resource type only if the policy type is <code>RESOURCE_POLICY</code>. For
2679
+ * example, to validate a resource policy to attach to an Amazon S3 bucket, you can choose
2680
+ * <code>AWS::S3::Bucket</code> for the policy validation resource type.</p>
2681
+ * <p>For resource types not supported as valid values, IAM Access Analyzer runs policy checks that
2682
+ * apply to all resource policies. For example, to validate a resource policy to attach to a
2683
+ * KMS key, do not specify a value for the policy validation resource type and IAM Access Analyzer
2684
+ * will run policy checks that apply to all resource policies.</p>
2685
+ */
2686
+ validatePolicyResourceType?: ValidatePolicyResourceType | string;
2670
2687
  }
2671
2688
  export declare namespace ValidatePolicyRequest {
2672
2689
  /**
@@ -1457,6 +1457,12 @@ export declare enum PolicyType {
1457
1457
  RESOURCE_POLICY = "RESOURCE_POLICY",
1458
1458
  SERVICE_CONTROL_POLICY = "SERVICE_CONTROL_POLICY"
1459
1459
  }
1460
+ export declare enum ValidatePolicyResourceType {
1461
+ S3_ACCESS_POINT = "AWS::S3::AccessPoint",
1462
+ S3_BUCKET = "AWS::S3::Bucket",
1463
+ S3_MULTI_REGION_ACCESS_POINT = "AWS::S3::MultiRegionAccessPoint",
1464
+ S3_OBJECT_LAMBDA_ACCESS_POINT = "AWS::S3ObjectLambda::AccessPoint"
1465
+ }
1460
1466
  export interface ValidatePolicyRequest {
1461
1467
 
1462
1468
  locale?: Locale | string;
@@ -1468,6 +1474,8 @@ export interface ValidatePolicyRequest {
1468
1474
  policyDocument: string | undefined;
1469
1475
 
1470
1476
  policyType: PolicyType | string | undefined;
1477
+
1478
+ validatePolicyResourceType?: ValidatePolicyResourceType | string;
1471
1479
  }
1472
1480
  export declare namespace ValidatePolicyRequest {
1473
1481
 
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.40.0",
4
+ "version": "3.44.0",
5
5
  "scripts": {
6
6
  "build": "yarn build:cjs && yarn build:es && yarn build:types",
7
7
  "build:cjs": "tsc -p tsconfig.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "2.0.0",
23
23
  "@aws-crypto/sha256-js": "2.0.0",
24
- "@aws-sdk/client-sts": "3.40.0",
24
+ "@aws-sdk/client-sts": "3.43.0",
25
25
  "@aws-sdk/config-resolver": "3.40.0",
26
- "@aws-sdk/credential-provider-node": "3.40.0",
26
+ "@aws-sdk/credential-provider-node": "3.41.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.40.0",
28
28
  "@aws-sdk/hash-node": "3.40.0",
29
29
  "@aws-sdk/invalid-dependency": "3.40.0",
@@ -38,7 +38,7 @@
38
38
  "@aws-sdk/node-config-provider": "3.40.0",
39
39
  "@aws-sdk/node-http-handler": "3.40.0",
40
40
  "@aws-sdk/protocol-http": "3.40.0",
41
- "@aws-sdk/smithy-client": "3.40.0",
41
+ "@aws-sdk/smithy-client": "3.41.0",
42
42
  "@aws-sdk/types": "3.40.0",
43
43
  "@aws-sdk/url-parser": "3.40.0",
44
44
  "@aws-sdk/util-base64-browser": "3.37.0",