New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@aws-sdk/client-rds-data

Package Overview
Dependencies
Maintainers
5
Versions
440
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-sdk/client-rds-data - npm Package Compare versions

Comparing version 3.744.0 to 3.749.0

36

dist-cjs/index.js

@@ -41,2 +41,3 @@ "use strict";

InternalServerErrorException: () => InternalServerErrorException,
InvalidResourceStateException: () => InvalidResourceStateException,
InvalidSecretException: () => InvalidSecretException,

@@ -402,2 +403,20 @@ LongReturnType: () => LongReturnType,

};
var InvalidResourceStateException = class _InvalidResourceStateException extends RDSDataServiceException {
static {
__name(this, "InvalidResourceStateException");
}
name = "InvalidResourceStateException";
$fault = "client";
/**
* @internal
*/
constructor(opts) {
super({
name: "InvalidResourceStateException",
$fault: "client",
...opts
});
Object.setPrototypeOf(this, _InvalidResourceStateException.prototype);
}
};
var InvalidSecretException = class _InvalidSecretException extends RDSDataServiceException {

@@ -850,2 +869,5 @@ static {

throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
case "InvalidResourceStateException":
case "com.amazonaws.rdsdata#InvalidResourceStateException":
throw await de_InvalidResourceStateExceptionRes(parsedOutput, context);
case "InvalidSecretException":

@@ -995,2 +1017,15 @@ case "com.amazonaws.rdsdata#InvalidSecretException":

}, "de_InternalServerErrorExceptionRes");
var de_InvalidResourceStateExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
const contents = (0, import_smithy_client.map)({});
const data = parsedOutput.body;
const doc = (0, import_smithy_client.take)(data, {
message: import_smithy_client.expectString
});
Object.assign(contents, doc);
const exception = new InvalidResourceStateException({
$metadata: deserializeMetadata(parsedOutput),
...contents
});
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
}, "de_InvalidResourceStateExceptionRes");
var de_InvalidSecretExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {

@@ -1444,2 +1479,3 @@ const contents = (0, import_smithy_client.map)({});

InternalServerErrorException,
InvalidResourceStateException,
InvalidSecretException,

@@ -1446,0 +1482,0 @@ SecretsErrorException,

@@ -118,2 +118,14 @@ import { RDSDataServiceException as __BaseException } from "./RDSDataServiceException";

}
export class InvalidResourceStateException extends __BaseException {
name = "InvalidResourceStateException";
$fault = "client";
constructor(opts) {
super({
name: "InvalidResourceStateException",
$fault: "client",
...opts,
});
Object.setPrototypeOf(this, InvalidResourceStateException.prototype);
}
}
export class InvalidSecretException extends __BaseException {

@@ -120,0 +132,0 @@ name = "InvalidSecretException";

18

dist-es/protocols/Aws_restJson1.js
import { awsExpectUnion as __expectUnion, loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody, } from "@aws-sdk/core";
import { requestBuilder as rb } from "@smithy/core";
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, limitedParseFloat32 as __limitedParseFloat32, map, serializeFloat as __serializeFloat, take, withBaseException, } from "@smithy/smithy-client";
import { AccessDeniedException, ArrayValue, BadRequestException, DatabaseErrorException, DatabaseNotFoundException, DatabaseResumingException, DatabaseUnavailableException, Field, ForbiddenException, HttpEndpointNotEnabledException, InternalServerErrorException, InvalidSecretException, NotFoundException, SecretsErrorException, ServiceUnavailableError, StatementTimeoutException, TransactionNotFoundException, UnsupportedResultException, } from "../models/models_0";
import { AccessDeniedException, ArrayValue, BadRequestException, DatabaseErrorException, DatabaseNotFoundException, DatabaseResumingException, DatabaseUnavailableException, Field, ForbiddenException, HttpEndpointNotEnabledException, InternalServerErrorException, InvalidResourceStateException, InvalidSecretException, NotFoundException, SecretsErrorException, ServiceUnavailableError, StatementTimeoutException, TransactionNotFoundException, UnsupportedResultException, } from "../models/models_0";
import { RDSDataServiceException as __BaseException } from "../models/RDSDataServiceException";

