@aws-sdk/client-backup 3.298.0 → 3.300.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-types/commands/CancelLegalHoldCommand.d.ts +5 -0
- package/dist-types/commands/CreateBackupPlanCommand.d.ts +43 -0
- package/dist-types/commands/CreateBackupSelectionCommand.d.ts +47 -0
- package/dist-types/commands/CreateBackupVaultCommand.d.ts +8 -0
- package/dist-types/commands/CreateFrameworkCommand.d.ts +30 -0
- package/dist-types/commands/CreateLegalHoldCommand.d.ts +20 -0
- package/dist-types/commands/CreateReportPlanCommand.d.ts +31 -0
- package/dist-types/commands/DeleteBackupPlanCommand.d.ts +3 -0
- package/dist-types/commands/DeleteBackupSelectionCommand.d.ts +4 -0
- package/dist-types/commands/DeleteBackupVaultAccessPolicyCommand.d.ts +3 -0
- package/dist-types/commands/DeleteBackupVaultCommand.d.ts +3 -0
- package/dist-types/commands/DeleteBackupVaultLockConfigurationCommand.d.ts +3 -0
- package/dist-types/commands/DeleteBackupVaultNotificationsCommand.d.ts +3 -0
- package/dist-types/commands/DeleteFrameworkCommand.d.ts +3 -0
- package/dist-types/commands/DeleteRecoveryPointCommand.d.ts +4 -0
- package/dist-types/commands/DeleteReportPlanCommand.d.ts +3 -0
- package/dist-types/commands/DescribeBackupJobCommand.d.ts +3 -0
- package/dist-types/commands/DescribeBackupVaultCommand.d.ts +3 -0
- package/dist-types/commands/DescribeCopyJobCommand.d.ts +3 -0
- package/dist-types/commands/DescribeFrameworkCommand.d.ts +3 -0
- package/dist-types/commands/DescribeGlobalSettingsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeProtectedResourceCommand.d.ts +3 -0
- package/dist-types/commands/DescribeRecoveryPointCommand.d.ts +4 -0
- package/dist-types/commands/DescribeRegionSettingsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeReportJobCommand.d.ts +3 -0
- package/dist-types/commands/DescribeReportPlanCommand.d.ts +3 -0
- package/dist-types/commands/DescribeRestoreJobCommand.d.ts +3 -0
- package/dist-types/commands/DisassociateRecoveryPointCommand.d.ts +4 -0
- package/dist-types/commands/DisassociateRecoveryPointFromParentCommand.d.ts +4 -0
- package/dist-types/commands/ExportBackupPlanTemplateCommand.d.ts +3 -0
- package/dist-types/commands/GetBackupPlanCommand.d.ts +4 -0
- package/dist-types/commands/GetBackupPlanFromJSONCommand.d.ts +3 -0
- package/dist-types/commands/GetBackupPlanFromTemplateCommand.d.ts +3 -0
- package/dist-types/commands/GetBackupSelectionCommand.d.ts +4 -0
- package/dist-types/commands/GetBackupVaultAccessPolicyCommand.d.ts +3 -0
- package/dist-types/commands/GetBackupVaultNotificationsCommand.d.ts +3 -0
- package/dist-types/commands/GetLegalHoldCommand.d.ts +3 -0
- package/dist-types/commands/GetRecoveryPointRestoreMetadataCommand.d.ts +4 -0
- package/dist-types/commands/GetSupportedResourceTypesCommand.d.ts +1 -0
- package/dist-types/commands/ListBackupJobsCommand.d.ts +14 -0
- package/dist-types/commands/ListBackupPlanTemplatesCommand.d.ts +4 -0
- package/dist-types/commands/ListBackupPlanVersionsCommand.d.ts +5 -0
- package/dist-types/commands/ListBackupPlansCommand.d.ts +5 -0
- package/dist-types/commands/ListBackupSelectionsCommand.d.ts +5 -0
- package/dist-types/commands/ListBackupVaultsCommand.d.ts +4 -0
- package/dist-types/commands/ListCopyJobsCommand.d.ts +14 -0
- package/dist-types/commands/ListFrameworksCommand.d.ts +4 -0
- package/dist-types/commands/ListLegalHoldsCommand.d.ts +4 -0
- package/dist-types/commands/ListProtectedResourcesCommand.d.ts +4 -0
- package/dist-types/commands/ListRecoveryPointsByBackupVaultCommand.d.ts +11 -0
- package/dist-types/commands/ListRecoveryPointsByLegalHoldCommand.d.ts +5 -0
- package/dist-types/commands/ListRecoveryPointsByResourceCommand.d.ts +5 -0
- package/dist-types/commands/ListReportJobsCommand.d.ts +8 -0
- package/dist-types/commands/ListReportPlansCommand.d.ts +4 -0
- package/dist-types/commands/ListRestoreJobsCommand.d.ts +10 -0
- package/dist-types/commands/ListTagsCommand.d.ts +5 -0
- package/dist-types/commands/PutBackupVaultAccessPolicyCommand.d.ts +4 -0
- package/dist-types/commands/PutBackupVaultLockConfigurationCommand.d.ts +6 -0
- package/dist-types/commands/PutBackupVaultNotificationsCommand.d.ts +7 -0
- package/dist-types/commands/StartBackupJobCommand.d.ts +18 -0
- package/dist-types/commands/StartCopyJobCommand.d.ts +11 -0
- package/dist-types/commands/StartReportJobCommand.d.ts +4 -0
- package/dist-types/commands/StartRestoreJobCommand.d.ts +9 -0
- package/dist-types/commands/StopBackupJobCommand.d.ts +3 -0
- package/dist-types/commands/TagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UpdateBackupPlanCommand.d.ts +40 -0
- package/dist-types/commands/UpdateFrameworkCommand.d.ts +27 -0
- package/dist-types/commands/UpdateGlobalSettingsCommand.d.ts +5 -0
- package/dist-types/commands/UpdateRecoveryPointLifecycleCommand.d.ts +8 -0
- package/dist-types/commands/UpdateRegionSettingsCommand.d.ts +8 -0
- package/dist-types/commands/UpdateReportPlanCommand.d.ts +28 -0
- package/package.json +12 -12
|
@@ -27,6 +27,11 @@ export interface CancelLegalHoldCommandOutput extends CancelLegalHoldOutput, __M
|
|
|
27
27
|
* import { BackupClient, CancelLegalHoldCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
28
28
|
* // const { BackupClient, CancelLegalHoldCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
29
29
|
* const client = new BackupClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* LegalHoldId: "STRING_VALUE", // required
|
|
32
|
+
* CancelDescription: "STRING_VALUE", // required
|
|
33
|
+
* RetainRecordInDays: Number("long"),
|
|
34
|
+
* };
|
|
30
35
|
* const command = new CancelLegalHoldCommand(input);
|
|
31
36
|
* const response = await client.send(command);
|
|
32
37
|
* ```
|
|
@@ -30,6 +30,49 @@ export interface CreateBackupPlanCommandOutput extends CreateBackupPlanOutput, _
|
|
|
30
30
|
* import { BackupClient, CreateBackupPlanCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
31
31
|
* // const { BackupClient, CreateBackupPlanCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
32
32
|
* const client = new BackupClient(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* BackupPlan: {
|
|
35
|
+
* BackupPlanName: "STRING_VALUE", // required
|
|
36
|
+
* Rules: [ // required
|
|
37
|
+
* {
|
|
38
|
+
* RuleName: "STRING_VALUE", // required
|
|
39
|
+
* TargetBackupVaultName: "STRING_VALUE", // required
|
|
40
|
+
* ScheduleExpression: "STRING_VALUE",
|
|
41
|
+
* StartWindowMinutes: Number("long"),
|
|
42
|
+
* CompletionWindowMinutes: Number("long"),
|
|
43
|
+
* Lifecycle: {
|
|
44
|
+
* MoveToColdStorageAfterDays: Number("long"),
|
|
45
|
+
* DeleteAfterDays: Number("long"),
|
|
46
|
+
* },
|
|
47
|
+
* RecoveryPointTags: {
|
|
48
|
+
* "<keys>": "STRING_VALUE",
|
|
49
|
+
* },
|
|
50
|
+
* CopyActions: [
|
|
51
|
+
* {
|
|
52
|
+
* Lifecycle: {
|
|
53
|
+
* MoveToColdStorageAfterDays: Number("long"),
|
|
54
|
+
* DeleteAfterDays: Number("long"),
|
|
55
|
+
* },
|
|
56
|
+
* DestinationBackupVaultArn: "STRING_VALUE", // required
|
|
57
|
+
* },
|
|
58
|
+
* ],
|
|
59
|
+
* EnableContinuousBackup: true || false,
|
|
60
|
+
* },
|
|
61
|
+
* ],
|
|
62
|
+
* AdvancedBackupSettings: [
|
|
63
|
+
* {
|
|
64
|
+
* ResourceType: "STRING_VALUE",
|
|
65
|
+
* BackupOptions: {
|
|
66
|
+
* "<keys>": "STRING_VALUE",
|
|
67
|
+
* },
|
|
68
|
+
* },
|
|
69
|
+
* ],
|
|
70
|
+
* },
|
|
71
|
+
* BackupPlanTags: {
|
|
72
|
+
* "<keys>": "STRING_VALUE",
|
|
73
|
+
* },
|
|
74
|
+
* CreatorRequestId: "STRING_VALUE",
|
|
75
|
+
* };
|
|
33
76
|
* const command = new CreateBackupPlanCommand(input);
|
|
34
77
|
* const response = await client.send(command);
|
|
35
78
|
* ```
|
|
@@ -27,6 +27,53 @@ export interface CreateBackupSelectionCommandOutput extends CreateBackupSelectio
|
|
|
27
27
|
* import { BackupClient, CreateBackupSelectionCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
28
28
|
* // const { BackupClient, CreateBackupSelectionCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
29
29
|
* const client = new BackupClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* BackupPlanId: "STRING_VALUE", // required
|
|
32
|
+
* BackupSelection: {
|
|
33
|
+
* SelectionName: "STRING_VALUE", // required
|
|
34
|
+
* IamRoleArn: "STRING_VALUE", // required
|
|
35
|
+
* Resources: [
|
|
36
|
+
* "STRING_VALUE",
|
|
37
|
+
* ],
|
|
38
|
+
* ListOfTags: [
|
|
39
|
+
* {
|
|
40
|
+
* ConditionType: "STRINGEQUALS", // required
|
|
41
|
+
* ConditionKey: "STRING_VALUE", // required
|
|
42
|
+
* ConditionValue: "STRING_VALUE", // required
|
|
43
|
+
* },
|
|
44
|
+
* ],
|
|
45
|
+
* NotResources: [
|
|
46
|
+
* "STRING_VALUE",
|
|
47
|
+
* ],
|
|
48
|
+
* Conditions: {
|
|
49
|
+
* StringEquals: [
|
|
50
|
+
* {
|
|
51
|
+
* ConditionKey: "STRING_VALUE",
|
|
52
|
+
* ConditionValue: "STRING_VALUE",
|
|
53
|
+
* },
|
|
54
|
+
* ],
|
|
55
|
+
* StringNotEquals: [
|
|
56
|
+
* {
|
|
57
|
+
* ConditionKey: "STRING_VALUE",
|
|
58
|
+
* ConditionValue: "STRING_VALUE",
|
|
59
|
+
* },
|
|
60
|
+
* ],
|
|
61
|
+
* StringLike: [
|
|
62
|
+
* {
|
|
63
|
+
* ConditionKey: "STRING_VALUE",
|
|
64
|
+
* ConditionValue: "STRING_VALUE",
|
|
65
|
+
* },
|
|
66
|
+
* ],
|
|
67
|
+
* StringNotLike: [
|
|
68
|
+
* {
|
|
69
|
+
* ConditionKey: "STRING_VALUE",
|
|
70
|
+
* ConditionValue: "STRING_VALUE",
|
|
71
|
+
* },
|
|
72
|
+
* ],
|
|
73
|
+
* },
|
|
74
|
+
* },
|
|
75
|
+
* CreatorRequestId: "STRING_VALUE",
|
|
76
|
+
* };
|
|
30
77
|
* const command = new CreateBackupSelectionCommand(input);
|
|
31
78
|
* const response = await client.send(command);
|
|
32
79
|
* ```
|
|
@@ -32,6 +32,14 @@ export interface CreateBackupVaultCommandOutput extends CreateBackupVaultOutput,
|
|
|
32
32
|
* import { BackupClient, CreateBackupVaultCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
33
33
|
* // const { BackupClient, CreateBackupVaultCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
34
34
|
* const client = new BackupClient(config);
|
|
35
|
+
* const input = {
|
|
36
|
+
* BackupVaultName: "STRING_VALUE", // required
|
|
37
|
+
* BackupVaultTags: {
|
|
38
|
+
* "<keys>": "STRING_VALUE",
|
|
39
|
+
* },
|
|
40
|
+
* EncryptionKeyArn: "STRING_VALUE",
|
|
41
|
+
* CreatorRequestId: "STRING_VALUE",
|
|
42
|
+
* };
|
|
35
43
|
* const command = new CreateBackupVaultCommand(input);
|
|
36
44
|
* const response = await client.send(command);
|
|
37
45
|
* ```
|
|
@@ -29,6 +29,36 @@ export interface CreateFrameworkCommandOutput extends CreateFrameworkOutput, __M
|
|
|
29
29
|
* import { BackupClient, CreateFrameworkCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
30
30
|
* // const { BackupClient, CreateFrameworkCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
31
31
|
* const client = new BackupClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* FrameworkName: "STRING_VALUE", // required
|
|
34
|
+
* FrameworkDescription: "STRING_VALUE",
|
|
35
|
+
* FrameworkControls: [ // required
|
|
36
|
+
* {
|
|
37
|
+
* ControlName: "STRING_VALUE", // required
|
|
38
|
+
* ControlInputParameters: [
|
|
39
|
+
* {
|
|
40
|
+
* ParameterName: "STRING_VALUE",
|
|
41
|
+
* ParameterValue: "STRING_VALUE",
|
|
42
|
+
* },
|
|
43
|
+
* ],
|
|
44
|
+
* ControlScope: {
|
|
45
|
+
* ComplianceResourceIds: [
|
|
46
|
+
* "STRING_VALUE",
|
|
47
|
+
* ],
|
|
48
|
+
* ComplianceResourceTypes: [
|
|
49
|
+
* "STRING_VALUE",
|
|
50
|
+
* ],
|
|
51
|
+
* Tags: {
|
|
52
|
+
* "<keys>": "STRING_VALUE",
|
|
53
|
+
* },
|
|
54
|
+
* },
|
|
55
|
+
* },
|
|
56
|
+
* ],
|
|
57
|
+
* IdempotencyToken: "STRING_VALUE",
|
|
58
|
+
* FrameworkTags: {
|
|
59
|
+
* "<keys>": "STRING_VALUE",
|
|
60
|
+
* },
|
|
61
|
+
* };
|
|
32
62
|
* const command = new CreateFrameworkCommand(input);
|
|
33
63
|
* const response = await client.send(command);
|
|
34
64
|
* ```
|
|
@@ -29,6 +29,26 @@ export interface CreateLegalHoldCommandOutput extends CreateLegalHoldOutput, __M
|
|
|
29
29
|
* import { BackupClient, CreateLegalHoldCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
30
30
|
* // const { BackupClient, CreateLegalHoldCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
31
31
|
* const client = new BackupClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* Title: "STRING_VALUE", // required
|
|
34
|
+
* Description: "STRING_VALUE", // required
|
|
35
|
+
* IdempotencyToken: "STRING_VALUE",
|
|
36
|
+
* RecoveryPointSelection: {
|
|
37
|
+
* VaultNames: [
|
|
38
|
+
* "STRING_VALUE",
|
|
39
|
+
* ],
|
|
40
|
+
* ResourceIdentifiers: [
|
|
41
|
+
* "STRING_VALUE",
|
|
42
|
+
* ],
|
|
43
|
+
* DateRange: {
|
|
44
|
+
* FromDate: new Date("TIMESTAMP"), // required
|
|
45
|
+
* ToDate: new Date("TIMESTAMP"), // required
|
|
46
|
+
* },
|
|
47
|
+
* },
|
|
48
|
+
* Tags: {
|
|
49
|
+
* "<keys>": "STRING_VALUE",
|
|
50
|
+
* },
|
|
51
|
+
* };
|
|
32
52
|
* const command = new CreateLegalHoldCommand(input);
|
|
33
53
|
* const response = await client.send(command);
|
|
34
54
|
* ```
|
|
@@ -29,6 +29,37 @@ export interface CreateReportPlanCommandOutput extends CreateReportPlanOutput, _
|
|
|
29
29
|
* import { BackupClient, CreateReportPlanCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
30
30
|
* // const { BackupClient, CreateReportPlanCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
31
31
|
* const client = new BackupClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* ReportPlanName: "STRING_VALUE", // required
|
|
34
|
+
* ReportPlanDescription: "STRING_VALUE",
|
|
35
|
+
* ReportDeliveryChannel: {
|
|
36
|
+
* S3BucketName: "STRING_VALUE", // required
|
|
37
|
+
* S3KeyPrefix: "STRING_VALUE",
|
|
38
|
+
* Formats: [
|
|
39
|
+
* "STRING_VALUE",
|
|
40
|
+
* ],
|
|
41
|
+
* },
|
|
42
|
+
* ReportSetting: {
|
|
43
|
+
* ReportTemplate: "STRING_VALUE", // required
|
|
44
|
+
* FrameworkArns: [
|
|
45
|
+
* "STRING_VALUE",
|
|
46
|
+
* ],
|
|
47
|
+
* NumberOfFrameworks: Number("int"),
|
|
48
|
+
* Accounts: [
|
|
49
|
+
* "STRING_VALUE",
|
|
50
|
+
* ],
|
|
51
|
+
* OrganizationUnits: [
|
|
52
|
+
* "STRING_VALUE",
|
|
53
|
+
* ],
|
|
54
|
+
* Regions: [
|
|
55
|
+
* "STRING_VALUE",
|
|
56
|
+
* ],
|
|
57
|
+
* },
|
|
58
|
+
* ReportPlanTags: {
|
|
59
|
+
* "<keys>": "STRING_VALUE",
|
|
60
|
+
* },
|
|
61
|
+
* IdempotencyToken: "STRING_VALUE",
|
|
62
|
+
* };
|
|
32
63
|
* const command = new CreateReportPlanCommand(input);
|
|
33
64
|
* const response = await client.send(command);
|
|
34
65
|
* ```
|
|
@@ -28,6 +28,9 @@ export interface DeleteBackupPlanCommandOutput extends DeleteBackupPlanOutput, _
|
|
|
28
28
|
* import { BackupClient, DeleteBackupPlanCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
29
29
|
* // const { BackupClient, DeleteBackupPlanCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
30
30
|
* const client = new BackupClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* BackupPlanId: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
31
34
|
* const command = new DeleteBackupPlanCommand(input);
|
|
32
35
|
* const response = await client.send(command);
|
|
33
36
|
* ```
|
|
@@ -27,6 +27,10 @@ export interface DeleteBackupSelectionCommandOutput extends __MetadataBearer {
|
|
|
27
27
|
* import { BackupClient, DeleteBackupSelectionCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
28
28
|
* // const { BackupClient, DeleteBackupSelectionCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
29
29
|
* const client = new BackupClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* BackupPlanId: "STRING_VALUE", // required
|
|
32
|
+
* SelectionId: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
30
34
|
* const command = new DeleteBackupSelectionCommand(input);
|
|
31
35
|
* const response = await client.send(command);
|
|
32
36
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DeleteBackupVaultAccessPolicyCommandOutput extends __MetadataBe
|
|
|
26
26
|
* import { BackupClient, DeleteBackupVaultAccessPolicyCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
27
27
|
* // const { BackupClient, DeleteBackupVaultAccessPolicyCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
28
28
|
* const client = new BackupClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* BackupVaultName: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DeleteBackupVaultAccessPolicyCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface DeleteBackupVaultCommandOutput extends __MetadataBearer {
|
|
|
27
27
|
* import { BackupClient, DeleteBackupVaultCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
28
28
|
* // const { BackupClient, DeleteBackupVaultCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
29
29
|
* const client = new BackupClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* BackupVaultName: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new DeleteBackupVaultCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -31,6 +31,9 @@ export interface DeleteBackupVaultLockConfigurationCommandOutput extends __Metad
|
|
|
31
31
|
* import { BackupClient, DeleteBackupVaultLockConfigurationCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
32
32
|
* // const { BackupClient, DeleteBackupVaultLockConfigurationCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
33
33
|
* const client = new BackupClient(config);
|
|
34
|
+
* const input = {
|
|
35
|
+
* BackupVaultName: "STRING_VALUE", // required
|
|
36
|
+
* };
|
|
34
37
|
* const command = new DeleteBackupVaultLockConfigurationCommand(input);
|
|
35
38
|
* const response = await client.send(command);
|
|
36
39
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DeleteBackupVaultNotificationsCommandOutput extends __MetadataB
|
|
|
26
26
|
* import { BackupClient, DeleteBackupVaultNotificationsCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
27
27
|
* // const { BackupClient, DeleteBackupVaultNotificationsCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
28
28
|
* const client = new BackupClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* BackupVaultName: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DeleteBackupVaultNotificationsCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DeleteFrameworkCommandOutput extends __MetadataBearer {
|
|
|
26
26
|
* import { BackupClient, DeleteFrameworkCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
27
27
|
* // const { BackupClient, DeleteFrameworkCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
28
28
|
* const client = new BackupClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* FrameworkName: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DeleteFrameworkCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -38,6 +38,10 @@ export interface DeleteRecoveryPointCommandOutput extends __MetadataBearer {
|
|
|
38
38
|
* import { BackupClient, DeleteRecoveryPointCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
39
39
|
* // const { BackupClient, DeleteRecoveryPointCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
40
40
|
* const client = new BackupClient(config);
|
|
41
|
+
* const input = {
|
|
42
|
+
* BackupVaultName: "STRING_VALUE", // required
|
|
43
|
+
* RecoveryPointArn: "STRING_VALUE", // required
|
|
44
|
+
* };
|
|
41
45
|
* const command = new DeleteRecoveryPointCommand(input);
|
|
42
46
|
* const response = await client.send(command);
|
|
43
47
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DeleteReportPlanCommandOutput extends __MetadataBearer {
|
|
|
26
26
|
* import { BackupClient, DeleteReportPlanCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
27
27
|
* // const { BackupClient, DeleteReportPlanCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
28
28
|
* const client = new BackupClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* ReportPlanName: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DeleteReportPlanCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DescribeBackupJobCommandOutput extends DescribeBackupJobOutput,
|
|
|
26
26
|
* import { BackupClient, DescribeBackupJobCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
27
27
|
* // const { BackupClient, DescribeBackupJobCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
28
28
|
* const client = new BackupClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* BackupJobId: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DescribeBackupJobCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DescribeBackupVaultCommandOutput extends DescribeBackupVaultOut
|
|
|
26
26
|
* import { BackupClient, DescribeBackupVaultCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
27
27
|
* // const { BackupClient, DescribeBackupVaultCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
28
28
|
* const client = new BackupClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* BackupVaultName: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DescribeBackupVaultCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DescribeCopyJobCommandOutput extends DescribeCopyJobOutput, __M
|
|
|
26
26
|
* import { BackupClient, DescribeCopyJobCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
27
27
|
* // const { BackupClient, DescribeCopyJobCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
28
28
|
* const client = new BackupClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* CopyJobId: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DescribeCopyJobCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DescribeFrameworkCommandOutput extends DescribeFrameworkOutput,
|
|
|
26
26
|
* import { BackupClient, DescribeFrameworkCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
27
27
|
* // const { BackupClient, DescribeFrameworkCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
28
28
|
* const client = new BackupClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* FrameworkName: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DescribeFrameworkCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -29,6 +29,7 @@ export interface DescribeGlobalSettingsCommandOutput extends DescribeGlobalSetti
|
|
|
29
29
|
* import { BackupClient, DescribeGlobalSettingsCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
30
30
|
* // const { BackupClient, DescribeGlobalSettingsCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
31
31
|
* const client = new BackupClient(config);
|
|
32
|
+
* const input = {};
|
|
32
33
|
* const command = new DescribeGlobalSettingsCommand(input);
|
|
33
34
|
* const response = await client.send(command);
|
|
34
35
|
* ```
|
|
@@ -28,6 +28,9 @@ export interface DescribeProtectedResourceCommandOutput extends DescribeProtecte
|
|
|
28
28
|
* import { BackupClient, DescribeProtectedResourceCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
29
29
|
* // const { BackupClient, DescribeProtectedResourceCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
30
30
|
* const client = new BackupClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
31
34
|
* const command = new DescribeProtectedResourceCommand(input);
|
|
32
35
|
* const response = await client.send(command);
|
|
33
36
|
* ```
|
|
@@ -27,6 +27,10 @@ export interface DescribeRecoveryPointCommandOutput extends DescribeRecoveryPoin
|
|
|
27
27
|
* import { BackupClient, DescribeRecoveryPointCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
28
28
|
* // const { BackupClient, DescribeRecoveryPointCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
29
29
|
* const client = new BackupClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* BackupVaultName: "STRING_VALUE", // required
|
|
32
|
+
* RecoveryPointArn: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
30
34
|
* const command = new DescribeRecoveryPointCommand(input);
|
|
31
35
|
* const response = await client.send(command);
|
|
32
36
|
* ```
|
|
@@ -30,6 +30,7 @@ export interface DescribeRegionSettingsCommandOutput extends DescribeRegionSetti
|
|
|
30
30
|
* import { BackupClient, DescribeRegionSettingsCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
31
31
|
* // const { BackupClient, DescribeRegionSettingsCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
32
32
|
* const client = new BackupClient(config);
|
|
33
|
+
* const input = {};
|
|
33
34
|
* const command = new DescribeRegionSettingsCommand(input);
|
|
34
35
|
* const response = await client.send(command);
|
|
35
36
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface DescribeReportJobCommandOutput extends DescribeReportJobOutput,
|
|
|
27
27
|
* import { BackupClient, DescribeReportJobCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
28
28
|
* // const { BackupClient, DescribeReportJobCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
29
29
|
* const client = new BackupClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* ReportJobId: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new DescribeReportJobCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DescribeReportPlanCommandOutput extends DescribeReportPlanOutpu
|
|
|
26
26
|
* import { BackupClient, DescribeReportPlanCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
27
27
|
* // const { BackupClient, DescribeReportPlanCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
28
28
|
* const client = new BackupClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* ReportPlanName: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DescribeReportPlanCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DescribeRestoreJobCommandOutput extends DescribeRestoreJobOutpu
|
|
|
26
26
|
* import { BackupClient, DescribeRestoreJobCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
27
27
|
* // const { BackupClient, DescribeRestoreJobCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
28
28
|
* const client = new BackupClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* RestoreJobId: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DescribeRestoreJobCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -29,6 +29,10 @@ export interface DisassociateRecoveryPointCommandOutput extends __MetadataBearer
|
|
|
29
29
|
* import { BackupClient, DisassociateRecoveryPointCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
30
30
|
* // const { BackupClient, DisassociateRecoveryPointCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
31
31
|
* const client = new BackupClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* BackupVaultName: "STRING_VALUE", // required
|
|
34
|
+
* RecoveryPointArn: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
32
36
|
* const command = new DisassociateRecoveryPointCommand(input);
|
|
33
37
|
* const response = await client.send(command);
|
|
34
38
|
* ```
|
|
@@ -27,6 +27,10 @@ export interface DisassociateRecoveryPointFromParentCommandOutput extends __Meta
|
|
|
27
27
|
* import { BackupClient, DisassociateRecoveryPointFromParentCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
28
28
|
* // const { BackupClient, DisassociateRecoveryPointFromParentCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
29
29
|
* const client = new BackupClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* BackupVaultName: "STRING_VALUE", // required
|
|
32
|
+
* RecoveryPointArn: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
30
34
|
* const command = new DisassociateRecoveryPointFromParentCommand(input);
|
|
31
35
|
* const response = await client.send(command);
|
|
32
36
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface ExportBackupPlanTemplateCommandOutput extends ExportBackupPlanT
|
|
|
26
26
|
* import { BackupClient, ExportBackupPlanTemplateCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
27
27
|
* // const { BackupClient, ExportBackupPlanTemplateCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
28
28
|
* const client = new BackupClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* BackupPlanId: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new ExportBackupPlanTemplateCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -27,6 +27,10 @@ export interface GetBackupPlanCommandOutput extends GetBackupPlanOutput, __Metad
|
|
|
27
27
|
* import { BackupClient, GetBackupPlanCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
28
28
|
* // const { BackupClient, GetBackupPlanCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
29
29
|
* const client = new BackupClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* BackupPlanId: "STRING_VALUE", // required
|
|
32
|
+
* VersionId: "STRING_VALUE",
|
|
33
|
+
* };
|
|
30
34
|
* const command = new GetBackupPlanCommand(input);
|
|
31
35
|
* const response = await client.send(command);
|
|
32
36
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface GetBackupPlanFromJSONCommandOutput extends GetBackupPlanFromJSO
|
|
|
26
26
|
* import { BackupClient, GetBackupPlanFromJSONCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
27
27
|
* // const { BackupClient, GetBackupPlanFromJSONCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
28
28
|
* const client = new BackupClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* BackupPlanTemplateJson: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetBackupPlanFromJSONCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface GetBackupPlanFromTemplateCommandOutput extends GetBackupPlanFro
|
|
|
26
26
|
* import { BackupClient, GetBackupPlanFromTemplateCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
27
27
|
* // const { BackupClient, GetBackupPlanFromTemplateCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
28
28
|
* const client = new BackupClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* BackupPlanTemplateId: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetBackupPlanFromTemplateCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -27,6 +27,10 @@ export interface GetBackupSelectionCommandOutput extends GetBackupSelectionOutpu
|
|
|
27
27
|
* import { BackupClient, GetBackupSelectionCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
28
28
|
* // const { BackupClient, GetBackupSelectionCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
29
29
|
* const client = new BackupClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* BackupPlanId: "STRING_VALUE", // required
|
|
32
|
+
* SelectionId: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
30
34
|
* const command = new GetBackupSelectionCommand(input);
|
|
31
35
|
* const response = await client.send(command);
|
|
32
36
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface GetBackupVaultAccessPolicyCommandOutput extends GetBackupVaultA
|
|
|
27
27
|
* import { BackupClient, GetBackupVaultAccessPolicyCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
28
28
|
* // const { BackupClient, GetBackupVaultAccessPolicyCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
29
29
|
* const client = new BackupClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* BackupVaultName: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new GetBackupVaultAccessPolicyCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface GetBackupVaultNotificationsCommandOutput extends GetBackupVault
|
|
|
26
26
|
* import { BackupClient, GetBackupVaultNotificationsCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
27
27
|
* // const { BackupClient, GetBackupVaultNotificationsCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
28
28
|
* const client = new BackupClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* BackupVaultName: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetBackupVaultNotificationsCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface GetLegalHoldCommandOutput extends GetLegalHoldOutput, __Metadat
|
|
|
27
27
|
* import { BackupClient, GetLegalHoldCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
28
28
|
* // const { BackupClient, GetLegalHoldCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
29
29
|
* const client = new BackupClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* LegalHoldId: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new GetLegalHoldCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface GetRecoveryPointRestoreMetadataCommandOutput extends GetRecover
|
|
|
26
26
|
* import { BackupClient, GetRecoveryPointRestoreMetadataCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
27
27
|
* // const { BackupClient, GetRecoveryPointRestoreMetadataCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
28
28
|
* const client = new BackupClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* BackupVaultName: "STRING_VALUE", // required
|
|
31
|
+
* RecoveryPointArn: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new GetRecoveryPointRestoreMetadataCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,7 @@ export interface GetSupportedResourceTypesCommandOutput extends GetSupportedReso
|
|
|
26
26
|
* import { BackupClient, GetSupportedResourceTypesCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
27
27
|
* // const { BackupClient, GetSupportedResourceTypesCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
28
28
|
* const client = new BackupClient(config);
|
|
29
|
+
* const input = {};
|
|
29
30
|
* const command = new GetSupportedResourceTypesCommand(input);
|
|
30
31
|
* const response = await client.send(command);
|
|
31
32
|
* ```
|
|
@@ -27,6 +27,20 @@ export interface ListBackupJobsCommandOutput extends ListBackupJobsOutput, __Met
|
|
|
27
27
|
* import { BackupClient, ListBackupJobsCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
28
28
|
* // const { BackupClient, ListBackupJobsCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
29
29
|
* const client = new BackupClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* NextToken: "STRING_VALUE",
|
|
32
|
+
* MaxResults: Number("int"),
|
|
33
|
+
* ByResourceArn: "STRING_VALUE",
|
|
34
|
+
* ByState: "CREATED" || "PENDING" || "RUNNING" || "ABORTING" || "ABORTED" || "COMPLETED" || "FAILED" || "EXPIRED" || "PARTIAL",
|
|
35
|
+
* ByBackupVaultName: "STRING_VALUE",
|
|
36
|
+
* ByCreatedBefore: new Date("TIMESTAMP"),
|
|
37
|
+
* ByCreatedAfter: new Date("TIMESTAMP"),
|
|
38
|
+
* ByResourceType: "STRING_VALUE",
|
|
39
|
+
* ByAccountId: "STRING_VALUE",
|
|
40
|
+
* ByCompleteAfter: new Date("TIMESTAMP"),
|
|
41
|
+
* ByCompleteBefore: new Date("TIMESTAMP"),
|
|
42
|
+
* ByParentJobId: "STRING_VALUE",
|
|
43
|
+
* };
|
|
30
44
|
* const command = new ListBackupJobsCommand(input);
|
|
31
45
|
* const response = await client.send(command);
|
|
32
46
|
* ```
|
|
@@ -27,6 +27,10 @@ export interface ListBackupPlanTemplatesCommandOutput extends ListBackupPlanTemp
|
|
|
27
27
|
* import { BackupClient, ListBackupPlanTemplatesCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
28
28
|
* // const { BackupClient, ListBackupPlanTemplatesCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
29
29
|
* const client = new BackupClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* NextToken: "STRING_VALUE",
|
|
32
|
+
* MaxResults: Number("int"),
|
|
33
|
+
* };
|
|
30
34
|
* const command = new ListBackupPlanTemplatesCommand(input);
|
|
31
35
|
* const response = await client.send(command);
|
|
32
36
|
* ```
|