@aws-sdk/client-iotdeviceadvisor 3.952.0 → 3.953.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.
Files changed (34) hide show
  1. package/dist-cjs/index.js +186 -130
  2. package/dist-cjs/runtimeConfig.shared.js +6 -1
  3. package/dist-es/commands/CreateSuiteDefinitionCommand.js +2 -2
  4. package/dist-es/commands/DeleteSuiteDefinitionCommand.js +2 -2
  5. package/dist-es/commands/GetEndpointCommand.js +2 -2
  6. package/dist-es/commands/GetSuiteDefinitionCommand.js +2 -2
  7. package/dist-es/commands/GetSuiteRunCommand.js +2 -2
  8. package/dist-es/commands/GetSuiteRunReportCommand.js +2 -2
  9. package/dist-es/commands/ListSuiteDefinitionsCommand.js +2 -2
  10. package/dist-es/commands/ListSuiteRunsCommand.js +2 -2
  11. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  12. package/dist-es/commands/StartSuiteRunCommand.js +2 -2
  13. package/dist-es/commands/StopSuiteRunCommand.js +2 -2
  14. package/dist-es/commands/TagResourceCommand.js +2 -2
  15. package/dist-es/commands/UntagResourceCommand.js +2 -2
  16. package/dist-es/commands/UpdateSuiteDefinitionCommand.js +2 -2
  17. package/dist-es/index.js +1 -0
  18. package/dist-es/runtimeConfig.shared.js +6 -1
  19. package/dist-es/schemas/schemas_0.js +106 -106
  20. package/dist-types/IotDeviceAdvisorClient.d.ts +1 -10
  21. package/dist-types/index.d.ts +1 -0
  22. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  23. package/dist-types/runtimeConfig.d.ts +6 -2
  24. package/dist-types/runtimeConfig.native.d.ts +6 -2
  25. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  26. package/dist-types/schemas/schemas_0.d.ts +57 -66
  27. package/dist-types/ts3.4/IotDeviceAdvisorClient.d.ts +0 -4
  28. package/dist-types/ts3.4/index.d.ts +1 -0
  29. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  30. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  31. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  32. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  33. package/dist-types/ts3.4/schemas/schemas_0.d.ts +56 -66
  34. package/package.json +34 -34
@@ -26,7 +26,12 @@ const getRuntimeConfig = (config) => {
26
26
  },
27
27
  ],
28
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
- protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.iotdeviceadvisor" }),
29
+ protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
30
+ protocolSettings: config?.protocolSettings ?? {
31
+ defaultNamespace: "com.amazonaws.iotdeviceadvisor",
32
+ version: "2020-09-18",
33
+ serviceTarget: "IotSenateService",
34
+ },
30
35
  serviceId: config?.serviceId ?? "IotDeviceAdvisor",
31
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
32
37
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { CreateSuiteDefinition } from "../schemas/schemas_0";
4
+ import { CreateSuiteDefinition$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateSuiteDefinitionCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateSuiteDefinitionCommand extends $Command
11
11
  })
12
12
  .s("IotSenateService", "CreateSuiteDefinition", {})
13
13
  .n("IotDeviceAdvisorClient", "CreateSuiteDefinitionCommand")
14
- .sc(CreateSuiteDefinition)
14
+ .sc(CreateSuiteDefinition$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DeleteSuiteDefinition } from "../schemas/schemas_0";
4
+ import { DeleteSuiteDefinition$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteSuiteDefinitionCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteSuiteDefinitionCommand extends $Command
11
11
  })
12
12
  .s("IotSenateService", "DeleteSuiteDefinition", {})
13
13
  .n("IotDeviceAdvisorClient", "DeleteSuiteDefinitionCommand")
14
- .sc(DeleteSuiteDefinition)
14
+ .sc(DeleteSuiteDefinition$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetEndpoint } from "../schemas/schemas_0";
4
+ import { GetEndpoint$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetEndpointCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetEndpointCommand extends $Command
11
11
  })
12
12
  .s("IotSenateService", "GetEndpoint", {})
13
13
  .n("IotDeviceAdvisorClient", "GetEndpointCommand")
14
- .sc(GetEndpoint)
14
+ .sc(GetEndpoint$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetSuiteDefinition } from "../schemas/schemas_0";
4
+ import { GetSuiteDefinition$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetSuiteDefinitionCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetSuiteDefinitionCommand extends $Command
11
11
  })
12
12
  .s("IotSenateService", "GetSuiteDefinition", {})
13
13
  .n("IotDeviceAdvisorClient", "GetSuiteDefinitionCommand")
14
- .sc(GetSuiteDefinition)
14
+ .sc(GetSuiteDefinition$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetSuiteRun } from "../schemas/schemas_0";
4
+ import { GetSuiteRun$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetSuiteRunCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetSuiteRunCommand extends $Command
11
11
  })
12
12
  .s("IotSenateService", "GetSuiteRun", {})
