@aws-sdk/client-iotdeviceadvisor 3.758.0 → 3.774.0
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/index.js +30 -30
- package/package.json +7 -7
package/dist-cjs/index.js
CHANGED
|
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
19
19
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
20
|
|
|
21
21
|
// src/index.ts
|
|
22
|
-
var
|
|
23
|
-
__export(
|
|
22
|
+
var index_exports = {};
|
|
23
|
+
__export(index_exports, {
|
|
24
24
|
AuthenticationMethod: () => AuthenticationMethod,
|
|
25
25
|
ConflictException: () => ConflictException,
|
|
26
26
|
CreateSuiteDefinitionCommand: () => CreateSuiteDefinitionCommand,
|
|
@@ -52,7 +52,7 @@ __export(src_exports, {
|
|
|
52
52
|
paginateListSuiteDefinitions: () => paginateListSuiteDefinitions,
|
|
53
53
|
paginateListSuiteRuns: () => paginateListSuiteRuns
|
|
54
54
|
});
|
|
55
|
-
module.exports = __toCommonJS(
|
|
55
|
+
module.exports = __toCommonJS(index_exports);
|
|
56
56
|
|
|
57
57
|
// src/IotDeviceAdvisorClient.ts
|
|
58
58
|
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
@@ -179,9 +179,9 @@ var IotDeviceAdvisorClient = class extends import_smithy_client.Client {
|
|
|
179
179
|
this.middlewareStack.use(
|
|
180
180
|
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
181
181
|
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultIotDeviceAdvisorHttpAuthSchemeParametersProvider,
|
|
182
|
-
identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
182
|
+
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
183
183
|
"aws.auth#sigv4": config.credentials
|
|
184
|
-
})
|
|
184
|
+
}), "identityProviderConfigProvider")
|
|
185
185
|
})
|
|
186
186
|
);
|
|
187
187
|
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
@@ -357,8 +357,8 @@ var se_CreateSuiteDefinitionCommand = /* @__PURE__ */ __name(async (input, conte
|
|
|
357
357
|
body = JSON.stringify(
|
|
358
358
|
(0, import_smithy_client.take)(input, {
|
|
359
359
|
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
360
|
-
suiteDefinitionConfiguration: (_) => (0, import_smithy_client._json)(_),
|
|
361
|
-
tags: (_) => (0, import_smithy_client._json)(_)
|
|
360
|
+
suiteDefinitionConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "suiteDefinitionConfiguration"),
|
|
361
|
+
tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
|
|
362
362
|
})
|
|
363
363
|
);
|
|
364
364
|
b.m("POST").h(headers).b(body);
|
|
@@ -465,8 +465,8 @@ var se_StartSuiteRunCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
465
465
|
body = JSON.stringify(
|
|
466
466
|
(0, import_smithy_client.take)(input, {
|
|
467
467
|
suiteDefinitionVersion: [],
|
|
468
|
-
suiteRunConfiguration: (_) => (0, import_smithy_client._json)(_),
|
|
469
|
-
tags: (_) => (0, import_smithy_client._json)(_)
|
|
468
|
+
suiteRunConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "suiteRunConfiguration"),
|
|
469
|
+
tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
|
|
470
470
|
})
|
|
471
471
|
);
|
|
472
472
|
b.m("POST").h(headers).b(body);
|
|
@@ -492,7 +492,7 @@ var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
492
492
|
let body;
|
|
493
493
|
body = JSON.stringify(
|
|
494
494
|
(0, import_smithy_client.take)(input, {
|
|
495
|
-
tags: (_) => (0, import_smithy_client._json)(_)
|
|
495
|
+
tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
|
|
496
496
|
})
|
|
497
497
|
);
|
|
498
498
|
b.m("POST").h(headers).b(body);
|
|
@@ -520,7 +520,7 @@ var se_UpdateSuiteDefinitionCommand = /* @__PURE__ */ __name(async (input, conte
|
|
|
520
520
|
let body;
|
|
521
521
|
body = JSON.stringify(
|
|
522
522
|
(0, import_smithy_client.take)(input, {
|
|
523
|
-
suiteDefinitionConfiguration: (_) => (0, import_smithy_client._json)(_)
|
|
523
|
+
suiteDefinitionConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "suiteDefinitionConfiguration")
|
|
524
524
|
})
|
|
525
525
|
);
|
|
526
526
|
b.m("PATCH").h(headers).b(body);
|
|
@@ -535,7 +535,7 @@ var de_CreateSuiteDefinitionCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
535
535
|
});
|
|
536
536
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
537
537
|
const doc = (0, import_smithy_client.take)(data, {
|
|
538
|
-
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
538
|
+
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdAt"),
|
|
539
539
|
suiteDefinitionArn: import_smithy_client.expectString,
|
|
540
540
|
suiteDefinitionId: import_smithy_client.expectString,
|
|
541
541
|
suiteDefinitionName: import_smithy_client.expectString
|
|
@@ -576,8 +576,8 @@ var de_GetSuiteDefinitionCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
576
576
|
});
|
|
577
577
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
578
578
|
const doc = (0, import_smithy_client.take)(data, {
|
|
579
|
-
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
580
|
-
lastModifiedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
579
|
+
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdAt"),
|
|
580
|
+
lastModifiedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "lastModifiedAt"),
|
|
581
581
|
latestVersion: import_smithy_client.expectString,
|
|
582
582
|
suiteDefinitionArn: import_smithy_client.expectString,
|
|
583
583
|
suiteDefinitionConfiguration: import_smithy_client._json,
|
|
@@ -597,9 +597,9 @@ var de_GetSuiteRunCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
597
597
|
});
|
|
598
598
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
599
599
|
const doc = (0, import_smithy_client.take)(data, {
|
|
600
|
-
endTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
600
|
+
endTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "endTime"),
|
|
601
601
|
errorReason: import_smithy_client.expectString,
|
|
602
|
-
startTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
602
|
+
startTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "startTime"),
|
|
603
603
|
status: import_smithy_client.expectString,
|
|
604
604
|
suiteDefinitionId: import_smithy_client.expectString,
|
|
605
605
|
suiteDefinitionVersion: import_smithy_client.expectString,
|
|
@@ -607,7 +607,7 @@ var de_GetSuiteRunCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
607
607
|
suiteRunConfiguration: import_smithy_client._json,
|
|
608
608
|
suiteRunId: import_smithy_client.expectString,
|
|
609
609
|
tags: import_smithy_client._json,
|
|
610
|
-
testResult: (_) => de_TestResult(_, context)
|
|
610
|
+
testResult: /* @__PURE__ */ __name((_) => de_TestResult(_, context), "testResult")
|
|
611
611
|
});
|
|
612
612
|
Object.assign(contents, doc);
|
|
613
613
|
return contents;
|
|
@@ -636,7 +636,7 @@ var de_ListSuiteDefinitionsCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
636
636
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
637
637
|
const doc = (0, import_smithy_client.take)(data, {
|
|
638
638
|
nextToken: import_smithy_client.expectString,
|
|
639
|
-
suiteDefinitionInformationList: (_) => de_SuiteDefinitionInformationList(_, context)
|
|
639
|
+
suiteDefinitionInformationList: /* @__PURE__ */ __name((_) => de_SuiteDefinitionInformationList(_, context), "suiteDefinitionInformationList")
|
|
640
640
|
});
|
|
641
641
|
Object.assign(contents, doc);
|
|
642
642
|
return contents;
|
|
@@ -651,7 +651,7 @@ var de_ListSuiteRunsCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
651
651
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
652
652
|
const doc = (0, import_smithy_client.take)(data, {
|
|
653
653
|
nextToken: import_smithy_client.expectString,
|
|
654
|
-
suiteRunsList: (_) => de_SuiteRunsList(_, context)
|
|
654
|
+
suiteRunsList: /* @__PURE__ */ __name((_) => de_SuiteRunsList(_, context), "suiteRunsList")
|
|
655
655
|
});
|
|
656
656
|
Object.assign(contents, doc);
|
|
657
657
|
return contents;
|
|
@@ -679,7 +679,7 @@ var de_StartSuiteRunCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
679
679
|
});
|
|
680
680
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
681
681
|
const doc = (0, import_smithy_client.take)(data, {
|
|
682
|
-
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
682
|
+
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdAt"),
|
|
683
683
|
endpoint: import_smithy_client.expectString,
|
|
684
684
|
suiteRunArn: import_smithy_client.expectString,
|
|
685
685
|
suiteRunId: import_smithy_client.expectString
|
|
@@ -726,8 +726,8 @@ var de_UpdateSuiteDefinitionCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
726
726
|
});
|
|
727
727
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
728
728
|
const doc = (0, import_smithy_client.take)(data, {
|
|
729
|
-
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
730
|
-
lastUpdatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
729
|
+
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdAt"),
|
|
730
|
+
lastUpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "lastUpdatedAt"),
|
|
731
731
|
suiteDefinitionArn: import_smithy_client.expectString,
|
|
732
732
|
suiteDefinitionId: import_smithy_client.expectString,
|
|
733
733
|
suiteDefinitionName: import_smithy_client.expectString,
|
|
@@ -821,7 +821,7 @@ var de_GroupResult = /* @__PURE__ */ __name((output, context) => {
|
|
|
821
821
|
return (0, import_smithy_client.take)(output, {
|
|
822
822
|
groupId: import_smithy_client.expectString,
|
|
823
823
|
groupName: import_smithy_client.expectString,
|
|
824
|
-
tests: (_) => de_TestCaseRuns(_, context)
|
|
824
|
+
tests: /* @__PURE__ */ __name((_) => de_TestCaseRuns(_, context), "tests")
|
|
825
825
|
});
|
|
826
826
|
}, "de_GroupResult");
|
|
827
827
|
var de_GroupResultList = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -832,7 +832,7 @@ var de_GroupResultList = /* @__PURE__ */ __name((output, context) => {
|
|
|
832
832
|
}, "de_GroupResultList");
|
|
833
833
|
var de_SuiteDefinitionInformation = /* @__PURE__ */ __name((output, context) => {
|
|
834
834
|
return (0, import_smithy_client.take)(output, {
|
|
835
|
-
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
835
|
+
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdAt"),
|
|
836
836
|
defaultDevices: import_smithy_client._json,
|
|
837
837
|
intendedForQualification: import_smithy_client.expectBoolean,
|
|
838
838
|
isLongDurationTest: import_smithy_client.expectBoolean,
|
|
@@ -849,11 +849,11 @@ var de_SuiteDefinitionInformationList = /* @__PURE__ */ __name((output, context)
|
|
|
849
849
|
}, "de_SuiteDefinitionInformationList");
|
|
850
850
|
var de_SuiteRunInformation = /* @__PURE__ */ __name((output, context) => {
|
|
851
851
|
return (0, import_smithy_client.take)(output, {
|
|
852
|
-
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
853
|
-
endAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
852
|
+
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdAt"),
|
|
853
|
+
endAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "endAt"),
|
|
854
854
|
failed: import_smithy_client.expectInt32,
|
|
855
855
|
passed: import_smithy_client.expectInt32,
|
|
856
|
-
startedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
856
|
+
startedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "startedAt"),
|
|
857
857
|
status: import_smithy_client.expectString,
|
|
858
858
|
suiteDefinitionId: import_smithy_client.expectString,
|
|
859
859
|
suiteDefinitionName: import_smithy_client.expectString,
|
|
@@ -869,10 +869,10 @@ var de_SuiteRunsList = /* @__PURE__ */ __name((output, context) => {
|
|
|
869
869
|
}, "de_SuiteRunsList");
|
|
870
870
|
var de_TestCaseRun = /* @__PURE__ */ __name((output, context) => {
|
|
871
871
|
return (0, import_smithy_client.take)(output, {
|
|
872
|
-
endTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
872
|
+
endTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "endTime"),
|
|
873
873
|
failure: import_smithy_client.expectString,
|
|
874
874
|
logUrl: import_smithy_client.expectString,
|
|
875
|
-
startTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
875
|
+
startTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "startTime"),
|
|
876
876
|
status: import_smithy_client.expectString,
|
|
877
877
|
testCaseDefinitionId: import_smithy_client.expectString,
|
|
878
878
|
testCaseDefinitionName: import_smithy_client.expectString,
|
|
@@ -889,7 +889,7 @@ var de_TestCaseRuns = /* @__PURE__ */ __name((output, context) => {
|
|
|
889
889
|
}, "de_TestCaseRuns");
|
|
890
890
|
var de_TestResult = /* @__PURE__ */ __name((output, context) => {
|
|
891
891
|
return (0, import_smithy_client.take)(output, {
|
|
892
|
-
groups: (_) => de_GroupResultList(_, context)
|
|
892
|
+
groups: /* @__PURE__ */ __name((_) => de_GroupResultList(_, context), "groups")
|
|
893
893
|
});
|
|
894
894
|
}, "de_TestResult");
|
|
895
895
|
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-iotdeviceadvisor",
|
|
3
3
|
"description": "AWS SDK for JavaScript Iotdeviceadvisor Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.774.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-iotdeviceadvisor",
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
23
|
+
"@aws-sdk/core": "3.774.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.774.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.774.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.734.0",
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.772.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.774.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.734.0",
|
|
30
30
|
"@aws-sdk/types": "3.734.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.743.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.734.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.774.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.0.1",
|
|
35
35
|
"@smithy/core": "^3.1.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.0.1",
|