@aws-sdk/client-backup 3.183.0 → 3.186.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 +19 -0
- package/dist-cjs/protocols/Aws_restJson1.js +2 -2
- package/dist-es/Backup.js +273 -266
- package/dist-es/BackupClient.js +28 -22
- package/dist-es/commands/CreateBackupPlanCommand.js +28 -21
- package/dist-es/commands/CreateBackupSelectionCommand.js +28 -21
- package/dist-es/commands/CreateBackupVaultCommand.js +28 -21
- package/dist-es/commands/CreateFrameworkCommand.js +28 -21
- package/dist-es/commands/CreateReportPlanCommand.js +28 -21
- package/dist-es/commands/DeleteBackupPlanCommand.js +28 -21
- package/dist-es/commands/DeleteBackupSelectionCommand.js +29 -22
- package/dist-es/commands/DeleteBackupVaultAccessPolicyCommand.js +29 -22
- package/dist-es/commands/DeleteBackupVaultCommand.js +29 -22
- package/dist-es/commands/DeleteBackupVaultLockConfigurationCommand.js +29 -22
- package/dist-es/commands/DeleteBackupVaultNotificationsCommand.js +29 -22
- package/dist-es/commands/DeleteFrameworkCommand.js +29 -22
- package/dist-es/commands/DeleteRecoveryPointCommand.js +29 -22
- package/dist-es/commands/DeleteReportPlanCommand.js +29 -22
- package/dist-es/commands/DescribeBackupJobCommand.js +28 -21
- package/dist-es/commands/DescribeBackupVaultCommand.js +28 -21
- package/dist-es/commands/DescribeCopyJobCommand.js +28 -21
- package/dist-es/commands/DescribeFrameworkCommand.js +28 -21
- package/dist-es/commands/DescribeGlobalSettingsCommand.js +28 -21
- package/dist-es/commands/DescribeProtectedResourceCommand.js +28 -21
- package/dist-es/commands/DescribeRecoveryPointCommand.js +28 -21
- package/dist-es/commands/DescribeRegionSettingsCommand.js +28 -21
- package/dist-es/commands/DescribeReportJobCommand.js +28 -21
- package/dist-es/commands/DescribeReportPlanCommand.js +28 -21
- package/dist-es/commands/DescribeRestoreJobCommand.js +28 -21
- package/dist-es/commands/DisassociateRecoveryPointCommand.js +29 -22
- package/dist-es/commands/ExportBackupPlanTemplateCommand.js +28 -21
- package/dist-es/commands/GetBackupPlanCommand.js +28 -21
- package/dist-es/commands/GetBackupPlanFromJSONCommand.js +28 -21
- package/dist-es/commands/GetBackupPlanFromTemplateCommand.js +28 -21
- package/dist-es/commands/GetBackupSelectionCommand.js +28 -21
- package/dist-es/commands/GetBackupVaultAccessPolicyCommand.js +28 -21
- package/dist-es/commands/GetBackupVaultNotificationsCommand.js +28 -21
- package/dist-es/commands/GetRecoveryPointRestoreMetadataCommand.js +28 -21
- package/dist-es/commands/GetSupportedResourceTypesCommand.js +29 -22
- package/dist-es/commands/ListBackupJobsCommand.js +28 -21
- package/dist-es/commands/ListBackupPlanTemplatesCommand.js +28 -21
- package/dist-es/commands/ListBackupPlanVersionsCommand.js +28 -21
- package/dist-es/commands/ListBackupPlansCommand.js +28 -21
- package/dist-es/commands/ListBackupSelectionsCommand.js +28 -21
- package/dist-es/commands/ListBackupVaultsCommand.js +28 -21
- package/dist-es/commands/ListCopyJobsCommand.js +28 -21
- package/dist-es/commands/ListFrameworksCommand.js +28 -21
- package/dist-es/commands/ListProtectedResourcesCommand.js +28 -21
- package/dist-es/commands/ListRecoveryPointsByBackupVaultCommand.js +28 -21
- package/dist-es/commands/ListRecoveryPointsByResourceCommand.js +28 -21
- package/dist-es/commands/ListReportJobsCommand.js +28 -21
- package/dist-es/commands/ListReportPlansCommand.js +28 -21
- package/dist-es/commands/ListRestoreJobsCommand.js +28 -21
- package/dist-es/commands/ListTagsCommand.js +28 -21
- package/dist-es/commands/PutBackupVaultAccessPolicyCommand.js +29 -22
- package/dist-es/commands/PutBackupVaultLockConfigurationCommand.js +29 -22
- package/dist-es/commands/PutBackupVaultNotificationsCommand.js +29 -22
- package/dist-es/commands/StartBackupJobCommand.js +28 -21
- package/dist-es/commands/StartCopyJobCommand.js +28 -21
- package/dist-es/commands/StartReportJobCommand.js +28 -21
- package/dist-es/commands/StartRestoreJobCommand.js +28 -21
- package/dist-es/commands/StopBackupJobCommand.js +29 -22
- package/dist-es/commands/TagResourceCommand.js +29 -22
- package/dist-es/commands/UntagResourceCommand.js +29 -22
- package/dist-es/commands/UpdateBackupPlanCommand.js +28 -21
- package/dist-es/commands/UpdateFrameworkCommand.js +28 -21
- package/dist-es/commands/UpdateGlobalSettingsCommand.js +29 -22
- package/dist-es/commands/UpdateRecoveryPointLifecycleCommand.js +28 -21
- package/dist-es/commands/UpdateRegionSettingsCommand.js +29 -22
- package/dist-es/commands/UpdateReportPlanCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/BackupServiceException.js +10 -5
- package/dist-es/models/models_0.js +299 -607
- package/dist-es/pagination/ListBackupJobsPaginator.js +68 -25
- package/dist-es/pagination/ListBackupPlanTemplatesPaginator.js +68 -25
- package/dist-es/pagination/ListBackupPlanVersionsPaginator.js +68 -25
- package/dist-es/pagination/ListBackupPlansPaginator.js +68 -25
- package/dist-es/pagination/ListBackupSelectionsPaginator.js +68 -25
- package/dist-es/pagination/ListBackupVaultsPaginator.js +68 -25
- package/dist-es/pagination/ListCopyJobsPaginator.js +68 -25
- package/dist-es/pagination/ListFrameworksPaginator.js +68 -25
- package/dist-es/pagination/ListProtectedResourcesPaginator.js +68 -25
- package/dist-es/pagination/ListRecoveryPointsByBackupVaultPaginator.js +68 -25
- package/dist-es/pagination/ListRecoveryPointsByResourcePaginator.js +68 -25
- package/dist-es/pagination/ListReportJobsPaginator.js +68 -25
- package/dist-es/pagination/ListReportPlansPaginator.js +68 -25
- package/dist-es/pagination/ListRestoreJobsPaginator.js +68 -25
- package/dist-es/pagination/ListTagsPaginator.js +68 -25
- package/dist-es/protocols/Aws_restJson1.js +6980 -5026
- package/dist-es/runtimeConfig.browser.js +12 -26
- package/dist-es/runtimeConfig.js +12 -30
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/package.json +33 -33
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListBackupSelectionsInputFilterSensitiveLog, ListBackupSelectionsOutputFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1ListBackupSelectionsCommand, serializeAws_restJson1ListBackupSelectionsCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ListBackupSelectionsCommand = (function (_super) {
|
|
7
|
+
__extends(ListBackupSelectionsCommand, _super);
|
|
8
|
+
function ListBackupSelectionsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListBackupSelectionsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "BackupClient";
|
|
18
|
+
var commandName = "ListBackupSelectionsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ListBackupSelectionsInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListBackupSelectionsOutputFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListBackupSelectionsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1ListBackupSelectionsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListBackupSelectionsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1ListBackupSelectionsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListBackupSelectionsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListBackupSelectionsCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListBackupVaultsInputFilterSensitiveLog, ListBackupVaultsOutputFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1ListBackupVaultsCommand, serializeAws_restJson1ListBackupVaultsCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ListBackupVaultsCommand = (function (_super) {
|
|
7
|
+
__extends(ListBackupVaultsCommand, _super);
|
|
8
|
+
function ListBackupVaultsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListBackupVaultsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "BackupClient";
|
|
18
|
+
var commandName = "ListBackupVaultsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ListBackupVaultsInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListBackupVaultsOutputFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListBackupVaultsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1ListBackupVaultsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListBackupVaultsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1ListBackupVaultsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListBackupVaultsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListBackupVaultsCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListCopyJobsInputFilterSensitiveLog, ListCopyJobsOutputFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1ListCopyJobsCommand, serializeAws_restJson1ListCopyJobsCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ListCopyJobsCommand = (function (_super) {
|
|
7
|
+
__extends(ListCopyJobsCommand, _super);
|
|
8
|
+
function ListCopyJobsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListCopyJobsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "BackupClient";
|
|
18
|
+
var commandName = "ListCopyJobsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ListCopyJobsInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListCopyJobsOutputFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListCopyJobsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1ListCopyJobsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListCopyJobsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1ListCopyJobsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListCopyJobsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListCopyJobsCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListFrameworksInputFilterSensitiveLog, ListFrameworksOutputFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1ListFrameworksCommand, serializeAws_restJson1ListFrameworksCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ListFrameworksCommand = (function (_super) {
|
|
7
|
+
__extends(ListFrameworksCommand, _super);
|
|
8
|
+
function ListFrameworksCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListFrameworksCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "BackupClient";
|
|
18
|
+
var commandName = "ListFrameworksCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ListFrameworksInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListFrameworksOutputFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListFrameworksCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1ListFrameworksCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListFrameworksCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1ListFrameworksCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListFrameworksCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListFrameworksCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListProtectedResourcesInputFilterSensitiveLog, ListProtectedResourcesOutputFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1ListProtectedResourcesCommand, serializeAws_restJson1ListProtectedResourcesCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ListProtectedResourcesCommand = (function (_super) {
|
|
7
|
+
__extends(ListProtectedResourcesCommand, _super);
|
|
8
|
+
function ListProtectedResourcesCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListProtectedResourcesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "BackupClient";
|
|
18
|
+
var commandName = "ListProtectedResourcesCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ListProtectedResourcesInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListProtectedResourcesOutputFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListProtectedResourcesCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1ListProtectedResourcesCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListProtectedResourcesCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1ListProtectedResourcesCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListProtectedResourcesCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListProtectedResourcesCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListRecoveryPointsByBackupVaultInputFilterSensitiveLog, ListRecoveryPointsByBackupVaultOutputFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1ListRecoveryPointsByBackupVaultCommand, serializeAws_restJson1ListRecoveryPointsByBackupVaultCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ListRecoveryPointsByBackupVaultCommand = (function (_super) {
|
|
7
|
+
__extends(ListRecoveryPointsByBackupVaultCommand, _super);
|
|
8
|
+
function ListRecoveryPointsByBackupVaultCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListRecoveryPointsByBackupVaultCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "BackupClient";
|
|
18
|
+
var commandName = "ListRecoveryPointsByBackupVaultCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ListRecoveryPointsByBackupVaultInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListRecoveryPointsByBackupVaultOutputFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListRecoveryPointsByBackupVaultCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1ListRecoveryPointsByBackupVaultCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListRecoveryPointsByBackupVaultCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1ListRecoveryPointsByBackupVaultCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListRecoveryPointsByBackupVaultCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListRecoveryPointsByBackupVaultCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListRecoveryPointsByResourceInputFilterSensitiveLog, ListRecoveryPointsByResourceOutputFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1ListRecoveryPointsByResourceCommand, serializeAws_restJson1ListRecoveryPointsByResourceCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ListRecoveryPointsByResourceCommand = (function (_super) {
|
|
7
|
+
__extends(ListRecoveryPointsByResourceCommand, _super);
|
|
8
|
+
function ListRecoveryPointsByResourceCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListRecoveryPointsByResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "BackupClient";
|
|
18
|
+
var commandName = "ListRecoveryPointsByResourceCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ListRecoveryPointsByResourceInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListRecoveryPointsByResourceOutputFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListRecoveryPointsByResourceCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1ListRecoveryPointsByResourceCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListRecoveryPointsByResourceCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1ListRecoveryPointsByResourceCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListRecoveryPointsByResourceCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListRecoveryPointsByResourceCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListReportJobsInputFilterSensitiveLog, ListReportJobsOutputFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1ListReportJobsCommand, serializeAws_restJson1ListReportJobsCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ListReportJobsCommand = (function (_super) {
|
|
7
|
+
__extends(ListReportJobsCommand, _super);
|
|
8
|
+
function ListReportJobsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListReportJobsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "BackupClient";
|
|
18
|
+
var commandName = "ListReportJobsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ListReportJobsInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListReportJobsOutputFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListReportJobsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1ListReportJobsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListReportJobsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1ListReportJobsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListReportJobsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListReportJobsCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListReportPlansInputFilterSensitiveLog, ListReportPlansOutputFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1ListReportPlansCommand, serializeAws_restJson1ListReportPlansCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ListReportPlansCommand = (function (_super) {
|
|
7
|
+
__extends(ListReportPlansCommand, _super);
|
|
8
|
+
function ListReportPlansCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListReportPlansCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "BackupClient";
|
|
18
|
+
var commandName = "ListReportPlansCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ListReportPlansInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListReportPlansOutputFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListReportPlansCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1ListReportPlansCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListReportPlansCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1ListReportPlansCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListReportPlansCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListReportPlansCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListRestoreJobsInputFilterSensitiveLog, ListRestoreJobsOutputFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1ListRestoreJobsCommand, serializeAws_restJson1ListRestoreJobsCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ListRestoreJobsCommand = (function (_super) {
|
|
7
|
+
__extends(ListRestoreJobsCommand, _super);
|
|
8
|
+
function ListRestoreJobsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListRestoreJobsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "BackupClient";
|
|
18
|
+
var commandName = "ListRestoreJobsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ListRestoreJobsInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListRestoreJobsOutputFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListRestoreJobsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1ListRestoreJobsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListRestoreJobsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1ListRestoreJobsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListRestoreJobsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListRestoreJobsCommand };
|