13
13
  .n("IotDeviceAdvisorClient", "GetSuiteRunCommand")
14
- .sc(GetSuiteRun)
14
+ .sc(GetSuiteRun$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetSuiteRunReport } from "../schemas/schemas_0";
4
+ import { GetSuiteRunReport$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetSuiteRunReportCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetSuiteRunReportCommand extends $Command
11
11
  })
12
12
  .s("IotSenateService", "GetSuiteRunReport", {})
13
13
  .n("IotDeviceAdvisorClient", "GetSuiteRunReportCommand")
14
- .sc(GetSuiteRunReport)
14
+ .sc(GetSuiteRunReport$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListSuiteDefinitions } from "../schemas/schemas_0";
4
+ import { ListSuiteDefinitions$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListSuiteDefinitionsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListSuiteDefinitionsCommand extends $Command
11
11
  })
12
12
  .s("IotSenateService", "ListSuiteDefinitions", {})
13
13
  .n("IotDeviceAdvisorClient", "ListSuiteDefinitionsCommand")
14
- .sc(ListSuiteDefinitions)
14
+ .sc(ListSuiteDefinitions$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListSuiteRuns } from "../schemas/schemas_0";
4
+ import { ListSuiteRuns$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListSuiteRunsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListSuiteRunsCommand extends $Command
11
11
  })
12
12
  .s("IotSenateService", "ListSuiteRuns", {})
13
13
  .n("IotDeviceAdvisorClient", "ListSuiteRunsCommand")
14
- .sc(ListSuiteRuns)
14
+ .sc(ListSuiteRuns$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListTagsForResource } from "../schemas/schemas_0";
4
+ import { ListTagsForResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListTagsForResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListTagsForResourceCommand extends $Command
11
11
  })
12
12
  .s("IotSenateService", "ListTagsForResource", {})
13
13
  .n("IotDeviceAdvisorClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource)
14
+ .sc(ListTagsForResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { StartSuiteRun } from "../schemas/schemas_0";
4
+ import { StartSuiteRun$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class StartSuiteRunCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class StartSuiteRunCommand extends $Command
11
11
  })
12
12
  .s("IotSenateService", "StartSuiteRun", {})
13
13
  .n("IotDeviceAdvisorClient", "StartSuiteRunCommand")
14
- .sc(StartSuiteRun)
14
+ .sc(StartSuiteRun$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { StopSuiteRun } from "../schemas/schemas_0";
4
+ import { StopSuiteRun$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class StopSuiteRunCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class StopSuiteRunCommand extends $Command
11
11
  })
12
12
  .s("IotSenateService", "StopSuiteRun", {})
13
13
  .n("IotDeviceAdvisorClient", "StopSuiteRunCommand")
14
- .sc(StopSuiteRun)
14
+ .sc(StopSuiteRun$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { TagResource } from "../schemas/schemas_0";
4
+ import { TagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class TagResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class TagResourceCommand extends $Command
11
11
  })
12
12
  .s("IotSenateService", "TagResource", {})
13
13
  .n("IotDeviceAdvisorClient", "TagResourceCommand")
14
- .sc(TagResource)
14
+ .sc(TagResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UntagResource } from "../schemas/schemas_0";
4
+ import { UntagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UntagResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UntagResourceCommand extends $Command
11
11
  })
12
12
  .s("IotSenateService", "UntagResource", {})
13
13
  .n("IotDeviceAdvisorClient", "UntagResourceCommand")
14
- .sc(UntagResource)
14
+ .sc(UntagResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateSuiteDefinition } from "../schemas/schemas_0";
4
+ import { UpdateSuiteDefinition$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateSuiteDefinitionCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateSuiteDefinitionCommand extends $Command
11
11
  })
12
12
  .s("IotSenateService", "UpdateSuiteDefinition", {})
13
13
  .n("IotDeviceAdvisorClient", "UpdateSuiteDefinitionCommand")
14
- .sc(UpdateSuiteDefinition)
14
+ .sc(UpdateSuiteDefinition$)
15
15
  .build() {
16
16
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./IotDeviceAdvisorClient";
2
2
  export * from "./IotDeviceAdvisor";
3
3
  export * from "./commands";
4
+ export * from "./schemas/schemas_0";
4
5
  export * from "./pagination";
5
6
  export * from "./models/enums";
6
7
  export * from "./models/errors";
@@ -23,7 +23,12 @@ export const getRuntimeConfig = (config) => {
23
23
  },
24
24
  ],
25
25
  logger: config?.logger ?? new NoOpLogger(),
26
- protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.iotdeviceadvisor" }),
26
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.iotdeviceadvisor",
29
+ version: "2020-09-18",
30
+ serviceTarget: "IotSenateService",
31
+ },
27
32
  serviceId: config?.serviceId ?? "IotDeviceAdvisor",
28
33
  urlParser: config?.urlParser ?? parseUrl,
29
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,