@aws-sdk/client-backup 3.934.0 → 3.935.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 +32 -0
- package/dist-cjs/index.js +620 -214
- package/dist-es/Backup.js +8 -0
- package/dist-es/commands/DescribeScanJobCommand.js +16 -0
- package/dist-es/commands/ListScanJobSummariesCommand.js +16 -0
- package/dist-es/commands/ListScanJobsCommand.js +16 -0
- package/dist-es/commands/StartScanJobCommand.js +16 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +215 -0
- package/dist-es/models/errors.js +205 -0
- package/dist-es/models/models_0.js +1 -377
- package/dist-es/pagination/ListScanJobSummariesPaginator.js +4 -0
- package/dist-es/pagination/ListScanJobsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/schemas/schemas_0.js +312 -19
- package/dist-types/Backup.d.ts +30 -0
- package/dist-types/BackupClient.d.ts +6 -2
- package/dist-types/commands/CreateBackupPlanCommand.d.ts +15 -0
- package/dist-types/commands/DescribeRecoveryPointCommand.d.ts +10 -0
- package/dist-types/commands/DescribeScanJobCommand.d.ts +113 -0
- package/dist-types/commands/GetBackupPlanCommand.d.ts +15 -0
- package/dist-types/commands/GetBackupPlanFromJSONCommand.d.ts +15 -0
- package/dist-types/commands/GetBackupPlanFromTemplateCommand.d.ts +15 -0
- package/dist-types/commands/ListRecoveryPointsByBackupVaultCommand.d.ts +7 -0
- package/dist-types/commands/ListRecoveryPointsByResourceCommand.d.ts +7 -0
- package/dist-types/commands/ListScanJobSummariesCommand.d.ts +102 -0
- package/dist-types/commands/ListScanJobsCommand.d.ts +123 -0
- package/dist-types/commands/StartScanJobCommand.d.ts +103 -0
- package/dist-types/commands/UpdateBackupPlanCommand.d.ts +24 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +479 -0
- package/dist-types/models/errors.d.ts +257 -0
- package/dist-types/models/models_0.d.ts +844 -669
- package/dist-types/pagination/ListScanJobSummariesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListScanJobsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/schemas/schemas_0.d.ts +26 -0
- package/dist-types/ts3.4/Backup.d.ts +70 -0
- package/dist-types/ts3.4/BackupClient.d.ts +24 -0
- package/dist-types/ts3.4/commands/DescribeScanJobCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListScanJobSummariesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListScanJobsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/StartScanJobCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +268 -0
- package/dist-types/ts3.4/models/errors.d.ts +112 -0
- package/dist-types/ts3.4/models/models_0.d.ts +176 -325
- package/dist-types/ts3.4/pagination/ListScanJobSummariesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListScanJobsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +26 -0
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
|
@@ -43,6 +43,7 @@ import { DescribeRegionSettingsCommandInput, DescribeRegionSettingsCommandOutput
|
|
|
43
43
|
import { DescribeReportJobCommandInput, DescribeReportJobCommandOutput } from "./commands/DescribeReportJobCommand";
|
|
44
44
|
import { DescribeReportPlanCommandInput, DescribeReportPlanCommandOutput } from "./commands/DescribeReportPlanCommand";
|
|
45
45
|
import { DescribeRestoreJobCommandInput, DescribeRestoreJobCommandOutput } from "./commands/DescribeRestoreJobCommand";
|
|
46
|
+
import { DescribeScanJobCommandInput, DescribeScanJobCommandOutput } from "./commands/DescribeScanJobCommand";
|
|
46
47
|
import { DisassociateBackupVaultMpaApprovalTeamCommandInput, DisassociateBackupVaultMpaApprovalTeamCommandOutput } from "./commands/DisassociateBackupVaultMpaApprovalTeamCommand";
|
|
47
48
|
import { DisassociateRecoveryPointCommandInput, DisassociateRecoveryPointCommandOutput } from "./commands/DisassociateRecoveryPointCommand";
|
|
48
49
|
import { DisassociateRecoveryPointFromParentCommandInput, DisassociateRecoveryPointFromParentCommandOutput } from "./commands/DisassociateRecoveryPointFromParentCommand";
|
|
@@ -87,6 +88,8 @@ import { ListRestoreJobsCommandInput, ListRestoreJobsCommandOutput } from "./com
|
|
|
87
88
|
import { ListRestoreJobSummariesCommandInput, ListRestoreJobSummariesCommandOutput } from "./commands/ListRestoreJobSummariesCommand";
|
|
88
89
|
import { ListRestoreTestingPlansCommandInput, ListRestoreTestingPlansCommandOutput } from "./commands/ListRestoreTestingPlansCommand";
|
|
89
90
|
import { ListRestoreTestingSelectionsCommandInput, ListRestoreTestingSelectionsCommandOutput } from "./commands/ListRestoreTestingSelectionsCommand";
|
|
91
|
+
import { ListScanJobsCommandInput, ListScanJobsCommandOutput } from "./commands/ListScanJobsCommand";
|
|
92
|
+
import { ListScanJobSummariesCommandInput, ListScanJobSummariesCommandOutput } from "./commands/ListScanJobSummariesCommand";
|
|
90
93
|
import { ListTagsCommandInput, ListTagsCommandOutput } from "./commands/ListTagsCommand";
|
|
91
94
|
import { ListTieringConfigurationsCommandInput, ListTieringConfigurationsCommandOutput } from "./commands/ListTieringConfigurationsCommand";
|
|
92
95
|
import { PutBackupVaultAccessPolicyCommandInput, PutBackupVaultAccessPolicyCommandOutput } from "./commands/PutBackupVaultAccessPolicyCommand";
|
|
@@ -98,6 +101,7 @@ import { StartBackupJobCommandInput, StartBackupJobCommandOutput } from "./comma
|
|
|
98
101
|
import { StartCopyJobCommandInput, StartCopyJobCommandOutput } from "./commands/StartCopyJobCommand";
|
|
99
102
|
import { StartReportJobCommandInput, StartReportJobCommandOutput } from "./commands/StartReportJobCommand";
|
|
100
103
|
import { StartRestoreJobCommandInput, StartRestoreJobCommandOutput } from "./commands/StartRestoreJobCommand";
|
|
104
|
+
import { StartScanJobCommandInput, StartScanJobCommandOutput } from "./commands/StartScanJobCommand";
|
|
101
105
|
import { StopBackupJobCommandInput, StopBackupJobCommandOutput } from "./commands/StopBackupJobCommand";
|
|
102
106
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
103
107
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
@@ -117,11 +121,11 @@ export { __Client };
|
|
|
117
121
|
/**
|
|
118
122
|
* @public
|
|
119
123
|
*/
|
|
120
|
-
export type ServiceInputTypes = AssociateBackupVaultMpaApprovalTeamCommandInput | CancelLegalHoldCommandInput | CreateBackupPlanCommandInput | CreateBackupSelectionCommandInput | CreateBackupVaultCommandInput | CreateFrameworkCommandInput | CreateLegalHoldCommandInput | CreateLogicallyAirGappedBackupVaultCommandInput | CreateReportPlanCommandInput | CreateRestoreAccessBackupVaultCommandInput | CreateRestoreTestingPlanCommandInput | CreateRestoreTestingSelectionCommandInput | CreateTieringConfigurationCommandInput | DeleteBackupPlanCommandInput | DeleteBackupSelectionCommandInput | DeleteBackupVaultAccessPolicyCommandInput | DeleteBackupVaultCommandInput | DeleteBackupVaultLockConfigurationCommandInput | DeleteBackupVaultNotificationsCommandInput | DeleteFrameworkCommandInput | DeleteRecoveryPointCommandInput | DeleteReportPlanCommandInput | DeleteRestoreTestingPlanCommandInput | DeleteRestoreTestingSelectionCommandInput | DeleteTieringConfigurationCommandInput | DescribeBackupJobCommandInput | DescribeBackupVaultCommandInput | DescribeCopyJobCommandInput | DescribeFrameworkCommandInput | DescribeGlobalSettingsCommandInput | DescribeProtectedResourceCommandInput | DescribeRecoveryPointCommandInput | DescribeRegionSettingsCommandInput | DescribeReportJobCommandInput | DescribeReportPlanCommandInput | DescribeRestoreJobCommandInput | DisassociateBackupVaultMpaApprovalTeamCommandInput | DisassociateRecoveryPointCommandInput | DisassociateRecoveryPointFromParentCommandInput | ExportBackupPlanTemplateCommandInput | GetBackupPlanCommandInput | GetBackupPlanFromJSONCommandInput | GetBackupPlanFromTemplateCommandInput | GetBackupSelectionCommandInput | GetBackupVaultAccessPolicyCommandInput | GetBackupVaultNotificationsCommandInput | GetLegalHoldCommandInput | GetRecoveryPointIndexDetailsCommandInput | GetRecoveryPointRestoreMetadataCommandInput | GetRestoreJobMetadataCommandInput | GetRestoreTestingInferredMetadataCommandInput | GetRestoreTestingPlanCommandInput | GetRestoreTestingSelectionCommandInput | GetSupportedResourceTypesCommandInput | GetTieringConfigurationCommandInput | ListBackupJobSummariesCommandInput | ListBackupJobsCommandInput | ListBackupPlanTemplatesCommandInput | ListBackupPlanVersionsCommandInput | ListBackupPlansCommandInput | ListBackupSelectionsCommandInput | ListBackupVaultsCommandInput | ListCopyJobSummariesCommandInput | ListCopyJobsCommandInput | ListFrameworksCommandInput | ListIndexedRecoveryPointsCommandInput | ListLegalHoldsCommandInput | ListProtectedResourcesByBackupVaultCommandInput | ListProtectedResourcesCommandInput | ListRecoveryPointsByBackupVaultCommandInput | ListRecoveryPointsByLegalHoldCommandInput | ListRecoveryPointsByResourceCommandInput | ListReportJobsCommandInput | ListReportPlansCommandInput | ListRestoreAccessBackupVaultsCommandInput | ListRestoreJobSummariesCommandInput | ListRestoreJobsByProtectedResourceCommandInput | ListRestoreJobsCommandInput | ListRestoreTestingPlansCommandInput | ListRestoreTestingSelectionsCommandInput | ListTagsCommandInput | ListTieringConfigurationsCommandInput | PutBackupVaultAccessPolicyCommandInput | PutBackupVaultLockConfigurationCommandInput | PutBackupVaultNotificationsCommandInput | PutRestoreValidationResultCommandInput | RevokeRestoreAccessBackupVaultCommandInput | StartBackupJobCommandInput | StartCopyJobCommandInput | StartReportJobCommandInput | StartRestoreJobCommandInput | StopBackupJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateBackupPlanCommandInput | UpdateFrameworkCommandInput | UpdateGlobalSettingsCommandInput | UpdateRecoveryPointIndexSettingsCommandInput | UpdateRecoveryPointLifecycleCommandInput | UpdateRegionSettingsCommandInput | UpdateReportPlanCommandInput | UpdateRestoreTestingPlanCommandInput | UpdateRestoreTestingSelectionCommandInput | UpdateTieringConfigurationCommandInput;
|
|
124
|
+
export type ServiceInputTypes = AssociateBackupVaultMpaApprovalTeamCommandInput | CancelLegalHoldCommandInput | CreateBackupPlanCommandInput | CreateBackupSelectionCommandInput | CreateBackupVaultCommandInput | CreateFrameworkCommandInput | CreateLegalHoldCommandInput | CreateLogicallyAirGappedBackupVaultCommandInput | CreateReportPlanCommandInput | CreateRestoreAccessBackupVaultCommandInput | CreateRestoreTestingPlanCommandInput | CreateRestoreTestingSelectionCommandInput | CreateTieringConfigurationCommandInput | DeleteBackupPlanCommandInput | DeleteBackupSelectionCommandInput | DeleteBackupVaultAccessPolicyCommandInput | DeleteBackupVaultCommandInput | DeleteBackupVaultLockConfigurationCommandInput | DeleteBackupVaultNotificationsCommandInput | DeleteFrameworkCommandInput | DeleteRecoveryPointCommandInput | DeleteReportPlanCommandInput | DeleteRestoreTestingPlanCommandInput | DeleteRestoreTestingSelectionCommandInput | DeleteTieringConfigurationCommandInput | DescribeBackupJobCommandInput | DescribeBackupVaultCommandInput | DescribeCopyJobCommandInput | DescribeFrameworkCommandInput | DescribeGlobalSettingsCommandInput | DescribeProtectedResourceCommandInput | DescribeRecoveryPointCommandInput | DescribeRegionSettingsCommandInput | DescribeReportJobCommandInput | DescribeReportPlanCommandInput | DescribeRestoreJobCommandInput | DescribeScanJobCommandInput | DisassociateBackupVaultMpaApprovalTeamCommandInput | DisassociateRecoveryPointCommandInput | DisassociateRecoveryPointFromParentCommandInput | ExportBackupPlanTemplateCommandInput | GetBackupPlanCommandInput | GetBackupPlanFromJSONCommandInput | GetBackupPlanFromTemplateCommandInput | GetBackupSelectionCommandInput | GetBackupVaultAccessPolicyCommandInput | GetBackupVaultNotificationsCommandInput | GetLegalHoldCommandInput | GetRecoveryPointIndexDetailsCommandInput | GetRecoveryPointRestoreMetadataCommandInput | GetRestoreJobMetadataCommandInput | GetRestoreTestingInferredMetadataCommandInput | GetRestoreTestingPlanCommandInput | GetRestoreTestingSelectionCommandInput | GetSupportedResourceTypesCommandInput | GetTieringConfigurationCommandInput | ListBackupJobSummariesCommandInput | ListBackupJobsCommandInput | ListBackupPlanTemplatesCommandInput | ListBackupPlanVersionsCommandInput | ListBackupPlansCommandInput | ListBackupSelectionsCommandInput | ListBackupVaultsCommandInput | ListCopyJobSummariesCommandInput | ListCopyJobsCommandInput | ListFrameworksCommandInput | ListIndexedRecoveryPointsCommandInput | ListLegalHoldsCommandInput | ListProtectedResourcesByBackupVaultCommandInput | ListProtectedResourcesCommandInput | ListRecoveryPointsByBackupVaultCommandInput | ListRecoveryPointsByLegalHoldCommandInput | ListRecoveryPointsByResourceCommandInput | ListReportJobsCommandInput | ListReportPlansCommandInput | ListRestoreAccessBackupVaultsCommandInput | ListRestoreJobSummariesCommandInput | ListRestoreJobsByProtectedResourceCommandInput | ListRestoreJobsCommandInput | ListRestoreTestingPlansCommandInput | ListRestoreTestingSelectionsCommandInput | ListScanJobSummariesCommandInput | ListScanJobsCommandInput | ListTagsCommandInput | ListTieringConfigurationsCommandInput | PutBackupVaultAccessPolicyCommandInput | PutBackupVaultLockConfigurationCommandInput | PutBackupVaultNotificationsCommandInput | PutRestoreValidationResultCommandInput | RevokeRestoreAccessBackupVaultCommandInput | StartBackupJobCommandInput | StartCopyJobCommandInput | StartReportJobCommandInput | StartRestoreJobCommandInput | StartScanJobCommandInput | StopBackupJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateBackupPlanCommandInput | UpdateFrameworkCommandInput | UpdateGlobalSettingsCommandInput | UpdateRecoveryPointIndexSettingsCommandInput | UpdateRecoveryPointLifecycleCommandInput | UpdateRegionSettingsCommandInput | UpdateReportPlanCommandInput | UpdateRestoreTestingPlanCommandInput | UpdateRestoreTestingSelectionCommandInput | UpdateTieringConfigurationCommandInput;
|
|
121
125
|
/**
|
|
122
126
|
* @public
|
|
123
127
|
*/
|
|
124
|
-
export type ServiceOutputTypes = AssociateBackupVaultMpaApprovalTeamCommandOutput | CancelLegalHoldCommandOutput | CreateBackupPlanCommandOutput | CreateBackupSelectionCommandOutput | CreateBackupVaultCommandOutput | CreateFrameworkCommandOutput | CreateLegalHoldCommandOutput | CreateLogicallyAirGappedBackupVaultCommandOutput | CreateReportPlanCommandOutput | CreateRestoreAccessBackupVaultCommandOutput | CreateRestoreTestingPlanCommandOutput | CreateRestoreTestingSelectionCommandOutput | CreateTieringConfigurationCommandOutput | DeleteBackupPlanCommandOutput | DeleteBackupSelectionCommandOutput | DeleteBackupVaultAccessPolicyCommandOutput | DeleteBackupVaultCommandOutput | DeleteBackupVaultLockConfigurationCommandOutput | DeleteBackupVaultNotificationsCommandOutput | DeleteFrameworkCommandOutput | DeleteRecoveryPointCommandOutput | DeleteReportPlanCommandOutput | DeleteRestoreTestingPlanCommandOutput | DeleteRestoreTestingSelectionCommandOutput | DeleteTieringConfigurationCommandOutput | DescribeBackupJobCommandOutput | DescribeBackupVaultCommandOutput | DescribeCopyJobCommandOutput | DescribeFrameworkCommandOutput | DescribeGlobalSettingsCommandOutput | DescribeProtectedResourceCommandOutput | DescribeRecoveryPointCommandOutput | DescribeRegionSettingsCommandOutput | DescribeReportJobCommandOutput | DescribeReportPlanCommandOutput | DescribeRestoreJobCommandOutput | DisassociateBackupVaultMpaApprovalTeamCommandOutput | DisassociateRecoveryPointCommandOutput | DisassociateRecoveryPointFromParentCommandOutput | ExportBackupPlanTemplateCommandOutput | GetBackupPlanCommandOutput | GetBackupPlanFromJSONCommandOutput | GetBackupPlanFromTemplateCommandOutput | GetBackupSelectionCommandOutput | GetBackupVaultAccessPolicyCommandOutput | GetBackupVaultNotificationsCommandOutput | GetLegalHoldCommandOutput | GetRecoveryPointIndexDetailsCommandOutput | GetRecoveryPointRestoreMetadataCommandOutput | GetRestoreJobMetadataCommandOutput | GetRestoreTestingInferredMetadataCommandOutput | GetRestoreTestingPlanCommandOutput | GetRestoreTestingSelectionCommandOutput | GetSupportedResourceTypesCommandOutput | GetTieringConfigurationCommandOutput | ListBackupJobSummariesCommandOutput | ListBackupJobsCommandOutput | ListBackupPlanTemplatesCommandOutput | ListBackupPlanVersionsCommandOutput | ListBackupPlansCommandOutput | ListBackupSelectionsCommandOutput | ListBackupVaultsCommandOutput | ListCopyJobSummariesCommandOutput | ListCopyJobsCommandOutput | ListFrameworksCommandOutput | ListIndexedRecoveryPointsCommandOutput | ListLegalHoldsCommandOutput | ListProtectedResourcesByBackupVaultCommandOutput | ListProtectedResourcesCommandOutput | ListRecoveryPointsByBackupVaultCommandOutput | ListRecoveryPointsByLegalHoldCommandOutput | ListRecoveryPointsByResourceCommandOutput | ListReportJobsCommandOutput | ListReportPlansCommandOutput | ListRestoreAccessBackupVaultsCommandOutput | ListRestoreJobSummariesCommandOutput | ListRestoreJobsByProtectedResourceCommandOutput | ListRestoreJobsCommandOutput | ListRestoreTestingPlansCommandOutput | ListRestoreTestingSelectionsCommandOutput | ListTagsCommandOutput | ListTieringConfigurationsCommandOutput | PutBackupVaultAccessPolicyCommandOutput | PutBackupVaultLockConfigurationCommandOutput | PutBackupVaultNotificationsCommandOutput | PutRestoreValidationResultCommandOutput | RevokeRestoreAccessBackupVaultCommandOutput | StartBackupJobCommandOutput | StartCopyJobCommandOutput | StartReportJobCommandOutput | StartRestoreJobCommandOutput | StopBackupJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateBackupPlanCommandOutput | UpdateFrameworkCommandOutput | UpdateGlobalSettingsCommandOutput | UpdateRecoveryPointIndexSettingsCommandOutput | UpdateRecoveryPointLifecycleCommandOutput | UpdateRegionSettingsCommandOutput | UpdateReportPlanCommandOutput | UpdateRestoreTestingPlanCommandOutput | UpdateRestoreTestingSelectionCommandOutput | UpdateTieringConfigurationCommandOutput;
|
|
128
|
+
export type ServiceOutputTypes = AssociateBackupVaultMpaApprovalTeamCommandOutput | CancelLegalHoldCommandOutput | CreateBackupPlanCommandOutput | CreateBackupSelectionCommandOutput | CreateBackupVaultCommandOutput | CreateFrameworkCommandOutput | CreateLegalHoldCommandOutput | CreateLogicallyAirGappedBackupVaultCommandOutput | CreateReportPlanCommandOutput | CreateRestoreAccessBackupVaultCommandOutput | CreateRestoreTestingPlanCommandOutput | CreateRestoreTestingSelectionCommandOutput | CreateTieringConfigurationCommandOutput | DeleteBackupPlanCommandOutput | DeleteBackupSelectionCommandOutput | DeleteBackupVaultAccessPolicyCommandOutput | DeleteBackupVaultCommandOutput | DeleteBackupVaultLockConfigurationCommandOutput | DeleteBackupVaultNotificationsCommandOutput | DeleteFrameworkCommandOutput | DeleteRecoveryPointCommandOutput | DeleteReportPlanCommandOutput | DeleteRestoreTestingPlanCommandOutput | DeleteRestoreTestingSelectionCommandOutput | DeleteTieringConfigurationCommandOutput | DescribeBackupJobCommandOutput | DescribeBackupVaultCommandOutput | DescribeCopyJobCommandOutput | DescribeFrameworkCommandOutput | DescribeGlobalSettingsCommandOutput | DescribeProtectedResourceCommandOutput | DescribeRecoveryPointCommandOutput | DescribeRegionSettingsCommandOutput | DescribeReportJobCommandOutput | DescribeReportPlanCommandOutput | DescribeRestoreJobCommandOutput | DescribeScanJobCommandOutput | DisassociateBackupVaultMpaApprovalTeamCommandOutput | DisassociateRecoveryPointCommandOutput | DisassociateRecoveryPointFromParentCommandOutput | ExportBackupPlanTemplateCommandOutput | GetBackupPlanCommandOutput | GetBackupPlanFromJSONCommandOutput | GetBackupPlanFromTemplateCommandOutput | GetBackupSelectionCommandOutput | GetBackupVaultAccessPolicyCommandOutput | GetBackupVaultNotificationsCommandOutput | GetLegalHoldCommandOutput | GetRecoveryPointIndexDetailsCommandOutput | GetRecoveryPointRestoreMetadataCommandOutput | GetRestoreJobMetadataCommandOutput | GetRestoreTestingInferredMetadataCommandOutput | GetRestoreTestingPlanCommandOutput | GetRestoreTestingSelectionCommandOutput | GetSupportedResourceTypesCommandOutput | GetTieringConfigurationCommandOutput | ListBackupJobSummariesCommandOutput | ListBackupJobsCommandOutput | ListBackupPlanTemplatesCommandOutput | ListBackupPlanVersionsCommandOutput | ListBackupPlansCommandOutput | ListBackupSelectionsCommandOutput | ListBackupVaultsCommandOutput | ListCopyJobSummariesCommandOutput | ListCopyJobsCommandOutput | ListFrameworksCommandOutput | ListIndexedRecoveryPointsCommandOutput | ListLegalHoldsCommandOutput | ListProtectedResourcesByBackupVaultCommandOutput | ListProtectedResourcesCommandOutput | ListRecoveryPointsByBackupVaultCommandOutput | ListRecoveryPointsByLegalHoldCommandOutput | ListRecoveryPointsByResourceCommandOutput | ListReportJobsCommandOutput | ListReportPlansCommandOutput | ListRestoreAccessBackupVaultsCommandOutput | ListRestoreJobSummariesCommandOutput | ListRestoreJobsByProtectedResourceCommandOutput | ListRestoreJobsCommandOutput | ListRestoreTestingPlansCommandOutput | ListRestoreTestingSelectionsCommandOutput | ListScanJobSummariesCommandOutput | ListScanJobsCommandOutput | ListTagsCommandOutput | ListTieringConfigurationsCommandOutput | PutBackupVaultAccessPolicyCommandOutput | PutBackupVaultLockConfigurationCommandOutput | PutBackupVaultNotificationsCommandOutput | PutRestoreValidationResultCommandOutput | RevokeRestoreAccessBackupVaultCommandOutput | StartBackupJobCommandOutput | StartCopyJobCommandOutput | StartReportJobCommandOutput | StartRestoreJobCommandOutput | StartScanJobCommandOutput | StopBackupJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateBackupPlanCommandOutput | UpdateFrameworkCommandOutput | UpdateGlobalSettingsCommandOutput | UpdateRecoveryPointIndexSettingsCommandOutput | UpdateRecoveryPointLifecycleCommandOutput | UpdateRegionSettingsCommandOutput | UpdateReportPlanCommandOutput | UpdateRestoreTestingPlanCommandOutput | UpdateRestoreTestingSelectionCommandOutput | UpdateTieringConfigurationCommandOutput;
|
|
125
129
|
/**
|
|
126
130
|
* @public
|
|
127
131
|
*/
|
|
@@ -80,6 +80,12 @@ declare const CreateBackupPlanCommand_base: {
|
|
|
80
80
|
* ],
|
|
81
81
|
* },
|
|
82
82
|
* ],
|
|
83
|
+
* ScanActions: [ // ScanActions
|
|
84
|
+
* { // ScanAction
|
|
85
|
+
* MalwareScanner: "GUARDDUTY",
|
|
86
|
+
* ScanMode: "FULL_SCAN" || "INCREMENTAL_SCAN",
|
|
87
|
+
* },
|
|
88
|
+
* ],
|
|
83
89
|
* },
|
|
84
90
|
* ],
|
|
85
91
|
* AdvancedBackupSettings: [ // AdvancedBackupSettings
|
|
@@ -90,6 +96,15 @@ declare const CreateBackupPlanCommand_base: {
|
|
|
90
96
|
* },
|
|
91
97
|
* },
|
|
92
98
|
* ],
|
|
99
|
+
* ScanSettings: [ // ScanSettings
|
|
100
|
+
* { // ScanSetting
|
|
101
|
+
* MalwareScanner: "GUARDDUTY",
|
|
102
|
+
* ResourceTypes: [
|
|
103
|
+
* "STRING_VALUE",
|
|
104
|
+
* ],
|
|
105
|
+
* ScannerRoleArn: "STRING_VALUE",
|
|
106
|
+
* },
|
|
107
|
+
* ],
|
|
93
108
|
* },
|
|
94
109
|
* BackupPlanTags: {
|
|
95
110
|
* "<keys>": "STRING_VALUE",
|
|
@@ -90,6 +90,16 @@ declare const DescribeRecoveryPointCommand_base: {
|
|
|
90
90
|
* // IndexStatus: "PENDING" || "ACTIVE" || "FAILED" || "DELETING",
|
|
91
91
|
* // IndexStatusMessage: "STRING_VALUE",
|
|
92
92
|
* // EncryptionKeyType: "AWS_OWNED_KMS_KEY" || "CUSTOMER_MANAGED_KMS_KEY",
|
|
93
|
+
* // ScanResults: [ // ScanResults
|
|
94
|
+
* // { // ScanResult
|
|
95
|
+
* // MalwareScanner: "GUARDDUTY",
|
|
96
|
+
* // ScanJobState: "COMPLETED" || "COMPLETED_WITH_ISSUES" || "FAILED" || "CANCELED",
|
|
97
|
+
* // LastScanTimestamp: new Date("TIMESTAMP"),
|
|
98
|
+
* // Findings: [ // ScanFindings
|
|
99
|
+
* // "MALWARE",
|
|
100
|
+
* // ],
|
|
101
|
+
* // },
|
|
102
|
+
* // ],
|
|
93
103
|
* // };
|
|
94
104
|
*
|
|
95
105
|
* ```
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { BackupClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BackupClient";
|
|
4
|
+
import { DescribeScanJobInput, DescribeScanJobOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DescribeScanJobCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DescribeScanJobCommandInput extends DescribeScanJobInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DescribeScanJobCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DescribeScanJobCommandOutput extends DescribeScanJobOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DescribeScanJobCommand_base: {
|
|
25
|
+
new (input: DescribeScanJobCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeScanJobCommandInput, DescribeScanJobCommandOutput, BackupClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DescribeScanJobCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeScanJobCommandInput, DescribeScanJobCommandOutput, BackupClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Returns scan job details for the specified ScanJobID.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BackupClient, DescribeScanJobCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
35
|
+
* // const { BackupClient, DescribeScanJobCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
36
|
+
* // import type { BackupClientConfig } from "@aws-sdk/client-backup";
|
|
37
|
+
* const config = {}; // type is BackupClientConfig
|
|
38
|
+
* const client = new BackupClient(config);
|
|
39
|
+
* const input = { // DescribeScanJobInput
|
|
40
|
+
* ScanJobId: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new DescribeScanJobCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // DescribeScanJobOutput
|
|
45
|
+
* // AccountId: "STRING_VALUE", // required
|
|
46
|
+
* // BackupVaultArn: "STRING_VALUE", // required
|
|
47
|
+
* // BackupVaultName: "STRING_VALUE", // required
|
|
48
|
+
* // CompletionDate: new Date("TIMESTAMP"),
|
|
49
|
+
* // CreatedBy: { // ScanJobCreator
|
|
50
|
+
* // BackupPlanArn: "STRING_VALUE", // required
|
|
51
|
+
* // BackupPlanId: "STRING_VALUE", // required
|
|
52
|
+
* // BackupPlanVersion: "STRING_VALUE", // required
|
|
53
|
+
* // BackupRuleId: "STRING_VALUE", // required
|
|
54
|
+
* // },
|
|
55
|
+
* // CreationDate: new Date("TIMESTAMP"), // required
|
|
56
|
+
* // IamRoleArn: "STRING_VALUE", // required
|
|
57
|
+
* // MalwareScanner: "GUARDDUTY", // required
|
|
58
|
+
* // RecoveryPointArn: "STRING_VALUE", // required
|
|
59
|
+
* // ResourceArn: "STRING_VALUE", // required
|
|
60
|
+
* // ResourceName: "STRING_VALUE", // required
|
|
61
|
+
* // ResourceType: "EBS" || "EC2" || "S3", // required
|
|
62
|
+
* // ScanBaseRecoveryPointArn: "STRING_VALUE",
|
|
63
|
+
* // ScanId: "STRING_VALUE",
|
|
64
|
+
* // ScanJobId: "STRING_VALUE", // required
|
|
65
|
+
* // ScanMode: "FULL_SCAN" || "INCREMENTAL_SCAN", // required
|
|
66
|
+
* // ScanResult: { // ScanResultInfo
|
|
67
|
+
* // ScanResultStatus: "NO_THREATS_FOUND" || "THREATS_FOUND", // required
|
|
68
|
+
* // },
|
|
69
|
+
* // ScannerRoleArn: "STRING_VALUE", // required
|
|
70
|
+
* // State: "CANCELED" || "COMPLETED" || "COMPLETED_WITH_ISSUES" || "CREATED" || "FAILED" || "RUNNING", // required
|
|
71
|
+
* // StatusMessage: "STRING_VALUE",
|
|
72
|
+
* // };
|
|
73
|
+
*
|
|
74
|
+
* ```
|
|
75
|
+
*
|
|
76
|
+
* @param DescribeScanJobCommandInput - {@link DescribeScanJobCommandInput}
|
|
77
|
+
* @returns {@link DescribeScanJobCommandOutput}
|
|
78
|
+
* @see {@link DescribeScanJobCommandInput} for command's `input` shape.
|
|
79
|
+
* @see {@link DescribeScanJobCommandOutput} for command's `response` shape.
|
|
80
|
+
* @see {@link BackupClientResolvedConfig | config} for BackupClient's `config` shape.
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
83
|
+
* <p>Indicates that something is wrong with a parameter's value. For example, the value is
|
|
84
|
+
* out of range.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link MissingParameterValueException} (client fault)
|
|
87
|
+
* <p>Indicates that a required parameter is missing.</p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
90
|
+
* <p>A resource that is required for the action doesn't exist.</p>
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
93
|
+
* <p>The request failed due to a temporary failure of the server.</p>
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link BackupServiceException}
|
|
96
|
+
* <p>Base exception class for all service exceptions from Backup service.</p>
|
|
97
|
+
*
|
|
98
|
+
*
|
|
99
|
+
* @public
|
|
100
|
+
*/
|
|
101
|
+
export declare class DescribeScanJobCommand extends DescribeScanJobCommand_base {
|
|
102
|
+
/** @internal type navigation helper, not in runtime. */
|
|
103
|
+
protected static __types: {
|
|
104
|
+
api: {
|
|
105
|
+
input: DescribeScanJobInput;
|
|
106
|
+
output: DescribeScanJobOutput;
|
|
107
|
+
};
|
|
108
|
+
sdk: {
|
|
109
|
+
input: DescribeScanJobCommandInput;
|
|
110
|
+
output: DescribeScanJobCommandOutput;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
}
|
|
@@ -85,6 +85,12 @@ declare const GetBackupPlanCommand_base: {
|
|
|
85
85
|
* // ],
|
|
86
86
|
* // },
|
|
87
87
|
* // ],
|
|
88
|
+
* // ScanActions: [ // ScanActions
|
|
89
|
+
* // { // ScanAction
|
|
90
|
+
* // MalwareScanner: "GUARDDUTY",
|
|
91
|
+
* // ScanMode: "FULL_SCAN" || "INCREMENTAL_SCAN",
|
|
92
|
+
* // },
|
|
93
|
+
* // ],
|
|
88
94
|
* // },
|
|
89
95
|
* // ],
|
|
90
96
|
* // AdvancedBackupSettings: [ // AdvancedBackupSettings
|
|
@@ -95,6 +101,15 @@ declare const GetBackupPlanCommand_base: {
|
|
|
95
101
|
* // },
|
|
96
102
|
* // },
|
|
97
103
|
* // ],
|
|
104
|
+
* // ScanSettings: [ // ScanSettings
|
|
105
|
+
* // { // ScanSetting
|
|
106
|
+
* // MalwareScanner: "GUARDDUTY",
|
|
107
|
+
* // ResourceTypes: [
|
|
108
|
+
* // "STRING_VALUE",
|
|
109
|
+
* // ],
|
|
110
|
+
* // ScannerRoleArn: "STRING_VALUE",
|
|
111
|
+
* // },
|
|
112
|
+
* // ],
|
|
98
113
|
* // },
|
|
99
114
|
* // BackupPlanId: "STRING_VALUE",
|
|
100
115
|
* // BackupPlanArn: "STRING_VALUE",
|
|
@@ -82,6 +82,12 @@ declare const GetBackupPlanFromJSONCommand_base: {
|
|
|
82
82
|
* // ],
|
|
83
83
|
* // },
|
|
84
84
|
* // ],
|
|
85
|
+
* // ScanActions: [ // ScanActions
|
|
86
|
+
* // { // ScanAction
|
|
87
|
+
* // MalwareScanner: "GUARDDUTY",
|
|
88
|
+
* // ScanMode: "FULL_SCAN" || "INCREMENTAL_SCAN",
|
|
89
|
+
* // },
|
|
90
|
+
* // ],
|
|
85
91
|
* // },
|
|
86
92
|
* // ],
|
|
87
93
|
* // AdvancedBackupSettings: [ // AdvancedBackupSettings
|
|
@@ -92,6 +98,15 @@ declare const GetBackupPlanFromJSONCommand_base: {
|
|
|
92
98
|
* // },
|
|
93
99
|
* // },
|
|
94
100
|
* // ],
|
|
101
|
+
* // ScanSettings: [ // ScanSettings
|
|
102
|
+
* // { // ScanSetting
|
|
103
|
+
* // MalwareScanner: "GUARDDUTY",
|
|
104
|
+
* // ResourceTypes: [
|
|
105
|
+
* // "STRING_VALUE",
|
|
106
|
+
* // ],
|
|
107
|
+
* // ScannerRoleArn: "STRING_VALUE",
|
|
108
|
+
* // },
|
|
109
|
+
* // ],
|
|
95
110
|
* // },
|
|
96
111
|
* // };
|
|
97
112
|
*
|
|
@@ -82,6 +82,12 @@ declare const GetBackupPlanFromTemplateCommand_base: {
|
|
|
82
82
|
* // ],
|
|
83
83
|
* // },
|
|
84
84
|
* // ],
|
|
85
|
+
* // ScanActions: [ // ScanActions
|
|
86
|
+
* // { // ScanAction
|
|
87
|
+
* // MalwareScanner: "GUARDDUTY",
|
|
88
|
+
* // ScanMode: "FULL_SCAN" || "INCREMENTAL_SCAN",
|
|
89
|
+
* // },
|
|
90
|
+
* // ],
|
|
85
91
|
* // },
|
|
86
92
|
* // ],
|
|
87
93
|
* // AdvancedBackupSettings: [ // AdvancedBackupSettings
|
|
@@ -92,6 +98,15 @@ declare const GetBackupPlanFromTemplateCommand_base: {
|
|
|
92
98
|
* // },
|
|
93
99
|
* // },
|
|
94
100
|
* // ],
|
|
101
|
+
* // ScanSettings: [ // ScanSettings
|
|
102
|
+
* // { // ScanSetting
|
|
103
|
+
* // MalwareScanner: "GUARDDUTY",
|
|
104
|
+
* // ResourceTypes: [
|
|
105
|
+
* // "STRING_VALUE",
|
|
106
|
+
* // ],
|
|
107
|
+
* // ScannerRoleArn: "STRING_VALUE",
|
|
108
|
+
* // },
|
|
109
|
+
* // ],
|
|
95
110
|
* // },
|
|
96
111
|
* // };
|
|
97
112
|
*
|
|
@@ -98,6 +98,13 @@ declare const ListRecoveryPointsByBackupVaultCommand_base: {
|
|
|
98
98
|
* // IndexStatus: "PENDING" || "ACTIVE" || "FAILED" || "DELETING",
|
|
99
99
|
* // IndexStatusMessage: "STRING_VALUE",
|
|
100
100
|
* // EncryptionKeyType: "AWS_OWNED_KMS_KEY" || "CUSTOMER_MANAGED_KMS_KEY",
|
|
101
|
+
* // AggregatedScanResult: { // AggregatedScanResult
|
|
102
|
+
* // FailedScan: true || false,
|
|
103
|
+
* // Findings: [ // ScanFindings
|
|
104
|
+
* // "MALWARE",
|
|
105
|
+
* // ],
|
|
106
|
+
* // LastComputed: new Date("TIMESTAMP"),
|
|
107
|
+
* // },
|
|
101
108
|
* // },
|
|
102
109
|
* // ],
|
|
103
110
|
* // };
|
|
@@ -67,6 +67,13 @@ declare const ListRecoveryPointsByResourceCommand_base: {
|
|
|
67
67
|
* // IndexStatus: "PENDING" || "ACTIVE" || "FAILED" || "DELETING",
|
|
68
68
|
* // IndexStatusMessage: "STRING_VALUE",
|
|
69
69
|
* // EncryptionKeyType: "AWS_OWNED_KMS_KEY" || "CUSTOMER_MANAGED_KMS_KEY",
|
|
70
|
+
* // AggregatedScanResult: { // AggregatedScanResult
|
|
71
|
+
* // FailedScan: true || false,
|
|
72
|
+
* // Findings: [ // ScanFindings
|
|
73
|
+
* // "MALWARE",
|
|
74
|
+
* // ],
|
|
75
|
+
* // LastComputed: new Date("TIMESTAMP"),
|
|
76
|
+
* // },
|
|
70
77
|
* // },
|
|
71
78
|
* // ],
|
|
72
79
|
* // };
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { BackupClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BackupClient";
|
|
4
|
+
import { ListScanJobSummariesInput, ListScanJobSummariesOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListScanJobSummariesCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListScanJobSummariesCommandInput extends ListScanJobSummariesInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListScanJobSummariesCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListScanJobSummariesCommandOutput extends ListScanJobSummariesOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListScanJobSummariesCommand_base: {
|
|
25
|
+
new (input: ListScanJobSummariesCommandInput): import("@smithy/smithy-client").CommandImpl<ListScanJobSummariesCommandInput, ListScanJobSummariesCommandOutput, BackupClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListScanJobSummariesCommandInput]): import("@smithy/smithy-client").CommandImpl<ListScanJobSummariesCommandInput, ListScanJobSummariesCommandOutput, BackupClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>This is a request for a summary of scan jobs created or running within the most recent 30 days.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BackupClient, ListScanJobSummariesCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
35
|
+
* // const { BackupClient, ListScanJobSummariesCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
36
|
+
* // import type { BackupClientConfig } from "@aws-sdk/client-backup";
|
|
37
|
+
* const config = {}; // type is BackupClientConfig
|
|
38
|
+
* const client = new BackupClient(config);
|
|
39
|
+
* const input = { // ListScanJobSummariesInput
|
|
40
|
+
* AccountId: "STRING_VALUE",
|
|
41
|
+
* ResourceType: "STRING_VALUE",
|
|
42
|
+
* MalwareScanner: "GUARDDUTY",
|
|
43
|
+
* ScanResultStatus: "NO_THREATS_FOUND" || "THREATS_FOUND",
|
|
44
|
+
* State: "CREATED" || "COMPLETED" || "COMPLETED_WITH_ISSUES" || "RUNNING" || "FAILED" || "CANCELED" || "AGGREGATE_ALL" || "ANY",
|
|
45
|
+
* AggregationPeriod: "ONE_DAY" || "SEVEN_DAYS" || "FOURTEEN_DAYS",
|
|
46
|
+
* MaxResults: Number("int"),
|
|
47
|
+
* NextToken: "STRING_VALUE",
|
|
48
|
+
* };
|
|
49
|
+
* const command = new ListScanJobSummariesCommand(input);
|
|
50
|
+
* const response = await client.send(command);
|
|
51
|
+
* // { // ListScanJobSummariesOutput
|
|
52
|
+
* // ScanJobSummaries: [ // ScanJobSummaryList
|
|
53
|
+
* // { // ScanJobSummary
|
|
54
|
+
* // Region: "STRING_VALUE",
|
|
55
|
+
* // AccountId: "STRING_VALUE",
|
|
56
|
+
* // State: "CREATED" || "COMPLETED" || "COMPLETED_WITH_ISSUES" || "RUNNING" || "FAILED" || "CANCELED" || "AGGREGATE_ALL" || "ANY",
|
|
57
|
+
* // ResourceType: "STRING_VALUE",
|
|
58
|
+
* // Count: Number("int"),
|
|
59
|
+
* // StartTime: new Date("TIMESTAMP"),
|
|
60
|
+
* // EndTime: new Date("TIMESTAMP"),
|
|
61
|
+
* // MalwareScanner: "GUARDDUTY",
|
|
62
|
+
* // ScanResultStatus: "NO_THREATS_FOUND" || "THREATS_FOUND",
|
|
63
|
+
* // },
|
|
64
|
+
* // ],
|
|
65
|
+
* // AggregationPeriod: "STRING_VALUE",
|
|
66
|
+
* // NextToken: "STRING_VALUE",
|
|
67
|
+
* // };
|
|
68
|
+
*
|
|
69
|
+
* ```
|
|
70
|
+
*
|
|
71
|
+
* @param ListScanJobSummariesCommandInput - {@link ListScanJobSummariesCommandInput}
|
|
72
|
+
* @returns {@link ListScanJobSummariesCommandOutput}
|
|
73
|
+
* @see {@link ListScanJobSummariesCommandInput} for command's `input` shape.
|
|
74
|
+
* @see {@link ListScanJobSummariesCommandOutput} for command's `response` shape.
|
|
75
|
+
* @see {@link BackupClientResolvedConfig | config} for BackupClient's `config` shape.
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
78
|
+
* <p>Indicates that something is wrong with a parameter's value. For example, the value is
|
|
79
|
+
* out of range.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
82
|
+
* <p>The request failed due to a temporary failure of the server.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link BackupServiceException}
|
|
85
|
+
* <p>Base exception class for all service exceptions from Backup service.</p>
|
|
86
|
+
*
|
|
87
|
+
*
|
|
88
|
+
* @public
|
|
89
|
+
*/
|
|
90
|
+
export declare class ListScanJobSummariesCommand extends ListScanJobSummariesCommand_base {
|
|
91
|
+
/** @internal type navigation helper, not in runtime. */
|
|
92
|
+
protected static __types: {
|
|
93
|
+
api: {
|
|
94
|
+
input: ListScanJobSummariesInput;
|
|
95
|
+
output: ListScanJobSummariesOutput;
|
|
96
|
+
};
|
|
97
|
+
sdk: {
|
|
98
|
+
input: ListScanJobSummariesCommandInput;
|
|
99
|
+
output: ListScanJobSummariesCommandOutput;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
}
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { BackupClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BackupClient";
|
|
4
|
+
import { ListScanJobsInput, ListScanJobsOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListScanJobsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListScanJobsCommandInput extends ListScanJobsInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListScanJobsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListScanJobsCommandOutput extends ListScanJobsOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListScanJobsCommand_base: {
|
|
25
|
+
new (input: ListScanJobsCommandInput): import("@smithy/smithy-client").CommandImpl<ListScanJobsCommandInput, ListScanJobsCommandOutput, BackupClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListScanJobsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListScanJobsCommandInput, ListScanJobsCommandOutput, BackupClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Returns a list of existing scan jobs for an authenticated account for the last 30 days.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BackupClient, ListScanJobsCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
35
|
+
* // const { BackupClient, ListScanJobsCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
36
|
+
* // import type { BackupClientConfig } from "@aws-sdk/client-backup";
|
|
37
|
+
* const config = {}; // type is BackupClientConfig
|
|
38
|
+
* const client = new BackupClient(config);
|
|
39
|
+
* const input = { // ListScanJobsInput
|
|
40
|
+
* ByAccountId: "STRING_VALUE",
|
|
41
|
+
* ByBackupVaultName: "STRING_VALUE",
|
|
42
|
+
* ByCompleteAfter: new Date("TIMESTAMP"),
|
|
43
|
+
* ByCompleteBefore: new Date("TIMESTAMP"),
|
|
44
|
+
* ByMalwareScanner: "GUARDDUTY",
|
|
45
|
+
* ByRecoveryPointArn: "STRING_VALUE",
|
|
46
|
+
* ByResourceArn: "STRING_VALUE",
|
|
47
|
+
* ByResourceType: "EBS" || "EC2" || "S3",
|
|
48
|
+
* ByScanResultStatus: "NO_THREATS_FOUND" || "THREATS_FOUND",
|
|
49
|
+
* ByState: "CANCELED" || "COMPLETED" || "COMPLETED_WITH_ISSUES" || "CREATED" || "FAILED" || "RUNNING",
|
|
50
|
+
* MaxResults: Number("int"),
|
|
51
|
+
* NextToken: "STRING_VALUE",
|
|
52
|
+
* };
|
|
53
|
+
* const command = new ListScanJobsCommand(input);
|
|
54
|
+
* const response = await client.send(command);
|
|
55
|
+
* // { // ListScanJobsOutput
|
|
56
|
+
* // NextToken: "STRING_VALUE",
|
|
57
|
+
* // ScanJobs: [ // ScanJobs // required
|
|
58
|
+
* // { // ScanJob
|
|
59
|
+
* // AccountId: "STRING_VALUE", // required
|
|
60
|
+
* // BackupVaultArn: "STRING_VALUE", // required
|
|
61
|
+
* // BackupVaultName: "STRING_VALUE", // required
|
|
62
|
+
* // CompletionDate: new Date("TIMESTAMP"),
|
|
63
|
+
* // CreatedBy: { // ScanJobCreator
|
|
64
|
+
* // BackupPlanArn: "STRING_VALUE", // required
|
|
65
|
+
* // BackupPlanId: "STRING_VALUE", // required
|
|
66
|
+
* // BackupPlanVersion: "STRING_VALUE", // required
|
|
67
|
+
* // BackupRuleId: "STRING_VALUE", // required
|
|
68
|
+
* // },
|
|
69
|
+
* // CreationDate: new Date("TIMESTAMP"), // required
|
|
70
|
+
* // IamRoleArn: "STRING_VALUE", // required
|
|
71
|
+
* // MalwareScanner: "GUARDDUTY", // required
|
|
72
|
+
* // RecoveryPointArn: "STRING_VALUE", // required
|
|
73
|
+
* // ResourceArn: "STRING_VALUE", // required
|
|
74
|
+
* // ResourceName: "STRING_VALUE", // required
|
|
75
|
+
* // ResourceType: "EBS" || "EC2" || "S3", // required
|
|
76
|
+
* // ScanBaseRecoveryPointArn: "STRING_VALUE",
|
|
77
|
+
* // ScanId: "STRING_VALUE",
|
|
78
|
+
* // ScanJobId: "STRING_VALUE", // required
|
|
79
|
+
* // ScanMode: "FULL_SCAN" || "INCREMENTAL_SCAN", // required
|
|
80
|
+
* // ScanResult: { // ScanResultInfo
|
|
81
|
+
* // ScanResultStatus: "NO_THREATS_FOUND" || "THREATS_FOUND", // required
|
|
82
|
+
* // },
|
|
83
|
+
* // ScannerRoleArn: "STRING_VALUE", // required
|
|
84
|
+
* // State: "CANCELED" || "COMPLETED" || "COMPLETED_WITH_ISSUES" || "CREATED" || "FAILED" || "RUNNING",
|
|
85
|
+
* // StatusMessage: "STRING_VALUE",
|
|
86
|
+
* // },
|
|
87
|
+
* // ],
|
|
88
|
+
* // };
|
|
89
|
+
*
|
|
90
|
+
* ```
|
|
91
|
+
*
|
|
92
|
+
* @param ListScanJobsCommandInput - {@link ListScanJobsCommandInput}
|
|
93
|
+
* @returns {@link ListScanJobsCommandOutput}
|
|
94
|
+
* @see {@link ListScanJobsCommandInput} for command's `input` shape.
|
|
95
|
+
* @see {@link ListScanJobsCommandOutput} for command's `response` shape.
|
|
96
|
+
* @see {@link BackupClientResolvedConfig | config} for BackupClient's `config` shape.
|
|
97
|
+
*
|
|
98
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
99
|
+
* <p>Indicates that something is wrong with a parameter's value. For example, the value is
|
|
100
|
+
* out of range.</p>
|
|
101
|
+
*
|
|
102
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
103
|
+
* <p>The request failed due to a temporary failure of the server.</p>
|
|
104
|
+
*
|
|
105
|
+
* @throws {@link BackupServiceException}
|
|
106
|
+
* <p>Base exception class for all service exceptions from Backup service.</p>
|
|
107
|
+
*
|
|
108
|
+
*
|
|
109
|
+
* @public
|
|
110
|
+
*/
|
|
111
|
+
export declare class ListScanJobsCommand extends ListScanJobsCommand_base {
|
|
112
|
+
/** @internal type navigation helper, not in runtime. */
|
|
113
|
+
protected static __types: {
|
|
114
|
+
api: {
|
|
115
|
+
input: ListScanJobsInput;
|
|
116
|
+
output: ListScanJobsOutput;
|
|
117
|
+
};
|
|
118
|
+
sdk: {
|
|
119
|
+
input: ListScanJobsCommandInput;
|
|
120
|
+
output: ListScanJobsCommandOutput;
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
}
|