@aws-sdk/client-backup 3.39.0 → 3.43.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 +41 -0
- package/dist-cjs/endpoints.js +74 -5
- package/dist-cjs/models/models_0.js +16 -4
- package/dist-cjs/protocols/Aws_restJson1.js +117 -0
- package/dist-cjs/runtimeConfig.browser.js +6 -3
- package/dist-cjs/runtimeConfig.js +5 -3
- package/dist-es/endpoints.js +74 -5
- package/dist-es/models/models_0.js +8 -0
- package/dist-es/protocols/Aws_restJson1.js +133 -29
- package/dist-es/runtimeConfig.browser.js +3 -2
- package/dist-es/runtimeConfig.js +3 -3
- package/dist-types/Backup.d.ts +6 -40
- package/dist-types/BackupClient.d.ts +8 -0
- package/dist-types/commands/CreateBackupPlanCommand.d.ts +1 -1
- package/dist-types/commands/CreateBackupSelectionCommand.d.ts +3 -41
- package/dist-types/commands/CreateBackupVaultCommand.d.ts +1 -1
- package/dist-types/commands/CreateFrameworkCommand.d.ts +1 -1
- package/dist-types/commands/CreateReportPlanCommand.d.ts +1 -1
- package/dist-types/commands/DeleteBackupPlanCommand.d.ts +1 -1
- package/dist-types/commands/DeleteBackupSelectionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteBackupVaultAccessPolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteBackupVaultCommand.d.ts +1 -1
- package/dist-types/commands/DeleteBackupVaultLockConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteBackupVaultNotificationsCommand.d.ts +1 -1
- package/dist-types/commands/DeleteFrameworkCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRecoveryPointCommand.d.ts +1 -1
- package/dist-types/commands/DeleteReportPlanCommand.d.ts +1 -1
- package/dist-types/commands/DescribeBackupJobCommand.d.ts +1 -1
- package/dist-types/commands/DescribeBackupVaultCommand.d.ts +1 -1
- package/dist-types/commands/DescribeCopyJobCommand.d.ts +1 -1
- package/dist-types/commands/DescribeFrameworkCommand.d.ts +1 -1
- package/dist-types/commands/DescribeGlobalSettingsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeProtectedResourceCommand.d.ts +1 -1
- package/dist-types/commands/DescribeRecoveryPointCommand.d.ts +1 -1
- package/dist-types/commands/DescribeRegionSettingsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeReportJobCommand.d.ts +1 -1
- package/dist-types/commands/DescribeReportPlanCommand.d.ts +1 -1
- package/dist-types/commands/DescribeRestoreJobCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateRecoveryPointCommand.d.ts +1 -1
- package/dist-types/commands/ExportBackupPlanTemplateCommand.d.ts +1 -1
- package/dist-types/commands/GetBackupPlanCommand.d.ts +1 -1
- package/dist-types/commands/GetBackupPlanFromJSONCommand.d.ts +1 -1
- package/dist-types/commands/GetBackupPlanFromTemplateCommand.d.ts +1 -1
- package/dist-types/commands/GetBackupSelectionCommand.d.ts +1 -1
- package/dist-types/commands/GetBackupVaultAccessPolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetBackupVaultNotificationsCommand.d.ts +1 -1
- package/dist-types/commands/GetRecoveryPointRestoreMetadataCommand.d.ts +1 -1
- package/dist-types/commands/GetSupportedResourceTypesCommand.d.ts +1 -1
- package/dist-types/commands/ListBackupJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListBackupPlanTemplatesCommand.d.ts +1 -1
- package/dist-types/commands/ListBackupPlanVersionsCommand.d.ts +1 -1
- package/dist-types/commands/ListBackupPlansCommand.d.ts +1 -1
- package/dist-types/commands/ListBackupSelectionsCommand.d.ts +1 -1
- package/dist-types/commands/ListBackupVaultsCommand.d.ts +1 -1
- package/dist-types/commands/ListCopyJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListFrameworksCommand.d.ts +1 -1
- package/dist-types/commands/ListProtectedResourcesCommand.d.ts +1 -1
- package/dist-types/commands/ListRecoveryPointsByBackupVaultCommand.d.ts +1 -1
- package/dist-types/commands/ListRecoveryPointsByResourceCommand.d.ts +1 -1
- package/dist-types/commands/ListReportJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListReportPlansCommand.d.ts +1 -1
- package/dist-types/commands/ListRestoreJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsCommand.d.ts +1 -1
- package/dist-types/commands/PutBackupVaultAccessPolicyCommand.d.ts +1 -1
- package/dist-types/commands/PutBackupVaultLockConfigurationCommand.d.ts +5 -1
- package/dist-types/commands/PutBackupVaultNotificationsCommand.d.ts +1 -1
- package/dist-types/commands/StartBackupJobCommand.d.ts +1 -1
- package/dist-types/commands/StartCopyJobCommand.d.ts +1 -1
- package/dist-types/commands/StartReportJobCommand.d.ts +1 -1
- package/dist-types/commands/StartRestoreJobCommand.d.ts +1 -1
- package/dist-types/commands/StopBackupJobCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateBackupPlanCommand.d.ts +1 -1
- package/dist-types/commands/UpdateFrameworkCommand.d.ts +1 -1
- package/dist-types/commands/UpdateGlobalSettingsCommand.d.ts +1 -1
- package/dist-types/commands/UpdateRecoveryPointLifecycleCommand.d.ts +1 -1
- package/dist-types/commands/UpdateRegionSettingsCommand.d.ts +1 -1
- package/dist-types/commands/UpdateReportPlanCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +197 -46
- package/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/runtimeConfig.d.ts +2 -0
- package/dist-types/runtimeConfig.native.d.ts +2 -0
- package/dist-types/ts3.4/BackupClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/package.json +23 -23
|
@@ -2062,7 +2062,10 @@ export var serializeAws_restJson1UpdateRegionSettingsCommand = function (input,
|
|
|
2062
2062
|
"content-type": "application/json",
|
|
2063
2063
|
};
|
|
2064
2064
|
resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/account-settings";
|
|
2065
|
-
body = JSON.stringify(__assign({}, (input.
|
|
2065
|
+
body = JSON.stringify(__assign(__assign({}, (input.ResourceTypeManagementPreference !== undefined &&
|
|
2066
|
+
input.ResourceTypeManagementPreference !== null && {
|
|
2067
|
+
ResourceTypeManagementPreference: serializeAws_restJson1ResourceTypeManagementPreference(input.ResourceTypeManagementPreference, context),
|
|
2068
|
+
})), (input.ResourceTypeOptInPreference !== undefined &&
|
|
2066
2069
|
input.ResourceTypeOptInPreference !== null && {
|
|
2067
2070
|
ResourceTypeOptInPreference: serializeAws_restJson1ResourceTypeOptInPreference(input.ResourceTypeOptInPreference, context),
|
|
2068
2071
|
})));
|
|
@@ -4256,6 +4259,7 @@ export var deserializeAws_restJson1DescribeRegionSettingsCommand = function (out
|
|
|
4256
4259
|
}
|
|
4257
4260
|
contents = {
|
|
4258
4261
|
$metadata: deserializeMetadata(output),
|
|
4262
|
+
ResourceTypeManagementPreference: undefined,
|
|
4259
4263
|
ResourceTypeOptInPreference: undefined,
|
|
4260
4264
|
};
|
|
4261
4265
|
_a = __expectNonNull;
|
|
@@ -4263,6 +4267,9 @@ export var deserializeAws_restJson1DescribeRegionSettingsCommand = function (out
|
|
|
4263
4267
|
return [4, parseBody(output.body, context)];
|
|
4264
4268
|
case 1:
|
|
4265
4269
|
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
4270
|
+
if (data.ResourceTypeManagementPreference !== undefined && data.ResourceTypeManagementPreference !== null) {
|
|
4271
|
+
contents.ResourceTypeManagementPreference = deserializeAws_restJson1ResourceTypeManagementPreference(data.ResourceTypeManagementPreference, context);
|
|
4272
|
+
}
|
|
4266
4273
|
if (data.ResourceTypeOptInPreference !== undefined && data.ResourceTypeOptInPreference !== null) {
|
|
4267
4274
|
contents.ResourceTypeOptInPreference = deserializeAws_restJson1ResourceTypeOptInPreference(data.ResourceTypeOptInPreference, context);
|
|
4268
4275
|
}
|
|
@@ -8027,60 +8034,68 @@ export var deserializeAws_restJson1UpdateRecoveryPointLifecycleCommand = functio
|
|
|
8027
8034
|
});
|
|
8028
8035
|
}); };
|
|
8029
8036
|
var deserializeAws_restJson1UpdateRecoveryPointLifecycleCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
8030
|
-
var parsedOutput, _a, response, errorCode, _b, _c, _d, _e, _f, parsedBody, message;
|
|
8031
|
-
var
|
|
8032
|
-
return __generator(this, function (
|
|
8033
|
-
switch (
|
|
8037
|
+
var parsedOutput, _a, response, errorCode, _b, _c, _d, _e, _f, _g, parsedBody, message;
|
|
8038
|
+
var _h;
|
|
8039
|
+
return __generator(this, function (_j) {
|
|
8040
|
+
switch (_j.label) {
|
|
8034
8041
|
case 0:
|
|
8035
8042
|
_a = [__assign({}, output)];
|
|
8036
|
-
|
|
8043
|
+
_h = {};
|
|
8037
8044
|
return [4, parseBody(output.body, context)];
|
|
8038
8045
|
case 1:
|
|
8039
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
8046
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_h.body = _j.sent(), _h)]));
|
|
8040
8047
|
errorCode = "UnknownError";
|
|
8041
8048
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8042
8049
|
_b = errorCode;
|
|
8043
8050
|
switch (_b) {
|
|
8044
8051
|
case "InvalidParameterValueException": return [3, 2];
|
|
8045
8052
|
case "com.amazonaws.backup#InvalidParameterValueException": return [3, 2];
|
|
8046
|
-
case "
|
|
8047
|
-
case "com.amazonaws.backup#
|
|
8048
|
-
case "
|
|
8049
|
-
case "com.amazonaws.backup#
|
|
8050
|
-
case "
|
|
8051
|
-
case "com.amazonaws.backup#
|
|
8053
|
+
case "InvalidRequestException": return [3, 4];
|
|
8054
|
+
case "com.amazonaws.backup#InvalidRequestException": return [3, 4];
|
|
8055
|
+
case "MissingParameterValueException": return [3, 6];
|
|
8056
|
+
case "com.amazonaws.backup#MissingParameterValueException": return [3, 6];
|
|
8057
|
+
case "ResourceNotFoundException": return [3, 8];
|
|
8058
|
+
case "com.amazonaws.backup#ResourceNotFoundException": return [3, 8];
|
|
8059
|
+
case "ServiceUnavailableException": return [3, 10];
|
|
8060
|
+
case "com.amazonaws.backup#ServiceUnavailableException": return [3, 10];
|
|
8052
8061
|
}
|
|
8053
|
-
return [3,
|
|
8062
|
+
return [3, 12];
|
|
8054
8063
|
case 2:
|
|
8055
8064
|
_c = [{}];
|
|
8056
8065
|
return [4, deserializeAws_restJson1InvalidParameterValueExceptionResponse(parsedOutput, context)];
|
|
8057
8066
|
case 3:
|
|
8058
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(
|
|
8059
|
-
return [3,
|
|
8067
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
8068
|
+
return [3, 13];
|
|
8060
8069
|
case 4:
|
|
8061
8070
|
_d = [{}];
|
|
8062
|
-
return [4,
|
|
8071
|
+
return [4, deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context)];
|
|
8063
8072
|
case 5:
|
|
8064
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(
|
|
8065
|
-
return [3,
|
|
8073
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
8074
|
+
return [3, 13];
|
|
8066
8075
|
case 6:
|
|
8067
8076
|
_e = [{}];
|
|
8068
|
-
return [4,
|
|
8077
|
+
return [4, deserializeAws_restJson1MissingParameterValueExceptionResponse(parsedOutput, context)];
|
|
8069
8078
|
case 7:
|
|
8070
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(
|
|
8071
|
-
return [3,
|
|
8079
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
8080
|
+
return [3, 13];
|
|
8072
8081
|
case 8:
|
|
8073
8082
|
_f = [{}];
|
|
8074
|
-
return [4,
|
|
8083
|
+
return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
8075
8084
|
case 9:
|
|
8076
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(
|
|
8077
|
-
return [3,
|
|
8085
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
8086
|
+
return [3, 13];
|
|
8078
8087
|
case 10:
|
|
8088
|
+
_g = [{}];
|
|
8089
|
+
return [4, deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context)];
|
|
8090
|
+
case 11:
|
|
8091
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
8092
|
+
return [3, 13];
|
|
8093
|
+
case 12:
|
|
8079
8094
|
parsedBody = parsedOutput.body;
|
|
8080
8095
|
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
8081
8096
|
response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) });
|
|
8082
|
-
|
|
8083
|
-
case
|
|
8097
|
+
_j.label = 13;
|
|
8098
|
+
case 13:
|
|
8084
8099
|
message = response.message || response.Message || errorCode;
|
|
8085
8100
|
response.message = message;
|
|
8086
8101
|
delete response.Message;
|
|
@@ -8608,8 +8623,10 @@ var serializeAws_restJson1BackupRulesInput = function (input, context) {
|
|
|
8608
8623
|
});
|
|
8609
8624
|
};
|
|
8610
8625
|
var serializeAws_restJson1BackupSelection = function (input, context) {
|
|
8611
|
-
return __assign(__assign(__assign(__assign(
|
|
8612
|
-
input.
|
|
8626
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Conditions !== undefined &&
|
|
8627
|
+
input.Conditions !== null && { Conditions: serializeAws_restJson1Conditions(input.Conditions, context) })), (input.IamRoleArn !== undefined && input.IamRoleArn !== null && { IamRoleArn: input.IamRoleArn })), (input.ListOfTags !== undefined &&
|
|
8628
|
+
input.ListOfTags !== null && { ListOfTags: serializeAws_restJson1ListOfTags(input.ListOfTags, context) })), (input.NotResources !== undefined &&
|
|
8629
|
+
input.NotResources !== null && { NotResources: serializeAws_restJson1ResourceArns(input.NotResources, context) })), (input.Resources !== undefined &&
|
|
8613
8630
|
input.Resources !== null && { Resources: serializeAws_restJson1ResourceArns(input.Resources, context) })), (input.SelectionName !== undefined && input.SelectionName !== null && { SelectionName: input.SelectionName }));
|
|
8614
8631
|
};
|
|
8615
8632
|
var serializeAws_restJson1BackupVaultEvents = function (input, context) {
|
|
@@ -8636,6 +8653,35 @@ var serializeAws_restJson1Condition = function (input, context) {
|
|
|
8636
8653
|
return __assign(__assign(__assign({}, (input.ConditionKey !== undefined && input.ConditionKey !== null && { ConditionKey: input.ConditionKey })), (input.ConditionType !== undefined && input.ConditionType !== null && { ConditionType: input.ConditionType })), (input.ConditionValue !== undefined &&
|
|
8637
8654
|
input.ConditionValue !== null && { ConditionValue: input.ConditionValue }));
|
|
8638
8655
|
};
|
|
8656
|
+
var serializeAws_restJson1ConditionParameter = function (input, context) {
|
|
8657
|
+
return __assign(__assign({}, (input.ConditionKey !== undefined && input.ConditionKey !== null && { ConditionKey: input.ConditionKey })), (input.ConditionValue !== undefined &&
|
|
8658
|
+
input.ConditionValue !== null && { ConditionValue: input.ConditionValue }));
|
|
8659
|
+
};
|
|
8660
|
+
var serializeAws_restJson1ConditionParameters = function (input, context) {
|
|
8661
|
+
return input
|
|
8662
|
+
.filter(function (e) { return e != null; })
|
|
8663
|
+
.map(function (entry) {
|
|
8664
|
+
if (entry === null) {
|
|
8665
|
+
return null;
|
|
8666
|
+
}
|
|
8667
|
+
return serializeAws_restJson1ConditionParameter(entry, context);
|
|
8668
|
+
});
|
|
8669
|
+
};
|
|
8670
|
+
var serializeAws_restJson1Conditions = function (input, context) {
|
|
8671
|
+
return __assign(__assign(__assign(__assign({}, (input.StringEquals !== undefined &&
|
|
8672
|
+
input.StringEquals !== null && {
|
|
8673
|
+
StringEquals: serializeAws_restJson1ConditionParameters(input.StringEquals, context),
|
|
8674
|
+
})), (input.StringLike !== undefined &&
|
|
8675
|
+
input.StringLike !== null && {
|
|
8676
|
+
StringLike: serializeAws_restJson1ConditionParameters(input.StringLike, context),
|
|
8677
|
+
})), (input.StringNotEquals !== undefined &&
|
|
8678
|
+
input.StringNotEquals !== null && {
|
|
8679
|
+
StringNotEquals: serializeAws_restJson1ConditionParameters(input.StringNotEquals, context),
|
|
8680
|
+
})), (input.StringNotLike !== undefined &&
|
|
8681
|
+
input.StringNotLike !== null && {
|
|
8682
|
+
StringNotLike: serializeAws_restJson1ConditionParameters(input.StringNotLike, context),
|
|
8683
|
+
}));
|
|
8684
|
+
};
|
|
8639
8685
|
var serializeAws_restJson1ControlInputParameter = function (input, context) {
|
|
8640
8686
|
return __assign(__assign({}, (input.ParameterName !== undefined && input.ParameterName !== null && { ParameterName: input.ParameterName })), (input.ParameterValue !== undefined &&
|
|
8641
8687
|
input.ParameterValue !== null && { ParameterValue: input.ParameterValue }));
|
|
@@ -8769,6 +8815,16 @@ var serializeAws_restJson1ResourceTypeList = function (input, context) {
|
|
|
8769
8815
|
return entry;
|
|
8770
8816
|
});
|
|
8771
8817
|
};
|
|
8818
|
+
var serializeAws_restJson1ResourceTypeManagementPreference = function (input, context) {
|
|
8819
|
+
return Object.entries(input).reduce(function (acc, _a) {
|
|
8820
|
+
var _b;
|
|
8821
|
+
var _c = __read(_a, 2), key = _c[0], value = _c[1];
|
|
8822
|
+
if (value === null) {
|
|
8823
|
+
return acc;
|
|
8824
|
+
}
|
|
8825
|
+
return __assign(__assign({}, acc), (_b = {}, _b[key] = value, _b));
|
|
8826
|
+
}, {});
|
|
8827
|
+
};
|
|
8772
8828
|
var serializeAws_restJson1ResourceTypeOptInPreference = function (input, context) {
|
|
8773
8829
|
return Object.entries(input).reduce(function (acc, _a) {
|
|
8774
8830
|
var _b;
|
|
@@ -8993,10 +9049,16 @@ var deserializeAws_restJson1BackupRules = function (output, context) {
|
|
|
8993
9049
|
};
|
|
8994
9050
|
var deserializeAws_restJson1BackupSelection = function (output, context) {
|
|
8995
9051
|
return {
|
|
9052
|
+
Conditions: output.Conditions !== undefined && output.Conditions !== null
|
|
9053
|
+
? deserializeAws_restJson1Conditions(output.Conditions, context)
|
|
9054
|
+
: undefined,
|
|
8996
9055
|
IamRoleArn: __expectString(output.IamRoleArn),
|
|
8997
9056
|
ListOfTags: output.ListOfTags !== undefined && output.ListOfTags !== null
|
|
8998
9057
|
? deserializeAws_restJson1ListOfTags(output.ListOfTags, context)
|
|
8999
9058
|
: undefined,
|
|
9059
|
+
NotResources: output.NotResources !== undefined && output.NotResources !== null
|
|
9060
|
+
? deserializeAws_restJson1ResourceArns(output.NotResources, context)
|
|
9061
|
+
: undefined,
|
|
9000
9062
|
Resources: output.Resources !== undefined && output.Resources !== null
|
|
9001
9063
|
? deserializeAws_restJson1ResourceArns(output.Resources, context)
|
|
9002
9064
|
: undefined,
|
|
@@ -9090,6 +9152,38 @@ var deserializeAws_restJson1Condition = function (output, context) {
|
|
|
9090
9152
|
ConditionValue: __expectString(output.ConditionValue),
|
|
9091
9153
|
};
|
|
9092
9154
|
};
|
|
9155
|
+
var deserializeAws_restJson1ConditionParameter = function (output, context) {
|
|
9156
|
+
return {
|
|
9157
|
+
ConditionKey: __expectString(output.ConditionKey),
|
|
9158
|
+
ConditionValue: __expectString(output.ConditionValue),
|
|
9159
|
+
};
|
|
9160
|
+
};
|
|
9161
|
+
var deserializeAws_restJson1ConditionParameters = function (output, context) {
|
|
9162
|
+
return (output || [])
|
|
9163
|
+
.filter(function (e) { return e != null; })
|
|
9164
|
+
.map(function (entry) {
|
|
9165
|
+
if (entry === null) {
|
|
9166
|
+
return null;
|
|
9167
|
+
}
|
|
9168
|
+
return deserializeAws_restJson1ConditionParameter(entry, context);
|
|
9169
|
+
});
|
|
9170
|
+
};
|
|
9171
|
+
var deserializeAws_restJson1Conditions = function (output, context) {
|
|
9172
|
+
return {
|
|
9173
|
+
StringEquals: output.StringEquals !== undefined && output.StringEquals !== null
|
|
9174
|
+
? deserializeAws_restJson1ConditionParameters(output.StringEquals, context)
|
|
9175
|
+
: undefined,
|
|
9176
|
+
StringLike: output.StringLike !== undefined && output.StringLike !== null
|
|
9177
|
+
? deserializeAws_restJson1ConditionParameters(output.StringLike, context)
|
|
9178
|
+
: undefined,
|
|
9179
|
+
StringNotEquals: output.StringNotEquals !== undefined && output.StringNotEquals !== null
|
|
9180
|
+
? deserializeAws_restJson1ConditionParameters(output.StringNotEquals, context)
|
|
9181
|
+
: undefined,
|
|
9182
|
+
StringNotLike: output.StringNotLike !== undefined && output.StringNotLike !== null
|
|
9183
|
+
? deserializeAws_restJson1ConditionParameters(output.StringNotLike, context)
|
|
9184
|
+
: undefined,
|
|
9185
|
+
};
|
|
9186
|
+
};
|
|
9093
9187
|
var deserializeAws_restJson1ControlInputParameter = function (output, context) {
|
|
9094
9188
|
return {
|
|
9095
9189
|
ParameterName: __expectString(output.ParameterName),
|
|
@@ -9462,6 +9556,16 @@ var deserializeAws_restJson1ResourceTypeList = function (output, context) {
|
|
|
9462
9556
|
return __expectString(entry);
|
|
9463
9557
|
});
|
|
9464
9558
|
};
|
|
9559
|
+
var deserializeAws_restJson1ResourceTypeManagementPreference = function (output, context) {
|
|
9560
|
+
return Object.entries(output).reduce(function (acc, _a) {
|
|
9561
|
+
var _b;
|
|
9562
|
+
var _c = __read(_a, 2), key = _c[0], value = _c[1];
|
|
9563
|
+
if (value === null) {
|
|
9564
|
+
return acc;
|
|
9565
|
+
}
|
|
9566
|
+
return __assign(__assign({}, acc), (_b = {}, _b[key] = __expectBoolean(value), _b));
|
|
9567
|
+
}, {});
|
|
9568
|
+
};
|
|
9465
9569
|
var deserializeAws_restJson1ResourceTypeOptInPreference = function (output, context) {
|
|
9466
9570
|
return Object.entries(output).reduce(function (acc, _a) {
|
|
9467
9571
|
var _b;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
4
|
+
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
|
|
4
5
|
import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
5
6
|
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
6
7
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
|
|
@@ -10,7 +11,7 @@ import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
|
10
11
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
11
12
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
12
13
|
export var getRuntimeConfig = function (config) {
|
|
13
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
14
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
14
15
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
15
|
-
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new FetchHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector,
|
|
16
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new FetchHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
|
|
16
17
|
};
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
4
|
-
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS } from "@aws-sdk/config-resolver";
|
|
4
|
+
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
|
|
5
5
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
6
6
|
import { Hash } from "@aws-sdk/hash-node";
|
|
7
7
|
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
|
|
@@ -14,8 +14,8 @@ import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
|
14
14
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
15
15
|
import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
|
|
16
16
|
export var getRuntimeConfig = function (config) {
|
|
17
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
17
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
18
18
|
emitWarningIfUnsupportedVersion(process.version);
|
|
19
19
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
20
|
-
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector,
|
|
20
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
|
|
21
21
|
};
|
package/dist-types/Backup.d.ts
CHANGED
|
@@ -86,46 +86,8 @@ export declare class Backup extends BackupClient {
|
|
|
86
86
|
createBackupPlan(args: CreateBackupPlanCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateBackupPlanCommandOutput) => void): void;
|
|
87
87
|
/**
|
|
88
88
|
* <p>Creates a JSON document that specifies a set of resources to assign to a backup plan.
|
|
89
|
-
*
|
|
90
|
-
*
|
|
91
|
-
* <p>For example, consider the following patterns:</p>
|
|
92
|
-
* <ul>
|
|
93
|
-
* <li>
|
|
94
|
-
* <p>
|
|
95
|
-
* <code>Resources: "arn:aws:ec2:region:account-id:volume/volume-id"</code>
|
|
96
|
-
* </p>
|
|
97
|
-
* </li>
|
|
98
|
-
* <li>
|
|
99
|
-
* <p>
|
|
100
|
-
* <code>ConditionKey:"department"</code>
|
|
101
|
-
* </p>
|
|
102
|
-
* <p>
|
|
103
|
-
* <code>ConditionValue:"finance"</code>
|
|
104
|
-
* </p>
|
|
105
|
-
* <p>
|
|
106
|
-
* <code>ConditionType:"StringEquals"</code>
|
|
107
|
-
* </p>
|
|
108
|
-
* </li>
|
|
109
|
-
* <li>
|
|
110
|
-
* <p>
|
|
111
|
-
* <code>ConditionKey:"importance"</code>
|
|
112
|
-
* </p>
|
|
113
|
-
* <p>
|
|
114
|
-
* <code>ConditionValue:"critical"</code>
|
|
115
|
-
* </p>
|
|
116
|
-
* <p>
|
|
117
|
-
* <code>ConditionType:"StringEquals"</code>
|
|
118
|
-
* </p>
|
|
119
|
-
* </li>
|
|
120
|
-
* </ul>
|
|
121
|
-
* <p>Using these patterns would back up all Amazon Elastic Block Store (Amazon EBS)
|
|
122
|
-
* volumes that are tagged as <code>"department=finance"</code>,
|
|
123
|
-
* <code>"importance=critical"</code>, in addition to an EBS volume with the specified
|
|
124
|
-
* volume ID.</p>
|
|
125
|
-
* <p>Resources and conditions are additive in that all resources that match the pattern are
|
|
126
|
-
* selected. This shouldn't be confused with a logical AND, where all conditions must match.
|
|
127
|
-
* The matching patterns are logically put together using the OR operator.
|
|
128
|
-
* In other words, all patterns that match are selected for backup.</p>
|
|
89
|
+
* For examples, see <a href="https://docs.aws.amazon.com/assigning-resources.html#assigning-resources-json">Assigning resources
|
|
90
|
+
* programmatically</a>. </p>
|
|
129
91
|
*/
|
|
130
92
|
createBackupSelection(args: CreateBackupSelectionCommandInput, options?: __HttpHandlerOptions): Promise<CreateBackupSelectionCommandOutput>;
|
|
131
93
|
createBackupSelection(args: CreateBackupSelectionCommandInput, cb: (err: any, data?: CreateBackupSelectionCommandOutput) => void): void;
|
|
@@ -494,6 +456,10 @@ export declare class Backup extends BackupClient {
|
|
|
494
456
|
* attempts to update the lifecycle policy that controls the retention period of any recovery
|
|
495
457
|
* point currently stored in a backup vault. If specified, Vault Lock enforces a minimum and
|
|
496
458
|
* maximum retention period for future backup and copy jobs that target a backup vault.</p>
|
|
459
|
+
* <note>
|
|
460
|
+
* <p>Backup Vault Lock has yet to receive a third-party assessment for SEC
|
|
461
|
+
* 17a-4(f) and CFTC.</p>
|
|
462
|
+
* </note>
|
|
497
463
|
*/
|
|
498
464
|
putBackupVaultLockConfiguration(args: PutBackupVaultLockConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<PutBackupVaultLockConfigurationCommandOutput>;
|
|
499
465
|
putBackupVaultLockConfiguration(args: PutBackupVaultLockConfigurationCommandInput, cb: (err: any, data?: PutBackupVaultLockConfigurationCommandOutput) => void): void;
|
|
@@ -142,6 +142,14 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
142
142
|
* Optional logger for logging debug/info/warn/error.
|
|
143
143
|
*/
|
|
144
144
|
logger?: __Logger;
|
|
145
|
+
/**
|
|
146
|
+
* Enables IPv6/IPv4 dualstack endpoint.
|
|
147
|
+
*/
|
|
148
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
149
|
+
/**
|
|
150
|
+
* Enables FIPS compatible endpoints.
|
|
151
|
+
*/
|
|
152
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
145
153
|
/**
|
|
146
154
|
* Unique service identifier.
|
|
147
155
|
* @internal
|
|
@@ -24,7 +24,7 @@ export interface CreateBackupPlanCommandOutput extends CreateBackupPlanOutput, _
|
|
|
24
24
|
*
|
|
25
25
|
* @see {@link CreateBackupPlanCommandInput} for command's `input` shape.
|
|
26
26
|
* @see {@link CreateBackupPlanCommandOutput} for command's `response` shape.
|
|
27
|
-
* @see {@link BackupClientResolvedConfig | config} for
|
|
27
|
+
* @see {@link BackupClientResolvedConfig | config} for BackupClient's `config` shape.
|
|
28
28
|
*
|
|
29
29
|
*/
|
|
30
30
|
export declare class CreateBackupPlanCommand extends $Command<CreateBackupPlanCommandInput, CreateBackupPlanCommandOutput, BackupClientResolvedConfig> {
|
|
@@ -8,46 +8,8 @@ export interface CreateBackupSelectionCommandOutput extends CreateBackupSelectio
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Creates a JSON document that specifies a set of resources to assign to a backup plan.
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
* <p>For example, consider the following patterns:</p>
|
|
14
|
-
* <ul>
|
|
15
|
-
* <li>
|
|
16
|
-
* <p>
|
|
17
|
-
* <code>Resources: "arn:aws:ec2:region:account-id:volume/volume-id"</code>
|
|
18
|
-
* </p>
|
|
19
|
-
* </li>
|
|
20
|
-
* <li>
|
|
21
|
-
* <p>
|
|
22
|
-
* <code>ConditionKey:"department"</code>
|
|
23
|
-
* </p>
|
|
24
|
-
* <p>
|
|
25
|
-
* <code>ConditionValue:"finance"</code>
|
|
26
|
-
* </p>
|
|
27
|
-
* <p>
|
|
28
|
-
* <code>ConditionType:"StringEquals"</code>
|
|
29
|
-
* </p>
|
|
30
|
-
* </li>
|
|
31
|
-
* <li>
|
|
32
|
-
* <p>
|
|
33
|
-
* <code>ConditionKey:"importance"</code>
|
|
34
|
-
* </p>
|
|
35
|
-
* <p>
|
|
36
|
-
* <code>ConditionValue:"critical"</code>
|
|
37
|
-
* </p>
|
|
38
|
-
* <p>
|
|
39
|
-
* <code>ConditionType:"StringEquals"</code>
|
|
40
|
-
* </p>
|
|
41
|
-
* </li>
|
|
42
|
-
* </ul>
|
|
43
|
-
* <p>Using these patterns would back up all Amazon Elastic Block Store (Amazon EBS)
|
|
44
|
-
* volumes that are tagged as <code>"department=finance"</code>,
|
|
45
|
-
* <code>"importance=critical"</code>, in addition to an EBS volume with the specified
|
|
46
|
-
* volume ID.</p>
|
|
47
|
-
* <p>Resources and conditions are additive in that all resources that match the pattern are
|
|
48
|
-
* selected. This shouldn't be confused with a logical AND, where all conditions must match.
|
|
49
|
-
* The matching patterns are logically put together using the OR operator.
|
|
50
|
-
* In other words, all patterns that match are selected for backup.</p>
|
|
11
|
+
* For examples, see <a href="https://docs.aws.amazon.com/assigning-resources.html#assigning-resources-json">Assigning resources
|
|
12
|
+
* programmatically</a>. </p>
|
|
51
13
|
* @example
|
|
52
14
|
* Use a bare-bones client and the command you need to make an API call.
|
|
53
15
|
* ```javascript
|
|
@@ -60,7 +22,7 @@ export interface CreateBackupSelectionCommandOutput extends CreateBackupSelectio
|
|
|
60
22
|
*
|
|
61
23
|
* @see {@link CreateBackupSelectionCommandInput} for command's `input` shape.
|
|
62
24
|
* @see {@link CreateBackupSelectionCommandOutput} for command's `response` shape.
|
|
63
|
-
* @see {@link BackupClientResolvedConfig | config} for
|
|
25
|
+
* @see {@link BackupClientResolvedConfig | config} for BackupClient's `config` shape.
|
|
64
26
|
*
|
|
65
27
|
*/
|
|
66
28
|
export declare class CreateBackupSelectionCommand extends $Command<CreateBackupSelectionCommandInput, CreateBackupSelectionCommandOutput, BackupClientResolvedConfig> {
|
|
@@ -26,7 +26,7 @@ export interface CreateBackupVaultCommandOutput extends CreateBackupVaultOutput,
|
|
|
26
26
|
*
|
|
27
27
|
* @see {@link CreateBackupVaultCommandInput} for command's `input` shape.
|
|
28
28
|
* @see {@link CreateBackupVaultCommandOutput} for command's `response` shape.
|
|
29
|
-
* @see {@link BackupClientResolvedConfig | config} for
|
|
29
|
+
* @see {@link BackupClientResolvedConfig | config} for BackupClient's `config` shape.
|
|
30
30
|
*
|
|
31
31
|
*/
|
|
32
32
|
export declare class CreateBackupVaultCommand extends $Command<CreateBackupVaultCommandInput, CreateBackupVaultCommandOutput, BackupClientResolvedConfig> {
|
|
@@ -23,7 +23,7 @@ export interface CreateFrameworkCommandOutput extends CreateFrameworkOutput, __M
|
|
|
23
23
|
*
|
|
24
24
|
* @see {@link CreateFrameworkCommandInput} for command's `input` shape.
|
|
25
25
|
* @see {@link CreateFrameworkCommandOutput} for command's `response` shape.
|
|
26
|
-
* @see {@link BackupClientResolvedConfig | config} for
|
|
26
|
+
* @see {@link BackupClientResolvedConfig | config} for BackupClient's `config` shape.
|
|
27
27
|
*
|
|
28
28
|
*/
|
|
29
29
|
export declare class CreateFrameworkCommand extends $Command<CreateFrameworkCommandInput, CreateFrameworkCommandOutput, BackupClientResolvedConfig> {
|
|
@@ -23,7 +23,7 @@ export interface CreateReportPlanCommandOutput extends CreateReportPlanOutput, _
|
|
|
23
23
|
*
|
|
24
24
|
* @see {@link CreateReportPlanCommandInput} for command's `input` shape.
|
|
25
25
|
* @see {@link CreateReportPlanCommandOutput} for command's `response` shape.
|
|
26
|
-
* @see {@link BackupClientResolvedConfig | config} for
|
|
26
|
+
* @see {@link BackupClientResolvedConfig | config} for BackupClient's `config` shape.
|
|
27
27
|
*
|
|
28
28
|
*/
|
|
29
29
|
export declare class CreateReportPlanCommand extends $Command<CreateReportPlanCommandInput, CreateReportPlanCommandOutput, BackupClientResolvedConfig> {
|
|
@@ -22,7 +22,7 @@ export interface DeleteBackupPlanCommandOutput extends DeleteBackupPlanOutput, _
|
|
|
22
22
|
*
|
|
23
23
|
* @see {@link DeleteBackupPlanCommandInput} for command's `input` shape.
|
|
24
24
|
* @see {@link DeleteBackupPlanCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link BackupClientResolvedConfig | config} for
|
|
25
|
+
* @see {@link BackupClientResolvedConfig | config} for BackupClient's `config` shape.
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
28
28
|
export declare class DeleteBackupPlanCommand extends $Command<DeleteBackupPlanCommandInput, DeleteBackupPlanCommandOutput, BackupClientResolvedConfig> {
|
|
@@ -21,7 +21,7 @@ export interface DeleteBackupSelectionCommandOutput extends __MetadataBearer {
|
|
|
21
21
|
*
|
|
22
22
|
* @see {@link DeleteBackupSelectionCommandInput} for command's `input` shape.
|
|
23
23
|
* @see {@link DeleteBackupSelectionCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link BackupClientResolvedConfig | config} for
|
|
24
|
+
* @see {@link BackupClientResolvedConfig | config} for BackupClient's `config` shape.
|
|
25
25
|
*
|
|
26
26
|
*/
|
|
27
27
|
export declare class DeleteBackupSelectionCommand extends $Command<DeleteBackupSelectionCommandInput, DeleteBackupSelectionCommandOutput, BackupClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface DeleteBackupVaultAccessPolicyCommandOutput extends __MetadataBe
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link DeleteBackupVaultAccessPolicyCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link DeleteBackupVaultAccessPolicyCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link BackupClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link BackupClientResolvedConfig | config} for BackupClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class DeleteBackupVaultAccessPolicyCommand extends $Command<DeleteBackupVaultAccessPolicyCommandInput, DeleteBackupVaultAccessPolicyCommandOutput, BackupClientResolvedConfig> {
|
|
@@ -21,7 +21,7 @@ export interface DeleteBackupVaultCommandOutput extends __MetadataBearer {
|
|
|
21
21
|
*
|
|
22
22
|
* @see {@link DeleteBackupVaultCommandInput} for command's `input` shape.
|
|
23
23
|
* @see {@link DeleteBackupVaultCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link BackupClientResolvedConfig | config} for
|
|
24
|
+
* @see {@link BackupClientResolvedConfig | config} for BackupClient's `config` shape.
|
|
25
25
|
*
|
|
26
26
|
*/
|
|
27
27
|
export declare class DeleteBackupVaultCommand extends $Command<DeleteBackupVaultCommandInput, DeleteBackupVaultCommandOutput, BackupClientResolvedConfig> {
|
|
@@ -25,7 +25,7 @@ export interface DeleteBackupVaultLockConfigurationCommandOutput extends __Metad
|
|
|
25
25
|
*
|
|
26
26
|
* @see {@link DeleteBackupVaultLockConfigurationCommandInput} for command's `input` shape.
|
|
27
27
|
* @see {@link DeleteBackupVaultLockConfigurationCommandOutput} for command's `response` shape.
|
|
28
|
-
* @see {@link BackupClientResolvedConfig | config} for
|
|
28
|
+
* @see {@link BackupClientResolvedConfig | config} for BackupClient's `config` shape.
|
|
29
29
|
*
|
|
30
30
|
*/
|
|
31
31
|
export declare class DeleteBackupVaultLockConfigurationCommand extends $Command<DeleteBackupVaultLockConfigurationCommandInput, DeleteBackupVaultLockConfigurationCommandOutput, BackupClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface DeleteBackupVaultNotificationsCommandOutput extends __MetadataB
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link DeleteBackupVaultNotificationsCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link DeleteBackupVaultNotificationsCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link BackupClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link BackupClientResolvedConfig | config} for BackupClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class DeleteBackupVaultNotificationsCommand extends $Command<DeleteBackupVaultNotificationsCommandInput, DeleteBackupVaultNotificationsCommandOutput, BackupClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface DeleteFrameworkCommandOutput extends __MetadataBearer {
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link DeleteFrameworkCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link DeleteFrameworkCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link BackupClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link BackupClientResolvedConfig | config} for BackupClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class DeleteFrameworkCommand extends $Command<DeleteFrameworkCommandInput, DeleteFrameworkCommandOutput, BackupClientResolvedConfig> {
|
|
@@ -22,7 +22,7 @@ export interface DeleteRecoveryPointCommandOutput extends __MetadataBearer {
|
|
|
22
22
|
*
|
|
23
23
|
* @see {@link DeleteRecoveryPointCommandInput} for command's `input` shape.
|
|
24
24
|
* @see {@link DeleteRecoveryPointCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link BackupClientResolvedConfig | config} for
|
|
25
|
+
* @see {@link BackupClientResolvedConfig | config} for BackupClient's `config` shape.
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
28
28
|
export declare class DeleteRecoveryPointCommand extends $Command<DeleteRecoveryPointCommandInput, DeleteRecoveryPointCommandOutput, BackupClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface DeleteReportPlanCommandOutput extends __MetadataBearer {
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link DeleteReportPlanCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link DeleteReportPlanCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link BackupClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link BackupClientResolvedConfig | config} for BackupClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class DeleteReportPlanCommand extends $Command<DeleteReportPlanCommandInput, DeleteReportPlanCommandOutput, BackupClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface DescribeBackupJobCommandOutput extends DescribeBackupJobOutput,
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link DescribeBackupJobCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link DescribeBackupJobCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link BackupClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link BackupClientResolvedConfig | config} for BackupClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class DescribeBackupJobCommand extends $Command<DescribeBackupJobCommandInput, DescribeBackupJobCommandOutput, BackupClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface DescribeBackupVaultCommandOutput extends DescribeBackupVaultOut
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link DescribeBackupVaultCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link DescribeBackupVaultCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link BackupClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link BackupClientResolvedConfig | config} for BackupClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class DescribeBackupVaultCommand extends $Command<DescribeBackupVaultCommandInput, DescribeBackupVaultCommandOutput, BackupClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface DescribeCopyJobCommandOutput extends DescribeCopyJobOutput, __M
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link DescribeCopyJobCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link DescribeCopyJobCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link BackupClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link BackupClientResolvedConfig | config} for BackupClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class DescribeCopyJobCommand extends $Command<DescribeCopyJobCommandInput, DescribeCopyJobCommandOutput, BackupClientResolvedConfig> {
|