From 019ab19b7710e42dc41044cd03a240ad2d80ddf6 Mon Sep 17 00:00:00 2001 From: siddsriv Date: Thu, 14 Mar 2024 15:09:48 +0000 Subject: [PATCH] chore(client-iot-roborunner): deprecate iot roborunner --- clients/client-iot-roborunner/.gitignore | 9 - clients/client-iot-roborunner/CHANGELOG.md | 1369 ------- clients/client-iot-roborunner/LICENSE | 201 - clients/client-iot-roborunner/README.md | 366 -- .../client-iot-roborunner/api-extractor.json | 4 - clients/client-iot-roborunner/package.json | 103 - .../src/IoTRoboRunner.ts | 384 -- .../src/IoTRoboRunnerClient.ts | 368 -- .../auth/httpAuthExtensionConfiguration.ts | 72 - .../src/auth/httpAuthSchemeProvider.ts | 138 - .../src/commands/CreateDestinationCommand.ts | 110 - .../src/commands/CreateSiteCommand.ts | 105 - .../src/commands/CreateWorkerCommand.ts | 126 - .../src/commands/CreateWorkerFleetCommand.ts | 108 - .../src/commands/DeleteDestinationCommand.ts | 97 - .../src/commands/DeleteSiteCommand.ts | 97 - .../src/commands/DeleteWorkerCommand.ts | 97 - .../src/commands/DeleteWorkerFleetCommand.ts | 97 - .../src/commands/GetDestinationCommand.ts | 103 - .../src/commands/GetSiteCommand.ts | 102 - .../src/commands/GetWorkerCommand.ts | 120 - .../src/commands/GetWorkerFleetCommand.ts | 102 - .../src/commands/ListDestinationsCommand.ts | 111 - .../src/commands/ListSitesCommand.ts | 102 - .../src/commands/ListWorkerFleetsCommand.ts | 109 - .../src/commands/ListWorkersCommand.ts | 128 - .../src/commands/UpdateDestinationCommand.ts | 104 - .../src/commands/UpdateSiteCommand.ts | 104 - .../src/commands/UpdateWorkerCommand.ts | 137 - .../src/commands/UpdateWorkerFleetCommand.ts | 102 - .../src/commands/index.ts | 21 - .../src/endpoint/EndpointParameters.ts | 41 - .../src/endpoint/endpointResolver.ts | 16 - .../src/endpoint/ruleset.ts | 32 - .../src/extensionConfiguration.ts | 15 - clients/client-iot-roborunner/src/index.ts | 20 - .../models/IoTRoboRunnerServiceException.ts | 22 - .../client-iot-roborunner/src/models/index.ts | 2 - .../src/models/models_0.ts | 1594 -------- .../src/pagination/Interfaces.ts | 11 - .../pagination/ListDestinationsPaginator.ts | 24 - .../src/pagination/ListSitesPaginator.ts | 20 - .../pagination/ListWorkerFleetsPaginator.ts | 24 - .../src/pagination/ListWorkersPaginator.ts | 20 - .../src/pagination/index.ts | 6 - .../src/protocols/Aws_restJson1.ts | 1371 ------- .../src/runtimeConfig.browser.ts | 44 - .../src/runtimeConfig.native.ts | 18 - .../src/runtimeConfig.shared.ts | 38 - .../src/runtimeConfig.ts | 59 - .../src/runtimeExtensions.ts | 48 - .../client-iot-roborunner/tsconfig.cjs.json | 6 - .../client-iot-roborunner/tsconfig.es.json | 8 - clients/client-iot-roborunner/tsconfig.json | 13 - .../client-iot-roborunner/tsconfig.types.json | 10 - .../aws-models/iot-roborunner.json | 3326 ----------------- .../aws/typescript/codegen/endpoints.json | 6 - 57 files changed, 11990 deletions(-) delete mode 100644 clients/client-iot-roborunner/.gitignore delete mode 100644 clients/client-iot-roborunner/CHANGELOG.md delete mode 100644 clients/client-iot-roborunner/LICENSE delete mode 100644 clients/client-iot-roborunner/README.md delete mode 100644 clients/client-iot-roborunner/api-extractor.json delete mode 100644 clients/client-iot-roborunner/package.json delete mode 100644 clients/client-iot-roborunner/src/IoTRoboRunner.ts delete mode 100644 clients/client-iot-roborunner/src/IoTRoboRunnerClient.ts delete mode 100644 clients/client-iot-roborunner/src/auth/httpAuthExtensionConfiguration.ts delete mode 100644 clients/client-iot-roborunner/src/auth/httpAuthSchemeProvider.ts delete mode 100644 clients/client-iot-roborunner/src/commands/CreateDestinationCommand.ts delete mode 100644 clients/client-iot-roborunner/src/commands/CreateSiteCommand.ts delete mode 100644 clients/client-iot-roborunner/src/commands/CreateWorkerCommand.ts delete mode 100644 clients/client-iot-roborunner/src/commands/CreateWorkerFleetCommand.ts delete mode 100644 clients/client-iot-roborunner/src/commands/DeleteDestinationCommand.ts delete mode 100644 clients/client-iot-roborunner/src/commands/DeleteSiteCommand.ts delete mode 100644 clients/client-iot-roborunner/src/commands/DeleteWorkerCommand.ts delete mode 100644 clients/client-iot-roborunner/src/commands/DeleteWorkerFleetCommand.ts delete mode 100644 clients/client-iot-roborunner/src/commands/GetDestinationCommand.ts delete mode 100644 clients/client-iot-roborunner/src/commands/GetSiteCommand.ts delete mode 100644 clients/client-iot-roborunner/src/commands/GetWorkerCommand.ts delete mode 100644 clients/client-iot-roborunner/src/commands/GetWorkerFleetCommand.ts delete mode 100644 clients/client-iot-roborunner/src/commands/ListDestinationsCommand.ts delete mode 100644 clients/client-iot-roborunner/src/commands/ListSitesCommand.ts delete mode 100644 clients/client-iot-roborunner/src/commands/ListWorkerFleetsCommand.ts delete mode 100644 clients/client-iot-roborunner/src/commands/ListWorkersCommand.ts delete mode 100644 clients/client-iot-roborunner/src/commands/UpdateDestinationCommand.ts delete mode 100644 clients/client-iot-roborunner/src/commands/UpdateSiteCommand.ts delete mode 100644 clients/client-iot-roborunner/src/commands/UpdateWorkerCommand.ts delete mode 100644 clients/client-iot-roborunner/src/commands/UpdateWorkerFleetCommand.ts delete mode 100644 clients/client-iot-roborunner/src/commands/index.ts delete mode 100644 clients/client-iot-roborunner/src/endpoint/EndpointParameters.ts delete mode 100644 clients/client-iot-roborunner/src/endpoint/endpointResolver.ts delete mode 100644 clients/client-iot-roborunner/src/endpoint/ruleset.ts delete mode 100644 clients/client-iot-roborunner/src/extensionConfiguration.ts delete mode 100644 clients/client-iot-roborunner/src/index.ts delete mode 100644 clients/client-iot-roborunner/src/models/IoTRoboRunnerServiceException.ts delete mode 100644 clients/client-iot-roborunner/src/models/index.ts delete mode 100644 clients/client-iot-roborunner/src/models/models_0.ts delete mode 100644 clients/client-iot-roborunner/src/pagination/Interfaces.ts delete mode 100644 clients/client-iot-roborunner/src/pagination/ListDestinationsPaginator.ts delete mode 100644 clients/client-iot-roborunner/src/pagination/ListSitesPaginator.ts delete mode 100644 clients/client-iot-roborunner/src/pagination/ListWorkerFleetsPaginator.ts delete mode 100644 clients/client-iot-roborunner/src/pagination/ListWorkersPaginator.ts delete mode 100644 clients/client-iot-roborunner/src/pagination/index.ts delete mode 100644 clients/client-iot-roborunner/src/protocols/Aws_restJson1.ts delete mode 100644 clients/client-iot-roborunner/src/runtimeConfig.browser.ts delete mode 100644 clients/client-iot-roborunner/src/runtimeConfig.native.ts delete mode 100644 clients/client-iot-roborunner/src/runtimeConfig.shared.ts delete mode 100644 clients/client-iot-roborunner/src/runtimeConfig.ts delete mode 100644 clients/client-iot-roborunner/src/runtimeExtensions.ts delete mode 100644 clients/client-iot-roborunner/tsconfig.cjs.json delete mode 100644 clients/client-iot-roborunner/tsconfig.es.json delete mode 100644 clients/client-iot-roborunner/tsconfig.json delete mode 100644 clients/client-iot-roborunner/tsconfig.types.json delete mode 100644 codegen/sdk-codegen/aws-models/iot-roborunner.json diff --git a/clients/client-iot-roborunner/.gitignore b/clients/client-iot-roborunner/.gitignore deleted file mode 100644 index 54f14c9aef253..0000000000000 --- a/clients/client-iot-roborunner/.gitignore +++ /dev/null @@ -1,9 +0,0 @@ -/node_modules/ -/build/ -/coverage/ -/docs/ -/dist-* -*.tsbuildinfo -*.tgz -*.log -package-lock.json diff --git a/clients/client-iot-roborunner/CHANGELOG.md b/clients/client-iot-roborunner/CHANGELOG.md deleted file mode 100644 index ac54549a244d9..0000000000000 --- a/clients/client-iot-roborunner/CHANGELOG.md +++ /dev/null @@ -1,1369 +0,0 @@ -# Change Log - -All notable changes to this project will be documented in this file. -See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. - -# [3.533.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.532.0...v3.533.0) (2024-03-13) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -## [3.529.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.529.0...v3.529.1) (2024-03-08) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.529.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.528.0...v3.529.0) (2024-03-07) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.525.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.524.0...v3.525.0) (2024-02-29) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.523.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.522.0...v3.523.0) (2024-02-27) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.521.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.520.0...v3.521.0) (2024-02-23) - - -### Features - -* requestHandler ctor param pass-through ([#5820](https://github.com/aws/aws-sdk-js-v3/issues/5820)) ([9fec71d](https://github.com/aws/aws-sdk-js-v3/commit/9fec71d1933cd8e3db118c164bca16edc2305532)) - - - - - -# [3.515.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.514.0...v3.515.0) (2024-02-15) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.514.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.513.0...v3.514.0) (2024-02-14) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.513.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.512.0...v3.513.0) (2024-02-13) - - -### Features - -* **experimentalIdentityAndAuth:** release phase for services without customizations ([#5787](https://github.com/aws/aws-sdk-js-v3/issues/5787)) ([4004ff6](https://github.com/aws/aws-sdk-js-v3/commit/4004ff68a8ad20f6e60e8fab1f8952928f92f4b7)) - - - - - -# [3.511.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.510.0...v3.511.0) (2024-02-09) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.509.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.508.0...v3.509.0) (2024-02-07) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.507.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.506.0...v3.507.0) (2024-02-05) - - -### Features - -* unified error dispatcher in protocols ([#5756](https://github.com/aws/aws-sdk-js-v3/issues/5756)) ([0872087](https://github.com/aws/aws-sdk-js-v3/commit/0872087ef56422541bd38d293f97613dfd10236f)) - - - - - -# [3.504.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.503.1...v3.504.0) (2024-01-31) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -## [3.503.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.503.0...v3.503.1) (2024-01-30) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.503.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.502.0...v3.503.0) (2024-01-30) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.502.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.501.0...v3.502.0) (2024-01-29) - - -### Features - -* **credential-providers:** lazy load STS & SSO clients in credential providers ([#5681](https://github.com/aws/aws-sdk-js-v3/issues/5681)) ([d27301d](https://github.com/aws/aws-sdk-js-v3/commit/d27301d48f3e75fdaccabf58f779f0b33a70664e)) - - - - - -# [3.501.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.500.0...v3.501.0) (2024-01-26) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.499.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.498.0...v3.499.0) (2024-01-24) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.496.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.495.0...v3.496.0) (2024-01-19) - - -### Bug Fixes - -* get full list of exports for esm compat in dist-cjs ([#5694](https://github.com/aws/aws-sdk-js-v3/issues/5694)) ([5d26da6](https://github.com/aws/aws-sdk-js-v3/commit/5d26da6d07b593ae286ca674fb3cbff7c833cbb0)) - - - - - -# [3.495.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.494.0...v3.495.0) (2024-01-18) - - -### Features - -* use bundled dist-cjs build ([#5687](https://github.com/aws/aws-sdk-js-v3/issues/5687)) ([5f79e22](https://github.com/aws/aws-sdk-js-v3/commit/5f79e225e32f0b2ed5b432ae4e4108663eb0acfb)) - - - - - -# [3.490.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.489.0...v3.490.0) (2024-01-11) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.489.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.488.0...v3.489.0) (2024-01-10) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.485.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.484.0...v3.485.0) (2024-01-03) - - -### Features - -* **credential-providers:** add credentialScope field ([#5606](https://github.com/aws/aws-sdk-js-v3/issues/5606)) ([04c1459](https://github.com/aws/aws-sdk-js-v3/commit/04c14592898ac63ed87d47f2a53320ccaa991083)) - - - - - -# [3.484.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.483.0...v3.484.0) (2023-12-29) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.481.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.480.0...v3.481.0) (2023-12-26) - - -### Features - -* codegen for command class builder ([#5604](https://github.com/aws/aws-sdk-js-v3/issues/5604)) ([4835de4](https://github.com/aws/aws-sdk-js-v3/commit/4835de4ebb8f302ae1e838ac1efaf5f12384910d)) - - - - - -# [3.478.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.477.0...v3.478.0) (2023-12-20) - - -### Features - -* codegen for paginator factory ([#5590](https://github.com/aws/aws-sdk-js-v3/issues/5590)) ([e54099b](https://github.com/aws/aws-sdk-js-v3/commit/e54099b7c1eb3b1de5737d5494821b1dae045fca)) - - - - - -# [3.477.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.476.0...v3.477.0) (2023-12-19) - - -### Features - -* xml codegen reduction ([#5566](https://github.com/aws/aws-sdk-js-v3/issues/5566)) ([3ed7c81](https://github.com/aws/aws-sdk-js-v3/commit/3ed7c81f9191182826de7645078cc6ed1d2ee959)) - - - - - -# [3.476.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.475.0...v3.476.0) (2023-12-18) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.474.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.473.0...v3.474.0) (2023-12-14) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.473.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.472.0...v3.473.0) (2023-12-13) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.470.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.469.0...v3.470.0) (2023-12-08) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.468.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.467.0...v3.468.0) (2023-12-06) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.465.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.464.0...v3.465.0) (2023-12-01) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.462.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.461.0...v3.462.0) (2023-11-29) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.461.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.460.0...v3.461.0) (2023-11-28) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.460.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.459.0...v3.460.0) (2023-11-28) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.458.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.457.0...v3.458.0) (2023-11-27) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.454.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.453.0...v3.454.0) (2023-11-17) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.451.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.450.0...v3.451.0) (2023-11-14) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.450.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.449.0...v3.450.0) (2023-11-13) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.449.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.448.0...v3.449.0) (2023-11-10) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.445.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.444.0...v3.445.0) (2023-11-07) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.441.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.440.0...v3.441.0) (2023-11-01) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.438.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.437.0...v3.438.0) (2023-10-27) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.437.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.436.0...v3.437.0) (2023-10-26) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.436.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.435.0...v3.436.0) (2023-10-25) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.435.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.434.0...v3.435.0) (2023-10-24) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.433.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.432.0...v3.433.0) (2023-10-20) - - -### Bug Fixes - -* **codegen:** use partial record for enum keyed types ([#5391](https://github.com/aws/aws-sdk-js-v3/issues/5391)) ([70c2107](https://github.com/aws/aws-sdk-js-v3/commit/70c2107b970d035bfedb211278c88fdbfc2e5334)) - - - - - -# [3.431.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.430.0...v3.431.0) (2023-10-18) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.430.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.429.0...v3.430.0) (2023-10-17) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.429.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.428.0...v3.429.0) (2023-10-16) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.428.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.427.0...v3.428.0) (2023-10-12) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.427.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.426.0...v3.427.0) (2023-10-06) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.425.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.424.0...v3.425.0) (2023-10-04) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.423.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.422.0...v3.423.0) (2023-10-02) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.421.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.420.0...v3.421.0) (2023-09-27) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.418.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.417.0...v3.418.0) (2023-09-22) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.414.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.413.0...v3.414.0) (2023-09-15) - - -### Features - -* **region-config:** add aws region runtime extension codegen ([#5157](https://github.com/aws/aws-sdk-js-v3/issues/5157)) ([b9d59e8](https://github.com/aws/aws-sdk-js-v3/commit/b9d59e81696f9628c6502473bb01a2d1a617e928)) - - - - - -# [3.413.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.412.0...v3.413.0) (2023-09-14) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.410.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.409.0...v3.410.0) (2023-09-11) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.409.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.408.0...v3.409.0) (2023-09-08) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.408.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.407.0...v3.408.0) (2023-09-07) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.405.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.404.0...v3.405.0) (2023-09-01) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.398.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.397.0...v3.398.0) (2023-08-23) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.395.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.394.0...v3.395.0) (2023-08-18) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.391.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.390.0...v3.391.0) (2023-08-14) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.388.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.387.0...v3.388.0) (2023-08-09) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.387.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.386.0...v3.387.0) (2023-08-08) - - -### Features - -* **clients:** allow client creation without configuration ([#5060](https://github.com/aws/aws-sdk-js-v3/issues/5060)) ([a9723dc](https://github.com/aws/aws-sdk-js-v3/commit/a9723dcbbf970402a3131a8ff79153a04b2cfb89)) - - - - - -# [3.386.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.385.0...v3.386.0) (2023-08-07) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.385.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.384.0...v3.385.0) (2023-08-04) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.382.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.381.0...v3.382.0) (2023-08-01) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -## [3.379.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.379.0...v3.379.1) (2023-07-28) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.378.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.377.0...v3.378.0) (2023-07-26) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.377.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.376.0...v3.377.0) (2023-07-25) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.370.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.369.0...v3.370.0) (2023-07-13) - - -### Bug Fixes - -* **codegen:** pkg.json merge behavior ([#4954](https://github.com/aws/aws-sdk-js-v3/issues/4954)) ([4fc0b7f](https://github.com/aws/aws-sdk-js-v3/commit/4fc0b7f3961fe8a88c781c8f34269aef12d5f620)) - - - - - -# [3.369.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.368.0...v3.369.0) (2023-07-11) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.363.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.362.0...v3.363.0) (2023-06-29) - - -### Features - -* **clients:** use migrated [@smithy](https://github.com/smithy) packages ([#4873](https://github.com/aws/aws-sdk-js-v3/issues/4873)) ([d036e2e](https://github.com/aws/aws-sdk-js-v3/commit/d036e2e43cd33cfd497871f97dde907c3078b2fd)) - - - - - -# [3.362.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.361.0...v3.362.0) (2023-06-28) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.360.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.359.0...v3.360.0) (2023-06-26) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.359.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.358.0...v3.359.0) (2023-06-23) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.358.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.357.0...v3.358.0) (2023-06-22) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.357.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.356.0...v3.357.0) (2023-06-21) - - -### Features - -* **clients:** automatic blob type conversions ([#4836](https://github.com/aws/aws-sdk-js-v3/issues/4836)) ([60ec921](https://github.com/aws/aws-sdk-js-v3/commit/60ec921c879ae8363f32ebbe9e1ecd6062df1081)) - - - - - -# [3.354.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.353.0...v3.354.0) (2023-06-16) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.353.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.352.0...v3.353.0) (2023-06-15) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.352.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.351.0...v3.352.0) (2023-06-13) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.350.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.349.0...v3.350.0) (2023-06-09) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.348.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.347.1...v3.348.0) (2023-06-07) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -## [3.347.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.347.0...v3.347.1) (2023-06-07) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.347.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.346.0...v3.347.0) (2023-06-06) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.345.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.344.0...v3.345.0) (2023-06-02) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.344.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.343.0...v3.344.0) (2023-06-01) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.342.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.341.0...v3.342.0) (2023-05-30) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.341.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.340.0...v3.341.0) (2023-05-26) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.338.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.337.0...v3.338.0) (2023-05-23) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.337.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.336.0...v3.337.0) (2023-05-22) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.335.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.334.0...v3.335.0) (2023-05-18) - - -### Features - -* **deps:** use [@smithy](https://github.com/smithy) types and protocol-http ([#4722](https://github.com/aws/aws-sdk-js-v3/issues/4722)) ([7ed7101](https://github.com/aws/aws-sdk-js-v3/commit/7ed7101dcc4e81038b6c7f581162b959e6b33a04)) - - - - - -# [3.332.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.331.0...v3.332.0) (2023-05-11) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.329.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.328.0...v3.329.0) (2023-05-08) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.328.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.327.0...v3.328.0) (2023-05-05) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.327.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.326.0...v3.327.0) (2023-05-04) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.326.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.325.0...v3.326.0) (2023-05-03) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.325.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.324.0...v3.325.0) (2023-05-02) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -## [3.321.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.321.0...v3.321.1) (2023-04-27) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.319.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.318.0...v3.319.0) (2023-04-24) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.316.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.315.0...v3.316.0) (2023-04-19) - - -### Bug Fixes - -* **clients:** always allow idempotency token ([#4642](https://github.com/aws/aws-sdk-js-v3/issues/4642)) ([aaff894](https://github.com/aws/aws-sdk-js-v3/commit/aaff894f7840d199bae043594ca56e290d5f3deb)) - - -### Features - -* **smithy-client:** factory for aggregated clients ([#4639](https://github.com/aws/aws-sdk-js-v3/issues/4639)) ([852b99d](https://github.com/aws/aws-sdk-js-v3/commit/852b99d393fe5f1a9ff6345f797949f3901a9cbf)) - - - - - -# [3.315.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.314.0...v3.315.0) (2023-04-17) - - -### Features - -* **codegen:** shorten serialization and deserialization code in protocols files ([#4625](https://github.com/aws/aws-sdk-js-v3/issues/4625)) ([8798a6e](https://github.com/aws/aws-sdk-js-v3/commit/8798a6eac1b48f0a807c51e38b864ef62b712943)) - - - - - -# [3.312.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.311.0...v3.312.0) (2023-04-12) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.310.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.309.0...v3.310.0) (2023-04-10) - - -### Bug Fixes - -* use updated dist glob pattern in package.json ([#4628](https://github.com/aws/aws-sdk-js-v3/issues/4628)) ([352393d](https://github.com/aws/aws-sdk-js-v3/commit/352393dcdba5ba16dca589c265c40e22913c7f2b)) - - - - - -# [3.309.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.308.0...v3.309.0) (2023-04-07) - - -### Features - -* **codegen:** shorten internal serde function names ([#4611](https://github.com/aws/aws-sdk-js-v3/issues/4611)) ([e385e85](https://github.com/aws/aws-sdk-js-v3/commit/e385e85938d112434b752abb38ab5de2d094f669)) - - - - - -# [3.306.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.305.0...v3.306.0) (2023-04-04) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.303.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.302.0...v3.303.0) (2023-03-30) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.301.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.300.0...v3.301.0) (2023-03-28) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.300.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.299.0...v3.300.0) (2023-03-27) - - -### Features - -* **clients:** codegen for structural hint documentation in commands ([#4573](https://github.com/aws/aws-sdk-js-v3/issues/4573)) ([b3ff58d](https://github.com/aws/aws-sdk-js-v3/commit/b3ff58d3606ceefcdd04ac82fc1ca54f5f811989)) - - - - - -# [3.299.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.298.0...v3.299.0) (2023-03-24) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.298.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.297.0...v3.298.0) (2023-03-23) - - -### Features - -* **clients:** remove generated log filters for data with no sensitive data ([#4544](https://github.com/aws/aws-sdk-js-v3/issues/4544)) ([569155d](https://github.com/aws/aws-sdk-js-v3/commit/569155d6cce710b102cefa7511ba1bc1d28bc87e)) - - - - - -# [3.297.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.296.0...v3.297.0) (2023-03-22) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.296.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.295.0...v3.296.0) (2023-03-21) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.295.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.294.0...v3.295.0) (2023-03-20) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.294.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.293.0...v3.294.0) (2023-03-17) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.293.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.292.1...v3.293.0) (2023-03-16) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.292.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.291.0...v3.292.0) (2023-03-15) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.290.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.289.0...v3.290.0) (2023-03-13) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.289.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.288.0...v3.289.0) (2023-03-10) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.288.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.287.0...v3.288.0) (2023-03-09) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.287.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.286.0...v3.287.0) (2023-03-08) - - -### Bug Fixes - -* **clients:** remove aggregated client from paginators ([#4496](https://github.com/aws/aws-sdk-js-v3/issues/4496)) ([aea457a](https://github.com/aws/aws-sdk-js-v3/commit/aea457ab5d4e72939f2f608140d82b60526eb716)) - - - - - -# [3.282.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.281.0...v3.282.0) (2023-03-01) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.281.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.280.0...v3.281.0) (2023-02-28) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.279.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.278.0...v3.279.0) (2023-02-24) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.278.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.277.0...v3.278.0) (2023-02-23) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.276.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.275.0...v3.276.0) (2023-02-21) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.272.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.271.0...v3.272.0) (2023-02-15) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.271.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.270.0...v3.271.0) (2023-02-14) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.267.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.266.1...v3.267.0) (2023-02-08) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -## [3.266.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.266.0...v3.266.1) (2023-02-07) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.266.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.265.0...v3.266.0) (2023-02-06) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.264.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.263.0...v3.264.0) (2023-02-02) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.262.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.261.0...v3.262.0) (2023-01-31) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.261.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.260.0...v3.261.0) (2023-01-30) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.259.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.258.0...v3.259.0) (2023-01-26) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.258.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.257.0...v3.258.0) (2023-01-25) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.257.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.256.0...v3.257.0) (2023-01-24) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.256.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.255.0...v3.256.0) (2023-01-23) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.254.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.253.0...v3.254.0) (2023-01-19) - - -### Features - -* **checksum:** replace Hash with Checksum ([#4346](https://github.com/aws/aws-sdk-js-v3/issues/4346)) ([172b4f3](https://github.com/aws/aws-sdk-js-v3/commit/172b4f3475370b386271750436004706b36bc056)) - - - - - -# [3.252.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.251.0...v3.252.0) (2023-01-17) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.245.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.244.0...v3.245.0) (2023-01-05) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.241.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.240.0...v3.241.0) (2022-12-29) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.238.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.237.0...v3.238.0) (2022-12-23) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.236.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.235.0...v3.236.0) (2022-12-21) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.235.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.234.0...v3.235.0) (2022-12-20) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.234.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.233.0...v3.234.0) (2022-12-19) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.231.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.230.0...v3.231.0) (2022-12-14) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.229.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.228.0...v3.229.0) (2022-12-12) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.226.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.225.0...v3.226.0) (2022-12-07) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.224.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.223.0...v3.224.0) (2022-12-05) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.223.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.222.0...v3.223.0) (2022-12-02) - - -### Bug Fixes - -* **clients:** remove unconditional inclusion of util-retry ([#4246](https://github.com/aws/aws-sdk-js-v3/issues/4246)) ([3baeb44](https://github.com/aws/aws-sdk-js-v3/commit/3baeb445fb399fa3b6d81e89e88c22b0c0a691cc)) - - - - - -# [3.222.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.221.0...v3.222.0) (2022-12-01) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.218.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.217.0...v3.218.0) (2022-11-28) - - -### Bug Fixes - -* **codegen:** add check for required query parameters ([#4223](https://github.com/aws/aws-sdk-js-v3/issues/4223)) ([b941f46](https://github.com/aws/aws-sdk-js-v3/commit/b941f4646518aacec2d7709eb673e5b2d90f0b04)) - - - - - -# [3.216.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.215.0...v3.216.0) (2022-11-22) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.215.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.214.0...v3.215.0) (2022-11-21) - -**Note:** Version bump only for package @aws-sdk/client-iot-roborunner - - - - - -# [3.214.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.213.0...v3.214.0) (2022-11-18) - - -### Features - -* **client-iot-roborunner:** AWS IoT RoboRunner is a new service that makes it easy to build applications that help multi-vendor robots work together seamlessly. See the IoT RoboRunner developer guide for more details on getting started. https://docs.aws.amazon.com/iotroborunner/latest/dev/iotroborunner-welcome.html ([0e7f18a](https://github.com/aws/aws-sdk-js-v3/commit/0e7f18af4c5721349ed45970cfac39c3a7917b18)) diff --git a/clients/client-iot-roborunner/LICENSE b/clients/client-iot-roborunner/LICENSE deleted file mode 100644 index 8efcd8d5c5b76..0000000000000 --- a/clients/client-iot-roborunner/LICENSE +++ /dev/null @@ -1,201 +0,0 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright 2018-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/clients/client-iot-roborunner/README.md b/clients/client-iot-roborunner/README.md deleted file mode 100644 index 0ea82227b1a80..0000000000000 --- a/clients/client-iot-roborunner/README.md +++ /dev/null @@ -1,366 +0,0 @@ - - -# @aws-sdk/client-iot-roborunner - -## Description - -AWS SDK for JavaScript IoTRoboRunner Client for Node.js, Browser and React Native. - -An example service, deployed with the Octane Service creator, -which will echo the string - -## Installing - -To install the this package, simply type add or install @aws-sdk/client-iot-roborunner -using your favorite package manager: - -- `npm install @aws-sdk/client-iot-roborunner` -- `yarn add @aws-sdk/client-iot-roborunner` -- `pnpm add @aws-sdk/client-iot-roborunner` - -## Getting Started - -### Import - -The AWS SDK is modulized by clients and commands. -To send a request, you only need to import the `IoTRoboRunnerClient` and -the commands you need, for example `ListSitesCommand`: - -```js -// ES5 example -const { IoTRoboRunnerClient, ListSitesCommand } = require("@aws-sdk/client-iot-roborunner"); -``` - -```ts -// ES6+ example -import { IoTRoboRunnerClient, ListSitesCommand } from "@aws-sdk/client-iot-roborunner"; -``` - -### Usage - -To send a request, you: - -- Initiate client with configuration (e.g. credentials, region). -- Initiate command with input parameters. -- Call `send` operation on client with command object as input. -- If you are using a custom http handler, you may call `destroy()` to close open connections. - -```js -// a client can be shared by different commands. -const client = new IoTRoboRunnerClient({ region: "REGION" }); - -const params = { - /** input parameters */ -}; -const command = new ListSitesCommand(params); -``` - -#### Async/await - -We recommend using [await](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/await) -operator to wait for the promise returned by send operation as follows: - -```js -// async/await. -try { - const data = await client.send(command); - // process data. -} catch (error) { - // error handling. -} finally { - // finally. -} -``` - -Async-await is clean, concise, intuitive, easy to debug and has better error handling -as compared to using Promise chains or callbacks. - -#### Promises - -You can also use [Promise chaining](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Using_promises#chaining) -to execute send operation. - -```js -client.send(command).then( - (data) => { - // process data. - }, - (error) => { - // error handling. - } -); -``` - -Promises can also be called using `.catch()` and `.finally()` as follows: - -```js -client - .send(command) - .then((data) => { - // process data. - }) - .catch((error) => { - // error handling. - }) - .finally(() => { - // finally. - }); -``` - -#### Callbacks - -We do not recommend using callbacks because of [callback hell](http://callbackhell.com/), -but they are supported by the send operation. - -```js -// callbacks. -client.send(command, (err, data) => { - // process err and data. -}); -``` - -#### v2 compatible style - -The client can also send requests using v2 compatible style. -However, it results in a bigger bundle size and may be dropped in next major version. More details in the blog post -on [modular packages in AWS SDK for JavaScript](https://aws.amazon.com/blogs/developer/modular-packages-in-aws-sdk-for-javascript/) - -```ts -import * as AWS from "@aws-sdk/client-iot-roborunner"; -const client = new AWS.IoTRoboRunner({ region: "REGION" }); - -// async/await. -try { - const data = await client.listSites(params); - // process data. -} catch (error) { - // error handling. -} - -// Promises. -client - .listSites(params) - .then((data) => { - // process data. - }) - .catch((error) => { - // error handling. - }); - -// callbacks. -client.listSites(params, (err, data) => { - // process err and data. -}); -``` - -### Troubleshooting - -When the service returns an exception, the error will include the exception information, -as well as response metadata (e.g. request id). - -```js -try { - const data = await client.send(command); - // process data. -} catch (error) { - const { requestId, cfId, extendedRequestId } = error.$metadata; - console.log({ requestId, cfId, extendedRequestId }); - /** - * The keys within exceptions are also parsed. - * You can access them by specifying exception names: - * if (error.name === 'SomeServiceException') { - * const value = error.specialKeyInException; - * } - */ -} -``` - -## Getting Help - -Please use these community resources for getting help. -We use the GitHub issues for tracking bugs and feature requests, but have limited bandwidth to address them. - -- Visit [Developer Guide](https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/welcome.html) - or [API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/index.html). -- Check out the blog posts tagged with [`aws-sdk-js`](https://aws.amazon.com/blogs/developer/tag/aws-sdk-js/) - on AWS Developer Blog. -- Ask a question on [StackOverflow](https://stackoverflow.com/questions/tagged/aws-sdk-js) and tag it with `aws-sdk-js`. -- Join the AWS JavaScript community on [gitter](https://gitter.im/aws/aws-sdk-js-v3). -- If it turns out that you may have found a bug, please [open an issue](https://github.com/aws/aws-sdk-js-v3/issues/new/choose). - -To test your universal JavaScript code in Node.js, browser and react-native environments, -visit our [code samples repo](https://github.com/aws-samples/aws-sdk-js-tests). - -## Contributing - -This client code is generated automatically. Any modifications will be overwritten the next time the `@aws-sdk/client-iot-roborunner` package is updated. -To contribute to client you can check our [generate clients scripts](https://github.com/aws/aws-sdk-js-v3/tree/main/scripts/generate-clients). - -## License - -This SDK is distributed under the -[Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0), -see LICENSE for more information. - -## Client Commands (Operations List) - -
- -CreateDestination - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot-roborunner/command/CreateDestinationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-roborunner/Interface/CreateDestinationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-roborunner/Interface/CreateDestinationCommandOutput/) - -
-
- -CreateSite - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot-roborunner/command/CreateSiteCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-roborunner/Interface/CreateSiteCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-roborunner/Interface/CreateSiteCommandOutput/) - -
-
- -CreateWorker - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot-roborunner/command/CreateWorkerCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-roborunner/Interface/CreateWorkerCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-roborunner/Interface/CreateWorkerCommandOutput/) - -
-
- -CreateWorkerFleet - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot-roborunner/command/CreateWorkerFleetCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-roborunner/Interface/CreateWorkerFleetCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-roborunner/Interface/CreateWorkerFleetCommandOutput/) - -
-
- -DeleteDestination - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot-roborunner/command/DeleteDestinationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-roborunner/Interface/DeleteDestinationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-roborunner/Interface/DeleteDestinationCommandOutput/) - -
-
- -DeleteSite - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot-roborunner/command/DeleteSiteCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-roborunner/Interface/DeleteSiteCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-roborunner/Interface/DeleteSiteCommandOutput/) - -
-
- -DeleteWorker - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot-roborunner/command/DeleteWorkerCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-roborunner/Interface/DeleteWorkerCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-roborunner/Interface/DeleteWorkerCommandOutput/) - -
-
- -DeleteWorkerFleet - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot-roborunner/command/DeleteWorkerFleetCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-roborunner/Interface/DeleteWorkerFleetCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-roborunner/Interface/DeleteWorkerFleetCommandOutput/) - -
-
- -GetDestination - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot-roborunner/command/GetDestinationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-roborunner/Interface/GetDestinationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-roborunner/Interface/GetDestinationCommandOutput/) - -
-
- -GetSite - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot-roborunner/command/GetSiteCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-roborunner/Interface/GetSiteCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-roborunner/Interface/GetSiteCommandOutput/) - -
-
- -GetWorker - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot-roborunner/command/GetWorkerCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-roborunner/Interface/GetWorkerCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-roborunner/Interface/GetWorkerCommandOutput/) - -
-
- -GetWorkerFleet - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot-roborunner/command/GetWorkerFleetCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-roborunner/Interface/GetWorkerFleetCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-roborunner/Interface/GetWorkerFleetCommandOutput/) - -
-
- -ListDestinations - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot-roborunner/command/ListDestinationsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-roborunner/Interface/ListDestinationsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-roborunner/Interface/ListDestinationsCommandOutput/) - -
-
- -ListSites - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot-roborunner/command/ListSitesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-roborunner/Interface/ListSitesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-roborunner/Interface/ListSitesCommandOutput/) - -
-
- -ListWorkerFleets - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot-roborunner/command/ListWorkerFleetsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-roborunner/Interface/ListWorkerFleetsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-roborunner/Interface/ListWorkerFleetsCommandOutput/) - -
-
- -ListWorkers - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot-roborunner/command/ListWorkersCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-roborunner/Interface/ListWorkersCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-roborunner/Interface/ListWorkersCommandOutput/) - -
-
- -UpdateDestination - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot-roborunner/command/UpdateDestinationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-roborunner/Interface/UpdateDestinationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-roborunner/Interface/UpdateDestinationCommandOutput/) - -
-
- -UpdateSite - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot-roborunner/command/UpdateSiteCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-roborunner/Interface/UpdateSiteCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-roborunner/Interface/UpdateSiteCommandOutput/) - -
-
- -UpdateWorker - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot-roborunner/command/UpdateWorkerCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-roborunner/Interface/UpdateWorkerCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-roborunner/Interface/UpdateWorkerCommandOutput/) - -
-
- -UpdateWorkerFleet - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot-roborunner/command/UpdateWorkerFleetCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-roborunner/Interface/UpdateWorkerFleetCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-roborunner/Interface/UpdateWorkerFleetCommandOutput/) - -
diff --git a/clients/client-iot-roborunner/api-extractor.json b/clients/client-iot-roborunner/api-extractor.json deleted file mode 100644 index d5bf5ffeee851..0000000000000 --- a/clients/client-iot-roborunner/api-extractor.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "extends": "../../api-extractor.json", - "mainEntryPointFilePath": "/dist-types/index.d.ts" -} diff --git a/clients/client-iot-roborunner/package.json b/clients/client-iot-roborunner/package.json deleted file mode 100644 index 68bb8e56656e1..0000000000000 --- a/clients/client-iot-roborunner/package.json +++ /dev/null @@ -1,103 +0,0 @@ -{ - "name": "@aws-sdk/client-iot-roborunner", - "description": "AWS SDK for JavaScript Iot Roborunner Client for Node.js, Browser and React Native", - "version": "3.533.0", - "scripts": { - "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'", - "build:cjs": "node ../../scripts/compilation/inline client-iot-roborunner", - "build:es": "tsc -p tsconfig.es.json", - "build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build", - "build:types": "tsc -p tsconfig.types.json", - "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", - "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo", - "extract:docs": "api-extractor run --local", - "generate:client": "node ../../scripts/generate-clients/single-service --solo iot-roborunner" - }, - "main": "./dist-cjs/index.js", - "types": "./dist-types/index.d.ts", - "module": "./dist-es/index.js", - "sideEffects": false, - "dependencies": { - "@aws-crypto/sha256-browser": "3.0.0", - "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", - "@aws-sdk/core": "*", - "@aws-sdk/credential-provider-node": "*", - "@aws-sdk/middleware-host-header": "*", - "@aws-sdk/middleware-logger": "*", - "@aws-sdk/middleware-recursion-detection": "*", - "@aws-sdk/middleware-user-agent": "*", - "@aws-sdk/region-config-resolver": "*", - "@aws-sdk/types": "*", - "@aws-sdk/util-endpoints": "*", - "@aws-sdk/util-user-agent-browser": "*", - "@aws-sdk/util-user-agent-node": "*", - "@smithy/config-resolver": "^2.1.5", - "@smithy/core": "^1.3.8", - "@smithy/fetch-http-handler": "^2.4.5", - "@smithy/hash-node": "^2.1.4", - "@smithy/invalid-dependency": "^2.1.4", - "@smithy/middleware-content-length": "^2.1.4", - "@smithy/middleware-endpoint": "^2.4.6", - "@smithy/middleware-retry": "^2.1.7", - "@smithy/middleware-serde": "^2.2.1", - "@smithy/middleware-stack": "^2.1.4", - "@smithy/node-config-provider": "^2.2.5", - "@smithy/node-http-handler": "^2.4.3", - "@smithy/protocol-http": "^3.2.2", - "@smithy/smithy-client": "^2.4.5", - "@smithy/types": "^2.11.0", - "@smithy/url-parser": "^2.1.4", - "@smithy/util-base64": "^2.2.1", - "@smithy/util-body-length-browser": "^2.1.1", - "@smithy/util-body-length-node": "^2.2.2", - "@smithy/util-defaults-mode-browser": "^2.1.7", - "@smithy/util-defaults-mode-node": "^2.2.7", - "@smithy/util-endpoints": "^1.1.5", - "@smithy/util-middleware": "^2.1.4", - "@smithy/util-retry": "^2.1.4", - "@smithy/util-utf8": "^2.2.0", - "tslib": "^2.5.0", - "uuid": "^9.0.1" - }, - "devDependencies": { - "@smithy/service-client-documentation-generator": "^2.1.1", - "@tsconfig/node14": "1.0.3", - "@types/node": "^14.14.31", - "@types/uuid": "^9.0.4", - "concurrently": "7.0.0", - "downlevel-dts": "0.10.1", - "rimraf": "3.0.2", - "typescript": "~4.9.5" - }, - "engines": { - "node": ">=14.0.0" - }, - "typesVersions": { - "<4.0": { - "dist-types/*": [ - "dist-types/ts3.4/*" - ] - } - }, - "files": [ - "dist-*/**" - ], - "author": { - "name": "AWS SDK for JavaScript Team", - "url": "https://aws.amazon.com/javascript/" - }, - "license": "Apache-2.0", - "browser": { - "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser" - }, - "react-native": { - "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native" - }, - "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-iot-roborunner", - "repository": { - "type": "git", - "url": "https://github.com/aws/aws-sdk-js-v3.git", - "directory": "clients/client-iot-roborunner" - } -} diff --git a/clients/client-iot-roborunner/src/IoTRoboRunner.ts b/clients/client-iot-roborunner/src/IoTRoboRunner.ts deleted file mode 100644 index dba833bbbd0eb..0000000000000 --- a/clients/client-iot-roborunner/src/IoTRoboRunner.ts +++ /dev/null @@ -1,384 +0,0 @@ -// smithy-typescript generated code -import { createAggregatedClient } from "@smithy/smithy-client"; -import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types"; - -import { - CreateDestinationCommand, - CreateDestinationCommandInput, - CreateDestinationCommandOutput, -} from "./commands/CreateDestinationCommand"; -import { CreateSiteCommand, CreateSiteCommandInput, CreateSiteCommandOutput } from "./commands/CreateSiteCommand"; -import { - CreateWorkerCommand, - CreateWorkerCommandInput, - CreateWorkerCommandOutput, -} from "./commands/CreateWorkerCommand"; -import { - CreateWorkerFleetCommand, - CreateWorkerFleetCommandInput, - CreateWorkerFleetCommandOutput, -} from "./commands/CreateWorkerFleetCommand"; -import { - DeleteDestinationCommand, - DeleteDestinationCommandInput, - DeleteDestinationCommandOutput, -} from "./commands/DeleteDestinationCommand"; -import { DeleteSiteCommand, DeleteSiteCommandInput, DeleteSiteCommandOutput } from "./commands/DeleteSiteCommand"; -import { - DeleteWorkerCommand, - DeleteWorkerCommandInput, - DeleteWorkerCommandOutput, -} from "./commands/DeleteWorkerCommand"; -import { - DeleteWorkerFleetCommand, - DeleteWorkerFleetCommandInput, - DeleteWorkerFleetCommandOutput, -} from "./commands/DeleteWorkerFleetCommand"; -import { - GetDestinationCommand, - GetDestinationCommandInput, - GetDestinationCommandOutput, -} from "./commands/GetDestinationCommand"; -import { GetSiteCommand, GetSiteCommandInput, GetSiteCommandOutput } from "./commands/GetSiteCommand"; -import { GetWorkerCommand, GetWorkerCommandInput, GetWorkerCommandOutput } from "./commands/GetWorkerCommand"; -import { - GetWorkerFleetCommand, - GetWorkerFleetCommandInput, - GetWorkerFleetCommandOutput, -} from "./commands/GetWorkerFleetCommand"; -import { - ListDestinationsCommand, - ListDestinationsCommandInput, - ListDestinationsCommandOutput, -} from "./commands/ListDestinationsCommand"; -import { ListSitesCommand, ListSitesCommandInput, ListSitesCommandOutput } from "./commands/ListSitesCommand"; -import { - ListWorkerFleetsCommand, - ListWorkerFleetsCommandInput, - ListWorkerFleetsCommandOutput, -} from "./commands/ListWorkerFleetsCommand"; -import { ListWorkersCommand, ListWorkersCommandInput, ListWorkersCommandOutput } from "./commands/ListWorkersCommand"; -import { - UpdateDestinationCommand, - UpdateDestinationCommandInput, - UpdateDestinationCommandOutput, -} from "./commands/UpdateDestinationCommand"; -import { UpdateSiteCommand, UpdateSiteCommandInput, UpdateSiteCommandOutput } from "./commands/UpdateSiteCommand"; -import { - UpdateWorkerCommand, - UpdateWorkerCommandInput, - UpdateWorkerCommandOutput, -} from "./commands/UpdateWorkerCommand"; -import { - UpdateWorkerFleetCommand, - UpdateWorkerFleetCommandInput, - UpdateWorkerFleetCommandOutput, -} from "./commands/UpdateWorkerFleetCommand"; -import { IoTRoboRunnerClient, IoTRoboRunnerClientConfig } from "./IoTRoboRunnerClient"; - -const commands = { - CreateDestinationCommand, - CreateSiteCommand, - CreateWorkerCommand, - CreateWorkerFleetCommand, - DeleteDestinationCommand, - DeleteSiteCommand, - DeleteWorkerCommand, - DeleteWorkerFleetCommand, - GetDestinationCommand, - GetSiteCommand, - GetWorkerCommand, - GetWorkerFleetCommand, - ListDestinationsCommand, - ListSitesCommand, - ListWorkerFleetsCommand, - ListWorkersCommand, - UpdateDestinationCommand, - UpdateSiteCommand, - UpdateWorkerCommand, - UpdateWorkerFleetCommand, -}; - -export interface IoTRoboRunner { - /** - * @see {@link CreateDestinationCommand} - */ - createDestination( - args: CreateDestinationCommandInput, - options?: __HttpHandlerOptions - ): Promise; - createDestination( - args: CreateDestinationCommandInput, - cb: (err: any, data?: CreateDestinationCommandOutput) => void - ): void; - createDestination( - args: CreateDestinationCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: CreateDestinationCommandOutput) => void - ): void; - - /** - * @see {@link CreateSiteCommand} - */ - createSite(args: CreateSiteCommandInput, options?: __HttpHandlerOptions): Promise; - createSite(args: CreateSiteCommandInput, cb: (err: any, data?: CreateSiteCommandOutput) => void): void; - createSite( - args: CreateSiteCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: CreateSiteCommandOutput) => void - ): void; - - /** - * @see {@link CreateWorkerCommand} - */ - createWorker(args: CreateWorkerCommandInput, options?: __HttpHandlerOptions): Promise; - createWorker(args: CreateWorkerCommandInput, cb: (err: any, data?: CreateWorkerCommandOutput) => void): void; - createWorker( - args: CreateWorkerCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: CreateWorkerCommandOutput) => void - ): void; - - /** - * @see {@link CreateWorkerFleetCommand} - */ - createWorkerFleet( - args: CreateWorkerFleetCommandInput, - options?: __HttpHandlerOptions - ): Promise; - createWorkerFleet( - args: CreateWorkerFleetCommandInput, - cb: (err: any, data?: CreateWorkerFleetCommandOutput) => void - ): void; - createWorkerFleet( - args: CreateWorkerFleetCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: CreateWorkerFleetCommandOutput) => void - ): void; - - /** - * @see {@link DeleteDestinationCommand} - */ - deleteDestination( - args: DeleteDestinationCommandInput, - options?: __HttpHandlerOptions - ): Promise; - deleteDestination( - args: DeleteDestinationCommandInput, - cb: (err: any, data?: DeleteDestinationCommandOutput) => void - ): void; - deleteDestination( - args: DeleteDestinationCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DeleteDestinationCommandOutput) => void - ): void; - - /** - * @see {@link DeleteSiteCommand} - */ - deleteSite(args: DeleteSiteCommandInput, options?: __HttpHandlerOptions): Promise; - deleteSite(args: DeleteSiteCommandInput, cb: (err: any, data?: DeleteSiteCommandOutput) => void): void; - deleteSite( - args: DeleteSiteCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DeleteSiteCommandOutput) => void - ): void; - - /** - * @see {@link DeleteWorkerCommand} - */ - deleteWorker(args: DeleteWorkerCommandInput, options?: __HttpHandlerOptions): Promise; - deleteWorker(args: DeleteWorkerCommandInput, cb: (err: any, data?: DeleteWorkerCommandOutput) => void): void; - deleteWorker( - args: DeleteWorkerCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DeleteWorkerCommandOutput) => void - ): void; - - /** - * @see {@link DeleteWorkerFleetCommand} - */ - deleteWorkerFleet( - args: DeleteWorkerFleetCommandInput, - options?: __HttpHandlerOptions - ): Promise; - deleteWorkerFleet( - args: DeleteWorkerFleetCommandInput, - cb: (err: any, data?: DeleteWorkerFleetCommandOutput) => void - ): void; - deleteWorkerFleet( - args: DeleteWorkerFleetCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DeleteWorkerFleetCommandOutput) => void - ): void; - - /** - * @see {@link GetDestinationCommand} - */ - getDestination( - args: GetDestinationCommandInput, - options?: __HttpHandlerOptions - ): Promise; - getDestination(args: GetDestinationCommandInput, cb: (err: any, data?: GetDestinationCommandOutput) => void): void; - getDestination( - args: GetDestinationCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: GetDestinationCommandOutput) => void - ): void; - - /** - * @see {@link GetSiteCommand} - */ - getSite(args: GetSiteCommandInput, options?: __HttpHandlerOptions): Promise; - getSite(args: GetSiteCommandInput, cb: (err: any, data?: GetSiteCommandOutput) => void): void; - getSite( - args: GetSiteCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: GetSiteCommandOutput) => void - ): void; - - /** - * @see {@link GetWorkerCommand} - */ - getWorker(args: GetWorkerCommandInput, options?: __HttpHandlerOptions): Promise; - getWorker(args: GetWorkerCommandInput, cb: (err: any, data?: GetWorkerCommandOutput) => void): void; - getWorker( - args: GetWorkerCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: GetWorkerCommandOutput) => void - ): void; - - /** - * @see {@link GetWorkerFleetCommand} - */ - getWorkerFleet( - args: GetWorkerFleetCommandInput, - options?: __HttpHandlerOptions - ): Promise; - getWorkerFleet(args: GetWorkerFleetCommandInput, cb: (err: any, data?: GetWorkerFleetCommandOutput) => void): void; - getWorkerFleet( - args: GetWorkerFleetCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: GetWorkerFleetCommandOutput) => void - ): void; - - /** - * @see {@link ListDestinationsCommand} - */ - listDestinations( - args: ListDestinationsCommandInput, - options?: __HttpHandlerOptions - ): Promise; - listDestinations( - args: ListDestinationsCommandInput, - cb: (err: any, data?: ListDestinationsCommandOutput) => void - ): void; - listDestinations( - args: ListDestinationsCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: ListDestinationsCommandOutput) => void - ): void; - - /** - * @see {@link ListSitesCommand} - */ - listSites(args: ListSitesCommandInput, options?: __HttpHandlerOptions): Promise; - listSites(args: ListSitesCommandInput, cb: (err: any, data?: ListSitesCommandOutput) => void): void; - listSites( - args: ListSitesCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: ListSitesCommandOutput) => void - ): void; - - /** - * @see {@link ListWorkerFleetsCommand} - */ - listWorkerFleets( - args: ListWorkerFleetsCommandInput, - options?: __HttpHandlerOptions - ): Promise; - listWorkerFleets( - args: ListWorkerFleetsCommandInput, - cb: (err: any, data?: ListWorkerFleetsCommandOutput) => void - ): void; - listWorkerFleets( - args: ListWorkerFleetsCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: ListWorkerFleetsCommandOutput) => void - ): void; - - /** - * @see {@link ListWorkersCommand} - */ - listWorkers(args: ListWorkersCommandInput, options?: __HttpHandlerOptions): Promise; - listWorkers(args: ListWorkersCommandInput, cb: (err: any, data?: ListWorkersCommandOutput) => void): void; - listWorkers( - args: ListWorkersCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: ListWorkersCommandOutput) => void - ): void; - - /** - * @see {@link UpdateDestinationCommand} - */ - updateDestination( - args: UpdateDestinationCommandInput, - options?: __HttpHandlerOptions - ): Promise; - updateDestination( - args: UpdateDestinationCommandInput, - cb: (err: any, data?: UpdateDestinationCommandOutput) => void - ): void; - updateDestination( - args: UpdateDestinationCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: UpdateDestinationCommandOutput) => void - ): void; - - /** - * @see {@link UpdateSiteCommand} - */ - updateSite(args: UpdateSiteCommandInput, options?: __HttpHandlerOptions): Promise; - updateSite(args: UpdateSiteCommandInput, cb: (err: any, data?: UpdateSiteCommandOutput) => void): void; - updateSite( - args: UpdateSiteCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: UpdateSiteCommandOutput) => void - ): void; - - /** - * @see {@link UpdateWorkerCommand} - */ - updateWorker(args: UpdateWorkerCommandInput, options?: __HttpHandlerOptions): Promise; - updateWorker(args: UpdateWorkerCommandInput, cb: (err: any, data?: UpdateWorkerCommandOutput) => void): void; - updateWorker( - args: UpdateWorkerCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: UpdateWorkerCommandOutput) => void - ): void; - - /** - * @see {@link UpdateWorkerFleetCommand} - */ - updateWorkerFleet( - args: UpdateWorkerFleetCommandInput, - options?: __HttpHandlerOptions - ): Promise; - updateWorkerFleet( - args: UpdateWorkerFleetCommandInput, - cb: (err: any, data?: UpdateWorkerFleetCommandOutput) => void - ): void; - updateWorkerFleet( - args: UpdateWorkerFleetCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: UpdateWorkerFleetCommandOutput) => void - ): void; -} - -/** - * @public - * An example service, deployed with the Octane Service creator, - * which will echo the string - */ -export class IoTRoboRunner extends IoTRoboRunnerClient implements IoTRoboRunner {} -createAggregatedClient(commands, IoTRoboRunner); diff --git a/clients/client-iot-roborunner/src/IoTRoboRunnerClient.ts b/clients/client-iot-roborunner/src/IoTRoboRunnerClient.ts deleted file mode 100644 index 55339c382c8c2..0000000000000 --- a/clients/client-iot-roborunner/src/IoTRoboRunnerClient.ts +++ /dev/null @@ -1,368 +0,0 @@ -// smithy-typescript generated code -import { - getHostHeaderPlugin, - HostHeaderInputConfig, - HostHeaderResolvedConfig, - resolveHostHeaderConfig, -} from "@aws-sdk/middleware-host-header"; -import { getLoggerPlugin } from "@aws-sdk/middleware-logger"; -import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection"; -import { - getUserAgentPlugin, - resolveUserAgentConfig, - UserAgentInputConfig, - UserAgentResolvedConfig, -} from "@aws-sdk/middleware-user-agent"; -import { RegionInputConfig, RegionResolvedConfig, resolveRegionConfig } from "@smithy/config-resolver"; -import { - DefaultIdentityProviderConfig, - getHttpAuthSchemeEndpointRuleSetPlugin, - getHttpSigningPlugin, -} from "@smithy/core"; -import { getContentLengthPlugin } from "@smithy/middleware-content-length"; -import { EndpointInputConfig, EndpointResolvedConfig, resolveEndpointConfig } from "@smithy/middleware-endpoint"; -import { getRetryPlugin, resolveRetryConfig, RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry"; -import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http"; -import { - Client as __Client, - DefaultsMode as __DefaultsMode, - SmithyConfiguration as __SmithyConfiguration, - SmithyResolvedConfiguration as __SmithyResolvedConfiguration, -} from "@smithy/smithy-client"; -import { - AwsCredentialIdentityProvider, - BodyLengthCalculator as __BodyLengthCalculator, - CheckOptionalClientConfig as __CheckOptionalClientConfig, - ChecksumConstructor as __ChecksumConstructor, - Decoder as __Decoder, - Encoder as __Encoder, - EndpointV2 as __EndpointV2, - HashConstructor as __HashConstructor, - HttpHandlerOptions as __HttpHandlerOptions, - Logger as __Logger, - Provider as __Provider, - Provider, - StreamCollector as __StreamCollector, - UrlParser as __UrlParser, - UserAgent as __UserAgent, -} from "@smithy/types"; - -import { - defaultIoTRoboRunnerHttpAuthSchemeParametersProvider, - HttpAuthSchemeInputConfig, - HttpAuthSchemeResolvedConfig, - resolveHttpAuthSchemeConfig, -} from "./auth/httpAuthSchemeProvider"; -import { CreateDestinationCommandInput, CreateDestinationCommandOutput } from "./commands/CreateDestinationCommand"; -import { CreateSiteCommandInput, CreateSiteCommandOutput } from "./commands/CreateSiteCommand"; -import { CreateWorkerCommandInput, CreateWorkerCommandOutput } from "./commands/CreateWorkerCommand"; -import { CreateWorkerFleetCommandInput, CreateWorkerFleetCommandOutput } from "./commands/CreateWorkerFleetCommand"; -import { DeleteDestinationCommandInput, DeleteDestinationCommandOutput } from "./commands/DeleteDestinationCommand"; -import { DeleteSiteCommandInput, DeleteSiteCommandOutput } from "./commands/DeleteSiteCommand"; -import { DeleteWorkerCommandInput, DeleteWorkerCommandOutput } from "./commands/DeleteWorkerCommand"; -import { DeleteWorkerFleetCommandInput, DeleteWorkerFleetCommandOutput } from "./commands/DeleteWorkerFleetCommand"; -import { GetDestinationCommandInput, GetDestinationCommandOutput } from "./commands/GetDestinationCommand"; -import { GetSiteCommandInput, GetSiteCommandOutput } from "./commands/GetSiteCommand"; -import { GetWorkerCommandInput, GetWorkerCommandOutput } from "./commands/GetWorkerCommand"; -import { GetWorkerFleetCommandInput, GetWorkerFleetCommandOutput } from "./commands/GetWorkerFleetCommand"; -import { ListDestinationsCommandInput, ListDestinationsCommandOutput } from "./commands/ListDestinationsCommand"; -import { ListSitesCommandInput, ListSitesCommandOutput } from "./commands/ListSitesCommand"; -import { ListWorkerFleetsCommandInput, ListWorkerFleetsCommandOutput } from "./commands/ListWorkerFleetsCommand"; -import { ListWorkersCommandInput, ListWorkersCommandOutput } from "./commands/ListWorkersCommand"; -import { UpdateDestinationCommandInput, UpdateDestinationCommandOutput } from "./commands/UpdateDestinationCommand"; -import { UpdateSiteCommandInput, UpdateSiteCommandOutput } from "./commands/UpdateSiteCommand"; -import { UpdateWorkerCommandInput, UpdateWorkerCommandOutput } from "./commands/UpdateWorkerCommand"; -import { UpdateWorkerFleetCommandInput, UpdateWorkerFleetCommandOutput } from "./commands/UpdateWorkerFleetCommand"; -import { - ClientInputEndpointParameters, - ClientResolvedEndpointParameters, - EndpointParameters, - resolveClientEndpointParameters, -} from "./endpoint/EndpointParameters"; -import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig"; -import { resolveRuntimeExtensions, RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions"; - -export { __Client }; - -/** - * @public - */ -export type ServiceInputTypes = - | CreateDestinationCommandInput - | CreateSiteCommandInput - | CreateWorkerCommandInput - | CreateWorkerFleetCommandInput - | DeleteDestinationCommandInput - | DeleteSiteCommandInput - | DeleteWorkerCommandInput - | DeleteWorkerFleetCommandInput - | GetDestinationCommandInput - | GetSiteCommandInput - | GetWorkerCommandInput - | GetWorkerFleetCommandInput - | ListDestinationsCommandInput - | ListSitesCommandInput - | ListWorkerFleetsCommandInput - | ListWorkersCommandInput - | UpdateDestinationCommandInput - | UpdateSiteCommandInput - | UpdateWorkerCommandInput - | UpdateWorkerFleetCommandInput; - -/** - * @public - */ -export type ServiceOutputTypes = - | CreateDestinationCommandOutput - | CreateSiteCommandOutput - | CreateWorkerCommandOutput - | CreateWorkerFleetCommandOutput - | DeleteDestinationCommandOutput - | DeleteSiteCommandOutput - | DeleteWorkerCommandOutput - | DeleteWorkerFleetCommandOutput - | GetDestinationCommandOutput - | GetSiteCommandOutput - | GetWorkerCommandOutput - | GetWorkerFleetCommandOutput - | ListDestinationsCommandOutput - | ListSitesCommandOutput - | ListWorkerFleetsCommandOutput - | ListWorkersCommandOutput - | UpdateDestinationCommandOutput - | UpdateSiteCommandOutput - | UpdateWorkerCommandOutput - | UpdateWorkerFleetCommandOutput; - -/** - * @public - */ -export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> { - /** - * The HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs. - */ - requestHandler?: __HttpHandlerUserInput; - - /** - * A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface - * that computes the SHA-256 HMAC or checksum of a string or binary buffer. - * @internal - */ - sha256?: __ChecksumConstructor | __HashConstructor; - - /** - * The function that will be used to convert strings into HTTP endpoints. - * @internal - */ - urlParser?: __UrlParser; - - /** - * A function that can calculate the length of a request body. - * @internal - */ - bodyLengthChecker?: __BodyLengthCalculator; - - /** - * A function that converts a stream into an array of bytes. - * @internal - */ - streamCollector?: __StreamCollector; - - /** - * The function that will be used to convert a base64-encoded string to a byte array. - * @internal - */ - base64Decoder?: __Decoder; - - /** - * The function that will be used to convert binary data to a base64-encoded string. - * @internal - */ - base64Encoder?: __Encoder; - - /** - * The function that will be used to convert a UTF8-encoded string to a byte array. - * @internal - */ - utf8Decoder?: __Decoder; - - /** - * The function that will be used to convert binary data to a UTF-8 encoded string. - * @internal - */ - utf8Encoder?: __Encoder; - - /** - * The runtime environment. - * @internal - */ - runtime?: string; - - /** - * Disable dynamically changing the endpoint of the client based on the hostPrefix - * trait of an operation. - */ - disableHostPrefix?: boolean; - - /** - * Unique service identifier. - * @internal - */ - serviceId?: string; - - /** - * Enables IPv6/IPv4 dualstack endpoint. - */ - useDualstackEndpoint?: boolean | __Provider; - - /** - * Enables FIPS compatible endpoints. - */ - useFipsEndpoint?: boolean | __Provider; - - /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal - */ - defaultUserAgentProvider?: Provider<__UserAgent>; - - /** - * The AWS region to which this client will send requests - */ - region?: string | __Provider; - - /** - * Default credentials provider; Not available in browser runtime. - * @deprecated - * @internal - */ - credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider; - - /** - * Value for how many times a request will be made at most in case of retry. - */ - maxAttempts?: number | __Provider; - - /** - * Specifies which retry algorithm to use. - * @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/ - * - */ - retryMode?: string | __Provider; - - /** - * Optional logger for logging debug/info/warn/error. - */ - logger?: __Logger; - - /** - * Optional extensions - */ - extensions?: RuntimeExtension[]; - - /** - * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK. - */ - defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>; -} - -/** - * @public - */ -export type IoTRoboRunnerClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & - ClientDefaults & - RegionInputConfig & - EndpointInputConfig & - RetryInputConfig & - HostHeaderInputConfig & - UserAgentInputConfig & - HttpAuthSchemeInputConfig & - ClientInputEndpointParameters; -/** - * @public - * - * The configuration interface of IoTRoboRunnerClient class constructor that set the region, credentials and other options. - */ -export interface IoTRoboRunnerClientConfig extends IoTRoboRunnerClientConfigType {} - -/** - * @public - */ -export type IoTRoboRunnerClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & - Required & - RuntimeExtensionsConfig & - RegionResolvedConfig & - EndpointResolvedConfig & - RetryResolvedConfig & - HostHeaderResolvedConfig & - UserAgentResolvedConfig & - HttpAuthSchemeResolvedConfig & - ClientResolvedEndpointParameters; -/** - * @public - * - * The resolved configuration interface of IoTRoboRunnerClient class. This is resolved and normalized from the {@link IoTRoboRunnerClientConfig | constructor configuration interface}. - */ -export interface IoTRoboRunnerClientResolvedConfig extends IoTRoboRunnerClientResolvedConfigType {} - -/** - * @public - * An example service, deployed with the Octane Service creator, - * which will echo the string - */ -export class IoTRoboRunnerClient extends __Client< - __HttpHandlerOptions, - ServiceInputTypes, - ServiceOutputTypes, - IoTRoboRunnerClientResolvedConfig -> { - /** - * The resolved configuration of IoTRoboRunnerClient class. This is resolved and normalized from the {@link IoTRoboRunnerClientConfig | constructor configuration interface}. - */ - readonly config: IoTRoboRunnerClientResolvedConfig; - - constructor(...[configuration]: __CheckOptionalClientConfig) { - const _config_0 = __getRuntimeConfig(configuration || {}); - const _config_1 = resolveClientEndpointParameters(_config_0); - const _config_2 = resolveRegionConfig(_config_1); - const _config_3 = resolveEndpointConfig(_config_2); - const _config_4 = resolveRetryConfig(_config_3); - const _config_5 = resolveHostHeaderConfig(_config_4); - const _config_6 = resolveUserAgentConfig(_config_5); - const _config_7 = resolveHttpAuthSchemeConfig(_config_6); - const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []); - super(_config_8); - this.config = _config_8; - this.middlewareStack.use(getRetryPlugin(this.config)); - this.middlewareStack.use(getContentLengthPlugin(this.config)); - this.middlewareStack.use(getHostHeaderPlugin(this.config)); - this.middlewareStack.use(getLoggerPlugin(this.config)); - this.middlewareStack.use(getRecursionDetectionPlugin(this.config)); - this.middlewareStack.use(getUserAgentPlugin(this.config)); - this.middlewareStack.use( - getHttpAuthSchemeEndpointRuleSetPlugin(this.config, { - httpAuthSchemeParametersProvider: this.getDefaultHttpAuthSchemeParametersProvider(), - identityProviderConfigProvider: this.getIdentityProviderConfigProvider(), - }) - ); - this.middlewareStack.use(getHttpSigningPlugin(this.config)); - } - - /** - * Destroy underlying resources, like sockets. It's usually not necessary to do this. - * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed. - * Otherwise, sockets might stay open for quite a long time before the server terminates them. - */ - destroy(): void { - super.destroy(); - } - private getDefaultHttpAuthSchemeParametersProvider() { - return defaultIoTRoboRunnerHttpAuthSchemeParametersProvider; - } - private getIdentityProviderConfigProvider() { - return async (config: IoTRoboRunnerClientResolvedConfig) => - new DefaultIdentityProviderConfig({ - "aws.auth#sigv4": config.credentials, - }); - } -} diff --git a/clients/client-iot-roborunner/src/auth/httpAuthExtensionConfiguration.ts b/clients/client-iot-roborunner/src/auth/httpAuthExtensionConfiguration.ts deleted file mode 100644 index edf31b12d18b5..0000000000000 --- a/clients/client-iot-roborunner/src/auth/httpAuthExtensionConfiguration.ts +++ /dev/null @@ -1,72 +0,0 @@ -// smithy-typescript generated code -import { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types"; - -import { IoTRoboRunnerHttpAuthSchemeProvider } from "./httpAuthSchemeProvider"; - -/** - * @internal - */ -export interface HttpAuthExtensionConfiguration { - setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void; - httpAuthSchemes(): HttpAuthScheme[]; - setHttpAuthSchemeProvider(httpAuthSchemeProvider: IoTRoboRunnerHttpAuthSchemeProvider): void; - httpAuthSchemeProvider(): IoTRoboRunnerHttpAuthSchemeProvider; - setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void; - credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined; -} - -/** - * @internal - */ -export type HttpAuthRuntimeConfig = Partial<{ - httpAuthSchemes: HttpAuthScheme[]; - httpAuthSchemeProvider: IoTRoboRunnerHttpAuthSchemeProvider; - credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider; -}>; - -/** - * @internal - */ -export const getHttpAuthExtensionConfiguration = ( - runtimeConfig: HttpAuthRuntimeConfig -): HttpAuthExtensionConfiguration => { - const _httpAuthSchemes = runtimeConfig.httpAuthSchemes!; - let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider!; - let _credentials = runtimeConfig.credentials; - return { - setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void { - const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId); - if (index === -1) { - _httpAuthSchemes.push(httpAuthScheme); - } else { - _httpAuthSchemes.splice(index, 1, httpAuthScheme); - } - }, - httpAuthSchemes(): HttpAuthScheme[] { - return _httpAuthSchemes; - }, - setHttpAuthSchemeProvider(httpAuthSchemeProvider: IoTRoboRunnerHttpAuthSchemeProvider): void { - _httpAuthSchemeProvider = httpAuthSchemeProvider; - }, - httpAuthSchemeProvider(): IoTRoboRunnerHttpAuthSchemeProvider { - return _httpAuthSchemeProvider; - }, - setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void { - _credentials = credentials; - }, - credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined { - return _credentials; - }, - }; -}; - -/** - * @internal - */ -export const resolveHttpAuthRuntimeConfig = (config: HttpAuthExtensionConfiguration): HttpAuthRuntimeConfig => { - return { - httpAuthSchemes: config.httpAuthSchemes(), - httpAuthSchemeProvider: config.httpAuthSchemeProvider(), - credentials: config.credentials(), - }; -}; diff --git a/clients/client-iot-roborunner/src/auth/httpAuthSchemeProvider.ts b/clients/client-iot-roborunner/src/auth/httpAuthSchemeProvider.ts deleted file mode 100644 index 91cb7bcf8eda2..0000000000000 --- a/clients/client-iot-roborunner/src/auth/httpAuthSchemeProvider.ts +++ /dev/null @@ -1,138 +0,0 @@ -// smithy-typescript generated code -import { - AwsSdkSigV4AuthInputConfig, - AwsSdkSigV4AuthResolvedConfig, - AwsSdkSigV4PreviouslyResolved, - resolveAwsSdkSigV4Config, -} from "@aws-sdk/core"; -import { - HandlerExecutionContext, - HttpAuthOption, - HttpAuthScheme, - HttpAuthSchemeParameters, - HttpAuthSchemeParametersProvider, - HttpAuthSchemeProvider, -} from "@smithy/types"; -import { getSmithyContext, normalizeProvider } from "@smithy/util-middleware"; - -import { IoTRoboRunnerClientConfig, IoTRoboRunnerClientResolvedConfig } from "../IoTRoboRunnerClient"; - -/** - * @internal - */ -export interface IoTRoboRunnerHttpAuthSchemeParameters extends HttpAuthSchemeParameters { - region?: string; -} - -/** - * @internal - */ -export interface IoTRoboRunnerHttpAuthSchemeParametersProvider - extends HttpAuthSchemeParametersProvider< - IoTRoboRunnerClientResolvedConfig, - HandlerExecutionContext, - IoTRoboRunnerHttpAuthSchemeParameters, - object - > {} - -/** - * @internal - */ -export const defaultIoTRoboRunnerHttpAuthSchemeParametersProvider = async ( - config: IoTRoboRunnerClientResolvedConfig, - context: HandlerExecutionContext, - input: object -): Promise => { - return { - operation: getSmithyContext(context).operation as string, - region: - (await normalizeProvider(config.region)()) || - (() => { - throw new Error("expected `region` to be configured for `aws.auth#sigv4`"); - })(), - }; -}; - -function createAwsAuthSigv4HttpAuthOption(authParameters: IoTRoboRunnerHttpAuthSchemeParameters): HttpAuthOption { - return { - schemeId: "aws.auth#sigv4", - signingProperties: { - name: "iotroborunner", - region: authParameters.region, - }, - propertiesExtractor: (config: IoTRoboRunnerClientConfig, context) => ({ - /** - * @internal - */ - signingProperties: { - config, - context, - }, - }), - }; -} - -/** - * @internal - */ -export interface IoTRoboRunnerHttpAuthSchemeProvider - extends HttpAuthSchemeProvider {} - -/** - * @internal - */ -export const defaultIoTRoboRunnerHttpAuthSchemeProvider: IoTRoboRunnerHttpAuthSchemeProvider = (authParameters) => { - const options: HttpAuthOption[] = []; - switch (authParameters.operation) { - default: { - options.push(createAwsAuthSigv4HttpAuthOption(authParameters)); - } - } - return options; -}; - -/** - * @internal - */ -export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig { - /** - * experimentalIdentityAndAuth: Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme. - * @internal - */ - httpAuthSchemes?: HttpAuthScheme[]; - - /** - * experimentalIdentityAndAuth: Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use. - * @internal - */ - httpAuthSchemeProvider?: IoTRoboRunnerHttpAuthSchemeProvider; -} - -/** - * @internal - */ -export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig { - /** - * experimentalIdentityAndAuth: Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme. - * @internal - */ - readonly httpAuthSchemes: HttpAuthScheme[]; - - /** - * experimentalIdentityAndAuth: Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use. - * @internal - */ - readonly httpAuthSchemeProvider: IoTRoboRunnerHttpAuthSchemeProvider; -} - -/** - * @internal - */ -export const resolveHttpAuthSchemeConfig = ( - config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved -): T & HttpAuthSchemeResolvedConfig => { - const config_0 = resolveAwsSdkSigV4Config(config); - return { - ...config_0, - } as T & HttpAuthSchemeResolvedConfig; -}; diff --git a/clients/client-iot-roborunner/src/commands/CreateDestinationCommand.ts b/clients/client-iot-roborunner/src/commands/CreateDestinationCommand.ts deleted file mode 100644 index 2c4f2ba0d593a..0000000000000 --- a/clients/client-iot-roborunner/src/commands/CreateDestinationCommand.ts +++ /dev/null @@ -1,110 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { commonParams } from "../endpoint/EndpointParameters"; -import { IoTRoboRunnerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTRoboRunnerClient"; -import { CreateDestinationRequest, CreateDestinationResponse } from "../models/models_0"; -import { de_CreateDestinationCommand, se_CreateDestinationCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link CreateDestinationCommand}. - */ -export interface CreateDestinationCommandInput extends CreateDestinationRequest {} -/** - * @public - * - * The output of {@link CreateDestinationCommand}. - */ -export interface CreateDestinationCommandOutput extends CreateDestinationResponse, __MetadataBearer {} - -/** - * @public - * Grants permission to create a destination - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { IoTRoboRunnerClient, CreateDestinationCommand } from "@aws-sdk/client-iot-roborunner"; // ES Modules import - * // const { IoTRoboRunnerClient, CreateDestinationCommand } = require("@aws-sdk/client-iot-roborunner"); // CommonJS import - * const client = new IoTRoboRunnerClient(config); - * const input = { // CreateDestinationRequest - * clientToken: "STRING_VALUE", - * name: "STRING_VALUE", // required - * site: "STRING_VALUE", // required - * state: "STRING_VALUE", - * additionalFixedProperties: "STRING_VALUE", - * }; - * const command = new CreateDestinationCommand(input); - * const response = await client.send(command); - * // { // CreateDestinationResponse - * // arn: "STRING_VALUE", // required - * // id: "STRING_VALUE", // required - * // createdAt: new Date("TIMESTAMP"), // required - * // updatedAt: new Date("TIMESTAMP"), // required - * // state: "STRING_VALUE", // required - * // }; - * - * ``` - * - * @param CreateDestinationCommandInput - {@link CreateDestinationCommandInput} - * @returns {@link CreateDestinationCommandOutput} - * @see {@link CreateDestinationCommandInput} for command's `input` shape. - * @see {@link CreateDestinationCommandOutput} for command's `response` shape. - * @see {@link IoTRoboRunnerClientResolvedConfig | config} for IoTRoboRunnerClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - * User does not have sufficient access to perform this action. - * - * @throws {@link ConflictException} (client fault) - * Exception thrown if a resource in a create request already exists. - * - * @throws {@link InternalServerException} (server fault) - * Exception thrown if something goes wrong within the service. - * - * @throws {@link ResourceNotFoundException} (client fault) - * Exception thrown if a resource referenced in the request doesn't exist. - * - * @throws {@link ServiceQuotaExceededException} (client fault) - * Exception thrown if the user's AWS account has reached a service limit and the operation cannot proceed. - * - * @throws {@link ThrottlingException} (client fault) - * Exception thrown if the api has been called too quickly be the client. - * - * @throws {@link ValidationException} (client fault) - * Exception thrown if an invalid parameter is provided to an API. - * - * @throws {@link IoTRoboRunnerServiceException} - *

