@aws-sdk/client-backup 3.183.0 → 3.185.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 +11 -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 +5 -5
|
@@ -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 { ListTagsInputFilterSensitiveLog, ListTagsOutputFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1ListTagsCommand, serializeAws_restJson1ListTagsCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ListTagsCommand = (function (_super) {
|
|
7
|
+
__extends(ListTagsCommand, _super);
|
|
8
|
+
function ListTagsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListTagsCommand.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 = "ListTagsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ListTagsInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListTagsOutputFilterSensitiveLog,
|
|
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
|
+
ListTagsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1ListTagsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListTagsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1ListTagsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListTagsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListTagsCommand };
|
|
@@ -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 { PutBackupVaultAccessPolicyInputFilterSensitiveLog } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1PutBackupVaultAccessPolicyCommand, serializeAws_restJson1PutBackupVaultAccessPolicyCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var PutBackupVaultAccessPolicyCommand = (function (_super) {
|
|
7
|
+
__extends(PutBackupVaultAccessPolicyCommand, _super);
|
|
8
|
+
function PutBackupVaultAccessPolicyCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
PutBackupVaultAccessPolicyCommand.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 = "PutBackupVaultAccessPolicyCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: PutBackupVaultAccessPolicyInputFilterSensitiveLog,
|
|
21
|
-
outputFilterSensitiveLog: (output)
|
|
24
|
+
outputFilterSensitiveLog: function (output) { return output; },
|
|
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
|
+
PutBackupVaultAccessPolicyCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1PutBackupVaultAccessPolicyCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
PutBackupVaultAccessPolicyCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1PutBackupVaultAccessPolicyCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return PutBackupVaultAccessPolicyCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { PutBackupVaultAccessPolicyCommand };
|
|
@@ -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 { PutBackupVaultLockConfigurationInputFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1PutBackupVaultLockConfigurationCommand, serializeAws_restJson1PutBackupVaultLockConfigurationCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var PutBackupVaultLockConfigurationCommand = (function (_super) {
|
|
7
|
+
__extends(PutBackupVaultLockConfigurationCommand, _super);
|
|
8
|
+
function PutBackupVaultLockConfigurationCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
PutBackupVaultLockConfigurationCommand.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 = "PutBackupVaultLockConfigurationCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: PutBackupVaultLockConfigurationInputFilterSensitiveLog,
|
|
21
|
-
outputFilterSensitiveLog: (output)
|
|
24
|
+
outputFilterSensitiveLog: function (output) { return output; },
|
|
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
|
+
PutBackupVaultLockConfigurationCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1PutBackupVaultLockConfigurationCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
PutBackupVaultLockConfigurationCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1PutBackupVaultLockConfigurationCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return PutBackupVaultLockConfigurationCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { PutBackupVaultLockConfigurationCommand };
|
|
@@ -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 { PutBackupVaultNotificationsInputFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1PutBackupVaultNotificationsCommand, serializeAws_restJson1PutBackupVaultNotificationsCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var PutBackupVaultNotificationsCommand = (function (_super) {
|
|
7
|
+
__extends(PutBackupVaultNotificationsCommand, _super);
|
|
8
|
+
function PutBackupVaultNotificationsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
PutBackupVaultNotificationsCommand.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 = "PutBackupVaultNotificationsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: PutBackupVaultNotificationsInputFilterSensitiveLog,
|
|
21
|
-
outputFilterSensitiveLog: (output)
|
|
24
|
+
outputFilterSensitiveLog: function (output) { return output; },
|
|
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
|
+
PutBackupVaultNotificationsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1PutBackupVaultNotificationsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
PutBackupVaultNotificationsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1PutBackupVaultNotificationsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return PutBackupVaultNotificationsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { PutBackupVaultNotificationsCommand };
|
|
@@ -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 { StartBackupJobInputFilterSensitiveLog, StartBackupJobOutputFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1StartBackupJobCommand, serializeAws_restJson1StartBackupJobCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var StartBackupJobCommand = (function (_super) {
|
|
7
|
+
__extends(StartBackupJobCommand, _super);
|
|
8
|
+
function StartBackupJobCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
StartBackupJobCommand.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 = "StartBackupJobCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: StartBackupJobInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: StartBackupJobOutputFilterSensitiveLog,
|
|
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
|
+
StartBackupJobCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1StartBackupJobCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
StartBackupJobCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1StartBackupJobCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return StartBackupJobCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { StartBackupJobCommand };
|
|
@@ -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 { StartCopyJobInputFilterSensitiveLog, StartCopyJobOutputFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1StartCopyJobCommand, serializeAws_restJson1StartCopyJobCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var StartCopyJobCommand = (function (_super) {
|
|
7
|
+
__extends(StartCopyJobCommand, _super);
|
|
8
|
+
function StartCopyJobCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
StartCopyJobCommand.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 = "StartCopyJobCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: StartCopyJobInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: StartCopyJobOutputFilterSensitiveLog,
|
|
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
|
+
StartCopyJobCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1StartCopyJobCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
StartCopyJobCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1StartCopyJobCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return StartCopyJobCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { StartCopyJobCommand };
|
|
@@ -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 { StartReportJobInputFilterSensitiveLog, StartReportJobOutputFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1StartReportJobCommand, serializeAws_restJson1StartReportJobCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var StartReportJobCommand = (function (_super) {
|
|
7
|
+
__extends(StartReportJobCommand, _super);
|
|
8
|
+
function StartReportJobCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
StartReportJobCommand.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 = "StartReportJobCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: StartReportJobInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: StartReportJobOutputFilterSensitiveLog,
|
|
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
|
+
StartReportJobCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1StartReportJobCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
StartReportJobCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1StartReportJobCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return StartReportJobCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { StartReportJobCommand };
|
|
@@ -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 { StartRestoreJobInputFilterSensitiveLog, StartRestoreJobOutputFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1StartRestoreJobCommand, serializeAws_restJson1StartRestoreJobCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var StartRestoreJobCommand = (function (_super) {
|
|
7
|
+
__extends(StartRestoreJobCommand, _super);
|
|
8
|
+
function StartRestoreJobCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
StartRestoreJobCommand.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 = "StartRestoreJobCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: StartRestoreJobInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: StartRestoreJobOutputFilterSensitiveLog,
|
|
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
|
+
StartRestoreJobCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1StartRestoreJobCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
StartRestoreJobCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1StartRestoreJobCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return StartRestoreJobCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { StartRestoreJobCommand };
|
|
@@ -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 { StopBackupJobInputFilterSensitiveLog } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1StopBackupJobCommand, serializeAws_restJson1StopBackupJobCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var StopBackupJobCommand = (function (_super) {
|
|
7
|
+
__extends(StopBackupJobCommand, _super);
|
|
8
|
+
function StopBackupJobCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
StopBackupJobCommand.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 = "StopBackupJobCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: StopBackupJobInputFilterSensitiveLog,
|
|
21
|
-
outputFilterSensitiveLog: (output)
|
|
24
|
+
outputFilterSensitiveLog: function (output) { return output; },
|
|
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
|
+
StopBackupJobCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1StopBackupJobCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
StopBackupJobCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1StopBackupJobCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return StopBackupJobCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { StopBackupJobCommand };
|
|
@@ -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 { TagResourceInputFilterSensitiveLog } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1TagResourceCommand, serializeAws_restJson1TagResourceCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var TagResourceCommand = (function (_super) {
|
|
7
|
+
__extends(TagResourceCommand, _super);
|
|
8
|
+
function TagResourceCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
TagResourceCommand.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 = "TagResourceCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: TagResourceInputFilterSensitiveLog,
|
|
21
|
-
outputFilterSensitiveLog: (output)
|
|
24
|
+
outputFilterSensitiveLog: function (output) { return output; },
|
|
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
|
+
TagResourceCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1TagResourceCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
TagResourceCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1TagResourceCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return TagResourceCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { TagResourceCommand };
|