@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
package/dist-es/BackupClient.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
|
|
2
3
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
3
4
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
@@ -8,26 +9,31 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
|
|
|
8
9
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
9
10
|
import { Client as __Client, } from "@aws-sdk/smithy-client";
|
|
10
11
|
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
12
|
+
var BackupClient = (function (_super) {
|
|
13
|
+
__extends(BackupClient, _super);
|
|
14
|
+
function BackupClient(configuration) {
|
|
15
|
+
var _this = this;
|
|
16
|
+
var _config_0 = __getRuntimeConfig(configuration);
|
|
17
|
+
var _config_1 = resolveRegionConfig(_config_0);
|
|
18
|
+
var _config_2 = resolveEndpointsConfig(_config_1);
|
|
19
|
+
var _config_3 = resolveRetryConfig(_config_2);
|
|
20
|
+
var _config_4 = resolveHostHeaderConfig(_config_3);
|
|
21
|
+
var _config_5 = resolveAwsAuthConfig(_config_4);
|
|
22
|
+
var _config_6 = resolveUserAgentConfig(_config_5);
|
|
23
|
+
_this = _super.call(this, _config_6) || this;
|
|
24
|
+
_this.config = _config_6;
|
|
25
|
+
_this.middlewareStack.use(getRetryPlugin(_this.config));
|
|
26
|
+
_this.middlewareStack.use(getContentLengthPlugin(_this.config));
|
|
27
|
+
_this.middlewareStack.use(getHostHeaderPlugin(_this.config));
|
|
28
|
+
_this.middlewareStack.use(getLoggerPlugin(_this.config));
|
|
29
|
+
_this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
|
|
30
|
+
_this.middlewareStack.use(getAwsAuthPlugin(_this.config));
|
|
31
|
+
_this.middlewareStack.use(getUserAgentPlugin(_this.config));
|
|
32
|
+
return _this;
|
|
29
33
|
}
|
|
30
|
-
destroy() {
|
|
31
|
-
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
+
BackupClient.prototype.destroy = function () {
|
|
35
|
+
_super.prototype.destroy.call(this);
|
|
36
|
+
};
|
|
37
|
+
return BackupClient;
|
|
38
|
+
}(__Client));
|
|
39
|
+
export { BackupClient };
|
|
@@ -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 { CreateBackupPlanInputFilterSensitiveLog, CreateBackupPlanOutputFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1CreateBackupPlanCommand, serializeAws_restJson1CreateBackupPlanCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CreateBackupPlanCommand = (function (_super) {
|
|
7
|
+
__extends(CreateBackupPlanCommand, _super);
|
|
8
|
+
function CreateBackupPlanCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateBackupPlanCommand.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 = "CreateBackupPlanCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateBackupPlanInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateBackupPlanOutputFilterSensitiveLog,
|
|
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
|
+
CreateBackupPlanCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1CreateBackupPlanCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateBackupPlanCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1CreateBackupPlanCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateBackupPlanCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateBackupPlanCommand };
|
|
@@ -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 { CreateBackupSelectionInputFilterSensitiveLog, CreateBackupSelectionOutputFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1CreateBackupSelectionCommand, serializeAws_restJson1CreateBackupSelectionCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CreateBackupSelectionCommand = (function (_super) {
|
|
7
|
+
__extends(CreateBackupSelectionCommand, _super);
|
|
8
|
+
function CreateBackupSelectionCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateBackupSelectionCommand.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 = "CreateBackupSelectionCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateBackupSelectionInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateBackupSelectionOutputFilterSensitiveLog,
|
|
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
|
+
CreateBackupSelectionCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1CreateBackupSelectionCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateBackupSelectionCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1CreateBackupSelectionCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateBackupSelectionCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateBackupSelectionCommand };
|
|
@@ -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 { CreateBackupVaultInputFilterSensitiveLog, CreateBackupVaultOutputFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1CreateBackupVaultCommand, serializeAws_restJson1CreateBackupVaultCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CreateBackupVaultCommand = (function (_super) {
|
|
7
|
+
__extends(CreateBackupVaultCommand, _super);
|
|
8
|
+
function CreateBackupVaultCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateBackupVaultCommand.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 = "CreateBackupVaultCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateBackupVaultInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateBackupVaultOutputFilterSensitiveLog,
|
|
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
|
+
CreateBackupVaultCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1CreateBackupVaultCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateBackupVaultCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1CreateBackupVaultCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateBackupVaultCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateBackupVaultCommand };
|
|
@@ -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 { CreateFrameworkInputFilterSensitiveLog, CreateFrameworkOutputFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1CreateFrameworkCommand, serializeAws_restJson1CreateFrameworkCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CreateFrameworkCommand = (function (_super) {
|
|
7
|
+
__extends(CreateFrameworkCommand, _super);
|
|
8
|
+
function CreateFrameworkCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateFrameworkCommand.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 = "CreateFrameworkCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateFrameworkInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateFrameworkOutputFilterSensitiveLog,
|
|
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
|
+
CreateFrameworkCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1CreateFrameworkCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateFrameworkCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1CreateFrameworkCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateFrameworkCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateFrameworkCommand };
|
|
@@ -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 { CreateReportPlanInputFilterSensitiveLog, CreateReportPlanOutputFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1CreateReportPlanCommand, serializeAws_restJson1CreateReportPlanCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CreateReportPlanCommand = (function (_super) {
|
|
7
|
+
__extends(CreateReportPlanCommand, _super);
|
|
8
|
+
function CreateReportPlanCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateReportPlanCommand.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 = "CreateReportPlanCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateReportPlanInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateReportPlanOutputFilterSensitiveLog,
|
|
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
|
+
CreateReportPlanCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1CreateReportPlanCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateReportPlanCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1CreateReportPlanCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateReportPlanCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateReportPlanCommand };
|
|
@@ -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 { DeleteBackupPlanInputFilterSensitiveLog, DeleteBackupPlanOutputFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1DeleteBackupPlanCommand, serializeAws_restJson1DeleteBackupPlanCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DeleteBackupPlanCommand = (function (_super) {
|
|
7
|
+
__extends(DeleteBackupPlanCommand, _super);
|
|
8
|
+
function DeleteBackupPlanCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DeleteBackupPlanCommand.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 = "DeleteBackupPlanCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DeleteBackupPlanInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DeleteBackupPlanOutputFilterSensitiveLog,
|
|
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
|
+
DeleteBackupPlanCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1DeleteBackupPlanCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DeleteBackupPlanCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1DeleteBackupPlanCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DeleteBackupPlanCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DeleteBackupPlanCommand };
|
|
@@ -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 { DeleteBackupSelectionInputFilterSensitiveLog } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1DeleteBackupSelectionCommand, serializeAws_restJson1DeleteBackupSelectionCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DeleteBackupSelectionCommand = (function (_super) {
|
|
7
|
+
__extends(DeleteBackupSelectionCommand, _super);
|
|
8
|
+
function DeleteBackupSelectionCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DeleteBackupSelectionCommand.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 = "DeleteBackupSelectionCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DeleteBackupSelectionInputFilterSensitiveLog,
|
|
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
|
+
DeleteBackupSelectionCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1DeleteBackupSelectionCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DeleteBackupSelectionCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1DeleteBackupSelectionCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DeleteBackupSelectionCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DeleteBackupSelectionCommand };
|
|
@@ -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 { DeleteBackupVaultAccessPolicyInputFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1DeleteBackupVaultAccessPolicyCommand, serializeAws_restJson1DeleteBackupVaultAccessPolicyCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DeleteBackupVaultAccessPolicyCommand = (function (_super) {
|
|
7
|
+
__extends(DeleteBackupVaultAccessPolicyCommand, _super);
|
|
8
|
+
function DeleteBackupVaultAccessPolicyCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DeleteBackupVaultAccessPolicyCommand.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 = "DeleteBackupVaultAccessPolicyCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DeleteBackupVaultAccessPolicyInputFilterSensitiveLog,
|
|
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
|
+
DeleteBackupVaultAccessPolicyCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1DeleteBackupVaultAccessPolicyCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DeleteBackupVaultAccessPolicyCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1DeleteBackupVaultAccessPolicyCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DeleteBackupVaultAccessPolicyCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DeleteBackupVaultAccessPolicyCommand };
|
|
@@ -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 { DeleteBackupVaultInputFilterSensitiveLog } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1DeleteBackupVaultCommand, serializeAws_restJson1DeleteBackupVaultCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DeleteBackupVaultCommand = (function (_super) {
|
|
7
|
+
__extends(DeleteBackupVaultCommand, _super);
|
|
8
|
+
function DeleteBackupVaultCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DeleteBackupVaultCommand.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 = "DeleteBackupVaultCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DeleteBackupVaultInputFilterSensitiveLog,
|
|
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
|
+
DeleteBackupVaultCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1DeleteBackupVaultCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DeleteBackupVaultCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1DeleteBackupVaultCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DeleteBackupVaultCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DeleteBackupVaultCommand };
|