Base exception class for all service exceptions from IoTRoboRunner service.

- * - */ -export class CreateDestinationCommand extends $Command - .classBuilder< - CreateDestinationCommandInput, - CreateDestinationCommandOutput, - IoTRoboRunnerClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep({ - ...commonParams, - }) - .m(function (this: any, Command: any, cs: any, config: IoTRoboRunnerClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("IoTRoboRunner", "CreateDestination", {}) - .n("IoTRoboRunnerClient", "CreateDestinationCommand") - .f(void 0, void 0) - .ser(se_CreateDestinationCommand) - .de(de_CreateDestinationCommand) - .build() {} diff --git a/clients/client-iot-roborunner/src/commands/CreateSiteCommand.ts b/clients/client-iot-roborunner/src/commands/CreateSiteCommand.ts deleted file mode 100644 index c3396130c1b26..0000000000000 --- a/clients/client-iot-roborunner/src/commands/CreateSiteCommand.ts +++ /dev/null @@ -1,105 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { commonParams } from "../endpoint/EndpointParameters"; -import { IoTRoboRunnerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTRoboRunnerClient"; -import { CreateSiteRequest, CreateSiteResponse } from "../models/models_0"; -import { de_CreateSiteCommand, se_CreateSiteCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link CreateSiteCommand}. - */ -export interface CreateSiteCommandInput extends CreateSiteRequest {} -/** - * @public - * - * The output of {@link CreateSiteCommand}. - */ -export interface CreateSiteCommandOutput extends CreateSiteResponse, __MetadataBearer {} - -/** - * @public - * Grants permission to create a site - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { IoTRoboRunnerClient, CreateSiteCommand } from "@aws-sdk/client-iot-roborunner"; // ES Modules import - * // const { IoTRoboRunnerClient, CreateSiteCommand } = require("@aws-sdk/client-iot-roborunner"); // CommonJS import - * const client = new IoTRoboRunnerClient(config); - * const input = { // CreateSiteRequest - * clientToken: "STRING_VALUE", - * name: "STRING_VALUE", // required - * countryCode: "STRING_VALUE", // required - * description: "STRING_VALUE", - * }; - * const command = new CreateSiteCommand(input); - * const response = await client.send(command); - * // { // CreateSiteResponse - * // arn: "STRING_VALUE", // required - * // id: "STRING_VALUE", // required - * // createdAt: new Date("TIMESTAMP"), // required - * // updatedAt: new Date("TIMESTAMP"), // required - * // }; - * - * ``` - * - * @param CreateSiteCommandInput - {@link CreateSiteCommandInput} - * @returns {@link CreateSiteCommandOutput} - * @see {@link CreateSiteCommandInput} for command's `input` shape. - * @see {@link CreateSiteCommandOutput} for command's `response` shape. - * @see {@link IoTRoboRunnerClientResolvedConfig | config} for IoTRoboRunnerClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - * User does not have sufficient access to perform this action. - * - * @throws {@link ConflictException} (client fault) - * Exception thrown if a resource in a create request already exists. - * - * @throws {@link InternalServerException} (server fault) - * Exception thrown if something goes wrong within the service. - * - * @throws {@link ServiceQuotaExceededException} (client fault) - * Exception thrown if the user's AWS account has reached a service limit and the operation cannot proceed. - * - * @throws {@link ThrottlingException} (client fault) - * Exception thrown if the api has been called too quickly be the client. - * - * @throws {@link ValidationException} (client fault) - * Exception thrown if an invalid parameter is provided to an API. - * - * @throws {@link IoTRoboRunnerServiceException} - *

Base exception class for all service exceptions from IoTRoboRunner service.

- * - */ -export class CreateSiteCommand extends $Command - .classBuilder< - CreateSiteCommandInput, - CreateSiteCommandOutput, - IoTRoboRunnerClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep({ - ...commonParams, - }) - .m(function (this: any, Command: any, cs: any, config: IoTRoboRunnerClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("IoTRoboRunner", "CreateSite", {}) - .n("IoTRoboRunnerClient", "CreateSiteCommand") - .f(void 0, void 0) - .ser(se_CreateSiteCommand) - .de(de_CreateSiteCommand) - .build() {} diff --git a/clients/client-iot-roborunner/src/commands/CreateWorkerCommand.ts b/clients/client-iot-roborunner/src/commands/CreateWorkerCommand.ts deleted file mode 100644 index df47c62041264..0000000000000 --- a/clients/client-iot-roborunner/src/commands/CreateWorkerCommand.ts +++ /dev/null @@ -1,126 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { commonParams } from "../endpoint/EndpointParameters"; -import { IoTRoboRunnerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTRoboRunnerClient"; -import { CreateWorkerRequest, CreateWorkerResponse } from "../models/models_0"; -import { de_CreateWorkerCommand, se_CreateWorkerCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link CreateWorkerCommand}. - */ -export interface CreateWorkerCommandInput extends CreateWorkerRequest {} -/** - * @public - * - * The output of {@link CreateWorkerCommand}. - */ -export interface CreateWorkerCommandOutput extends CreateWorkerResponse, __MetadataBearer {} - -/** - * @public - * Grants permission to create a worker - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { IoTRoboRunnerClient, CreateWorkerCommand } from "@aws-sdk/client-iot-roborunner"; // ES Modules import - * // const { IoTRoboRunnerClient, CreateWorkerCommand } = require("@aws-sdk/client-iot-roborunner"); // CommonJS import - * const client = new IoTRoboRunnerClient(config); - * const input = { // CreateWorkerRequest - * clientToken: "STRING_VALUE", - * name: "STRING_VALUE", // required - * fleet: "STRING_VALUE", // required - * additionalTransientProperties: "STRING_VALUE", - * additionalFixedProperties: "STRING_VALUE", - * vendorProperties: { // VendorProperties - * vendorWorkerId: "STRING_VALUE", // required - * vendorWorkerIpAddress: "STRING_VALUE", - * vendorAdditionalTransientProperties: "STRING_VALUE", - * vendorAdditionalFixedProperties: "STRING_VALUE", - * }, - * position: { // PositionCoordinates Union: only one key present - * cartesianCoordinates: { // CartesianCoordinates - * x: Number("double"), // required - * y: Number("double"), // required - * z: Number("double"), - * }, - * }, - * orientation: { // Orientation Union: only one key present - * degrees: Number("double"), - * }, - * }; - * const command = new CreateWorkerCommand(input); - * const response = await client.send(command); - * // { // CreateWorkerResponse - * // arn: "STRING_VALUE", // required - * // id: "STRING_VALUE", // required - * // createdAt: new Date("TIMESTAMP"), // required - * // updatedAt: new Date("TIMESTAMP"), // required - * // site: "STRING_VALUE", // required - * // }; - * - * ``` - * - * @param CreateWorkerCommandInput - {@link CreateWorkerCommandInput} - * @returns {@link CreateWorkerCommandOutput} - * @see {@link CreateWorkerCommandInput} for command's `input` shape. - * @see {@link CreateWorkerCommandOutput} for command's `response` shape. - * @see {@link IoTRoboRunnerClientResolvedConfig | config} for IoTRoboRunnerClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - * User does not have sufficient access to perform this action. - * - * @throws {@link ConflictException} (client fault) - * Exception thrown if a resource in a create request already exists. - * - * @throws {@link InternalServerException} (server fault) - * Exception thrown if something goes wrong within the service. - * - * @throws {@link ResourceNotFoundException} (client fault) - * Exception thrown if a resource referenced in the request doesn't exist. - * - * @throws {@link ServiceQuotaExceededException} (client fault) - * Exception thrown if the user's AWS account has reached a service limit and the operation cannot proceed. - * - * @throws {@link ThrottlingException} (client fault) - * Exception thrown if the api has been called too quickly be the client. - * - * @throws {@link ValidationException} (client fault) - * Exception thrown if an invalid parameter is provided to an API. - * - * @throws {@link IoTRoboRunnerServiceException} - *

Base exception class for all service exceptions from IoTRoboRunner service.

- * - */ -export class CreateWorkerCommand extends $Command - .classBuilder< - CreateWorkerCommandInput, - CreateWorkerCommandOutput, - IoTRoboRunnerClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep({ - ...commonParams, - }) - .m(function (this: any, Command: any, cs: any, config: IoTRoboRunnerClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("IoTRoboRunner", "CreateWorker", {}) - .n("IoTRoboRunnerClient", "CreateWorkerCommand") - .f(void 0, void 0) - .ser(se_CreateWorkerCommand) - .de(de_CreateWorkerCommand) - .build() {} diff --git a/clients/client-iot-roborunner/src/commands/CreateWorkerFleetCommand.ts b/clients/client-iot-roborunner/src/commands/CreateWorkerFleetCommand.ts deleted file mode 100644 index c212f295d4c3e..0000000000000 --- a/clients/client-iot-roborunner/src/commands/CreateWorkerFleetCommand.ts +++ /dev/null @@ -1,108 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { commonParams } from "../endpoint/EndpointParameters"; -import { IoTRoboRunnerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTRoboRunnerClient"; -import { CreateWorkerFleetRequest, CreateWorkerFleetResponse } from "../models/models_0"; -import { de_CreateWorkerFleetCommand, se_CreateWorkerFleetCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link CreateWorkerFleetCommand}. - */ -export interface CreateWorkerFleetCommandInput extends CreateWorkerFleetRequest {} -/** - * @public - * - * The output of {@link CreateWorkerFleetCommand}. - */ -export interface CreateWorkerFleetCommandOutput extends CreateWorkerFleetResponse, __MetadataBearer {} - -/** - * @public - * Grants permission to create a worker fleet - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { IoTRoboRunnerClient, CreateWorkerFleetCommand } from "@aws-sdk/client-iot-roborunner"; // ES Modules import - * // const { IoTRoboRunnerClient, CreateWorkerFleetCommand } = require("@aws-sdk/client-iot-roborunner"); // CommonJS import - * const client = new IoTRoboRunnerClient(config); - * const input = { // CreateWorkerFleetRequest - * clientToken: "STRING_VALUE", - * name: "STRING_VALUE", // required - * site: "STRING_VALUE", // required - * additionalFixedProperties: "STRING_VALUE", - * }; - * const command = new CreateWorkerFleetCommand(input); - * const response = await client.send(command); - * // { // CreateWorkerFleetResponse - * // arn: "STRING_VALUE", // required - * // id: "STRING_VALUE", // required - * // createdAt: new Date("TIMESTAMP"), // required - * // updatedAt: new Date("TIMESTAMP"), // required - * // }; - * - * ``` - * - * @param CreateWorkerFleetCommandInput - {@link CreateWorkerFleetCommandInput} - * @returns {@link CreateWorkerFleetCommandOutput} - * @see {@link CreateWorkerFleetCommandInput} for command's `input` shape. - * @see {@link CreateWorkerFleetCommandOutput} for command's `response` shape. - * @see {@link IoTRoboRunnerClientResolvedConfig | config} for IoTRoboRunnerClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - * User does not have sufficient access to perform this action. - * - * @throws {@link ConflictException} (client fault) - * Exception thrown if a resource in a create request already exists. - * - * @throws {@link InternalServerException} (server fault) - * Exception thrown if something goes wrong within the service. - * - * @throws {@link ResourceNotFoundException} (client fault) - * Exception thrown if a resource referenced in the request doesn't exist. - * - * @throws {@link ServiceQuotaExceededException} (client fault) - * Exception thrown if the user's AWS account has reached a service limit and the operation cannot proceed. - * - * @throws {@link ThrottlingException} (client fault) - * Exception thrown if the api has been called too quickly be the client. - * - * @throws {@link ValidationException} (client fault) - * Exception thrown if an invalid parameter is provided to an API. - * - * @throws {@link IoTRoboRunnerServiceException} - *

Base exception class for all service exceptions from IoTRoboRunner service.

- * - */ -export class CreateWorkerFleetCommand extends $Command - .classBuilder< - CreateWorkerFleetCommandInput, - CreateWorkerFleetCommandOutput, - IoTRoboRunnerClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep({ - ...commonParams, - }) - .m(function (this: any, Command: any, cs: any, config: IoTRoboRunnerClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("IoTRoboRunner", "CreateWorkerFleet", {}) - .n("IoTRoboRunnerClient", "CreateWorkerFleetCommand") - .f(void 0, void 0) - .ser(se_CreateWorkerFleetCommand) - .de(de_CreateWorkerFleetCommand) - .build() {} diff --git a/clients/client-iot-roborunner/src/commands/DeleteDestinationCommand.ts b/clients/client-iot-roborunner/src/commands/DeleteDestinationCommand.ts deleted file mode 100644 index fadae1b2ccf5b..0000000000000 --- a/clients/client-iot-roborunner/src/commands/DeleteDestinationCommand.ts +++ /dev/null @@ -1,97 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { commonParams } from "../endpoint/EndpointParameters"; -import { IoTRoboRunnerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTRoboRunnerClient"; -import { DeleteDestinationRequest, DeleteDestinationResponse } from "../models/models_0"; -import { de_DeleteDestinationCommand, se_DeleteDestinationCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link DeleteDestinationCommand}. - */ -export interface DeleteDestinationCommandInput extends DeleteDestinationRequest {} -/** - * @public - * - * The output of {@link DeleteDestinationCommand}. - */ -export interface DeleteDestinationCommandOutput extends DeleteDestinationResponse, __MetadataBearer {} - -/** - * @public - * Grants permission to delete a destination - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { IoTRoboRunnerClient, DeleteDestinationCommand } from "@aws-sdk/client-iot-roborunner"; // ES Modules import - * // const { IoTRoboRunnerClient, DeleteDestinationCommand } = require("@aws-sdk/client-iot-roborunner"); // CommonJS import - * const client = new IoTRoboRunnerClient(config); - * const input = { // DeleteDestinationRequest - * id: "STRING_VALUE", // required - * }; - * const command = new DeleteDestinationCommand(input); - * const response = await client.send(command); - * // {}; - * - * ``` - * - * @param DeleteDestinationCommandInput - {@link DeleteDestinationCommandInput} - * @returns {@link DeleteDestinationCommandOutput} - * @see {@link DeleteDestinationCommandInput} for command's `input` shape. - * @see {@link DeleteDestinationCommandOutput} for command's `response` shape. - * @see {@link IoTRoboRunnerClientResolvedConfig | config} for IoTRoboRunnerClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - * User does not have sufficient access to perform this action. - * - * @throws {@link ConflictException} (client fault) - * Exception thrown if a resource in a create request already exists. - * - * @throws {@link InternalServerException} (server fault) - * Exception thrown if something goes wrong within the service. - * - * @throws {@link ResourceNotFoundException} (client fault) - * Exception thrown if a resource referenced in the request doesn't exist. - * - * @throws {@link ThrottlingException} (client fault) - * Exception thrown if the api has been called too quickly be the client. - * - * @throws {@link ValidationException} (client fault) - * Exception thrown if an invalid parameter is provided to an API. - * - * @throws {@link IoTRoboRunnerServiceException} - *

Base exception class for all service exceptions from IoTRoboRunner service.

- * - */ -export class DeleteDestinationCommand extends $Command - .classBuilder< - DeleteDestinationCommandInput, - DeleteDestinationCommandOutput, - IoTRoboRunnerClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep({ - ...commonParams, - }) - .m(function (this: any, Command: any, cs: any, config: IoTRoboRunnerClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("IoTRoboRunner", "DeleteDestination", {}) - .n("IoTRoboRunnerClient", "DeleteDestinationCommand") - .f(void 0, void 0) - .ser(se_DeleteDestinationCommand) - .de(de_DeleteDestinationCommand) - .build() {} diff --git a/clients/client-iot-roborunner/src/commands/DeleteSiteCommand.ts b/clients/client-iot-roborunner/src/commands/DeleteSiteCommand.ts deleted file mode 100644 index 6e3aa802cf4a7..0000000000000 --- a/clients/client-iot-roborunner/src/commands/DeleteSiteCommand.ts +++ /dev/null @@ -1,97 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { commonParams } from "../endpoint/EndpointParameters"; -import { IoTRoboRunnerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTRoboRunnerClient"; -import { DeleteSiteRequest, DeleteSiteResponse } from "../models/models_0"; -import { de_DeleteSiteCommand, se_DeleteSiteCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link DeleteSiteCommand}. - */ -export interface DeleteSiteCommandInput extends DeleteSiteRequest {} -/** - * @public - * - * The output of {@link DeleteSiteCommand}. - */ -export interface DeleteSiteCommandOutput extends DeleteSiteResponse, __MetadataBearer {} - -/** - * @public - * Grants permission to delete a site - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { IoTRoboRunnerClient, DeleteSiteCommand } from "@aws-sdk/client-iot-roborunner"; // ES Modules import - * // const { IoTRoboRunnerClient, DeleteSiteCommand } = require("@aws-sdk/client-iot-roborunner"); // CommonJS import - * const client = new IoTRoboRunnerClient(config); - * const input = { // DeleteSiteRequest - * id: "STRING_VALUE", // required - * }; - * const command = new DeleteSiteCommand(input); - * const response = await client.send(command); - * // {}; - * - * ``` - * - * @param DeleteSiteCommandInput - {@link DeleteSiteCommandInput} - * @returns {@link DeleteSiteCommandOutput} - * @see {@link DeleteSiteCommandInput} for command's `input` shape. - * @see {@link DeleteSiteCommandOutput} for command's `response` shape. - * @see {@link IoTRoboRunnerClientResolvedConfig | config} for IoTRoboRunnerClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - * User does not have sufficient access to perform this action. - * - * @throws {@link ConflictException} (client fault) - * Exception thrown if a resource in a create request already exists. - * - * @throws {@link InternalServerException} (server fault) - * Exception thrown if something goes wrong within the service. - * - * @throws {@link ResourceNotFoundException} (client fault) - * Exception thrown if a resource referenced in the request doesn't exist. - * - * @throws {@link ThrottlingException} (client fault) - * Exception thrown if the api has been called too quickly be the client. - * - * @throws {@link ValidationException} (client fault) - * Exception thrown if an invalid parameter is provided to an API. - * - * @throws {@link IoTRoboRunnerServiceException} - *

Base exception class for all service exceptions from IoTRoboRunner service.

- * - */ -export class DeleteSiteCommand extends $Command - .classBuilder< - DeleteSiteCommandInput, - DeleteSiteCommandOutput, - IoTRoboRunnerClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep({ - ...commonParams, - }) - .m(function (this: any, Command: any, cs: any, config: IoTRoboRunnerClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("IoTRoboRunner", "DeleteSite", {}) - .n("IoTRoboRunnerClient", "DeleteSiteCommand") - .f(void 0, void 0) - .ser(se_DeleteSiteCommand) - .de(de_DeleteSiteCommand) - .build() {} diff --git a/clients/client-iot-roborunner/src/commands/DeleteWorkerCommand.ts b/clients/client-iot-roborunner/src/commands/DeleteWorkerCommand.ts deleted file mode 100644 index 824273cfeb6c1..0000000000000 --- a/clients/client-iot-roborunner/src/commands/DeleteWorkerCommand.ts +++ /dev/null @@ -1,97 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { commonParams } from "../endpoint/EndpointParameters"; -import { IoTRoboRunnerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTRoboRunnerClient"; -import { DeleteWorkerRequest, DeleteWorkerResponse } from "../models/models_0"; -import { de_DeleteWorkerCommand, se_DeleteWorkerCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link DeleteWorkerCommand}. - */ -export interface DeleteWorkerCommandInput extends DeleteWorkerRequest {} -/** - * @public - * - * The output of {@link DeleteWorkerCommand}. - */ -export interface DeleteWorkerCommandOutput extends DeleteWorkerResponse, __MetadataBearer {} - -/** - * @public - * Grants permission to delete a worker - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { IoTRoboRunnerClient, DeleteWorkerCommand } from "@aws-sdk/client-iot-roborunner"; // ES Modules import - * // const { IoTRoboRunnerClient, DeleteWorkerCommand } = require("@aws-sdk/client-iot-roborunner"); // CommonJS import - * const client = new IoTRoboRunnerClient(config); - * const input = { // DeleteWorkerRequest - * id: "STRING_VALUE", // required - * }; - * const command = new DeleteWorkerCommand(input); - * const response = await client.send(command); - * // {}; - * - * ``` - * - * @param DeleteWorkerCommandInput - {@link DeleteWorkerCommandInput} - * @returns {@link DeleteWorkerCommandOutput} - * @see {@link DeleteWorkerCommandInput} for command's `input` shape. - * @see {@link DeleteWorkerCommandOutput} for command's `response` shape. - * @see {@link IoTRoboRunnerClientResolvedConfig | config} for IoTRoboRunnerClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - * User does not have sufficient access to perform this action. - * - * @throws {@link ConflictException} (client fault) - * Exception thrown if a resource in a create request already exists. - * - * @throws {@link InternalServerException} (server fault) - * Exception thrown if something goes wrong within the service. - * - * @throws {@link ResourceNotFoundException} (client fault) - * Exception thrown if a resource referenced in the request doesn't exist. - * - * @throws {@link ThrottlingException} (client fault) - * Exception thrown if the api has been called too quickly be the client. - * - * @throws {@link ValidationException} (client fault) - * Exception thrown if an invalid parameter is provided to an API. - * - * @throws {@link IoTRoboRunnerServiceException} - *

Base exception class for all service exceptions from IoTRoboRunner service.

- * - */ -export class DeleteWorkerCommand extends $Command - .classBuilder< - DeleteWorkerCommandInput, - DeleteWorkerCommandOutput, - IoTRoboRunnerClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep({ - ...commonParams, - }) - .m(function (this: any, Command: any, cs: any, config: IoTRoboRunnerClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("IoTRoboRunner", "DeleteWorker", {}) - .n("IoTRoboRunnerClient", "DeleteWorkerCommand") - .f(void 0, void 0) - .ser(se_DeleteWorkerCommand) - .de(de_DeleteWorkerCommand) - .build() {} diff --git a/clients/client-iot-roborunner/src/commands/DeleteWorkerFleetCommand.ts b/clients/client-iot-roborunner/src/commands/DeleteWorkerFleetCommand.ts deleted file mode 100644 index 385aebab6f762..0000000000000 --- a/clients/client-iot-roborunner/src/commands/DeleteWorkerFleetCommand.ts +++ /dev/null @@ -1,97 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { commonParams } from "../endpoint/EndpointParameters"; -import { IoTRoboRunnerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTRoboRunnerClient"; -import { DeleteWorkerFleetRequest, DeleteWorkerFleetResponse } from "../models/models_0"; -import { de_DeleteWorkerFleetCommand, se_DeleteWorkerFleetCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link DeleteWorkerFleetCommand}. - */ -export interface DeleteWorkerFleetCommandInput extends DeleteWorkerFleetRequest {} -/** - * @public - * - * The output of {@link DeleteWorkerFleetCommand}. - */ -export interface DeleteWorkerFleetCommandOutput extends DeleteWorkerFleetResponse, __MetadataBearer {} - -/** - * @public - * Grants permission to delete a worker fleet - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { IoTRoboRunnerClient, DeleteWorkerFleetCommand } from "@aws-sdk/client-iot-roborunner"; // ES Modules import - * // const { IoTRoboRunnerClient, DeleteWorkerFleetCommand } = require("@aws-sdk/client-iot-roborunner"); // CommonJS import - * const client = new IoTRoboRunnerClient(config); - * const input = { // DeleteWorkerFleetRequest - * id: "STRING_VALUE", // required - * }; - * const command = new DeleteWorkerFleetCommand(input); - * const response = await client.send(command); - * // {}; - * - * ``` - * - * @param DeleteWorkerFleetCommandInput - {@link DeleteWorkerFleetCommandInput} - * @returns {@link DeleteWorkerFleetCommandOutput} - * @see {@link DeleteWorkerFleetCommandInput} for command's `input` shape. - * @see {@link DeleteWorkerFleetCommandOutput} for command's `response` shape. - * @see {@link IoTRoboRunnerClientResolvedConfig | config} for IoTRoboRunnerClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - * User does not have sufficient access to perform this action. - * - * @throws {@link ConflictException} (client fault) - * Exception thrown if a resource in a create request already exists. - * - * @throws {@link InternalServerException} (server fault) - * Exception thrown if something goes wrong within the service. - * - * @throws {@link ResourceNotFoundException} (client fault) - * Exception thrown if a resource referenced in the request doesn't exist. - * - * @throws {@link ThrottlingException} (client fault) - * Exception thrown if the api has been called too quickly be the client. - * - * @throws {@link ValidationException} (client fault) - * Exception thrown if an invalid parameter is provided to an API. - * - * @throws {@link IoTRoboRunnerServiceException} - *

Base exception class for all service exceptions from IoTRoboRunner service.

- * - */ -export class DeleteWorkerFleetCommand extends $Command - .classBuilder< - DeleteWorkerFleetCommandInput, - DeleteWorkerFleetCommandOutput, - IoTRoboRunnerClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep({ - ...commonParams, - }) - .m(function (this: any, Command: any, cs: any, config: IoTRoboRunnerClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("IoTRoboRunner", "DeleteWorkerFleet", {}) - .n("IoTRoboRunnerClient", "DeleteWorkerFleetCommand") - .f(void 0, void 0) - .ser(se_DeleteWorkerFleetCommand) - .de(de_DeleteWorkerFleetCommand) - .build() {} diff --git a/clients/client-iot-roborunner/src/commands/GetDestinationCommand.ts b/clients/client-iot-roborunner/src/commands/GetDestinationCommand.ts deleted file mode 100644 index bdc37f4560966..0000000000000 --- a/clients/client-iot-roborunner/src/commands/GetDestinationCommand.ts +++ /dev/null @@ -1,103 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { commonParams } from "../endpoint/EndpointParameters"; -import { IoTRoboRunnerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTRoboRunnerClient"; -import { GetDestinationRequest, GetDestinationResponse } from "../models/models_0"; -import { de_GetDestinationCommand, se_GetDestinationCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link GetDestinationCommand}. - */ -export interface GetDestinationCommandInput extends GetDestinationRequest {} -/** - * @public - * - * The output of {@link GetDestinationCommand}. - */ -export interface GetDestinationCommandOutput extends GetDestinationResponse, __MetadataBearer {} - -/** - * @public - * Grants permission to get a destination - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { IoTRoboRunnerClient, GetDestinationCommand } from "@aws-sdk/client-iot-roborunner"; // ES Modules import - * // const { IoTRoboRunnerClient, GetDestinationCommand } = require("@aws-sdk/client-iot-roborunner"); // CommonJS import - * const client = new IoTRoboRunnerClient(config); - * const input = { // GetDestinationRequest - * id: "STRING_VALUE", // required - * }; - * const command = new GetDestinationCommand(input); - * const response = await client.send(command); - * // { // GetDestinationResponse - * // arn: "STRING_VALUE", // required - * // id: "STRING_VALUE", // required - * // name: "STRING_VALUE", // required - * // site: "STRING_VALUE", // required - * // createdAt: new Date("TIMESTAMP"), // required - * // updatedAt: new Date("TIMESTAMP"), // required - * // state: "STRING_VALUE", // required - * // additionalFixedProperties: "STRING_VALUE", - * // }; - * - * ``` - * - * @param GetDestinationCommandInput - {@link GetDestinationCommandInput} - * @returns {@link GetDestinationCommandOutput} - * @see {@link GetDestinationCommandInput} for command's `input` shape. - * @see {@link GetDestinationCommandOutput} for command's `response` shape. - * @see {@link IoTRoboRunnerClientResolvedConfig | config} for IoTRoboRunnerClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - * User does not have sufficient access to perform this action. - * - * @throws {@link InternalServerException} (server fault) - * Exception thrown if something goes wrong within the service. - * - * @throws {@link ResourceNotFoundException} (client fault) - * Exception thrown if a resource referenced in the request doesn't exist. - * - * @throws {@link ThrottlingException} (client fault) - * Exception thrown if the api has been called too quickly be the client. - * - * @throws {@link ValidationException} (client fault) - * Exception thrown if an invalid parameter is provided to an API. - * - * @throws {@link IoTRoboRunnerServiceException} - *

Base exception class for all service exceptions from IoTRoboRunner service.

- * - */ -export class GetDestinationCommand extends $Command - .classBuilder< - GetDestinationCommandInput, - GetDestinationCommandOutput, - IoTRoboRunnerClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep({ - ...commonParams, - }) - .m(function (this: any, Command: any, cs: any, config: IoTRoboRunnerClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("IoTRoboRunner", "GetDestination", {}) - .n("IoTRoboRunnerClient", "GetDestinationCommand") - .f(void 0, void 0) - .ser(se_GetDestinationCommand) - .de(de_GetDestinationCommand) - .build() {} diff --git a/clients/client-iot-roborunner/src/commands/GetSiteCommand.ts b/clients/client-iot-roborunner/src/commands/GetSiteCommand.ts deleted file mode 100644 index bf260eae8d259..0000000000000 --- a/clients/client-iot-roborunner/src/commands/GetSiteCommand.ts +++ /dev/null @@ -1,102 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { commonParams } from "../endpoint/EndpointParameters"; -import { IoTRoboRunnerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTRoboRunnerClient"; -import { GetSiteRequest, GetSiteResponse } from "../models/models_0"; -import { de_GetSiteCommand, se_GetSiteCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link GetSiteCommand}. - */ -export interface GetSiteCommandInput extends GetSiteRequest {} -/** - * @public - * - * The output of {@link GetSiteCommand}. - */ -export interface GetSiteCommandOutput extends GetSiteResponse, __MetadataBearer {} - -/** - * @public - * Grants permission to get a site - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { IoTRoboRunnerClient, GetSiteCommand } from "@aws-sdk/client-iot-roborunner"; // ES Modules import - * // const { IoTRoboRunnerClient, GetSiteCommand } = require("@aws-sdk/client-iot-roborunner"); // CommonJS import - * const client = new IoTRoboRunnerClient(config); - * const input = { // GetSiteRequest - * id: "STRING_VALUE", // required - * }; - * const command = new GetSiteCommand(input); - * const response = await client.send(command); - * // { // GetSiteResponse - * // arn: "STRING_VALUE", // required - * // id: "STRING_VALUE", // required - * // name: "STRING_VALUE", // required - * // countryCode: "STRING_VALUE", // required - * // description: "STRING_VALUE", - * // createdAt: new Date("TIMESTAMP"), // required - * // updatedAt: new Date("TIMESTAMP"), // required - * // }; - * - * ``` - * - * @param GetSiteCommandInput - {@link GetSiteCommandInput} - * @returns {@link GetSiteCommandOutput} - * @see {@link GetSiteCommandInput} for command's `input` shape. - * @see {@link GetSiteCommandOutput} for command's `response` shape. - * @see {@link IoTRoboRunnerClientResolvedConfig | config} for IoTRoboRunnerClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - * User does not have sufficient access to perform this action. - * - * @throws {@link InternalServerException} (server fault) - * Exception thrown if something goes wrong within the service. - * - * @throws {@link ResourceNotFoundException} (client fault) - * Exception thrown if a resource referenced in the request doesn't exist. - * - * @throws {@link ThrottlingException} (client fault) - * Exception thrown if the api has been called too quickly be the client. - * - * @throws {@link ValidationException} (client fault) - * Exception thrown if an invalid parameter is provided to an API. - * - * @throws {@link IoTRoboRunnerServiceException} - *

Base exception class for all service exceptions from IoTRoboRunner service.

- * - */ -export class GetSiteCommand extends $Command - .classBuilder< - GetSiteCommandInput, - GetSiteCommandOutput, - IoTRoboRunnerClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep({ - ...commonParams, - }) - .m(function (this: any, Command: any, cs: any, config: IoTRoboRunnerClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("IoTRoboRunner", "GetSite", {}) - .n("IoTRoboRunnerClient", "GetSiteCommand") - .f(void 0, void 0) - .ser(se_GetSiteCommand) - .de(de_GetSiteCommand) - .build() {} diff --git a/clients/client-iot-roborunner/src/commands/GetWorkerCommand.ts b/clients/client-iot-roborunner/src/commands/GetWorkerCommand.ts deleted file mode 100644 index 2ba0a3030822f..0000000000000 --- a/clients/client-iot-roborunner/src/commands/GetWorkerCommand.ts +++ /dev/null @@ -1,120 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { commonParams } from "../endpoint/EndpointParameters"; -import { IoTRoboRunnerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTRoboRunnerClient"; -import { GetWorkerRequest, GetWorkerResponse } from "../models/models_0"; -import { de_GetWorkerCommand, se_GetWorkerCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link GetWorkerCommand}. - */ -export interface GetWorkerCommandInput extends GetWorkerRequest {} -/** - * @public - * - * The output of {@link GetWorkerCommand}. - */ -export interface GetWorkerCommandOutput extends GetWorkerResponse, __MetadataBearer {} - -/** - * @public - * Grants permission to get a worker - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { IoTRoboRunnerClient, GetWorkerCommand } from "@aws-sdk/client-iot-roborunner"; // ES Modules import - * // const { IoTRoboRunnerClient, GetWorkerCommand } = require("@aws-sdk/client-iot-roborunner"); // CommonJS import - * const client = new IoTRoboRunnerClient(config); - * const input = { // GetWorkerRequest - * id: "STRING_VALUE", // required - * }; - * const command = new GetWorkerCommand(input); - * const response = await client.send(command); - * // { // GetWorkerResponse - * // arn: "STRING_VALUE", // required - * // id: "STRING_VALUE", // required - * // fleet: "STRING_VALUE", // required - * // site: "STRING_VALUE", // required - * // createdAt: new Date("TIMESTAMP"), // required - * // updatedAt: new Date("TIMESTAMP"), // required - * // name: "STRING_VALUE", // required - * // additionalTransientProperties: "STRING_VALUE", - * // additionalFixedProperties: "STRING_VALUE", - * // vendorProperties: { // VendorProperties - * // vendorWorkerId: "STRING_VALUE", // required - * // vendorWorkerIpAddress: "STRING_VALUE", - * // vendorAdditionalTransientProperties: "STRING_VALUE", - * // vendorAdditionalFixedProperties: "STRING_VALUE", - * // }, - * // position: { // PositionCoordinates Union: only one key present - * // cartesianCoordinates: { // CartesianCoordinates - * // x: Number("double"), // required - * // y: Number("double"), // required - * // z: Number("double"), - * // }, - * // }, - * // orientation: { // Orientation Union: only one key present - * // degrees: Number("double"), - * // }, - * // }; - * - * ``` - * - * @param GetWorkerCommandInput - {@link GetWorkerCommandInput} - * @returns {@link GetWorkerCommandOutput} - * @see {@link GetWorkerCommandInput} for command's `input` shape. - * @see {@link GetWorkerCommandOutput} for command's `response` shape. - * @see {@link IoTRoboRunnerClientResolvedConfig | config} for IoTRoboRunnerClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - * User does not have sufficient access to perform this action. - * - * @throws {@link InternalServerException} (server fault) - * Exception thrown if something goes wrong within the service. - * - * @throws {@link ResourceNotFoundException} (client fault) - * Exception thrown if a resource referenced in the request doesn't exist. - * - * @throws {@link ThrottlingException} (client fault) - * Exception thrown if the api has been called too quickly be the client. - * - * @throws {@link ValidationException} (client fault) - * Exception thrown if an invalid parameter is provided to an API. - * - * @throws {@link IoTRoboRunnerServiceException} - *

Base exception class for all service exceptions from IoTRoboRunner service.

- * - */ -export class GetWorkerCommand extends $Command - .classBuilder< - GetWorkerCommandInput, - GetWorkerCommandOutput, - IoTRoboRunnerClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep({ - ...commonParams, - }) - .m(function (this: any, Command: any, cs: any, config: IoTRoboRunnerClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("IoTRoboRunner", "GetWorker", {}) - .n("IoTRoboRunnerClient", "GetWorkerCommand") - .f(void 0, void 0) - .ser(se_GetWorkerCommand) - .de(de_GetWorkerCommand) - .build() {} diff --git a/clients/client-iot-roborunner/src/commands/GetWorkerFleetCommand.ts b/clients/client-iot-roborunner/src/commands/GetWorkerFleetCommand.ts deleted file mode 100644 index 19db98fc29b23..0000000000000 --- a/clients/client-iot-roborunner/src/commands/GetWorkerFleetCommand.ts +++ /dev/null @@ -1,102 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { commonParams } from "../endpoint/EndpointParameters"; -import { IoTRoboRunnerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTRoboRunnerClient"; -import { GetWorkerFleetRequest, GetWorkerFleetResponse } from "../models/models_0"; -import { de_GetWorkerFleetCommand, se_GetWorkerFleetCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link GetWorkerFleetCommand}. - */ -export interface GetWorkerFleetCommandInput extends GetWorkerFleetRequest {} -/** - * @public - * - * The output of {@link GetWorkerFleetCommand}. - */ -export interface GetWorkerFleetCommandOutput extends GetWorkerFleetResponse, __MetadataBearer {} - -/** - * @public - * Grants permission to get a worker fleet - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { IoTRoboRunnerClient, GetWorkerFleetCommand } from "@aws-sdk/client-iot-roborunner"; // ES Modules import - * // const { IoTRoboRunnerClient, GetWorkerFleetCommand } = require("@aws-sdk/client-iot-roborunner"); // CommonJS import - * const client = new IoTRoboRunnerClient(config); - * const input = { // GetWorkerFleetRequest - * id: "STRING_VALUE", // required - * }; - * const command = new GetWorkerFleetCommand(input); - * const response = await client.send(command); - * // { // GetWorkerFleetResponse - * // id: "STRING_VALUE", // required - * // arn: "STRING_VALUE", // required - * // name: "STRING_VALUE", // required - * // site: "STRING_VALUE", // required - * // createdAt: new Date("TIMESTAMP"), // required - * // updatedAt: new Date("TIMESTAMP"), // required - * // additionalFixedProperties: "STRING_VALUE", - * // }; - * - * ``` - * - * @param GetWorkerFleetCommandInput - {@link GetWorkerFleetCommandInput} - * @returns {@link GetWorkerFleetCommandOutput} - * @see {@link GetWorkerFleetCommandInput} for command's `input` shape. - * @see {@link GetWorkerFleetCommandOutput} for command's `response` shape. - * @see {@link IoTRoboRunnerClientResolvedConfig | config} for IoTRoboRunnerClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - * User does not have sufficient access to perform this action. - * - * @throws {@link InternalServerException} (server fault) - * Exception thrown if something goes wrong within the service. - * - * @throws {@link ResourceNotFoundException} (client fault) - * Exception thrown if a resource referenced in the request doesn't exist. - * - * @throws {@link ThrottlingException} (client fault) - * Exception thrown if the api has been called too quickly be the client. - * - * @throws {@link ValidationException} (client fault) - * Exception thrown if an invalid parameter is provided to an API. - * - * @throws {@link IoTRoboRunnerServiceException} - *

Base exception class for all service exceptions from IoTRoboRunner service.

- * - */ -export class GetWorkerFleetCommand extends $Command - .classBuilder< - GetWorkerFleetCommandInput, - GetWorkerFleetCommandOutput, - IoTRoboRunnerClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep({ - ...commonParams, - }) - .m(function (this: any, Command: any, cs: any, config: IoTRoboRunnerClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("IoTRoboRunner", "GetWorkerFleet", {}) - .n("IoTRoboRunnerClient", "GetWorkerFleetCommand") - .f(void 0, void 0) - .ser(se_GetWorkerFleetCommand) - .de(de_GetWorkerFleetCommand) - .build() {} diff --git a/clients/client-iot-roborunner/src/commands/ListDestinationsCommand.ts b/clients/client-iot-roborunner/src/commands/ListDestinationsCommand.ts deleted file mode 100644 index d4e3f0ae59194..0000000000000 --- a/clients/client-iot-roborunner/src/commands/ListDestinationsCommand.ts +++ /dev/null @@ -1,111 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { commonParams } from "../endpoint/EndpointParameters"; -import { IoTRoboRunnerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTRoboRunnerClient"; -import { ListDestinationsRequest, ListDestinationsResponse } from "../models/models_0"; -import { de_ListDestinationsCommand, se_ListDestinationsCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link ListDestinationsCommand}. - */ -export interface ListDestinationsCommandInput extends ListDestinationsRequest {} -/** - * @public - * - * The output of {@link ListDestinationsCommand}. - */ -export interface ListDestinationsCommandOutput extends ListDestinationsResponse, __MetadataBearer {} - -/** - * @public - * Grants permission to list destinations - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { IoTRoboRunnerClient, ListDestinationsCommand } from "@aws-sdk/client-iot-roborunner"; // ES Modules import - * // const { IoTRoboRunnerClient, ListDestinationsCommand } = require("@aws-sdk/client-iot-roborunner"); // CommonJS import - * const client = new IoTRoboRunnerClient(config); - * const input = { // ListDestinationsRequest - * site: "STRING_VALUE", // required - * maxResults: Number("int"), - * nextToken: "STRING_VALUE", - * state: "STRING_VALUE", - * }; - * const command = new ListDestinationsCommand(input); - * const response = await client.send(command); - * // { // ListDestinationsResponse - * // nextToken: "STRING_VALUE", - * // destinations: [ // Destinations - * // { // Destination - * // arn: "STRING_VALUE", // required - * // id: "STRING_VALUE", // required - * // name: "STRING_VALUE", // required - * // site: "STRING_VALUE", // required - * // createdAt: new Date("TIMESTAMP"), // required - * // updatedAt: new Date("TIMESTAMP"), // required - * // state: "STRING_VALUE", // required - * // additionalFixedProperties: "STRING_VALUE", - * // }, - * // ], - * // }; - * - * ``` - * - * @param ListDestinationsCommandInput - {@link ListDestinationsCommandInput} - * @returns {@link ListDestinationsCommandOutput} - * @see {@link ListDestinationsCommandInput} for command's `input` shape. - * @see {@link ListDestinationsCommandOutput} for command's `response` shape. - * @see {@link IoTRoboRunnerClientResolvedConfig | config} for IoTRoboRunnerClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - * User does not have sufficient access to perform this action. - * - * @throws {@link InternalServerException} (server fault) - * Exception thrown if something goes wrong within the service. - * - * @throws {@link ResourceNotFoundException} (client fault) - * Exception thrown if a resource referenced in the request doesn't exist. - * - * @throws {@link ThrottlingException} (client fault) - * Exception thrown if the api has been called too quickly be the client. - * - * @throws {@link ValidationException} (client fault) - * Exception thrown if an invalid parameter is provided to an API. - * - * @throws {@link IoTRoboRunnerServiceException} - *

Base exception class for all service exceptions from IoTRoboRunner service.

- * - */ -export class ListDestinationsCommand extends $Command - .classBuilder< - ListDestinationsCommandInput, - ListDestinationsCommandOutput, - IoTRoboRunnerClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep({ - ...commonParams, - }) - .m(function (this: any, Command: any, cs: any, config: IoTRoboRunnerClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("IoTRoboRunner", "ListDestinations", {}) - .n("IoTRoboRunnerClient", "ListDestinationsCommand") - .f(void 0, void 0) - .ser(se_ListDestinationsCommand) - .de(de_ListDestinationsCommand) - .build() {} diff --git a/clients/client-iot-roborunner/src/commands/ListSitesCommand.ts b/clients/client-iot-roborunner/src/commands/ListSitesCommand.ts deleted file mode 100644 index fa97fa24358e6..0000000000000 --- a/clients/client-iot-roborunner/src/commands/ListSitesCommand.ts +++ /dev/null @@ -1,102 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { commonParams } from "../endpoint/EndpointParameters"; -import { IoTRoboRunnerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTRoboRunnerClient"; -import { ListSitesRequest, ListSitesResponse } from "../models/models_0"; -import { de_ListSitesCommand, se_ListSitesCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link ListSitesCommand}. - */ -export interface ListSitesCommandInput extends ListSitesRequest {} -/** - * @public - * - * The output of {@link ListSitesCommand}. - */ -export interface ListSitesCommandOutput extends ListSitesResponse, __MetadataBearer {} - -/** - * @public - * Grants permission to list sites - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { IoTRoboRunnerClient, ListSitesCommand } from "@aws-sdk/client-iot-roborunner"; // ES Modules import - * // const { IoTRoboRunnerClient, ListSitesCommand } = require("@aws-sdk/client-iot-roborunner"); // CommonJS import - * const client = new IoTRoboRunnerClient(config); - * const input = { // ListSitesRequest - * maxResults: Number("int"), - * nextToken: "STRING_VALUE", - * }; - * const command = new ListSitesCommand(input); - * const response = await client.send(command); - * // { // ListSitesResponse - * // nextToken: "STRING_VALUE", - * // sites: [ // Sites - * // { // Site - * // arn: "STRING_VALUE", // required - * // name: "STRING_VALUE", // required - * // countryCode: "STRING_VALUE", // required - * // createdAt: new Date("TIMESTAMP"), // required - * // }, - * // ], - * // }; - * - * ``` - * - * @param ListSitesCommandInput - {@link ListSitesCommandInput} - * @returns {@link ListSitesCommandOutput} - * @see {@link ListSitesCommandInput} for command's `input` shape. - * @see {@link ListSitesCommandOutput} for command's `response` shape. - * @see {@link IoTRoboRunnerClientResolvedConfig | config} for IoTRoboRunnerClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - * User does not have sufficient access to perform this action. - * - * @throws {@link InternalServerException} (server fault) - * Exception thrown if something goes wrong within the service. - * - * @throws {@link ThrottlingException} (client fault) - * Exception thrown if the api has been called too quickly be the client. - * - * @throws {@link ValidationException} (client fault) - * Exception thrown if an invalid parameter is provided to an API. - * - * @throws {@link IoTRoboRunnerServiceException} - *

Base exception class for all service exceptions from IoTRoboRunner service.

- * - */ -export class ListSitesCommand extends $Command - .classBuilder< - ListSitesCommandInput, - ListSitesCommandOutput, - IoTRoboRunnerClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep({ - ...commonParams, - }) - .m(function (this: any, Command: any, cs: any, config: IoTRoboRunnerClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("IoTRoboRunner", "ListSites", {}) - .n("IoTRoboRunnerClient", "ListSitesCommand") - .f(void 0, void 0) - .ser(se_ListSitesCommand) - .de(de_ListSitesCommand) - .build() {} diff --git a/clients/client-iot-roborunner/src/commands/ListWorkerFleetsCommand.ts b/clients/client-iot-roborunner/src/commands/ListWorkerFleetsCommand.ts deleted file mode 100644 index 9607a4fc2a81b..0000000000000 --- a/clients/client-iot-roborunner/src/commands/ListWorkerFleetsCommand.ts +++ /dev/null @@ -1,109 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { commonParams } from "../endpoint/EndpointParameters"; -import { IoTRoboRunnerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTRoboRunnerClient"; -import { ListWorkerFleetsRequest, ListWorkerFleetsResponse } from "../models/models_0"; -import { de_ListWorkerFleetsCommand, se_ListWorkerFleetsCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link ListWorkerFleetsCommand}. - */ -export interface ListWorkerFleetsCommandInput extends ListWorkerFleetsRequest {} -/** - * @public - * - * The output of {@link ListWorkerFleetsCommand}. - */ -export interface ListWorkerFleetsCommandOutput extends ListWorkerFleetsResponse, __MetadataBearer {} - -/** - * @public - * Grants permission to list worker fleets - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { IoTRoboRunnerClient, ListWorkerFleetsCommand } from "@aws-sdk/client-iot-roborunner"; // ES Modules import - * // const { IoTRoboRunnerClient, ListWorkerFleetsCommand } = require("@aws-sdk/client-iot-roborunner"); // CommonJS import - * const client = new IoTRoboRunnerClient(config); - * const input = { // ListWorkerFleetsRequest - * site: "STRING_VALUE", // required - * maxResults: Number("int"), - * nextToken: "STRING_VALUE", - * }; - * const command = new ListWorkerFleetsCommand(input); - * const response = await client.send(command); - * // { // ListWorkerFleetsResponse - * // nextToken: "STRING_VALUE", - * // workerFleets: [ // WorkerFleets - * // { // WorkerFleet - * // arn: "STRING_VALUE", // required - * // id: "STRING_VALUE", // required - * // name: "STRING_VALUE", // required - * // site: "STRING_VALUE", // required - * // createdAt: new Date("TIMESTAMP"), // required - * // updatedAt: new Date("TIMESTAMP"), // required - * // additionalFixedProperties: "STRING_VALUE", - * // }, - * // ], - * // }; - * - * ``` - * - * @param ListWorkerFleetsCommandInput - {@link ListWorkerFleetsCommandInput} - * @returns {@link ListWorkerFleetsCommandOutput} - * @see {@link ListWorkerFleetsCommandInput} for command's `input` shape. - * @see {@link ListWorkerFleetsCommandOutput} for command's `response` shape. - * @see {@link IoTRoboRunnerClientResolvedConfig | config} for IoTRoboRunnerClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - * User does not have sufficient access to perform this action. - * - * @throws {@link InternalServerException} (server fault) - * Exception thrown if something goes wrong within the service. - * - * @throws {@link ResourceNotFoundException} (client fault) - * Exception thrown if a resource referenced in the request doesn't exist. - * - * @throws {@link ThrottlingException} (client fault) - * Exception thrown if the api has been called too quickly be the client. - * - * @throws {@link ValidationException} (client fault) - * Exception thrown if an invalid parameter is provided to an API. - * - * @throws {@link IoTRoboRunnerServiceException} - *

Base exception class for all service exceptions from IoTRoboRunner service.

- * - */ -export class ListWorkerFleetsCommand extends $Command - .classBuilder< - ListWorkerFleetsCommandInput, - ListWorkerFleetsCommandOutput, - IoTRoboRunnerClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep({ - ...commonParams, - }) - .m(function (this: any, Command: any, cs: any, config: IoTRoboRunnerClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("IoTRoboRunner", "ListWorkerFleets", {}) - .n("IoTRoboRunnerClient", "ListWorkerFleetsCommand") - .f(void 0, void 0) - .ser(se_ListWorkerFleetsCommand) - .de(de_ListWorkerFleetsCommand) - .build() {} diff --git a/clients/client-iot-roborunner/src/commands/ListWorkersCommand.ts b/clients/client-iot-roborunner/src/commands/ListWorkersCommand.ts deleted file mode 100644 index 97f5871b1a4cc..0000000000000 --- a/clients/client-iot-roborunner/src/commands/ListWorkersCommand.ts +++ /dev/null @@ -1,128 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { commonParams } from "../endpoint/EndpointParameters"; -import { IoTRoboRunnerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTRoboRunnerClient"; -import { ListWorkersRequest, ListWorkersResponse } from "../models/models_0"; -import { de_ListWorkersCommand, se_ListWorkersCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link ListWorkersCommand}. - */ -export interface ListWorkersCommandInput extends ListWorkersRequest {} -/** - * @public - * - * The output of {@link ListWorkersCommand}. - */ -export interface ListWorkersCommandOutput extends ListWorkersResponse, __MetadataBearer {} - -/** - * @public - * Grants permission to list workers - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { IoTRoboRunnerClient, ListWorkersCommand } from "@aws-sdk/client-iot-roborunner"; // ES Modules import - * // const { IoTRoboRunnerClient, ListWorkersCommand } = require("@aws-sdk/client-iot-roborunner"); // CommonJS import - * const client = new IoTRoboRunnerClient(config); - * const input = { // ListWorkersRequest - * site: "STRING_VALUE", // required - * maxResults: Number("int"), - * nextToken: "STRING_VALUE", - * fleet: "STRING_VALUE", - * }; - * const command = new ListWorkersCommand(input); - * const response = await client.send(command); - * // { // ListWorkersResponse - * // nextToken: "STRING_VALUE", - * // workers: [ // Workers - * // { // Worker - * // arn: "STRING_VALUE", // required - * // id: "STRING_VALUE", // required - * // fleet: "STRING_VALUE", // required - * // createdAt: new Date("TIMESTAMP"), // required - * // updatedAt: new Date("TIMESTAMP"), // required - * // name: "STRING_VALUE", // required - * // site: "STRING_VALUE", // required - * // additionalTransientProperties: "STRING_VALUE", - * // additionalFixedProperties: "STRING_VALUE", - * // vendorProperties: { // VendorProperties - * // vendorWorkerId: "STRING_VALUE", // required - * // vendorWorkerIpAddress: "STRING_VALUE", - * // vendorAdditionalTransientProperties: "STRING_VALUE", - * // vendorAdditionalFixedProperties: "STRING_VALUE", - * // }, - * // position: { // PositionCoordinates Union: only one key present - * // cartesianCoordinates: { // CartesianCoordinates - * // x: Number("double"), // required - * // y: Number("double"), // required - * // z: Number("double"), - * // }, - * // }, - * // orientation: { // Orientation Union: only one key present - * // degrees: Number("double"), - * // }, - * // }, - * // ], - * // }; - * - * ``` - * - * @param ListWorkersCommandInput - {@link ListWorkersCommandInput} - * @returns {@link ListWorkersCommandOutput} - * @see {@link ListWorkersCommandInput} for command's `input` shape. - * @see {@link ListWorkersCommandOutput} for command's `response` shape. - * @see {@link IoTRoboRunnerClientResolvedConfig | config} for IoTRoboRunnerClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - * User does not have sufficient access to perform this action. - * - * @throws {@link InternalServerException} (server fault) - * Exception thrown if something goes wrong within the service. - * - * @throws {@link ResourceNotFoundException} (client fault) - * Exception thrown if a resource referenced in the request doesn't exist. - * - * @throws {@link ThrottlingException} (client fault) - * Exception thrown if the api has been called too quickly be the client. - * - * @throws {@link ValidationException} (client fault) - * Exception thrown if an invalid parameter is provided to an API. - * - * @throws {@link IoTRoboRunnerServiceException} - *

Base exception class for all service exceptions from IoTRoboRunner service.

- * - */ -export class ListWorkersCommand extends $Command - .classBuilder< - ListWorkersCommandInput, - ListWorkersCommandOutput, - IoTRoboRunnerClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep({ - ...commonParams, - }) - .m(function (this: any, Command: any, cs: any, config: IoTRoboRunnerClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("IoTRoboRunner", "ListWorkers", {}) - .n("IoTRoboRunnerClient", "ListWorkersCommand") - .f(void 0, void 0) - .ser(se_ListWorkersCommand) - .de(de_ListWorkersCommand) - .build() {} diff --git a/clients/client-iot-roborunner/src/commands/UpdateDestinationCommand.ts b/clients/client-iot-roborunner/src/commands/UpdateDestinationCommand.ts deleted file mode 100644 index 0c23a4a8f2aa9..0000000000000 --- a/clients/client-iot-roborunner/src/commands/UpdateDestinationCommand.ts +++ /dev/null @@ -1,104 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { commonParams } from "../endpoint/EndpointParameters"; -import { IoTRoboRunnerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTRoboRunnerClient"; -import { UpdateDestinationRequest, UpdateDestinationResponse } from "../models/models_0"; -import { de_UpdateDestinationCommand, se_UpdateDestinationCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link UpdateDestinationCommand}. - */ -export interface UpdateDestinationCommandInput extends UpdateDestinationRequest {} -/** - * @public - * - * The output of {@link UpdateDestinationCommand}. - */ -export interface UpdateDestinationCommandOutput extends UpdateDestinationResponse, __MetadataBearer {} - -/** - * @public - * Grants permission to update a destination - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { IoTRoboRunnerClient, UpdateDestinationCommand } from "@aws-sdk/client-iot-roborunner"; // ES Modules import - * // const { IoTRoboRunnerClient, UpdateDestinationCommand } = require("@aws-sdk/client-iot-roborunner"); // CommonJS import - * const client = new IoTRoboRunnerClient(config); - * const input = { // UpdateDestinationRequest - * id: "STRING_VALUE", // required - * name: "STRING_VALUE", - * state: "STRING_VALUE", - * additionalFixedProperties: "STRING_VALUE", - * }; - * const command = new UpdateDestinationCommand(input); - * const response = await client.send(command); - * // { // UpdateDestinationResponse - * // arn: "STRING_VALUE", // required - * // id: "STRING_VALUE", // required - * // name: "STRING_VALUE", // required - * // updatedAt: new Date("TIMESTAMP"), // required - * // state: "STRING_VALUE", // required - * // additionalFixedProperties: "STRING_VALUE", - * // }; - * - * ``` - * - * @param UpdateDestinationCommandInput - {@link UpdateDestinationCommandInput} - * @returns {@link UpdateDestinationCommandOutput} - * @see {@link UpdateDestinationCommandInput} for command's `input` shape. - * @see {@link UpdateDestinationCommandOutput} for command's `response` shape. - * @see {@link IoTRoboRunnerClientResolvedConfig | config} for IoTRoboRunnerClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - * User does not have sufficient access to perform this action. - * - * @throws {@link InternalServerException} (server fault) - * Exception thrown if something goes wrong within the service. - * - * @throws {@link ResourceNotFoundException} (client fault) - * Exception thrown if a resource referenced in the request doesn't exist. - * - * @throws {@link ThrottlingException} (client fault) - * Exception thrown if the api has been called too quickly be the client. - * - * @throws {@link ValidationException} (client fault) - * Exception thrown if an invalid parameter is provided to an API. - * - * @throws {@link IoTRoboRunnerServiceException} - *

Base exception class for all service exceptions from IoTRoboRunner service.

- * - */ -export class UpdateDestinationCommand extends $Command - .classBuilder< - UpdateDestinationCommandInput, - UpdateDestinationCommandOutput, - IoTRoboRunnerClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep({ - ...commonParams, - }) - .m(function (this: any, Command: any, cs: any, config: IoTRoboRunnerClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("IoTRoboRunner", "UpdateDestination", {}) - .n("IoTRoboRunnerClient", "UpdateDestinationCommand") - .f(void 0, void 0) - .ser(se_UpdateDestinationCommand) - .de(de_UpdateDestinationCommand) - .build() {} diff --git a/clients/client-iot-roborunner/src/commands/UpdateSiteCommand.ts b/clients/client-iot-roborunner/src/commands/UpdateSiteCommand.ts deleted file mode 100644 index 251cfde04aa3e..0000000000000 --- a/clients/client-iot-roborunner/src/commands/UpdateSiteCommand.ts +++ /dev/null @@ -1,104 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { commonParams } from "../endpoint/EndpointParameters"; -import { IoTRoboRunnerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTRoboRunnerClient"; -import { UpdateSiteRequest, UpdateSiteResponse } from "../models/models_0"; -import { de_UpdateSiteCommand, se_UpdateSiteCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link UpdateSiteCommand}. - */ -export interface UpdateSiteCommandInput extends UpdateSiteRequest {} -/** - * @public - * - * The output of {@link UpdateSiteCommand}. - */ -export interface UpdateSiteCommandOutput extends UpdateSiteResponse, __MetadataBearer {} - -/** - * @public - * Grants permission to update a site - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { IoTRoboRunnerClient, UpdateSiteCommand } from "@aws-sdk/client-iot-roborunner"; // ES Modules import - * // const { IoTRoboRunnerClient, UpdateSiteCommand } = require("@aws-sdk/client-iot-roborunner"); // CommonJS import - * const client = new IoTRoboRunnerClient(config); - * const input = { // UpdateSiteRequest - * id: "STRING_VALUE", // required - * name: "STRING_VALUE", - * countryCode: "STRING_VALUE", - * description: "STRING_VALUE", - * }; - * const command = new UpdateSiteCommand(input); - * const response = await client.send(command); - * // { // UpdateSiteResponse - * // arn: "STRING_VALUE", // required - * // id: "STRING_VALUE", // required - * // name: "STRING_VALUE", // required - * // countryCode: "STRING_VALUE", - * // description: "STRING_VALUE", - * // updatedAt: new Date("TIMESTAMP"), // required - * // }; - * - * ``` - * - * @param UpdateSiteCommandInput - {@link UpdateSiteCommandInput} - * @returns {@link UpdateSiteCommandOutput} - * @see {@link UpdateSiteCommandInput} for command's `input` shape. - * @see {@link UpdateSiteCommandOutput} for command's `response` shape. - * @see {@link IoTRoboRunnerClientResolvedConfig | config} for IoTRoboRunnerClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - * User does not have sufficient access to perform this action. - * - * @throws {@link InternalServerException} (server fault) - * Exception thrown if something goes wrong within the service. - * - * @throws {@link ResourceNotFoundException} (client fault) - * Exception thrown if a resource referenced in the request doesn't exist. - * - * @throws {@link ThrottlingException} (client fault) - * Exception thrown if the api has been called too quickly be the client. - * - * @throws {@link ValidationException} (client fault) - * Exception thrown if an invalid parameter is provided to an API. - * - * @throws {@link IoTRoboRunnerServiceException} - *

Base exception class for all service exceptions from IoTRoboRunner service.

- * - */ -export class UpdateSiteCommand extends $Command - .classBuilder< - UpdateSiteCommandInput, - UpdateSiteCommandOutput, - IoTRoboRunnerClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep({ - ...commonParams, - }) - .m(function (this: any, Command: any, cs: any, config: IoTRoboRunnerClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("IoTRoboRunner", "UpdateSite", {}) - .n("IoTRoboRunnerClient", "UpdateSiteCommand") - .f(void 0, void 0) - .ser(se_UpdateSiteCommand) - .de(de_UpdateSiteCommand) - .build() {} diff --git a/clients/client-iot-roborunner/src/commands/UpdateWorkerCommand.ts b/clients/client-iot-roborunner/src/commands/UpdateWorkerCommand.ts deleted file mode 100644 index 5ed7ed483df84..0000000000000 --- a/clients/client-iot-roborunner/src/commands/UpdateWorkerCommand.ts +++ /dev/null @@ -1,137 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { commonParams } from "../endpoint/EndpointParameters"; -import { IoTRoboRunnerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTRoboRunnerClient"; -import { UpdateWorkerRequest, UpdateWorkerResponse } from "../models/models_0"; -import { de_UpdateWorkerCommand, se_UpdateWorkerCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link UpdateWorkerCommand}. - */ -export interface UpdateWorkerCommandInput extends UpdateWorkerRequest {} -/** - * @public - * - * The output of {@link UpdateWorkerCommand}. - */ -export interface UpdateWorkerCommandOutput extends UpdateWorkerResponse, __MetadataBearer {} - -/** - * @public - * Grants permission to update a worker - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { IoTRoboRunnerClient, UpdateWorkerCommand } from "@aws-sdk/client-iot-roborunner"; // ES Modules import - * // const { IoTRoboRunnerClient, UpdateWorkerCommand } = require("@aws-sdk/client-iot-roborunner"); // CommonJS import - * const client = new IoTRoboRunnerClient(config); - * const input = { // UpdateWorkerRequest - * id: "STRING_VALUE", // required - * name: "STRING_VALUE", - * additionalTransientProperties: "STRING_VALUE", - * additionalFixedProperties: "STRING_VALUE", - * vendorProperties: { // VendorProperties - * vendorWorkerId: "STRING_VALUE", // required - * vendorWorkerIpAddress: "STRING_VALUE", - * vendorAdditionalTransientProperties: "STRING_VALUE", - * vendorAdditionalFixedProperties: "STRING_VALUE", - * }, - * position: { // PositionCoordinates Union: only one key present - * cartesianCoordinates: { // CartesianCoordinates - * x: Number("double"), // required - * y: Number("double"), // required - * z: Number("double"), - * }, - * }, - * orientation: { // Orientation Union: only one key present - * degrees: Number("double"), - * }, - * }; - * const command = new UpdateWorkerCommand(input); - * const response = await client.send(command); - * // { // UpdateWorkerResponse - * // arn: "STRING_VALUE", // required - * // id: "STRING_VALUE", // required - * // fleet: "STRING_VALUE", // required - * // updatedAt: new Date("TIMESTAMP"), // required - * // name: "STRING_VALUE", // required - * // additionalTransientProperties: "STRING_VALUE", - * // additionalFixedProperties: "STRING_VALUE", - * // orientation: { // Orientation Union: only one key present - * // degrees: Number("double"), - * // }, - * // vendorProperties: { // VendorProperties - * // vendorWorkerId: "STRING_VALUE", // required - * // vendorWorkerIpAddress: "STRING_VALUE", - * // vendorAdditionalTransientProperties: "STRING_VALUE", - * // vendorAdditionalFixedProperties: "STRING_VALUE", - * // }, - * // position: { // PositionCoordinates Union: only one key present - * // cartesianCoordinates: { // CartesianCoordinates - * // x: Number("double"), // required - * // y: Number("double"), // required - * // z: Number("double"), - * // }, - * // }, - * // }; - * - * ``` - * - * @param UpdateWorkerCommandInput - {@link UpdateWorkerCommandInput} - * @returns {@link UpdateWorkerCommandOutput} - * @see {@link UpdateWorkerCommandInput} for command's `input` shape. - * @see {@link UpdateWorkerCommandOutput} for command's `response` shape. - * @see {@link IoTRoboRunnerClientResolvedConfig | config} for IoTRoboRunnerClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - * User does not have sufficient access to perform this action. - * - * @throws {@link InternalServerException} (server fault) - * Exception thrown if something goes wrong within the service. - * - * @throws {@link ResourceNotFoundException} (client fault) - * Exception thrown if a resource referenced in the request doesn't exist. - * - * @throws {@link ThrottlingException} (client fault) - * Exception thrown if the api has been called too quickly be the client. - * - * @throws {@link ValidationException} (client fault) - * Exception thrown if an invalid parameter is provided to an API. - * - * @throws {@link IoTRoboRunnerServiceException} - *

Base exception class for all service exceptions from IoTRoboRunner service.

- * - */ -export class UpdateWorkerCommand extends $Command - .classBuilder< - UpdateWorkerCommandInput, - UpdateWorkerCommandOutput, - IoTRoboRunnerClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep({ - ...commonParams, - }) - .m(function (this: any, Command: any, cs: any, config: IoTRoboRunnerClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("IoTRoboRunner", "UpdateWorker", {}) - .n("IoTRoboRunnerClient", "UpdateWorkerCommand") - .f(void 0, void 0) - .ser(se_UpdateWorkerCommand) - .de(de_UpdateWorkerCommand) - .build() {} diff --git a/clients/client-iot-roborunner/src/commands/UpdateWorkerFleetCommand.ts b/clients/client-iot-roborunner/src/commands/UpdateWorkerFleetCommand.ts deleted file mode 100644 index a30cd67bea83f..0000000000000 --- a/clients/client-iot-roborunner/src/commands/UpdateWorkerFleetCommand.ts +++ /dev/null @@ -1,102 +0,0 @@ -// smithy-typescript generated code -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -import { commonParams } from "../endpoint/EndpointParameters"; -import { IoTRoboRunnerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTRoboRunnerClient"; -import { UpdateWorkerFleetRequest, UpdateWorkerFleetResponse } from "../models/models_0"; -import { de_UpdateWorkerFleetCommand, se_UpdateWorkerFleetCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link UpdateWorkerFleetCommand}. - */ -export interface UpdateWorkerFleetCommandInput extends UpdateWorkerFleetRequest {} -/** - * @public - * - * The output of {@link UpdateWorkerFleetCommand}. - */ -export interface UpdateWorkerFleetCommandOutput extends UpdateWorkerFleetResponse, __MetadataBearer {} - -/** - * @public - * Grants permission to update a worker fleet - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { IoTRoboRunnerClient, UpdateWorkerFleetCommand } from "@aws-sdk/client-iot-roborunner"; // ES Modules import - * // const { IoTRoboRunnerClient, UpdateWorkerFleetCommand } = require("@aws-sdk/client-iot-roborunner"); // CommonJS import - * const client = new IoTRoboRunnerClient(config); - * const input = { // UpdateWorkerFleetRequest - * id: "STRING_VALUE", // required - * name: "STRING_VALUE", - * additionalFixedProperties: "STRING_VALUE", - * }; - * const command = new UpdateWorkerFleetCommand(input); - * const response = await client.send(command); - * // { // UpdateWorkerFleetResponse - * // arn: "STRING_VALUE", // required - * // id: "STRING_VALUE", // required - * // name: "STRING_VALUE", // required - * // updatedAt: new Date("TIMESTAMP"), // required - * // additionalFixedProperties: "STRING_VALUE", - * // }; - * - * ``` - * - * @param UpdateWorkerFleetCommandInput - {@link UpdateWorkerFleetCommandInput} - * @returns {@link UpdateWorkerFleetCommandOutput} - * @see {@link UpdateWorkerFleetCommandInput} for command's `input` shape. - * @see {@link UpdateWorkerFleetCommandOutput} for command's `response` shape. - * @see {@link IoTRoboRunnerClientResolvedConfig | config} for IoTRoboRunnerClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - * User does not have sufficient access to perform this action. - * - * @throws {@link InternalServerException} (server fault) - * Exception thrown if something goes wrong within the service. - * - * @throws {@link ResourceNotFoundException} (client fault) - * Exception thrown if a resource referenced in the request doesn't exist. - * - * @throws {@link ThrottlingException} (client fault) - * Exception thrown if the api has been called too quickly be the client. - * - * @throws {@link ValidationException} (client fault) - * Exception thrown if an invalid parameter is provided to an API. - * - * @throws {@link IoTRoboRunnerServiceException} - *

Base exception class for all service exceptions from IoTRoboRunner service.

- * - */ -export class UpdateWorkerFleetCommand extends $Command - .classBuilder< - UpdateWorkerFleetCommandInput, - UpdateWorkerFleetCommandOutput, - IoTRoboRunnerClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep({ - ...commonParams, - }) - .m(function (this: any, Command: any, cs: any, config: IoTRoboRunnerClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("IoTRoboRunner", "UpdateWorkerFleet", {}) - .n("IoTRoboRunnerClient", "UpdateWorkerFleetCommand") - .f(void 0, void 0) - .ser(se_UpdateWorkerFleetCommand) - .de(de_UpdateWorkerFleetCommand) - .build() {} diff --git a/clients/client-iot-roborunner/src/commands/index.ts b/clients/client-iot-roborunner/src/commands/index.ts deleted file mode 100644 index 7a40dc7f11eb4..0000000000000 --- a/clients/client-iot-roborunner/src/commands/index.ts +++ /dev/null @@ -1,21 +0,0 @@ -// smithy-typescript generated code -export * from "./CreateDestinationCommand"; -export * from "./CreateSiteCommand"; -export * from "./CreateWorkerCommand"; -export * from "./CreateWorkerFleetCommand"; -export * from "./DeleteDestinationCommand"; -export * from "./DeleteSiteCommand"; -export * from "./DeleteWorkerCommand"; -export * from "./DeleteWorkerFleetCommand"; -export * from "./GetDestinationCommand"; -export * from "./GetSiteCommand"; -export * from "./GetWorkerCommand"; -export * from "./GetWorkerFleetCommand"; -export * from "./ListDestinationsCommand"; -export * from "./ListSitesCommand"; -export * from "./ListWorkerFleetsCommand"; -export * from "./ListWorkersCommand"; -export * from "./UpdateDestinationCommand"; -export * from "./UpdateSiteCommand"; -export * from "./UpdateWorkerCommand"; -export * from "./UpdateWorkerFleetCommand"; diff --git a/clients/client-iot-roborunner/src/endpoint/EndpointParameters.ts b/clients/client-iot-roborunner/src/endpoint/EndpointParameters.ts deleted file mode 100644 index c1300a8a6bbd2..0000000000000 --- a/clients/client-iot-roborunner/src/endpoint/EndpointParameters.ts +++ /dev/null @@ -1,41 +0,0 @@ -// smithy-typescript generated code -import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types"; - -/** - * @public - */ -export interface ClientInputEndpointParameters { - region?: string | Provider; - useDualstackEndpoint?: boolean | Provider; - useFipsEndpoint?: boolean | Provider; - endpoint?: string | Provider | Endpoint | Provider | EndpointV2 | Provider; -} - -export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & { - defaultSigningName: string; -}; - -export const resolveClientEndpointParameters = ( - options: T & ClientInputEndpointParameters -): T & ClientResolvedEndpointParameters => { - return { - ...options, - useDualstackEndpoint: options.useDualstackEndpoint ?? false, - useFipsEndpoint: options.useFipsEndpoint ?? false, - defaultSigningName: "iotroborunner", - }; -}; - -export const commonParams = { - UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, - Endpoint: { type: "builtInParams", name: "endpoint" }, - Region: { type: "builtInParams", name: "region" }, - UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, -} as const; - -export interface EndpointParameters extends __EndpointParameters { - Region?: string; - UseDualStack?: boolean; - UseFIPS?: boolean; - Endpoint?: string; -} diff --git a/clients/client-iot-roborunner/src/endpoint/endpointResolver.ts b/clients/client-iot-roborunner/src/endpoint/endpointResolver.ts deleted file mode 100644 index 5a2f959731872..0000000000000 --- a/clients/client-iot-roborunner/src/endpoint/endpointResolver.ts +++ /dev/null @@ -1,16 +0,0 @@ -// smithy-typescript generated code -import { EndpointV2, Logger } from "@smithy/types"; -import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; - -import { EndpointParameters } from "./EndpointParameters"; -import { ruleSet } from "./ruleset"; - -export const defaultEndpointResolver = ( - endpointParams: EndpointParameters, - context: { logger?: Logger } = {} -): EndpointV2 => { - return resolveEndpoint(ruleSet, { - endpointParams: endpointParams as EndpointParams, - logger: context.logger, - }); -}; diff --git a/clients/client-iot-roborunner/src/endpoint/ruleset.ts b/clients/client-iot-roborunner/src/endpoint/ruleset.ts deleted file mode 100644 index 7cc57a5da7fe5..0000000000000 --- a/clients/client-iot-roborunner/src/endpoint/ruleset.ts +++ /dev/null @@ -1,32 +0,0 @@ -// @ts-nocheck -// generated code, do not edit -import { RuleSetObject } from "@smithy/types"; - -/* This file is compressed. Log this object - or see "smithy.rules#endpointRuleSet" - in codegen/sdk-codegen/aws-models/iot-roborunner.json */ - -const s="required", -t="fn", -u="argv", -v="ref"; -const a=true, -b="isSet", -c="booleanEquals", -d="error", -e="endpoint", -f="tree", -g="PartitionResult", -h={[s]:false,"type":"String"}, -i={[s]:true,"default":false,"type":"Boolean"}, -j={[v]:"Endpoint"}, -k={[t]:c,[u]:[{[v]:"UseFIPS"},true]}, -l={[t]:c,[u]:[{[v]:"UseDualStack"},true]}, -m={}, -n={[t]:"getAttr",[u]:[{[v]:g},"supportsFIPS"]}, -o={[t]:c,[u]:[true,{[t]:"getAttr",[u]:[{[v]:g},"supportsDualStack"]}]}, -p=[k], -q=[l], -r=[{[v]:"Region"}]; -const _data={version:"1.0",parameters:{Region:h,UseDualStack:i,UseFIPS:i,Endpoint:h},rules:[{conditions:[{[t]:b,[u]:[j]}],rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:d},{rules:[{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:d},{endpoint:{url:j,properties:m,headers:m},type:e}],type:f}],type:f},{rules:[{conditions:[{[t]:b,[u]:r}],rules:[{conditions:[{[t]:"aws.partition",[u]:r,assign:g}],rules:[{conditions:[k,l],rules:[{conditions:[{[t]:c,[u]:[a,n]},o],rules:[{rules:[{endpoint:{url:"https://iotroborunner-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:m,headers:m},type:e}],type:f}],type:f},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:d}],type:f},{conditions:p,rules:[{conditions:[{[t]:c,[u]:[n,a]}],rules:[{rules:[{endpoint:{url:"https://iotroborunner-fips.{Region}.{PartitionResult#dnsSuffix}",properties:m,headers:m},type:e}],type:f}],type:f},{error:"FIPS is enabled but this partition does not support FIPS",type:d}],type:f},{conditions:q,rules:[{conditions:[o],rules:[{rules:[{endpoint:{url:"https://iotroborunner.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:m,headers:m},type:e}],type:f}],type:f},{error:"DualStack is enabled but this partition does not support DualStack",type:d}],type:f},{rules:[{endpoint:{url:"https://iotroborunner.{Region}.{PartitionResult#dnsSuffix}",properties:m,headers:m},type:e}],type:f}],type:f}],type:f},{error:"Invalid Configuration: Missing Region",type:d}],type:f}]}; -export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-iot-roborunner/src/extensionConfiguration.ts b/clients/client-iot-roborunner/src/extensionConfiguration.ts deleted file mode 100644 index 90cfe906d2677..0000000000000 --- a/clients/client-iot-roborunner/src/extensionConfiguration.ts +++ /dev/null @@ -1,15 +0,0 @@ -// smithy-typescript generated code -import { AwsRegionExtensionConfiguration } from "@aws-sdk/types"; -import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http"; -import { DefaultExtensionConfiguration } from "@smithy/types"; - -import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration"; - -/** - * @internal - */ -export interface IoTRoboRunnerExtensionConfiguration - extends HttpHandlerExtensionConfiguration, - DefaultExtensionConfiguration, - AwsRegionExtensionConfiguration, - HttpAuthExtensionConfiguration {} diff --git a/clients/client-iot-roborunner/src/index.ts b/clients/client-iot-roborunner/src/index.ts deleted file mode 100644 index a4b1fed05e3ef..0000000000000 --- a/clients/client-iot-roborunner/src/index.ts +++ /dev/null @@ -1,20 +0,0 @@ -// smithy-typescript generated code -/* eslint-disable */ -/** - * An example service, deployed with the Octane Service creator, - * which will echo the string - * - * @packageDocumentation - */ -export * from "./IoTRoboRunnerClient"; -export * from "./IoTRoboRunner"; -export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; -export { RuntimeExtension } from "./runtimeExtensions"; -export { IoTRoboRunnerExtensionConfiguration } from "./extensionConfiguration"; -export * from "./commands"; -export * from "./pagination"; -export * from "./models"; - -import "@aws-sdk/util-endpoints"; - -export { IoTRoboRunnerServiceException } from "./models/IoTRoboRunnerServiceException"; diff --git a/clients/client-iot-roborunner/src/models/IoTRoboRunnerServiceException.ts b/clients/client-iot-roborunner/src/models/IoTRoboRunnerServiceException.ts deleted file mode 100644 index 0e8262a764389..0000000000000 --- a/clients/client-iot-roborunner/src/models/IoTRoboRunnerServiceException.ts +++ /dev/null @@ -1,22 +0,0 @@ -// smithy-typescript generated code -import { - ServiceException as __ServiceException, - ServiceExceptionOptions as __ServiceExceptionOptions, -} from "@smithy/smithy-client"; - -export { __ServiceException, __ServiceExceptionOptions }; - -/** - * @public - * - * Base exception class for all service exceptions from IoTRoboRunner service. - */ -export class IoTRoboRunnerServiceException extends __ServiceException { - /** - * @internal - */ - constructor(options: __ServiceExceptionOptions) { - super(options); - Object.setPrototypeOf(this, IoTRoboRunnerServiceException.prototype); - } -} diff --git a/clients/client-iot-roborunner/src/models/index.ts b/clients/client-iot-roborunner/src/models/index.ts deleted file mode 100644 index 9eaceb12865f8..0000000000000 --- a/clients/client-iot-roborunner/src/models/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -// smithy-typescript generated code -export * from "./models_0"; diff --git a/clients/client-iot-roborunner/src/models/models_0.ts b/clients/client-iot-roborunner/src/models/models_0.ts deleted file mode 100644 index 204e3d5c5de9c..0000000000000 --- a/clients/client-iot-roborunner/src/models/models_0.ts +++ /dev/null @@ -1,1594 +0,0 @@ -// smithy-typescript generated code -import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client"; - -import { IoTRoboRunnerServiceException as __BaseException } from "./IoTRoboRunnerServiceException"; - -/** - * @public - * User does not have sufficient access to perform this action. - */ -export class AccessDeniedException extends __BaseException { - readonly name: "AccessDeniedException" = "AccessDeniedException"; - readonly $fault: "client" = "client"; - $retryable = {}; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType) { - super({ - name: "AccessDeniedException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, AccessDeniedException.prototype); - } -} - -/** - * @public - * Cartesian coordinates in 3D space relative to the RoboRunner origin. - */ -export interface CartesianCoordinates { - /** - * @public - * X coordinate. - */ - x: number | undefined; - - /** - * @public - * Y coordinate. - */ - y: number | undefined; - - /** - * @public - * Z coordinate. - */ - z?: number; -} - -/** - * @public - * Exception thrown if a resource in a create request already exists. - */ -export class ConflictException extends __BaseException { - readonly name: "ConflictException" = "ConflictException"; - readonly $fault: "client" = "client"; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType) { - super({ - name: "ConflictException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, ConflictException.prototype); - } -} - -/** - * @public - * @enum - */ -export const DestinationState = { - DECOMMISSIONED: "DECOMMISSIONED", - DISABLED: "DISABLED", - ENABLED: "ENABLED", -} as const; - -/** - * @public - */ -export type DestinationState = (typeof DestinationState)[keyof typeof DestinationState]; - -/** - * @public - */ -export interface CreateDestinationRequest { - /** - * @public - * Token used for detecting replayed requests. Replayed requests will not be performed multiple times. - */ - clientToken?: string; - - /** - * @public - * Human friendly name of the resource. - */ - name: string | undefined; - - /** - * @public - * Site ARN. - */ - site: string | undefined; - - /** - * @public - * The state of the destination. Default used if not specified. - */ - state?: DestinationState; - - /** - * @public - * JSON document containing additional fixed properties regarding the destination - */ - additionalFixedProperties?: string; -} - -/** - * @public - */ -export interface CreateDestinationResponse { - /** - * @public - * Destination ARN. - */ - arn: string | undefined; - - /** - * @public - * Filters access by the destination's identifier - */ - id: string | undefined; - - /** - * @public - * Timestamp at which the resource was created. - */ - createdAt: Date | undefined; - - /** - * @public - * Timestamp at which the resource was last updated. - */ - updatedAt: Date | undefined; - - /** - * @public - * State of the destination. - */ - state: DestinationState | undefined; -} - -/** - * @public - * Exception thrown if something goes wrong within the service. - */ -export class InternalServerException extends __BaseException { - readonly name: "InternalServerException" = "InternalServerException"; - readonly $fault: "server" = "server"; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType) { - super({ - name: "InternalServerException", - $fault: "server", - ...opts, - }); - Object.setPrototypeOf(this, InternalServerException.prototype); - } -} - -/** - * @public - * Exception thrown if a resource referenced in the request doesn't exist. - */ -export class ResourceNotFoundException extends __BaseException { - readonly name: "ResourceNotFoundException" = "ResourceNotFoundException"; - readonly $fault: "client" = "client"; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType) { - super({ - name: "ResourceNotFoundException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, ResourceNotFoundException.prototype); - } -} - -/** - * @public - * Exception thrown if the user's AWS account has reached a service limit and the operation cannot proceed. - */ -export class ServiceQuotaExceededException extends __BaseException { - readonly name: "ServiceQuotaExceededException" = "ServiceQuotaExceededException"; - readonly $fault: "client" = "client"; - $retryable = {}; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType) { - super({ - name: "ServiceQuotaExceededException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype); - } -} - -/** - * @public - * Exception thrown if the api has been called too quickly be the client. - */ -export class ThrottlingException extends __BaseException { - readonly name: "ThrottlingException" = "ThrottlingException"; - readonly $fault: "client" = "client"; - $retryable = { - throttling: true, - }; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType) { - super({ - name: "ThrottlingException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, ThrottlingException.prototype); - } -} - -/** - * @public - * Exception thrown if an invalid parameter is provided to an API. - */ -export class ValidationException extends __BaseException { - readonly name: "ValidationException" = "ValidationException"; - readonly $fault: "client" = "client"; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType) { - super({ - name: "ValidationException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, ValidationException.prototype); - } -} - -/** - * @public - */ -export interface CreateSiteRequest { - /** - * @public - * Token used for detecting replayed requests. Replayed requests will not be performed multiple times. - */ - clientToken?: string; - - /** - * @public - * Human friendly name of the resource. - */ - name: string | undefined; - - /** - * @public - * A valid ISO 3166-1 alpha-2 code for the country in which the site resides. e.g., US. - */ - countryCode: string | undefined; - - /** - * @public - * A high-level description of the site. - */ - description?: string; -} - -/** - * @public - */ -export interface CreateSiteResponse { - /** - * @public - * Site ARN. - */ - arn: string | undefined; - - /** - * @public - * Filters access by the site's identifier - */ - id: string | undefined; - - /** - * @public - * Timestamp at which the resource was created. - */ - createdAt: Date | undefined; - - /** - * @public - * Timestamp at which the resource was last updated. - */ - updatedAt: Date | undefined; -} - -/** - * @public - * Worker orientation measured in units clockwise from north. - */ -export type Orientation = Orientation.DegreesMember | Orientation.$UnknownMember; - -/** - * @public - */ -export namespace Orientation { - /** - * @public - * Degrees, limited on [0, 360) - */ - export interface DegreesMember { - degrees: number; - $unknown?: never; - } - - /** - * @public - */ - export interface $UnknownMember { - degrees?: never; - $unknown: [string, any]; - } - - export interface Visitor { - degrees: (value: number) => T; - _: (name: string, value: any) => T; - } - - export const visit = (value: Orientation, visitor: Visitor): T => { - if (value.degrees !== undefined) return visitor.degrees(value.degrees); - return visitor._(value.$unknown[0], value.$unknown[1]); - }; -} - -/** - * @public - * Supported coordinates for worker position. - */ -export type PositionCoordinates = PositionCoordinates.CartesianCoordinatesMember | PositionCoordinates.$UnknownMember; - -/** - * @public - */ -export namespace PositionCoordinates { - /** - * @public - * Cartesian coordinates. - */ - export interface CartesianCoordinatesMember { - cartesianCoordinates: CartesianCoordinates; - $unknown?: never; - } - - /** - * @public - */ - export interface $UnknownMember { - cartesianCoordinates?: never; - $unknown: [string, any]; - } - - export interface Visitor { - cartesianCoordinates: (value: CartesianCoordinates) => T; - _: (name: string, value: any) => T; - } - - export const visit = (value: PositionCoordinates, visitor: Visitor): T => { - if (value.cartesianCoordinates !== undefined) return visitor.cartesianCoordinates(value.cartesianCoordinates); - return visitor._(value.$unknown[0], value.$unknown[1]); - }; -} - -/** - * @public - * Properties of the worker that are provided by the vendor FMS. - */ -export interface VendorProperties { - /** - * @public - * The worker ID defined by the vendor FMS. - */ - vendorWorkerId: string | undefined; - - /** - * @public - * The worker IP address defined by the vendor FMS. - */ - vendorWorkerIpAddress?: string; - - /** - * @public - * JSON blob containing unstructured vendor properties that are transient and may change during regular operation. - */ - vendorAdditionalTransientProperties?: string; - - /** - * @public - * JSON blob containing unstructured vendor properties that are fixed and won't change during regular operation. - */ - vendorAdditionalFixedProperties?: string; -} - -/** - * @public - */ -export interface CreateWorkerRequest { - /** - * @public - * Token used for detecting replayed requests. Replayed requests will not be performed multiple times. - */ - clientToken?: string; - - /** - * @public - * Human friendly name of the resource. - */ - name: string | undefined; - - /** - * @public - * Full ARN of the worker fleet. - */ - fleet: string | undefined; - - /** - * @public - * JSON blob containing unstructured worker properties that are transient and may change during regular operation. - */ - additionalTransientProperties?: string; - - /** - * @public - * JSON blob containing unstructured worker properties that are fixed and won't change during regular operation. - */ - additionalFixedProperties?: string; - - /** - * @public - * Properties of the worker that are provided by the vendor FMS. - */ - vendorProperties?: VendorProperties; - - /** - * @public - * Supported coordinates for worker position. - */ - position?: PositionCoordinates; - - /** - * @public - * Worker orientation measured in units clockwise from north. - */ - orientation?: Orientation; -} - -/** - * @public - */ -export interface CreateWorkerResponse { - /** - * @public - * Full ARN of the worker. - */ - arn: string | undefined; - - /** - * @public - * Filters access by the workers identifier - */ - id: string | undefined; - - /** - * @public - * Timestamp at which the resource was created. - */ - createdAt: Date | undefined; - - /** - * @public - * Timestamp at which the resource was last updated. - */ - updatedAt: Date | undefined; - - /** - * @public - * Site ARN. - */ - site: string | undefined; -} - -/** - * @public - */ -export interface CreateWorkerFleetRequest { - /** - * @public - * Token used for detecting replayed requests. Replayed requests will not be performed multiple times. - */ - clientToken?: string; - - /** - * @public - * Human friendly name of the resource. - */ - name: string | undefined; - - /** - * @public - * Site ARN. - */ - site: string | undefined; - - /** - * @public - * JSON blob containing additional fixed properties regarding the worker fleet - */ - additionalFixedProperties?: string; -} - -/** - * @public - */ -export interface CreateWorkerFleetResponse { - /** - * @public - * Full ARN of the worker fleet. - */ - arn: string | undefined; - - /** - * @public - * Filters access by the worker fleet's identifier - */ - id: string | undefined; - - /** - * @public - * Timestamp at which the resource was created. - */ - createdAt: Date | undefined; - - /** - * @public - * Timestamp at which the resource was last updated. - */ - updatedAt: Date | undefined; -} - -/** - * @public - */ -export interface DeleteDestinationRequest { - /** - * @public - * Destination ARN. - */ - id: string | undefined; -} - -/** - * @public - */ -export interface DeleteDestinationResponse {} - -/** - * @public - */ -export interface DeleteSiteRequest { - /** - * @public - * Site ARN. - */ - id: string | undefined; -} - -/** - * @public - */ -export interface DeleteSiteResponse {} - -/** - * @public - */ -export interface DeleteWorkerRequest { - /** - * @public - * Full ARN of the worker. - */ - id: string | undefined; -} - -/** - * @public - */ -export interface DeleteWorkerResponse {} - -/** - * @public - */ -export interface DeleteWorkerFleetRequest { - /** - * @public - * Full ARN of the worker fleet. - */ - id: string | undefined; -} - -/** - * @public - */ -export interface DeleteWorkerFleetResponse {} - -/** - * @public - * Area within a facility where work can be performed. - */ -export interface Destination { - /** - * @public - * Destination ARN. - */ - arn: string | undefined; - - /** - * @public - * Filters access by the destination's identifier - */ - id: string | undefined; - - /** - * @public - * Human friendly name of the resource. - */ - name: string | undefined; - - /** - * @public - * Site ARN. - */ - site: string | undefined; - - /** - * @public - * Timestamp at which the resource was created. - */ - createdAt: Date | undefined; - - /** - * @public - * Timestamp at which the resource was last updated. - */ - updatedAt: Date | undefined; - - /** - * @public - * State of the destination. - */ - state: DestinationState | undefined; - - /** - * @public - * JSON document containing additional fixed properties regarding the destination - */ - additionalFixedProperties?: string; -} - -/** - * @public - */ -export interface GetDestinationRequest { - /** - * @public - * Destination ARN. - */ - id: string | undefined; -} - -/** - * @public - */ -export interface GetDestinationResponse { - /** - * @public - * Destination ARN. - */ - arn: string | undefined; - - /** - * @public - * Filters access by the destination's identifier - */ - id: string | undefined; - - /** - * @public - * Human friendly name of the resource. - */ - name: string | undefined; - - /** - * @public - * Site ARN. - */ - site: string | undefined; - - /** - * @public - * Timestamp at which the resource was created. - */ - createdAt: Date | undefined; - - /** - * @public - * Timestamp at which the resource was last updated. - */ - updatedAt: Date | undefined; - - /** - * @public - * State of the destination. - */ - state: DestinationState | undefined; - - /** - * @public - * JSON document containing additional fixed properties regarding the destination - */ - additionalFixedProperties?: string; -} - -/** - * @public - */ -export interface ListDestinationsRequest { - /** - * @public - * Site ARN. - */ - site: string | undefined; - - /** - * @public - * Maximum number of results to retrieve in a single call. - */ - maxResults?: number; - - /** - * @public - * Pagination token returned when another page of data exists. Provide it in your next call to the API to receive - * the next page. - */ - nextToken?: string; - - /** - * @public - * State of the destination. - */ - state?: DestinationState; -} - -/** - * @public - */ -export interface ListDestinationsResponse { - /** - * @public - * Pagination token returned when another page of data exists. Provide it in your next call to the API to receive - * the next page. - */ - nextToken?: string; - - /** - * @public - * List of destinations. - */ - destinations?: Destination[]; -} - -/** - * @public - */ -export interface UpdateDestinationRequest { - /** - * @public - * Destination ARN. - */ - id: string | undefined; - - /** - * @public - * Human friendly name of the resource. - */ - name?: string; - - /** - * @public - * State of the destination. - */ - state?: DestinationState; - - /** - * @public - * JSON document containing additional fixed properties regarding the destination - */ - additionalFixedProperties?: string; -} - -/** - * @public - */ -export interface UpdateDestinationResponse { - /** - * @public - * Destination ARN. - */ - arn: string | undefined; - - /** - * @public - * Filters access by the destination's identifier - */ - id: string | undefined; - - /** - * @public - * Human friendly name of the resource. - */ - name: string | undefined; - - /** - * @public - * Timestamp at which the resource was last updated. - */ - updatedAt: Date | undefined; - - /** - * @public - * State of the destination. - */ - state: DestinationState | undefined; - - /** - * @public - * JSON document containing additional fixed properties regarding the destination - */ - additionalFixedProperties?: string; -} - -/** - * @public - */ -export interface GetSiteRequest { - /** - * @public - * Site ARN. - */ - id: string | undefined; -} - -/** - * @public - */ -export interface GetSiteResponse { - /** - * @public - * Site ARN. - */ - arn: string | undefined; - - /** - * @public - * Filters access by the site's identifier - */ - id: string | undefined; - - /** - * @public - * Human friendly name of the resource. - */ - name: string | undefined; - - /** - * @public - * A valid ISO 3166-1 alpha-2 code for the country in which the site resides. e.g., US. - */ - countryCode: string | undefined; - - /** - * @public - * A high-level description of the site. - */ - description?: string; - - /** - * @public - * Timestamp at which the resource was created. - */ - createdAt: Date | undefined; - - /** - * @public - * Timestamp at which the resource was last updated. - */ - updatedAt: Date | undefined; -} - -/** - * @public - */ -export interface GetWorkerRequest { - /** - * @public - * Full ARN of the worker. - */ - id: string | undefined; -} - -/** - * @public - */ -export interface GetWorkerResponse { - /** - * @public - * Full ARN of the worker. - */ - arn: string | undefined; - - /** - * @public - * Filters access by the workers identifier - */ - id: string | undefined; - - /** - * @public - * Full ARN of the worker fleet. - */ - fleet: string | undefined; - - /** - * @public - * Site ARN. - */ - site: string | undefined; - - /** - * @public - * Timestamp at which the resource was created. - */ - createdAt: Date | undefined; - - /** - * @public - * Timestamp at which the resource was last updated. - */ - updatedAt: Date | undefined; - - /** - * @public - * Human friendly name of the resource. - */ - name: string | undefined; - - /** - * @public - * JSON blob containing unstructured worker properties that are transient and may change during regular operation. - */ - additionalTransientProperties?: string; - - /** - * @public - * JSON blob containing unstructured worker properties that are fixed and won't change during regular operation. - */ - additionalFixedProperties?: string; - - /** - * @public - * Properties of the worker that are provided by the vendor FMS. - */ - vendorProperties?: VendorProperties; - - /** - * @public - * Supported coordinates for worker position. - */ - position?: PositionCoordinates; - - /** - * @public - * Worker orientation measured in units clockwise from north. - */ - orientation?: Orientation; -} - -/** - * @public - */ -export interface GetWorkerFleetRequest { - /** - * @public - * Full ARN of the worker fleet. - */ - id: string | undefined; -} - -/** - * @public - */ -export interface GetWorkerFleetResponse { - /** - * @public - * Filters access by the worker fleet's identifier - */ - id: string | undefined; - - /** - * @public - * Full ARN of the worker fleet. - */ - arn: string | undefined; - - /** - * @public - * Human friendly name of the resource. - */ - name: string | undefined; - - /** - * @public - * Site ARN. - */ - site: string | undefined; - - /** - * @public - * Timestamp at which the resource was created. - */ - createdAt: Date | undefined; - - /** - * @public - * Timestamp at which the resource was last updated. - */ - updatedAt: Date | undefined; - - /** - * @public - * JSON blob containing additional fixed properties regarding the worker fleet - */ - additionalFixedProperties?: string; -} - -/** - * @public - */ -export interface ListWorkersRequest { - /** - * @public - * Site ARN. - */ - site: string | undefined; - - /** - * @public - * Maximum number of results to retrieve in a single ListWorkers call. - */ - maxResults?: number; - - /** - * @public - * Pagination token returned when another page of data exists. Provide it in your next call to the API to receive - * the next page. - */ - nextToken?: string; - - /** - * @public - * Full ARN of the worker fleet. - */ - fleet?: string; -} - -/** - * @public - * A unit capable of performing tasks. - */ -export interface Worker { - /** - * @public - * Full ARN of the worker. - */ - arn: string | undefined; - - /** - * @public - * Filters access by the workers identifier - */ - id: string | undefined; - - /** - * @public - * Full ARN of the worker fleet. - */ - fleet: string | undefined; - - /** - * @public - * Timestamp at which the resource was created. - */ - createdAt: Date | undefined; - - /** - * @public - * Timestamp at which the resource was last updated. - */ - updatedAt: Date | undefined; - - /** - * @public - * Human friendly name of the resource. - */ - name: string | undefined; - - /** - * @public - * Site ARN. - */ - site: string | undefined; - - /** - * @public - * JSON blob containing unstructured worker properties that are transient and may change during regular operation. - */ - additionalTransientProperties?: string; - - /** - * @public - * JSON blob containing unstructured worker properties that are fixed and won't change during regular operation. - */ - additionalFixedProperties?: string; - - /** - * @public - * Properties of the worker that are provided by the vendor FMS. - */ - vendorProperties?: VendorProperties; - - /** - * @public - * Supported coordinates for worker position. - */ - position?: PositionCoordinates; - - /** - * @public - * Worker orientation measured in units clockwise from north. - */ - orientation?: Orientation; -} - -/** - * @public - */ -export interface ListWorkersResponse { - /** - * @public - * Pagination token returned when another page of data exists. Provide it in your next call to the API to receive - * the next page. - */ - nextToken?: string; - - /** - * @public - * List of workers. - */ - workers?: Worker[]; -} - -/** - * @public - */ -export interface ListSitesRequest { - /** - * @public - * Maximum number of results to retrieve in a single ListSites call. - */ - maxResults?: number; - - /** - * @public - * Pagination token returned when another page of data exists. Provide it in your next call to the API to receive - * the next page. - */ - nextToken?: string; -} - -/** - * @public - * Facility containing destinations, workers, activities, and tasks. - */ -export interface Site { - /** - * @public - * Site ARN. - */ - arn: string | undefined; - - /** - * @public - * The name of the site. Mutable after creation and unique within a given account. - */ - name: string | undefined; - - /** - * @public - * A valid ISO 3166-1 alpha-2 code for the country in which the site resides. e.g., US. - */ - countryCode: string | undefined; - - /** - * @public - * Timestamp at which the resource was created. - */ - createdAt: Date | undefined; -} - -/** - * @public - */ -export interface ListSitesResponse { - /** - * @public - * Pagination token returned when another page of data exists. Provide it in your next call to the API to receive - * the next page. - */ - nextToken?: string; - - /** - * @public - * List of facilities. - */ - sites?: Site[]; -} - -/** - * @public - */ -export interface UpdateSiteRequest { - /** - * @public - * Site ARN. - */ - id: string | undefined; - - /** - * @public - * Human friendly name of the resource. - */ - name?: string; - - /** - * @public - * A valid ISO 3166-1 alpha-2 code for the country in which the site resides. e.g., US. - */ - countryCode?: string; - - /** - * @public - * A high-level description of the site. - */ - description?: string; -} - -/** - * @public - */ -export interface UpdateSiteResponse { - /** - * @public - * Site ARN. - */ - arn: string | undefined; - - /** - * @public - * Filters access by the site's identifier - */ - id: string | undefined; - - /** - * @public - * Human friendly name of the resource. - */ - name: string | undefined; - - /** - * @public - * A valid ISO 3166-1 alpha-2 code for the country in which the site resides. e.g., US. - */ - countryCode?: string; - - /** - * @public - * A high-level description of the site. - */ - description?: string; - - /** - * @public - * Timestamp at which the resource was last updated. - */ - updatedAt: Date | undefined; -} - -/** - * @public - */ -export interface ListWorkerFleetsRequest { - /** - * @public - * Site ARN. - */ - site: string | undefined; - - /** - * @public - * Maximum number of results to retrieve in a single ListWorkerFleets call. - */ - maxResults?: number; - - /** - * @public - * Pagination token returned when another page of data exists. Provide it in your next call to the API to receive - * the next page. - */ - nextToken?: string; -} - -/** - * @public - * A collection of workers organized within a facility. - */ -export interface WorkerFleet { - /** - * @public - * Full ARN of the worker fleet. - */ - arn: string | undefined; - - /** - * @public - * Filters access by the worker fleet's identifier - */ - id: string | undefined; - - /** - * @public - * Human friendly name of the resource. - */ - name: string | undefined; - - /** - * @public - * Site ARN. - */ - site: string | undefined; - - /** - * @public - * Timestamp at which the resource was created. - */ - createdAt: Date | undefined; - - /** - * @public - * Timestamp at which the resource was last updated. - */ - updatedAt: Date | undefined; - - /** - * @public - * JSON blob containing additional fixed properties regarding the worker fleet - */ - additionalFixedProperties?: string; -} - -/** - * @public - */ -export interface ListWorkerFleetsResponse { - /** - * @public - * Pagination token returned when another page of data exists. Provide it in your next call to the API to receive - * the next page. - */ - nextToken?: string; - - /** - * @public - * List of worker fleets. - */ - workerFleets?: WorkerFleet[]; -} - -/** - * @public - */ -export interface UpdateWorkerRequest { - /** - * @public - * Full ARN of the worker. - */ - id: string | undefined; - - /** - * @public - * Human friendly name of the resource. - */ - name?: string; - - /** - * @public - * JSON blob containing unstructured worker properties that are transient and may change during regular operation. - */ - additionalTransientProperties?: string; - - /** - * @public - * JSON blob containing unstructured worker properties that are fixed and won't change during regular operation. - */ - additionalFixedProperties?: string; - - /** - * @public - * Properties of the worker that are provided by the vendor FMS. - */ - vendorProperties?: VendorProperties; - - /** - * @public - * Supported coordinates for worker position. - */ - position?: PositionCoordinates; - - /** - * @public - * Worker orientation measured in units clockwise from north. - */ - orientation?: Orientation; -} - -/** - * @public - */ -export interface UpdateWorkerResponse { - /** - * @public - * Full ARN of the worker. - */ - arn: string | undefined; - - /** - * @public - * Filters access by the workers identifier - */ - id: string | undefined; - - /** - * @public - * Full ARN of the worker fleet. - */ - fleet: string | undefined; - - /** - * @public - * Timestamp at which the resource was last updated. - */ - updatedAt: Date | undefined; - - /** - * @public - * Human friendly name of the resource. - */ - name: string | undefined; - - /** - * @public - * JSON blob containing unstructured worker properties that are transient and may change during regular operation. - */ - additionalTransientProperties?: string; - - /** - * @public - * JSON blob containing unstructured worker properties that are fixed and won't change during regular operation. - */ - additionalFixedProperties?: string; - - /** - * @public - * Worker orientation measured in units clockwise from north. - */ - orientation?: Orientation; - - /** - * @public - * Properties of the worker that are provided by the vendor FMS. - */ - vendorProperties?: VendorProperties; - - /** - * @public - * Supported coordinates for worker position. - */ - position?: PositionCoordinates; -} - -/** - * @public - */ -export interface UpdateWorkerFleetRequest { - /** - * @public - * Full ARN of the worker fleet. - */ - id: string | undefined; - - /** - * @public - * Human friendly name of the resource. - */ - name?: string; - - /** - * @public - * JSON blob containing additional fixed properties regarding the worker fleet - */ - additionalFixedProperties?: string; -} - -/** - * @public - */ -export interface UpdateWorkerFleetResponse { - /** - * @public - * Full ARN of the worker fleet. - */ - arn: string | undefined; - - /** - * @public - * Filters access by the worker fleet's identifier - */ - id: string | undefined; - - /** - * @public - * Human friendly name of the resource. - */ - name: string | undefined; - - /** - * @public - * Timestamp at which the resource was last updated. - */ - updatedAt: Date | undefined; - - /** - * @public - * JSON blob containing additional fixed properties regarding the worker fleet - */ - additionalFixedProperties?: string; -} diff --git a/clients/client-iot-roborunner/src/pagination/Interfaces.ts b/clients/client-iot-roborunner/src/pagination/Interfaces.ts deleted file mode 100644 index 38a46336b8f5b..0000000000000 --- a/clients/client-iot-roborunner/src/pagination/Interfaces.ts +++ /dev/null @@ -1,11 +0,0 @@ -// smithy-typescript generated code -import { PaginationConfiguration } from "@smithy/types"; - -import { IoTRoboRunnerClient } from "../IoTRoboRunnerClient"; - -/** - * @public - */ -export interface IoTRoboRunnerPaginationConfiguration extends PaginationConfiguration { - client: IoTRoboRunnerClient; -} diff --git a/clients/client-iot-roborunner/src/pagination/ListDestinationsPaginator.ts b/clients/client-iot-roborunner/src/pagination/ListDestinationsPaginator.ts deleted file mode 100644 index 3ecd35aae08d4..0000000000000 --- a/clients/client-iot-roborunner/src/pagination/ListDestinationsPaginator.ts +++ /dev/null @@ -1,24 +0,0 @@ -// smithy-typescript generated code -import { createPaginator } from "@smithy/core"; -import { Paginator } from "@smithy/types"; - -import { - ListDestinationsCommand, - ListDestinationsCommandInput, - ListDestinationsCommandOutput, -} from "../commands/ListDestinationsCommand"; -import { IoTRoboRunnerClient } from "../IoTRoboRunnerClient"; -import { IoTRoboRunnerPaginationConfiguration } from "./Interfaces"; - -/** - * @public - */ -export const paginateListDestinations: ( - config: IoTRoboRunnerPaginationConfiguration, - input: ListDestinationsCommandInput, - ...rest: any[] -) => Paginator = createPaginator< - IoTRoboRunnerPaginationConfiguration, - ListDestinationsCommandInput, - ListDestinationsCommandOutput ->(IoTRoboRunnerClient, ListDestinationsCommand, "nextToken", "nextToken", "maxResults"); diff --git a/clients/client-iot-roborunner/src/pagination/ListSitesPaginator.ts b/clients/client-iot-roborunner/src/pagination/ListSitesPaginator.ts deleted file mode 100644 index e8012d20368a1..0000000000000 --- a/clients/client-iot-roborunner/src/pagination/ListSitesPaginator.ts +++ /dev/null @@ -1,20 +0,0 @@ -// smithy-typescript generated code -import { createPaginator } from "@smithy/core"; -import { Paginator } from "@smithy/types"; - -import { ListSitesCommand, ListSitesCommandInput, ListSitesCommandOutput } from "../commands/ListSitesCommand"; -import { IoTRoboRunnerClient } from "../IoTRoboRunnerClient"; -import { IoTRoboRunnerPaginationConfiguration } from "./Interfaces"; - -/** - * @public - */ -export const paginateListSites: ( - config: IoTRoboRunnerPaginationConfiguration, - input: ListSitesCommandInput, - ...rest: any[] -) => Paginator = createPaginator< - IoTRoboRunnerPaginationConfiguration, - ListSitesCommandInput, - ListSitesCommandOutput ->(IoTRoboRunnerClient, ListSitesCommand, "nextToken", "nextToken", "maxResults"); diff --git a/clients/client-iot-roborunner/src/pagination/ListWorkerFleetsPaginator.ts b/clients/client-iot-roborunner/src/pagination/ListWorkerFleetsPaginator.ts deleted file mode 100644 index e1e159dedb2bf..0000000000000 --- a/clients/client-iot-roborunner/src/pagination/ListWorkerFleetsPaginator.ts +++ /dev/null @@ -1,24 +0,0 @@ -// smithy-typescript generated code -import { createPaginator } from "@smithy/core"; -import { Paginator } from "@smithy/types"; - -import { - ListWorkerFleetsCommand, - ListWorkerFleetsCommandInput, - ListWorkerFleetsCommandOutput, -} from "../commands/ListWorkerFleetsCommand"; -import { IoTRoboRunnerClient } from "../IoTRoboRunnerClient"; -import { IoTRoboRunnerPaginationConfiguration } from "./Interfaces"; - -/** - * @public - */ -export const paginateListWorkerFleets: ( - config: IoTRoboRunnerPaginationConfiguration, - input: ListWorkerFleetsCommandInput, - ...rest: any[] -) => Paginator = createPaginator< - IoTRoboRunnerPaginationConfiguration, - ListWorkerFleetsCommandInput, - ListWorkerFleetsCommandOutput ->(IoTRoboRunnerClient, ListWorkerFleetsCommand, "nextToken", "nextToken", "maxResults"); diff --git a/clients/client-iot-roborunner/src/pagination/ListWorkersPaginator.ts b/clients/client-iot-roborunner/src/pagination/ListWorkersPaginator.ts deleted file mode 100644 index 5e0e80c1ae285..0000000000000 --- a/clients/client-iot-roborunner/src/pagination/ListWorkersPaginator.ts +++ /dev/null @@ -1,20 +0,0 @@ -// smithy-typescript generated code -import { createPaginator } from "@smithy/core"; -import { Paginator } from "@smithy/types"; - -import { ListWorkersCommand, ListWorkersCommandInput, ListWorkersCommandOutput } from "../commands/ListWorkersCommand"; -import { IoTRoboRunnerClient } from "../IoTRoboRunnerClient"; -import { IoTRoboRunnerPaginationConfiguration } from "./Interfaces"; - -/** - * @public - */ -export const paginateListWorkers: ( - config: IoTRoboRunnerPaginationConfiguration, - input: ListWorkersCommandInput, - ...rest: any[] -) => Paginator = createPaginator< - IoTRoboRunnerPaginationConfiguration, - ListWorkersCommandInput, - ListWorkersCommandOutput ->(IoTRoboRunnerClient, ListWorkersCommand, "nextToken", "nextToken", "maxResults"); diff --git a/clients/client-iot-roborunner/src/pagination/index.ts b/clients/client-iot-roborunner/src/pagination/index.ts deleted file mode 100644 index eb572169ea764..0000000000000 --- a/clients/client-iot-roborunner/src/pagination/index.ts +++ /dev/null @@ -1,6 +0,0 @@ -// smithy-typescript generated code -export * from "./Interfaces"; -export * from "./ListDestinationsPaginator"; -export * from "./ListSitesPaginator"; -export * from "./ListWorkerFleetsPaginator"; -export * from "./ListWorkersPaginator"; diff --git a/clients/client-iot-roborunner/src/protocols/Aws_restJson1.ts b/clients/client-iot-roborunner/src/protocols/Aws_restJson1.ts deleted file mode 100644 index 8af586f128a3b..0000000000000 --- a/clients/client-iot-roborunner/src/protocols/Aws_restJson1.ts +++ /dev/null @@ -1,1371 +0,0 @@ -// smithy-typescript generated code -import { - awsExpectUnion as __expectUnion, - loadRestJsonErrorCode, - parseJsonBody as parseBody, - parseJsonErrorBody as parseErrorBody, -} from "@aws-sdk/core"; -import { requestBuilder as rb } from "@smithy/core"; -import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http"; -import { - _json, - collectBody, - decorateServiceException as __decorateServiceException, - expectNonNull as __expectNonNull, - expectNumber as __expectNumber, - expectObject as __expectObject, - expectString as __expectString, - extendedEncodeURIComponent as __extendedEncodeURIComponent, - limitedParseDouble as __limitedParseDouble, - map, - parseEpochTimestamp as __parseEpochTimestamp, - serializeFloat as __serializeFloat, - take, - withBaseException, -} from "@smithy/smithy-client"; -import { - Endpoint as __Endpoint, - ResponseMetadata as __ResponseMetadata, - SerdeContext as __SerdeContext, -} from "@smithy/types"; -import { v4 as generateIdempotencyToken } from "uuid"; - -import { CreateDestinationCommandInput, CreateDestinationCommandOutput } from "../commands/CreateDestinationCommand"; -import { CreateSiteCommandInput, CreateSiteCommandOutput } from "../commands/CreateSiteCommand"; -import { CreateWorkerCommandInput, CreateWorkerCommandOutput } from "../commands/CreateWorkerCommand"; -import { CreateWorkerFleetCommandInput, CreateWorkerFleetCommandOutput } from "../commands/CreateWorkerFleetCommand"; -import { DeleteDestinationCommandInput, DeleteDestinationCommandOutput } from "../commands/DeleteDestinationCommand"; -import { DeleteSiteCommandInput, DeleteSiteCommandOutput } from "../commands/DeleteSiteCommand"; -import { DeleteWorkerCommandInput, DeleteWorkerCommandOutput } from "../commands/DeleteWorkerCommand"; -import { DeleteWorkerFleetCommandInput, DeleteWorkerFleetCommandOutput } from "../commands/DeleteWorkerFleetCommand"; -import { GetDestinationCommandInput, GetDestinationCommandOutput } from "../commands/GetDestinationCommand"; -import { GetSiteCommandInput, GetSiteCommandOutput } from "../commands/GetSiteCommand"; -import { GetWorkerCommandInput, GetWorkerCommandOutput } from "../commands/GetWorkerCommand"; -import { GetWorkerFleetCommandInput, GetWorkerFleetCommandOutput } from "../commands/GetWorkerFleetCommand"; -import { ListDestinationsCommandInput, ListDestinationsCommandOutput } from "../commands/ListDestinationsCommand"; -import { ListSitesCommandInput, ListSitesCommandOutput } from "../commands/ListSitesCommand"; -import { ListWorkerFleetsCommandInput, ListWorkerFleetsCommandOutput } from "../commands/ListWorkerFleetsCommand"; -import { ListWorkersCommandInput, ListWorkersCommandOutput } from "../commands/ListWorkersCommand"; -import { UpdateDestinationCommandInput, UpdateDestinationCommandOutput } from "../commands/UpdateDestinationCommand"; -import { UpdateSiteCommandInput, UpdateSiteCommandOutput } from "../commands/UpdateSiteCommand"; -import { UpdateWorkerCommandInput, UpdateWorkerCommandOutput } from "../commands/UpdateWorkerCommand"; -import { UpdateWorkerFleetCommandInput, UpdateWorkerFleetCommandOutput } from "../commands/UpdateWorkerFleetCommand"; -import { IoTRoboRunnerServiceException as __BaseException } from "../models/IoTRoboRunnerServiceException"; -import { - AccessDeniedException, - CartesianCoordinates, - ConflictException, - Destination, - InternalServerException, - Orientation, - PositionCoordinates, - ResourceNotFoundException, - ServiceQuotaExceededException, - Site, - ThrottlingException, - ValidationException, - VendorProperties, - Worker, - WorkerFleet, -} from "../models/models_0"; - -/** - * serializeAws_restJson1CreateDestinationCommand - */ -export const se_CreateDestinationCommand = async ( - input: CreateDestinationCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = { - "content-type": "application/json", - }; - b.bp("/createDestination"); - let body: any; - body = JSON.stringify( - take(input, { - additionalFixedProperties: [], - clientToken: [true, (_) => _ ?? generateIdempotencyToken()], - name: [], - site: [], - state: [], - }) - ); - b.m("POST").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1CreateSiteCommand - */ -export const se_CreateSiteCommand = async ( - input: CreateSiteCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = { - "content-type": "application/json", - }; - b.bp("/createSite"); - let body: any; - body = JSON.stringify( - take(input, { - clientToken: [true, (_) => _ ?? generateIdempotencyToken()], - countryCode: [], - description: [], - name: [], - }) - ); - b.m("POST").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1CreateWorkerCommand - */ -export const se_CreateWorkerCommand = async ( - input: CreateWorkerCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = { - "content-type": "application/json", - }; - b.bp("/createWorker"); - let body: any; - body = JSON.stringify( - take(input, { - additionalFixedProperties: [], - additionalTransientProperties: [], - clientToken: [true, (_) => _ ?? generateIdempotencyToken()], - fleet: [], - name: [], - orientation: (_) => se_Orientation(_, context), - position: (_) => se_PositionCoordinates(_, context), - vendorProperties: (_) => _json(_), - }) - ); - b.m("POST").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1CreateWorkerFleetCommand - */ -export const se_CreateWorkerFleetCommand = async ( - input: CreateWorkerFleetCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = { - "content-type": "application/json", - }; - b.bp("/createWorkerFleet"); - let body: any; - body = JSON.stringify( - take(input, { - additionalFixedProperties: [], - clientToken: [true, (_) => _ ?? generateIdempotencyToken()], - name: [], - site: [], - }) - ); - b.m("POST").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1DeleteDestinationCommand - */ -export const se_DeleteDestinationCommand = async ( - input: DeleteDestinationCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = { - "content-type": "application/json", - }; - b.bp("/deleteDestination"); - let body: any; - body = JSON.stringify( - take(input, { - id: [], - }) - ); - b.m("POST").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1DeleteSiteCommand - */ -export const se_DeleteSiteCommand = async ( - input: DeleteSiteCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = { - "content-type": "application/json", - }; - b.bp("/deleteSite"); - let body: any; - body = JSON.stringify( - take(input, { - id: [], - }) - ); - b.m("POST").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1DeleteWorkerCommand - */ -export const se_DeleteWorkerCommand = async ( - input: DeleteWorkerCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = { - "content-type": "application/json", - }; - b.bp("/deleteWorker"); - let body: any; - body = JSON.stringify( - take(input, { - id: [], - }) - ); - b.m("POST").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1DeleteWorkerFleetCommand - */ -export const se_DeleteWorkerFleetCommand = async ( - input: DeleteWorkerFleetCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = { - "content-type": "application/json", - }; - b.bp("/deleteWorkerFleet"); - let body: any; - body = JSON.stringify( - take(input, { - id: [], - }) - ); - b.m("POST").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1GetDestinationCommand - */ -export const se_GetDestinationCommand = async ( - input: GetDestinationCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/getDestination"); - const query: any = map({ - [_i]: [, __expectNonNull(input[_i]!, `id`)], - }); - let body: any; - b.m("GET").h(headers).q(query).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1GetSiteCommand - */ -export const se_GetSiteCommand = async ( - input: GetSiteCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/getSite"); - const query: any = map({ - [_i]: [, __expectNonNull(input[_i]!, `id`)], - }); - let body: any; - b.m("GET").h(headers).q(query).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1GetWorkerCommand - */ -export const se_GetWorkerCommand = async ( - input: GetWorkerCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/getWorker"); - const query: any = map({ - [_i]: [, __expectNonNull(input[_i]!, `id`)], - }); - let body: any; - b.m("GET").h(headers).q(query).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1GetWorkerFleetCommand - */ -export const se_GetWorkerFleetCommand = async ( - input: GetWorkerFleetCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/getWorkerFleet"); - const query: any = map({ - [_i]: [, __expectNonNull(input[_i]!, `id`)], - }); - let body: any; - b.m("GET").h(headers).q(query).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1ListDestinationsCommand - */ -export const se_ListDestinationsCommand = async ( - input: ListDestinationsCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/listDestinations"); - const query: any = map({ - [_s]: [, __expectNonNull(input[_s]!, `site`)], - [_mR]: [() => input.maxResults !== void 0, () => input[_mR]!.toString()], - [_nT]: [, input[_nT]!], - [_st]: [, input[_st]!], - }); - let body: any; - b.m("GET").h(headers).q(query).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1ListSitesCommand - */ -export const se_ListSitesCommand = async ( - input: ListSitesCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/listSites"); - const query: any = map({ - [_mR]: [() => input.maxResults !== void 0, () => input[_mR]!.toString()], - [_nT]: [, input[_nT]!], - }); - let body: any; - b.m("GET").h(headers).q(query).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1ListWorkerFleetsCommand - */ -export const se_ListWorkerFleetsCommand = async ( - input: ListWorkerFleetsCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/listWorkerFleets"); - const query: any = map({ - [_s]: [, __expectNonNull(input[_s]!, `site`)], - [_mR]: [() => input.maxResults !== void 0, () => input[_mR]!.toString()], - [_nT]: [, input[_nT]!], - }); - let body: any; - b.m("GET").h(headers).q(query).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1ListWorkersCommand - */ -export const se_ListWorkersCommand = async ( - input: ListWorkersCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = {}; - b.bp("/listWorkers"); - const query: any = map({ - [_s]: [, __expectNonNull(input[_s]!, `site`)], - [_mR]: [() => input.maxResults !== void 0, () => input[_mR]!.toString()], - [_nT]: [, input[_nT]!], - [_f]: [, input[_f]!], - }); - let body: any; - b.m("GET").h(headers).q(query).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1UpdateDestinationCommand - */ -export const se_UpdateDestinationCommand = async ( - input: UpdateDestinationCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = { - "content-type": "application/json", - }; - b.bp("/updateDestination"); - let body: any; - body = JSON.stringify( - take(input, { - additionalFixedProperties: [], - id: [], - name: [], - state: [], - }) - ); - b.m("POST").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1UpdateSiteCommand - */ -export const se_UpdateSiteCommand = async ( - input: UpdateSiteCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = { - "content-type": "application/json", - }; - b.bp("/updateSite"); - let body: any; - body = JSON.stringify( - take(input, { - countryCode: [], - description: [], - id: [], - name: [], - }) - ); - b.m("POST").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1UpdateWorkerCommand - */ -export const se_UpdateWorkerCommand = async ( - input: UpdateWorkerCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = { - "content-type": "application/json", - }; - b.bp("/updateWorker"); - let body: any; - body = JSON.stringify( - take(input, { - additionalFixedProperties: [], - additionalTransientProperties: [], - id: [], - name: [], - orientation: (_) => se_Orientation(_, context), - position: (_) => se_PositionCoordinates(_, context), - vendorProperties: (_) => _json(_), - }) - ); - b.m("POST").h(headers).b(body); - return b.build(); -}; - -/** - * serializeAws_restJson1UpdateWorkerFleetCommand - */ -export const se_UpdateWorkerFleetCommand = async ( - input: UpdateWorkerFleetCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = { - "content-type": "application/json", - }; - b.bp("/updateWorkerFleet"); - let body: any; - body = JSON.stringify( - take(input, { - additionalFixedProperties: [], - id: [], - name: [], - }) - ); - b.m("POST").h(headers).b(body); - return b.build(); -}; - -/** - * deserializeAws_restJson1CreateDestinationCommand - */ -export const de_CreateDestinationCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - arn: __expectString, - createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), - id: __expectString, - state: __expectString, - updatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1CreateSiteCommand - */ -export const de_CreateSiteCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - arn: __expectString, - createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), - id: __expectString, - updatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1CreateWorkerCommand - */ -export const de_CreateWorkerCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - arn: __expectString, - createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), - id: __expectString, - site: __expectString, - updatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1CreateWorkerFleetCommand - */ -export const de_CreateWorkerFleetCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - arn: __expectString, - createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), - id: __expectString, - updatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1DeleteDestinationCommand - */ -export const de_DeleteDestinationCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - await collectBody(output.body, context); - return contents; -}; - -/** - * deserializeAws_restJson1DeleteSiteCommand - */ -export const de_DeleteSiteCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - await collectBody(output.body, context); - return contents; -}; - -/** - * deserializeAws_restJson1DeleteWorkerCommand - */ -export const de_DeleteWorkerCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - await collectBody(output.body, context); - return contents; -}; - -/** - * deserializeAws_restJson1DeleteWorkerFleetCommand - */ -export const de_DeleteWorkerFleetCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - await collectBody(output.body, context); - return contents; -}; - -/** - * deserializeAws_restJson1GetDestinationCommand - */ -export const de_GetDestinationCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - additionalFixedProperties: __expectString, - arn: __expectString, - createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), - id: __expectString, - name: __expectString, - site: __expectString, - state: __expectString, - updatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1GetSiteCommand - */ -export const de_GetSiteCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - arn: __expectString, - countryCode: __expectString, - createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), - description: __expectString, - id: __expectString, - name: __expectString, - updatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1GetWorkerCommand - */ -export const de_GetWorkerCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - additionalFixedProperties: __expectString, - additionalTransientProperties: __expectString, - arn: __expectString, - createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), - fleet: __expectString, - id: __expectString, - name: __expectString, - orientation: (_) => de_Orientation(__expectUnion(_), context), - position: (_) => de_PositionCoordinates(__expectUnion(_), context), - site: __expectString, - updatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), - vendorProperties: _json, - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1GetWorkerFleetCommand - */ -export const de_GetWorkerFleetCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - additionalFixedProperties: __expectString, - arn: __expectString, - createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), - id: __expectString, - name: __expectString, - site: __expectString, - updatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1ListDestinationsCommand - */ -export const de_ListDestinationsCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - destinations: (_) => de_Destinations(_, context), - nextToken: __expectString, - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1ListSitesCommand - */ -export const de_ListSitesCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - nextToken: __expectString, - sites: (_) => de_Sites(_, context), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1ListWorkerFleetsCommand - */ -export const de_ListWorkerFleetsCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - nextToken: __expectString, - workerFleets: (_) => de_WorkerFleets(_, context), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1ListWorkersCommand - */ -export const de_ListWorkersCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - nextToken: __expectString, - workers: (_) => de_Workers(_, context), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1UpdateDestinationCommand - */ -export const de_UpdateDestinationCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - additionalFixedProperties: __expectString, - arn: __expectString, - id: __expectString, - name: __expectString, - state: __expectString, - updatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1UpdateSiteCommand - */ -export const de_UpdateSiteCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - arn: __expectString, - countryCode: __expectString, - description: __expectString, - id: __expectString, - name: __expectString, - updatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1UpdateWorkerCommand - */ -export const de_UpdateWorkerCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - additionalFixedProperties: __expectString, - additionalTransientProperties: __expectString, - arn: __expectString, - fleet: __expectString, - id: __expectString, - name: __expectString, - orientation: (_) => de_Orientation(__expectUnion(_), context), - position: (_) => de_PositionCoordinates(__expectUnion(_), context), - updatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), - vendorProperties: _json, - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserializeAws_restJson1UpdateWorkerFleetCommand - */ -export const de_UpdateWorkerFleetCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - additionalFixedProperties: __expectString, - arn: __expectString, - id: __expectString, - name: __expectString, - updatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), - }); - Object.assign(contents, doc); - return contents; -}; - -/** - * deserialize_Aws_restJson1CommandError - */ -const de_CommandError = async (output: __HttpResponse, context: __SerdeContext): Promise => { - const parsedOutput: any = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "AccessDeniedException": - case "com.amazonaws.iotroborunner#AccessDeniedException": - throw await de_AccessDeniedExceptionRes(parsedOutput, context); - case "ConflictException": - case "com.amazonaws.iotroborunner#ConflictException": - throw await de_ConflictExceptionRes(parsedOutput, context); - case "InternalServerException": - case "com.amazonaws.iotroborunner#InternalServerException": - throw await de_InternalServerExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.iotroborunner#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceQuotaExceededException": - case "com.amazonaws.iotroborunner#ServiceQuotaExceededException": - throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context); - case "ThrottlingException": - case "com.amazonaws.iotroborunner#ThrottlingException": - throw await de_ThrottlingExceptionRes(parsedOutput, context); - case "ValidationException": - case "com.amazonaws.iotroborunner#ValidationException": - throw await de_ValidationExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }) as never; - } -}; - -const throwDefaultError = withBaseException(__BaseException); -/** - * deserializeAws_restJson1AccessDeniedExceptionRes - */ -const de_AccessDeniedExceptionRes = async ( - parsedOutput: any, - context: __SerdeContext -): Promise => { - const contents: any = map({}); - const data: any = parsedOutput.body; - const doc = take(data, { - message: __expectString, - }); - Object.assign(contents, doc); - const exception = new AccessDeniedException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return __decorateServiceException(exception, parsedOutput.body); -}; - -/** - * deserializeAws_restJson1ConflictExceptionRes - */ -const de_ConflictExceptionRes = async (parsedOutput: any, context: __SerdeContext): Promise => { - const contents: any = map({}); - const data: any = parsedOutput.body; - const doc = take(data, { - message: __expectString, - }); - Object.assign(contents, doc); - const exception = new ConflictException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return __decorateServiceException(exception, parsedOutput.body); -}; - -/** - * deserializeAws_restJson1InternalServerExceptionRes - */ -const de_InternalServerExceptionRes = async ( - parsedOutput: any, - context: __SerdeContext -): Promise => { - const contents: any = map({}); - const data: any = parsedOutput.body; - const doc = take(data, { - message: __expectString, - }); - Object.assign(contents, doc); - const exception = new InternalServerException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return __decorateServiceException(exception, parsedOutput.body); -}; - -/** - * deserializeAws_restJson1ResourceNotFoundExceptionRes - */ -const de_ResourceNotFoundExceptionRes = async ( - parsedOutput: any, - context: __SerdeContext -): Promise => { - const contents: any = map({}); - const data: any = parsedOutput.body; - const doc = take(data, { - message: __expectString, - }); - Object.assign(contents, doc); - const exception = new ResourceNotFoundException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return __decorateServiceException(exception, parsedOutput.body); -}; - -/** - * deserializeAws_restJson1ServiceQuotaExceededExceptionRes - */ -const de_ServiceQuotaExceededExceptionRes = async ( - parsedOutput: any, - context: __SerdeContext -): Promise => { - const contents: any = map({}); - const data: any = parsedOutput.body; - const doc = take(data, { - message: __expectString, - }); - Object.assign(contents, doc); - const exception = new ServiceQuotaExceededException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return __decorateServiceException(exception, parsedOutput.body); -}; - -/** - * deserializeAws_restJson1ThrottlingExceptionRes - */ -const de_ThrottlingExceptionRes = async (parsedOutput: any, context: __SerdeContext): Promise => { - const contents: any = map({}); - const data: any = parsedOutput.body; - const doc = take(data, { - message: __expectString, - }); - Object.assign(contents, doc); - const exception = new ThrottlingException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return __decorateServiceException(exception, parsedOutput.body); -}; - -/** - * deserializeAws_restJson1ValidationExceptionRes - */ -const de_ValidationExceptionRes = async (parsedOutput: any, context: __SerdeContext): Promise => { - const contents: any = map({}); - const data: any = parsedOutput.body; - const doc = take(data, { - message: __expectString, - }); - Object.assign(contents, doc); - const exception = new ValidationException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return __decorateServiceException(exception, parsedOutput.body); -}; - -/** - * serializeAws_restJson1CartesianCoordinates - */ -const se_CartesianCoordinates = (input: CartesianCoordinates, context: __SerdeContext): any => { - return take(input, { - x: __serializeFloat, - y: __serializeFloat, - z: __serializeFloat, - }); -}; - -/** - * serializeAws_restJson1Orientation - */ -const se_Orientation = (input: Orientation, context: __SerdeContext): any => { - return Orientation.visit(input, { - degrees: (value) => ({ degrees: __serializeFloat(value) }), - _: (name, value) => ({ name: value } as any), - }); -}; - -/** - * serializeAws_restJson1PositionCoordinates - */ -const se_PositionCoordinates = (input: PositionCoordinates, context: __SerdeContext): any => { - return PositionCoordinates.visit(input, { - cartesianCoordinates: (value) => ({ cartesianCoordinates: se_CartesianCoordinates(value, context) }), - _: (name, value) => ({ name: value } as any), - }); -}; - -// se_VendorProperties omitted. - -/** - * deserializeAws_restJson1CartesianCoordinates - */ -const de_CartesianCoordinates = (output: any, context: __SerdeContext): CartesianCoordinates => { - return take(output, { - x: __limitedParseDouble, - y: __limitedParseDouble, - z: __limitedParseDouble, - }) as any; -}; - -/** - * deserializeAws_restJson1Destination - */ -const de_Destination = (output: any, context: __SerdeContext): Destination => { - return take(output, { - additionalFixedProperties: __expectString, - arn: __expectString, - createdAt: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), - id: __expectString, - name: __expectString, - site: __expectString, - state: __expectString, - updatedAt: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), - }) as any; -}; - -/** - * deserializeAws_restJson1Destinations - */ -const de_Destinations = (output: any, context: __SerdeContext): Destination[] => { - const retVal = (output || []) - .filter((e: any) => e != null) - .map((entry: any) => { - return de_Destination(entry, context); - }); - return retVal; -}; - -/** - * deserializeAws_restJson1Orientation - */ -const de_Orientation = (output: any, context: __SerdeContext): Orientation => { - if (__limitedParseDouble(output.degrees) !== undefined) { - return { degrees: __limitedParseDouble(output.degrees) as any }; - } - return { $unknown: Object.entries(output)[0] }; -}; - -/** - * deserializeAws_restJson1PositionCoordinates - */ -const de_PositionCoordinates = (output: any, context: __SerdeContext): PositionCoordinates => { - if (output.cartesianCoordinates != null) { - return { - cartesianCoordinates: de_CartesianCoordinates(output.cartesianCoordinates, context), - }; - } - return { $unknown: Object.entries(output)[0] }; -}; - -/** - * deserializeAws_restJson1Site - */ -const de_Site = (output: any, context: __SerdeContext): Site => { - return take(output, { - arn: __expectString, - countryCode: __expectString, - createdAt: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), - name: __expectString, - }) as any; -}; - -/** - * deserializeAws_restJson1Sites - */ -const de_Sites = (output: any, context: __SerdeContext): Site[] => { - const retVal = (output || []) - .filter((e: any) => e != null) - .map((entry: any) => { - return de_Site(entry, context); - }); - return retVal; -}; - -// de_VendorProperties omitted. - -/** - * deserializeAws_restJson1Worker - */ -const de_Worker = (output: any, context: __SerdeContext): Worker => { - return take(output, { - additionalFixedProperties: __expectString, - additionalTransientProperties: __expectString, - arn: __expectString, - createdAt: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), - fleet: __expectString, - id: __expectString, - name: __expectString, - orientation: (_: any) => de_Orientation(__expectUnion(_), context), - position: (_: any) => de_PositionCoordinates(__expectUnion(_), context), - site: __expectString, - updatedAt: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), - vendorProperties: _json, - }) as any; -}; - -/** - * deserializeAws_restJson1WorkerFleet - */ -const de_WorkerFleet = (output: any, context: __SerdeContext): WorkerFleet => { - return take(output, { - additionalFixedProperties: __expectString, - arn: __expectString, - createdAt: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), - id: __expectString, - name: __expectString, - site: __expectString, - updatedAt: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), - }) as any; -}; - -/** - * deserializeAws_restJson1WorkerFleets - */ -const de_WorkerFleets = (output: any, context: __SerdeContext): WorkerFleet[] => { - const retVal = (output || []) - .filter((e: any) => e != null) - .map((entry: any) => { - return de_WorkerFleet(entry, context); - }); - return retVal; -}; - -/** - * deserializeAws_restJson1Workers - */ -const de_Workers = (output: any, context: __SerdeContext): Worker[] => { - const retVal = (output || []) - .filter((e: any) => e != null) - .map((entry: any) => { - return de_Worker(entry, context); - }); - return retVal; -}; - -const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ - httpStatusCode: output.statusCode, - requestId: - output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"], - extendedRequestId: output.headers["x-amz-id-2"], - cfId: output.headers["x-amz-cf-id"], -}); - -// Encode Uint8Array data into string with utf-8. -const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => - collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); - -const isSerializableHeaderValue = (value: any): boolean => - value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); - -const _f = "fleet"; -const _i = "id"; -const _mR = "maxResults"; -const _nT = "nextToken"; -const _s = "site"; -const _st = "state"; diff --git a/clients/client-iot-roborunner/src/runtimeConfig.browser.ts b/clients/client-iot-roborunner/src/runtimeConfig.browser.ts deleted file mode 100644 index 138d469f2ff3b..0000000000000 --- a/clients/client-iot-roborunner/src/runtimeConfig.browser.ts +++ /dev/null @@ -1,44 +0,0 @@ -// smithy-typescript generated code -// @ts-ignore: package.json will be imported from dist folders -import packageInfo from "../package.json"; // eslint-disable-line - -import { Sha256 } from "@aws-crypto/sha256-browser"; -import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; -import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver"; -import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler"; -import { invalidProvider } from "@smithy/invalid-dependency"; -import { calculateBodyLength } from "@smithy/util-body-length-browser"; -import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry"; -import { IoTRoboRunnerClientConfig } from "./IoTRoboRunnerClient"; -import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared"; -import { loadConfigsForDefaultMode } from "@smithy/smithy-client"; -import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser"; - -/** - * @internal - */ -export const getRuntimeConfig = (config: IoTRoboRunnerClientConfig) => { - const defaultsMode = resolveDefaultsModeConfig(config); - const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode); - const clientSharedValues = getSharedRuntimeConfig(config); - return { - ...clientSharedValues, - ...config, - runtime: "browser", - defaultsMode, - bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? ((_: unknown) => () => Promise.reject(new Error("Credential is missing"))), - defaultUserAgentProvider: - config?.defaultUserAgentProvider ?? - defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), - maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS, - region: config?.region ?? invalidProvider("Region is missing"), - requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider), - retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE), - sha256: config?.sha256 ?? Sha256, - streamCollector: config?.streamCollector ?? streamCollector, - useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)), - useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)), - }; -}; diff --git a/clients/client-iot-roborunner/src/runtimeConfig.native.ts b/clients/client-iot-roborunner/src/runtimeConfig.native.ts deleted file mode 100644 index 701d3066f1c76..0000000000000 --- a/clients/client-iot-roborunner/src/runtimeConfig.native.ts +++ /dev/null @@ -1,18 +0,0 @@ -// smithy-typescript generated code -import { Sha256 } from "@aws-crypto/sha256-js"; - -import { IoTRoboRunnerClientConfig } from "./IoTRoboRunnerClient"; -import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser"; - -/** - * @internal - */ -export const getRuntimeConfig = (config: IoTRoboRunnerClientConfig) => { - const browserDefaults = getBrowserRuntimeConfig(config); - return { - ...browserDefaults, - ...config, - runtime: "react-native", - sha256: config?.sha256 ?? Sha256, - }; -}; diff --git a/clients/client-iot-roborunner/src/runtimeConfig.shared.ts b/clients/client-iot-roborunner/src/runtimeConfig.shared.ts deleted file mode 100644 index 145c971a01f38..0000000000000 --- a/clients/client-iot-roborunner/src/runtimeConfig.shared.ts +++ /dev/null @@ -1,38 +0,0 @@ -// smithy-typescript generated code -import { AwsSdkSigV4Signer } from "@aws-sdk/core"; -import { NoOpLogger } from "@smithy/smithy-client"; -import { IdentityProviderConfig } from "@smithy/types"; -import { parseUrl } from "@smithy/url-parser"; -import { fromBase64, toBase64 } from "@smithy/util-base64"; -import { fromUtf8, toUtf8 } from "@smithy/util-utf8"; - -import { defaultIoTRoboRunnerHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider"; -import { defaultEndpointResolver } from "./endpoint/endpointResolver"; -import { IoTRoboRunnerClientConfig } from "./IoTRoboRunnerClient"; - -/** - * @internal - */ -export const getRuntimeConfig = (config: IoTRoboRunnerClientConfig) => { - return { - apiVersion: "2018-05-10", - base64Decoder: config?.base64Decoder ?? fromBase64, - base64Encoder: config?.base64Encoder ?? toBase64, - disableHostPrefix: config?.disableHostPrefix ?? false, - endpointProvider: config?.endpointProvider ?? defaultEndpointResolver, - extensions: config?.extensions ?? [], - httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultIoTRoboRunnerHttpAuthSchemeProvider, - httpAuthSchemes: config?.httpAuthSchemes ?? [ - { - schemeId: "aws.auth#sigv4", - identityProvider: (ipc: IdentityProviderConfig) => ipc.getIdentityProvider("aws.auth#sigv4"), - signer: new AwsSdkSigV4Signer(), - }, - ], - logger: config?.logger ?? new NoOpLogger(), - serviceId: config?.serviceId ?? "IoT RoboRunner", - urlParser: config?.urlParser ?? parseUrl, - utf8Decoder: config?.utf8Decoder ?? fromUtf8, - utf8Encoder: config?.utf8Encoder ?? toUtf8, - }; -}; diff --git a/clients/client-iot-roborunner/src/runtimeConfig.ts b/clients/client-iot-roborunner/src/runtimeConfig.ts deleted file mode 100644 index 5ce25e8a30e8c..0000000000000 --- a/clients/client-iot-roborunner/src/runtimeConfig.ts +++ /dev/null @@ -1,59 +0,0 @@ -// smithy-typescript generated code -// @ts-ignore: package.json will be imported from dist folders -import packageInfo from "../package.json"; // eslint-disable-line - -import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; -import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; -import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; -import { - NODE_REGION_CONFIG_FILE_OPTIONS, - NODE_REGION_CONFIG_OPTIONS, - NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, - NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, -} from "@smithy/config-resolver"; -import { Hash } from "@smithy/hash-node"; -import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry"; -import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider"; -import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler"; -import { calculateBodyLength } from "@smithy/util-body-length-node"; -import { DEFAULT_RETRY_MODE } from "@smithy/util-retry"; -import { IoTRoboRunnerClientConfig } from "./IoTRoboRunnerClient"; -import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared"; -import { loadConfigsForDefaultMode } from "@smithy/smithy-client"; -import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node"; -import { emitWarningIfUnsupportedVersion } from "@smithy/smithy-client"; - -/** - * @internal - */ -export const getRuntimeConfig = (config: IoTRoboRunnerClientConfig) => { - emitWarningIfUnsupportedVersion(process.version); - const defaultsMode = resolveDefaultsModeConfig(config); - const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode); - const clientSharedValues = getSharedRuntimeConfig(config); - awsCheckVersion(process.version); - return { - ...clientSharedValues, - ...config, - runtime: "node", - defaultsMode, - bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, - defaultUserAgentProvider: - config?.defaultUserAgentProvider ?? - defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), - maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), - region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), - requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider), - retryMode: - config?.retryMode ?? - loadNodeConfig({ - ...NODE_RETRY_MODE_CONFIG_OPTIONS, - default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE, - }), - sha256: config?.sha256 ?? Hash.bind(null, "sha256"), - streamCollector: config?.streamCollector ?? streamCollector, - useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), - useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), - }; -}; diff --git a/clients/client-iot-roborunner/src/runtimeExtensions.ts b/clients/client-iot-roborunner/src/runtimeExtensions.ts deleted file mode 100644 index 6455e13d4198a..0000000000000 --- a/clients/client-iot-roborunner/src/runtimeExtensions.ts +++ /dev/null @@ -1,48 +0,0 @@ -// smithy-typescript generated code -import { - getAwsRegionExtensionConfiguration, - resolveAwsRegionExtensionConfiguration, -} from "@aws-sdk/region-config-resolver"; -import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http"; -import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client"; - -import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration"; -import { IoTRoboRunnerExtensionConfiguration } from "./extensionConfiguration"; - -/** - * @public - */ -export interface RuntimeExtension { - configure(extensionConfiguration: IoTRoboRunnerExtensionConfiguration): void; -} - -/** - * @public - */ -export interface RuntimeExtensionsConfig { - extensions: RuntimeExtension[]; -} - -const asPartial = >(t: T) => t; - -/** - * @internal - */ -export const resolveRuntimeExtensions = (runtimeConfig: any, extensions: RuntimeExtension[]) => { - const extensionConfiguration: IoTRoboRunnerExtensionConfiguration = { - ...asPartial(getAwsRegionExtensionConfiguration(runtimeConfig)), - ...asPartial(getDefaultExtensionConfiguration(runtimeConfig)), - ...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)), - ...asPartial(getHttpAuthExtensionConfiguration(runtimeConfig)), - }; - - extensions.forEach((extension) => extension.configure(extensionConfiguration)); - - return { - ...runtimeConfig, - ...resolveAwsRegionExtensionConfiguration(extensionConfiguration), - ...resolveDefaultRuntimeConfig(extensionConfiguration), - ...resolveHttpHandlerRuntimeConfig(extensionConfiguration), - ...resolveHttpAuthRuntimeConfig(extensionConfiguration), - }; -}; diff --git a/clients/client-iot-roborunner/tsconfig.cjs.json b/clients/client-iot-roborunner/tsconfig.cjs.json deleted file mode 100644 index 3567d85ba8460..0000000000000 --- a/clients/client-iot-roborunner/tsconfig.cjs.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig", - "compilerOptions": { - "outDir": "dist-cjs" - } -} diff --git a/clients/client-iot-roborunner/tsconfig.es.json b/clients/client-iot-roborunner/tsconfig.es.json deleted file mode 100644 index 809f57bde65e6..0000000000000 --- a/clients/client-iot-roborunner/tsconfig.es.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "./tsconfig", - "compilerOptions": { - "lib": ["dom"], - "module": "esnext", - "outDir": "dist-es" - } -} diff --git a/clients/client-iot-roborunner/tsconfig.json b/clients/client-iot-roborunner/tsconfig.json deleted file mode 100644 index 344909de21289..0000000000000 --- a/clients/client-iot-roborunner/tsconfig.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "extends": "@tsconfig/node14/tsconfig.json", - "compilerOptions": { - "downlevelIteration": true, - "importHelpers": true, - "incremental": true, - "removeComments": true, - "resolveJsonModule": true, - "rootDir": "src", - "useUnknownInCatchVariables": false - }, - "exclude": ["test/"] -} diff --git a/clients/client-iot-roborunner/tsconfig.types.json b/clients/client-iot-roborunner/tsconfig.types.json deleted file mode 100644 index 4c3dfa7b3d25f..0000000000000 --- a/clients/client-iot-roborunner/tsconfig.types.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "extends": "./tsconfig", - "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true - }, - "exclude": ["test/**/*", "dist-types/**/*"] -} diff --git a/codegen/sdk-codegen/aws-models/iot-roborunner.json b/codegen/sdk-codegen/aws-models/iot-roborunner.json deleted file mode 100644 index 1a9cd13f131cf..0000000000000 --- a/codegen/sdk-codegen/aws-models/iot-roborunner.json +++ /dev/null @@ -1,3326 +0,0 @@ -{ - "smithy": "2.0", - "shapes": { - "com.amazonaws.iotroborunner#AccessDeniedException": { - "type": "structure", - "members": { - "message": { - "target": "smithy.api#String" - } - }, - "traits": { - "smithy.api#documentation": " User does not have sufficient access to perform this action.\t", - "smithy.api#error": "client", - "smithy.api#httpError": 403, - "smithy.api#retryable": {} - } - }, - "com.amazonaws.iotroborunner#CartesianCoordinates": { - "type": "structure", - "members": { - "x": { - "target": "smithy.api#Double", - "traits": { - "smithy.api#documentation": "X coordinate.", - "smithy.api#required": {} - } - }, - "y": { - "target": "smithy.api#Double", - "traits": { - "smithy.api#documentation": "Y coordinate.", - "smithy.api#required": {} - } - }, - "z": { - "target": "smithy.api#Double", - "traits": { - "smithy.api#default": null, - "smithy.api#documentation": "Z coordinate." - } - } - }, - "traits": { - "smithy.api#documentation": "Cartesian coordinates in 3D space relative to the RoboRunner origin." - } - }, - "com.amazonaws.iotroborunner#ConflictException": { - "type": "structure", - "members": { - "message": { - "target": "smithy.api#String" - } - }, - "traits": { - "smithy.api#documentation": "Exception thrown if a resource in a create request already exists.", - "smithy.api#error": "client", - "smithy.api#httpError": 409 - } - }, - "com.amazonaws.iotroborunner#CreateDestination": { - "type": "operation", - "input": { - "target": "com.amazonaws.iotroborunner#CreateDestinationRequest" - }, - "output": { - "target": "com.amazonaws.iotroborunner#CreateDestinationResponse" - }, - "errors": [ - { - "target": "com.amazonaws.iotroborunner#AccessDeniedException" - }, - { - "target": "com.amazonaws.iotroborunner#ConflictException" - }, - { - "target": "com.amazonaws.iotroborunner#InternalServerException" - }, - { - "target": "com.amazonaws.iotroborunner#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.iotroborunner#ServiceQuotaExceededException" - }, - { - "target": "com.amazonaws.iotroborunner#ThrottlingException" - }, - { - "target": "com.amazonaws.iotroborunner#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "Grants permission to create a destination", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/createDestination" - }, - "smithy.api#idempotent": {} - } - }, - "com.amazonaws.iotroborunner#CreateDestinationRequest": { - "type": "structure", - "members": { - "clientToken": { - "target": "com.amazonaws.iotroborunner#IdempotencyToken", - "traits": { - "smithy.api#idempotencyToken": {} - } - }, - "name": { - "target": "com.amazonaws.iotroborunner#Name", - "traits": { - "smithy.api#required": {} - } - }, - "site": { - "target": "com.amazonaws.iotroborunner#SiteGenericIdentifier", - "traits": { - "smithy.api#required": {} - } - }, - "state": { - "target": "com.amazonaws.iotroborunner#DestinationState", - "traits": { - "smithy.api#documentation": "The state of the destination. Default used if not specified." - } - }, - "additionalFixedProperties": { - "target": "com.amazonaws.iotroborunner#DestinationAdditionalFixedProperties" - } - } - }, - "com.amazonaws.iotroborunner#CreateDestinationResponse": { - "type": "structure", - "members": { - "arn": { - "target": "com.amazonaws.iotroborunner#DestinationArn", - "traits": { - "smithy.api#required": {} - } - }, - "id": { - "target": "com.amazonaws.iotroborunner#DestinationId", - "traits": { - "smithy.api#required": {} - } - }, - "createdAt": { - "target": "com.amazonaws.iotroborunner#CreatedAtTimestamp", - "traits": { - "smithy.api#required": {} - } - }, - "updatedAt": { - "target": "com.amazonaws.iotroborunner#UpdatedAtTimestamp", - "traits": { - "smithy.api#required": {} - } - }, - "state": { - "target": "com.amazonaws.iotroborunner#DestinationState", - "traits": { - "smithy.api#required": {} - } - } - } - }, - "com.amazonaws.iotroborunner#CreateSite": { - "type": "operation", - "input": { - "target": "com.amazonaws.iotroborunner#CreateSiteRequest" - }, - "output": { - "target": "com.amazonaws.iotroborunner#CreateSiteResponse" - }, - "errors": [ - { - "target": "com.amazonaws.iotroborunner#AccessDeniedException" - }, - { - "target": "com.amazonaws.iotroborunner#ConflictException" - }, - { - "target": "com.amazonaws.iotroborunner#InternalServerException" - }, - { - "target": "com.amazonaws.iotroborunner#ServiceQuotaExceededException" - }, - { - "target": "com.amazonaws.iotroborunner#ThrottlingException" - }, - { - "target": "com.amazonaws.iotroborunner#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "Grants permission to create a site", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/createSite" - }, - "smithy.api#idempotent": {} - } - }, - "com.amazonaws.iotroborunner#CreateSiteRequest": { - "type": "structure", - "members": { - "clientToken": { - "target": "com.amazonaws.iotroborunner#IdempotencyToken", - "traits": { - "smithy.api#idempotencyToken": {} - } - }, - "name": { - "target": "com.amazonaws.iotroborunner#Name", - "traits": { - "smithy.api#required": {} - } - }, - "countryCode": { - "target": "com.amazonaws.iotroborunner#SiteCountryCode", - "traits": { - "smithy.api#required": {} - } - }, - "description": { - "target": "com.amazonaws.iotroborunner#SiteDescription" - } - } - }, - "com.amazonaws.iotroborunner#CreateSiteResponse": { - "type": "structure", - "members": { - "arn": { - "target": "com.amazonaws.iotroborunner#SiteArn", - "traits": { - "smithy.api#required": {} - } - }, - "id": { - "target": "com.amazonaws.iotroborunner#SiteId", - "traits": { - "smithy.api#required": {} - } - }, - "createdAt": { - "target": "com.amazonaws.iotroborunner#CreatedAtTimestamp", - "traits": { - "smithy.api#required": {} - } - }, - "updatedAt": { - "target": "com.amazonaws.iotroborunner#UpdatedAtTimestamp", - "traits": { - "smithy.api#required": {} - } - } - } - }, - "com.amazonaws.iotroborunner#CreateWorker": { - "type": "operation", - "input": { - "target": "com.amazonaws.iotroborunner#CreateWorkerRequest" - }, - "output": { - "target": "com.amazonaws.iotroborunner#CreateWorkerResponse" - }, - "errors": [ - { - "target": "com.amazonaws.iotroborunner#AccessDeniedException" - }, - { - "target": "com.amazonaws.iotroborunner#ConflictException" - }, - { - "target": "com.amazonaws.iotroborunner#InternalServerException" - }, - { - "target": "com.amazonaws.iotroborunner#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.iotroborunner#ServiceQuotaExceededException" - }, - { - "target": "com.amazonaws.iotroborunner#ThrottlingException" - }, - { - "target": "com.amazonaws.iotroborunner#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "Grants permission to create a worker", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/createWorker" - }, - "smithy.api#idempotent": {} - } - }, - "com.amazonaws.iotroborunner#CreateWorkerFleet": { - "type": "operation", - "input": { - "target": "com.amazonaws.iotroborunner#CreateWorkerFleetRequest" - }, - "output": { - "target": "com.amazonaws.iotroborunner#CreateWorkerFleetResponse" - }, - "errors": [ - { - "target": "com.amazonaws.iotroborunner#AccessDeniedException" - }, - { - "target": "com.amazonaws.iotroborunner#ConflictException" - }, - { - "target": "com.amazonaws.iotroborunner#InternalServerException" - }, - { - "target": "com.amazonaws.iotroborunner#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.iotroborunner#ServiceQuotaExceededException" - }, - { - "target": "com.amazonaws.iotroborunner#ThrottlingException" - }, - { - "target": "com.amazonaws.iotroborunner#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "Grants permission to create a worker fleet", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/createWorkerFleet" - }, - "smithy.api#idempotent": {} - } - }, - "com.amazonaws.iotroborunner#CreateWorkerFleetRequest": { - "type": "structure", - "members": { - "clientToken": { - "target": "com.amazonaws.iotroborunner#IdempotencyToken", - "traits": { - "smithy.api#idempotencyToken": {} - } - }, - "name": { - "target": "com.amazonaws.iotroborunner#Name", - "traits": { - "smithy.api#required": {} - } - }, - "site": { - "target": "com.amazonaws.iotroborunner#SiteGenericIdentifier", - "traits": { - "smithy.api#required": {}, - "smithy.api#resourceIdentifier": "siteId" - } - }, - "additionalFixedProperties": { - "target": "com.amazonaws.iotroborunner#WorkerFleetAdditionalFixedProperties" - } - } - }, - "com.amazonaws.iotroborunner#CreateWorkerFleetResponse": { - "type": "structure", - "members": { - "arn": { - "target": "com.amazonaws.iotroborunner#WorkerFleetArn", - "traits": { - "smithy.api#required": {} - } - }, - "id": { - "target": "com.amazonaws.iotroborunner#WorkerFleetId", - "traits": { - "smithy.api#required": {} - } - }, - "createdAt": { - "target": "com.amazonaws.iotroborunner#CreatedAtTimestamp", - "traits": { - "smithy.api#required": {} - } - }, - "updatedAt": { - "target": "com.amazonaws.iotroborunner#UpdatedAtTimestamp", - "traits": { - "smithy.api#required": {} - } - } - } - }, - "com.amazonaws.iotroborunner#CreateWorkerRequest": { - "type": "structure", - "members": { - "clientToken": { - "target": "com.amazonaws.iotroborunner#IdempotencyToken", - "traits": { - "smithy.api#idempotencyToken": {} - } - }, - "name": { - "target": "com.amazonaws.iotroborunner#Name", - "traits": { - "smithy.api#required": {} - } - }, - "fleet": { - "target": "com.amazonaws.iotroborunner#WorkerFleetGenericIdentifier", - "traits": { - "smithy.api#required": {} - } - }, - "additionalTransientProperties": { - "target": "com.amazonaws.iotroborunner#WorkerAdditionalTransientPropertiesJson" - }, - "additionalFixedProperties": { - "target": "com.amazonaws.iotroborunner#WorkerAdditionalFixedPropertiesJson" - }, - "vendorProperties": { - "target": "com.amazonaws.iotroborunner#VendorProperties" - }, - "position": { - "target": "com.amazonaws.iotroborunner#PositionCoordinates" - }, - "orientation": { - "target": "com.amazonaws.iotroborunner#Orientation" - } - } - }, - "com.amazonaws.iotroborunner#CreateWorkerResponse": { - "type": "structure", - "members": { - "arn": { - "target": "com.amazonaws.iotroborunner#WorkerArn", - "traits": { - "smithy.api#required": {} - } - }, - "id": { - "target": "com.amazonaws.iotroborunner#WorkerId", - "traits": { - "smithy.api#required": {} - } - }, - "createdAt": { - "target": "com.amazonaws.iotroborunner#CreatedAtTimestamp", - "traits": { - "smithy.api#required": {} - } - }, - "updatedAt": { - "target": "com.amazonaws.iotroborunner#UpdatedAtTimestamp", - "traits": { - "smithy.api#required": {} - } - }, - "site": { - "target": "com.amazonaws.iotroborunner#SiteArn", - "traits": { - "smithy.api#required": {} - } - } - } - }, - "com.amazonaws.iotroborunner#CreatedAtTimestamp": { - "type": "timestamp", - "traits": { - "smithy.api#documentation": "Timestamp at which the resource was created." - } - }, - "com.amazonaws.iotroborunner#DeleteDestination": { - "type": "operation", - "input": { - "target": "com.amazonaws.iotroborunner#DeleteDestinationRequest" - }, - "output": { - "target": "com.amazonaws.iotroborunner#DeleteDestinationResponse" - }, - "errors": [ - { - "target": "com.amazonaws.iotroborunner#AccessDeniedException" - }, - { - "target": "com.amazonaws.iotroborunner#ConflictException" - }, - { - "target": "com.amazonaws.iotroborunner#InternalServerException" - }, - { - "target": "com.amazonaws.iotroborunner#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.iotroborunner#ThrottlingException" - }, - { - "target": "com.amazonaws.iotroborunner#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "Grants permission to delete a destination", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/deleteDestination" - } - } - }, - "com.amazonaws.iotroborunner#DeleteDestinationRequest": { - "type": "structure", - "members": { - "id": { - "target": "com.amazonaws.iotroborunner#DestinationGenericIdentifier", - "traits": { - "smithy.api#required": {}, - "smithy.api#resourceIdentifier": "id" - } - } - } - }, - "com.amazonaws.iotroborunner#DeleteDestinationResponse": { - "type": "structure", - "members": {} - }, - "com.amazonaws.iotroborunner#DeleteSite": { - "type": "operation", - "input": { - "target": "com.amazonaws.iotroborunner#DeleteSiteRequest" - }, - "output": { - "target": "com.amazonaws.iotroborunner#DeleteSiteResponse" - }, - "errors": [ - { - "target": "com.amazonaws.iotroborunner#AccessDeniedException" - }, - { - "target": "com.amazonaws.iotroborunner#ConflictException" - }, - { - "target": "com.amazonaws.iotroborunner#InternalServerException" - }, - { - "target": "com.amazonaws.iotroborunner#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.iotroborunner#ThrottlingException" - }, - { - "target": "com.amazonaws.iotroborunner#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "Grants permission to delete a site", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/deleteSite" - } - } - }, - "com.amazonaws.iotroborunner#DeleteSiteRequest": { - "type": "structure", - "members": { - "id": { - "target": "com.amazonaws.iotroborunner#SiteGenericIdentifier", - "traits": { - "smithy.api#required": {}, - "smithy.api#resourceIdentifier": "siteId" - } - } - } - }, - "com.amazonaws.iotroborunner#DeleteSiteResponse": { - "type": "structure", - "members": {} - }, - "com.amazonaws.iotroborunner#DeleteWorker": { - "type": "operation", - "input": { - "target": "com.amazonaws.iotroborunner#DeleteWorkerRequest" - }, - "output": { - "target": "com.amazonaws.iotroborunner#DeleteWorkerResponse" - }, - "errors": [ - { - "target": "com.amazonaws.iotroborunner#AccessDeniedException" - }, - { - "target": "com.amazonaws.iotroborunner#ConflictException" - }, - { - "target": "com.amazonaws.iotroborunner#InternalServerException" - }, - { - "target": "com.amazonaws.iotroborunner#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.iotroborunner#ThrottlingException" - }, - { - "target": "com.amazonaws.iotroborunner#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "Grants permission to delete a worker", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/deleteWorker" - } - } - }, - "com.amazonaws.iotroborunner#DeleteWorkerFleet": { - "type": "operation", - "input": { - "target": "com.amazonaws.iotroborunner#DeleteWorkerFleetRequest" - }, - "output": { - "target": "com.amazonaws.iotroborunner#DeleteWorkerFleetResponse" - }, - "errors": [ - { - "target": "com.amazonaws.iotroborunner#AccessDeniedException" - }, - { - "target": "com.amazonaws.iotroborunner#ConflictException" - }, - { - "target": "com.amazonaws.iotroborunner#InternalServerException" - }, - { - "target": "com.amazonaws.iotroborunner#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.iotroborunner#ThrottlingException" - }, - { - "target": "com.amazonaws.iotroborunner#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "Grants permission to delete a worker fleet", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/deleteWorkerFleet" - } - } - }, - "com.amazonaws.iotroborunner#DeleteWorkerFleetRequest": { - "type": "structure", - "members": { - "id": { - "target": "com.amazonaws.iotroborunner#WorkerFleetGenericIdentifier", - "traits": { - "smithy.api#required": {} - } - } - } - }, - "com.amazonaws.iotroborunner#DeleteWorkerFleetResponse": { - "type": "structure", - "members": {} - }, - "com.amazonaws.iotroborunner#DeleteWorkerRequest": { - "type": "structure", - "members": { - "id": { - "target": "com.amazonaws.iotroborunner#WorkerGenericIdentifier", - "traits": { - "smithy.api#required": {} - } - } - } - }, - "com.amazonaws.iotroborunner#DeleteWorkerResponse": { - "type": "structure", - "members": {} - }, - "com.amazonaws.iotroborunner#Destination": { - "type": "structure", - "members": { - "arn": { - "target": "com.amazonaws.iotroborunner#DestinationArn", - "traits": { - "smithy.api#required": {} - } - }, - "id": { - "target": "com.amazonaws.iotroborunner#DestinationId", - "traits": { - "smithy.api#required": {} - } - }, - "name": { - "target": "com.amazonaws.iotroborunner#Name", - "traits": { - "smithy.api#required": {} - } - }, - "site": { - "target": "com.amazonaws.iotroborunner#SiteArn", - "traits": { - "smithy.api#required": {} - } - }, - "createdAt": { - "target": "com.amazonaws.iotroborunner#CreatedAtTimestamp", - "traits": { - "smithy.api#required": {} - } - }, - "updatedAt": { - "target": "com.amazonaws.iotroborunner#UpdatedAtTimestamp", - "traits": { - "smithy.api#required": {} - } - }, - "state": { - "target": "com.amazonaws.iotroborunner#DestinationState", - "traits": { - "smithy.api#required": {} - } - }, - "additionalFixedProperties": { - "target": "com.amazonaws.iotroborunner#DestinationAdditionalFixedProperties" - } - }, - "traits": { - "smithy.api#documentation": "Area within a facility where work can be performed." - } - }, - "com.amazonaws.iotroborunner#DestinationAdditionalFixedProperties": { - "type": "string", - "traits": { - "smithy.api#documentation": "JSON document containing additional fixed properties regarding the destination", - "smithy.api#length": { - "min": 1, - "max": 131072 - } - } - }, - "com.amazonaws.iotroborunner#DestinationArn": { - "type": "string", - "traits": { - "aws.api#arnReference": { - "service": "com.amazonaws.iotroborunner#IoTRoboRunner", - "resource": "com.amazonaws.iotroborunner#DestinationResource" - }, - "smithy.api#documentation": "Destination ARN.", - "smithy.api#length": { - "min": 1, - "max": 1011 - }, - "smithy.api#pattern": "^arn:aws:iotroborunner:[\\w-]+:\\w+:destination/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$|^arn:aws:iotroborunner:[\\w-]+:\\w+:site/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/destination/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$" - } - }, - "com.amazonaws.iotroborunner#DestinationGenericIdentifier": { - "type": "string", - "traits": { - "smithy.api#documentation": "Destination ARN.", - "smithy.api#length": { - "min": 1, - "max": 1011 - }, - "smithy.api#pattern": "^arn:aws:iotroborunner:[\\w-]+:\\w+:destination/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$|^arn:aws:iotroborunner:[\\w-]+:\\w+:site/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/destination/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$" - } - }, - "com.amazonaws.iotroborunner#DestinationId": { - "type": "string", - "traits": { - "smithy.api#documentation": "Filters access by the destination's identifier", - "smithy.api#length": { - "min": 1, - "max": 255 - } - } - }, - "com.amazonaws.iotroborunner#DestinationResource": { - "type": "resource", - "identifiers": { - "id": { - "target": "com.amazonaws.iotroborunner#DestinationId" - } - }, - "create": { - "target": "com.amazonaws.iotroborunner#CreateDestination" - }, - "read": { - "target": "com.amazonaws.iotroborunner#GetDestination" - }, - "update": { - "target": "com.amazonaws.iotroborunner#UpdateDestination" - }, - "list": { - "target": "com.amazonaws.iotroborunner#ListDestinations" - }, - "operations": [ - { - "target": "com.amazonaws.iotroborunner#DeleteDestination" - } - ], - "traits": { - "aws.api#arn": { - "template": "{id}", - "absolute": true - }, - "smithy.api#documentation": "Represents a Destination that defines a location within a Site" - } - }, - "com.amazonaws.iotroborunner#DestinationState": { - "type": "string", - "traits": { - "smithy.api#documentation": "State of the destination.", - "smithy.api#enum": [ - { - "value": "ENABLED", - "name": "ENABLED" - }, - { - "value": "DISABLED", - "name": "DISABLED" - }, - { - "value": "DECOMMISSIONED", - "name": "DECOMMISSIONED" - } - ] - } - }, - "com.amazonaws.iotroborunner#Destinations": { - "type": "list", - "member": { - "target": "com.amazonaws.iotroborunner#Destination" - }, - "traits": { - "smithy.api#documentation": "List of destinations." - } - }, - "com.amazonaws.iotroborunner#GetDestination": { - "type": "operation", - "input": { - "target": "com.amazonaws.iotroborunner#GetDestinationRequest" - }, - "output": { - "target": "com.amazonaws.iotroborunner#GetDestinationResponse" - }, - "errors": [ - { - "target": "com.amazonaws.iotroborunner#AccessDeniedException" - }, - { - "target": "com.amazonaws.iotroborunner#InternalServerException" - }, - { - "target": "com.amazonaws.iotroborunner#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.iotroborunner#ThrottlingException" - }, - { - "target": "com.amazonaws.iotroborunner#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "Grants permission to get a destination", - "smithy.api#http": { - "code": 200, - "method": "GET", - "uri": "/getDestination" - }, - "smithy.api#readonly": {} - } - }, - "com.amazonaws.iotroborunner#GetDestinationRequest": { - "type": "structure", - "members": { - "id": { - "target": "com.amazonaws.iotroborunner#DestinationGenericIdentifier", - "traits": { - "smithy.api#httpQuery": "id", - "smithy.api#required": {}, - "smithy.api#resourceIdentifier": "id" - } - } - } - }, - "com.amazonaws.iotroborunner#GetDestinationResponse": { - "type": "structure", - "members": { - "arn": { - "target": "com.amazonaws.iotroborunner#DestinationArn", - "traits": { - "smithy.api#required": {} - } - }, - "id": { - "target": "com.amazonaws.iotroborunner#DestinationId", - "traits": { - "smithy.api#required": {} - } - }, - "name": { - "target": "com.amazonaws.iotroborunner#Name", - "traits": { - "smithy.api#required": {} - } - }, - "site": { - "target": "com.amazonaws.iotroborunner#SiteArn", - "traits": { - "smithy.api#required": {} - } - }, - "createdAt": { - "target": "com.amazonaws.iotroborunner#CreatedAtTimestamp", - "traits": { - "smithy.api#required": {} - } - }, - "updatedAt": { - "target": "com.amazonaws.iotroborunner#UpdatedAtTimestamp", - "traits": { - "smithy.api#required": {} - } - }, - "state": { - "target": "com.amazonaws.iotroborunner#DestinationState", - "traits": { - "smithy.api#required": {} - } - }, - "additionalFixedProperties": { - "target": "com.amazonaws.iotroborunner#DestinationAdditionalFixedProperties" - } - } - }, - "com.amazonaws.iotroborunner#GetSite": { - "type": "operation", - "input": { - "target": "com.amazonaws.iotroborunner#GetSiteRequest" - }, - "output": { - "target": "com.amazonaws.iotroborunner#GetSiteResponse" - }, - "errors": [ - { - "target": "com.amazonaws.iotroborunner#AccessDeniedException" - }, - { - "target": "com.amazonaws.iotroborunner#InternalServerException" - }, - { - "target": "com.amazonaws.iotroborunner#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.iotroborunner#ThrottlingException" - }, - { - "target": "com.amazonaws.iotroborunner#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "Grants permission to get a site", - "smithy.api#http": { - "code": 200, - "method": "GET", - "uri": "/getSite" - }, - "smithy.api#readonly": {} - } - }, - "com.amazonaws.iotroborunner#GetSiteRequest": { - "type": "structure", - "members": { - "id": { - "target": "com.amazonaws.iotroborunner#SiteGenericIdentifier", - "traits": { - "smithy.api#httpQuery": "id", - "smithy.api#required": {}, - "smithy.api#resourceIdentifier": "siteId" - } - } - } - }, - "com.amazonaws.iotroborunner#GetSiteResponse": { - "type": "structure", - "members": { - "arn": { - "target": "com.amazonaws.iotroborunner#SiteArn", - "traits": { - "smithy.api#required": {} - } - }, - "id": { - "target": "com.amazonaws.iotroborunner#SiteId", - "traits": { - "smithy.api#required": {} - } - }, - "name": { - "target": "com.amazonaws.iotroborunner#Name", - "traits": { - "smithy.api#required": {} - } - }, - "countryCode": { - "target": "com.amazonaws.iotroborunner#SiteCountryCode", - "traits": { - "smithy.api#required": {} - } - }, - "description": { - "target": "com.amazonaws.iotroborunner#SiteDescription" - }, - "createdAt": { - "target": "com.amazonaws.iotroborunner#CreatedAtTimestamp", - "traits": { - "smithy.api#required": {} - } - }, - "updatedAt": { - "target": "com.amazonaws.iotroborunner#UpdatedAtTimestamp", - "traits": { - "smithy.api#required": {} - } - } - } - }, - "com.amazonaws.iotroborunner#GetWorker": { - "type": "operation", - "input": { - "target": "com.amazonaws.iotroborunner#GetWorkerRequest" - }, - "output": { - "target": "com.amazonaws.iotroborunner#GetWorkerResponse" - }, - "errors": [ - { - "target": "com.amazonaws.iotroborunner#AccessDeniedException" - }, - { - "target": "com.amazonaws.iotroborunner#InternalServerException" - }, - { - "target": "com.amazonaws.iotroborunner#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.iotroborunner#ThrottlingException" - }, - { - "target": "com.amazonaws.iotroborunner#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "Grants permission to get a worker", - "smithy.api#http": { - "code": 200, - "method": "GET", - "uri": "/getWorker" - }, - "smithy.api#readonly": {} - } - }, - "com.amazonaws.iotroborunner#GetWorkerFleet": { - "type": "operation", - "input": { - "target": "com.amazonaws.iotroborunner#GetWorkerFleetRequest" - }, - "output": { - "target": "com.amazonaws.iotroborunner#GetWorkerFleetResponse" - }, - "errors": [ - { - "target": "com.amazonaws.iotroborunner#AccessDeniedException" - }, - { - "target": "com.amazonaws.iotroborunner#InternalServerException" - }, - { - "target": "com.amazonaws.iotroborunner#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.iotroborunner#ThrottlingException" - }, - { - "target": "com.amazonaws.iotroborunner#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "Grants permission to get a worker fleet", - "smithy.api#http": { - "code": 200, - "method": "GET", - "uri": "/getWorkerFleet" - }, - "smithy.api#readonly": {} - } - }, - "com.amazonaws.iotroborunner#GetWorkerFleetRequest": { - "type": "structure", - "members": { - "id": { - "target": "com.amazonaws.iotroborunner#WorkerFleetGenericIdentifier", - "traits": { - "smithy.api#httpQuery": "id", - "smithy.api#required": {} - } - } - } - }, - "com.amazonaws.iotroborunner#GetWorkerFleetResponse": { - "type": "structure", - "members": { - "id": { - "target": "com.amazonaws.iotroborunner#WorkerFleetId", - "traits": { - "smithy.api#required": {} - } - }, - "arn": { - "target": "com.amazonaws.iotroborunner#WorkerFleetArn", - "traits": { - "smithy.api#required": {} - } - }, - "name": { - "target": "com.amazonaws.iotroborunner#Name", - "traits": { - "smithy.api#required": {} - } - }, - "site": { - "target": "com.amazonaws.iotroborunner#SiteArn", - "traits": { - "smithy.api#required": {} - } - }, - "createdAt": { - "target": "com.amazonaws.iotroborunner#CreatedAtTimestamp", - "traits": { - "smithy.api#required": {} - } - }, - "updatedAt": { - "target": "com.amazonaws.iotroborunner#UpdatedAtTimestamp", - "traits": { - "smithy.api#required": {} - } - }, - "additionalFixedProperties": { - "target": "com.amazonaws.iotroborunner#WorkerFleetAdditionalFixedProperties" - } - } - }, - "com.amazonaws.iotroborunner#GetWorkerRequest": { - "type": "structure", - "members": { - "id": { - "target": "com.amazonaws.iotroborunner#WorkerGenericIdentifier", - "traits": { - "smithy.api#httpQuery": "id", - "smithy.api#required": {} - } - } - } - }, - "com.amazonaws.iotroborunner#GetWorkerResponse": { - "type": "structure", - "members": { - "arn": { - "target": "com.amazonaws.iotroborunner#WorkerArn", - "traits": { - "smithy.api#required": {} - } - }, - "id": { - "target": "com.amazonaws.iotroborunner#WorkerId", - "traits": { - "smithy.api#required": {} - } - }, - "fleet": { - "target": "com.amazonaws.iotroborunner#WorkerFleetArn", - "traits": { - "smithy.api#required": {} - } - }, - "site": { - "target": "com.amazonaws.iotroborunner#SiteArn", - "traits": { - "smithy.api#required": {} - } - }, - "createdAt": { - "target": "com.amazonaws.iotroborunner#CreatedAtTimestamp", - "traits": { - "smithy.api#required": {} - } - }, - "updatedAt": { - "target": "com.amazonaws.iotroborunner#UpdatedAtTimestamp", - "traits": { - "smithy.api#required": {} - } - }, - "name": { - "target": "com.amazonaws.iotroborunner#Name", - "traits": { - "smithy.api#required": {} - } - }, - "additionalTransientProperties": { - "target": "com.amazonaws.iotroborunner#WorkerAdditionalTransientPropertiesJson" - }, - "additionalFixedProperties": { - "target": "com.amazonaws.iotroborunner#WorkerAdditionalFixedPropertiesJson" - }, - "vendorProperties": { - "target": "com.amazonaws.iotroborunner#VendorProperties" - }, - "position": { - "target": "com.amazonaws.iotroborunner#PositionCoordinates" - }, - "orientation": { - "target": "com.amazonaws.iotroborunner#Orientation" - } - } - }, - "com.amazonaws.iotroborunner#IdempotencyToken": { - "type": "string", - "traits": { - "smithy.api#documentation": "Token used for detecting replayed requests. Replayed requests will not be performed multiple times.", - "smithy.api#length": { - "min": 1, - "max": 64 - }, - "smithy.api#pattern": "^[!-~]*$" - } - }, - "com.amazonaws.iotroborunner#InternalServerException": { - "type": "structure", - "members": { - "message": { - "target": "smithy.api#String" - } - }, - "traits": { - "smithy.api#documentation": "Exception thrown if something goes wrong within the service.", - "smithy.api#error": "server", - "smithy.api#httpError": 500 - } - }, - "com.amazonaws.iotroborunner#IoTRoboRunner": { - "type": "service", - "version": "2018-05-10", - "operations": [ - { - "target": "com.amazonaws.iotroborunner#CreateWorker" - }, - { - "target": "com.amazonaws.iotroborunner#DeleteWorker" - }, - { - "target": "com.amazonaws.iotroborunner#DeleteWorkerFleet" - }, - { - "target": "com.amazonaws.iotroborunner#GetWorker" - }, - { - "target": "com.amazonaws.iotroborunner#GetWorkerFleet" - }, - { - "target": "com.amazonaws.iotroborunner#ListWorkers" - }, - { - "target": "com.amazonaws.iotroborunner#UpdateWorker" - }, - { - "target": "com.amazonaws.iotroborunner#UpdateWorkerFleet" - } - ], - "resources": [ - { - "target": "com.amazonaws.iotroborunner#DestinationResource" - }, - { - "target": "com.amazonaws.iotroborunner#SiteResource" - } - ], - "traits": { - "aws.api#service": { - "sdkId": "IoT RoboRunner", - "arnNamespace": "iotroborunner", - "endpointPrefix": "iotroborunner", - "cloudTrailEventSource": "iotroborunner.amazonaws.com" - }, - "aws.auth#sigv4": { - "name": "iotroborunner" - }, - "aws.protocols#restJson1": {}, - "smithy.api#cors": { - "additionalAllowedHeaders": [ - "*", - "authorization", - "date", - "x-amz-date", - "x-amz-security-token", - "x-amz-target", - "content-type", - "x-amz-content-sha256", - "x-amz-user-agent", - "x-amzn-platform-id", - "x-amzn-trace-id", - "amz-sdk-invocation-id", - "amz-sdk-request" - ], - "additionalExposedHeaders": [ - "x-amzn-errortype", - "x-amzn-requestid", - "x-amzn-errormessage", - "x-amzn-trace-id", - "x-amz-apigw-id", - "date" - ] - }, - "smithy.api#documentation": "An example service, deployed with the Octane Service creator,\nwhich will echo the string", - "smithy.api#title": "AWS IoT RoboRunner", - "smithy.rules#endpointRuleSet": { - "version": "1.0", - "parameters": { - "Region": { - "builtIn": "AWS::Region", - "required": false, - "documentation": "The AWS region used to dispatch the request.", - "type": "String" - }, - "UseDualStack": { - "builtIn": "AWS::UseDualStack", - "required": true, - "default": false, - "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", - "type": "Boolean" - }, - "UseFIPS": { - "builtIn": "AWS::UseFIPS", - "required": true, - "default": false, - "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", - "type": "Boolean" - }, - "Endpoint": { - "builtIn": "SDK::Endpoint", - "required": false, - "documentation": "Override the endpoint used to send this request", - "type": "String" - } - }, - "rules": [ - { - "conditions": [ - { - "fn": "isSet", - "argv": [ - { - "ref": "Endpoint" - } - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - } - ], - "error": "Invalid Configuration: FIPS and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" - }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - } - ], - "type": "tree" - }, - { - "conditions": [], - "rules": [ - { - "conditions": [ - { - "fn": "isSet", - "argv": [ - { - "ref": "Region" - } - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "aws.partition", - "argv": [ - { - "ref": "Region" - } - ], - "assign": "PartitionResult" - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - }, - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "rules": [ - { - "conditions": [], - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://iotroborunner-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - } - ], - "type": "tree" - }, - { - "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" - } - ], - "type": "tree" - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - }, - true - ] - } - ], - "rules": [ - { - "conditions": [], - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://iotroborunner-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - } - ], - "type": "tree" - }, - { - "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" - } - ], - "type": "tree" - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "rules": [ - { - "conditions": [], - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://iotroborunner.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - } - ], - "type": "tree" - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" - } - ], - "type": "tree" - }, - { - "conditions": [], - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://iotroborunner.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - } - ], - "type": "tree" - } - ], - "type": "tree" - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" - } - ], - "type": "tree" - } - ] - }, - "smithy.rules#endpointTests": { - "testCases": [ - { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://iotroborunner-fips.us-east-1.api.aws" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://iotroborunner-fips.us-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://iotroborunner.us-east-1.api.aws" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://iotroborunner.us-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://iotroborunner-fips.cn-north-1.api.amazonwebservices.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://iotroborunner-fips.cn-north-1.amazonaws.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://iotroborunner.cn-north-1.api.amazonwebservices.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://iotroborunner.cn-north-1.amazonaws.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://iotroborunner-fips.us-gov-east-1.api.aws" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://iotroborunner-fips.us-gov-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://iotroborunner.us-gov-east-1.api.aws" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://iotroborunner.us-gov-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "error": "FIPS and DualStack are enabled, but this partition does not support one or both" - }, - "params": { - "Region": "us-iso-east-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://iotroborunner-fips.us-iso-east-1.c2s.ic.gov" - } - }, - "params": { - "Region": "us-iso-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "error": "DualStack is enabled but this partition does not support DualStack" - }, - "params": { - "Region": "us-iso-east-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://iotroborunner.us-iso-east-1.c2s.ic.gov" - } - }, - "params": { - "Region": "us-iso-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "error": "FIPS and DualStack are enabled, but this partition does not support one or both" - }, - "params": { - "Region": "us-isob-east-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://iotroborunner-fips.us-isob-east-1.sc2s.sgov.gov" - } - }, - "params": { - "Region": "us-isob-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "error": "DualStack is enabled but this partition does not support DualStack" - }, - "params": { - "Region": "us-isob-east-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://iotroborunner.us-isob-east-1.sc2s.sgov.gov" - } - }, - "params": { - "Region": "us-isob-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", - "expect": { - "endpoint": { - "url": "https://example.com" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": false, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", - "expect": { - "endpoint": { - "url": "https://example.com" - } - }, - "params": { - "UseFIPS": false, - "UseDualStack": false, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "For custom endpoint with fips enabled and dualstack disabled", - "expect": { - "error": "Invalid Configuration: FIPS and custom endpoint are not supported" - }, - "params": { - "Region": "us-east-1", - "UseFIPS": true, - "UseDualStack": false, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "For custom endpoint with fips disabled and dualstack enabled", - "expect": { - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": true, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "Missing region", - "expect": { - "error": "Invalid Configuration: Missing Region" - } - } - ], - "version": "1.0" - } - } - }, - "com.amazonaws.iotroborunner#ListDestinations": { - "type": "operation", - "input": { - "target": "com.amazonaws.iotroborunner#ListDestinationsRequest" - }, - "output": { - "target": "com.amazonaws.iotroborunner#ListDestinationsResponse" - }, - "errors": [ - { - "target": "com.amazonaws.iotroborunner#AccessDeniedException" - }, - { - "target": "com.amazonaws.iotroborunner#InternalServerException" - }, - { - "target": "com.amazonaws.iotroborunner#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.iotroborunner#ThrottlingException" - }, - { - "target": "com.amazonaws.iotroborunner#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "Grants permission to list destinations", - "smithy.api#http": { - "code": 200, - "method": "GET", - "uri": "/listDestinations" - }, - "smithy.api#paginated": { - "inputToken": "nextToken", - "outputToken": "nextToken", - "pageSize": "maxResults", - "items": "destinations" - }, - "smithy.api#readonly": {} - } - }, - "com.amazonaws.iotroborunner#ListDestinationsRequest": { - "type": "structure", - "members": { - "site": { - "target": "com.amazonaws.iotroborunner#SiteGenericIdentifier", - "traits": { - "smithy.api#httpQuery": "site", - "smithy.api#required": {} - } - }, - "maxResults": { - "target": "com.amazonaws.iotroborunner#PageSize", - "traits": { - "smithy.api#httpQuery": "maxResults" - } - }, - "nextToken": { - "target": "com.amazonaws.iotroborunner#PaginationToken", - "traits": { - "smithy.api#httpQuery": "nextToken" - } - }, - "state": { - "target": "com.amazonaws.iotroborunner#DestinationState", - "traits": { - "smithy.api#httpQuery": "state" - } - } - } - }, - "com.amazonaws.iotroborunner#ListDestinationsResponse": { - "type": "structure", - "members": { - "nextToken": { - "target": "com.amazonaws.iotroborunner#PaginationToken" - }, - "destinations": { - "target": "com.amazonaws.iotroborunner#Destinations" - } - } - }, - "com.amazonaws.iotroborunner#ListSites": { - "type": "operation", - "input": { - "target": "com.amazonaws.iotroborunner#ListSitesRequest" - }, - "output": { - "target": "com.amazonaws.iotroborunner#ListSitesResponse" - }, - "errors": [ - { - "target": "com.amazonaws.iotroborunner#AccessDeniedException" - }, - { - "target": "com.amazonaws.iotroborunner#InternalServerException" - }, - { - "target": "com.amazonaws.iotroborunner#ThrottlingException" - }, - { - "target": "com.amazonaws.iotroborunner#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "Grants permission to list sites", - "smithy.api#http": { - "code": 200, - "method": "GET", - "uri": "/listSites" - }, - "smithy.api#paginated": { - "inputToken": "nextToken", - "outputToken": "nextToken", - "pageSize": "maxResults", - "items": "sites" - }, - "smithy.api#readonly": {} - } - }, - "com.amazonaws.iotroborunner#ListSitesPageSize": { - "type": "integer", - "traits": { - "smithy.api#documentation": "Maximum number of results to retrieve in a single ListSites call.", - "smithy.api#range": { - "min": 1, - "max": 25 - } - } - }, - "com.amazonaws.iotroborunner#ListSitesRequest": { - "type": "structure", - "members": { - "maxResults": { - "target": "com.amazonaws.iotroborunner#ListSitesPageSize", - "traits": { - "smithy.api#httpQuery": "maxResults" - } - }, - "nextToken": { - "target": "com.amazonaws.iotroborunner#PaginationToken", - "traits": { - "smithy.api#httpQuery": "nextToken" - } - } - } - }, - "com.amazonaws.iotroborunner#ListSitesResponse": { - "type": "structure", - "members": { - "nextToken": { - "target": "com.amazonaws.iotroborunner#PaginationToken" - }, - "sites": { - "target": "com.amazonaws.iotroborunner#Sites" - } - } - }, - "com.amazonaws.iotroborunner#ListWorkerFleets": { - "type": "operation", - "input": { - "target": "com.amazonaws.iotroborunner#ListWorkerFleetsRequest" - }, - "output": { - "target": "com.amazonaws.iotroborunner#ListWorkerFleetsResponse" - }, - "errors": [ - { - "target": "com.amazonaws.iotroborunner#AccessDeniedException" - }, - { - "target": "com.amazonaws.iotroborunner#InternalServerException" - }, - { - "target": "com.amazonaws.iotroborunner#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.iotroborunner#ThrottlingException" - }, - { - "target": "com.amazonaws.iotroborunner#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "Grants permission to list worker fleets", - "smithy.api#http": { - "code": 200, - "method": "GET", - "uri": "/listWorkerFleets" - }, - "smithy.api#paginated": { - "inputToken": "nextToken", - "outputToken": "nextToken", - "pageSize": "maxResults", - "items": "workerFleets" - }, - "smithy.api#readonly": {} - } - }, - "com.amazonaws.iotroborunner#ListWorkerFleetsPageSize": { - "type": "integer", - "traits": { - "smithy.api#documentation": "Maximum number of results to retrieve in a single ListWorkerFleets call.", - "smithy.api#range": { - "min": 1, - "max": 25 - } - } - }, - "com.amazonaws.iotroborunner#ListWorkerFleetsRequest": { - "type": "structure", - "members": { - "site": { - "target": "com.amazonaws.iotroborunner#SiteGenericIdentifier", - "traits": { - "smithy.api#httpQuery": "site", - "smithy.api#required": {}, - "smithy.api#resourceIdentifier": "siteId" - } - }, - "maxResults": { - "target": "com.amazonaws.iotroborunner#ListWorkerFleetsPageSize", - "traits": { - "smithy.api#httpQuery": "maxResults" - } - }, - "nextToken": { - "target": "com.amazonaws.iotroborunner#PaginationToken", - "traits": { - "smithy.api#httpQuery": "nextToken" - } - } - } - }, - "com.amazonaws.iotroborunner#ListWorkerFleetsResponse": { - "type": "structure", - "members": { - "nextToken": { - "target": "com.amazonaws.iotroborunner#PaginationToken" - }, - "workerFleets": { - "target": "com.amazonaws.iotroborunner#WorkerFleets" - } - } - }, - "com.amazonaws.iotroborunner#ListWorkers": { - "type": "operation", - "input": { - "target": "com.amazonaws.iotroborunner#ListWorkersRequest" - }, - "output": { - "target": "com.amazonaws.iotroborunner#ListWorkersResponse" - }, - "errors": [ - { - "target": "com.amazonaws.iotroborunner#AccessDeniedException" - }, - { - "target": "com.amazonaws.iotroborunner#InternalServerException" - }, - { - "target": "com.amazonaws.iotroborunner#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.iotroborunner#ThrottlingException" - }, - { - "target": "com.amazonaws.iotroborunner#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "Grants permission to list workers", - "smithy.api#http": { - "code": 200, - "method": "GET", - "uri": "/listWorkers" - }, - "smithy.api#paginated": { - "inputToken": "nextToken", - "outputToken": "nextToken", - "pageSize": "maxResults", - "items": "workers" - }, - "smithy.api#readonly": {} - } - }, - "com.amazonaws.iotroborunner#ListWorkersPageSize": { - "type": "integer", - "traits": { - "smithy.api#documentation": "Maximum number of results to retrieve in a single ListWorkers call.", - "smithy.api#range": { - "min": 1, - "max": 25 - } - } - }, - "com.amazonaws.iotroborunner#ListWorkersRequest": { - "type": "structure", - "members": { - "site": { - "target": "com.amazonaws.iotroborunner#SiteGenericIdentifier", - "traits": { - "smithy.api#httpQuery": "site", - "smithy.api#required": {} - } - }, - "maxResults": { - "target": "com.amazonaws.iotroborunner#ListWorkersPageSize", - "traits": { - "smithy.api#httpQuery": "maxResults" - } - }, - "nextToken": { - "target": "com.amazonaws.iotroborunner#PaginationToken", - "traits": { - "smithy.api#httpQuery": "nextToken" - } - }, - "fleet": { - "target": "com.amazonaws.iotroborunner#WorkerFleetGenericIdentifier", - "traits": { - "smithy.api#httpQuery": "fleet" - } - } - } - }, - "com.amazonaws.iotroborunner#ListWorkersResponse": { - "type": "structure", - "members": { - "nextToken": { - "target": "com.amazonaws.iotroborunner#PaginationToken" - }, - "workers": { - "target": "com.amazonaws.iotroborunner#Workers" - } - } - }, - "com.amazonaws.iotroborunner#Name": { - "type": "string", - "traits": { - "smithy.api#documentation": "Human friendly name of the resource.", - "smithy.api#length": { - "min": 1, - "max": 255 - } - } - }, - "com.amazonaws.iotroborunner#Orientation": { - "type": "union", - "members": { - "degrees": { - "target": "smithy.api#Double", - "traits": { - "smithy.api#documentation": "Degrees, limited on [0, 360)", - "smithy.api#range": { - "min": 0, - "max": 360 - } - } - } - }, - "traits": { - "smithy.api#documentation": "Worker orientation measured in units clockwise from north." - } - }, - "com.amazonaws.iotroborunner#PageSize": { - "type": "integer", - "traits": { - "smithy.api#documentation": "Maximum number of results to retrieve in a single call.", - "smithy.api#range": { - "min": 1, - "max": 1000 - } - } - }, - "com.amazonaws.iotroborunner#PaginationToken": { - "type": "string", - "traits": { - "smithy.api#documentation": "Pagination token returned when another page of data exists. Provide it in your next call to the API to receive\nthe next page.", - "smithy.api#length": { - "min": 1, - "max": 2048 - }, - "smithy.api#pattern": "[a-zA-Z0-9_.-/+=]*" - } - }, - "com.amazonaws.iotroborunner#PositionCoordinates": { - "type": "union", - "members": { - "cartesianCoordinates": { - "target": "com.amazonaws.iotroborunner#CartesianCoordinates", - "traits": { - "smithy.api#documentation": "Cartesian coordinates." - } - } - }, - "traits": { - "smithy.api#documentation": "Supported coordinates for worker position." - } - }, - "com.amazonaws.iotroborunner#ResourceNotFoundException": { - "type": "structure", - "members": { - "message": { - "target": "smithy.api#String" - } - }, - "traits": { - "smithy.api#documentation": "Exception thrown if a resource referenced in the request doesn't exist.", - "smithy.api#error": "client", - "smithy.api#httpError": 404 - } - }, - "com.amazonaws.iotroborunner#ServiceQuotaExceededException": { - "type": "structure", - "members": { - "message": { - "target": "smithy.api#String" - } - }, - "traits": { - "smithy.api#documentation": "Exception thrown if the user's AWS account has reached a service limit and the operation cannot proceed.", - "smithy.api#error": "client", - "smithy.api#httpError": 402, - "smithy.api#retryable": {} - } - }, - "com.amazonaws.iotroborunner#Site": { - "type": "structure", - "members": { - "arn": { - "target": "com.amazonaws.iotroborunner#SiteArn", - "traits": { - "smithy.api#required": {} - } - }, - "name": { - "target": "com.amazonaws.iotroborunner#Name", - "traits": { - "smithy.api#documentation": "The name of the site. Mutable after creation and unique within a given account.", - "smithy.api#required": {} - } - }, - "countryCode": { - "target": "com.amazonaws.iotroborunner#SiteCountryCode", - "traits": { - "smithy.api#required": {} - } - }, - "createdAt": { - "target": "com.amazonaws.iotroborunner#CreatedAtTimestamp", - "traits": { - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "Facility containing destinations, workers, activities, and tasks." - } - }, - "com.amazonaws.iotroborunner#SiteArn": { - "type": "string", - "traits": { - "aws.api#arnReference": { - "service": "com.amazonaws.iotroborunner#IoTRoboRunner", - "resource": "com.amazonaws.iotroborunner#SiteResource" - }, - "smithy.api#documentation": "Site ARN.", - "smithy.api#length": { - "min": 1, - "max": 1011 - }, - "smithy.api#pattern": "^arn:aws:iotroborunner:[\\w-]+:\\w+:site/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$" - } - }, - "com.amazonaws.iotroborunner#SiteCountryCode": { - "type": "string", - "traits": { - "smithy.api#documentation": "A valid ISO 3166-1 alpha-2 code for the country in which the site resides. e.g., US.", - "smithy.api#length": { - "min": 2, - "max": 2 - }, - "smithy.api#pattern": "^[a-zA-Z]{2}$" - } - }, - "com.amazonaws.iotroborunner#SiteDescription": { - "type": "string", - "traits": { - "smithy.api#documentation": "A high-level description of the site.", - "smithy.api#length": { - "min": 0, - "max": 140 - } - } - }, - "com.amazonaws.iotroborunner#SiteGenericIdentifier": { - "type": "string", - "traits": { - "smithy.api#documentation": "Site ARN.", - "smithy.api#length": { - "min": 1, - "max": 1011 - }, - "smithy.api#pattern": "^arn:aws:iotroborunner:[\\w-]+:\\w+:site/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$" - } - }, - "com.amazonaws.iotroborunner#SiteId": { - "type": "string", - "traits": { - "smithy.api#documentation": "Filters access by the site's identifier", - "smithy.api#length": { - "min": 1, - "max": 255 - } - } - }, - "com.amazonaws.iotroborunner#SiteResource": { - "type": "resource", - "identifiers": { - "siteId": { - "target": "com.amazonaws.iotroborunner#SiteId" - } - }, - "create": { - "target": "com.amazonaws.iotroborunner#CreateSite" - }, - "read": { - "target": "com.amazonaws.iotroborunner#GetSite" - }, - "update": { - "target": "com.amazonaws.iotroborunner#UpdateSite" - }, - "list": { - "target": "com.amazonaws.iotroborunner#ListSites" - }, - "operations": [ - { - "target": "com.amazonaws.iotroborunner#DeleteSite" - } - ], - "resources": [ - { - "target": "com.amazonaws.iotroborunner#WorkerFleetResource" - } - ], - "traits": { - "aws.api#arn": { - "template": "site/{siteId}", - "absolute": true - }, - "smithy.api#documentation": "Represents a Site where work is being performed" - } - }, - "com.amazonaws.iotroborunner#Sites": { - "type": "list", - "member": { - "target": "com.amazonaws.iotroborunner#Site" - }, - "traits": { - "smithy.api#documentation": "List of facilities." - } - }, - "com.amazonaws.iotroborunner#ThrottlingException": { - "type": "structure", - "members": { - "message": { - "target": "smithy.api#String" - } - }, - "traits": { - "smithy.api#documentation": "Exception thrown if the api has been called too quickly be the client.", - "smithy.api#error": "client", - "smithy.api#httpError": 429, - "smithy.api#retryable": { - "throttling": true - } - } - }, - "com.amazonaws.iotroborunner#UpdateDestination": { - "type": "operation", - "input": { - "target": "com.amazonaws.iotroborunner#UpdateDestinationRequest" - }, - "output": { - "target": "com.amazonaws.iotroborunner#UpdateDestinationResponse" - }, - "errors": [ - { - "target": "com.amazonaws.iotroborunner#AccessDeniedException" - }, - { - "target": "com.amazonaws.iotroborunner#InternalServerException" - }, - { - "target": "com.amazonaws.iotroborunner#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.iotroborunner#ThrottlingException" - }, - { - "target": "com.amazonaws.iotroborunner#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "Grants permission to update a destination", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/updateDestination" - } - } - }, - "com.amazonaws.iotroborunner#UpdateDestinationRequest": { - "type": "structure", - "members": { - "id": { - "target": "com.amazonaws.iotroborunner#DestinationGenericIdentifier", - "traits": { - "smithy.api#required": {}, - "smithy.api#resourceIdentifier": "id" - } - }, - "name": { - "target": "com.amazonaws.iotroborunner#Name" - }, - "state": { - "target": "com.amazonaws.iotroborunner#DestinationState" - }, - "additionalFixedProperties": { - "target": "com.amazonaws.iotroborunner#DestinationAdditionalFixedProperties" - } - } - }, - "com.amazonaws.iotroborunner#UpdateDestinationResponse": { - "type": "structure", - "members": { - "arn": { - "target": "com.amazonaws.iotroborunner#DestinationArn", - "traits": { - "smithy.api#required": {} - } - }, - "id": { - "target": "com.amazonaws.iotroborunner#DestinationId", - "traits": { - "smithy.api#required": {} - } - }, - "name": { - "target": "com.amazonaws.iotroborunner#Name", - "traits": { - "smithy.api#required": {} - } - }, - "updatedAt": { - "target": "com.amazonaws.iotroborunner#UpdatedAtTimestamp", - "traits": { - "smithy.api#required": {} - } - }, - "state": { - "target": "com.amazonaws.iotroborunner#DestinationState", - "traits": { - "smithy.api#required": {} - } - }, - "additionalFixedProperties": { - "target": "com.amazonaws.iotroborunner#DestinationAdditionalFixedProperties" - } - } - }, - "com.amazonaws.iotroborunner#UpdateSite": { - "type": "operation", - "input": { - "target": "com.amazonaws.iotroborunner#UpdateSiteRequest" - }, - "output": { - "target": "com.amazonaws.iotroborunner#UpdateSiteResponse" - }, - "errors": [ - { - "target": "com.amazonaws.iotroborunner#AccessDeniedException" - }, - { - "target": "com.amazonaws.iotroborunner#InternalServerException" - }, - { - "target": "com.amazonaws.iotroborunner#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.iotroborunner#ThrottlingException" - }, - { - "target": "com.amazonaws.iotroborunner#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "Grants permission to update a site", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/updateSite" - } - } - }, - "com.amazonaws.iotroborunner#UpdateSiteRequest": { - "type": "structure", - "members": { - "id": { - "target": "com.amazonaws.iotroborunner#SiteGenericIdentifier", - "traits": { - "smithy.api#required": {}, - "smithy.api#resourceIdentifier": "siteId" - } - }, - "name": { - "target": "com.amazonaws.iotroborunner#Name" - }, - "countryCode": { - "target": "com.amazonaws.iotroborunner#SiteCountryCode" - }, - "description": { - "target": "com.amazonaws.iotroborunner#SiteDescription" - } - } - }, - "com.amazonaws.iotroborunner#UpdateSiteResponse": { - "type": "structure", - "members": { - "arn": { - "target": "com.amazonaws.iotroborunner#SiteArn", - "traits": { - "smithy.api#required": {} - } - }, - "id": { - "target": "com.amazonaws.iotroborunner#SiteId", - "traits": { - "smithy.api#required": {} - } - }, - "name": { - "target": "com.amazonaws.iotroborunner#Name", - "traits": { - "smithy.api#required": {} - } - }, - "countryCode": { - "target": "com.amazonaws.iotroborunner#SiteCountryCode" - }, - "description": { - "target": "com.amazonaws.iotroborunner#SiteDescription" - }, - "updatedAt": { - "target": "com.amazonaws.iotroborunner#UpdatedAtTimestamp", - "traits": { - "smithy.api#required": {} - } - } - } - }, - "com.amazonaws.iotroborunner#UpdateWorker": { - "type": "operation", - "input": { - "target": "com.amazonaws.iotroborunner#UpdateWorkerRequest" - }, - "output": { - "target": "com.amazonaws.iotroborunner#UpdateWorkerResponse" - }, - "errors": [ - { - "target": "com.amazonaws.iotroborunner#AccessDeniedException" - }, - { - "target": "com.amazonaws.iotroborunner#InternalServerException" - }, - { - "target": "com.amazonaws.iotroborunner#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.iotroborunner#ThrottlingException" - }, - { - "target": "com.amazonaws.iotroborunner#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "Grants permission to update a worker", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/updateWorker" - } - } - }, - "com.amazonaws.iotroborunner#UpdateWorkerFleet": { - "type": "operation", - "input": { - "target": "com.amazonaws.iotroborunner#UpdateWorkerFleetRequest" - }, - "output": { - "target": "com.amazonaws.iotroborunner#UpdateWorkerFleetResponse" - }, - "errors": [ - { - "target": "com.amazonaws.iotroborunner#AccessDeniedException" - }, - { - "target": "com.amazonaws.iotroborunner#InternalServerException" - }, - { - "target": "com.amazonaws.iotroborunner#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.iotroborunner#ThrottlingException" - }, - { - "target": "com.amazonaws.iotroborunner#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "Grants permission to update a worker fleet", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/updateWorkerFleet" - } - } - }, - "com.amazonaws.iotroborunner#UpdateWorkerFleetRequest": { - "type": "structure", - "members": { - "id": { - "target": "com.amazonaws.iotroborunner#WorkerFleetGenericIdentifier", - "traits": { - "smithy.api#required": {} - } - }, - "name": { - "target": "com.amazonaws.iotroborunner#Name" - }, - "additionalFixedProperties": { - "target": "com.amazonaws.iotroborunner#WorkerFleetAdditionalFixedProperties" - } - } - }, - "com.amazonaws.iotroborunner#UpdateWorkerFleetResponse": { - "type": "structure", - "members": { - "arn": { - "target": "com.amazonaws.iotroborunner#WorkerFleetArn", - "traits": { - "smithy.api#required": {} - } - }, - "id": { - "target": "com.amazonaws.iotroborunner#WorkerFleetId", - "traits": { - "smithy.api#required": {} - } - }, - "name": { - "target": "com.amazonaws.iotroborunner#Name", - "traits": { - "smithy.api#required": {} - } - }, - "updatedAt": { - "target": "com.amazonaws.iotroborunner#UpdatedAtTimestamp", - "traits": { - "smithy.api#required": {} - } - }, - "additionalFixedProperties": { - "target": "com.amazonaws.iotroborunner#WorkerFleetAdditionalFixedProperties" - } - } - }, - "com.amazonaws.iotroborunner#UpdateWorkerRequest": { - "type": "structure", - "members": { - "id": { - "target": "com.amazonaws.iotroborunner#WorkerGenericIdentifier", - "traits": { - "smithy.api#required": {} - } - }, - "name": { - "target": "com.amazonaws.iotroborunner#Name" - }, - "additionalTransientProperties": { - "target": "com.amazonaws.iotroborunner#WorkerAdditionalTransientPropertiesJson" - }, - "additionalFixedProperties": { - "target": "com.amazonaws.iotroborunner#WorkerAdditionalFixedPropertiesJson" - }, - "vendorProperties": { - "target": "com.amazonaws.iotroborunner#VendorProperties" - }, - "position": { - "target": "com.amazonaws.iotroborunner#PositionCoordinates" - }, - "orientation": { - "target": "com.amazonaws.iotroborunner#Orientation" - } - } - }, - "com.amazonaws.iotroborunner#UpdateWorkerResponse": { - "type": "structure", - "members": { - "arn": { - "target": "com.amazonaws.iotroborunner#WorkerArn", - "traits": { - "smithy.api#required": {} - } - }, - "id": { - "target": "com.amazonaws.iotroborunner#WorkerId", - "traits": { - "smithy.api#required": {} - } - }, - "fleet": { - "target": "com.amazonaws.iotroborunner#WorkerFleetArn", - "traits": { - "smithy.api#required": {} - } - }, - "updatedAt": { - "target": "com.amazonaws.iotroborunner#UpdatedAtTimestamp", - "traits": { - "smithy.api#required": {} - } - }, - "name": { - "target": "com.amazonaws.iotroborunner#Name", - "traits": { - "smithy.api#required": {} - } - }, - "additionalTransientProperties": { - "target": "com.amazonaws.iotroborunner#WorkerAdditionalTransientPropertiesJson" - }, - "additionalFixedProperties": { - "target": "com.amazonaws.iotroborunner#WorkerAdditionalFixedPropertiesJson" - }, - "orientation": { - "target": "com.amazonaws.iotroborunner#Orientation" - }, - "vendorProperties": { - "target": "com.amazonaws.iotroborunner#VendorProperties" - }, - "position": { - "target": "com.amazonaws.iotroborunner#PositionCoordinates" - } - } - }, - "com.amazonaws.iotroborunner#UpdatedAtTimestamp": { - "type": "timestamp", - "traits": { - "smithy.api#documentation": "Timestamp at which the resource was last updated." - } - }, - "com.amazonaws.iotroborunner#ValidationException": { - "type": "structure", - "members": { - "message": { - "target": "smithy.api#String" - } - }, - "traits": { - "smithy.api#documentation": "Exception thrown if an invalid parameter is provided to an API.", - "smithy.api#error": "client", - "smithy.api#httpError": 400 - } - }, - "com.amazonaws.iotroborunner#VendorAdditionalFixedPropertiesJson": { - "type": "string", - "traits": { - "smithy.api#documentation": "JSON blob containing unstructured vendor properties that are fixed and won't change during regular operation.", - "smithy.api#length": { - "min": 1, - "max": 131072 - } - } - }, - "com.amazonaws.iotroborunner#VendorAdditionalTransientPropertiesJson": { - "type": "string", - "traits": { - "smithy.api#documentation": "JSON blob containing unstructured vendor properties that are transient and may change during regular operation.", - "smithy.api#length": { - "min": 1, - "max": 131072 - } - } - }, - "com.amazonaws.iotroborunner#VendorProperties": { - "type": "structure", - "members": { - "vendorWorkerId": { - "target": "com.amazonaws.iotroborunner#VendorWorkerId", - "traits": { - "smithy.api#required": {} - } - }, - "vendorWorkerIpAddress": { - "target": "com.amazonaws.iotroborunner#VendorWorkerIpAddress" - }, - "vendorAdditionalTransientProperties": { - "target": "com.amazonaws.iotroborunner#VendorAdditionalTransientPropertiesJson" - }, - "vendorAdditionalFixedProperties": { - "target": "com.amazonaws.iotroborunner#VendorAdditionalFixedPropertiesJson" - } - }, - "traits": { - "smithy.api#documentation": "Properties of the worker that are provided by the vendor FMS." - } - }, - "com.amazonaws.iotroborunner#VendorWorkerId": { - "type": "string", - "traits": { - "smithy.api#documentation": "The worker ID defined by the vendor FMS.", - "smithy.api#length": { - "min": 1, - "max": 255 - } - } - }, - "com.amazonaws.iotroborunner#VendorWorkerIpAddress": { - "type": "string", - "traits": { - "smithy.api#documentation": "The worker IP address defined by the vendor FMS.", - "smithy.api#length": { - "min": 1, - "max": 45 - } - } - }, - "com.amazonaws.iotroborunner#Worker": { - "type": "structure", - "members": { - "arn": { - "target": "com.amazonaws.iotroborunner#WorkerArn", - "traits": { - "smithy.api#required": {} - } - }, - "id": { - "target": "com.amazonaws.iotroborunner#WorkerId", - "traits": { - "smithy.api#required": {} - } - }, - "fleet": { - "target": "com.amazonaws.iotroborunner#WorkerFleetArn", - "traits": { - "smithy.api#required": {} - } - }, - "createdAt": { - "target": "com.amazonaws.iotroborunner#CreatedAtTimestamp", - "traits": { - "smithy.api#required": {} - } - }, - "updatedAt": { - "target": "com.amazonaws.iotroborunner#UpdatedAtTimestamp", - "traits": { - "smithy.api#required": {} - } - }, - "name": { - "target": "com.amazonaws.iotroborunner#Name", - "traits": { - "smithy.api#required": {} - } - }, - "site": { - "target": "com.amazonaws.iotroborunner#SiteArn", - "traits": { - "smithy.api#required": {} - } - }, - "additionalTransientProperties": { - "target": "com.amazonaws.iotroborunner#WorkerAdditionalTransientPropertiesJson" - }, - "additionalFixedProperties": { - "target": "com.amazonaws.iotroborunner#WorkerAdditionalFixedPropertiesJson" - }, - "vendorProperties": { - "target": "com.amazonaws.iotroborunner#VendorProperties" - }, - "position": { - "target": "com.amazonaws.iotroborunner#PositionCoordinates" - }, - "orientation": { - "target": "com.amazonaws.iotroborunner#Orientation" - } - }, - "traits": { - "smithy.api#documentation": "A unit capable of performing tasks." - } - }, - "com.amazonaws.iotroborunner#WorkerAdditionalFixedPropertiesJson": { - "type": "string", - "traits": { - "smithy.api#documentation": "JSON blob containing unstructured worker properties that are fixed and won't change during regular operation.", - "smithy.api#length": { - "min": 1, - "max": 131072 - } - } - }, - "com.amazonaws.iotroborunner#WorkerAdditionalTransientPropertiesJson": { - "type": "string", - "traits": { - "smithy.api#documentation": "JSON blob containing unstructured worker properties that are transient and may change during regular operation.", - "smithy.api#length": { - "min": 1, - "max": 131072 - } - } - }, - "com.amazonaws.iotroborunner#WorkerArn": { - "type": "string", - "traits": { - "aws.api#arnReference": { - "service": "com.amazonaws.iotroborunner#IoTRoboRunner", - "resource": "com.amazonaws.iotroborunner#WorkerResource" - }, - "smithy.api#documentation": "Full ARN of the worker.", - "smithy.api#length": { - "min": 1, - "max": 1011 - }, - "smithy.api#pattern": "^arn:aws:iotroborunner:[\\w-]+:\\w+:site/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/worker-fleet/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/worker/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$" - } - }, - "com.amazonaws.iotroborunner#WorkerFleet": { - "type": "structure", - "members": { - "arn": { - "target": "com.amazonaws.iotroborunner#WorkerFleetArn", - "traits": { - "smithy.api#required": {} - } - }, - "id": { - "target": "com.amazonaws.iotroborunner#WorkerFleetId", - "traits": { - "smithy.api#required": {} - } - }, - "name": { - "target": "com.amazonaws.iotroborunner#Name", - "traits": { - "smithy.api#required": {} - } - }, - "site": { - "target": "com.amazonaws.iotroborunner#SiteArn", - "traits": { - "smithy.api#required": {} - } - }, - "createdAt": { - "target": "com.amazonaws.iotroborunner#CreatedAtTimestamp", - "traits": { - "smithy.api#required": {} - } - }, - "updatedAt": { - "target": "com.amazonaws.iotroborunner#UpdatedAtTimestamp", - "traits": { - "smithy.api#required": {} - } - }, - "additionalFixedProperties": { - "target": "com.amazonaws.iotroborunner#WorkerFleetAdditionalFixedProperties" - } - }, - "traits": { - "smithy.api#documentation": "A collection of workers organized within a facility." - } - }, - "com.amazonaws.iotroborunner#WorkerFleetAdditionalFixedProperties": { - "type": "string", - "traits": { - "smithy.api#documentation": "JSON blob containing additional fixed properties regarding the worker fleet", - "smithy.api#length": { - "min": 1, - "max": 131072 - } - } - }, - "com.amazonaws.iotroborunner#WorkerFleetArn": { - "type": "string", - "traits": { - "aws.api#arnReference": { - "service": "com.amazonaws.iotroborunner#IoTRoboRunner", - "resource": "com.amazonaws.iotroborunner#WorkerFleetResource" - }, - "smithy.api#documentation": "Full ARN of the worker fleet.", - "smithy.api#length": { - "min": 1, - "max": 1011 - }, - "smithy.api#pattern": "^arn:aws:iotroborunner:[\\w-]+:\\w+:site/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/worker-fleet/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$" - } - }, - "com.amazonaws.iotroborunner#WorkerFleetGenericIdentifier": { - "type": "string", - "traits": { - "smithy.api#documentation": "Full ARN of the worker fleet.", - "smithy.api#length": { - "min": 1, - "max": 1011 - }, - "smithy.api#pattern": "^arn:aws:iotroborunner:[\\w-]+:\\w+:site/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/worker-fleet/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$" - } - }, - "com.amazonaws.iotroborunner#WorkerFleetId": { - "type": "string", - "traits": { - "smithy.api#documentation": "Filters access by the worker fleet's identifier", - "smithy.api#length": { - "min": 1, - "max": 255 - } - } - }, - "com.amazonaws.iotroborunner#WorkerFleetResource": { - "type": "resource", - "identifiers": { - "workerFleetId": { - "target": "com.amazonaws.iotroborunner#WorkerFleetId" - }, - "siteId": { - "target": "com.amazonaws.iotroborunner#SiteId" - } - }, - "create": { - "target": "com.amazonaws.iotroborunner#CreateWorkerFleet" - }, - "list": { - "target": "com.amazonaws.iotroborunner#ListWorkerFleets" - }, - "resources": [ - { - "target": "com.amazonaws.iotroborunner#WorkerResource" - } - ], - "traits": { - "aws.api#arn": { - "template": "site/{siteId}/worker-fleet/{workerFleetId}", - "absolute": true - }, - "smithy.api#documentation": "Represents a WorkerFleet that operates at a Site and contains Workers" - } - }, - "com.amazonaws.iotroborunner#WorkerFleets": { - "type": "list", - "member": { - "target": "com.amazonaws.iotroborunner#WorkerFleet" - }, - "traits": { - "smithy.api#documentation": "List of worker fleets." - } - }, - "com.amazonaws.iotroborunner#WorkerGenericIdentifier": { - "type": "string", - "traits": { - "smithy.api#documentation": "Full ARN of the worker.", - "smithy.api#length": { - "min": 1, - "max": 1011 - }, - "smithy.api#pattern": "^arn:aws:iotroborunner:[\\w-]+:\\w+:site/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/worker-fleet/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/worker/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$" - } - }, - "com.amazonaws.iotroborunner#WorkerId": { - "type": "string", - "traits": { - "smithy.api#documentation": "Filters access by the workers identifier", - "smithy.api#length": { - "min": 1, - "max": 255 - } - } - }, - "com.amazonaws.iotroborunner#WorkerResource": { - "type": "resource", - "identifiers": { - "workerId": { - "target": "com.amazonaws.iotroborunner#WorkerId" - }, - "workerFleetId": { - "target": "com.amazonaws.iotroborunner#WorkerFleetId" - }, - "siteId": { - "target": "com.amazonaws.iotroborunner#SiteId" - } - }, - "traits": { - "aws.api#arn": { - "template": "site/{siteId}/worker-fleet/{workerFleetId}/worker/{workerId}", - "absolute": true - }, - "smithy.api#documentation": "Represents a Worker that performs Actions" - } - }, - "com.amazonaws.iotroborunner#Workers": { - "type": "list", - "member": { - "target": "com.amazonaws.iotroborunner#Worker" - }, - "traits": { - "smithy.api#documentation": "List of workers." - } - } - } -} diff --git a/codegen/smithy-aws-typescript-codegen/src/main/resources/software/amazon/smithy/aws/typescript/codegen/endpoints.json b/codegen/smithy-aws-typescript-codegen/src/main/resources/software/amazon/smithy/aws/typescript/codegen/endpoints.json index 3a1d0a6835633..c42cecb1b7fac 100644 --- a/codegen/smithy-aws-typescript-codegen/src/main/resources/software/amazon/smithy/aws/typescript/codegen/endpoints.json +++ b/codegen/smithy-aws-typescript-codegen/src/main/resources/software/amazon/smithy/aws/typescript/codegen/endpoints.json @@ -10443,12 +10443,6 @@ "us-east-1": {} } }, - "iotroborunner": { - "endpoints": { - "eu-central-1": {}, - "us-east-1": {} - } - }, "iotsecuredtunneling": { "defaults": { "variants": [