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

@aws-sdk/client-inspector2

Package Overview
Dependencies
Maintainers
6
Versions
335
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-sdk/client-inspector2 - npm Package Compare versions

Comparing version 3.52.0 to 3.53.0

dist-cjs/models/Inspector2ServiceException.js

11

CHANGELOG.md

@@ -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 @@

3

dist-cjs/index.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Inspector2ServiceException = void 0;
const tslib_1 = require("tslib");

@@ -9,1 +10,3 @@ tslib_1.__exportStar(require("./Inspector2"), exports);

tslib_1.__exportStar(require("./pagination"), exports);
var Inspector2ServiceException_1 = require("./models/Inspector2ServiceException");
Object.defineProperty(exports, "Inspector2ServiceException", { enumerable: true, get: function () { return Inspector2ServiceException_1.Inspector2ServiceException; } });

@@ -6,1 +6,2 @@ export * from "./Inspector2";

export * from "./pagination";
export { Inspector2ServiceException } from "./models/Inspector2ServiceException";

@@ -1,2 +0,15 @@

import { __assign } from "tslib";
import { __assign, __extends } from "tslib";
import { Inspector2ServiceException as __BaseException } from "./Inspector2ServiceException";
var AccessDeniedException = (function (_super) {
__extends(AccessDeniedException, _super);
function AccessDeniedException(opts) {
var _this = _super.call(this, __assign({ name: "AccessDeniedException", $fault: "client" }, opts)) || this;
_this.name = "AccessDeniedException";
_this.$fault = "client";
Object.setPrototypeOf(_this, AccessDeniedException.prototype);
return _this;
}
return AccessDeniedException;
}(__BaseException));
export { AccessDeniedException };
export var Status;

@@ -331,2 +344,28 @@ (function (Status) {

})(AssociateMemberResponse || (AssociateMemberResponse = {}));
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";
_this.$retryable = {};
Object.setPrototypeOf(_this, InternalServerException.prototype);
_this.retryAfterSeconds = opts.retryAfterSeconds;
return _this;
}
return InternalServerException;
}(__BaseException));
export { InternalServerException };
var ThrottlingException = (function (_super) {
__extends(ThrottlingException, _super);
function ThrottlingException(opts) {
var _this = _super.call(this, __assign({ name: "ThrottlingException", $fault: "client" }, opts)) || this;
_this.name = "ThrottlingException";
_this.$fault = "client";
Object.setPrototypeOf(_this, ThrottlingException.prototype);
return _this;
}
return ThrottlingException;
}(__BaseException));
export { ThrottlingException };
export var ValidationExceptionField;

@@ -342,2 +381,16 @@ (function (ValidationExceptionField) {

})(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.reason = opts.reason;
_this.fields = opts.fields;
return _this;
}
return ValidationException;
}(__BaseException));
export { ValidationException };
export var AutoEnable;

@@ -355,2 +408,14 @@ (function (AutoEnable) {

})(AwsEcrContainerImageDetails || (AwsEcrContainerImageDetails = {}));
var BadRequestException = (function (_super) {
__extends(BadRequestException, _super);
function BadRequestException(opts) {
var _this = _super.call(this, __assign({ name: "BadRequestException", $fault: "client" }, opts)) || this;
_this.name = "BadRequestException";
_this.$fault = "client";
Object.setPrototypeOf(_this, BadRequestException.prototype);
return _this;
}
return BadRequestException;
}(__BaseException));
export { BadRequestException };
export var BatchGetAccountStatusRequest;

@@ -368,2 +433,14 @@ (function (BatchGetAccountStatusRequest) {

})(BatchGetAccountStatusResponse || (BatchGetAccountStatusResponse = {}));
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);
return _this;
}
return ResourceNotFoundException;
}(__BaseException));
export { ResourceNotFoundException };
export var BatchGetFreeTrialInfoRequest;

@@ -412,2 +489,16 @@ (function (BatchGetFreeTrialInfoRequest) {

})(CancelFindingsReportResponse || (CancelFindingsReportResponse = {}));
var ConflictException = (function (_super) {
__extends(ConflictException, _super);
function ConflictException(opts) {
var _this = _super.call(this, __assign({ name: "ConflictException", $fault: "client" }, opts)) || this;
_this.name = "ConflictException";
_this.$fault = "client";
Object.setPrototypeOf(_this, ConflictException.prototype);
_this.resourceId = opts.resourceId;
_this.resourceType = opts.resourceType;
return _this;
}
return ConflictException;
}(__BaseException));
export { ConflictException };
export var GroupKey;

