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

@aws-sdk/client-mwaa

Package Overview
Dependencies
Maintainers
6
Versions
357
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 3.52.0 to 3.53.0

dist-cjs/models/MWAAServiceException.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.MWAAServiceException = void 0;
const tslib_1 = require("tslib");

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

tslib_1.__exportStar(require("./pagination"), exports);
var MWAAServiceException_1 = require("./models/MWAAServiceException");
Object.defineProperty(exports, "MWAAServiceException", { enumerable: true, get: function () { return MWAAServiceException_1.MWAAServiceException; } });
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.UpdateEnvironmentOutput = exports.UpdateEnvironmentInput = exports.UpdateNetworkConfigurationInput = exports.UntagResourceOutput = exports.UntagResourceInput = exports.TagResourceOutput = exports.TagResourceInput = exports.PublishMetricsOutput = exports.PublishMetricsInput = exports.MetricDatum = exports.Unit = exports.StatisticSet = exports.Dimension = exports.ListTagsForResourceOutput = exports.ListTagsForResourceInput = exports.ListEnvironmentsOutput = exports.ListEnvironmentsInput = exports.GetEnvironmentOutput = exports.Environment = exports.EnvironmentStatus = exports.LoggingConfiguration = exports.ModuleLoggingConfiguration = exports.LastUpdate = exports.UpdateStatus = exports.UpdateError = exports.GetEnvironmentInput = exports.DeleteEnvironmentOutput = exports.DeleteEnvironmentInput = exports.CreateWebLoginTokenResponse = exports.CreateWebLoginTokenRequest = exports.CreateEnvironmentOutput = exports.CreateEnvironmentInput = exports.WebserverAccessMode = exports.NetworkConfiguration = exports.LoggingConfigurationInput = exports.ModuleLoggingConfigurationInput = exports.LoggingLevel = exports.CreateCliTokenResponse = exports.CreateCliTokenRequest = void 0;
exports.UpdateEnvironmentOutput = exports.UpdateEnvironmentInput = exports.UpdateNetworkConfigurationInput = exports.UntagResourceOutput = exports.UntagResourceInput = exports.TagResourceOutput = exports.TagResourceInput = exports.PublishMetricsOutput = exports.PublishMetricsInput = exports.MetricDatum = exports.Unit = exports.StatisticSet = exports.Dimension = exports.ListTagsForResourceOutput = exports.ListTagsForResourceInput = exports.ListEnvironmentsOutput = exports.ListEnvironmentsInput = exports.GetEnvironmentOutput = exports.Environment = exports.EnvironmentStatus = exports.LoggingConfiguration = exports.ModuleLoggingConfiguration = exports.LastUpdate = exports.UpdateStatus = exports.UpdateError = exports.GetEnvironmentInput = exports.DeleteEnvironmentOutput = exports.DeleteEnvironmentInput = exports.CreateWebLoginTokenResponse = exports.CreateWebLoginTokenRequest = exports.ValidationException = exports.InternalServerException = exports.CreateEnvironmentOutput = exports.CreateEnvironmentInput = exports.WebserverAccessMode = exports.NetworkConfiguration = exports.LoggingConfigurationInput = exports.ModuleLoggingConfigurationInput = exports.LoggingLevel = exports.ResourceNotFoundException = exports.CreateCliTokenResponse = exports.CreateCliTokenRequest = exports.AccessDeniedException = void 0;
const smithy_client_1 = require("@aws-sdk/smithy-client");
const MWAAServiceException_1 = require("./MWAAServiceException");
class AccessDeniedException extends MWAAServiceException_1.MWAAServiceException {
constructor(opts) {
super({
name: "AccessDeniedException",
$fault: "client",
...opts,
});
this.name = "AccessDeniedException";
this.$fault = "client";
Object.setPrototypeOf(this, AccessDeniedException.prototype);
this.Message = opts.Message;
}
}
exports.AccessDeniedException = AccessDeniedException;
var CreateCliTokenRequest;

