@aws-sdk/client-auditmanager 3.352.0 → 3.353.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 +8 -0
- package/dist-cjs/AuditManager.js +2 -0
- package/dist-cjs/commands/GetEvidenceFileUploadUrlCommand.js +46 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/models_0.js +20 -14
- package/dist-cjs/protocols/Aws_restJson1.js +71 -3
- package/dist-es/AuditManager.js +2 -0
- package/dist-es/commands/GetEvidenceFileUploadUrlCommand.js +42 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +18 -12
- package/dist-es/protocols/Aws_restJson1.js +66 -0
- package/dist-types/AuditManager.d.ts +7 -0
- package/dist-types/AuditManagerClient.d.ts +3 -2
- package/dist-types/commands/BatchImportEvidenceToAssessmentControlCommand.d.ts +18 -7
- package/dist-types/commands/CreateAssessmentFrameworkCommand.d.ts +1 -1
- package/dist-types/commands/CreateControlCommand.d.ts +2 -2
- package/dist-types/commands/DeleteControlCommand.d.ts +6 -0
- package/dist-types/commands/GetAccountStatusCommand.d.ts +1 -1
- package/dist-types/commands/GetAssessmentCommand.d.ts +1 -1
- package/dist-types/commands/GetAssessmentFrameworkCommand.d.ts +2 -2
- package/dist-types/commands/GetAssessmentReportUrlCommand.d.ts +1 -1
- package/dist-types/commands/GetChangeLogsCommand.d.ts +1 -1
- package/dist-types/commands/GetControlCommand.d.ts +2 -2
- package/dist-types/commands/GetDelegationsCommand.d.ts +1 -1
- package/dist-types/commands/GetEvidenceByEvidenceFolderCommand.d.ts +1 -1
- package/dist-types/commands/GetEvidenceCommand.d.ts +1 -1
- package/dist-types/commands/GetEvidenceFileUploadUrlCommand.d.ts +105 -0
- package/dist-types/commands/GetEvidenceFolderCommand.d.ts +1 -2
- package/dist-types/commands/GetEvidenceFoldersByAssessmentCommand.d.ts +1 -2
- package/dist-types/commands/GetEvidenceFoldersByAssessmentControlCommand.d.ts +1 -1
- package/dist-types/commands/GetOrganizationAdminAccountCommand.d.ts +1 -1
- package/dist-types/commands/GetServicesInScopeCommand.d.ts +2 -2
- package/dist-types/commands/GetSettingsCommand.d.ts +6 -2
- package/dist-types/commands/UpdateAssessmentFrameworkCommand.d.ts +1 -1
- package/dist-types/commands/UpdateControlCommand.d.ts +2 -2
- package/dist-types/commands/UpdateSettingsCommand.d.ts +8 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +206 -45
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/ts3.4/AuditManager.d.ts +17 -0
- package/dist-types/ts3.4/AuditManagerClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/GetEvidenceFileUploadUrlCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +30 -7
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +11 -11
|
@@ -362,6 +362,8 @@ export interface BatchDisassociateAssessmentReportEvidenceResponse {
|
|
|
362
362
|
}
|
|
363
363
|
export interface ManualEvidence {
|
|
364
364
|
s3ResourcePath?: string;
|
|
365
|
+
textResponse?: string;
|
|
366
|
+
evidenceFileName?: string;
|
|
365
367
|
}
|
|
366
368
|
export interface BatchImportEvidenceToAssessmentControlRequest {
|
|
367
369
|
assessmentId: string | undefined;
|
|
@@ -377,6 +379,13 @@ export interface BatchImportEvidenceToAssessmentControlError {
|
|
|
377
379
|
export interface BatchImportEvidenceToAssessmentControlResponse {
|
|
378
380
|
errors?: BatchImportEvidenceToAssessmentControlError[];
|
|
379
381
|
}
|
|
382
|
+
export declare class ThrottlingException extends __BaseException {
|
|
383
|
+
readonly name: "ThrottlingException";
|
|
384
|
+
readonly $fault: "client";
|
|
385
|
+
constructor(
|
|
386
|
+
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
387
|
+
);
|
|
388
|
+
}
|
|
380
389
|
export interface CreateAssessmentRequest {
|
|
381
390
|
name: string | undefined;
|
|
382
391
|
description?: string;
|
|
@@ -418,7 +427,9 @@ export declare const SourceFrequency: {
|
|
|
418
427
|
export type SourceFrequency =
|
|
419
428
|
(typeof SourceFrequency)[keyof typeof SourceFrequency];
|
|
420
429
|
export declare const KeywordInputType: {
|
|
430
|
+
readonly INPUT_TEXT: "INPUT_TEXT";
|
|
421
431
|
readonly SELECT_FROM_LIST: "SELECT_FROM_LIST";
|
|
432
|
+
readonly UPLOAD_FILE: "UPLOAD_FILE";
|
|
422
433
|
};
|
|
423
434
|
export type KeywordInputType =
|
|
424
435
|
(typeof KeywordInputType)[keyof typeof KeywordInputType];
|
|
@@ -687,6 +698,13 @@ export interface GetEvidenceByEvidenceFolderResponse {
|
|
|
687
698
|
evidence?: Evidence[];
|
|
688
699
|
nextToken?: string;
|
|
689
700
|
}
|
|
701
|
+
export interface GetEvidenceFileUploadUrlRequest {
|
|
702
|
+
fileName: string | undefined;
|
|
703
|
+
}
|
|
704
|
+
export interface GetEvidenceFileUploadUrlResponse {
|
|
705
|
+
evidenceFileName?: string;
|
|
706
|
+
uploadUrl?: string;
|
|
707
|
+
}
|
|
690
708
|
export interface GetEvidenceFolderRequest {
|
|
691
709
|
assessmentId: string | undefined;
|
|
692
710
|
controlSetId: string | undefined;
|
|
@@ -760,6 +778,7 @@ export interface GetServicesInScopeResponse {
|
|
|
760
778
|
export declare const SettingAttribute: {
|
|
761
779
|
readonly ALL: "ALL";
|
|
762
780
|
readonly DEFAULT_ASSESSMENT_REPORTS_DESTINATION: "DEFAULT_ASSESSMENT_REPORTS_DESTINATION";
|
|
781
|
+
readonly DEFAULT_EXPORT_DESTINATION: "DEFAULT_EXPORT_DESTINATION";
|
|
763
782
|
readonly DEFAULT_PROCESS_OWNERS: "DEFAULT_PROCESS_OWNERS";
|
|
764
783
|
readonly DEREGISTRATION_POLICY: "DEREGISTRATION_POLICY";
|
|
765
784
|
readonly EVIDENCE_FINDER_ENABLEMENT: "EVIDENCE_FINDER_ENABLEMENT";
|
|
@@ -771,6 +790,15 @@ export type SettingAttribute =
|
|
|
771
790
|
export interface GetSettingsRequest {
|
|
772
791
|
attribute: SettingAttribute | string | undefined;
|
|
773
792
|
}
|
|
793
|
+
export declare const ExportDestinationType: {
|
|
794
|
+
readonly S3: "S3";
|
|
795
|
+
};
|
|
796
|
+
export type ExportDestinationType =
|
|
797
|
+
(typeof ExportDestinationType)[keyof typeof ExportDestinationType];
|
|
798
|
+
export interface DefaultExportDestination {
|
|
799
|
+
destinationType?: ExportDestinationType | string;
|
|
800
|
+
destination?: string;
|
|
801
|
+
}
|
|
774
802
|
export declare const DeleteResources: {
|
|
775
803
|
readonly ALL: "ALL";
|
|
776
804
|
readonly DEFAULT: "DEFAULT";
|
|
@@ -809,6 +837,7 @@ export interface Settings {
|
|
|
809
837
|
kmsKey?: string;
|
|
810
838
|
evidenceFinderEnablement?: EvidenceFinderEnablement;
|
|
811
839
|
deregistrationPolicy?: DeregistrationPolicy;
|
|
840
|
+
defaultExportDestination?: DefaultExportDestination;
|
|
812
841
|
}
|
|
813
842
|
export interface GetSettingsResponse {
|
|
814
843
|
settings?: Settings;
|
|
@@ -967,13 +996,6 @@ export interface RegisterAccountRequest {
|
|
|
967
996
|
export interface RegisterAccountResponse {
|
|
968
997
|
status?: AccountStatus | string;
|
|
969
998
|
}
|
|
970
|
-
export declare class ThrottlingException extends __BaseException {
|
|
971
|
-
readonly name: "ThrottlingException";
|
|
972
|
-
readonly $fault: "client";
|
|
973
|
-
constructor(
|
|
974
|
-
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
975
|
-
);
|
|
976
|
-
}
|
|
977
999
|
export interface RegisterOrganizationAdminAccountRequest {
|
|
978
1000
|
adminAccountId: string | undefined;
|
|
979
1001
|
}
|
|
@@ -1086,6 +1108,7 @@ export interface UpdateSettingsRequest {
|
|
|
1086
1108
|
kmsKey?: string;
|
|
1087
1109
|
evidenceFinderEnabled?: boolean;
|
|
1088
1110
|
deregistrationPolicy?: DeregistrationPolicy;
|
|
1111
|
+
defaultExportDestination?: DefaultExportDestination;
|
|
1089
1112
|
}
|
|
1090
1113
|
export interface UpdateSettingsResponse {
|
|
1091
1114
|
settings?: Settings;
|
|
@@ -111,6 +111,10 @@ import {
|
|
|
111
111
|
GetEvidenceCommandInput,
|
|
112
112
|
GetEvidenceCommandOutput,
|
|
113
113
|
} from "../commands/GetEvidenceCommand";
|
|
114
|
+
import {
|
|
115
|
+
GetEvidenceFileUploadUrlCommandInput,
|
|
116
|
+
GetEvidenceFileUploadUrlCommandOutput,
|
|
117
|
+
} from "../commands/GetEvidenceFileUploadUrlCommand";
|
|
114
118
|
import {
|
|
115
119
|
GetEvidenceFolderCommandInput,
|
|
116
120
|
GetEvidenceFolderCommandOutput,
|
|
@@ -355,6 +359,10 @@ export declare const se_GetEvidenceByEvidenceFolderCommand: (
|
|
|
355
359
|
input: GetEvidenceByEvidenceFolderCommandInput,
|
|
356
360
|
context: __SerdeContext
|
|
357
361
|
) => Promise<__HttpRequest>;
|
|
362
|
+
export declare const se_GetEvidenceFileUploadUrlCommand: (
|
|
363
|
+
input: GetEvidenceFileUploadUrlCommandInput,
|
|
364
|
+
context: __SerdeContext
|
|
365
|
+
) => Promise<__HttpRequest>;
|
|
358
366
|
export declare const se_GetEvidenceFolderCommand: (
|
|
359
367
|
input: GetEvidenceFolderCommandInput,
|
|
360
368
|
context: __SerdeContext
|
|
@@ -599,6 +607,10 @@ export declare const de_GetEvidenceByEvidenceFolderCommand: (
|
|
|
599
607
|
output: __HttpResponse,
|
|
600
608
|
context: __SerdeContext
|
|
601
609
|
) => Promise<GetEvidenceByEvidenceFolderCommandOutput>;
|
|
610
|
+
export declare const de_GetEvidenceFileUploadUrlCommand: (
|
|
611
|
+
output: __HttpResponse,
|
|
612
|
+
context: __SerdeContext
|
|
613
|
+
) => Promise<GetEvidenceFileUploadUrlCommandOutput>;
|
|
602
614
|
export declare const de_GetEvidenceFolderCommand: (
|
|
603
615
|
output: __HttpResponse,
|
|
604
616
|
context: __SerdeContext
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-auditmanager",
|
|
3
3
|
"description": "AWS SDK for JavaScript Auditmanager Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.353.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,10 +21,10 @@
|
|
|
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.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.353.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.353.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.353.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.353.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.347.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.347.0",
|
|
30
30
|
"@aws-sdk/middleware-content-length": "3.347.0",
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.347.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.347.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.347.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.353.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.347.0",
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.353.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.347.0",
|
|
39
39
|
"@aws-sdk/middleware-user-agent": "3.352.0",
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.353.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.350.0",
|
|
42
42
|
"@aws-sdk/smithy-client": "3.347.0",
|
|
43
43
|
"@aws-sdk/types": "3.347.0",
|
|
@@ -45,12 +45,12 @@
|
|
|
45
45
|
"@aws-sdk/util-base64": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.353.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.353.0",
|
|
50
50
|
"@aws-sdk/util-endpoints": "3.352.0",
|
|
51
51
|
"@aws-sdk/util-retry": "3.347.0",
|
|
52
52
|
"@aws-sdk/util-user-agent-browser": "3.347.0",
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.353.0",
|
|
54
54
|
"@aws-sdk/util-utf8": "3.310.0",
|
|
55
55
|
"@smithy/protocol-http": "^1.0.1",
|
|
56
56
|
"@smithy/types": "^1.0.0",
|