@effect-aws/client-api-gateway-management-api 1.10.0 → 1.10.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/ApiGatewayManagementApiService.d.ts +6 -2
- package/dist/cjs/ApiGatewayManagementApiService.d.ts.map +1 -1
- package/dist/cjs/Errors.d.ts +3 -3
- package/dist/cjs/Errors.d.ts.map +1 -1
- package/dist/cjs/Errors.js +1 -3
- package/dist/cjs/Errors.js.map +1 -1
- package/dist/cjs/index.d.ts +5 -0
- package/dist/cjs/index.d.ts.map +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/dts/ApiGatewayManagementApiService.d.ts +6 -2
- package/dist/dts/ApiGatewayManagementApiService.d.ts.map +1 -1
- package/dist/dts/Errors.d.ts +3 -3
- package/dist/dts/Errors.d.ts.map +1 -1
- package/dist/dts/index.d.ts +5 -0
- package/dist/dts/index.d.ts.map +1 -1
- package/dist/esm/Errors.js +0 -2
- package/dist/esm/Errors.js.map +1 -1
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
- package/src/ApiGatewayManagementApiService.ts +7 -2
- package/src/Errors.ts +1 -4
- package/src/index.ts +6 -0
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*/
|
|
4
4
|
import { type ApiGatewayManagementApiClient, type ApiGatewayManagementApiClientConfig, type DeleteConnectionCommandInput, type DeleteConnectionCommandOutput, type GetConnectionCommandInput, type GetConnectionCommandOutput, type PostToConnectionCommandInput, type PostToConnectionCommandOutput } from "@aws-sdk/client-apigatewaymanagementapi";
|
|
5
|
-
import type { HttpHandlerOptions,
|
|
5
|
+
import type { HttpHandlerOptions, ServiceLogger } from "@effect-aws/commons";
|
|
6
6
|
import type { Cause } from "effect";
|
|
7
7
|
import { Effect, Layer } from "effect";
|
|
8
8
|
import * as Instance from "./ApiGatewayManagementApiClientInstance.js";
|
|
9
|
-
import type { ForbiddenError, GoneError, LimitExceededError, PayloadTooLargeError } from "./Errors.js";
|
|
9
|
+
import type { ForbiddenError, GoneError, LimitExceededError, PayloadTooLargeError, SdkError } from "./Errors.js";
|
|
10
10
|
interface ApiGatewayManagementApiService$ {
|
|
11
11
|
readonly _: unique symbol;
|
|
12
12
|
/**
|
|
@@ -49,6 +49,10 @@ export declare namespace ApiGatewayManagementApiService {
|
|
|
49
49
|
interface Config extends Omit<ApiGatewayManagementApiClientConfig, "logger"> {
|
|
50
50
|
readonly logger?: ServiceLogger.ServiceLoggerConstructorProps | true;
|
|
51
51
|
}
|
|
52
|
+
/**
|
|
53
|
+
* @since 1.0.0
|
|
54
|
+
*/
|
|
55
|
+
type Type = ApiGatewayManagementApiService$;
|
|
52
56
|
}
|
|
53
57
|
export {};
|
|
54
58
|
//# sourceMappingURL=ApiGatewayManagementApiService.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApiGatewayManagementApiService.d.ts","sourceRoot":"","sources":["../../src/ApiGatewayManagementApiService.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EACL,KAAK,6BAA6B,EAClC,KAAK,mCAAmC,EAExC,KAAK,4BAA4B,EACjC,KAAK,6BAA6B,EAElC,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAE/B,KAAK,4BAA4B,EACjC,KAAK,6BAA6B,EACnC,MAAM,yCAAyC,CAAC;AACjD,OAAO,KAAK,EAAE,kBAAkB,EAAE,
|
|
1
|
+
{"version":3,"file":"ApiGatewayManagementApiService.d.ts","sourceRoot":"","sources":["../../src/ApiGatewayManagementApiService.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EACL,KAAK,6BAA6B,EAClC,KAAK,mCAAmC,EAExC,KAAK,4BAA4B,EACjC,KAAK,6BAA6B,EAElC,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAE/B,KAAK,4BAA4B,EACjC,KAAK,6BAA6B,EACnC,MAAM,yCAAyC,CAAC;AACjD,O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AC,QAAQ,CAAC,KAAK,WAAY,+BAA+B,MAAM,+DAIlE;IACJ,MAAM,CAAC,QAAQ,CAAC,SAAS,aACb,CAAC,aAAa,EAAE,mCAAmC,KAAK,6BAA6B,+DAS7F;CACL;AAED;;GAEG;AACH,MAAM,CAAC,OAAO,WAAW,8BAA8B,CAAC;IACtD;;OAEG;IACH,UAAiB,MAAO,SAAQ,IAAI,CAAC,mCAAmC,EAAE,QAAQ,CAAC;QACjF,QAAQ,CAAC,MAAM,CAAC,EAAE,aAAa,CAAC,6BAA6B,GAAG,IAAI,CAAC;KACtE;IAED;;OAEG;IACH,KAAY,IAAI,GAAG,+BAA+B,CAAC;CACpD"}
|
package/dist/cjs/Errors.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { ForbiddenException, GoneException, LimitExceededException, PayloadTooLargeException } from "@aws-sdk/client-apigatewaymanagementapi";
|
|
2
2
|
import type { TaggedException } from "@effect-aws/commons";
|
|
3
|
-
import { SdkError as CommonSdkError } from "@effect-aws/commons";
|
|
4
3
|
export declare const AllServiceErrors: readonly ["ForbiddenException", "GoneException", "LimitExceededException", "PayloadTooLargeException"];
|
|
5
4
|
export type ForbiddenError = TaggedException<ForbiddenException>;
|
|
6
5
|
export type GoneError = TaggedException<GoneException>;
|
|
7
6
|
export type LimitExceededError = TaggedException<LimitExceededException>;
|
|
8
7
|
export type PayloadTooLargeError = TaggedException<PayloadTooLargeException>;
|
|
9
|
-
export type SdkError =
|
|
10
|
-
|
|
8
|
+
export type SdkError = TaggedException<Error & {
|
|
9
|
+
name: "SdkError";
|
|
10
|
+
}>;
|
|
11
11
|
//# sourceMappingURL=Errors.d.ts.map
|
package/dist/cjs/Errors.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Errors.d.ts","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,kBAAkB,EAClB,aAAa,EACb,sBAAsB,EACtB,wBAAwB,EACzB,MAAM,yCAAyC,CAAC;AACjD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"Errors.d.ts","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,kBAAkB,EAClB,aAAa,EACb,sBAAsB,EACtB,wBAAwB,EACzB,MAAM,yCAAyC,CAAC;AACjD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAE3D,eAAO,MAAM,gBAAgB,wGAKnB,CAAC;AAEX,MAAM,MAAM,cAAc,GAAG,eAAe,CAAC,kBAAkB,CAAC,CAAC;AACjE,MAAM,MAAM,SAAS,GAAG,eAAe,CAAC,aAAa,CAAC,CAAC;AACvD,MAAM,MAAM,kBAAkB,GAAG,eAAe,CAAC,sBAAsB,CAAC,CAAC;AACzE,MAAM,MAAM,oBAAoB,GAAG,eAAe,CAAC,wBAAwB,CAAC,CAAC;AAC7E,MAAM,MAAM,QAAQ,GAAG,eAAe,CAAC,KAAK,GAAG;IAAE,IAAI,EAAE,UAAU,CAAA;CAAE,CAAC,CAAC"}
|
package/dist/cjs/Errors.js
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
const commons_1 = require("@effect-aws/commons");
|
|
3
|
+
exports.AllServiceErrors = void 0;
|
|
5
4
|
exports.AllServiceErrors = [
|
|
6
5
|
"ForbiddenException",
|
|
7
6
|
"GoneException",
|
|
8
7
|
"LimitExceededException",
|
|
9
8
|
"PayloadTooLargeException",
|
|
10
9
|
];
|
|
11
|
-
exports.SdkError = commons_1.SdkError;
|
|
12
10
|
//# sourceMappingURL=Errors.js.map
|
package/dist/cjs/Errors.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Errors.js","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"Errors.js","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":";;;AAQa,QAAA,gBAAgB,GAAG;IAC9B,oBAAoB;IACpB,eAAe;IACf,wBAAwB;IACxB,0BAA0B;CAClB,CAAC"}
|
package/dist/cjs/index.d.ts
CHANGED
|
@@ -29,6 +29,11 @@ export declare namespace ApiGatewayManagementApi {
|
|
|
29
29
|
* @alias ApiGatewayManagementApiService.Config
|
|
30
30
|
*/
|
|
31
31
|
type Config = ApiGatewayManagementApiService.Config;
|
|
32
|
+
/**
|
|
33
|
+
* @since 1.0.0
|
|
34
|
+
* @alias ApiGatewayManagementApiService.Type
|
|
35
|
+
*/
|
|
36
|
+
type Type = ApiGatewayManagementApiService.Type;
|
|
32
37
|
}
|
|
33
38
|
/**
|
|
34
39
|
* @since 1.0.0
|
package/dist/cjs/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AAErF;;GAEG;AACH,cAAc,aAAa,CAAC;AAE5B;;GAEG;AACH,OAAO,KAAK,qCAAqC,MAAM,4CAA4C,CAAC;AAEpG;;GAEG;AACH,OAAO,KAAK,oCAAoC,MAAM,2CAA2C,CAAC;AAElG;;GAEG;AACH,cAAc,qCAAqC,CAAC;AAEpD;;;;GAIG;AACH,MAAM,CAAC,OAAO,WAAW,uBAAuB,CAAC;IAC/C;;;OAGG;IACH,KAAY,MAAM,GAAG,8BAA8B,CAAC,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AAErF;;GAEG;AACH,cAAc,aAAa,CAAC;AAE5B;;GAEG;AACH,OAAO,KAAK,qCAAqC,MAAM,4CAA4C,CAAC;AAEpG;;GAEG;AACH,OAAO,KAAK,oCAAoC,MAAM,2CAA2C,CAAC;AAElG;;GAEG;AACH,cAAc,qCAAqC,CAAC;AAEpD;;;;GAIG;AACH,MAAM,CAAC,OAAO,WAAW,uBAAuB,CAAC;IAC/C;;;OAGG;IACH,KAAY,MAAM,GAAG,8BAA8B,CAAC,MAAM,CAAC;IAE3D;;;OAGG;IACH,KAAY,IAAI,GAAG,8BAA8B,CAAC,IAAI,CAAC;CACxD;AAED;;;;GAIG;AACH,eAAO,MAAM,uBAAuB,uCAAiC,CAAC"}
|
package/dist/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,2FAAqF;AAErF;;GAEG;AACH,8CAA4B;AAE5B;;GAEG;AACH,oHAAoG;AAEpG;;GAEG;AACH,kHAAkG;AAElG;;GAEG;AACH,sEAAoD;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,2FAAqF;AAErF;;GAEG;AACH,8CAA4B;AAE5B;;GAEG;AACH,oHAAoG;AAEpG;;GAEG;AACH,kHAAkG;AAElG;;GAEG;AACH,sEAAoD;AAqBpD;;;;GAIG;AACU,QAAA,uBAAuB,GAAG,kEAA8B,CAAC"}
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*/
|
|
4
4
|
import { type ApiGatewayManagementApiClient, type ApiGatewayManagementApiClientConfig, type DeleteConnectionCommandInput, type DeleteConnectionCommandOutput, type GetConnectionCommandInput, type GetConnectionCommandOutput, type PostToConnectionCommandInput, type PostToConnectionCommandOutput } from "@aws-sdk/client-apigatewaymanagementapi";
|
|
5
|
-
import type { HttpHandlerOptions,
|
|
5
|
+
import type { HttpHandlerOptions, ServiceLogger } from "@effect-aws/commons";
|
|
6
6
|
import type { Cause } from "effect";
|
|
7
7
|
import { Effect, Layer } from "effect";
|
|
8
8
|
import * as Instance from "./ApiGatewayManagementApiClientInstance.js";
|
|
9
|
-
import type { ForbiddenError, GoneError, LimitExceededError, PayloadTooLargeError } from "./Errors.js";
|
|
9
|
+
import type { ForbiddenError, GoneError, LimitExceededError, PayloadTooLargeError, SdkError } from "./Errors.js";
|
|
10
10
|
interface ApiGatewayManagementApiService$ {
|
|
11
11
|
readonly _: unique symbol;
|
|
12
12
|
/**
|
|
@@ -49,6 +49,10 @@ export declare namespace ApiGatewayManagementApiService {
|
|
|
49
49
|
interface Config extends Omit<ApiGatewayManagementApiClientConfig, "logger"> {
|
|
50
50
|
readonly logger?: ServiceLogger.ServiceLoggerConstructorProps | true;
|
|
51
51
|
}
|
|
52
|
+
/**
|
|
53
|
+
* @since 1.0.0
|
|
54
|
+
*/
|
|
55
|
+
type Type = ApiGatewayManagementApiService$;
|
|
52
56
|
}
|
|
53
57
|
export {};
|
|
54
58
|
//# sourceMappingURL=ApiGatewayManagementApiService.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApiGatewayManagementApiService.d.ts","sourceRoot":"","sources":["../../src/ApiGatewayManagementApiService.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EACL,KAAK,6BAA6B,EAClC,KAAK,mCAAmC,EAExC,KAAK,4BAA4B,EACjC,KAAK,6BAA6B,EAElC,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAE/B,KAAK,4BAA4B,EACjC,KAAK,6BAA6B,EACnC,MAAM,yCAAyC,CAAC;AACjD,OAAO,KAAK,EAAE,kBAAkB,EAAE,
|
|
1
|
+
{"version":3,"file":"ApiGatewayManagementApiService.d.ts","sourceRoot":"","sources":["../../src/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C,gBAAgB,GAAG,QAAQ,GAAG,cAAc,GAAG,SAAS,GAAG,kBAAkB,GAAG,oBAAoB,CAC3G,CAAC;CACH;AAED;;;GAGG;AACH,eAAO,MAAM,kCAAkC,uGAW7C,CAAC;;;;AAEH;;;GAGG;AACH,qBAAa,8BACX,SAAQ,mCAGL;IAEH,MAAM,CAAC,QAAQ,CAAC,YAAY,4DAE1B;IACF,MAAM,CAAC,QAAQ,CAAC,KAAK,WAAY,+BAA+B,MAAM,+DAIlE;IACJ,MAAM,CAAC,QAAQ,CAAC,SAAS,aACb,CAAC,aAAa,EAAE,mCAAmC,KAAK,6BAA6B,+DAS7F;CACL;AAED;;GAEG;AACH,MAAM,CAAC,OAAO,WAAW,8BAA8B,CAAC;IACtD;;OAEG;IACH,UAAiB,MAAO,SAAQ,IAAI,CAAC,mCAAmC,EAAE,QAAQ,CAAC;QACjF,QAAQ,CAAC,MAAM,CAAC,EAAE,aAAa,CAAC,6BAA6B,GAAG,IAAI,CAAC;KACtE;IAED;;OAEG;IACH,KAAY,IAAI,GAAG,+BAA+B,CAAC;CACpD"}
|
package/dist/dts/Errors.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { ForbiddenException, GoneException, LimitExceededException, PayloadTooLargeException } from "@aws-sdk/client-apigatewaymanagementapi";
|
|
2
2
|
import type { TaggedException } from "@effect-aws/commons";
|
|
3
|
-
import { SdkError as CommonSdkError } from "@effect-aws/commons";
|
|
4
3
|
export declare const AllServiceErrors: readonly ["ForbiddenException", "GoneException", "LimitExceededException", "PayloadTooLargeException"];
|
|
5
4
|
export type ForbiddenError = TaggedException<ForbiddenException>;
|
|
6
5
|
export type GoneError = TaggedException<GoneException>;
|
|
7
6
|
export type LimitExceededError = TaggedException<LimitExceededException>;
|
|
8
7
|
export type PayloadTooLargeError = TaggedException<PayloadTooLargeException>;
|
|
9
|
-
export type SdkError =
|
|
10
|
-
|
|
8
|
+
export type SdkError = TaggedException<Error & {
|
|
9
|
+
name: "SdkError";
|
|
10
|
+
}>;
|
|
11
11
|
//# sourceMappingURL=Errors.d.ts.map
|
package/dist/dts/Errors.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Errors.d.ts","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,kBAAkB,EAClB,aAAa,EACb,sBAAsB,EACtB,wBAAwB,EACzB,MAAM,yCAAyC,CAAC;AACjD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"Errors.d.ts","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,kBAAkB,EAClB,aAAa,EACb,sBAAsB,EACtB,wBAAwB,EACzB,MAAM,yCAAyC,CAAC;AACjD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAE3D,eAAO,MAAM,gBAAgB,wGAKnB,CAAC;AAEX,MAAM,MAAM,cAAc,GAAG,eAAe,CAAC,kBAAkB,CAAC,CAAC;AACjE,MAAM,MAAM,SAAS,GAAG,eAAe,CAAC,aAAa,CAAC,CAAC;AACvD,MAAM,MAAM,kBAAkB,GAAG,eAAe,CAAC,sBAAsB,CAAC,CAAC;AACzE,MAAM,MAAM,oBAAoB,GAAG,eAAe,CAAC,wBAAwB,CAAC,CAAC;AAC7E,MAAM,MAAM,QAAQ,GAAG,eAAe,CAAC,KAAK,GAAG;IAAE,IAAI,EAAE,UAAU,CAAA;CAAE,CAAC,CAAC"}
|
package/dist/dts/index.d.ts
CHANGED
|
@@ -29,6 +29,11 @@ export declare namespace ApiGatewayManagementApi {
|
|
|
29
29
|
* @alias ApiGatewayManagementApiService.Config
|
|
30
30
|
*/
|
|
31
31
|
type Config = ApiGatewayManagementApiService.Config;
|
|
32
|
+
/**
|
|
33
|
+
* @since 1.0.0
|
|
34
|
+
* @alias ApiGatewayManagementApiService.Type
|
|
35
|
+
*/
|
|
36
|
+
type Type = ApiGatewayManagementApiService.Type;
|
|
32
37
|
}
|
|
33
38
|
/**
|
|
34
39
|
* @since 1.0.0
|
package/dist/dts/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AAErF;;GAEG;AACH,cAAc,aAAa,CAAC;AAE5B;;GAEG;AACH,OAAO,KAAK,qCAAqC,MAAM,4CAA4C,CAAC;AAEpG;;GAEG;AACH,OAAO,KAAK,oCAAoC,MAAM,2CAA2C,CAAC;AAElG;;GAEG;AACH,cAAc,qCAAqC,CAAC;AAEpD;;;;GAIG;AACH,MAAM,CAAC,OAAO,WAAW,uBAAuB,CAAC;IAC/C;;;OAGG;IACH,KAAY,MAAM,GAAG,8BAA8B,CAAC,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AAErF;;GAEG;AACH,cAAc,aAAa,CAAC;AAE5B;;GAEG;AACH,OAAO,KAAK,qCAAqC,MAAM,4CAA4C,CAAC;AAEpG;;GAEG;AACH,OAAO,KAAK,oCAAoC,MAAM,2CAA2C,CAAC;AAElG;;GAEG;AACH,cAAc,qCAAqC,CAAC;AAEpD;;;;GAIG;AACH,MAAM,CAAC,OAAO,WAAW,uBAAuB,CAAC;IAC/C;;;OAGG;IACH,KAAY,MAAM,GAAG,8BAA8B,CAAC,MAAM,CAAC;IAE3D;;;OAGG;IACH,KAAY,IAAI,GAAG,8BAA8B,CAAC,IAAI,CAAC;CACxD;AAED;;;;GAIG;AACH,eAAO,MAAM,uBAAuB,uCAAiC,CAAC"}
|
package/dist/esm/Errors.js
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import { SdkError as CommonSdkError } from "@effect-aws/commons";
|
|
2
1
|
export const AllServiceErrors = [
|
|
3
2
|
"ForbiddenException",
|
|
4
3
|
"GoneException",
|
|
5
4
|
"LimitExceededException",
|
|
6
5
|
"PayloadTooLargeException",
|
|
7
6
|
];
|
|
8
|
-
export const SdkError = CommonSdkError;
|
|
9
7
|
//# sourceMappingURL=Errors.js.map
|
package/dist/esm/Errors.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Errors.js","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Errors.js","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":"AAQA,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,oBAAoB;IACpB,eAAe;IACf,wBAAwB;IACxB,0BAA0B;CAClB,CAAC"}
|
package/dist/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AAErF;;GAEG;AACH,cAAc,aAAa,CAAC;AAE5B;;GAEG;AACH,OAAO,KAAK,qCAAqC,MAAM,4CAA4C,CAAC;AAEpG;;GAEG;AACH,OAAO,KAAK,oCAAoC,MAAM,2CAA2C,CAAC;AAElG;;GAEG;AACH,cAAc,qCAAqC,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AAErF;;GAEG;AACH,cAAc,aAAa,CAAC;AAE5B;;GAEG;AACH,OAAO,KAAK,qCAAqC,MAAM,4CAA4C,CAAC;AAEpG;;GAEG;AACH,OAAO,KAAK,oCAAoC,MAAM,2CAA2C,CAAC;AAElG;;GAEG;AACH,cAAc,qCAAqC,CAAC;AAqBpD;;;;GAIG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,8BAA8B,CAAC"}
|
package/package.json
CHANGED
|
@@ -14,13 +14,13 @@ import {
|
|
|
14
14
|
type PostToConnectionCommandInput,
|
|
15
15
|
type PostToConnectionCommandOutput,
|
|
16
16
|
} from "@aws-sdk/client-apigatewaymanagementapi";
|
|
17
|
-
import type { HttpHandlerOptions,
|
|
17
|
+
import type { HttpHandlerOptions, ServiceLogger } from "@effect-aws/commons";
|
|
18
18
|
import { Service } from "@effect-aws/commons";
|
|
19
19
|
import type { Cause } from "effect";
|
|
20
20
|
import { Effect, Layer } from "effect";
|
|
21
21
|
import * as Instance from "./ApiGatewayManagementApiClientInstance.js";
|
|
22
22
|
import * as ApiGatewayManagementApiServiceConfig from "./ApiGatewayManagementApiServiceConfig.js";
|
|
23
|
-
import type { ForbiddenError, GoneError, LimitExceededError, PayloadTooLargeError } from "./Errors.js";
|
|
23
|
+
import type { ForbiddenError, GoneError, LimitExceededError, PayloadTooLargeError, SdkError } from "./Errors.js";
|
|
24
24
|
import { AllServiceErrors } from "./Errors.js";
|
|
25
25
|
|
|
26
26
|
const commands = {
|
|
@@ -124,4 +124,9 @@ export declare namespace ApiGatewayManagementApiService {
|
|
|
124
124
|
export interface Config extends Omit<ApiGatewayManagementApiClientConfig, "logger"> {
|
|
125
125
|
readonly logger?: ServiceLogger.ServiceLoggerConstructorProps | true;
|
|
126
126
|
}
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* @since 1.0.0
|
|
130
|
+
*/
|
|
131
|
+
export type Type = ApiGatewayManagementApiService$;
|
|
127
132
|
}
|
package/src/Errors.ts
CHANGED
|
@@ -5,7 +5,6 @@ import type {
|
|
|
5
5
|
PayloadTooLargeException,
|
|
6
6
|
} from "@aws-sdk/client-apigatewaymanagementapi";
|
|
7
7
|
import type { TaggedException } from "@effect-aws/commons";
|
|
8
|
-
import { SdkError as CommonSdkError } from "@effect-aws/commons";
|
|
9
8
|
|
|
10
9
|
export const AllServiceErrors = [
|
|
11
10
|
"ForbiddenException",
|
|
@@ -18,6 +17,4 @@ export type ForbiddenError = TaggedException<ForbiddenException>;
|
|
|
18
17
|
export type GoneError = TaggedException<GoneException>;
|
|
19
18
|
export type LimitExceededError = TaggedException<LimitExceededException>;
|
|
20
19
|
export type PayloadTooLargeError = TaggedException<PayloadTooLargeException>;
|
|
21
|
-
|
|
22
|
-
export type SdkError = CommonSdkError;
|
|
23
|
-
export const SdkError = CommonSdkError;
|
|
20
|
+
export type SdkError = TaggedException<Error & { name: "SdkError" }>;
|
package/src/index.ts
CHANGED
|
@@ -34,6 +34,12 @@ export declare namespace ApiGatewayManagementApi {
|
|
|
34
34
|
* @alias ApiGatewayManagementApiService.Config
|
|
35
35
|
*/
|
|
36
36
|
export type Config = ApiGatewayManagementApiService.Config;
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* @since 1.0.0
|
|
40
|
+
* @alias ApiGatewayManagementApiService.Type
|
|
41
|
+
*/
|
|
42
|
+
export type Type = ApiGatewayManagementApiService.Type;
|
|
37
43
|
}
|
|
38
44
|
|
|
39
45
|
/**
|