@aws-sdk/client-accessanalyzer 3.451.0 → 3.458.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/README.md +84 -37
- package/dist-cjs/AccessAnalyzer.js +8 -0
- package/dist-cjs/commands/CheckAccessNotGrantedCommand.js +52 -0
- package/dist-cjs/commands/CheckNoNewAccessCommand.js +52 -0
- package/dist-cjs/commands/GetFindingV2Command.js +51 -0
- package/dist-cjs/commands/ListFindingsV2Command.js +51 -0
- package/dist-cjs/commands/index.js +4 -0
- package/dist-cjs/models/models_0.js +83 -1
- package/dist-cjs/pagination/GetFindingV2Paginator.js +29 -0
- package/dist-cjs/pagination/ListFindingsV2Paginator.js +29 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_restJson1.js +426 -2
- package/dist-es/AccessAnalyzer.js +8 -0
- package/dist-es/commands/CheckAccessNotGrantedCommand.js +48 -0
- package/dist-es/commands/CheckNoNewAccessCommand.js +48 -0
- package/dist-es/commands/GetFindingV2Command.js +47 -0
- package/dist-es/commands/ListFindingsV2Command.js +47 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/models_0.js +78 -0
- package/dist-es/pagination/GetFindingV2Paginator.js +25 -0
- package/dist-es/pagination/ListFindingsV2Paginator.js +25 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +417 -1
- package/dist-types/AccessAnalyzer.d.ts +52 -9
- package/dist-types/AccessAnalyzerClient.d.ts +30 -11
- package/dist-types/commands/CheckAccessNotGrantedCommand.d.ts +107 -0
- package/dist-types/commands/CheckNoNewAccessCommand.d.ts +106 -0
- package/dist-types/commands/CreateAnalyzerCommand.d.ts +5 -0
- package/dist-types/commands/GetAnalyzerCommand.d.ts +5 -0
- package/dist-types/commands/GetFindingV2Command.d.ts +146 -0
- package/dist-types/commands/ListAnalyzersCommand.d.ts +5 -0
- package/dist-types/commands/ListFindingsV2Command.d.ts +123 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/index.d.ts +24 -9
- package/dist-types/models/models_0.d.ts +705 -11
- package/dist-types/pagination/GetFindingV2Paginator.d.ts +7 -0
- package/dist-types/pagination/ListFindingsV2Paginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +36 -0
- package/dist-types/ts3.4/AccessAnalyzer.d.ts +68 -0
- package/dist-types/ts3.4/AccessAnalyzerClient.d.ts +24 -0
- package/dist-types/ts3.4/commands/CheckAccessNotGrantedCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CheckNoNewAccessCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetFindingV2Command.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListFindingsV2Command.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +238 -1
- package/dist-types/ts3.4/pagination/GetFindingV2Paginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListFindingsV2Paginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +48 -0
- package/package.json +3 -3
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { AccessAnalyzerServiceException as __BaseException } from "./AccessAnalyzerServiceException";
|
|
3
|
+
export interface Access {
|
|
4
|
+
actions: string[] | undefined;
|
|
5
|
+
}
|
|
3
6
|
export declare class AccessDeniedException extends __BaseException {
|
|
4
7
|
readonly name: "AccessDeniedException";
|
|
5
8
|
readonly $fault: "client";
|
|
@@ -122,13 +125,39 @@ export interface InlineArchiveRule {
|
|
|
122
125
|
ruleName: string | undefined;
|
|
123
126
|
filter: Record<string, Criterion> | undefined;
|
|
124
127
|
}
|
|
125
|
-
export
|
|
128
|
+
export interface UnusedAccessConfiguration {
|
|
129
|
+
unusedAccessAge?: number;
|
|
130
|
+
}
|
|
131
|
+
export type AnalyzerConfiguration =
|
|
132
|
+
| AnalyzerConfiguration.UnusedAccessMember
|
|
133
|
+
| AnalyzerConfiguration.$UnknownMember;
|
|
134
|
+
export declare namespace AnalyzerConfiguration {
|
|
135
|
+
interface UnusedAccessMember {
|
|
136
|
+
unusedAccess: UnusedAccessConfiguration;
|
|
137
|
+
$unknown?: never;
|
|
138
|
+
}
|
|
139
|
+
interface $UnknownMember {
|
|
140
|
+
unusedAccess?: never;
|
|
141
|
+
$unknown: [string, any];
|
|
142
|
+
}
|
|
143
|
+
interface Visitor<T> {
|
|
144
|
+
unusedAccess: (value: UnusedAccessConfiguration) => T;
|
|
145
|
+
_: (name: string, value: any) => T;
|
|
146
|
+
}
|
|
147
|
+
const visit: <T>(value: AnalyzerConfiguration, visitor: Visitor<T>) => T;
|
|
148
|
+
}
|
|
149
|
+
export type Type =
|
|
150
|
+
| "ACCOUNT"
|
|
151
|
+
| "ACCOUNT_UNUSED_ACCESS"
|
|
152
|
+
| "ORGANIZATION"
|
|
153
|
+
| "ORGANIZATION_UNUSED_ACCESS";
|
|
126
154
|
export interface CreateAnalyzerRequest {
|
|
127
155
|
analyzerName: string | undefined;
|
|
128
156
|
type: Type | undefined;
|
|
129
157
|
archiveRules?: InlineArchiveRule[];
|
|
130
158
|
tags?: Record<string, string>;
|
|
131
159
|
clientToken?: string;
|
|
160
|
+
configuration?: AnalyzerConfiguration;
|
|
132
161
|
}
|
|
133
162
|
export interface CreateAnalyzerResponse {
|
|
134
163
|
arn?: string;
|
|
@@ -159,6 +188,7 @@ export interface AnalyzerSummary {
|
|
|
159
188
|
tags?: Record<string, string>;
|
|
160
189
|
status: AnalyzerStatus | undefined;
|
|
161
190
|
statusReason?: StatusReason;
|
|
191
|
+
configuration?: AnalyzerConfiguration;
|
|
162
192
|
}
|
|
163
193
|
export interface GetAnalyzerResponse {
|
|
164
194
|
analyzer: AnalyzerSummary | undefined;
|
|
@@ -181,6 +211,64 @@ export interface CancelPolicyGenerationRequest {
|
|
|
181
211
|
jobId: string | undefined;
|
|
182
212
|
}
|
|
183
213
|
export interface CancelPolicyGenerationResponse {}
|
|
214
|
+
export declare const AccessCheckPolicyType: {
|
|
215
|
+
readonly IDENTITY_POLICY: "IDENTITY_POLICY";
|
|
216
|
+
readonly RESOURCE_POLICY: "RESOURCE_POLICY";
|
|
217
|
+
};
|
|
218
|
+
export type AccessCheckPolicyType =
|
|
219
|
+
(typeof AccessCheckPolicyType)[keyof typeof AccessCheckPolicyType];
|
|
220
|
+
export interface CheckAccessNotGrantedRequest {
|
|
221
|
+
policyDocument: string | undefined;
|
|
222
|
+
access: Access[] | undefined;
|
|
223
|
+
policyType: AccessCheckPolicyType | undefined;
|
|
224
|
+
}
|
|
225
|
+
export interface ReasonSummary {
|
|
226
|
+
description?: string;
|
|
227
|
+
statementIndex?: number;
|
|
228
|
+
statementId?: string;
|
|
229
|
+
}
|
|
230
|
+
export declare const CheckAccessNotGrantedResult: {
|
|
231
|
+
readonly FAIL: "FAIL";
|
|
232
|
+
readonly PASS: "PASS";
|
|
233
|
+
};
|
|
234
|
+
export type CheckAccessNotGrantedResult =
|
|
235
|
+
(typeof CheckAccessNotGrantedResult)[keyof typeof CheckAccessNotGrantedResult];
|
|
236
|
+
export interface CheckAccessNotGrantedResponse {
|
|
237
|
+
result?: CheckAccessNotGrantedResult;
|
|
238
|
+
message?: string;
|
|
239
|
+
reasons?: ReasonSummary[];
|
|
240
|
+
}
|
|
241
|
+
export declare class InvalidParameterException extends __BaseException {
|
|
242
|
+
readonly name: "InvalidParameterException";
|
|
243
|
+
readonly $fault: "client";
|
|
244
|
+
constructor(
|
|
245
|
+
opts: __ExceptionOptionType<InvalidParameterException, __BaseException>
|
|
246
|
+
);
|
|
247
|
+
}
|
|
248
|
+
export declare class UnprocessableEntityException extends __BaseException {
|
|
249
|
+
readonly name: "UnprocessableEntityException";
|
|
250
|
+
readonly $fault: "client";
|
|
251
|
+
$retryable: {};
|
|
252
|
+
constructor(
|
|
253
|
+
opts: __ExceptionOptionType<UnprocessableEntityException, __BaseException>
|
|
254
|
+
);
|
|
255
|
+
}
|
|
256
|
+
export interface CheckNoNewAccessRequest {
|
|
257
|
+
newPolicyDocument: string | undefined;
|
|
258
|
+
existingPolicyDocument: string | undefined;
|
|
259
|
+
policyType: AccessCheckPolicyType | undefined;
|
|
260
|
+
}
|
|
261
|
+
export declare const CheckNoNewAccessResult: {
|
|
262
|
+
readonly FAIL: "FAIL";
|
|
263
|
+
readonly PASS: "PASS";
|
|
264
|
+
};
|
|
265
|
+
export type CheckNoNewAccessResult =
|
|
266
|
+
(typeof CheckNoNewAccessResult)[keyof typeof CheckNoNewAccessResult];
|
|
267
|
+
export interface CheckNoNewAccessResponse {
|
|
268
|
+
result?: CheckNoNewAccessResult;
|
|
269
|
+
message?: string;
|
|
270
|
+
reasons?: ReasonSummary[];
|
|
271
|
+
}
|
|
184
272
|
export interface EbsSnapshotConfiguration {
|
|
185
273
|
userIds?: string[];
|
|
186
274
|
groups?: string[];
|
|
@@ -681,6 +769,126 @@ export interface Finding {
|
|
|
681
769
|
export interface GetFindingResponse {
|
|
682
770
|
finding?: Finding;
|
|
683
771
|
}
|
|
772
|
+
export interface GetFindingV2Request {
|
|
773
|
+
analyzerArn: string | undefined;
|
|
774
|
+
id: string | undefined;
|
|
775
|
+
maxResults?: number;
|
|
776
|
+
nextToken?: string;
|
|
777
|
+
}
|
|
778
|
+
export interface ExternalAccessDetails {
|
|
779
|
+
action?: string[];
|
|
780
|
+
condition: Record<string, string> | undefined;
|
|
781
|
+
isPublic?: boolean;
|
|
782
|
+
principal?: Record<string, string>;
|
|
783
|
+
sources?: FindingSource[];
|
|
784
|
+
}
|
|
785
|
+
export interface UnusedIamRoleDetails {
|
|
786
|
+
lastAccessed?: Date;
|
|
787
|
+
}
|
|
788
|
+
export interface UnusedIamUserAccessKeyDetails {
|
|
789
|
+
accessKeyId: string | undefined;
|
|
790
|
+
lastAccessed?: Date;
|
|
791
|
+
}
|
|
792
|
+
export interface UnusedIamUserPasswordDetails {
|
|
793
|
+
lastAccessed?: Date;
|
|
794
|
+
}
|
|
795
|
+
export interface UnusedAction {
|
|
796
|
+
action: string | undefined;
|
|
797
|
+
lastAccessed?: Date;
|
|
798
|
+
}
|
|
799
|
+
export interface UnusedPermissionDetails {
|
|
800
|
+
actions?: UnusedAction[];
|
|
801
|
+
serviceNamespace: string | undefined;
|
|
802
|
+
lastAccessed?: Date;
|
|
803
|
+
}
|
|
804
|
+
export type FindingDetails =
|
|
805
|
+
| FindingDetails.ExternalAccessDetailsMember
|
|
806
|
+
| FindingDetails.UnusedIamRoleDetailsMember
|
|
807
|
+
| FindingDetails.UnusedIamUserAccessKeyDetailsMember
|
|
808
|
+
| FindingDetails.UnusedIamUserPasswordDetailsMember
|
|
809
|
+
| FindingDetails.UnusedPermissionDetailsMember
|
|
810
|
+
| FindingDetails.$UnknownMember;
|
|
811
|
+
export declare namespace FindingDetails {
|
|
812
|
+
interface ExternalAccessDetailsMember {
|
|
813
|
+
externalAccessDetails: ExternalAccessDetails;
|
|
814
|
+
unusedPermissionDetails?: never;
|
|
815
|
+
unusedIamUserAccessKeyDetails?: never;
|
|
816
|
+
unusedIamRoleDetails?: never;
|
|
817
|
+
unusedIamUserPasswordDetails?: never;
|
|
818
|
+
$unknown?: never;
|
|
819
|
+
}
|
|
820
|
+
interface UnusedPermissionDetailsMember {
|
|
821
|
+
externalAccessDetails?: never;
|
|
822
|
+
unusedPermissionDetails: UnusedPermissionDetails;
|
|
823
|
+
unusedIamUserAccessKeyDetails?: never;
|
|
824
|
+
unusedIamRoleDetails?: never;
|
|
825
|
+
unusedIamUserPasswordDetails?: never;
|
|
826
|
+
$unknown?: never;
|
|
827
|
+
}
|
|
828
|
+
interface UnusedIamUserAccessKeyDetailsMember {
|
|
829
|
+
externalAccessDetails?: never;
|
|
830
|
+
unusedPermissionDetails?: never;
|
|
831
|
+
unusedIamUserAccessKeyDetails: UnusedIamUserAccessKeyDetails;
|
|
832
|
+
unusedIamRoleDetails?: never;
|
|
833
|
+
unusedIamUserPasswordDetails?: never;
|
|
834
|
+
$unknown?: never;
|
|
835
|
+
}
|
|
836
|
+
interface UnusedIamRoleDetailsMember {
|
|
837
|
+
externalAccessDetails?: never;
|
|
838
|
+
unusedPermissionDetails?: never;
|
|
839
|
+
unusedIamUserAccessKeyDetails?: never;
|
|
840
|
+
unusedIamRoleDetails: UnusedIamRoleDetails;
|
|
841
|
+
unusedIamUserPasswordDetails?: never;
|
|
842
|
+
$unknown?: never;
|
|
843
|
+
}
|
|
844
|
+
interface UnusedIamUserPasswordDetailsMember {
|
|
845
|
+
externalAccessDetails?: never;
|
|
846
|
+
unusedPermissionDetails?: never;
|
|
847
|
+
unusedIamUserAccessKeyDetails?: never;
|
|
848
|
+
unusedIamRoleDetails?: never;
|
|
849
|
+
unusedIamUserPasswordDetails: UnusedIamUserPasswordDetails;
|
|
850
|
+
$unknown?: never;
|
|
851
|
+
}
|
|
852
|
+
interface $UnknownMember {
|
|
853
|
+
externalAccessDetails?: never;
|
|
854
|
+
unusedPermissionDetails?: never;
|
|
855
|
+
unusedIamUserAccessKeyDetails?: never;
|
|
856
|
+
unusedIamRoleDetails?: never;
|
|
857
|
+
unusedIamUserPasswordDetails?: never;
|
|
858
|
+
$unknown: [string, any];
|
|
859
|
+
}
|
|
860
|
+
interface Visitor<T> {
|
|
861
|
+
externalAccessDetails: (value: ExternalAccessDetails) => T;
|
|
862
|
+
unusedPermissionDetails: (value: UnusedPermissionDetails) => T;
|
|
863
|
+
unusedIamUserAccessKeyDetails: (value: UnusedIamUserAccessKeyDetails) => T;
|
|
864
|
+
unusedIamRoleDetails: (value: UnusedIamRoleDetails) => T;
|
|
865
|
+
unusedIamUserPasswordDetails: (value: UnusedIamUserPasswordDetails) => T;
|
|
866
|
+
_: (name: string, value: any) => T;
|
|
867
|
+
}
|
|
868
|
+
const visit: <T>(value: FindingDetails, visitor: Visitor<T>) => T;
|
|
869
|
+
}
|
|
870
|
+
export declare const FindingType: {
|
|
871
|
+
readonly EXTERNAL_ACCESS: "ExternalAccess";
|
|
872
|
+
readonly UNUSED_IAM_ROLE: "UnusedIAMRole";
|
|
873
|
+
readonly UNUSED_IAM_USER_ACCESS_KEY: "UnusedIAMUserAccessKey";
|
|
874
|
+
readonly UNUSED_IAM_USER_PASSWORD: "UnusedIAMUserPassword";
|
|
875
|
+
readonly UNUSED_PERMISSION: "UnusedPermission";
|
|
876
|
+
};
|
|
877
|
+
export type FindingType = (typeof FindingType)[keyof typeof FindingType];
|
|
878
|
+
export interface GetFindingV2Response {
|
|
879
|
+
analyzedAt: Date | undefined;
|
|
880
|
+
createdAt: Date | undefined;
|
|
881
|
+
error?: string;
|
|
882
|
+
id: string | undefined;
|
|
883
|
+
nextToken?: string;
|
|
884
|
+
resource?: string;
|
|
885
|
+
resourceType: ResourceType | undefined;
|
|
886
|
+
resourceOwnerAccount: string | undefined;
|
|
887
|
+
status: FindingStatus | undefined;
|
|
888
|
+
updatedAt: Date | undefined;
|
|
889
|
+
findingDetails: FindingDetails[] | undefined;
|
|
890
|
+
findingType?: FindingType;
|
|
891
|
+
}
|
|
684
892
|
export interface GetGeneratedPolicyRequest {
|
|
685
893
|
jobId: string | undefined;
|
|
686
894
|
includeResourcePlaceholders?: boolean;
|
|
@@ -835,6 +1043,29 @@ export interface ListFindingsResponse {
|
|
|
835
1043
|
findings: FindingSummary[] | undefined;
|
|
836
1044
|
nextToken?: string;
|
|
837
1045
|
}
|
|
1046
|
+
export interface ListFindingsV2Request {
|
|
1047
|
+
analyzerArn: string | undefined;
|
|
1048
|
+
filter?: Record<string, Criterion>;
|
|
1049
|
+
maxResults?: number;
|
|
1050
|
+
nextToken?: string;
|
|
1051
|
+
sort?: SortCriteria;
|
|
1052
|
+
}
|
|
1053
|
+
export interface FindingSummaryV2 {
|
|
1054
|
+
analyzedAt: Date | undefined;
|
|
1055
|
+
createdAt: Date | undefined;
|
|
1056
|
+
error?: string;
|
|
1057
|
+
id: string | undefined;
|
|
1058
|
+
resource?: string;
|
|
1059
|
+
resourceType: ResourceType | undefined;
|
|
1060
|
+
resourceOwnerAccount: string | undefined;
|
|
1061
|
+
status: FindingStatus | undefined;
|
|
1062
|
+
updatedAt: Date | undefined;
|
|
1063
|
+
findingType?: FindingType;
|
|
1064
|
+
}
|
|
1065
|
+
export interface ListFindingsV2Response {
|
|
1066
|
+
findings: FindingSummaryV2[] | undefined;
|
|
1067
|
+
nextToken?: string;
|
|
1068
|
+
}
|
|
838
1069
|
export interface ListPolicyGenerationsRequest {
|
|
839
1070
|
principalArn?: string;
|
|
840
1071
|
maxResults?: number;
|
|
@@ -1025,3 +1256,9 @@ export interface ValidatePolicyResponse {
|
|
|
1025
1256
|
findings: ValidatePolicyFinding[] | undefined;
|
|
1026
1257
|
nextToken?: string;
|
|
1027
1258
|
}
|
|
1259
|
+
export declare const CheckAccessNotGrantedRequestFilterSensitiveLog: (
|
|
1260
|
+
obj: CheckAccessNotGrantedRequest
|
|
1261
|
+
) => any;
|
|
1262
|
+
export declare const CheckNoNewAccessRequestFilterSensitiveLog: (
|
|
1263
|
+
obj: CheckNoNewAccessRequest
|
|
1264
|
+
) => any;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
GetFindingV2CommandInput,
|
|
4
|
+
GetFindingV2CommandOutput,
|
|
5
|
+
} from "../commands/GetFindingV2Command";
|
|
6
|
+
import { AccessAnalyzerPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateGetFindingV2(
|
|
8
|
+
config: AccessAnalyzerPaginationConfiguration,
|
|
9
|
+
input: GetFindingV2CommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<GetFindingV2CommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListFindingsV2CommandInput,
|
|
4
|
+
ListFindingsV2CommandOutput,
|
|
5
|
+
} from "../commands/ListFindingsV2Command";
|
|
6
|
+
import { AccessAnalyzerPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateListFindingsV2(
|
|
8
|
+
config: AccessAnalyzerPaginationConfiguration,
|
|
9
|
+
input: ListFindingsV2CommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<ListFindingsV2CommandOutput>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export * from "./GetFindingV2Paginator";
|
|
1
2
|
export * from "./Interfaces";
|
|
2
3
|
export * from "./ListAccessPreviewFindingsPaginator";
|
|
3
4
|
export * from "./ListAccessPreviewsPaginator";
|
|
@@ -5,5 +6,6 @@ export * from "./ListAnalyzedResourcesPaginator";
|
|
|
5
6
|
export * from "./ListAnalyzersPaginator";
|
|
6
7
|
export * from "./ListArchiveRulesPaginator";
|
|
7
8
|
export * from "./ListFindingsPaginator";
|
|
9
|
+
export * from "./ListFindingsV2Paginator";
|
|
8
10
|
export * from "./ListPolicyGenerationsPaginator";
|
|
9
11
|
export * from "./ValidatePolicyPaginator";
|
|
@@ -11,6 +11,14 @@ import {
|
|
|
11
11
|
CancelPolicyGenerationCommandInput,
|
|
12
12
|
CancelPolicyGenerationCommandOutput,
|
|
13
13
|
} from "../commands/CancelPolicyGenerationCommand";
|
|
14
|
+
import {
|
|
15
|
+
CheckAccessNotGrantedCommandInput,
|
|
16
|
+
CheckAccessNotGrantedCommandOutput,
|
|
17
|
+
} from "../commands/CheckAccessNotGrantedCommand";
|
|
18
|
+
import {
|
|
19
|
+
CheckNoNewAccessCommandInput,
|
|
20
|
+
CheckNoNewAccessCommandOutput,
|
|
21
|
+
} from "../commands/CheckNoNewAccessCommand";
|
|
14
22
|
import {
|
|
15
23
|
CreateAccessPreviewCommandInput,
|
|
16
24
|
CreateAccessPreviewCommandOutput,
|
|
@@ -51,6 +59,10 @@ import {
|
|
|
51
59
|
GetFindingCommandInput,
|
|
52
60
|
GetFindingCommandOutput,
|
|
53
61
|
} from "../commands/GetFindingCommand";
|
|
62
|
+
import {
|
|
63
|
+
GetFindingV2CommandInput,
|
|
64
|
+
GetFindingV2CommandOutput,
|
|
65
|
+
} from "../commands/GetFindingV2Command";
|
|
54
66
|
import {
|
|
55
67
|
GetGeneratedPolicyCommandInput,
|
|
56
68
|
GetGeneratedPolicyCommandOutput,
|
|
@@ -79,6 +91,10 @@ import {
|
|
|
79
91
|
ListFindingsCommandInput,
|
|
80
92
|
ListFindingsCommandOutput,
|
|
81
93
|
} from "../commands/ListFindingsCommand";
|
|
94
|
+
import {
|
|
95
|
+
ListFindingsV2CommandInput,
|
|
96
|
+
ListFindingsV2CommandOutput,
|
|
97
|
+
} from "../commands/ListFindingsV2Command";
|
|
82
98
|
import {
|
|
83
99
|
ListPolicyGenerationsCommandInput,
|
|
84
100
|
ListPolicyGenerationsCommandOutput,
|
|
@@ -123,6 +139,14 @@ export declare const se_CancelPolicyGenerationCommand: (
|
|
|
123
139
|
input: CancelPolicyGenerationCommandInput,
|
|
124
140
|
context: __SerdeContext
|
|
125
141
|
) => Promise<__HttpRequest>;
|
|
142
|
+
export declare const se_CheckAccessNotGrantedCommand: (
|
|
143
|
+
input: CheckAccessNotGrantedCommandInput,
|
|
144
|
+
context: __SerdeContext
|
|
145
|
+
) => Promise<__HttpRequest>;
|
|
146
|
+
export declare const se_CheckNoNewAccessCommand: (
|
|
147
|
+
input: CheckNoNewAccessCommandInput,
|
|
148
|
+
context: __SerdeContext
|
|
149
|
+
) => Promise<__HttpRequest>;
|
|
126
150
|
export declare const se_CreateAccessPreviewCommand: (
|
|
127
151
|
input: CreateAccessPreviewCommandInput,
|
|
128
152
|
context: __SerdeContext
|
|
@@ -163,6 +187,10 @@ export declare const se_GetFindingCommand: (
|
|
|
163
187
|
input: GetFindingCommandInput,
|
|
164
188
|
context: __SerdeContext
|
|
165
189
|
) => Promise<__HttpRequest>;
|
|
190
|
+
export declare const se_GetFindingV2Command: (
|
|
191
|
+
input: GetFindingV2CommandInput,
|
|
192
|
+
context: __SerdeContext
|
|
193
|
+
) => Promise<__HttpRequest>;
|
|
166
194
|
export declare const se_GetGeneratedPolicyCommand: (
|
|
167
195
|
input: GetGeneratedPolicyCommandInput,
|
|
168
196
|
context: __SerdeContext
|
|
@@ -191,6 +219,10 @@ export declare const se_ListFindingsCommand: (
|
|
|
191
219
|
input: ListFindingsCommandInput,
|
|
192
220
|
context: __SerdeContext
|
|
193
221
|
) => Promise<__HttpRequest>;
|
|
222
|
+
export declare const se_ListFindingsV2Command: (
|
|
223
|
+
input: ListFindingsV2CommandInput,
|
|
224
|
+
context: __SerdeContext
|
|
225
|
+
) => Promise<__HttpRequest>;
|
|
194
226
|
export declare const se_ListPolicyGenerationsCommand: (
|
|
195
227
|
input: ListPolicyGenerationsCommandInput,
|
|
196
228
|
context: __SerdeContext
|
|
@@ -235,6 +267,14 @@ export declare const de_CancelPolicyGenerationCommand: (
|
|
|
235
267
|
output: __HttpResponse,
|
|
236
268
|
context: __SerdeContext
|
|
237
269
|
) => Promise<CancelPolicyGenerationCommandOutput>;
|
|
270
|
+
export declare const de_CheckAccessNotGrantedCommand: (
|
|
271
|
+
output: __HttpResponse,
|
|
272
|
+
context: __SerdeContext
|
|
273
|
+
) => Promise<CheckAccessNotGrantedCommandOutput>;
|
|
274
|
+
export declare const de_CheckNoNewAccessCommand: (
|
|
275
|
+
output: __HttpResponse,
|
|
276
|
+
context: __SerdeContext
|
|
277
|
+
) => Promise<CheckNoNewAccessCommandOutput>;
|
|
238
278
|
export declare const de_CreateAccessPreviewCommand: (
|
|
239
279
|
output: __HttpResponse,
|
|
240
280
|
context: __SerdeContext
|
|
@@ -275,6 +315,10 @@ export declare const de_GetFindingCommand: (
|
|
|
275
315
|
output: __HttpResponse,
|
|
276
316
|
context: __SerdeContext
|
|
277
317
|
) => Promise<GetFindingCommandOutput>;
|
|
318
|
+
export declare const de_GetFindingV2Command: (
|
|
319
|
+
output: __HttpResponse,
|
|
320
|
+
context: __SerdeContext
|
|
321
|
+
) => Promise<GetFindingV2CommandOutput>;
|
|
278
322
|
export declare const de_GetGeneratedPolicyCommand: (
|
|
279
323
|
output: __HttpResponse,
|
|
280
324
|
context: __SerdeContext
|
|
@@ -303,6 +347,10 @@ export declare const de_ListFindingsCommand: (
|
|
|
303
347
|
output: __HttpResponse,
|
|
304
348
|
context: __SerdeContext
|
|
305
349
|
) => Promise<ListFindingsCommandOutput>;
|
|
350
|
+
export declare const de_ListFindingsV2Command: (
|
|
351
|
+
output: __HttpResponse,
|
|
352
|
+
context: __SerdeContext
|
|
353
|
+
) => Promise<ListFindingsV2CommandOutput>;
|
|
306
354
|
export declare const de_ListPolicyGenerationsCommand: (
|
|
307
355
|
output: __HttpResponse,
|
|
308
356
|
context: __SerdeContext
|
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.458.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.458.0",
|
|
25
25
|
"@aws-sdk/core": "3.451.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.458.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.451.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.451.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.451.0",
|