@@ -233,2 +233,5 @@ export const se_BatchExecuteStatementCommand = async (input, context) => {

throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
case "InvalidResourceStateException":
case "com.amazonaws.rdsdata#InvalidResourceStateException":
throw await de_InvalidResourceStateExceptionRes(parsedOutput, context);
case "InvalidSecretException":

@@ -378,2 +381,15 @@ case "com.amazonaws.rdsdata#InvalidSecretException":

};
const de_InvalidResourceStateExceptionRes = async (parsedOutput, context) => {
const contents = map({});
const data = parsedOutput.body;
const doc = take(data, {
message: __expectString,
});
Object.assign(contents, doc);
const exception = new InvalidResourceStateException({
$metadata: deserializeMetadata(parsedOutput),
...contents,
});
return __decorateServiceException(exception, parsedOutput.body);
};
const de_InvalidSecretExceptionRes = async (parsedOutput, context) => {

@@ -380,0 +396,0 @@ const contents = map({});

9

dist-types/commands/BatchExecuteStatementCommand.d.ts

@@ -180,5 +180,5 @@ import { Command as $Command } from "@smithy/smithy-client";

* @throws {@link DatabaseResumingException} (client fault)
* <p>A request was canceled because the Aurora Serverless v2 DB instance was in a paused state.
* The Data API request automatically causes the DB instance to begin resuming. Wait a few seconds and
* try again.</p>
* <p>A request was cancelled because the Aurora Serverless v2 DB instance was paused.
* The Data API request automatically resumes the DB instance. Wait a few seconds and
* try again.</p>
*

@@ -197,2 +197,5 @@ * @throws {@link DatabaseUnavailableException} (server fault)

*
* @throws {@link InvalidResourceStateException} (client fault)
* <p>The resource is in an invalid state.</p>
*
* @throws {@link InvalidSecretException} (client fault)

@@ -199,0 +202,0 @@ * <p>The Secrets Manager secret used with the request isn't valid.</p>

@@ -78,5 +78,5 @@ import { Command as $Command } from "@smithy/smithy-client";

* @throws {@link DatabaseResumingException} (client fault)
* <p>A request was canceled because the Aurora Serverless v2 DB instance was in a paused state.
* The Data API request automatically causes the DB instance to begin resuming. Wait a few seconds and
* try again.</p>
* <p>A request was cancelled because the Aurora Serverless v2 DB instance was paused.
* The Data API request automatically resumes the DB instance. Wait a few seconds and
* try again.</p>
*

@@ -95,2 +95,5 @@ * @throws {@link DatabaseUnavailableException} (server fault)

*
* @throws {@link InvalidResourceStateException} (client fault)
* <p>The resource is in an invalid state.</p>
*
* @throws {@link InvalidSecretException} (client fault)

@@ -97,0 +100,0 @@ * <p>The Secrets Manager secret used with the request isn't valid.</p>

@@ -81,2 +81,5 @@ import { Command as $Command } from "@smithy/smithy-client";

*
* @throws {@link InvalidResourceStateException} (client fault)
* <p>The resource is in an invalid state.</p>
*
* @throws {@link InvalidSecretException} (client fault)

@@ -83,0 +86,0 @@ * <p>The Secrets Manager secret used with the request isn't valid.</p>

@@ -207,5 +207,5 @@ import { Command as $Command } from "@smithy/smithy-client";

* @throws {@link DatabaseResumingException} (client fault)
* <p>A request was canceled because the Aurora Serverless v2 DB instance was in a paused state.
* The Data API request automatically causes the DB instance to begin resuming. Wait a few seconds and
* try again.</p>
* <p>A request was cancelled because the Aurora Serverless v2 DB instance was paused.
* The Data API request automatically resumes the DB instance. Wait a few seconds and
* try again.</p>
*

@@ -224,2 +224,5 @@ * @throws {@link DatabaseUnavailableException} (server fault)

*
* @throws {@link InvalidResourceStateException} (client fault)
* <p>The resource is in an invalid state.</p>
*
* @throws {@link InvalidSecretException} (client fault)

@@ -226,0 +229,0 @@ * <p>The Secrets Manager secret used with the request isn't valid.</p>

@@ -80,2 +80,5 @@ import { Command as $Command } from "@smithy/smithy-client";

*
* @throws {@link InvalidResourceStateException} (client fault)
* <p>The resource is in an invalid state.</p>
*
* @throws {@link InvalidSecretException} (client fault)

@@ -82,0 +85,0 @@ * <p>The Secrets Manager secret used with the request isn't valid.</p>

@@ -68,5 +68,5 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";

/**
* <p>A request was canceled because the Aurora Serverless v2 DB instance was in a paused state.
* The Data API request automatically causes the DB instance to begin resuming. Wait a few seconds and
* try again.</p>
* <p>A request was cancelled because the Aurora Serverless v2 DB instance was paused.
* The Data API request automatically resumes the DB instance. Wait a few seconds and
* try again.</p>
* @public

@@ -131,2 +131,14 @@ */

/**
* <p>The resource is in an invalid state.</p>
* @public
*/
export declare class InvalidResourceStateException extends __BaseException {
readonly name: "InvalidResourceStateException";
readonly $fault: "client";
/**
* @internal
*/
constructor(opts: __ExceptionOptionType<InvalidResourceStateException, __BaseException>);
}
/**
* <p>The Secrets Manager secret used with the request isn't valid.</p>

@@ -133,0 +145,0 @@ * @public

@@ -76,2 +76,9 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";

}
export declare class InvalidResourceStateException extends __BaseException {
readonly name: "InvalidResourceStateException";
readonly $fault: "client";
constructor(
opts: __ExceptionOptionType<InvalidResourceStateException, __BaseException>
);
}
export declare class InvalidSecretException extends __BaseException {

@@ -78,0 +85,0 @@ readonly name: "InvalidSecretException";

{
"name": "@aws-sdk/client-rds-data",
"description": "AWS SDK for JavaScript Rds Data Client for Node.js, Browser and React Native",
"version": "3.744.0",
"version": "3.749.0",
"scripts": {

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

"@aws-crypto/sha256-js": "5.2.0",
"@aws-sdk/core": "3.744.0",
"@aws-sdk/credential-provider-node": "3.744.0",
"@aws-sdk/core": "3.749.0",
"@aws-sdk/credential-provider-node": "3.749.0",
"@aws-sdk/middleware-host-header": "3.734.0",
"@aws-sdk/middleware-logger": "3.734.0",
"@aws-sdk/middleware-recursion-detection": "3.734.0",
"@aws-sdk/middleware-user-agent": "3.744.0",
"@aws-sdk/middleware-user-agent": "3.749.0",
"@aws-sdk/region-config-resolver": "3.734.0",

@@ -34,5 +34,5 @@ "@aws-sdk/types": "3.734.0",

"@aws-sdk/util-user-agent-browser": "3.734.0",
"@aws-sdk/util-user-agent-node": "3.744.0",
"@aws-sdk/util-user-agent-node": "3.749.0",
"@smithy/config-resolver": "^4.0.1",
"@smithy/core": "^3.1.2",
"@smithy/core": "^3.1.3",
"@smithy/fetch-http-handler": "^5.0.1",

@@ -42,4 +42,4 @@ "@smithy/hash-node": "^4.0.1",

"@smithy/middleware-content-length": "^4.0.1",
"@smithy/middleware-endpoint": "^4.0.3",
"@smithy/middleware-retry": "^4.0.4",
"@smithy/middleware-endpoint": "^4.0.4",
"@smithy/middleware-retry": "^4.0.5",
"@smithy/middleware-serde": "^4.0.2",

@@ -50,3 +50,3 @@ "@smithy/middleware-stack": "^4.0.1",

"@smithy/protocol-http": "^5.0.1",
"@smithy/smithy-client": "^4.1.3",
"@smithy/smithy-client": "^4.1.4",
"@smithy/types": "^4.1.0",

@@ -57,4 +57,4 @@ "@smithy/url-parser": "^4.0.1",

"@smithy/util-body-length-node": "^4.0.0",
"@smithy/util-defaults-mode-browser": "^4.0.4",
"@smithy/util-defaults-mode-node": "^4.0.4",
"@smithy/util-defaults-mode-browser": "^4.0.5",
"@smithy/util-defaults-mode-node": "^4.0.5",
"@smithy/util-endpoints": "^3.0.1",

@@ -61,0 +61,0 @@ "@smithy/util-middleware": "^4.0.1",

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