@@ -547,2 +638,15 @@ (function (GroupKey) {

})(CreateFilterResponse || (CreateFilterResponse = {}));
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.resourceId = opts.resourceId;
return _this;
}
return ServiceQuotaExceededException;
}(__BaseException));
export { ServiceQuotaExceededException };
export var ReportFormat;

@@ -549,0 +653,0 @@ (function (ReportFormat) {

@@ -6,1 +6,2 @@ export * from "./Inspector2";

export * from "./pagination";
export { Inspector2ServiceException } from "./models/Inspector2ServiceException";

@@ -6,1 +6,2 @@ export * from "./Inspector2";

export * from "./pagination";
export { Inspector2ServiceException } from "./models/Inspector2ServiceException";

75

dist-types/ts3.4/models/models_0.d.ts

@@ -1,7 +0,9 @@

import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
import { Inspector2ServiceException as __BaseException } from "./Inspector2ServiceException";
export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
name: "AccessDeniedException";
$fault: "client";
message: string | undefined;
export declare class AccessDeniedException extends __BaseException {
readonly name: "AccessDeniedException";
readonly $fault: "client";
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
}

@@ -813,15 +815,17 @@ export declare enum Status {

export interface InternalServerException extends __SmithyException, $MetadataBearer {
name: "InternalServerException";
$fault: "server";
export declare class InternalServerException extends __BaseException {
readonly name: "InternalServerException";
readonly $fault: "server";
$retryable: {};
message: string | undefined;
retryAfterSeconds?: number;
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
}
export interface ThrottlingException extends __SmithyException, $MetadataBearer {
name: "ThrottlingException";
$fault: "client";
message: string | undefined;
export declare class ThrottlingException extends __BaseException {
readonly name: "ThrottlingException";
readonly $fault: "client";
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
}

@@ -845,6 +849,5 @@

export interface ValidationException extends __SmithyException, $MetadataBearer {
name: "ValidationException";
$fault: "client";
message: string | undefined;
export declare class ValidationException extends __BaseException {
readonly name: "ValidationException";
readonly $fault: "client";

@@ -854,2 +857,4 @@ reason: ValidationExceptionReason | string | undefined;

fields?: ValidationExceptionField[];
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
}

@@ -918,6 +923,7 @@

export interface BadRequestException extends __SmithyException, $MetadataBearer {
name: "BadRequestException";
$fault: "client";
message: string | undefined;
export declare class BadRequestException extends __BaseException {
readonly name: "BadRequestException";
readonly $fault: "client";
constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
}

@@ -960,6 +966,7 @@ export interface BatchGetAccountStatusRequest {

export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
name: "ResourceNotFoundException";
$fault: "client";
message: string | undefined;
export declare class ResourceNotFoundException extends __BaseException {
readonly name: "ResourceNotFoundException";
readonly $fault: "client";
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
}

@@ -1052,6 +1059,5 @@ export interface BatchGetFreeTrialInfoRequest {

export interface ConflictException extends __SmithyException, $MetadataBearer {
name: "ConflictException";
$fault: "client";
message: string | undefined;
export declare class ConflictException extends __BaseException {
readonly name: "ConflictException";
readonly $fault: "client";

@@ -1061,2 +1067,4 @@ resourceId: string | undefined;

resourceType: string | undefined;
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
}

@@ -1405,8 +1413,9 @@ export declare enum GroupKey {

export interface ServiceQuotaExceededException extends __SmithyException, $MetadataBearer {
name: "ServiceQuotaExceededException";
$fault: "client";
message: string | undefined;
export declare class ServiceQuotaExceededException extends __BaseException {
readonly name: "ServiceQuotaExceededException";
readonly $fault: "client";
resourceId: string | undefined;
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
}

@@ -1413,0 +1422,0 @@ export declare enum ReportFormat {

{
"name": "@aws-sdk/client-inspector2",
"description": "AWS SDK for JavaScript Inspector2 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",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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