@aws-sdk/client-rbin
Advanced tools
Comparing version 3.52.0 to 3.53.0
@@ -6,2 +6,13 @@ # Change Log | ||
# [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24) | ||
### Features | ||
* **clients:** generate service exceptions as classes ([#3267](https://github.com/aws/aws-sdk-js-v3/issues/3267)) ([ca64fee](https://github.com/aws/aws-sdk-js-v3/commit/ca64feed3351c394c07dc26b782a5760a396a074)) | ||
# [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18) | ||
@@ -8,0 +19,0 @@ |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.RbinServiceException = void 0; | ||
const tslib_1 = require("tslib"); | ||
@@ -9,1 +10,3 @@ tslib_1.__exportStar(require("./Rbin"), exports); | ||
tslib_1.__exportStar(require("./pagination"), exports); | ||
var RbinServiceException_1 = require("./models/RbinServiceException"); | ||
Object.defineProperty(exports, "RbinServiceException", { enumerable: true, get: function () { return RbinServiceException_1.RbinServiceException; } }); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.UpdateRuleResponse = exports.UpdateRuleRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListRulesResponse = exports.RuleSummary = exports.ListRulesRequest = exports.GetRuleResponse = exports.GetRuleRequest = exports.ResourceNotFoundExceptionReason = exports.DeleteRuleResponse = exports.DeleteRuleRequest = exports.ValidationExceptionReason = exports.ServiceQuotaExceededExceptionReason = exports.CreateRuleResponse = exports.RuleStatus = exports.CreateRuleRequest = exports.Tag = exports.RetentionPeriod = exports.RetentionPeriodUnit = exports.ResourceType = exports.ResourceTag = void 0; | ||
exports.UpdateRuleResponse = exports.UpdateRuleRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListRulesResponse = exports.RuleSummary = exports.ListRulesRequest = exports.GetRuleResponse = exports.GetRuleRequest = exports.ResourceNotFoundException = exports.ResourceNotFoundExceptionReason = exports.DeleteRuleResponse = exports.DeleteRuleRequest = exports.ValidationException = exports.ValidationExceptionReason = exports.ServiceQuotaExceededException = exports.ServiceQuotaExceededExceptionReason = exports.InternalServerException = exports.CreateRuleResponse = exports.RuleStatus = exports.CreateRuleRequest = exports.Tag = exports.RetentionPeriod = exports.RetentionPeriodUnit = exports.ResourceType = exports.ResourceTag = void 0; | ||
const RbinServiceException_1 = require("./RbinServiceException"); | ||
var ResourceTag; | ||
@@ -48,2 +49,16 @@ (function (ResourceTag) { | ||
})(CreateRuleResponse = exports.CreateRuleResponse || (exports.CreateRuleResponse = {})); | ||
class InternalServerException extends RbinServiceException_1.RbinServiceException { | ||
constructor(opts) { | ||
super({ | ||
name: "InternalServerException", | ||
$fault: "server", | ||
...opts, | ||
}); | ||
this.name = "InternalServerException"; | ||
this.$fault = "server"; | ||
Object.setPrototypeOf(this, InternalServerException.prototype); | ||
this.Message = opts.Message; | ||
} | ||
} | ||
exports.InternalServerException = InternalServerException; | ||
var ServiceQuotaExceededExceptionReason; | ||
@@ -53,2 +68,17 @@ (function (ServiceQuotaExceededExceptionReason) { | ||
})(ServiceQuotaExceededExceptionReason = exports.ServiceQuotaExceededExceptionReason || (exports.ServiceQuotaExceededExceptionReason = {})); | ||
class ServiceQuotaExceededException extends RbinServiceException_1.RbinServiceException { | ||
constructor(opts) { | ||
super({ | ||
name: "ServiceQuotaExceededException", | ||
$fault: "client", | ||
...opts, | ||
}); | ||
this.name = "ServiceQuotaExceededException"; | ||
this.$fault = "client"; | ||
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype); | ||
this.Message = opts.Message; | ||
this.Reason = opts.Reason; | ||
} | ||
} | ||
exports.ServiceQuotaExceededException = ServiceQuotaExceededException; | ||
var ValidationExceptionReason; | ||
@@ -59,2 +89,17 @@ (function (ValidationExceptionReason) { | ||
})(ValidationExceptionReason = exports.ValidationExceptionReason || (exports.ValidationExceptionReason = {})); | ||
class ValidationException extends RbinServiceException_1.RbinServiceException { | ||
constructor(opts) { | ||
super({ | ||
name: "ValidationException", | ||
$fault: "client", | ||
...opts, | ||
}); | ||
this.name = "ValidationException"; | ||
this.$fault = "client"; | ||
Object.setPrototypeOf(this, ValidationException.prototype); | ||
this.Message = opts.Message; | ||
this.Reason = opts.Reason; | ||
} | ||
} | ||
exports.ValidationException = ValidationException; | ||
var DeleteRuleRequest; | ||
@@ -76,2 +121,17 @@ (function (DeleteRuleRequest) { | ||
})(ResourceNotFoundExceptionReason = exports.ResourceNotFoundExceptionReason || (exports.ResourceNotFoundExceptionReason = {})); | ||
class ResourceNotFoundException extends RbinServiceException_1.RbinServiceException { | ||
constructor(opts) { | ||
super({ | ||
name: "ResourceNotFoundException", | ||
$fault: "client", | ||
...opts, | ||
}); | ||
this.name = "ResourceNotFoundException"; | ||
this.$fault = "client"; | ||
Object.setPrototypeOf(this, ResourceNotFoundException.prototype); | ||
this.Message = opts.Message; | ||
this.Reason = opts.Reason; | ||
} | ||
} | ||
exports.ResourceNotFoundException = ResourceNotFoundException; | ||
var GetRuleRequest; | ||
@@ -78,0 +138,0 @@ (function (GetRuleRequest) { |
@@ -6,2 +6,4 @@ "use strict"; | ||
const smithy_client_1 = require("@aws-sdk/smithy-client"); | ||
const models_0_1 = require("../models/models_0"); | ||
const RbinServiceException_1 = require("../models/RbinServiceException"); | ||
const serializeAws_restJson1CreateRuleCommand = async (input, context) => { | ||
@@ -290,39 +292,18 @@ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); | ||
case "com.amazonaws.rbin#InternalServerException": | ||
response = { | ||
...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)), | ||
name: errorCode, | ||
$metadata: deserializeMetadata(output), | ||
}; | ||
break; | ||
throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context); | ||
case "ServiceQuotaExceededException": | ||
case "com.amazonaws.rbin#ServiceQuotaExceededException": | ||
response = { | ||
...(await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context)), | ||
name: errorCode, | ||
$metadata: deserializeMetadata(output), | ||
}; | ||
break; | ||
throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context); | ||
case "ValidationException": | ||
case "com.amazonaws.rbin#ValidationException": | ||
response = { | ||
...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), | ||
name: errorCode, | ||
$metadata: deserializeMetadata(output), | ||
}; | ||
break; | ||
throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context); | ||
default: | ||
const parsedBody = parsedOutput.body; | ||
errorCode = parsedBody.code || parsedBody.Code || errorCode; | ||
response = { | ||
...parsedBody, | ||
name: `${errorCode}`, | ||
message: parsedBody.message || parsedBody.Message || errorCode, | ||
response = new RbinServiceException_1.RbinServiceException({ | ||
name: parsedBody.code || parsedBody.Code || errorCode, | ||
$fault: "client", | ||
$metadata: deserializeMetadata(output), | ||
}; | ||
}); | ||
throw smithy_client_1.decorateServiceException(response, parsedBody); | ||
} | ||
const message = response.message || response.Message || errorCode; | ||
response.message = message; | ||
delete response.Message; | ||
return Promise.reject(Object.assign(new Error(message), response)); | ||
}; | ||
@@ -351,39 +332,18 @@ const deserializeAws_restJson1DeleteRuleCommand = async (output, context) => { | ||
case "com.amazonaws.rbin#InternalServerException": | ||
response = { | ||
...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)), | ||
name: errorCode, | ||
$metadata: deserializeMetadata(output), | ||
}; | ||
break; | ||
throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context); | ||
case "ResourceNotFoundException": | ||
case "com.amazonaws.rbin#ResourceNotFoundException": | ||
response = { | ||
...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), | ||
name: errorCode, | ||
$metadata: deserializeMetadata(output), | ||
}; | ||
break; | ||
throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context); | ||
case "ValidationException": | ||
case "com.amazonaws.rbin#ValidationException": | ||
response = { | ||
...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), | ||
name: errorCode, | ||
$metadata: deserializeMetadata(output), | ||
}; | ||
break; | ||
throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context); | ||
default: | ||
const parsedBody = parsedOutput.body; | ||
errorCode = parsedBody.code || parsedBody.Code || errorCode; | ||
response = { | ||
...parsedBody, | ||
name: `${errorCode}`, | ||
message: parsedBody.message || parsedBody.Message || errorCode, | ||
response = new RbinServiceException_1.RbinServiceException({ | ||
name: parsedBody.code || parsedBody.Code || errorCode, | ||
$fault: "client", | ||
$metadata: deserializeMetadata(output), | ||
}; | ||
}); | ||
throw smithy_client_1.decorateServiceException(response, parsedBody); | ||
} | ||
const message = response.message || response.Message || errorCode; | ||
response.message = message; | ||
delete response.Message; | ||
return Promise.reject(Object.assign(new Error(message), response)); | ||
}; | ||
@@ -436,39 +396,18 @@ const deserializeAws_restJson1GetRuleCommand = async (output, context) => { | ||
case "com.amazonaws.rbin#InternalServerException": | ||
response = { | ||
...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)), | ||
name: errorCode, | ||
$metadata: deserializeMetadata(output), | ||
}; | ||
break; | ||
throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context); | ||
case "ResourceNotFoundException": | ||
case "com.amazonaws.rbin#ResourceNotFoundException": | ||
response = { | ||
...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), | ||
name: errorCode, | ||
$metadata: deserializeMetadata(output), | ||
}; | ||
break; | ||
throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context); | ||
case "ValidationException": | ||
case "com.amazonaws.rbin#ValidationException": | ||
response = { | ||
...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), | ||
name: errorCode, | ||
$metadata: deserializeMetadata(output), | ||
}; | ||
break; | ||
throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context); | ||
default: | ||
const parsedBody = parsedOutput.body; | ||
errorCode = parsedBody.code || parsedBody.Code || errorCode; | ||
response = { | ||
...parsedBody, | ||
name: `${errorCode}`, | ||
message: parsedBody.message || parsedBody.Message || errorCode, | ||
response = new RbinServiceException_1.RbinServiceException({ | ||
name: parsedBody.code || parsedBody.Code || errorCode, | ||
$fault: "client", | ||
$metadata: deserializeMetadata(output), | ||
}; | ||
}); | ||
throw smithy_client_1.decorateServiceException(response, parsedBody); | ||
} | ||
const message = response.message || response.Message || errorCode; | ||
response.message = message; | ||
delete response.Message; | ||
return Promise.reject(Object.assign(new Error(message), response)); | ||
}; | ||
@@ -505,31 +444,15 @@ const deserializeAws_restJson1ListRulesCommand = async (output, context) => { | ||
case "com.amazonaws.rbin#InternalServerException": | ||
response = { | ||
...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)), | ||
name: errorCode, | ||
$metadata: deserializeMetadata(output), | ||
}; | ||
break; | ||
throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context); | ||
case "ValidationException": | ||
case "com.amazonaws.rbin#ValidationException": | ||
response = { | ||
...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), | ||
name: errorCode, | ||
$metadata: deserializeMetadata(output), | ||
}; | ||
break; | ||
throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context); | ||
default: | ||
const parsedBody = parsedOutput.body; | ||
errorCode = parsedBody.code || parsedBody.Code || errorCode; | ||
response = { | ||
...parsedBody, | ||
name: `${errorCode}`, | ||
message: parsedBody.message || parsedBody.Message || errorCode, | ||
response = new RbinServiceException_1.RbinServiceException({ | ||
name: parsedBody.code || parsedBody.Code || errorCode, | ||
$fault: "client", | ||
$metadata: deserializeMetadata(output), | ||
}; | ||
}); | ||
throw smithy_client_1.decorateServiceException(response, parsedBody); | ||
} | ||
const message = response.message || response.Message || errorCode; | ||
response.message = message; | ||
delete response.Message; | ||
return Promise.reject(Object.assign(new Error(message), response)); | ||
}; | ||
@@ -562,39 +485,18 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => { | ||
case "com.amazonaws.rbin#InternalServerException": | ||
response = { | ||
...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)), | ||
name: errorCode, | ||
$metadata: deserializeMetadata(output), | ||
}; | ||
break; | ||
throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context); | ||
case "ResourceNotFoundException": | ||
case "com.amazonaws.rbin#ResourceNotFoundException": | ||
response = { | ||
...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), | ||
name: errorCode, | ||
$metadata: deserializeMetadata(output), | ||
}; | ||
break; | ||
throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context); | ||
case "ValidationException": | ||
case "com.amazonaws.rbin#ValidationException": | ||
response = { | ||
...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), | ||
name: errorCode, | ||
$metadata: deserializeMetadata(output), | ||
}; | ||
break; | ||
throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context); | ||
default: | ||
const parsedBody = parsedOutput.body; | ||
errorCode = parsedBody.code || parsedBody.Code || errorCode; | ||
response = { | ||
...parsedBody, | ||
name: `${errorCode}`, | ||
message: parsedBody.message || parsedBody.Message || errorCode, | ||
response = new RbinServiceException_1.RbinServiceException({ | ||
name: parsedBody.code || parsedBody.Code || errorCode, | ||
$fault: "client", | ||
$metadata: deserializeMetadata(output), | ||
}; | ||
}); | ||
throw smithy_client_1.decorateServiceException(response, parsedBody); | ||
} | ||
const message = response.message || response.Message || errorCode; | ||
response.message = message; | ||
delete response.Message; | ||
return Promise.reject(Object.assign(new Error(message), response)); | ||
}; | ||
@@ -623,47 +525,21 @@ const deserializeAws_restJson1TagResourceCommand = async (output, context) => { | ||
case "com.amazonaws.rbin#InternalServerException": | ||
response = { | ||
...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)), | ||
name: errorCode, | ||
$metadata: deserializeMetadata(output), | ||
}; | ||
break; | ||
throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context); | ||
case "ResourceNotFoundException": | ||
case "com.amazonaws.rbin#ResourceNotFoundException": | ||
response = { | ||
...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), | ||
name: errorCode, | ||
$metadata: deserializeMetadata(output), | ||
}; | ||
break; | ||
throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context); | ||
case "ServiceQuotaExceededException": | ||
case "com.amazonaws.rbin#ServiceQuotaExceededException": | ||
response = { | ||
...(await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context)), | ||
name: errorCode, | ||
$metadata: deserializeMetadata(output), | ||
}; | ||
break; | ||
throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context); | ||
case "ValidationException": | ||
case "com.amazonaws.rbin#ValidationException": | ||
response = { | ||
...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), | ||
name: errorCode, | ||
$metadata: deserializeMetadata(output), | ||
}; | ||
break; | ||
throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context); | ||
default: | ||
const parsedBody = parsedOutput.body; | ||
errorCode = parsedBody.code || parsedBody.Code || errorCode; | ||
response = { | ||
...parsedBody, | ||
name: `${errorCode}`, | ||
message: parsedBody.message || parsedBody.Message || errorCode, | ||
response = new RbinServiceException_1.RbinServiceException({ | ||
name: parsedBody.code || parsedBody.Code || errorCode, | ||
$fault: "client", | ||
$metadata: deserializeMetadata(output), | ||
}; | ||
}); | ||
throw smithy_client_1.decorateServiceException(response, parsedBody); | ||
} | ||
const message = response.message || response.Message || errorCode; | ||
response.message = message; | ||
delete response.Message; | ||
return Promise.reject(Object.assign(new Error(message), response)); | ||
}; | ||
@@ -692,39 +568,18 @@ const deserializeAws_restJson1UntagResourceCommand = async (output, context) => { | ||
case "com.amazonaws.rbin#InternalServerException": | ||
response = { | ||
...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)), | ||
name: errorCode, | ||
$metadata: deserializeMetadata(output), | ||
}; | ||
break; | ||
throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context); | ||
case "ResourceNotFoundException": | ||
case "com.amazonaws.rbin#ResourceNotFoundException": | ||
response = { | ||
...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), | ||
name: errorCode, | ||
$metadata: deserializeMetadata(output), | ||
}; | ||
break; | ||
throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context); | ||
case "ValidationException": | ||
case "com.amazonaws.rbin#ValidationException": | ||
response = { | ||
...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), | ||
name: errorCode, | ||
$metadata: deserializeMetadata(output), | ||
}; | ||
break; | ||
throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context); | ||
default: | ||
const parsedBody = parsedOutput.body; | ||
errorCode = parsedBody.code || parsedBody.Code || errorCode; | ||
response = { | ||
...parsedBody, | ||
name: `${errorCode}`, | ||
message: parsedBody.message || parsedBody.Message || errorCode, | ||
response = new RbinServiceException_1.RbinServiceException({ | ||
name: parsedBody.code || parsedBody.Code || errorCode, | ||
$fault: "client", | ||
$metadata: deserializeMetadata(output), | ||
}; | ||
}); | ||
throw smithy_client_1.decorateServiceException(response, parsedBody); | ||
} | ||
const message = response.message || response.Message || errorCode; | ||
response.message = message; | ||
delete response.Message; | ||
return Promise.reject(Object.assign(new Error(message), response)); | ||
}; | ||
@@ -777,47 +632,21 @@ const deserializeAws_restJson1UpdateRuleCommand = async (output, context) => { | ||
case "com.amazonaws.rbin#InternalServerException": | ||
response = { | ||
...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)), | ||
name: errorCode, | ||
$metadata: deserializeMetadata(output), | ||
}; | ||
break; | ||
throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context); | ||
case "ResourceNotFoundException": | ||
case "com.amazonaws.rbin#ResourceNotFoundException": | ||
response = { | ||
...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), | ||
name: errorCode, | ||
$metadata: deserializeMetadata(output), | ||
}; | ||
break; | ||
throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context); | ||
case "ValidationException": | ||
case "com.amazonaws.rbin#ValidationException": | ||
response = { | ||
...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), | ||
name: errorCode, | ||
$metadata: deserializeMetadata(output), | ||
}; | ||
break; | ||
throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context); | ||
default: | ||
const parsedBody = parsedOutput.body; | ||
errorCode = parsedBody.code || parsedBody.Code || errorCode; | ||
response = { | ||
...parsedBody, | ||
name: `${errorCode}`, | ||
message: parsedBody.message || parsedBody.Message || errorCode, | ||
response = new RbinServiceException_1.RbinServiceException({ | ||
name: parsedBody.code || parsedBody.Code || errorCode, | ||
$fault: "client", | ||
$metadata: deserializeMetadata(output), | ||
}; | ||
}); | ||
throw smithy_client_1.decorateServiceException(response, parsedBody); | ||
} | ||
const message = response.message || response.Message || errorCode; | ||
response.message = message; | ||
delete response.Message; | ||
return Promise.reject(Object.assign(new Error(message), response)); | ||
}; | ||
const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOutput, context) => { | ||
const contents = { | ||
name: "InternalServerException", | ||
$fault: "server", | ||
$metadata: deserializeMetadata(parsedOutput), | ||
Message: undefined, | ||
}; | ||
const contents = {}; | ||
const data = parsedOutput.body; | ||
@@ -827,12 +656,10 @@ if (data.Message !== undefined && data.Message !== null) { | ||
} | ||
return contents; | ||
const exception = new models_0_1.InternalServerException({ | ||
$metadata: deserializeMetadata(parsedOutput), | ||
...contents, | ||
}); | ||
return smithy_client_1.decorateServiceException(exception, parsedOutput.body); | ||
}; | ||
const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => { | ||
const contents = { | ||
name: "ResourceNotFoundException", | ||
$fault: "client", | ||
$metadata: deserializeMetadata(parsedOutput), | ||
Message: undefined, | ||
Reason: undefined, | ||
}; | ||
const contents = {}; | ||
const data = parsedOutput.body; | ||
@@ -845,12 +672,10 @@ if (data.Message !== undefined && data.Message !== null) { | ||
} | ||
return contents; | ||
const exception = new models_0_1.ResourceNotFoundException({ | ||
$metadata: deserializeMetadata(parsedOutput), | ||
...contents, | ||
}); | ||
return smithy_client_1.decorateServiceException(exception, parsedOutput.body); | ||
}; | ||
const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (parsedOutput, context) => { | ||
const contents = { | ||
name: "ServiceQuotaExceededException", | ||
$fault: "client", | ||
$metadata: deserializeMetadata(parsedOutput), | ||
Message: undefined, | ||
Reason: undefined, | ||
}; | ||
const contents = {}; | ||
const data = parsedOutput.body; | ||
@@ -863,12 +688,10 @@ if (data.Message !== undefined && data.Message !== null) { | ||
} | ||
return contents; | ||
const exception = new models_0_1.ServiceQuotaExceededException({ | ||
$metadata: deserializeMetadata(parsedOutput), | ||
...contents, | ||
}); | ||
return smithy_client_1.decorateServiceException(exception, parsedOutput.body); | ||
}; | ||
const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput, context) => { | ||
const contents = { | ||
name: "ValidationException", | ||
$fault: "client", | ||
$metadata: deserializeMetadata(parsedOutput), | ||
Message: undefined, | ||
Reason: undefined, | ||
}; | ||
const contents = {}; | ||
const data = parsedOutput.body; | ||
@@ -881,3 +704,7 @@ if (data.Message !== undefined && data.Message !== null) { | ||
} | ||
return contents; | ||
const exception = new models_0_1.ValidationException({ | ||
$metadata: deserializeMetadata(parsedOutput), | ||
...contents, | ||
}); | ||
return smithy_client_1.decorateServiceException(exception, parsedOutput.body); | ||
}; | ||
@@ -933,3 +760,3 @@ const serializeAws_restJson1ResourceTag = (input, context) => { | ||
const deserializeAws_restJson1ResourceTags = (output, context) => { | ||
return (output || []) | ||
const retVal = (output || []) | ||
.filter((e) => e != null) | ||
@@ -942,2 +769,3 @@ .map((entry) => { | ||
}); | ||
return retVal; | ||
}; | ||
@@ -960,3 +788,3 @@ const deserializeAws_restJson1RetentionPeriod = (output, context) => { | ||
const deserializeAws_restJson1RuleSummaryList = (output, context) => { | ||
return (output || []) | ||
const retVal = (output || []) | ||
.filter((e) => e != null) | ||
@@ -969,2 +797,3 @@ .map((entry) => { | ||
}); | ||
return retVal; | ||
}; | ||
@@ -978,3 +807,3 @@ const deserializeAws_restJson1Tag = (output, context) => { | ||
const deserializeAws_restJson1TagList = (output, context) => { | ||
return (output || []) | ||
const retVal = (output || []) | ||
.filter((e) => e != null) | ||
@@ -987,2 +816,3 @@ .map((entry) => { | ||
}); | ||
return retVal; | ||
}; | ||
@@ -989,0 +819,0 @@ const deserializeMetadata = (output) => { |
@@ -6,1 +6,2 @@ export * from "./Rbin"; | ||
export * from "./pagination"; | ||
export { RbinServiceException } from "./models/RbinServiceException"; |
@@ -1,2 +0,3 @@ | ||
import { __assign } from "tslib"; | ||
import { __assign, __extends } from "tslib"; | ||
import { RbinServiceException as __BaseException } from "./RbinServiceException"; | ||
export var ResourceTag; | ||
@@ -36,2 +37,15 @@ (function (ResourceTag) { | ||
})(CreateRuleResponse || (CreateRuleResponse = {})); | ||
var InternalServerException = (function (_super) { | ||
__extends(InternalServerException, _super); | ||
function InternalServerException(opts) { | ||
var _this = _super.call(this, __assign({ name: "InternalServerException", $fault: "server" }, opts)) || this; | ||
_this.name = "InternalServerException"; | ||
_this.$fault = "server"; | ||
Object.setPrototypeOf(_this, InternalServerException.prototype); | ||
_this.Message = opts.Message; | ||
return _this; | ||
} | ||
return InternalServerException; | ||
}(__BaseException)); | ||
export { InternalServerException }; | ||
export var ServiceQuotaExceededExceptionReason; | ||
@@ -41,2 +55,16 @@ (function (ServiceQuotaExceededExceptionReason) { | ||
})(ServiceQuotaExceededExceptionReason || (ServiceQuotaExceededExceptionReason = {})); | ||
var ServiceQuotaExceededException = (function (_super) { | ||
__extends(ServiceQuotaExceededException, _super); | ||
function ServiceQuotaExceededException(opts) { | ||
var _this = _super.call(this, __assign({ name: "ServiceQuotaExceededException", $fault: "client" }, opts)) || this; | ||
_this.name = "ServiceQuotaExceededException"; | ||
_this.$fault = "client"; | ||
Object.setPrototypeOf(_this, ServiceQuotaExceededException.prototype); | ||
_this.Message = opts.Message; | ||
_this.Reason = opts.Reason; | ||
return _this; | ||
} | ||
return ServiceQuotaExceededException; | ||
}(__BaseException)); | ||
export { ServiceQuotaExceededException }; | ||
export var ValidationExceptionReason; | ||
@@ -47,2 +75,16 @@ (function (ValidationExceptionReason) { | ||
})(ValidationExceptionReason || (ValidationExceptionReason = {})); | ||
var ValidationException = (function (_super) { | ||
__extends(ValidationException, _super); | ||
function ValidationException(opts) { | ||
var _this = _super.call(this, __assign({ name: "ValidationException", $fault: "client" }, opts)) || this; | ||
_this.name = "ValidationException"; | ||
_this.$fault = "client"; | ||
Object.setPrototypeOf(_this, ValidationException.prototype); | ||
_this.Message = opts.Message; | ||
_this.Reason = opts.Reason; | ||
return _this; | ||
} | ||
return ValidationException; | ||
}(__BaseException)); | ||
export { ValidationException }; | ||
export var DeleteRuleRequest; | ||
@@ -60,2 +102,16 @@ (function (DeleteRuleRequest) { | ||
})(ResourceNotFoundExceptionReason || (ResourceNotFoundExceptionReason = {})); | ||
var ResourceNotFoundException = (function (_super) { | ||
__extends(ResourceNotFoundException, _super); | ||
function ResourceNotFoundException(opts) { | ||
var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this; | ||
_this.name = "ResourceNotFoundException"; | ||
_this.$fault = "client"; | ||
Object.setPrototypeOf(_this, ResourceNotFoundException.prototype); | ||
_this.Message = opts.Message; | ||
_this.Reason = opts.Reason; | ||
return _this; | ||
} | ||
return ResourceNotFoundException; | ||
}(__BaseException)); | ||
export { ResourceNotFoundException }; | ||
export var GetRuleRequest; | ||
@@ -62,0 +118,0 @@ (function (GetRuleRequest) { |
import { __assign, __awaiter, __generator } from "tslib"; | ||
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http"; | ||
import { expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, } from "@aws-sdk/smithy-client"; | ||
import { decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, } from "@aws-sdk/smithy-client"; | ||
import { InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ValidationException, } from "../models/models_0"; | ||
import { RbinServiceException as __BaseException } from "../models/RbinServiceException"; | ||
export var serializeAws_restJson1CreateRuleCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () { | ||
@@ -306,12 +308,12 @@ var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, body; | ||
var deserializeAws_restJson1CreateRuleCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () { | ||
var parsedOutput, _a, response, errorCode, _b, _c, _d, _e, parsedBody, message; | ||
var _f; | ||
return __generator(this, function (_g) { | ||
switch (_g.label) { | ||
var parsedOutput, _a, response, errorCode, _b, parsedBody; | ||
var _c; | ||
return __generator(this, function (_d) { | ||
switch (_d.label) { | ||
case 0: | ||
_a = [__assign({}, output)]; | ||
_f = {}; | ||
_c = {}; | ||
return [4, parseBody(output.body, context)]; | ||
case 1: | ||
parsedOutput = __assign.apply(void 0, _a.concat([(_f.body = _g.sent(), _f)])); | ||
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)])); | ||
errorCode = "UnknownError"; | ||
@@ -329,30 +331,16 @@ errorCode = loadRestJsonErrorCode(output, parsedOutput.body); | ||
return [3, 8]; | ||
case 2: | ||
_c = [{}]; | ||
return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)]; | ||
case 3: | ||
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]); | ||
return [3, 9]; | ||
case 4: | ||
_d = [{}]; | ||
return [4, deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context)]; | ||
case 5: | ||
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]); | ||
return [3, 9]; | ||
case 6: | ||
_e = [{}]; | ||
return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)]; | ||
case 7: | ||
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]); | ||
return [3, 9]; | ||
case 2: return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)]; | ||
case 3: throw _d.sent(); | ||
case 4: return [4, deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context)]; | ||
case 5: throw _d.sent(); | ||
case 6: return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)]; | ||
case 7: throw _d.sent(); | ||
case 8: | ||
parsedBody = parsedOutput.body; | ||
errorCode = parsedBody.code || parsedBody.Code || errorCode; | ||
response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) }); | ||
_g.label = 9; | ||
case 9: | ||
message = response.message || response.Message || errorCode; | ||
response.message = message; | ||
delete response.Message; | ||
return [2, Promise.reject(Object.assign(new Error(message), response))]; | ||
response = new __BaseException({ | ||
name: parsedBody.code || parsedBody.Code || errorCode, | ||
$fault: "client", | ||
$metadata: deserializeMetadata(output), | ||
}); | ||
throw __decorateServiceException(response, parsedBody); | ||
} | ||
@@ -380,12 +368,12 @@ }); | ||
var deserializeAws_restJson1DeleteRuleCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () { | ||
var parsedOutput, _a, response, errorCode, _b, _c, _d, _e, parsedBody, message; | ||
var _f; | ||
return __generator(this, function (_g) { | ||
switch (_g.label) { | ||
var parsedOutput, _a, response, errorCode, _b, parsedBody; | ||
var _c; | ||
return __generator(this, function (_d) { | ||
switch (_d.label) { | ||
case 0: | ||
_a = [__assign({}, output)]; | ||
_f = {}; | ||
_c = {}; | ||
return [4, parseBody(output.body, context)]; | ||
case 1: | ||
parsedOutput = __assign.apply(void 0, _a.concat([(_f.body = _g.sent(), _f)])); | ||
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)])); | ||
errorCode = "UnknownError"; | ||
@@ -403,30 +391,16 @@ errorCode = loadRestJsonErrorCode(output, parsedOutput.body); | ||
return [3, 8]; | ||
case 2: | ||
_c = [{}]; | ||
return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)]; | ||
case 3: | ||
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]); | ||
return [3, 9]; | ||
case 4: | ||
_d = [{}]; | ||
return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)]; | ||
case 5: | ||
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]); | ||
return [3, 9]; | ||
case 6: | ||
_e = [{}]; | ||
return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)]; | ||
case 7: | ||
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]); | ||
return [3, 9]; | ||
case 2: return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)]; | ||
case 3: throw _d.sent(); | ||
case 4: return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)]; | ||
case 5: throw _d.sent(); | ||
case 6: return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)]; | ||
case 7: throw _d.sent(); | ||
case 8: | ||
parsedBody = parsedOutput.body; | ||
errorCode = parsedBody.code || parsedBody.Code || errorCode; | ||
response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) }); | ||
_g.label = 9; | ||
case 9: | ||
message = response.message || response.Message || errorCode; | ||
response.message = message; | ||
delete response.Message; | ||
return [2, Promise.reject(Object.assign(new Error(message), response))]; | ||
response = new __BaseException({ | ||
name: parsedBody.code || parsedBody.Code || errorCode, | ||
$fault: "client", | ||
$metadata: deserializeMetadata(output), | ||
}); | ||
throw __decorateServiceException(response, parsedBody); | ||
} | ||
@@ -480,12 +454,12 @@ }); | ||
var deserializeAws_restJson1GetRuleCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () { | ||
var parsedOutput, _a, response, errorCode, _b, _c, _d, _e, parsedBody, message; | ||
var _f; | ||
return __generator(this, function (_g) { | ||
switch (_g.label) { | ||
var parsedOutput, _a, response, errorCode, _b, parsedBody; | ||
var _c; | ||
return __generator(this, function (_d) { | ||
switch (_d.label) { | ||
case 0: | ||
_a = [__assign({}, output)]; | ||
_f = {}; | ||
_c = {}; | ||
return [4, parseBody(output.body, context)]; | ||
case 1: | ||
parsedOutput = __assign.apply(void 0, _a.concat([(_f.body = _g.sent(), _f)])); | ||
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)])); | ||
errorCode = "UnknownError"; | ||
@@ -503,30 +477,16 @@ errorCode = loadRestJsonErrorCode(output, parsedOutput.body); | ||
return [3, 8]; | ||
case 2: | ||
_c = [{}]; | ||
return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)]; | ||
case 3: | ||
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]); | ||
return [3, 9]; | ||
case 4: | ||
_d = [{}]; | ||
return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)]; | ||
case 5: | ||
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]); | ||
return [3, 9]; | ||
case 6: | ||
_e = [{}]; | ||
return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)]; | ||
case 7: | ||
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]); | ||
return [3, 9]; | ||
case 2: return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)]; | ||
case 3: throw _d.sent(); | ||
case 4: return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)]; | ||
case 5: throw _d.sent(); | ||
case 6: return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)]; | ||
case 7: throw _d.sent(); | ||
case 8: | ||
parsedBody = parsedOutput.body; | ||
errorCode = parsedBody.code || parsedBody.Code || errorCode; | ||
response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) }); | ||
_g.label = 9; | ||
case 9: | ||
message = response.message || response.Message || errorCode; | ||
response.message = message; | ||
delete response.Message; | ||
return [2, Promise.reject(Object.assign(new Error(message), response))]; | ||
response = new __BaseException({ | ||
name: parsedBody.code || parsedBody.Code || errorCode, | ||
$fault: "client", | ||
$metadata: deserializeMetadata(output), | ||
}); | ||
throw __decorateServiceException(response, parsedBody); | ||
} | ||
@@ -564,12 +524,12 @@ }); | ||
var deserializeAws_restJson1ListRulesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () { | ||
var parsedOutput, _a, response, errorCode, _b, _c, _d, parsedBody, message; | ||
var _e; | ||
return __generator(this, function (_f) { | ||
switch (_f.label) { | ||
var parsedOutput, _a, response, errorCode, _b, parsedBody; | ||
var _c; | ||
return __generator(this, function (_d) { | ||
switch (_d.label) { | ||
case 0: | ||
_a = [__assign({}, output)]; | ||
_e = {}; | ||
_c = {}; | ||
return [4, parseBody(output.body, context)]; | ||
case 1: | ||
parsedOutput = __assign.apply(void 0, _a.concat([(_e.body = _f.sent(), _e)])); | ||
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)])); | ||
errorCode = "UnknownError"; | ||
@@ -585,24 +545,14 @@ errorCode = loadRestJsonErrorCode(output, parsedOutput.body); | ||
return [3, 6]; | ||
case 2: | ||
_c = [{}]; | ||
return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)]; | ||
case 3: | ||
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_f.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]); | ||
return [3, 7]; | ||
case 4: | ||
_d = [{}]; | ||
return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)]; | ||
case 5: | ||
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_f.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]); | ||
return [3, 7]; | ||
case 2: return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)]; | ||
case 3: throw _d.sent(); | ||
case 4: return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)]; | ||
case 5: throw _d.sent(); | ||
case 6: | ||
parsedBody = parsedOutput.body; | ||
errorCode = parsedBody.code || parsedBody.Code || errorCode; | ||
response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) }); | ||
_f.label = 7; | ||
case 7: | ||
message = response.message || response.Message || errorCode; | ||
response.message = message; | ||
delete response.Message; | ||
return [2, Promise.reject(Object.assign(new Error(message), response))]; | ||
response = new __BaseException({ | ||
name: parsedBody.code || parsedBody.Code || errorCode, | ||
$fault: "client", | ||
$metadata: deserializeMetadata(output), | ||
}); | ||
throw __decorateServiceException(response, parsedBody); | ||
} | ||
@@ -636,12 +586,12 @@ }); | ||
var deserializeAws_restJson1ListTagsForResourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () { | ||
var parsedOutput, _a, response, errorCode, _b, _c, _d, _e, parsedBody, message; | ||
var _f; | ||
return __generator(this, function (_g) { | ||
switch (_g.label) { | ||
var parsedOutput, _a, response, errorCode, _b, parsedBody; | ||
var _c; | ||
return __generator(this, function (_d) { | ||
switch (_d.label) { | ||
case 0: | ||
_a = [__assign({}, output)]; | ||
_f = {}; | ||
_c = {}; | ||
return [4, parseBody(output.body, context)]; | ||
case 1: | ||
parsedOutput = __assign.apply(void 0, _a.concat([(_f.body = _g.sent(), _f)])); | ||
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)])); | ||
errorCode = "UnknownError"; | ||
@@ -659,30 +609,16 @@ errorCode = loadRestJsonErrorCode(output, parsedOutput.body); | ||
return [3, 8]; | ||
case 2: | ||
_c = [{}]; | ||
return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)]; | ||
case 3: | ||
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]); | ||
return [3, 9]; | ||
case 4: | ||
_d = [{}]; | ||
return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)]; | ||
case 5: | ||
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]); | ||
return [3, 9]; | ||
case 6: | ||
_e = [{}]; | ||
return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)]; | ||
case 7: | ||
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]); | ||
return [3, 9]; | ||
case 2: return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)]; | ||
case 3: throw _d.sent(); | ||
case 4: return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)]; | ||
case 5: throw _d.sent(); | ||
case 6: return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)]; | ||
case 7: throw _d.sent(); | ||
case 8: | ||
parsedBody = parsedOutput.body; | ||
errorCode = parsedBody.code || parsedBody.Code || errorCode; | ||
response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) }); | ||
_g.label = 9; | ||
case 9: | ||
message = response.message || response.Message || errorCode; | ||
response.message = message; | ||
delete response.Message; | ||
return [2, Promise.reject(Object.assign(new Error(message), response))]; | ||
response = new __BaseException({ | ||
name: parsedBody.code || parsedBody.Code || errorCode, | ||
$fault: "client", | ||
$metadata: deserializeMetadata(output), | ||
}); | ||
throw __decorateServiceException(response, parsedBody); | ||
} | ||
@@ -710,12 +646,12 @@ }); | ||
var deserializeAws_restJson1TagResourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () { | ||
var parsedOutput, _a, response, errorCode, _b, _c, _d, _e, _f, parsedBody, message; | ||
var _g; | ||
return __generator(this, function (_h) { | ||
switch (_h.label) { | ||
var parsedOutput, _a, response, errorCode, _b, parsedBody; | ||
var _c; | ||
return __generator(this, function (_d) { | ||
switch (_d.label) { | ||
case 0: | ||
_a = [__assign({}, output)]; | ||
_g = {}; | ||
_c = {}; | ||
return [4, parseBody(output.body, context)]; | ||
case 1: | ||
parsedOutput = __assign.apply(void 0, _a.concat([(_g.body = _h.sent(), _g)])); | ||
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)])); | ||
errorCode = "UnknownError"; | ||
@@ -735,36 +671,18 @@ errorCode = loadRestJsonErrorCode(output, parsedOutput.body); | ||
return [3, 10]; | ||
case 2: | ||
_c = [{}]; | ||
return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)]; | ||
case 3: | ||
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]); | ||
return [3, 11]; | ||
case 4: | ||
_d = [{}]; | ||
return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)]; | ||
case 5: | ||
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]); | ||
return [3, 11]; | ||
case 6: | ||
_e = [{}]; | ||
return [4, deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context)]; | ||
case 7: | ||
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]); | ||
return [3, 11]; | ||
case 8: | ||
_f = [{}]; | ||
return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)]; | ||
case 9: | ||
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]); | ||
return [3, 11]; | ||
case 2: return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)]; | ||
case 3: throw _d.sent(); | ||
case 4: return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)]; | ||
case 5: throw _d.sent(); | ||
case 6: return [4, deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context)]; | ||
case 7: throw _d.sent(); | ||
case 8: return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)]; | ||
case 9: throw _d.sent(); | ||
case 10: | ||
parsedBody = parsedOutput.body; | ||
errorCode = parsedBody.code || parsedBody.Code || errorCode; | ||
response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) }); | ||
_h.label = 11; | ||
case 11: | ||
message = response.message || response.Message || errorCode; | ||
response.message = message; | ||
delete response.Message; | ||
return [2, Promise.reject(Object.assign(new Error(message), response))]; | ||
response = new __BaseException({ | ||
name: parsedBody.code || parsedBody.Code || errorCode, | ||
$fault: "client", | ||
$metadata: deserializeMetadata(output), | ||
}); | ||
throw __decorateServiceException(response, parsedBody); | ||
} | ||
@@ -792,12 +710,12 @@ }); | ||
var deserializeAws_restJson1UntagResourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () { | ||
var parsedOutput, _a, response, errorCode, _b, _c, _d, _e, parsedBody, message; | ||
var _f; | ||
return __generator(this, function (_g) { | ||
switch (_g.label) { | ||
var parsedOutput, _a, response, errorCode, _b, parsedBody; | ||
var _c; | ||
return __generator(this, function (_d) { | ||
switch (_d.label) { | ||
case 0: | ||
_a = [__assign({}, output)]; | ||
_f = {}; | ||
_c = {}; | ||
return [4, parseBody(output.body, context)]; | ||
case 1: | ||
parsedOutput = __assign.apply(void 0, _a.concat([(_f.body = _g.sent(), _f)])); | ||
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)])); | ||
errorCode = "UnknownError"; | ||
@@ -815,30 +733,16 @@ errorCode = loadRestJsonErrorCode(output, parsedOutput.body); | ||
return [3, 8]; | ||
case 2: | ||
_c = [{}]; | ||
return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)]; | ||
case 3: | ||
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]); | ||
return [3, 9]; | ||
case 4: | ||
_d = [{}]; | ||
return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)]; | ||
case 5: | ||
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]); | ||
return [3, 9]; | ||
case 6: | ||
_e = [{}]; | ||
return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)]; | ||
case 7: | ||
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]); | ||
return [3, 9]; | ||
case 2: return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)]; | ||
case 3: throw _d.sent(); | ||
case 4: return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)]; | ||
case 5: throw _d.sent(); | ||
case 6: return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)]; | ||
case 7: throw _d.sent(); | ||
case 8: | ||
parsedBody = parsedOutput.body; | ||
errorCode = parsedBody.code || parsedBody.Code || errorCode; | ||
response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) }); | ||
_g.label = 9; | ||
case 9: | ||
message = response.message || response.Message || errorCode; | ||
response.message = message; | ||
delete response.Message; | ||
return [2, Promise.reject(Object.assign(new Error(message), response))]; | ||
response = new __BaseException({ | ||
name: parsedBody.code || parsedBody.Code || errorCode, | ||
$fault: "client", | ||
$metadata: deserializeMetadata(output), | ||
}); | ||
throw __decorateServiceException(response, parsedBody); | ||
} | ||
@@ -892,12 +796,12 @@ }); | ||
var deserializeAws_restJson1UpdateRuleCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () { | ||
var parsedOutput, _a, response, errorCode, _b, _c, _d, _e, parsedBody, message; | ||
var _f; | ||
return __generator(this, function (_g) { | ||
switch (_g.label) { | ||
var parsedOutput, _a, response, errorCode, _b, parsedBody; | ||
var _c; | ||
return __generator(this, function (_d) { | ||
switch (_d.label) { | ||
case 0: | ||
_a = [__assign({}, output)]; | ||
_f = {}; | ||
_c = {}; | ||
return [4, parseBody(output.body, context)]; | ||
case 1: | ||
parsedOutput = __assign.apply(void 0, _a.concat([(_f.body = _g.sent(), _f)])); | ||
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)])); | ||
errorCode = "UnknownError"; | ||
@@ -915,30 +819,16 @@ errorCode = loadRestJsonErrorCode(output, parsedOutput.body); | ||
return [3, 8]; | ||
case 2: | ||
_c = [{}]; | ||
return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)]; | ||
case 3: | ||
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]); | ||
return [3, 9]; | ||
case 4: | ||
_d = [{}]; | ||
return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)]; | ||
case 5: | ||
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]); | ||
return [3, 9]; | ||
case 6: | ||
_e = [{}]; | ||
return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)]; | ||
case 7: | ||
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]); | ||
return [3, 9]; | ||
case 2: return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)]; | ||
case 3: throw _d.sent(); | ||
case 4: return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)]; | ||
case 5: throw _d.sent(); | ||
case 6: return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)]; | ||
case 7: throw _d.sent(); | ||
case 8: | ||
parsedBody = parsedOutput.body; | ||
errorCode = parsedBody.code || parsedBody.Code || errorCode; | ||
response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) }); | ||
_g.label = 9; | ||
case 9: | ||
message = response.message || response.Message || errorCode; | ||
response.message = message; | ||
delete response.Message; | ||
return [2, Promise.reject(Object.assign(new Error(message), response))]; | ||
response = new __BaseException({ | ||
name: parsedBody.code || parsedBody.Code || errorCode, | ||
$fault: "client", | ||
$metadata: deserializeMetadata(output), | ||
}); | ||
throw __decorateServiceException(response, parsedBody); | ||
} | ||
@@ -948,10 +838,5 @@ }); | ||
var deserializeAws_restJson1InternalServerExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () { | ||
var contents, data; | ||
var contents, data, exception; | ||
return __generator(this, function (_a) { | ||
contents = { | ||
name: "InternalServerException", | ||
$fault: "server", | ||
$metadata: deserializeMetadata(parsedOutput), | ||
Message: undefined, | ||
}; | ||
contents = {}; | ||
data = parsedOutput.body; | ||
@@ -961,15 +846,10 @@ if (data.Message !== undefined && data.Message !== null) { | ||
} | ||
return [2, contents]; | ||
exception = new InternalServerException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, contents)); | ||
return [2, __decorateServiceException(exception, parsedOutput.body)]; | ||
}); | ||
}); }; | ||
var deserializeAws_restJson1ResourceNotFoundExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () { | ||
var contents, data; | ||
var contents, data, exception; | ||
return __generator(this, function (_a) { | ||
contents = { | ||
name: "ResourceNotFoundException", | ||
$fault: "client", | ||
$metadata: deserializeMetadata(parsedOutput), | ||
Message: undefined, | ||
Reason: undefined, | ||
}; | ||
contents = {}; | ||
data = parsedOutput.body; | ||
@@ -982,15 +862,10 @@ if (data.Message !== undefined && data.Message !== null) { | ||
} | ||
return [2, contents]; | ||
exception = new ResourceNotFoundException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, contents)); | ||
return [2, __decorateServiceException(exception, parsedOutput.body)]; | ||
}); | ||
}); }; | ||
var deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () { | ||
var contents, data; | ||
var contents, data, exception; | ||
return __generator(this, function (_a) { | ||
contents = { | ||
name: "ServiceQuotaExceededException", | ||
$fault: "client", | ||
$metadata: deserializeMetadata(parsedOutput), | ||
Message: undefined, | ||
Reason: undefined, | ||
}; | ||
contents = {}; | ||
data = parsedOutput.body; | ||
@@ -1003,15 +878,10 @@ if (data.Message !== undefined && data.Message !== null) { | ||
} | ||
return [2, contents]; | ||
exception = new ServiceQuotaExceededException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, contents)); | ||
return [2, __decorateServiceException(exception, parsedOutput.body)]; | ||
}); | ||
}); }; | ||
var deserializeAws_restJson1ValidationExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () { | ||
var contents, data; | ||
var contents, data, exception; | ||
return __generator(this, function (_a) { | ||
contents = { | ||
name: "ValidationException", | ||
$fault: "client", | ||
$metadata: deserializeMetadata(parsedOutput), | ||
Message: undefined, | ||
Reason: undefined, | ||
}; | ||
contents = {}; | ||
data = parsedOutput.body; | ||
@@ -1024,3 +894,4 @@ if (data.Message !== undefined && data.Message !== null) { | ||
} | ||
return [2, contents]; | ||
exception = new ValidationException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, contents)); | ||
return [2, __decorateServiceException(exception, parsedOutput.body)]; | ||
}); | ||
@@ -1068,3 +939,3 @@ }); }; | ||
var deserializeAws_restJson1ResourceTags = function (output, context) { | ||
return (output || []) | ||
var retVal = (output || []) | ||
.filter(function (e) { return e != null; }) | ||
@@ -1077,2 +948,3 @@ .map(function (entry) { | ||
}); | ||
return retVal; | ||
}; | ||
@@ -1095,3 +967,3 @@ var deserializeAws_restJson1RetentionPeriod = function (output, context) { | ||
var deserializeAws_restJson1RuleSummaryList = function (output, context) { | ||
return (output || []) | ||
var retVal = (output || []) | ||
.filter(function (e) { return e != null; }) | ||
@@ -1104,2 +976,3 @@ .map(function (entry) { | ||
}); | ||
return retVal; | ||
}; | ||
@@ -1113,3 +986,3 @@ var deserializeAws_restJson1Tag = function (output, context) { | ||
var deserializeAws_restJson1TagList = function (output, context) { | ||
return (output || []) | ||
var retVal = (output || []) | ||
.filter(function (e) { return e != null; }) | ||
@@ -1122,2 +995,3 @@ .map(function (entry) { | ||
}); | ||
return retVal; | ||
}; | ||
@@ -1124,0 +998,0 @@ var deserializeMetadata = function (output) { |
@@ -6,1 +6,2 @@ export * from "./Rbin"; | ||
export * from "./pagination"; | ||
export { RbinServiceException } from "./models/RbinServiceException"; |
@@ -1,2 +0,3 @@ | ||
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types"; | ||
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client"; | ||
import { RbinServiceException as __BaseException } from "./RbinServiceException"; | ||
/** | ||
@@ -151,6 +152,10 @@ * <p>Information about the resource tags used to identify resources that are retained by the retention | ||
*/ | ||
export interface InternalServerException extends __SmithyException, $MetadataBearer { | ||
name: "InternalServerException"; | ||
$fault: "server"; | ||
export declare class InternalServerException extends __BaseException { | ||
readonly name: "InternalServerException"; | ||
readonly $fault: "server"; | ||
Message?: string; | ||
/** | ||
* @internal | ||
*/ | ||
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>); | ||
} | ||
@@ -163,5 +168,5 @@ export declare enum ServiceQuotaExceededExceptionReason { | ||
*/ | ||
export interface ServiceQuotaExceededException extends __SmithyException, $MetadataBearer { | ||
name: "ServiceQuotaExceededException"; | ||
$fault: "client"; | ||
export declare class ServiceQuotaExceededException extends __BaseException { | ||
readonly name: "ServiceQuotaExceededException"; | ||
readonly $fault: "client"; | ||
Message?: string; | ||
@@ -172,2 +177,6 @@ /** | ||
Reason?: ServiceQuotaExceededExceptionReason | string; | ||
/** | ||
* @internal | ||
*/ | ||
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>); | ||
} | ||
@@ -181,5 +190,5 @@ export declare enum ValidationExceptionReason { | ||
*/ | ||
export interface ValidationException extends __SmithyException, $MetadataBearer { | ||
name: "ValidationException"; | ||
$fault: "client"; | ||
export declare class ValidationException extends __BaseException { | ||
readonly name: "ValidationException"; | ||
readonly $fault: "client"; | ||
Message?: string; | ||
@@ -190,2 +199,6 @@ /** | ||
Reason?: ValidationExceptionReason | string; | ||
/** | ||
* @internal | ||
*/ | ||
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>); | ||
} | ||
@@ -218,5 +231,5 @@ export interface DeleteRuleRequest { | ||
*/ | ||
export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer { | ||
name: "ResourceNotFoundException"; | ||
$fault: "client"; | ||
export declare class ResourceNotFoundException extends __BaseException { | ||
readonly name: "ResourceNotFoundException"; | ||
readonly $fault: "client"; | ||
Message?: string; | ||
@@ -227,2 +240,6 @@ /** | ||
Reason?: ResourceNotFoundExceptionReason | string; | ||
/** | ||
* @internal | ||
*/ | ||
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>); | ||
} | ||
@@ -229,0 +246,0 @@ export interface GetRuleRequest { |
@@ -6,1 +6,2 @@ export * from "./Rbin"; | ||
export * from "./pagination"; | ||
export { RbinServiceException } from "./models/RbinServiceException"; |
@@ -1,2 +0,3 @@ | ||
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types"; | ||
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client"; | ||
import { RbinServiceException as __BaseException } from "./RbinServiceException"; | ||
@@ -83,6 +84,8 @@ export interface ResourceTag { | ||
export interface InternalServerException extends __SmithyException, $MetadataBearer { | ||
name: "InternalServerException"; | ||
$fault: "server"; | ||
export declare class InternalServerException extends __BaseException { | ||
readonly name: "InternalServerException"; | ||
readonly $fault: "server"; | ||
Message?: string; | ||
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>); | ||
} | ||
@@ -93,8 +96,10 @@ export declare enum ServiceQuotaExceededExceptionReason { | ||
export interface ServiceQuotaExceededException extends __SmithyException, $MetadataBearer { | ||
name: "ServiceQuotaExceededException"; | ||
$fault: "client"; | ||
export declare class ServiceQuotaExceededException extends __BaseException { | ||
readonly name: "ServiceQuotaExceededException"; | ||
readonly $fault: "client"; | ||
Message?: string; | ||
Reason?: ServiceQuotaExceededExceptionReason | string; | ||
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>); | ||
} | ||
@@ -106,8 +111,10 @@ export declare enum ValidationExceptionReason { | ||
export interface ValidationException extends __SmithyException, $MetadataBearer { | ||
name: "ValidationException"; | ||
$fault: "client"; | ||
export declare class ValidationException extends __BaseException { | ||
readonly name: "ValidationException"; | ||
readonly $fault: "client"; | ||
Message?: string; | ||
Reason?: ValidationExceptionReason | string; | ||
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>); | ||
} | ||
@@ -132,8 +139,10 @@ export interface DeleteRuleRequest { | ||
export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer { | ||
name: "ResourceNotFoundException"; | ||
$fault: "client"; | ||
export declare class ResourceNotFoundException extends __BaseException { | ||
readonly name: "ResourceNotFoundException"; | ||
readonly $fault: "client"; | ||
Message?: string; | ||
Reason?: ResourceNotFoundExceptionReason | string; | ||
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>); | ||
} | ||
@@ -140,0 +149,0 @@ export interface GetRuleRequest { |
{ | ||
"name": "@aws-sdk/client-rbin", | ||
"description": "AWS SDK for JavaScript Rbin Client for Node.js, Browser and React Native", | ||
"version": "3.52.0", | ||
"version": "3.53.0", | ||
"scripts": { | ||
@@ -21,22 +21,22 @@ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'", | ||
"@aws-crypto/sha256-js": "2.0.0", | ||
"@aws-sdk/client-sts": "3.52.0", | ||
"@aws-sdk/config-resolver": "3.52.0", | ||
"@aws-sdk/credential-provider-node": "3.52.0", | ||
"@aws-sdk/fetch-http-handler": "3.52.0", | ||
"@aws-sdk/hash-node": "3.52.0", | ||
"@aws-sdk/invalid-dependency": "3.52.0", | ||
"@aws-sdk/middleware-content-length": "3.52.0", | ||
"@aws-sdk/middleware-host-header": "3.52.0", | ||
"@aws-sdk/middleware-logger": "3.52.0", | ||
"@aws-sdk/middleware-retry": "3.52.0", | ||
"@aws-sdk/middleware-serde": "3.52.0", | ||
"@aws-sdk/middleware-signing": "3.52.0", | ||
"@aws-sdk/middleware-stack": "3.52.0", | ||
"@aws-sdk/middleware-user-agent": "3.52.0", | ||
"@aws-sdk/node-config-provider": "3.52.0", | ||
"@aws-sdk/node-http-handler": "3.52.0", | ||
"@aws-sdk/protocol-http": "3.52.0", | ||
"@aws-sdk/smithy-client": "3.52.0", | ||
"@aws-sdk/types": "3.52.0", | ||
"@aws-sdk/url-parser": "3.52.0", | ||
"@aws-sdk/client-sts": "3.53.0", | ||
"@aws-sdk/config-resolver": "3.53.0", | ||
"@aws-sdk/credential-provider-node": "3.53.0", | ||
"@aws-sdk/fetch-http-handler": "3.53.0", | ||
"@aws-sdk/hash-node": "3.53.0", | ||
"@aws-sdk/invalid-dependency": "3.53.0", | ||
"@aws-sdk/middleware-content-length": "3.53.0", | ||
"@aws-sdk/middleware-host-header": "3.53.0", | ||
"@aws-sdk/middleware-logger": "3.53.0", | ||
"@aws-sdk/middleware-retry": "3.53.0", | ||
"@aws-sdk/middleware-serde": "3.53.0", | ||
"@aws-sdk/middleware-signing": "3.53.0", | ||
"@aws-sdk/middleware-stack": "3.53.0", | ||
"@aws-sdk/middleware-user-agent": "3.53.0", | ||
"@aws-sdk/node-config-provider": "3.53.0", | ||
"@aws-sdk/node-http-handler": "3.53.0", | ||
"@aws-sdk/protocol-http": "3.53.0", | ||
"@aws-sdk/smithy-client": "3.53.0", | ||
"@aws-sdk/types": "3.53.0", | ||
"@aws-sdk/url-parser": "3.53.0", | ||
"@aws-sdk/util-base64-browser": "3.52.0", | ||
@@ -46,6 +46,6 @@ "@aws-sdk/util-base64-node": "3.52.0", | ||
"@aws-sdk/util-body-length-node": "3.52.0", | ||
"@aws-sdk/util-defaults-mode-browser": "3.52.0", | ||
"@aws-sdk/util-defaults-mode-node": "3.52.0", | ||
"@aws-sdk/util-user-agent-browser": "3.52.0", | ||
"@aws-sdk/util-user-agent-node": "3.52.0", | ||
"@aws-sdk/util-defaults-mode-browser": "3.53.0", | ||
"@aws-sdk/util-defaults-mode-node": "3.53.0", | ||
"@aws-sdk/util-user-agent-browser": "3.53.0", | ||
"@aws-sdk/util-user-agent-node": "3.53.0", | ||
"@aws-sdk/util-utf8-browser": "3.52.0", | ||
@@ -52,0 +52,0 @@ "@aws-sdk/util-utf8-node": "3.52.0", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
100
311881
5663
+ Added@aws-sdk/abort-controller@3.53.0(transitive)
+ Added@aws-sdk/client-sso@3.53.0(transitive)
+ Added@aws-sdk/client-sts@3.53.0(transitive)
+ Added@aws-sdk/config-resolver@3.53.0(transitive)
+ Added@aws-sdk/credential-provider-env@3.53.0(transitive)
+ Added@aws-sdk/credential-provider-imds@3.53.0(transitive)
+ Added@aws-sdk/credential-provider-ini@3.53.0(transitive)
+ Added@aws-sdk/credential-provider-node@3.53.0(transitive)
+ Added@aws-sdk/credential-provider-process@3.53.0(transitive)
+ Added@aws-sdk/credential-provider-sso@3.53.0(transitive)
+ Added@aws-sdk/credential-provider-web-identity@3.53.0(transitive)
+ Added@aws-sdk/fetch-http-handler@3.53.0(transitive)
+ Added@aws-sdk/hash-node@3.53.0(transitive)
+ Added@aws-sdk/invalid-dependency@3.53.0(transitive)
+ Added@aws-sdk/middleware-content-length@3.53.0(transitive)
+ Added@aws-sdk/middleware-host-header@3.53.0(transitive)
+ Added@aws-sdk/middleware-logger@3.53.0(transitive)
+ Added@aws-sdk/middleware-retry@3.53.0(transitive)
+ Added@aws-sdk/middleware-sdk-sts@3.53.0(transitive)
+ Added@aws-sdk/middleware-serde@3.53.0(transitive)
+ Added@aws-sdk/middleware-signing@3.53.0(transitive)
+ Added@aws-sdk/middleware-stack@3.53.0(transitive)
+ Added@aws-sdk/middleware-user-agent@3.53.0(transitive)
+ Added@aws-sdk/node-config-provider@3.53.0(transitive)
+ Added@aws-sdk/node-http-handler@3.53.0(transitive)
+ Added@aws-sdk/property-provider@3.53.0(transitive)
+ Added@aws-sdk/protocol-http@3.53.0(transitive)
+ Added@aws-sdk/querystring-builder@3.53.0(transitive)
+ Added@aws-sdk/querystring-parser@3.53.0(transitive)
+ Added@aws-sdk/service-error-classification@3.53.0(transitive)
+ Added@aws-sdk/signature-v4@3.53.0(transitive)
+ Added@aws-sdk/smithy-client@3.53.0(transitive)
+ Added@aws-sdk/types@3.53.0(transitive)
+ Added@aws-sdk/url-parser@3.53.0(transitive)
+ Added@aws-sdk/util-credentials@3.53.0(transitive)
+ Added@aws-sdk/util-defaults-mode-browser@3.53.0(transitive)
+ Added@aws-sdk/util-defaults-mode-node@3.53.0(transitive)
+ Added@aws-sdk/util-user-agent-browser@3.53.0(transitive)
+ Added@aws-sdk/util-user-agent-node@3.53.0(transitive)
- Removed@aws-sdk/abort-controller@3.52.0(transitive)
- Removed@aws-sdk/client-sso@3.52.0(transitive)
- Removed@aws-sdk/client-sts@3.52.0(transitive)
- Removed@aws-sdk/config-resolver@3.52.0(transitive)
- Removed@aws-sdk/credential-provider-env@3.52.0(transitive)
- Removed@aws-sdk/credential-provider-imds@3.52.0(transitive)
- Removed@aws-sdk/credential-provider-ini@3.52.0(transitive)
- Removed@aws-sdk/credential-provider-node@3.52.0(transitive)
- Removed@aws-sdk/credential-provider-process@3.52.0(transitive)
- Removed@aws-sdk/credential-provider-sso@3.52.0(transitive)
- Removed@aws-sdk/credential-provider-web-identity@3.52.0(transitive)
- Removed@aws-sdk/fetch-http-handler@3.52.0(transitive)
- Removed@aws-sdk/hash-node@3.52.0(transitive)
- Removed@aws-sdk/invalid-dependency@3.52.0(transitive)
- Removed@aws-sdk/middleware-content-length@3.52.0(transitive)
- Removed@aws-sdk/middleware-host-header@3.52.0(transitive)
- Removed@aws-sdk/middleware-logger@3.52.0(transitive)
- Removed@aws-sdk/middleware-retry@3.52.0(transitive)
- Removed@aws-sdk/middleware-sdk-sts@3.52.0(transitive)
- Removed@aws-sdk/middleware-serde@3.52.0(transitive)
- Removed@aws-sdk/middleware-signing@3.52.0(transitive)
- Removed@aws-sdk/middleware-stack@3.52.0(transitive)
- Removed@aws-sdk/middleware-user-agent@3.52.0(transitive)
- Removed@aws-sdk/node-config-provider@3.52.0(transitive)
- Removed@aws-sdk/node-http-handler@3.52.0(transitive)
- Removed@aws-sdk/property-provider@3.52.0(transitive)
- Removed@aws-sdk/protocol-http@3.52.0(transitive)
- Removed@aws-sdk/querystring-builder@3.52.0(transitive)
- Removed@aws-sdk/querystring-parser@3.52.0(transitive)
- Removed@aws-sdk/service-error-classification@3.52.0(transitive)
- Removed@aws-sdk/signature-v4@3.52.0(transitive)
- Removed@aws-sdk/smithy-client@3.52.0(transitive)
- Removed@aws-sdk/types@3.52.0(transitive)
- Removed@aws-sdk/url-parser@3.52.0(transitive)
- Removed@aws-sdk/util-credentials@3.52.0(transitive)
- Removed@aws-sdk/util-defaults-mode-browser@3.52.0(transitive)
- Removed@aws-sdk/util-defaults-mode-node@3.52.0(transitive)
- Removed@aws-sdk/util-user-agent-browser@3.52.0(transitive)
- Removed@aws-sdk/util-user-agent-node@3.52.0(transitive)
Updated@aws-sdk/client-sts@3.53.0
Updated@aws-sdk/hash-node@3.53.0
Updated@aws-sdk/types@3.53.0
Updated@aws-sdk/url-parser@3.53.0