@aws-sdk/client-accessanalyzer 3.687.0 → 3.691.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/index.js CHANGED
@@ -85,6 +85,7 @@ __export(src_exports, {
85
85
  RecommendationType: () => RecommendationType,
86
86
  RecommendedRemediationAction: () => RecommendedRemediationAction,
87
87
  RecommendedStep: () => RecommendedStep,
88
+ ResourceControlPolicyRestriction: () => ResourceControlPolicyRestriction,
88
89
  ResourceNotFoundException: () => ResourceNotFoundException,
89
90
  ServiceQuotaExceededException: () => ServiceQuotaExceededException,
90
91
  StartPolicyGenerationCommand: () => StartPolicyGenerationCommand,
@@ -604,6 +605,11 @@ var AccessPreviewStatusReasonCode = {
604
605
  INTERNAL_ERROR: "INTERNAL_ERROR",
605
606
  INVALID_CONFIGURATION: "INVALID_CONFIGURATION"
606
607
  };
608
+ var ResourceControlPolicyRestriction = {
609
+ APPLICABLE: "APPLICABLE",
610
+ FAILED_TO_EVALUATE_RCP: "FAILED_TO_EVALUATE_RCP",
611
+ NOT_APPLICABLE: "NOT_APPLICABLE"
612
+ };
607
613
  var RecommendationType = {
608
614
  UNUSED_PERMISSION_RECOMMENDATION: "UnusedPermissionRecommendation"
609
615
  };
@@ -678,6 +684,7 @@ var Locale = {
678
684
  };
679
685
  var PolicyType = {
680
686
  IDENTITY_POLICY: "IDENTITY_POLICY",
687
+ RESOURCE_CONTROL_POLICY: "RESOURCE_CONTROL_POLICY",
681
688
  RESOURCE_POLICY: "RESOURCE_POLICY",
682
689
  SERVICE_CONTROL_POLICY: "SERVICE_CONTROL_POLICY"
683
690
  };
@@ -1929,6 +1936,7 @@ var de_AccessPreviewFinding = /* @__PURE__ */ __name((output, context) => {
1929
1936
  isPublic: import_smithy_client.expectBoolean,
1930
1937
  principal: import_smithy_client._json,
1931
1938
  resource: import_smithy_client.expectString,
1939
+ resourceControlPolicyRestriction: import_smithy_client.expectString,
1932
1940
  resourceOwnerAccount: import_smithy_client.expectString,
1933
1941
  resourceType: import_smithy_client.expectString,
1934
1942
  sources: import_smithy_client._json,
@@ -2023,6 +2031,7 @@ var de_Finding = /* @__PURE__ */ __name((output, context) => {
2023
2031
  isPublic: import_smithy_client.expectBoolean,
2024
2032
  principal: import_smithy_client._json,
2025
2033
  resource: import_smithy_client.expectString,
2034
+ resourceControlPolicyRestriction: import_smithy_client.expectString,
2026
2035
  resourceOwnerAccount: import_smithy_client.expectString,
2027
2036
  resourceType: import_smithy_client.expectString,
2028
2037
  sources: import_smithy_client._json,
@@ -2087,6 +2096,7 @@ var de_FindingSummary = /* @__PURE__ */ __name((output, context) => {
2087
2096
  isPublic: import_smithy_client.expectBoolean,
2088
2097
  principal: import_smithy_client._json,
2089
2098
  resource: import_smithy_client.expectString,
2099
+ resourceControlPolicyRestriction: import_smithy_client.expectString,
2090
2100
  resourceOwnerAccount: import_smithy_client.expectString,
2091
2101
  resourceType: import_smithy_client.expectString,
2092
2102
  sources: import_smithy_client._json,
@@ -2877,6 +2887,7 @@ var paginateValidatePolicy = (0, import_core.createPaginator)(AccessAnalyzerClie
2877
2887
  Configuration,
2878
2888
  AccessPreviewStatus,
2879
2889
  AccessPreviewStatusReasonCode,
2890
+ ResourceControlPolicyRestriction,
2880
2891
  RecommendationType,
2881
2892
  RecommendedRemediationAction,
2882
2893
  RecommendedStep,
@@ -276,6 +276,11 @@ export const AccessPreviewStatusReasonCode = {
276
276
  INTERNAL_ERROR: "INTERNAL_ERROR",
277
277
  INVALID_CONFIGURATION: "INVALID_CONFIGURATION",
278
278
  };
279
+ export const ResourceControlPolicyRestriction = {
280
+ APPLICABLE: "APPLICABLE",
281
+ FAILED_TO_EVALUATE_RCP: "FAILED_TO_EVALUATE_RCP",
282
+ NOT_APPLICABLE: "NOT_APPLICABLE",
283
+ };
279
284
  export const RecommendationType = {
280
285
  UNUSED_PERMISSION_RECOMMENDATION: "UnusedPermissionRecommendation",
281
286
  };
@@ -350,6 +355,7 @@ export const Locale = {
350
355
  };
351
356
  export const PolicyType = {
352
357
  IDENTITY_POLICY: "IDENTITY_POLICY",
358
+ RESOURCE_CONTROL_POLICY: "RESOURCE_CONTROL_POLICY",
353
359
  RESOURCE_POLICY: "RESOURCE_POLICY",
354
360
  SERVICE_CONTROL_POLICY: "SERVICE_CONTROL_POLICY",
355
361
  };
@@ -1175,6 +1175,7 @@ const de_AccessPreviewFinding = (output, context) => {
1175
1175
  isPublic: __expectBoolean,
1176
1176
  principal: _json,
1177
1177
  resource: __expectString,
1178
+ resourceControlPolicyRestriction: __expectString,
1178
1179
  resourceOwnerAccount: __expectString,
1179
1180
  resourceType: __expectString,
1180
1181
  sources: _json,
@@ -1277,6 +1278,7 @@ const de_Finding = (output, context) => {
1277
1278
  isPublic: __expectBoolean,
1278
1279
  principal: _json,
1279
1280
  resource: __expectString,
1281
+ resourceControlPolicyRestriction: __expectString,
1280
1282
  resourceOwnerAccount: __expectString,
1281
1283
  resourceType: __expectString,
1282
1284
  sources: _json,
@@ -1347,6 +1349,7 @@ const de_FindingSummary = (output, context) => {
1347
1349
  isPublic: __expectBoolean,
1348
1350
  principal: _json,
1349
1351
  resource: __expectString,
1352
+ resourceControlPolicyRestriction: __expectString,
1350
1353
  resourceOwnerAccount: __expectString,
1351
1354
  resourceType: __expectString,
1352
1355
  sources: _json,
@@ -73,6 +73,7 @@ declare const GetFindingCommand_base: {
73
73
  * // },
74
74
  * // },
75
75
  * // ],
76
+ * // resourceControlPolicyRestriction: "STRING_VALUE",
76
77
  * // },
77
78
  * // };
78
79
  *
@@ -78,6 +78,7 @@ declare const GetFindingV2Command_base: {
78
78
  * // },
79
79
  * // },
80
80
  * // ],
81
+ * // resourceControlPolicyRestriction: "STRING_VALUE",
81
82
  * // },
82
83
  * // unusedPermissionDetails: { // UnusedPermissionDetails
83
84
  * // actions: [ // UnusedActionList
@@ -89,6 +89,7 @@ declare const ListAccessPreviewFindingsCommand_base: {
89
89
  * // },
90
90
  * // },
91
91
  * // ],
92
+ * // resourceControlPolicyRestriction: "STRING_VALUE",
92
93
  * // },
93
94
  * // ],
94
95
  * // nextToken: "STRING_VALUE",
@@ -94,6 +94,7 @@ declare const ListFindingsCommand_base: {
94
94
  * // },
95
95
  * // },
96
96
  * // ],
97
+ * // resourceControlPolicyRestriction: "STRING_VALUE",
97
98
  * // },
98
99
  * // ],
99
100
  * // nextToken: "STRING_VALUE",