@aws-sdk/client-backup 3.36.0 → 3.39.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/CHANGELOG.md +42 -0
- package/dist-cjs/Backup.js +0 -7
- package/dist-cjs/BackupClient.js +0 -12
- package/dist-cjs/commands/CreateBackupPlanCommand.js +0 -28
- package/dist-cjs/commands/CreateBackupSelectionCommand.js +0 -64
- package/dist-cjs/commands/CreateBackupVaultCommand.js +0 -30
- package/dist-cjs/commands/CreateFrameworkCommand.js +0 -27
- package/dist-cjs/commands/CreateReportPlanCommand.js +0 -27
- package/dist-cjs/commands/DeleteBackupPlanCommand.js +0 -26
- package/dist-cjs/commands/DeleteBackupSelectionCommand.js +0 -25
- package/dist-cjs/commands/DeleteBackupVaultAccessPolicyCommand.js +0 -24
- package/dist-cjs/commands/DeleteBackupVaultCommand.js +0 -25
- package/dist-cjs/commands/DeleteBackupVaultLockConfigurationCommand.js +0 -29
- package/dist-cjs/commands/DeleteBackupVaultNotificationsCommand.js +0 -24
- package/dist-cjs/commands/DeleteFrameworkCommand.js +0 -24
- package/dist-cjs/commands/DeleteRecoveryPointCommand.js +0 -26
- package/dist-cjs/commands/DeleteReportPlanCommand.js +0 -24
- package/dist-cjs/commands/DescribeBackupJobCommand.js +0 -24
- package/dist-cjs/commands/DescribeBackupVaultCommand.js +0 -24
- package/dist-cjs/commands/DescribeCopyJobCommand.js +0 -24
- package/dist-cjs/commands/DescribeFrameworkCommand.js +0 -24
- package/dist-cjs/commands/DescribeGlobalSettingsCommand.js +0 -27
- package/dist-cjs/commands/DescribeProtectedResourceCommand.js +0 -26
- package/dist-cjs/commands/DescribeRecoveryPointCommand.js +0 -25
- package/dist-cjs/commands/DescribeRegionSettingsCommand.js +0 -28
- package/dist-cjs/commands/DescribeReportJobCommand.js +0 -25
- package/dist-cjs/commands/DescribeReportPlanCommand.js +0 -24
- package/dist-cjs/commands/DescribeRestoreJobCommand.js +0 -24
- package/dist-cjs/commands/DisassociateRecoveryPointCommand.js +0 -27
- package/dist-cjs/commands/ExportBackupPlanTemplateCommand.js +0 -24
- package/dist-cjs/commands/GetBackupPlanCommand.js +0 -25
- package/dist-cjs/commands/GetBackupPlanFromJSONCommand.js +0 -24
- package/dist-cjs/commands/GetBackupPlanFromTemplateCommand.js +0 -24
- package/dist-cjs/commands/GetBackupSelectionCommand.js +0 -25
- package/dist-cjs/commands/GetBackupVaultAccessPolicyCommand.js +0 -25
- package/dist-cjs/commands/GetBackupVaultNotificationsCommand.js +0 -24
- package/dist-cjs/commands/GetRecoveryPointRestoreMetadataCommand.js +0 -24
- package/dist-cjs/commands/GetSupportedResourceTypesCommand.js +0 -24
- package/dist-cjs/commands/ListBackupJobsCommand.js +0 -25
- package/dist-cjs/commands/ListBackupPlanTemplatesCommand.js +0 -25
- package/dist-cjs/commands/ListBackupPlanVersionsCommand.js +0 -25
- package/dist-cjs/commands/ListBackupPlansCommand.js +0 -26
- package/dist-cjs/commands/ListBackupSelectionsCommand.js +0 -25
- package/dist-cjs/commands/ListBackupVaultsCommand.js +0 -25
- package/dist-cjs/commands/ListCopyJobsCommand.js +0 -24
- package/dist-cjs/commands/ListFrameworksCommand.js +0 -24
- package/dist-cjs/commands/ListProtectedResourcesCommand.js +0 -26
- package/dist-cjs/commands/ListRecoveryPointsByBackupVaultCommand.js +0 -24
- package/dist-cjs/commands/ListRecoveryPointsByResourceCommand.js +0 -29
- package/dist-cjs/commands/ListReportJobsCommand.js +0 -24
- package/dist-cjs/commands/ListReportPlansCommand.js +0 -25
- package/dist-cjs/commands/ListRestoreJobsCommand.js +0 -25
- package/dist-cjs/commands/ListTagsCommand.js +0 -30
- package/dist-cjs/commands/PutBackupVaultAccessPolicyCommand.js +0 -26
- package/dist-cjs/commands/PutBackupVaultLockConfigurationCommand.js +0 -28
- package/dist-cjs/commands/PutBackupVaultNotificationsCommand.js +0 -24
- package/dist-cjs/commands/StartBackupJobCommand.js +0 -24
- package/dist-cjs/commands/StartCopyJobCommand.js +0 -25
- package/dist-cjs/commands/StartReportJobCommand.js +0 -24
- package/dist-cjs/commands/StartRestoreJobCommand.js +0 -24
- package/dist-cjs/commands/StopBackupJobCommand.js +0 -24
- package/dist-cjs/commands/TagResourceCommand.js +0 -25
- package/dist-cjs/commands/UntagResourceCommand.js +0 -25
- package/dist-cjs/commands/UpdateBackupPlanCommand.js +0 -26
- package/dist-cjs/commands/UpdateFrameworkCommand.js +0 -25
- package/dist-cjs/commands/UpdateGlobalSettingsCommand.js +0 -26
- package/dist-cjs/commands/UpdateRecoveryPointLifecycleCommand.js +0 -33
- package/dist-cjs/commands/UpdateRegionSettingsCommand.js +0 -29
- package/dist-cjs/commands/UpdateReportPlanCommand.js +0 -25
- package/dist-cjs/commands/index.js +69 -0
- package/dist-cjs/endpoints.js +6 -1
- package/dist-cjs/index.js +4 -84
- package/dist-cjs/models/models_0.js +0 -462
- package/dist-cjs/pagination/ListBackupJobsPaginator.js +0 -10
- package/dist-cjs/pagination/ListBackupPlanTemplatesPaginator.js +0 -10
- package/dist-cjs/pagination/ListBackupPlanVersionsPaginator.js +0 -10
- package/dist-cjs/pagination/ListBackupPlansPaginator.js +0 -10
- package/dist-cjs/pagination/ListBackupSelectionsPaginator.js +0 -10
- package/dist-cjs/pagination/ListBackupVaultsPaginator.js +0 -10
- package/dist-cjs/pagination/ListCopyJobsPaginator.js +0 -10
- package/dist-cjs/pagination/ListFrameworksPaginator.js +0 -10
- package/dist-cjs/pagination/ListProtectedResourcesPaginator.js +0 -10
- package/dist-cjs/pagination/ListRecoveryPointsByBackupVaultPaginator.js +0 -10
- package/dist-cjs/pagination/ListRecoveryPointsByResourcePaginator.js +0 -10
- package/dist-cjs/pagination/ListReportJobsPaginator.js +0 -10
- package/dist-cjs/pagination/ListReportPlansPaginator.js +0 -10
- package/dist-cjs/pagination/ListRestoreJobsPaginator.js +0 -10
- package/dist-cjs/pagination/ListTagsPaginator.js +0 -10
- package/dist-cjs/pagination/index.js +19 -0
- package/dist-cjs/protocols/Aws_restJson1.js +0 -5
- package/dist-cjs/runtimeConfig.browser.js +1 -5
- package/dist-cjs/runtimeConfig.js +1 -5
- package/dist-cjs/runtimeConfig.native.js +0 -3
- package/dist-cjs/runtimeConfig.shared.js +0 -3
- package/dist-es/commands/index.js +66 -0
- package/dist-es/endpoints.js +6 -1
- package/dist-es/index.js +4 -84
- package/dist-es/pagination/index.js +16 -0
- package/dist-types/commands/index.d.ts +66 -0
- package/dist-types/index.d.ts +4 -84
- package/dist-types/pagination/index.d.ts +16 -0
- package/dist-types/ts3.4/Backup.d.ts +67 -340
- package/dist-types/ts3.4/BackupClient.d.ts +24 -93
- package/dist-types/ts3.4/commands/CreateBackupPlanCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/CreateBackupSelectionCommand.d.ts +2 -60
- package/dist-types/ts3.4/commands/CreateBackupVaultCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/CreateFrameworkCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/CreateReportPlanCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DeleteBackupPlanCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DeleteBackupSelectionCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeleteBackupVaultAccessPolicyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteBackupVaultCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeleteBackupVaultLockConfigurationCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/DeleteBackupVaultNotificationsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteFrameworkCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteRecoveryPointCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DeleteReportPlanCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeBackupJobCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeBackupVaultCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeCopyJobCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeFrameworkCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeGlobalSettingsCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DescribeProtectedResourceCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DescribeRecoveryPointCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeRegionSettingsCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/DescribeReportJobCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeReportPlanCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeRestoreJobCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DisassociateRecoveryPointCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/ExportBackupPlanTemplateCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetBackupPlanCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/GetBackupPlanFromJSONCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetBackupPlanFromTemplateCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetBackupSelectionCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/GetBackupVaultAccessPolicyCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/GetBackupVaultNotificationsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetRecoveryPointRestoreMetadataCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetSupportedResourceTypesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListBackupJobsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListBackupPlanTemplatesCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListBackupPlanVersionsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListBackupPlansCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/ListBackupSelectionsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListBackupVaultsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListCopyJobsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListFrameworksCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListProtectedResourcesCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/ListRecoveryPointsByBackupVaultCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListRecoveryPointsByResourceCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/ListReportJobsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListReportPlansCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListRestoreJobsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/PutBackupVaultAccessPolicyCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/PutBackupVaultLockConfigurationCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/PutBackupVaultNotificationsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/StartBackupJobCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/StartCopyJobCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/StartReportJobCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/StartRestoreJobCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/StopBackupJobCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/UpdateBackupPlanCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/UpdateFrameworkCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/UpdateGlobalSettingsCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/UpdateRecoveryPointLifecycleCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/UpdateRegionSettingsCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/UpdateReportPlanCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/index.d.ts +66 -0
- package/dist-types/ts3.4/index.d.ts +4 -84
- package/dist-types/ts3.4/models/models_0.d.ts +751 -3372
- package/dist-types/ts3.4/pagination/index.d.ts +16 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +32 -32
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Deletes the report plan specified by a report plan name.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { BackupClient, DeleteReportPlanCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
14
|
-
* // const { BackupClient, DeleteReportPlanCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
15
|
-
* const client = new BackupClient(config);
|
|
16
|
-
* const command = new DeleteReportPlanCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DeleteReportPlanCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DeleteReportPlanCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link BackupClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DeleteReportPlanCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Returns backup job details for the specified <code>BackupJobId</code>.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { BackupClient, DescribeBackupJobCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
14
|
-
* // const { BackupClient, DescribeBackupJobCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
15
|
-
* const client = new BackupClient(config);
|
|
16
|
-
* const command = new DescribeBackupJobCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DescribeBackupJobCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DescribeBackupJobCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link BackupClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DescribeBackupJobCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Returns metadata about a backup vault specified by its name.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { BackupClient, DescribeBackupVaultCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
14
|
-
* // const { BackupClient, DescribeBackupVaultCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
15
|
-
* const client = new BackupClient(config);
|
|
16
|
-
* const command = new DescribeBackupVaultCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DescribeBackupVaultCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DescribeBackupVaultCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link BackupClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DescribeBackupVaultCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Returns metadata associated with creating a copy of a resource.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { BackupClient, DescribeCopyJobCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
14
|
-
* // const { BackupClient, DescribeCopyJobCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
15
|
-
* const client = new BackupClient(config);
|
|
16
|
-
* const command = new DescribeCopyJobCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DescribeCopyJobCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DescribeCopyJobCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link BackupClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DescribeCopyJobCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Returns the framework details for the specified <code>FrameworkName</code>.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { BackupClient, DescribeFrameworkCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
14
|
-
* // const { BackupClient, DescribeFrameworkCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
15
|
-
* const client = new BackupClient(config);
|
|
16
|
-
* const command = new DescribeFrameworkCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DescribeFrameworkCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DescribeFrameworkCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link BackupClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DescribeFrameworkCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,38 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Describes whether the Amazon Web Services account is opted in to cross-account backup.
|
|
10
|
-
* Returns an error if the account is not a member of an Organizations organization.
|
|
11
|
-
* Example: <code>describe-global-settings --region us-west-2</code>
|
|
12
|
-
* </p>
|
|
13
|
-
* @example
|
|
14
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
-
* ```javascript
|
|
16
|
-
* import { BackupClient, DescribeGlobalSettingsCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
17
|
-
* // const { BackupClient, DescribeGlobalSettingsCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
18
|
-
* const client = new BackupClient(config);
|
|
19
|
-
* const command = new DescribeGlobalSettingsCommand(input);
|
|
20
|
-
* const response = await client.send(command);
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* @see {@link DescribeGlobalSettingsCommandInput} for command's `input` shape.
|
|
24
|
-
* @see {@link DescribeGlobalSettingsCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link BackupClientResolvedConfig | config} for command's `input` shape.
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
28
8
|
class DescribeGlobalSettingsCommand extends smithy_client_1.Command {
|
|
29
|
-
// Start section: command_properties
|
|
30
|
-
// End section: command_properties
|
|
31
9
|
constructor(input) {
|
|
32
|
-
// Start section: command_constructor
|
|
33
10
|
super();
|
|
34
11
|
this.input = input;
|
|
35
|
-
// End section: command_constructor
|
|
36
12
|
}
|
|
37
|
-
/**
|
|
38
|
-
* @internal
|
|
39
|
-
*/
|
|
40
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
41
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
42
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Returns information about a saved resource, including the last time it was backed up,
|
|
10
|
-
* its Amazon Resource Name (ARN), and the Amazon Web Services service type of the saved
|
|
11
|
-
* resource.</p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { BackupClient, DescribeProtectedResourceCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
16
|
-
* // const { BackupClient, DescribeProtectedResourceCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
17
|
-
* const client = new BackupClient(config);
|
|
18
|
-
* const command = new DescribeProtectedResourceCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link DescribeProtectedResourceCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link DescribeProtectedResourceCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link BackupClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class DescribeProtectedResourceCommand extends smithy_client_1.Command {
|
|
28
|
-
// Start section: command_properties
|
|
29
|
-
// End section: command_properties
|
|
30
9
|
constructor(input) {
|
|
31
|
-
// Start section: command_constructor
|
|
32
10
|
super();
|
|
33
11
|
this.input = input;
|
|
34
|
-
// End section: command_constructor
|
|
35
12
|
}
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
40
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
41
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Returns metadata associated with a recovery point, including ID, status, encryption, and
|
|
10
|
-
* lifecycle.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { BackupClient, DescribeRecoveryPointCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
15
|
-
* // const { BackupClient, DescribeRecoveryPointCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
16
|
-
* const client = new BackupClient(config);
|
|
17
|
-
* const command = new DescribeRecoveryPointCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link DescribeRecoveryPointCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link DescribeRecoveryPointCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link BackupClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
8
|
class DescribeRecoveryPointCommand extends smithy_client_1.Command {
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
9
|
constructor(input) {
|
|
30
|
-
// Start section: command_constructor
|
|
31
10
|
super();
|
|
32
11
|
this.input = input;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,39 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Returns the current service opt-in settings for the Region. If service opt-in is enabled
|
|
10
|
-
* for a service, Backup tries to protect that service's resources in this Region,
|
|
11
|
-
* when the resource is included in an on-demand backup or scheduled backup plan. Otherwise,
|
|
12
|
-
* Backup does not try to protect that service's resources in this
|
|
13
|
-
* Region.</p>
|
|
14
|
-
* @example
|
|
15
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
16
|
-
* ```javascript
|
|
17
|
-
* import { BackupClient, DescribeRegionSettingsCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
18
|
-
* // const { BackupClient, DescribeRegionSettingsCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
19
|
-
* const client = new BackupClient(config);
|
|
20
|
-
* const command = new DescribeRegionSettingsCommand(input);
|
|
21
|
-
* const response = await client.send(command);
|
|
22
|
-
* ```
|
|
23
|
-
*
|
|
24
|
-
* @see {@link DescribeRegionSettingsCommandInput} for command's `input` shape.
|
|
25
|
-
* @see {@link DescribeRegionSettingsCommandOutput} for command's `response` shape.
|
|
26
|
-
* @see {@link BackupClientResolvedConfig | config} for command's `input` shape.
|
|
27
|
-
*
|
|
28
|
-
*/
|
|
29
8
|
class DescribeRegionSettingsCommand extends smithy_client_1.Command {
|
|
30
|
-
// Start section: command_properties
|
|
31
|
-
// End section: command_properties
|
|
32
9
|
constructor(input) {
|
|
33
|
-
// Start section: command_constructor
|
|
34
10
|
super();
|
|
35
11
|
this.input = input;
|
|
36
|
-
// End section: command_constructor
|
|
37
12
|
}
|
|
38
|
-
/**
|
|
39
|
-
* @internal
|
|
40
|
-
*/
|
|
41
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
42
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
43
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Returns the details associated with creating a report as specified by its
|
|
10
|
-
* <code>ReportJobId</code>.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { BackupClient, DescribeReportJobCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
15
|
-
* // const { BackupClient, DescribeReportJobCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
16
|
-
* const client = new BackupClient(config);
|
|
17
|
-
* const command = new DescribeReportJobCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link DescribeReportJobCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link DescribeReportJobCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link BackupClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
8
|
class DescribeReportJobCommand extends smithy_client_1.Command {
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
9
|
constructor(input) {
|
|
30
|
-
// Start section: command_constructor
|
|
31
10
|
super();
|
|
32
11
|
this.input = input;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Returns a list of all report plans for an Amazon Web Services account and Amazon Web Services Region.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { BackupClient, DescribeReportPlanCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
14
|
-
* // const { BackupClient, DescribeReportPlanCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
15
|
-
* const client = new BackupClient(config);
|
|
16
|
-
* const command = new DescribeReportPlanCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DescribeReportPlanCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DescribeReportPlanCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link BackupClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DescribeReportPlanCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Returns metadata associated with a restore job that is specified by a job ID.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { BackupClient, DescribeRestoreJobCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
14
|
-
* // const { BackupClient, DescribeRestoreJobCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
15
|
-
* const client = new BackupClient(config);
|
|
16
|
-
* const command = new DescribeRestoreJobCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DescribeRestoreJobCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DescribeRestoreJobCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link BackupClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DescribeRestoreJobCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,38 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Deletes the specified continuous backup recovery point from Backup and
|
|
10
|
-
* releases control of that continuous backup to the source service, such as Amazon RDS. The source service will continue to create and retain continuous backups using the
|
|
11
|
-
* lifecycle that you specified in your original backup plan.</p>
|
|
12
|
-
* <p>Does not support snapshot backup recovery points.</p>
|
|
13
|
-
* @example
|
|
14
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
-
* ```javascript
|
|
16
|
-
* import { BackupClient, DisassociateRecoveryPointCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
17
|
-
* // const { BackupClient, DisassociateRecoveryPointCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
18
|
-
* const client = new BackupClient(config);
|
|
19
|
-
* const command = new DisassociateRecoveryPointCommand(input);
|
|
20
|
-
* const response = await client.send(command);
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* @see {@link DisassociateRecoveryPointCommandInput} for command's `input` shape.
|
|
24
|
-
* @see {@link DisassociateRecoveryPointCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link BackupClientResolvedConfig | config} for command's `input` shape.
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
28
8
|
class DisassociateRecoveryPointCommand extends smithy_client_1.Command {
|
|
29
|
-
// Start section: command_properties
|
|
30
|
-
// End section: command_properties
|
|
31
9
|
constructor(input) {
|
|
32
|
-
// Start section: command_constructor
|
|
33
10
|
super();
|
|
34
11
|
this.input = input;
|
|
35
|
-
// End section: command_constructor
|
|
36
12
|
}
|
|
37
|
-
/**
|
|
38
|
-
* @internal
|
|
39
|
-
*/
|
|
40
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
41
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
42
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Returns the backup plan that is specified by the plan ID as a backup template.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { BackupClient, ExportBackupPlanTemplateCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
14
|
-
* // const { BackupClient, ExportBackupPlanTemplateCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
15
|
-
* const client = new BackupClient(config);
|
|
16
|
-
* const command = new ExportBackupPlanTemplateCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link ExportBackupPlanTemplateCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link ExportBackupPlanTemplateCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link BackupClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class ExportBackupPlanTemplateCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Returns <code>BackupPlan</code> details for the specified <code>BackupPlanId</code>. The
|
|
10
|
-
* details are the body of a backup plan in JSON format, in addition to plan metadata.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { BackupClient, GetBackupPlanCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
15
|
-
* // const { BackupClient, GetBackupPlanCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
16
|
-
* const client = new BackupClient(config);
|
|
17
|
-
* const command = new GetBackupPlanCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link GetBackupPlanCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link GetBackupPlanCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link BackupClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
8
|
class GetBackupPlanCommand extends smithy_client_1.Command {
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
9
|
constructor(input) {
|
|
30
|
-
// Start section: command_constructor
|
|
31
10
|
super();
|
|
32
11
|
this.input = input;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Returns a valid JSON document specifying a backup plan or an error.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { BackupClient, GetBackupPlanFromJSONCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
14
|
-
* // const { BackupClient, GetBackupPlanFromJSONCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
15
|
-
* const client = new BackupClient(config);
|
|
16
|
-
* const command = new GetBackupPlanFromJSONCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link GetBackupPlanFromJSONCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link GetBackupPlanFromJSONCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link BackupClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class GetBackupPlanFromJSONCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Returns the template specified by its <code>templateId</code> as a backup plan.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { BackupClient, GetBackupPlanFromTemplateCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
14
|
-
* // const { BackupClient, GetBackupPlanFromTemplateCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
15
|
-
* const client = new BackupClient(config);
|
|
16
|
-
* const command = new GetBackupPlanFromTemplateCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link GetBackupPlanFromTemplateCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link GetBackupPlanFromTemplateCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link BackupClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class GetBackupPlanFromTemplateCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|