Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@aws-sdk/client-managedblockchain-query

Package Overview
Dependencies
Maintainers
5
Versions
151
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-sdk/client-managedblockchain-query - npm Package Compare versions

Comparing version 3.505.0 to 3.507.0

252

dist-cjs/index.js

@@ -544,3 +544,3 @@ "use strict";

if (output.statusCode !== 200 && output.statusCode >= 300) {
return de_BatchGetTokenBalanceCommandError(output, context);
return de_CommandError(output, context);
}

@@ -558,39 +558,5 @@ const contents = (0, import_smithy_client.map)({

}, "de_BatchGetTokenBalanceCommand");
var de_BatchGetTokenBalanceCommandError = /* @__PURE__ */ __name(async (output, context) => {
const parsedOutput = {
...output,
body: await parseErrorBody(output.body, context)
};
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
switch (errorCode) {
case "AccessDeniedException":
case "com.amazonaws.managedblockchainquery#AccessDeniedException":
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
case "InternalServerException":
case "com.amazonaws.managedblockchainquery#InternalServerException":
throw await de_InternalServerExceptionRes(parsedOutput, context);
case "ResourceNotFoundException":
case "com.amazonaws.managedblockchainquery#ResourceNotFoundException":
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
case "ServiceQuotaExceededException":
case "com.amazonaws.managedblockchainquery#ServiceQuotaExceededException":
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
case "ThrottlingException":
case "com.amazonaws.managedblockchainquery#ThrottlingException":
throw await de_ThrottlingExceptionRes(parsedOutput, context);
case "ValidationException":
case "com.amazonaws.managedblockchainquery#ValidationException":
throw await de_ValidationExceptionRes(parsedOutput, context);
default:
const parsedBody = parsedOutput.body;
return throwDefaultError({
output,
parsedBody,
errorCode
});
}
}, "de_BatchGetTokenBalanceCommandError");
var de_GetAssetContractCommand = /* @__PURE__ */ __name(async (output, context) => {
if (output.statusCode !== 200 && output.statusCode >= 300) {
return de_GetAssetContractCommandError(output, context);
return de_CommandError(output, context);
}

@@ -610,39 +576,5 @@ const contents = (0, import_smithy_client.map)({

}, "de_GetAssetContractCommand");
var de_GetAssetContractCommandError = /* @__PURE__ */ __name(async (output, context) => {
const parsedOutput = {
...output,
body: await parseErrorBody(output.body, context)
};
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
switch (errorCode) {
case "AccessDeniedException":
case "com.amazonaws.managedblockchainquery#AccessDeniedException":
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
case "InternalServerException":
case "com.amazonaws.managedblockchainquery#InternalServerException":
throw await de_InternalServerExceptionRes(parsedOutput, context);
case "ResourceNotFoundException":
case "com.amazonaws.managedblockchainquery#ResourceNotFoundException":
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
case "ServiceQuotaExceededException":
case "com.amazonaws.managedblockchainquery#ServiceQuotaExceededException":
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
case "ThrottlingException":
case "com.amazonaws.managedblockchainquery#ThrottlingException":
throw await de_ThrottlingExceptionRes(parsedOutput, context);
case "ValidationException":
case "com.amazonaws.managedblockchainquery#ValidationException":
throw await de_ValidationExceptionRes(parsedOutput, context);
default:
const parsedBody = parsedOutput.body;
return throwDefaultError({
output,
parsedBody,
errorCode
});
}
}, "de_GetAssetContractCommandError");
var de_GetTokenBalanceCommand = /* @__PURE__ */ __name(async (output, context) => {
if (output.statusCode !== 200 && output.statusCode >= 300) {
return de_GetTokenBalanceCommandError(output, context);
return de_CommandError(output, context);
}

@@ -663,39 +595,5 @@ const contents = (0, import_smithy_client.map)({

}, "de_GetTokenBalanceCommand");
var de_GetTokenBalanceCommandError = /* @__PURE__ */ __name(async (output, context) => {
const parsedOutput = {
...output,
body: await parseErrorBody(output.body, context)
};
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
switch (errorCode) {
case "AccessDeniedException":
case "com.amazonaws.managedblockchainquery#AccessDeniedException":
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
case "InternalServerException":
case "com.amazonaws.managedblockchainquery#InternalServerException":
throw await de_InternalServerExceptionRes(parsedOutput, context);
case "ResourceNotFoundException":
case "com.amazonaws.managedblockchainquery#ResourceNotFoundException":
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
case "ServiceQuotaExceededException":
case "com.amazonaws.managedblockchainquery#ServiceQuotaExceededException":
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
case "ThrottlingException":
case "com.amazonaws.managedblockchainquery#ThrottlingException":
throw await de_ThrottlingExceptionRes(parsedOutput, context);
case "ValidationException":
case "com.amazonaws.managedblockchainquery#ValidationException":
throw await de_ValidationExceptionRes(parsedOutput, context);
default:
const parsedBody = parsedOutput.body;
return throwDefaultError({
output,
parsedBody,
errorCode
});
}
}, "de_GetTokenBalanceCommandError");
var de_GetTransactionCommand = /* @__PURE__ */ __name(async (output, context) => {
if (output.statusCode !== 200 && output.statusCode >= 300) {
return de_GetTransactionCommandError(output, context);
return de_CommandError(output, context);
}

@@ -712,39 +610,5 @@ const contents = (0, import_smithy_client.map)({

}, "de_GetTransactionCommand");
var de_GetTransactionCommandError = /* @__PURE__ */ __name(async (output, context) => {
const parsedOutput = {
...output,
body: await parseErrorBody(output.body, context)
};
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
switch (errorCode) {
case "AccessDeniedException":
case "com.amazonaws.managedblockchainquery#AccessDeniedException":
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
case "InternalServerException":
case "com.amazonaws.managedblockchainquery#InternalServerException":
throw await de_InternalServerExceptionRes(parsedOutput, context);
case "ResourceNotFoundException":
case "com.amazonaws.managedblockchainquery#ResourceNotFoundException":
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
case "ServiceQuotaExceededException":
case "com.amazonaws.managedblockchainquery#ServiceQuotaExceededException":
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
case "ThrottlingException":
case "com.amazonaws.managedblockchainquery#ThrottlingException":
throw await de_ThrottlingExceptionRes(parsedOutput, context);
case "ValidationException":
case "com.amazonaws.managedblockchainquery#ValidationException":
throw await de_ValidationExceptionRes(parsedOutput, context);
default:
const parsedBody = parsedOutput.body;
return throwDefaultError({
output,
parsedBody,
errorCode
});
}
}, "de_GetTransactionCommandError");
var de_ListAssetContractsCommand = /* @__PURE__ */ __name(async (output, context) => {
if (output.statusCode !== 200 && output.statusCode >= 300) {
return de_ListAssetContractsCommandError(output, context);
return de_CommandError(output, context);
}

@@ -762,36 +626,5 @@ const contents = (0, import_smithy_client.map)({

}, "de_ListAssetContractsCommand");
var de_ListAssetContractsCommandError = /* @__PURE__ */ __name(async (output, context) => {
const parsedOutput = {
...output,
body: await parseErrorBody(output.body, context)
};
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
switch (errorCode) {
case "AccessDeniedException":
case "com.amazonaws.managedblockchainquery#AccessDeniedException":
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
case "InternalServerException":
case "com.amazonaws.managedblockchainquery#InternalServerException":
throw await de_InternalServerExceptionRes(parsedOutput, context);
case "ServiceQuotaExceededException":
case "com.amazonaws.managedblockchainquery#ServiceQuotaExceededException":
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
case "ThrottlingException":
case "com.amazonaws.managedblockchainquery#ThrottlingException":
throw await de_ThrottlingExceptionRes(parsedOutput, context);
case "ValidationException":
case "com.amazonaws.managedblockchainquery#ValidationException":
throw await de_ValidationExceptionRes(parsedOutput, context);
default:
const parsedBody = parsedOutput.body;
return throwDefaultError({
output,
parsedBody,
errorCode
});
}
}, "de_ListAssetContractsCommandError");
var de_ListTokenBalancesCommand = /* @__PURE__ */ __name(async (output, context) => {
if (output.statusCode !== 200 && output.statusCode >= 300) {
return de_ListTokenBalancesCommandError(output, context);
return de_CommandError(output, context);
}

@@ -809,36 +642,5 @@ const contents = (0, import_smithy_client.map)({

}, "de_ListTokenBalancesCommand");
var de_ListTokenBalancesCommandError = /* @__PURE__ */ __name(async (output, context) => {
const parsedOutput = {
...output,
body: await parseErrorBody(output.body, context)
};
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
switch (errorCode) {
case "AccessDeniedException":
case "com.amazonaws.managedblockchainquery#AccessDeniedException":
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
case "InternalServerException":
case "com.amazonaws.managedblockchainquery#InternalServerException":
throw await de_InternalServerExceptionRes(parsedOutput, context);
case "ServiceQuotaExceededException":
case "com.amazonaws.managedblockchainquery#ServiceQuotaExceededException":
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
case "ThrottlingException":
case "com.amazonaws.managedblockchainquery#ThrottlingException":
throw await de_ThrottlingExceptionRes(parsedOutput, context);
case "ValidationException":
case "com.amazonaws.managedblockchainquery#ValidationException":
throw await de_ValidationExceptionRes(parsedOutput, context);
default:
const parsedBody = parsedOutput.body;
return throwDefaultError({
output,
parsedBody,
errorCode
});
}
}, "de_ListTokenBalancesCommandError");
var de_ListTransactionEventsCommand = /* @__PURE__ */ __name(async (output, context) => {
if (output.statusCode !== 200 && output.statusCode >= 300) {
return de_ListTransactionEventsCommandError(output, context);
return de_CommandError(output, context);
}

@@ -856,36 +658,5 @@ const contents = (0, import_smithy_client.map)({

}, "de_ListTransactionEventsCommand");
var de_ListTransactionEventsCommandError = /* @__PURE__ */ __name(async (output, context) => {
const parsedOutput = {
...output,
body: await parseErrorBody(output.body, context)
};
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
switch (errorCode) {
case "AccessDeniedException":
case "com.amazonaws.managedblockchainquery#AccessDeniedException":
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
case "InternalServerException":
case "com.amazonaws.managedblockchainquery#InternalServerException":
throw await de_InternalServerExceptionRes(parsedOutput, context);
case "ServiceQuotaExceededException":
case "com.amazonaws.managedblockchainquery#ServiceQuotaExceededException":
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
case "ThrottlingException":
case "com.amazonaws.managedblockchainquery#ThrottlingException":
throw await de_ThrottlingExceptionRes(parsedOutput, context);
case "ValidationException":
case "com.amazonaws.managedblockchainquery#ValidationException":
throw await de_ValidationExceptionRes(parsedOutput, context);
default:
const parsedBody = parsedOutput.body;
return throwDefaultError({
output,
parsedBody,
errorCode
});
}
}, "de_ListTransactionEventsCommandError");
var de_ListTransactionsCommand = /* @__PURE__ */ __name(async (output, context) => {
if (output.statusCode !== 200 && output.statusCode >= 300) {
return de_ListTransactionsCommandError(output, context);
return de_CommandError(output, context);
}

@@ -903,3 +674,3 @@ const contents = (0, import_smithy_client.map)({

}, "de_ListTransactionsCommand");
var de_ListTransactionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
const parsedOutput = {

@@ -917,2 +688,5 @@ ...output,

throw await de_InternalServerExceptionRes(parsedOutput, context);
case "ResourceNotFoundException":
case "com.amazonaws.managedblockchainquery#ResourceNotFoundException":
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
case "ServiceQuotaExceededException":

@@ -935,3 +709,3 @@ case "com.amazonaws.managedblockchainquery#ServiceQuotaExceededException":

}
}, "de_ListTransactionsCommandError");
}, "de_CommandError");
var throwDefaultError = (0, import_smithy_client.withBaseException)(ManagedBlockchainQueryServiceException);

@@ -938,0 +712,0 @@ var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {

@@ -129,3 +129,3 @@ import { requestBuilder as rb } from "@smithy/core";

if (output.statusCode !== 200 && output.statusCode >= 300) {
return de_BatchGetTokenBalanceCommandError(output, context);
return de_CommandError(output, context);
}

@@ -143,39 +143,5 @@ const contents = map({

};
const de_BatchGetTokenBalanceCommandError = async (output, context) => {
const parsedOutput = {
...output,
body: await parseErrorBody(output.body, context),
};
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
switch (errorCode) {
case "AccessDeniedException":
case "com.amazonaws.managedblockchainquery#AccessDeniedException":
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
case "InternalServerException":
case "com.amazonaws.managedblockchainquery#InternalServerException":
throw await de_InternalServerExceptionRes(parsedOutput, context);
case "ResourceNotFoundException":
case "com.amazonaws.managedblockchainquery#ResourceNotFoundException":
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
case "ServiceQuotaExceededException":
case "com.amazonaws.managedblockchainquery#ServiceQuotaExceededException":
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
case "ThrottlingException":
case "com.amazonaws.managedblockchainquery#ThrottlingException":
throw await de_ThrottlingExceptionRes(parsedOutput, context);
case "ValidationException":
case "com.amazonaws.managedblockchainquery#ValidationException":
throw await de_ValidationExceptionRes(parsedOutput, context);
default:
const parsedBody = parsedOutput.body;
return throwDefaultError({
output,
parsedBody,
errorCode,
});
}
};
export const de_GetAssetContractCommand = async (output, context) => {
if (output.statusCode !== 200 && output.statusCode >= 300) {
return de_GetAssetContractCommandError(output, context);
return de_CommandError(output, context);
}

@@ -195,39 +161,5 @@ const contents = map({

};
const de_GetAssetContractCommandError = async (output, context) => {
const parsedOutput = {
...output,
body: await parseErrorBody(output.body, context),
};
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
switch (errorCode) {
case "AccessDeniedException":
case "com.amazonaws.managedblockchainquery#AccessDeniedException":
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
case "InternalServerException":
case "com.amazonaws.managedblockchainquery#InternalServerException":
throw await de_InternalServerExceptionRes(parsedOutput, context);
case "ResourceNotFoundException":
case "com.amazonaws.managedblockchainquery#ResourceNotFoundException":
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
case "ServiceQuotaExceededException":
case "com.amazonaws.managedblockchainquery#ServiceQuotaExceededException":
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
case "ThrottlingException":
case "com.amazonaws.managedblockchainquery#ThrottlingException":
throw await de_ThrottlingExceptionRes(parsedOutput, context);
case "ValidationException":
case "com.amazonaws.managedblockchainquery#ValidationException":
throw await de_ValidationExceptionRes(parsedOutput, context);
default:
const parsedBody = parsedOutput.body;
return throwDefaultError({
output,
parsedBody,
errorCode,
});
}
};
export const de_GetTokenBalanceCommand = async (output, context) => {
if (output.statusCode !== 200 && output.statusCode >= 300) {
return de_GetTokenBalanceCommandError(output, context);
return de_CommandError(output, context);
}

@@ -248,39 +180,5 @@ const contents = map({

};
const de_GetTokenBalanceCommandError = async (output, context) => {
const parsedOutput = {
...output,
body: await parseErrorBody(output.body, context),
};
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
switch (errorCode) {
case "AccessDeniedException":
case "com.amazonaws.managedblockchainquery#AccessDeniedException":
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
case "InternalServerException":
case "com.amazonaws.managedblockchainquery#InternalServerException":
throw await de_InternalServerExceptionRes(parsedOutput, context);
case "ResourceNotFoundException":
case "com.amazonaws.managedblockchainquery#ResourceNotFoundException":
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
case "ServiceQuotaExceededException":
case "com.amazonaws.managedblockchainquery#ServiceQuotaExceededException":
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
case "ThrottlingException":
case "com.amazonaws.managedblockchainquery#ThrottlingException":
throw await de_ThrottlingExceptionRes(parsedOutput, context);
case "ValidationException":
case "com.amazonaws.managedblockchainquery#ValidationException":
throw await de_ValidationExceptionRes(parsedOutput, context);
default:
const parsedBody = parsedOutput.body;
return throwDefaultError({
output,
parsedBody,
errorCode,
});
}
};
export const de_GetTransactionCommand = async (output, context) => {
if (output.statusCode !== 200 && output.statusCode >= 300) {
return de_GetTransactionCommandError(output, context);
return de_CommandError(output, context);
}

@@ -297,39 +195,5 @@ const contents = map({

};
const de_GetTransactionCommandError = async (output, context) => {
const parsedOutput = {
...output,
body: await parseErrorBody(output.body, context),
};
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
switch (errorCode) {
case "AccessDeniedException":
case "com.amazonaws.managedblockchainquery#AccessDeniedException":
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
case "InternalServerException":
case "com.amazonaws.managedblockchainquery#InternalServerException":
throw await de_InternalServerExceptionRes(parsedOutput, context);
case "ResourceNotFoundException":
case "com.amazonaws.managedblockchainquery#ResourceNotFoundException":
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
case "ServiceQuotaExceededException":
case "com.amazonaws.managedblockchainquery#ServiceQuotaExceededException":
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
case "ThrottlingException":
case "com.amazonaws.managedblockchainquery#ThrottlingException":
throw await de_ThrottlingExceptionRes(parsedOutput, context);
case "ValidationException":
case "com.amazonaws.managedblockchainquery#ValidationException":
throw await de_ValidationExceptionRes(parsedOutput, context);
default:
const parsedBody = parsedOutput.body;
return throwDefaultError({
output,
parsedBody,
errorCode,
});
}
};
export const de_ListAssetContractsCommand = async (output, context) => {
if (output.statusCode !== 200 && output.statusCode >= 300) {
return de_ListAssetContractsCommandError(output, context);
return de_CommandError(output, context);
}

@@ -347,36 +211,5 @@ const contents = map({

};
const de_ListAssetContractsCommandError = async (output, context) => {
const parsedOutput = {
...output,
body: await parseErrorBody(output.body, context),
};
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
switch (errorCode) {
case "AccessDeniedException":
case "com.amazonaws.managedblockchainquery#AccessDeniedException":
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
case "InternalServerException":
case "com.amazonaws.managedblockchainquery#InternalServerException":
throw await de_InternalServerExceptionRes(parsedOutput, context);
case "ServiceQuotaExceededException":
case "com.amazonaws.managedblockchainquery#ServiceQuotaExceededException":
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
case "ThrottlingException":
case "com.amazonaws.managedblockchainquery#ThrottlingException":
throw await de_ThrottlingExceptionRes(parsedOutput, context);
case "ValidationException":
case "com.amazonaws.managedblockchainquery#ValidationException":
throw await de_ValidationExceptionRes(parsedOutput, context);
default:
const parsedBody = parsedOutput.body;
return throwDefaultError({
output,
parsedBody,
errorCode,
});
}
};
export const de_ListTokenBalancesCommand = async (output, context) => {
if (output.statusCode !== 200 && output.statusCode >= 300) {
return de_ListTokenBalancesCommandError(output, context);
return de_CommandError(output, context);
}

@@ -394,36 +227,5 @@ const contents = map({

};
const de_ListTokenBalancesCommandError = async (output, context) => {
const parsedOutput = {
...output,
body: await parseErrorBody(output.body, context),
};
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
switch (errorCode) {
case "AccessDeniedException":
case "com.amazonaws.managedblockchainquery#AccessDeniedException":
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
case "InternalServerException":
case "com.amazonaws.managedblockchainquery#InternalServerException":
throw await de_InternalServerExceptionRes(parsedOutput, context);
case "ServiceQuotaExceededException":
case "com.amazonaws.managedblockchainquery#ServiceQuotaExceededException":
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
case "ThrottlingException":
case "com.amazonaws.managedblockchainquery#ThrottlingException":
throw await de_ThrottlingExceptionRes(parsedOutput, context);
case "ValidationException":
case "com.amazonaws.managedblockchainquery#ValidationException":
throw await de_ValidationExceptionRes(parsedOutput, context);
default:
const parsedBody = parsedOutput.body;
return throwDefaultError({
output,
parsedBody,
errorCode,
});
}
};
export const de_ListTransactionEventsCommand = async (output, context) => {
if (output.statusCode !== 200 && output.statusCode >= 300) {
return de_ListTransactionEventsCommandError(output, context);
return de_CommandError(output, context);
}

@@ -441,36 +243,5 @@ const contents = map({

};
const de_ListTransactionEventsCommandError = async (output, context) => {
const parsedOutput = {
...output,
body: await parseErrorBody(output.body, context),
};
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
switch (errorCode) {
case "AccessDeniedException":
case "com.amazonaws.managedblockchainquery#AccessDeniedException":
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
case "InternalServerException":
case "com.amazonaws.managedblockchainquery#InternalServerException":
throw await de_InternalServerExceptionRes(parsedOutput, context);
case "ServiceQuotaExceededException":
case "com.amazonaws.managedblockchainquery#ServiceQuotaExceededException":
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
case "ThrottlingException":
case "com.amazonaws.managedblockchainquery#ThrottlingException":
throw await de_ThrottlingExceptionRes(parsedOutput, context);
case "ValidationException":
case "com.amazonaws.managedblockchainquery#ValidationException":
throw await de_ValidationExceptionRes(parsedOutput, context);
default:
const parsedBody = parsedOutput.body;
return throwDefaultError({
output,
parsedBody,
errorCode,
});
}
};
export const de_ListTransactionsCommand = async (output, context) => {
if (output.statusCode !== 200 && output.statusCode >= 300) {
return de_ListTransactionsCommandError(output, context);
return de_CommandError(output, context);
}

@@ -488,3 +259,3 @@ const contents = map({

};
const de_ListTransactionsCommandError = async (output, context) => {
const de_CommandError = async (output, context) => {
const parsedOutput = {

@@ -502,2 +273,5 @@ ...output,

throw await de_InternalServerExceptionRes(parsedOutput, context);
case "ResourceNotFoundException":
case "com.amazonaws.managedblockchainquery#ResourceNotFoundException":
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
case "ServiceQuotaExceededException":

@@ -504,0 +278,0 @@ case "com.amazonaws.managedblockchainquery#ServiceQuotaExceededException":

6

package.json
{
"name": "@aws-sdk/client-managedblockchain-query",
"description": "AWS SDK for JavaScript Managedblockchain Query Client for Node.js, Browser and React Native",
"version": "3.505.0",
"version": "3.507.0",
"scripts": {

@@ -23,5 +23,5 @@ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",

"@aws-crypto/sha256-js": "3.0.0",
"@aws-sdk/client-sts": "3.504.0",
"@aws-sdk/client-sts": "3.507.0",
"@aws-sdk/core": "3.496.0",
"@aws-sdk/credential-provider-node": "3.504.0",
"@aws-sdk/credential-provider-node": "3.507.0",
"@aws-sdk/middleware-host-header": "3.502.0",

@@ -28,0 +28,0 @@ "@aws-sdk/middleware-logger": "3.502.0",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc