@effect-aws/client-iot-wireless 1.1.0 → 1.9.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/Errors/package.json +6 -0
- package/IoTWirelessClientInstance/package.json +6 -0
- package/IoTWirelessService/package.json +6 -0
- package/IoTWirelessServiceConfig/package.json +6 -0
- package/{lib → dist/cjs}/Errors.d.ts +6 -11
- package/dist/cjs/Errors.d.ts.map +1 -0
- package/dist/cjs/Errors.js +15 -0
- package/dist/cjs/Errors.js.map +1 -0
- package/dist/cjs/IoTWirelessClientInstance.d.ts +24 -0
- package/dist/cjs/IoTWirelessClientInstance.d.ts.map +1 -0
- package/dist/cjs/IoTWirelessClientInstance.js +50 -0
- package/dist/cjs/IoTWirelessClientInstance.js.map +1 -0
- package/dist/cjs/IoTWirelessService.d.ts +489 -0
- package/dist/cjs/IoTWirelessService.d.ts.map +1 -0
- package/dist/cjs/IoTWirelessService.js +171 -0
- package/dist/cjs/IoTWirelessService.js.map +1 -0
- package/dist/cjs/IoTWirelessServiceConfig.d.ts +25 -0
- package/dist/cjs/IoTWirelessServiceConfig.d.ts.map +1 -0
- package/dist/cjs/IoTWirelessServiceConfig.js +35 -0
- package/dist/cjs/IoTWirelessServiceConfig.js.map +1 -0
- package/dist/cjs/index.d.ts +39 -0
- package/dist/cjs/index.d.ts.map +1 -0
- package/dist/cjs/index.js +56 -0
- package/dist/cjs/index.js.map +1 -0
- package/dist/dts/Errors.d.ts +14 -0
- package/dist/dts/Errors.d.ts.map +1 -0
- package/dist/dts/IoTWirelessClientInstance.d.ts +24 -0
- package/dist/dts/IoTWirelessClientInstance.d.ts.map +1 -0
- package/dist/dts/IoTWirelessService.d.ts +489 -0
- package/dist/dts/IoTWirelessService.d.ts.map +1 -0
- package/dist/dts/IoTWirelessServiceConfig.d.ts +25 -0
- package/dist/dts/IoTWirelessServiceConfig.d.ts.map +1 -0
- package/dist/dts/index.d.ts +39 -0
- package/dist/dts/index.d.ts.map +1 -0
- package/dist/esm/Errors.js +12 -0
- package/dist/esm/Errors.js.map +1 -0
- package/dist/esm/IoTWirelessClientInstance.js +23 -0
- package/dist/esm/IoTWirelessClientInstance.js.map +1 -0
- package/dist/esm/IoTWirelessService.js +144 -0
- package/dist/esm/IoTWirelessService.js.map +1 -0
- package/dist/esm/IoTWirelessServiceConfig.js +31 -0
- package/dist/esm/IoTWirelessServiceConfig.js.map +1 -0
- package/dist/esm/index.js +27 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/package.json +4 -0
- package/package.json +60 -43
- package/src/Errors.ts +32 -0
- package/src/IoTWirelessClientInstance.ts +33 -0
- package/src/IoTWirelessService.ts +2011 -0
- package/src/IoTWirelessServiceConfig.ts +52 -0
- package/src/index.ts +44 -0
- package/CHANGELOG.md +0 -13
- package/docgen.json +0 -8
- package/lib/Errors.js +0 -15
- package/lib/IoTWirelessClientInstance.d.ts +0 -31
- package/lib/IoTWirelessClientInstance.js +0 -57
- package/lib/IoTWirelessClientInstanceConfig.d.ts +0 -23
- package/lib/IoTWirelessClientInstanceConfig.js +0 -44
- package/lib/IoTWirelessService.d.ts +0 -625
- package/lib/IoTWirelessService.js +0 -200
- package/lib/esm/Errors.js +0 -12
- package/lib/esm/IoTWirelessClientInstance.js +0 -30
- package/lib/esm/IoTWirelessClientInstanceConfig.js +0 -40
- package/lib/esm/IoTWirelessService.js +0 -196
- package/lib/esm/index.js +0 -5
- package/lib/index.d.ts +0 -4
- package/lib/index.js +0 -21
- package/project.json +0 -77
- package/vitest.config.ts +0 -3
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
import type { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ThrottlingException, TooManyTagsException, ValidationException } from "@aws-sdk/client-iot-wireless";
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
export
|
|
5
|
-
name: string;
|
|
6
|
-
}> = T & {
|
|
7
|
-
readonly _tag: T["name"];
|
|
8
|
-
};
|
|
2
|
+
import type { TaggedException } from "@effect-aws/commons";
|
|
3
|
+
import { SdkError as CommonSdkError } from "@effect-aws/commons";
|
|
4
|
+
export declare const AllServiceErrors: readonly ["AccessDeniedException", "ConflictException", "InternalServerException", "ResourceNotFoundException", "ThrottlingException", "TooManyTagsException", "ValidationException"];
|
|
9
5
|
export type AccessDeniedError = TaggedException<AccessDeniedException>;
|
|
10
6
|
export type ConflictError = TaggedException<ConflictException>;
|
|
11
7
|
export type InternalServerError = TaggedException<InternalServerException>;
|
|
@@ -13,7 +9,6 @@ export type ResourceNotFoundError = TaggedException<ResourceNotFoundException>;
|
|
|
13
9
|
export type ThrottlingError = TaggedException<ThrottlingException>;
|
|
14
10
|
export type TooManyTagsError = TaggedException<TooManyTagsException>;
|
|
15
11
|
export type ValidationError = TaggedException<ValidationException>;
|
|
16
|
-
export type SdkError =
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
export declare const SdkError: Data.Case.Constructor<SdkError, "_tag">;
|
|
12
|
+
export type SdkError = CommonSdkError;
|
|
13
|
+
export declare const SdkError: import("effect/Data").Case.Constructor<CommonSdkError, "_tag">;
|
|
14
|
+
//# sourceMappingURL=Errors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Errors.d.ts","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,qBAAqB,EACrB,iBAAiB,EACjB,uBAAuB,EACvB,yBAAyB,EACzB,mBAAmB,EACnB,oBAAoB,EACpB,mBAAmB,EACpB,MAAM,8BAA8B,CAAC;AACtC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,EAAE,QAAQ,IAAI,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAEjE,eAAO,MAAM,gBAAgB,uLAQnB,CAAC;AAEX,MAAM,MAAM,iBAAiB,GAAG,eAAe,CAAC,qBAAqB,CAAC,CAAC;AACvE,MAAM,MAAM,aAAa,GAAG,eAAe,CAAC,iBAAiB,CAAC,CAAC;AAC/D,MAAM,MAAM,mBAAmB,GAAG,eAAe,CAAC,uBAAuB,CAAC,CAAC;AAC3E,MAAM,MAAM,qBAAqB,GAAG,eAAe,CAAC,yBAAyB,CAAC,CAAC;AAC/E,MAAM,MAAM,eAAe,GAAG,eAAe,CAAC,mBAAmB,CAAC,CAAC;AACnE,MAAM,MAAM,gBAAgB,GAAG,eAAe,CAAC,oBAAoB,CAAC,CAAC;AACrE,MAAM,MAAM,eAAe,GAAG,eAAe,CAAC,mBAAmB,CAAC,CAAC;AAEnE,MAAM,MAAM,QAAQ,GAAG,cAAc,CAAC;AACtC,eAAO,MAAM,QAAQ,gEAAiB,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SdkError = exports.AllServiceErrors = void 0;
|
|
4
|
+
const commons_1 = require("@effect-aws/commons");
|
|
5
|
+
exports.AllServiceErrors = [
|
|
6
|
+
"AccessDeniedException",
|
|
7
|
+
"ConflictException",
|
|
8
|
+
"InternalServerException",
|
|
9
|
+
"ResourceNotFoundException",
|
|
10
|
+
"ThrottlingException",
|
|
11
|
+
"TooManyTagsException",
|
|
12
|
+
"ValidationException",
|
|
13
|
+
];
|
|
14
|
+
exports.SdkError = commons_1.SdkError;
|
|
15
|
+
//# sourceMappingURL=Errors.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Errors.js","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":";;;AAUA,iDAAiE;AAEpD,QAAA,gBAAgB,GAAG;IAC9B,uBAAuB;IACvB,mBAAmB;IACnB,yBAAyB;IACzB,2BAA2B;IAC3B,qBAAqB;IACrB,sBAAsB;IACtB,qBAAqB;CACb,CAAC;AAWE,QAAA,QAAQ,GAAG,kBAAc,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @since 1.0.0
|
|
3
|
+
*/
|
|
4
|
+
import { IoTWirelessClient } from "@aws-sdk/client-iot-wireless";
|
|
5
|
+
import { Context, Effect, Layer } from "effect";
|
|
6
|
+
declare const IoTWirelessClientInstance_base: Context.TagClass<IoTWirelessClientInstance, "@effect-aws/client-iot-wireless/IoTWirelessClientInstance", IoTWirelessClient>;
|
|
7
|
+
/**
|
|
8
|
+
* @since 1.0.0
|
|
9
|
+
* @category tags
|
|
10
|
+
*/
|
|
11
|
+
export declare class IoTWirelessClientInstance extends IoTWirelessClientInstance_base {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @since 1.0.0
|
|
15
|
+
* @category constructors
|
|
16
|
+
*/
|
|
17
|
+
export declare const make: Effect.Effect<IoTWirelessClient, never, import("effect/Scope").Scope>;
|
|
18
|
+
/**
|
|
19
|
+
* @since 1.0.0
|
|
20
|
+
* @category layers
|
|
21
|
+
*/
|
|
22
|
+
export declare const layer: Layer.Layer<IoTWirelessClientInstance, never, never>;
|
|
23
|
+
export {};
|
|
24
|
+
//# sourceMappingURL=IoTWirelessClientInstance.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IoTWirelessClientInstance.d.ts","sourceRoot":"","sources":["../../src/IoTWirelessClientInstance.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;;AAGhD;;;GAGG;AACH,qBAAa,yBAA0B,SAAQ,8BAEE;CAAG;AAEpD;;;GAGG;AACH,eAAO,MAAM,IAAI,uEAOhB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,KAAK,sDAAgD,CAAC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.layer = exports.make = exports.IoTWirelessClientInstance = void 0;
|
|
27
|
+
/**
|
|
28
|
+
* @since 1.0.0
|
|
29
|
+
*/
|
|
30
|
+
const client_iot_wireless_1 = require("@aws-sdk/client-iot-wireless");
|
|
31
|
+
const effect_1 = require("effect");
|
|
32
|
+
const IoTWirelessServiceConfig = __importStar(require("./IoTWirelessServiceConfig.js"));
|
|
33
|
+
/**
|
|
34
|
+
* @since 1.0.0
|
|
35
|
+
* @category tags
|
|
36
|
+
*/
|
|
37
|
+
class IoTWirelessClientInstance extends effect_1.Context.Tag("@effect-aws/client-iot-wireless/IoTWirelessClientInstance")() {
|
|
38
|
+
}
|
|
39
|
+
exports.IoTWirelessClientInstance = IoTWirelessClientInstance;
|
|
40
|
+
/**
|
|
41
|
+
* @since 1.0.0
|
|
42
|
+
* @category constructors
|
|
43
|
+
*/
|
|
44
|
+
exports.make = effect_1.Effect.flatMap(IoTWirelessServiceConfig.toIoTWirelessClientConfig, (config) => effect_1.Effect.acquireRelease(effect_1.Effect.sync(() => new client_iot_wireless_1.IoTWirelessClient(config)), (client) => effect_1.Effect.sync(() => client.destroy())));
|
|
45
|
+
/**
|
|
46
|
+
* @since 1.0.0
|
|
47
|
+
* @category layers
|
|
48
|
+
*/
|
|
49
|
+
exports.layer = effect_1.Layer.scoped(IoTWirelessClientInstance, exports.make);
|
|
50
|
+
//# sourceMappingURL=IoTWirelessClientInstance.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IoTWirelessClientInstance.js","sourceRoot":"","sources":["../../src/IoTWirelessClientInstance.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,sEAAiE;AACjE,mCAAgD;AAChD,wFAA0E;AAE1E;;;GAGG;AACH,MAAa,yBAA0B,SAAQ,gBAAO,CAAC,GAAG,CACxD,2DAA2D,CAC5D,EAAgD;CAAG;AAFpD,8DAEoD;AAEpD;;;GAGG;AACU,QAAA,IAAI,GAAG,eAAM,CAAC,OAAO,CAChC,wBAAwB,CAAC,yBAAyB,EAClD,CAAC,MAAM,EAAE,EAAE,CACT,eAAM,CAAC,cAAc,CACnB,eAAM,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,IAAI,uCAAiB,CAAC,MAAM,CAAC,CAAC,EAChD,CAAC,MAAM,EAAE,EAAE,CAAC,eAAM,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC,CAChD,CACJ,CAAC;AAEF;;;GAGG;AACU,QAAA,KAAK,GAAG,cAAK,CAAC,MAAM,CAAC,yBAAyB,EAAE,YAAI,CAAC,CAAC"}
|