@aws-sdk/client-resiliencehub 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/Resiliencehub.js +165 -158
- package/dist-es/ResiliencehubClient.js +28 -22
- package/dist-es/commands/AddDraftAppVersionResourceMappingsCommand.js +28 -21
- package/dist-es/commands/CreateAppCommand.js +28 -21
- package/dist-es/commands/CreateRecommendationTemplateCommand.js +28 -21
- package/dist-es/commands/CreateResiliencyPolicyCommand.js +28 -21
- package/dist-es/commands/DeleteAppAssessmentCommand.js +28 -21
- package/dist-es/commands/DeleteAppCommand.js +28 -21
- package/dist-es/commands/DeleteRecommendationTemplateCommand.js +28 -21
- package/dist-es/commands/DeleteResiliencyPolicyCommand.js +28 -21
- package/dist-es/commands/DescribeAppAssessmentCommand.js +28 -21
- package/dist-es/commands/DescribeAppCommand.js +28 -21
- package/dist-es/commands/DescribeAppVersionResourcesResolutionStatusCommand.js +28 -21
- package/dist-es/commands/DescribeAppVersionTemplateCommand.js +28 -21
- package/dist-es/commands/DescribeDraftAppVersionResourcesImportStatusCommand.js +28 -21
- package/dist-es/commands/DescribeResiliencyPolicyCommand.js +28 -21
- package/dist-es/commands/ImportResourcesToDraftAppVersionCommand.js +28 -21
- package/dist-es/commands/ListAlarmRecommendationsCommand.js +28 -21
- package/dist-es/commands/ListAppAssessmentsCommand.js +28 -21
- package/dist-es/commands/ListAppComponentCompliancesCommand.js +28 -21
- package/dist-es/commands/ListAppComponentRecommendationsCommand.js +28 -21
- package/dist-es/commands/ListAppVersionResourceMappingsCommand.js +28 -21
- package/dist-es/commands/ListAppVersionResourcesCommand.js +28 -21
- package/dist-es/commands/ListAppVersionsCommand.js +28 -21
- package/dist-es/commands/ListAppsCommand.js +28 -21
- package/dist-es/commands/ListRecommendationTemplatesCommand.js +28 -21
- package/dist-es/commands/ListResiliencyPoliciesCommand.js +28 -21
- package/dist-es/commands/ListSopRecommendationsCommand.js +28 -21
- package/dist-es/commands/ListSuggestedResiliencyPoliciesCommand.js +28 -21
- package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
- package/dist-es/commands/ListTestRecommendationsCommand.js +28 -21
- package/dist-es/commands/ListUnsupportedAppVersionResourcesCommand.js +28 -21
- package/dist-es/commands/PublishAppVersionCommand.js +28 -21
- package/dist-es/commands/PutDraftAppVersionTemplateCommand.js +28 -21
- package/dist-es/commands/RemoveDraftAppVersionResourceMappingsCommand.js +28 -21
- package/dist-es/commands/ResolveAppVersionResourcesCommand.js +28 -21
- package/dist-es/commands/StartAppAssessmentCommand.js +28 -21
- package/dist-es/commands/TagResourceCommand.js +28 -21
- package/dist-es/commands/UntagResourceCommand.js +28 -21
- package/dist-es/commands/UpdateAppCommand.js +28 -21
- package/dist-es/commands/UpdateResiliencyPolicyCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/ResiliencehubServiceException.js +10 -5
- package/dist-es/models/models_0.js +198 -435
- package/dist-es/pagination/ListAlarmRecommendationsPaginator.js +67 -24
- package/dist-es/pagination/ListAppAssessmentsPaginator.js +67 -24
- package/dist-es/pagination/ListAppComponentCompliancesPaginator.js +67 -24
- package/dist-es/pagination/ListAppComponentRecommendationsPaginator.js +67 -24
- package/dist-es/pagination/ListAppVersionResourceMappingsPaginator.js +67 -24
- package/dist-es/pagination/ListAppVersionResourcesPaginator.js +67 -24
- package/dist-es/pagination/ListAppVersionsPaginator.js +67 -24
- package/dist-es/pagination/ListAppsPaginator.js +67 -24
- package/dist-es/pagination/ListRecommendationTemplatesPaginator.js +67 -24
- package/dist-es/pagination/ListResiliencyPoliciesPaginator.js +67 -24
- package/dist-es/pagination/ListSopRecommendationsPaginator.js +67 -24
- package/dist-es/pagination/ListSuggestedResiliencyPoliciesPaginator.js +67 -24
- package/dist-es/pagination/ListTestRecommendationsPaginator.js +67 -24
- package/dist-es/pagination/ListUnsupportedAppVersionResourcesPaginator.js +67 -24
- package/dist-es/protocols/Aws_restJson1.js +4268 -3102
- 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/dist-types/Resiliencehub.d.ts +0 -1
- package/dist-types/commands/CreateAppCommand.d.ts +0 -1
- package/dist-types/models/models_0.d.ts +4 -0
- package/package.json +33 -33
package/dist-es/endpoints.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
1
2
|
import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
2
|
-
|
|
3
|
-
|
|
3
|
+
var regionHash = {};
|
|
4
|
+
var partitionHash = {
|
|
4
5
|
aws: {
|
|
5
6
|
regions: [
|
|
6
7
|
"af-south-1",
|
|
@@ -120,9 +121,8 @@ const partitionHash = {
|
|
|
120
121
|
],
|
|
121
122
|
},
|
|
122
123
|
};
|
|
123
|
-
export
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
});
|
|
124
|
+
export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
|
|
125
|
+
return __generator(this, function (_a) {
|
|
126
|
+
return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "resiliencehub", regionHash: regionHash, partitionHash: partitionHash }))];
|
|
127
|
+
});
|
|
128
|
+
}); };
|
|
@@ -1,7 +1,12 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
var ResiliencehubServiceException = (function (_super) {
|
|
4
|
+
__extends(ResiliencehubServiceException, _super);
|
|
5
|
+
function ResiliencehubServiceException(options) {
|
|
6
|
+
var _this = _super.call(this, options) || this;
|
|
7
|
+
Object.setPrototypeOf(_this, ResiliencehubServiceException.prototype);
|
|
8
|
+
return _this;
|
|
6
9
|
}
|
|
7
|
-
|
|
10
|
+
return ResiliencehubServiceException;
|
|
11
|
+
}(__ServiceException));
|
|
12
|
+
export { ResiliencehubServiceException };
|