@@ -18,2 +33,15 @@ (function (CreateCliTokenRequest) {

})(CreateCliTokenResponse = exports.CreateCliTokenResponse || (exports.CreateCliTokenResponse = {}));
class ResourceNotFoundException extends MWAAServiceException_1.MWAAServiceException {
constructor(opts) {
super({
name: "ResourceNotFoundException",
$fault: "client",
...opts,
});
this.name = "ResourceNotFoundException";
this.$fault = "client";
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
}
}
exports.ResourceNotFoundException = ResourceNotFoundException;
var LoggingLevel;

@@ -63,2 +91,28 @@ (function (LoggingLevel) {

})(CreateEnvironmentOutput = exports.CreateEnvironmentOutput || (exports.CreateEnvironmentOutput = {}));
class InternalServerException extends MWAAServiceException_1.MWAAServiceException {
constructor(opts) {
super({
name: "InternalServerException",
$fault: "server",
...opts,
});
this.name = "InternalServerException";
this.$fault = "server";
Object.setPrototypeOf(this, InternalServerException.prototype);
}
}
exports.InternalServerException = InternalServerException;
class ValidationException extends MWAAServiceException_1.MWAAServiceException {
constructor(opts) {
super({
name: "ValidationException",
$fault: "client",
...opts,
});
this.name = "ValidationException";
this.$fault = "client";
Object.setPrototypeOf(this, ValidationException.prototype);
}
}
exports.ValidationException = ValidationException;
var CreateWebLoginTokenRequest;

@@ -65,0 +119,0 @@ (function (CreateWebLoginTokenRequest) {

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

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

@@ -1,3 +0,17 @@

import { __assign } from "tslib";
import { __assign, __extends } from "tslib";
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
import { MWAAServiceException as __BaseException } from "./MWAAServiceException";
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);
_this.Message = opts.Message;
return _this;
}
return AccessDeniedException;
}(__BaseException));
export { AccessDeniedException };
export var CreateCliTokenRequest;

@@ -11,2 +25,14 @@ (function (CreateCliTokenRequest) {

})(CreateCliTokenResponse || (CreateCliTokenResponse = {}));
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 LoggingLevel;

@@ -45,2 +71,26 @@ (function (LoggingLevel) {

})(CreateEnvironmentOutput || (CreateEnvironmentOutput = {}));
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);
return _this;
}
return InternalServerException;
}(__BaseException));
export { InternalServerException };
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);
return _this;
}
return ValidationException;
}(__BaseException));
export { ValidationException };
export var CreateWebLoginTokenRequest;

@@ -47,0 +97,0 @@ (function (CreateWebLoginTokenRequest) {

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

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

46

dist-types/models/models_0.d.ts

@@ -1,9 +0,14 @@

import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
import { MWAAServiceException as __BaseException } from "./MWAAServiceException";
/**
* <p>Access to the Apache Airflow Web UI or CLI has been denied due to insufficient permissions. To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/access-policies.html">Accessing an Amazon MWAA environment</a>.</p>
*/
export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
name: "AccessDeniedException";
$fault: "client";
export declare class AccessDeniedException extends __BaseException {
readonly name: "AccessDeniedException";
readonly $fault: "client";
Message?: string;
/**
* @internal
*/
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
}

@@ -41,6 +46,9 @@ export interface CreateCliTokenRequest {

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

@@ -245,6 +253,9 @@ export declare enum LoggingLevel {

*/
export interface InternalServerException extends __SmithyException, $MetadataBearer {
name: "InternalServerException";
$fault: "server";
message?: string;
export declare class InternalServerException extends __BaseException {
readonly name: "InternalServerException";
readonly $fault: "server";
/**
* @internal
*/
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
}

@@ -254,6 +265,9 @@ /**

*/
export interface ValidationException extends __SmithyException, $MetadataBearer {
name: "ValidationException";
$fault: "client";
message?: string;
export declare class ValidationException extends __BaseException {
readonly name: "ValidationException";
readonly $fault: "client";
/**
* @internal
*/
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
}

@@ -260,0 +274,0 @@ export interface CreateWebLoginTokenRequest {

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

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

@@ -1,7 +0,10 @@

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

@@ -27,6 +30,7 @@ export interface CreateCliTokenRequest {

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

@@ -143,12 +147,14 @@ export declare enum LoggingLevel {

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

@@ -155,0 +161,0 @@ export interface CreateWebLoginTokenRequest {

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

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