diff --git a/clients/client-apptest/.gitignore b/clients/client-apptest/.gitignore deleted file mode 100644 index 54f14c9aef25..000000000000 --- a/clients/client-apptest/.gitignore +++ /dev/null @@ -1,9 +0,0 @@ -/node_modules/ -/build/ -/coverage/ -/docs/ -/dist-* -*.tsbuildinfo -*.tgz -*.log -package-lock.json diff --git a/clients/client-apptest/CHANGELOG.md b/clients/client-apptest/CHANGELOG.md deleted file mode 100644 index 335911953dd0..000000000000 --- a/clients/client-apptest/CHANGELOG.md +++ /dev/null @@ -1,1102 +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.918.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.917.0...v3.918.0) (2025-10-27) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.917.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.916.0...v3.917.0) (2025-10-24) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.916.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.915.0...v3.916.0) (2025-10-23) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.914.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.913.0...v3.914.0) (2025-10-21) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.913.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.912.0...v3.913.0) (2025-10-17) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.912.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.911.0...v3.912.0) (2025-10-16) - - -### Features - -* **client-apptest:** Update endpoint ruleset parameters casing ([fa595a6](https://github.com/aws/aws-sdk-js-v3/commit/fa595a6e3f653d5f122dd83253b6376c625ff424)) - - - - - -# [3.911.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.910.0...v3.911.0) (2025-10-15) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.910.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.909.0...v3.910.0) (2025-10-14) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.908.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.907.0...v3.908.0) (2025-10-10) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.907.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.906.0...v3.907.0) (2025-10-09) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.906.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.905.0...v3.906.0) (2025-10-08) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.901.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.900.0...v3.901.0) (2025-10-01) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.899.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.898.0...v3.899.0) (2025-09-29) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.896.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.895.0...v3.896.0) (2025-09-24) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.895.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.894.0...v3.895.0) (2025-09-23) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.894.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.893.0...v3.894.0) (2025-09-22) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.893.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.892.0...v3.893.0) (2025-09-19) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.891.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.890.0...v3.891.0) (2025-09-17) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.890.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.889.0...v3.890.0) (2025-09-16) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.888.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.887.0...v3.888.0) (2025-09-12) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.887.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.886.0...v3.887.0) (2025-09-11) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.886.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.885.0...v3.886.0) (2025-09-10) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.883.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.882.0...v3.883.0) (2025-09-05) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.882.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.881.0...v3.882.0) (2025-09-04) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.879.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.878.0...v3.879.0) (2025-08-29) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.876.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.875.0...v3.876.0) (2025-08-26) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.873.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.872.0...v3.873.0) (2025-08-21) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.872.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.871.0...v3.872.0) (2025-08-20) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.864.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.863.0...v3.864.0) (2025-08-08) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.863.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.862.0...v3.863.0) (2025-08-07) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.862.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.861.0...v3.862.0) (2025-08-06) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.859.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.858.0...v3.859.0) (2025-08-01) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.858.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.857.0...v3.858.0) (2025-07-31) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.857.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.856.0...v3.857.0) (2025-07-30) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.856.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.855.0...v3.856.0) (2025-07-29) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.855.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.854.0...v3.855.0) (2025-07-28) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.848.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.847.0...v3.848.0) (2025-07-17) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.846.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.845.0...v3.846.0) (2025-07-16) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.845.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.844.0...v3.845.0) (2025-07-15) - - -### Bug Fixes - -* **clients:** upgrade @smithy/middleware-endpoint to fix file/env endpoint resolution ([#7206](https://github.com/aws/aws-sdk-js-v3/issues/7206)) ([37a6275](https://github.com/aws/aws-sdk-js-v3/commit/37a627510bc53ad0ce8d3ef10a2a5ec8ad195ee2)) - - - - - -# [3.844.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.843.0...v3.844.0) (2025-07-09) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.840.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.839.0...v3.840.0) (2025-06-30) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.839.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.838.0...v3.839.0) (2025-06-27) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.835.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.834.0...v3.835.0) (2025-06-23) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.830.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.829.0...v3.830.0) (2025-06-16) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.828.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.827.1...v3.828.0) (2025-06-11) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.826.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.825.0...v3.826.0) (2025-06-06) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.825.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.824.0...v3.825.0) (2025-06-05) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.823.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.822.0...v3.823.0) (2025-06-03) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.821.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.820.0...v3.821.0) (2025-05-30) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.817.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.816.0...v3.817.0) (2025-05-23) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.816.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.815.0...v3.816.0) (2025-05-22) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.812.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.811.0...v3.812.0) (2025-05-16) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.810.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.809.0...v3.810.0) (2025-05-14) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.808.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.807.0...v3.808.0) (2025-05-12) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.806.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.805.0...v3.806.0) (2025-05-08) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.804.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.803.0...v3.804.0) (2025-05-06) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.803.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.802.0...v3.803.0) (2025-05-05) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.799.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.798.0...v3.799.0) (2025-04-29) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.798.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.797.0...v3.798.0) (2025-04-28) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.797.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.796.0...v3.797.0) (2025-04-25) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.796.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.795.0...v3.796.0) (2025-04-24) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.787.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.786.0...v3.787.0) (2025-04-10) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.782.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.781.0...v3.782.0) (2025-04-03) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.777.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.776.0...v3.777.0) (2025-03-27) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.775.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.774.0...v3.775.0) (2025-03-25) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.774.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.773.0...v3.774.0) (2025-03-24) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.772.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.771.0...v3.772.0) (2025-03-20) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.758.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.757.0...v3.758.0) (2025-02-27) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.750.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.749.0...v3.750.0) (2025-02-17) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.749.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.748.0...v3.749.0) (2025-02-14) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.744.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.743.0...v3.744.0) (2025-02-07) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.743.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.742.1...v3.743.0) (2025-02-06) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.741.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.740.0...v3.741.0) (2025-02-03) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.738.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.737.0...v3.738.0) (2025-01-29) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.734.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.733.0...v3.734.0) (2025-01-23) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -## [3.731.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.731.0...v3.731.1) (2025-01-18) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.731.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.730.0...v3.731.0) (2025-01-17) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.730.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.729.0...v3.730.0) (2025-01-16) - - -### Bug Fixes - -* **nested-clients:** create nested clients for internal use ([#6791](https://github.com/aws/aws-sdk-js-v3/issues/6791)) ([5c53685](https://github.com/aws/aws-sdk-js-v3/commit/5c5368554d13a3b798a72c53e30cd3d897621135)) - - - - - -## [3.726.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.726.0...v3.726.1) (2025-01-10) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.726.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.725.0...v3.726.0) (2025-01-09) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.723.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.722.0...v3.723.0) (2025-01-06) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.721.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.720.0...v3.721.0) (2025-01-02) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.716.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.715.0...v3.716.0) (2024-12-19) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.714.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.713.0...v3.714.0) (2024-12-17) - - -### Features - -* **clients:** profile setting for clients ([#6728](https://github.com/aws/aws-sdk-js-v3/issues/6728)) ([afd9eea](https://github.com/aws/aws-sdk-js-v3/commit/afd9eea89fd0d63a377123f1ca999daeefd904a7)) - - - - - -# [3.713.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.712.0...v3.713.0) (2024-12-16) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.712.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.711.0...v3.712.0) (2024-12-13) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.709.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.708.0...v3.709.0) (2024-12-10) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.699.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.698.0...v3.699.0) (2024-11-22) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.696.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.695.0...v3.696.0) (2024-11-19) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.693.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.692.0...v3.693.0) (2024-11-15) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.692.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.691.0...v3.692.0) (2024-11-14) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.691.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.690.0...v3.691.0) (2024-11-13) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.687.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.686.0...v3.687.0) (2024-11-07) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.686.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.685.0...v3.686.0) (2024-11-06) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.682.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.681.0...v3.682.0) (2024-10-29) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.679.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.678.0...v3.679.0) (2024-10-24) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.678.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.677.0...v3.678.0) (2024-10-23) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.677.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.676.0...v3.677.0) (2024-10-22) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.675.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.674.0...v3.675.0) (2024-10-18) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.674.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.673.0...v3.674.0) (2024-10-17) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.670.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.669.0...v3.670.0) (2024-10-11) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.669.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.668.0...v3.669.0) (2024-10-10) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.668.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.667.0...v3.668.0) (2024-10-09) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.667.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.666.0...v3.667.0) (2024-10-08) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.666.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.665.0...v3.666.0) (2024-10-07) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.665.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.664.0...v3.665.0) (2024-10-04) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.664.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.663.0...v3.664.0) (2024-10-03) - - -### Features - -* **middleware-user-agent:** add client config for userAgentAppId ([#6524](https://github.com/aws/aws-sdk-js-v3/issues/6524)) ([2990ea8](https://github.com/aws/aws-sdk-js-v3/commit/2990ea8f0d689966a9de0000d579f147c2d4af81)) - - - - - -# [3.662.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.661.0...v3.662.0) (2024-10-01) - - -### Bug Fixes - -* **s3-request-presigner:** enable overriding hoistable headers ([#6535](https://github.com/aws/aws-sdk-js-v3/issues/6535)) ([3c2e59c](https://github.com/aws/aws-sdk-js-v3/commit/3c2e59cfddd753d1c9739332b9195ae5eadde4df)) - - - - - -## [3.658.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.658.0...v3.658.1) (2024-09-25) - - -### Bug Fixes - -* **clients:** allow empty string field values for headers ([#6511](https://github.com/aws/aws-sdk-js-v3/issues/6511)) ([1273ff3](https://github.com/aws/aws-sdk-js-v3/commit/1273ff317071749cfeb88caad9df7492256c03e2)) - - - - - -# [3.658.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.657.0...v3.658.0) (2024-09-24) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.654.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.653.0...v3.654.0) (2024-09-18) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -## [3.651.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.651.0...v3.651.1) (2024-09-13) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.650.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.649.0...v3.650.0) (2024-09-11) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.649.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.648.0...v3.649.0) (2024-09-10) - - -### Features - -* **endpoints:** codegen sync for request creation performance improvements ([#6449](https://github.com/aws/aws-sdk-js-v3/issues/6449)) ([c8e8f28](https://github.com/aws/aws-sdk-js-v3/commit/c8e8f28d0714c8165162e1411b5f740ba729a93a)) - - - - - -# [3.645.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.644.0...v3.645.0) (2024-09-04) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.637.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.636.0...v3.637.0) (2024-08-22) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.635.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.634.0...v3.635.0) (2024-08-20) - - -### Features - -* **codegen:** add Smithy RPCv2 CBOR to list of protocols ([#6096](https://github.com/aws/aws-sdk-js-v3/issues/6096)) ([5154d4f](https://github.com/aws/aws-sdk-js-v3/commit/5154d4f19bc77a7bad075b35ce135d3b5f60ad1d)) - - - - - -# [3.632.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.631.0...v3.632.0) (2024-08-15) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.631.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.630.0...v3.631.0) (2024-08-14) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.629.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.628.0...v3.629.0) (2024-08-12) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.624.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.623.0...v3.624.0) (2024-08-05) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.623.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.622.0...v3.623.0) (2024-08-02) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.622.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.621.0...v3.622.0) (2024-08-01) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.621.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.620.1...v3.621.0) (2024-07-30) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -## [3.620.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.620.0...v3.620.1) (2024-07-29) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.620.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.619.0...v3.620.0) (2024-07-25) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.616.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.615.0...v3.616.0) (2024-07-18) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.614.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.613.0...v3.614.0) (2024-07-10) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.613.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.612.0...v3.613.0) (2024-07-09) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.609.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.608.0...v3.609.0) (2024-07-02) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.606.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.605.0...v3.606.0) (2024-06-27) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.600.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.599.0...v3.600.0) (2024-06-18) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.598.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.597.0...v3.598.0) (2024-06-14) - -**Note:** Version bump only for package @aws-sdk/client-apptest - - - - - -# [3.596.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.595.0...v3.596.0) (2024-06-12) - - -### Features - -* **client-apptest:** AWS Mainframe Modernization Application Testing is an AWS Mainframe Modernization service feature that automates functional equivalence testing for mainframe application modernization and migration to AWS, and regression testing. ([5392a53](https://github.com/aws/aws-sdk-js-v3/commit/5392a539f82cdb66b858772c850953bc5ae506fe)) diff --git a/clients/client-apptest/LICENSE b/clients/client-apptest/LICENSE deleted file mode 100644 index 1349aa7c9923..000000000000 --- a/clients/client-apptest/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-2024 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-apptest/README.md b/clients/client-apptest/README.md deleted file mode 100644 index cca4fe092bfc..000000000000 --- a/clients/client-apptest/README.md +++ /dev/null @@ -1,397 +0,0 @@ - - -# @aws-sdk/client-apptest - -## Description - -AWS SDK for JavaScript AppTest Client for Node.js, Browser and React Native. - -
AWS Mainframe Modernization Application Testing provides tools and resources for automated functional equivalence testing for your migration projects.
- -## Installing - -To install this package, simply type add or install @aws-sdk/client-apptest -using your favorite package manager: - -- `npm install @aws-sdk/client-apptest` -- `yarn add @aws-sdk/client-apptest` -- `pnpm add @aws-sdk/client-apptest` - -## Getting Started - -### Import - -The AWS SDK is modulized by clients and commands. -To send a request, you only need to import the `AppTestClient` and -the commands you need, for example `ListTestCasesCommand`: - -```js -// ES5 example -const { AppTestClient, ListTestCasesCommand } = require("@aws-sdk/client-apptest"); -``` - -```ts -// ES6+ example -import { AppTestClient, ListTestCasesCommand } from "@aws-sdk/client-apptest"; -``` - -### 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 AppTestClient({ region: "REGION" }); - -const params = { - /** input parameters */ -}; -const command = new ListTestCasesCommand(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-apptest"; -const client = new AWS.AppTest({ region: "REGION" }); - -// async/await. -try { - const data = await client.listTestCases(params); - // process data. -} catch (error) { - // error handling. -} - -// Promises. -client - .listTestCases(params) - .then((data) => { - // process data. - }) - .catch((error) => { - // error handling. - }); - -// callbacks. -client.listTestCases(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-apptest` 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) - -AWS Mainframe Modernization Application Testing provides tools and resources for automated functional equivalence testing for your migration projects.
- * @public - */ -export class AppTest extends AppTestClient implements AppTest {} -createAggregatedClient(commands, AppTest); diff --git a/clients/client-apptest/src/AppTestClient.ts b/clients/client-apptest/src/AppTestClient.ts deleted file mode 100644 index 472fee963eae..000000000000 --- a/clients/client-apptest/src/AppTestClient.ts +++ /dev/null @@ -1,414 +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 { - defaultAppTestHttpAuthSchemeParametersProvider, - HttpAuthSchemeInputConfig, - HttpAuthSchemeResolvedConfig, - resolveHttpAuthSchemeConfig, -} from "./auth/httpAuthSchemeProvider"; -import { CreateTestCaseCommandInput, CreateTestCaseCommandOutput } from "./commands/CreateTestCaseCommand"; -import { - CreateTestConfigurationCommandInput, - CreateTestConfigurationCommandOutput, -} from "./commands/CreateTestConfigurationCommand"; -import { CreateTestSuiteCommandInput, CreateTestSuiteCommandOutput } from "./commands/CreateTestSuiteCommand"; -import { DeleteTestCaseCommandInput, DeleteTestCaseCommandOutput } from "./commands/DeleteTestCaseCommand"; -import { - DeleteTestConfigurationCommandInput, - DeleteTestConfigurationCommandOutput, -} from "./commands/DeleteTestConfigurationCommand"; -import { DeleteTestRunCommandInput, DeleteTestRunCommandOutput } from "./commands/DeleteTestRunCommand"; -import { DeleteTestSuiteCommandInput, DeleteTestSuiteCommandOutput } from "./commands/DeleteTestSuiteCommand"; -import { GetTestCaseCommandInput, GetTestCaseCommandOutput } from "./commands/GetTestCaseCommand"; -import { - GetTestConfigurationCommandInput, - GetTestConfigurationCommandOutput, -} from "./commands/GetTestConfigurationCommand"; -import { GetTestRunStepCommandInput, GetTestRunStepCommandOutput } from "./commands/GetTestRunStepCommand"; -import { GetTestSuiteCommandInput, GetTestSuiteCommandOutput } from "./commands/GetTestSuiteCommand"; -import { - ListTagsForResourceCommandInput, - ListTagsForResourceCommandOutput, -} from "./commands/ListTagsForResourceCommand"; -import { ListTestCasesCommandInput, ListTestCasesCommandOutput } from "./commands/ListTestCasesCommand"; -import { - ListTestConfigurationsCommandInput, - ListTestConfigurationsCommandOutput, -} from "./commands/ListTestConfigurationsCommand"; -import { ListTestRunsCommandInput, ListTestRunsCommandOutput } from "./commands/ListTestRunsCommand"; -import { ListTestRunStepsCommandInput, ListTestRunStepsCommandOutput } from "./commands/ListTestRunStepsCommand"; -import { - ListTestRunTestCasesCommandInput, - ListTestRunTestCasesCommandOutput, -} from "./commands/ListTestRunTestCasesCommand"; -import { ListTestSuitesCommandInput, ListTestSuitesCommandOutput } from "./commands/ListTestSuitesCommand"; -import { StartTestRunCommandInput, StartTestRunCommandOutput } from "./commands/StartTestRunCommand"; -import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand"; -import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand"; -import { UpdateTestCaseCommandInput, UpdateTestCaseCommandOutput } from "./commands/UpdateTestCaseCommand"; -import { - UpdateTestConfigurationCommandInput, - UpdateTestConfigurationCommandOutput, -} from "./commands/UpdateTestConfigurationCommand"; -import { UpdateTestSuiteCommandInput, UpdateTestSuiteCommandOutput } from "./commands/UpdateTestSuiteCommand"; -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 = - | CreateTestCaseCommandInput - | CreateTestConfigurationCommandInput - | CreateTestSuiteCommandInput - | DeleteTestCaseCommandInput - | DeleteTestConfigurationCommandInput - | DeleteTestRunCommandInput - | DeleteTestSuiteCommandInput - | GetTestCaseCommandInput - | GetTestConfigurationCommandInput - | GetTestRunStepCommandInput - | GetTestSuiteCommandInput - | ListTagsForResourceCommandInput - | ListTestCasesCommandInput - | ListTestConfigurationsCommandInput - | ListTestRunStepsCommandInput - | ListTestRunTestCasesCommandInput - | ListTestRunsCommandInput - | ListTestSuitesCommandInput - | StartTestRunCommandInput - | TagResourceCommandInput - | UntagResourceCommandInput - | UpdateTestCaseCommandInput - | UpdateTestConfigurationCommandInput - | UpdateTestSuiteCommandInput; - -/** - * @public - */ -export type ServiceOutputTypes = - | CreateTestCaseCommandOutput - | CreateTestConfigurationCommandOutput - | CreateTestSuiteCommandOutput - | DeleteTestCaseCommandOutput - | DeleteTestConfigurationCommandOutput - | DeleteTestRunCommandOutput - | DeleteTestSuiteCommandOutput - | GetTestCaseCommandOutput - | GetTestConfigurationCommandOutput - | GetTestRunStepCommandOutput - | GetTestSuiteCommandOutput - | ListTagsForResourceCommandOutput - | ListTestCasesCommandOutput - | ListTestConfigurationsCommandOutput - | ListTestRunStepsCommandOutput - | ListTestRunTestCasesCommandOutput - | ListTestRunsCommandOutput - | ListTestSuitesCommandOutput - | StartTestRunCommandOutput - | TagResourceCommandOutput - | UntagResourceCommandOutput - | UpdateTestCaseCommandOutput - | UpdateTestConfigurationCommandOutput - | UpdateTestSuiteCommandOutput; - -/** - * @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 | __ProviderAWS Mainframe Modernization Application Testing provides tools and resources for automated functional equivalence testing for your migration projects.
- * @public - */ -export class AppTestClient extends __Client< - __HttpHandlerOptions, - ServiceInputTypes, - ServiceOutputTypes, - AppTestClientResolvedConfig -> { - /** - * The resolved configuration of AppTestClient class. This is resolved and normalized from the {@link AppTestClientConfig | constructor configuration interface}. - */ - readonly config: AppTestClientResolvedConfig; - - constructor(...[configuration]: __CheckOptionalClientConfigCreates a test case.
- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { AppTestClient, CreateTestCaseCommand } from "@aws-sdk/client-apptest"; // ES Modules import - * // const { AppTestClient, CreateTestCaseCommand } = require("@aws-sdk/client-apptest"); // CommonJS import - * // import type { AppTestClientConfig } from "@aws-sdk/client-apptest"; - * const config = {}; // type is AppTestClientConfig - * const client = new AppTestClient(config); - * const input = { // CreateTestCaseRequest - * name: "STRING_VALUE", // required - * description: "STRING_VALUE", - * steps: [ // StepList // required - * { // Step - * name: "STRING_VALUE", // required - * description: "STRING_VALUE", - * action: { // StepAction Union: only one key present - * resourceAction: { // ResourceAction Union: only one key present - * m2ManagedApplicationAction: { // M2ManagedApplicationAction - * resource: "STRING_VALUE", // required - * actionType: "Configure" || "Deconfigure", // required - * properties: { // M2ManagedActionProperties - * forceStop: true || false, - * importDataSetLocation: "STRING_VALUE", - * }, - * }, - * m2NonManagedApplicationAction: { // M2NonManagedApplicationAction - * resource: "STRING_VALUE", // required - * actionType: "Configure" || "Deconfigure", // required - * }, - * cloudFormationAction: { // CloudFormationAction - * resource: "STRING_VALUE", // required - * actionType: "Create" || "Delete", - * }, - * }, - * mainframeAction: { // MainframeAction - * resource: "STRING_VALUE", // required - * actionType: { // MainframeActionType Union: only one key present - * batch: { // Batch - * batchJobName: "STRING_VALUE", // required - * batchJobParameters: { // BatchJobParameters - * "The account or role doesn't have the right permissions to make the request.
- * - * @throws {@link ConflictException} (client fault) - *The parameters provided in the request conflict with existing resources.
- * - * @throws {@link InternalServerException} (server fault) - *An unexpected error occurred during the processing of the request.
- * - * @throws {@link ServiceQuotaExceededException} (client fault) - *One or more quotas for AWS Application Testing exceeds the limit.
- * - * @throws {@link ThrottlingException} (client fault) - *The number of requests made exceeds the limit.
- * - * @throws {@link ValidationException} (client fault) - *One or more parameter provided in the request is not valid.
- * - * @throws {@link AppTestServiceException} - *Base exception class for all service exceptions from AppTest service.
- * - * - * @public - */ -export class CreateTestCaseCommand extends $Command - .classBuilder< - CreateTestCaseCommandInput, - CreateTestCaseCommandOutput, - AppTestClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: AppTestClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("AwsApptestControlPlaneService", "CreateTestCase", {}) - .n("AppTestClient", "CreateTestCaseCommand") - .f(void 0, void 0) - .ser(se_CreateTestCaseCommand) - .de(de_CreateTestCaseCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: CreateTestCaseRequest; - output: CreateTestCaseResponse; - }; - sdk: { - input: CreateTestCaseCommandInput; - output: CreateTestCaseCommandOutput; - }; - }; -} diff --git a/clients/client-apptest/src/commands/CreateTestConfigurationCommand.ts b/clients/client-apptest/src/commands/CreateTestConfigurationCommand.ts deleted file mode 100644 index c1aec669a7d1..000000000000 --- a/clients/client-apptest/src/commands/CreateTestConfigurationCommand.ts +++ /dev/null @@ -1,150 +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 { AppTestClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppTestClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { CreateTestConfigurationRequest, CreateTestConfigurationResponse } from "../models/models_0"; -import { de_CreateTestConfigurationCommand, se_CreateTestConfigurationCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link CreateTestConfigurationCommand}. - */ -export interface CreateTestConfigurationCommandInput extends CreateTestConfigurationRequest {} -/** - * @public - * - * The output of {@link CreateTestConfigurationCommand}. - */ -export interface CreateTestConfigurationCommandOutput extends CreateTestConfigurationResponse, __MetadataBearer {} - -/** - *Creates a test configuration.
- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { AppTestClient, CreateTestConfigurationCommand } from "@aws-sdk/client-apptest"; // ES Modules import - * // const { AppTestClient, CreateTestConfigurationCommand } = require("@aws-sdk/client-apptest"); // CommonJS import - * // import type { AppTestClientConfig } from "@aws-sdk/client-apptest"; - * const config = {}; // type is AppTestClientConfig - * const client = new AppTestClient(config); - * const input = { // CreateTestConfigurationRequest - * name: "STRING_VALUE", // required - * description: "STRING_VALUE", - * resources: [ // ResourceList // required - * { // Resource - * name: "STRING_VALUE", // required - * type: { // ResourceType Union: only one key present - * cloudFormation: { // CloudFormation - * templateLocation: "STRING_VALUE", // required - * parameters: { // Properties - * "The account or role doesn't have the right permissions to make the request.
- * - * @throws {@link ConflictException} (client fault) - *The parameters provided in the request conflict with existing resources.
- * - * @throws {@link InternalServerException} (server fault) - *An unexpected error occurred during the processing of the request.
- * - * @throws {@link ServiceQuotaExceededException} (client fault) - *One or more quotas for AWS Application Testing exceeds the limit.
- * - * @throws {@link ThrottlingException} (client fault) - *The number of requests made exceeds the limit.
- * - * @throws {@link ValidationException} (client fault) - *One or more parameter provided in the request is not valid.
- * - * @throws {@link AppTestServiceException} - *Base exception class for all service exceptions from AppTest service.
- * - * - * @public - */ -export class CreateTestConfigurationCommand extends $Command - .classBuilder< - CreateTestConfigurationCommandInput, - CreateTestConfigurationCommandOutput, - AppTestClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: AppTestClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("AwsApptestControlPlaneService", "CreateTestConfiguration", {}) - .n("AppTestClient", "CreateTestConfigurationCommand") - .f(void 0, void 0) - .ser(se_CreateTestConfigurationCommand) - .de(de_CreateTestConfigurationCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: CreateTestConfigurationRequest; - output: CreateTestConfigurationResponse; - }; - sdk: { - input: CreateTestConfigurationCommandInput; - output: CreateTestConfigurationCommandOutput; - }; - }; -} diff --git a/clients/client-apptest/src/commands/CreateTestSuiteCommand.ts b/clients/client-apptest/src/commands/CreateTestSuiteCommand.ts deleted file mode 100644 index 83dbc25f963a..000000000000 --- a/clients/client-apptest/src/commands/CreateTestSuiteCommand.ts +++ /dev/null @@ -1,296 +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 { AppTestClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppTestClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { CreateTestSuiteRequest, CreateTestSuiteResponse } from "../models/models_0"; -import { de_CreateTestSuiteCommand, se_CreateTestSuiteCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link CreateTestSuiteCommand}. - */ -export interface CreateTestSuiteCommandInput extends CreateTestSuiteRequest {} -/** - * @public - * - * The output of {@link CreateTestSuiteCommand}. - */ -export interface CreateTestSuiteCommandOutput extends CreateTestSuiteResponse, __MetadataBearer {} - -/** - *Creates a test suite.
- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { AppTestClient, CreateTestSuiteCommand } from "@aws-sdk/client-apptest"; // ES Modules import - * // const { AppTestClient, CreateTestSuiteCommand } = require("@aws-sdk/client-apptest"); // CommonJS import - * // import type { AppTestClientConfig } from "@aws-sdk/client-apptest"; - * const config = {}; // type is AppTestClientConfig - * const client = new AppTestClient(config); - * const input = { // CreateTestSuiteRequest - * name: "STRING_VALUE", // required - * description: "STRING_VALUE", - * beforeSteps: [ // StepList - * { // Step - * name: "STRING_VALUE", // required - * description: "STRING_VALUE", - * action: { // StepAction Union: only one key present - * resourceAction: { // ResourceAction Union: only one key present - * m2ManagedApplicationAction: { // M2ManagedApplicationAction - * resource: "STRING_VALUE", // required - * actionType: "Configure" || "Deconfigure", // required - * properties: { // M2ManagedActionProperties - * forceStop: true || false, - * importDataSetLocation: "STRING_VALUE", - * }, - * }, - * m2NonManagedApplicationAction: { // M2NonManagedApplicationAction - * resource: "STRING_VALUE", // required - * actionType: "Configure" || "Deconfigure", // required - * }, - * cloudFormationAction: { // CloudFormationAction - * resource: "STRING_VALUE", // required - * actionType: "Create" || "Delete", - * }, - * }, - * mainframeAction: { // MainframeAction - * resource: "STRING_VALUE", // required - * actionType: { // MainframeActionType Union: only one key present - * batch: { // Batch - * batchJobName: "STRING_VALUE", // required - * batchJobParameters: { // BatchJobParameters - * "The account or role doesn't have the right permissions to make the request.
- * - * @throws {@link ConflictException} (client fault) - *The parameters provided in the request conflict with existing resources.
- * - * @throws {@link InternalServerException} (server fault) - *An unexpected error occurred during the processing of the request.
- * - * @throws {@link ServiceQuotaExceededException} (client fault) - *One or more quotas for AWS Application Testing exceeds the limit.
- * - * @throws {@link ThrottlingException} (client fault) - *The number of requests made exceeds the limit.
- * - * @throws {@link ValidationException} (client fault) - *One or more parameter provided in the request is not valid.
- * - * @throws {@link AppTestServiceException} - *Base exception class for all service exceptions from AppTest service.
- * - * - * @public - */ -export class CreateTestSuiteCommand extends $Command - .classBuilder< - CreateTestSuiteCommandInput, - CreateTestSuiteCommandOutput, - AppTestClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: AppTestClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("AwsApptestControlPlaneService", "CreateTestSuite", {}) - .n("AppTestClient", "CreateTestSuiteCommand") - .f(void 0, void 0) - .ser(se_CreateTestSuiteCommand) - .de(de_CreateTestSuiteCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: CreateTestSuiteRequest; - output: CreateTestSuiteResponse; - }; - sdk: { - input: CreateTestSuiteCommandInput; - output: CreateTestSuiteCommandOutput; - }; - }; -} diff --git a/clients/client-apptest/src/commands/DeleteTestCaseCommand.ts b/clients/client-apptest/src/commands/DeleteTestCaseCommand.ts deleted file mode 100644 index 1fa9d455a515..000000000000 --- a/clients/client-apptest/src/commands/DeleteTestCaseCommand.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 { AppTestClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppTestClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { DeleteTestCaseRequest, DeleteTestCaseResponse } from "../models/models_0"; -import { de_DeleteTestCaseCommand, se_DeleteTestCaseCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link DeleteTestCaseCommand}. - */ -export interface DeleteTestCaseCommandInput extends DeleteTestCaseRequest {} -/** - * @public - * - * The output of {@link DeleteTestCaseCommand}. - */ -export interface DeleteTestCaseCommandOutput extends DeleteTestCaseResponse, __MetadataBearer {} - -/** - *Deletes a test case.
- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { AppTestClient, DeleteTestCaseCommand } from "@aws-sdk/client-apptest"; // ES Modules import - * // const { AppTestClient, DeleteTestCaseCommand } = require("@aws-sdk/client-apptest"); // CommonJS import - * // import type { AppTestClientConfig } from "@aws-sdk/client-apptest"; - * const config = {}; // type is AppTestClientConfig - * const client = new AppTestClient(config); - * const input = { // DeleteTestCaseRequest - * testCaseId: "STRING_VALUE", // required - * }; - * const command = new DeleteTestCaseCommand(input); - * const response = await client.send(command); - * // {}; - * - * ``` - * - * @param DeleteTestCaseCommandInput - {@link DeleteTestCaseCommandInput} - * @returns {@link DeleteTestCaseCommandOutput} - * @see {@link DeleteTestCaseCommandInput} for command's `input` shape. - * @see {@link DeleteTestCaseCommandOutput} for command's `response` shape. - * @see {@link AppTestClientResolvedConfig | config} for AppTestClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - *The account or role doesn't have the right permissions to make the request.
- * - * @throws {@link ConflictException} (client fault) - *The parameters provided in the request conflict with existing resources.
- * - * @throws {@link InternalServerException} (server fault) - *An unexpected error occurred during the processing of the request.
- * - * @throws {@link ResourceNotFoundException} (client fault) - *The specified resource was not found.
- * - * @throws {@link ThrottlingException} (client fault) - *The number of requests made exceeds the limit.
- * - * @throws {@link ValidationException} (client fault) - *One or more parameter provided in the request is not valid.
- * - * @throws {@link AppTestServiceException} - *Base exception class for all service exceptions from AppTest service.
- * - * - * @public - */ -export class DeleteTestCaseCommand extends $Command - .classBuilder< - DeleteTestCaseCommandInput, - DeleteTestCaseCommandOutput, - AppTestClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: AppTestClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("AwsApptestControlPlaneService", "DeleteTestCase", {}) - .n("AppTestClient", "DeleteTestCaseCommand") - .f(void 0, void 0) - .ser(se_DeleteTestCaseCommand) - .de(de_DeleteTestCaseCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: DeleteTestCaseRequest; - output: {}; - }; - sdk: { - input: DeleteTestCaseCommandInput; - output: DeleteTestCaseCommandOutput; - }; - }; -} diff --git a/clients/client-apptest/src/commands/DeleteTestConfigurationCommand.ts b/clients/client-apptest/src/commands/DeleteTestConfigurationCommand.ts deleted file mode 100644 index df76a14fa2fb..000000000000 --- a/clients/client-apptest/src/commands/DeleteTestConfigurationCommand.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 { AppTestClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppTestClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { DeleteTestConfigurationRequest, DeleteTestConfigurationResponse } from "../models/models_0"; -import { de_DeleteTestConfigurationCommand, se_DeleteTestConfigurationCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link DeleteTestConfigurationCommand}. - */ -export interface DeleteTestConfigurationCommandInput extends DeleteTestConfigurationRequest {} -/** - * @public - * - * The output of {@link DeleteTestConfigurationCommand}. - */ -export interface DeleteTestConfigurationCommandOutput extends DeleteTestConfigurationResponse, __MetadataBearer {} - -/** - *Deletes a test configuration.
- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { AppTestClient, DeleteTestConfigurationCommand } from "@aws-sdk/client-apptest"; // ES Modules import - * // const { AppTestClient, DeleteTestConfigurationCommand } = require("@aws-sdk/client-apptest"); // CommonJS import - * // import type { AppTestClientConfig } from "@aws-sdk/client-apptest"; - * const config = {}; // type is AppTestClientConfig - * const client = new AppTestClient(config); - * const input = { // DeleteTestConfigurationRequest - * testConfigurationId: "STRING_VALUE", // required - * }; - * const command = new DeleteTestConfigurationCommand(input); - * const response = await client.send(command); - * // {}; - * - * ``` - * - * @param DeleteTestConfigurationCommandInput - {@link DeleteTestConfigurationCommandInput} - * @returns {@link DeleteTestConfigurationCommandOutput} - * @see {@link DeleteTestConfigurationCommandInput} for command's `input` shape. - * @see {@link DeleteTestConfigurationCommandOutput} for command's `response` shape. - * @see {@link AppTestClientResolvedConfig | config} for AppTestClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - *The account or role doesn't have the right permissions to make the request.
- * - * @throws {@link ConflictException} (client fault) - *The parameters provided in the request conflict with existing resources.
- * - * @throws {@link InternalServerException} (server fault) - *An unexpected error occurred during the processing of the request.
- * - * @throws {@link ServiceQuotaExceededException} (client fault) - *One or more quotas for AWS Application Testing exceeds the limit.
- * - * @throws {@link ThrottlingException} (client fault) - *The number of requests made exceeds the limit.
- * - * @throws {@link ValidationException} (client fault) - *One or more parameter provided in the request is not valid.
- * - * @throws {@link AppTestServiceException} - *Base exception class for all service exceptions from AppTest service.
- * - * - * @public - */ -export class DeleteTestConfigurationCommand extends $Command - .classBuilder< - DeleteTestConfigurationCommandInput, - DeleteTestConfigurationCommandOutput, - AppTestClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: AppTestClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("AwsApptestControlPlaneService", "DeleteTestConfiguration", {}) - .n("AppTestClient", "DeleteTestConfigurationCommand") - .f(void 0, void 0) - .ser(se_DeleteTestConfigurationCommand) - .de(de_DeleteTestConfigurationCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: DeleteTestConfigurationRequest; - output: {}; - }; - sdk: { - input: DeleteTestConfigurationCommandInput; - output: DeleteTestConfigurationCommandOutput; - }; - }; -} diff --git a/clients/client-apptest/src/commands/DeleteTestRunCommand.ts b/clients/client-apptest/src/commands/DeleteTestRunCommand.ts deleted file mode 100644 index 6cef4782221e..000000000000 --- a/clients/client-apptest/src/commands/DeleteTestRunCommand.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 { AppTestClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppTestClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { DeleteTestRunRequest, DeleteTestRunResponse } from "../models/models_0"; -import { de_DeleteTestRunCommand, se_DeleteTestRunCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link DeleteTestRunCommand}. - */ -export interface DeleteTestRunCommandInput extends DeleteTestRunRequest {} -/** - * @public - * - * The output of {@link DeleteTestRunCommand}. - */ -export interface DeleteTestRunCommandOutput extends DeleteTestRunResponse, __MetadataBearer {} - -/** - *Deletes a test run.
- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { AppTestClient, DeleteTestRunCommand } from "@aws-sdk/client-apptest"; // ES Modules import - * // const { AppTestClient, DeleteTestRunCommand } = require("@aws-sdk/client-apptest"); // CommonJS import - * // import type { AppTestClientConfig } from "@aws-sdk/client-apptest"; - * const config = {}; // type is AppTestClientConfig - * const client = new AppTestClient(config); - * const input = { // DeleteTestRunRequest - * testRunId: "STRING_VALUE", // required - * }; - * const command = new DeleteTestRunCommand(input); - * const response = await client.send(command); - * // {}; - * - * ``` - * - * @param DeleteTestRunCommandInput - {@link DeleteTestRunCommandInput} - * @returns {@link DeleteTestRunCommandOutput} - * @see {@link DeleteTestRunCommandInput} for command's `input` shape. - * @see {@link DeleteTestRunCommandOutput} for command's `response` shape. - * @see {@link AppTestClientResolvedConfig | config} for AppTestClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - *The account or role doesn't have the right permissions to make the request.
- * - * @throws {@link ConflictException} (client fault) - *The parameters provided in the request conflict with existing resources.
- * - * @throws {@link InternalServerException} (server fault) - *An unexpected error occurred during the processing of the request.
- * - * @throws {@link ThrottlingException} (client fault) - *The number of requests made exceeds the limit.
- * - * @throws {@link ValidationException} (client fault) - *One or more parameter provided in the request is not valid.
- * - * @throws {@link AppTestServiceException} - *Base exception class for all service exceptions from AppTest service.
- * - * - * @public - */ -export class DeleteTestRunCommand extends $Command - .classBuilder< - DeleteTestRunCommandInput, - DeleteTestRunCommandOutput, - AppTestClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: AppTestClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("AwsApptestControlPlaneService", "DeleteTestRun", {}) - .n("AppTestClient", "DeleteTestRunCommand") - .f(void 0, void 0) - .ser(se_DeleteTestRunCommand) - .de(de_DeleteTestRunCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: DeleteTestRunRequest; - output: {}; - }; - sdk: { - input: DeleteTestRunCommandInput; - output: DeleteTestRunCommandOutput; - }; - }; -} diff --git a/clients/client-apptest/src/commands/DeleteTestSuiteCommand.ts b/clients/client-apptest/src/commands/DeleteTestSuiteCommand.ts deleted file mode 100644 index 16f1d4114172..000000000000 --- a/clients/client-apptest/src/commands/DeleteTestSuiteCommand.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 { AppTestClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppTestClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { DeleteTestSuiteRequest, DeleteTestSuiteResponse } from "../models/models_0"; -import { de_DeleteTestSuiteCommand, se_DeleteTestSuiteCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link DeleteTestSuiteCommand}. - */ -export interface DeleteTestSuiteCommandInput extends DeleteTestSuiteRequest {} -/** - * @public - * - * The output of {@link DeleteTestSuiteCommand}. - */ -export interface DeleteTestSuiteCommandOutput extends DeleteTestSuiteResponse, __MetadataBearer {} - -/** - *Deletes a test suite.
- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { AppTestClient, DeleteTestSuiteCommand } from "@aws-sdk/client-apptest"; // ES Modules import - * // const { AppTestClient, DeleteTestSuiteCommand } = require("@aws-sdk/client-apptest"); // CommonJS import - * // import type { AppTestClientConfig } from "@aws-sdk/client-apptest"; - * const config = {}; // type is AppTestClientConfig - * const client = new AppTestClient(config); - * const input = { // DeleteTestSuiteRequest - * testSuiteId: "STRING_VALUE", // required - * }; - * const command = new DeleteTestSuiteCommand(input); - * const response = await client.send(command); - * // {}; - * - * ``` - * - * @param DeleteTestSuiteCommandInput - {@link DeleteTestSuiteCommandInput} - * @returns {@link DeleteTestSuiteCommandOutput} - * @see {@link DeleteTestSuiteCommandInput} for command's `input` shape. - * @see {@link DeleteTestSuiteCommandOutput} for command's `response` shape. - * @see {@link AppTestClientResolvedConfig | config} for AppTestClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - *The account or role doesn't have the right permissions to make the request.
- * - * @throws {@link ConflictException} (client fault) - *The parameters provided in the request conflict with existing resources.
- * - * @throws {@link InternalServerException} (server fault) - *An unexpected error occurred during the processing of the request.
- * - * @throws {@link ServiceQuotaExceededException} (client fault) - *One or more quotas for AWS Application Testing exceeds the limit.
- * - * @throws {@link ThrottlingException} (client fault) - *The number of requests made exceeds the limit.
- * - * @throws {@link ValidationException} (client fault) - *One or more parameter provided in the request is not valid.
- * - * @throws {@link AppTestServiceException} - *Base exception class for all service exceptions from AppTest service.
- * - * - * @public - */ -export class DeleteTestSuiteCommand extends $Command - .classBuilder< - DeleteTestSuiteCommandInput, - DeleteTestSuiteCommandOutput, - AppTestClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: AppTestClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("AwsApptestControlPlaneService", "DeleteTestSuite", {}) - .n("AppTestClient", "DeleteTestSuiteCommand") - .f(void 0, void 0) - .ser(se_DeleteTestSuiteCommand) - .de(de_DeleteTestSuiteCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: DeleteTestSuiteRequest; - output: {}; - }; - sdk: { - input: DeleteTestSuiteCommandInput; - output: DeleteTestSuiteCommandOutput; - }; - }; -} diff --git a/clients/client-apptest/src/commands/GetTestCaseCommand.ts b/clients/client-apptest/src/commands/GetTestCaseCommand.ts deleted file mode 100644 index 18e8bcfe85e8..000000000000 --- a/clients/client-apptest/src/commands/GetTestCaseCommand.ts +++ /dev/null @@ -1,213 +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 { AppTestClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppTestClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { GetTestCaseRequest, GetTestCaseResponse } from "../models/models_0"; -import { de_GetTestCaseCommand, se_GetTestCaseCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link GetTestCaseCommand}. - */ -export interface GetTestCaseCommandInput extends GetTestCaseRequest {} -/** - * @public - * - * The output of {@link GetTestCaseCommand}. - */ -export interface GetTestCaseCommandOutput extends GetTestCaseResponse, __MetadataBearer {} - -/** - *Gets a test case.
- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { AppTestClient, GetTestCaseCommand } from "@aws-sdk/client-apptest"; // ES Modules import - * // const { AppTestClient, GetTestCaseCommand } = require("@aws-sdk/client-apptest"); // CommonJS import - * // import type { AppTestClientConfig } from "@aws-sdk/client-apptest"; - * const config = {}; // type is AppTestClientConfig - * const client = new AppTestClient(config); - * const input = { // GetTestCaseRequest - * testCaseId: "STRING_VALUE", // required - * testCaseVersion: Number("int"), - * }; - * const command = new GetTestCaseCommand(input); - * const response = await client.send(command); - * // { // GetTestCaseResponse - * // testCaseId: "STRING_VALUE", // required - * // testCaseArn: "STRING_VALUE", // required - * // name: "STRING_VALUE", // required - * // description: "STRING_VALUE", - * // latestVersion: { // TestCaseLatestVersion - * // version: Number("int"), // required - * // status: "Active" || "Deleting", // required - * // statusReason: "STRING_VALUE", - * // }, - * // testCaseVersion: Number("int"), // required - * // status: "Active" || "Deleting", // required - * // statusReason: "STRING_VALUE", - * // creationTime: new Date("TIMESTAMP"), // required - * // lastUpdateTime: new Date("TIMESTAMP"), // required - * // steps: [ // StepList // required - * // { // Step - * // name: "STRING_VALUE", // required - * // description: "STRING_VALUE", - * // action: { // StepAction Union: only one key present - * // resourceAction: { // ResourceAction Union: only one key present - * // m2ManagedApplicationAction: { // M2ManagedApplicationAction - * // resource: "STRING_VALUE", // required - * // actionType: "Configure" || "Deconfigure", // required - * // properties: { // M2ManagedActionProperties - * // forceStop: true || false, - * // importDataSetLocation: "STRING_VALUE", - * // }, - * // }, - * // m2NonManagedApplicationAction: { // M2NonManagedApplicationAction - * // resource: "STRING_VALUE", // required - * // actionType: "Configure" || "Deconfigure", // required - * // }, - * // cloudFormationAction: { // CloudFormationAction - * // resource: "STRING_VALUE", // required - * // actionType: "Create" || "Delete", - * // }, - * // }, - * // mainframeAction: { // MainframeAction - * // resource: "STRING_VALUE", // required - * // actionType: { // MainframeActionType Union: only one key present - * // batch: { // Batch - * // batchJobName: "STRING_VALUE", // required - * // batchJobParameters: { // BatchJobParameters - * // "The account or role doesn't have the right permissions to make the request.
- * - * @throws {@link InternalServerException} (server fault) - *An unexpected error occurred during the processing of the request.
- * - * @throws {@link ResourceNotFoundException} (client fault) - *The specified resource was not found.
- * - * @throws {@link ThrottlingException} (client fault) - *The number of requests made exceeds the limit.
- * - * @throws {@link ValidationException} (client fault) - *One or more parameter provided in the request is not valid.
- * - * @throws {@link AppTestServiceException} - *Base exception class for all service exceptions from AppTest service.
- * - * - * @public - */ -export class GetTestCaseCommand extends $Command - .classBuilder< - GetTestCaseCommandInput, - GetTestCaseCommandOutput, - AppTestClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: AppTestClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("AwsApptestControlPlaneService", "GetTestCase", {}) - .n("AppTestClient", "GetTestCaseCommand") - .f(void 0, void 0) - .ser(se_GetTestCaseCommand) - .de(de_GetTestCaseCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: GetTestCaseRequest; - output: GetTestCaseResponse; - }; - sdk: { - input: GetTestCaseCommandInput; - output: GetTestCaseCommandOutput; - }; - }; -} diff --git a/clients/client-apptest/src/commands/GetTestConfigurationCommand.ts b/clients/client-apptest/src/commands/GetTestConfigurationCommand.ts deleted file mode 100644 index 078cd28e4d85..000000000000 --- a/clients/client-apptest/src/commands/GetTestConfigurationCommand.ts +++ /dev/null @@ -1,158 +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 { AppTestClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppTestClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { GetTestConfigurationRequest, GetTestConfigurationResponse } from "../models/models_0"; -import { de_GetTestConfigurationCommand, se_GetTestConfigurationCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link GetTestConfigurationCommand}. - */ -export interface GetTestConfigurationCommandInput extends GetTestConfigurationRequest {} -/** - * @public - * - * The output of {@link GetTestConfigurationCommand}. - */ -export interface GetTestConfigurationCommandOutput extends GetTestConfigurationResponse, __MetadataBearer {} - -/** - *Gets a test configuration.
- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { AppTestClient, GetTestConfigurationCommand } from "@aws-sdk/client-apptest"; // ES Modules import - * // const { AppTestClient, GetTestConfigurationCommand } = require("@aws-sdk/client-apptest"); // CommonJS import - * // import type { AppTestClientConfig } from "@aws-sdk/client-apptest"; - * const config = {}; // type is AppTestClientConfig - * const client = new AppTestClient(config); - * const input = { // GetTestConfigurationRequest - * testConfigurationId: "STRING_VALUE", // required - * testConfigurationVersion: Number("int"), - * }; - * const command = new GetTestConfigurationCommand(input); - * const response = await client.send(command); - * // { // GetTestConfigurationResponse - * // testConfigurationId: "STRING_VALUE", // required - * // name: "STRING_VALUE", // required - * // testConfigurationArn: "STRING_VALUE", // required - * // latestVersion: { // TestConfigurationLatestVersion - * // version: Number("int"), // required - * // status: "Active" || "Deleting", // required - * // statusReason: "STRING_VALUE", - * // }, - * // testConfigurationVersion: Number("int"), // required - * // status: "Active" || "Deleting", // required - * // statusReason: "STRING_VALUE", - * // creationTime: new Date("TIMESTAMP"), // required - * // lastUpdateTime: new Date("TIMESTAMP"), // required - * // description: "STRING_VALUE", - * // resources: [ // ResourceList // required - * // { // Resource - * // name: "STRING_VALUE", // required - * // type: { // ResourceType Union: only one key present - * // cloudFormation: { // CloudFormation - * // templateLocation: "STRING_VALUE", // required - * // parameters: { // Properties - * // "The account or role doesn't have the right permissions to make the request.
- * - * @throws {@link InternalServerException} (server fault) - *An unexpected error occurred during the processing of the request.
- * - * @throws {@link ResourceNotFoundException} (client fault) - *The specified resource was not found.
- * - * @throws {@link ThrottlingException} (client fault) - *The number of requests made exceeds the limit.
- * - * @throws {@link ValidationException} (client fault) - *One or more parameter provided in the request is not valid.
- * - * @throws {@link AppTestServiceException} - *Base exception class for all service exceptions from AppTest service.
- * - * - * @public - */ -export class GetTestConfigurationCommand extends $Command - .classBuilder< - GetTestConfigurationCommandInput, - GetTestConfigurationCommandOutput, - AppTestClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: AppTestClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("AwsApptestControlPlaneService", "GetTestConfiguration", {}) - .n("AppTestClient", "GetTestConfigurationCommand") - .f(void 0, void 0) - .ser(se_GetTestConfigurationCommand) - .de(de_GetTestConfigurationCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: GetTestConfigurationRequest; - output: GetTestConfigurationResponse; - }; - sdk: { - input: GetTestConfigurationCommandInput; - output: GetTestConfigurationCommandOutput; - }; - }; -} diff --git a/clients/client-apptest/src/commands/GetTestRunStepCommand.ts b/clients/client-apptest/src/commands/GetTestRunStepCommand.ts deleted file mode 100644 index 15c45c9fc8be..000000000000 --- a/clients/client-apptest/src/commands/GetTestRunStepCommand.ts +++ /dev/null @@ -1,314 +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 { AppTestClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppTestClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { GetTestRunStepRequest, GetTestRunStepResponse } from "../models/models_0"; -import { de_GetTestRunStepCommand, se_GetTestRunStepCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link GetTestRunStepCommand}. - */ -export interface GetTestRunStepCommandInput extends GetTestRunStepRequest {} -/** - * @public - * - * The output of {@link GetTestRunStepCommand}. - */ -export interface GetTestRunStepCommandOutput extends GetTestRunStepResponse, __MetadataBearer {} - -/** - *Gets a test run step.
- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { AppTestClient, GetTestRunStepCommand } from "@aws-sdk/client-apptest"; // ES Modules import - * // const { AppTestClient, GetTestRunStepCommand } = require("@aws-sdk/client-apptest"); // CommonJS import - * // import type { AppTestClientConfig } from "@aws-sdk/client-apptest"; - * const config = {}; // type is AppTestClientConfig - * const client = new AppTestClient(config); - * const input = { // GetTestRunStepRequest - * testRunId: "STRING_VALUE", // required - * stepName: "STRING_VALUE", // required - * testCaseId: "STRING_VALUE", - * testSuiteId: "STRING_VALUE", - * }; - * const command = new GetTestRunStepCommand(input); - * const response = await client.send(command); - * // { // GetTestRunStepResponse - * // stepName: "STRING_VALUE", // required - * // testRunId: "STRING_VALUE", // required - * // testCaseId: "STRING_VALUE", - * // testCaseVersion: Number("int"), - * // testSuiteId: "STRING_VALUE", - * // testSuiteVersion: Number("int"), - * // beforeStep: true || false, - * // afterStep: true || false, - * // status: "Success" || "Failed" || "Running", // required - * // statusReason: "STRING_VALUE", - * // runStartTime: new Date("TIMESTAMP"), // required - * // runEndTime: new Date("TIMESTAMP"), - * // stepRunSummary: { // StepRunSummary Union: only one key present - * // mainframeAction: { // MainframeActionSummary Union: only one key present - * // batch: { // BatchSummary - * // stepInput: { // BatchStepInput - * // resource: { // MainframeResourceSummary Union: only one key present - * // m2ManagedApplication: { // M2ManagedApplicationSummary - * // applicationId: "STRING_VALUE", // required - * // runtime: "MicroFocus", // required - * // listenerPort: Number("int"), - * // }, - * // m2NonManagedApplication: { // M2NonManagedApplicationSummary - * // vpcEndpointServiceName: "STRING_VALUE", // required - * // listenerPort: Number("int"), // required - * // runtime: "BluAge", // required - * // webAppName: "STRING_VALUE", - * // }, - * // }, - * // batchJobName: "STRING_VALUE", // required - * // batchJobParameters: { // BatchJobParameters - * // "The account or role doesn't have the right permissions to make the request.
- * - * @throws {@link InternalServerException} (server fault) - *An unexpected error occurred during the processing of the request.
- * - * @throws {@link ResourceNotFoundException} (client fault) - *The specified resource was not found.
- * - * @throws {@link ThrottlingException} (client fault) - *The number of requests made exceeds the limit.
- * - * @throws {@link ValidationException} (client fault) - *One or more parameter provided in the request is not valid.
- * - * @throws {@link AppTestServiceException} - *Base exception class for all service exceptions from AppTest service.
- * - * - * @public - */ -export class GetTestRunStepCommand extends $Command - .classBuilder< - GetTestRunStepCommandInput, - GetTestRunStepCommandOutput, - AppTestClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: AppTestClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("AwsApptestControlPlaneService", "GetTestRunStep", {}) - .n("AppTestClient", "GetTestRunStepCommand") - .f(void 0, void 0) - .ser(se_GetTestRunStepCommand) - .de(de_GetTestRunStepCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: GetTestRunStepRequest; - output: GetTestRunStepResponse; - }; - sdk: { - input: GetTestRunStepCommandInput; - output: GetTestRunStepCommandOutput; - }; - }; -} diff --git a/clients/client-apptest/src/commands/GetTestSuiteCommand.ts b/clients/client-apptest/src/commands/GetTestSuiteCommand.ts deleted file mode 100644 index a9d8fb43c52d..000000000000 --- a/clients/client-apptest/src/commands/GetTestSuiteCommand.ts +++ /dev/null @@ -1,304 +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 { AppTestClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppTestClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { GetTestSuiteRequest, GetTestSuiteResponse } from "../models/models_0"; -import { de_GetTestSuiteCommand, se_GetTestSuiteCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link GetTestSuiteCommand}. - */ -export interface GetTestSuiteCommandInput extends GetTestSuiteRequest {} -/** - * @public - * - * The output of {@link GetTestSuiteCommand}. - */ -export interface GetTestSuiteCommandOutput extends GetTestSuiteResponse, __MetadataBearer {} - -/** - *Gets a test suite.
- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { AppTestClient, GetTestSuiteCommand } from "@aws-sdk/client-apptest"; // ES Modules import - * // const { AppTestClient, GetTestSuiteCommand } = require("@aws-sdk/client-apptest"); // CommonJS import - * // import type { AppTestClientConfig } from "@aws-sdk/client-apptest"; - * const config = {}; // type is AppTestClientConfig - * const client = new AppTestClient(config); - * const input = { // GetTestSuiteRequest - * testSuiteId: "STRING_VALUE", // required - * testSuiteVersion: Number("int"), - * }; - * const command = new GetTestSuiteCommand(input); - * const response = await client.send(command); - * // { // GetTestSuiteResponse - * // testSuiteId: "STRING_VALUE", // required - * // name: "STRING_VALUE", // required - * // latestVersion: { // TestSuiteLatestVersion - * // version: Number("int"), // required - * // status: "Creating" || "Updating" || "Active" || "Failed" || "Deleting", // required - * // statusReason: "STRING_VALUE", - * // }, - * // testSuiteVersion: Number("int"), // required - * // status: "Creating" || "Updating" || "Active" || "Failed" || "Deleting", - * // statusReason: "STRING_VALUE", - * // testSuiteArn: "STRING_VALUE", // required - * // creationTime: new Date("TIMESTAMP"), // required - * // lastUpdateTime: new Date("TIMESTAMP"), // required - * // description: "STRING_VALUE", - * // beforeSteps: [ // StepList // required - * // { // Step - * // name: "STRING_VALUE", // required - * // description: "STRING_VALUE", - * // action: { // StepAction Union: only one key present - * // resourceAction: { // ResourceAction Union: only one key present - * // m2ManagedApplicationAction: { // M2ManagedApplicationAction - * // resource: "STRING_VALUE", // required - * // actionType: "Configure" || "Deconfigure", // required - * // properties: { // M2ManagedActionProperties - * // forceStop: true || false, - * // importDataSetLocation: "STRING_VALUE", - * // }, - * // }, - * // m2NonManagedApplicationAction: { // M2NonManagedApplicationAction - * // resource: "STRING_VALUE", // required - * // actionType: "Configure" || "Deconfigure", // required - * // }, - * // cloudFormationAction: { // CloudFormationAction - * // resource: "STRING_VALUE", // required - * // actionType: "Create" || "Delete", - * // }, - * // }, - * // mainframeAction: { // MainframeAction - * // resource: "STRING_VALUE", // required - * // actionType: { // MainframeActionType Union: only one key present - * // batch: { // Batch - * // batchJobName: "STRING_VALUE", // required - * // batchJobParameters: { // BatchJobParameters - * // "The account or role doesn't have the right permissions to make the request.
- * - * @throws {@link InternalServerException} (server fault) - *An unexpected error occurred during the processing of the request.
- * - * @throws {@link ResourceNotFoundException} (client fault) - *The specified resource was not found.
- * - * @throws {@link ThrottlingException} (client fault) - *The number of requests made exceeds the limit.
- * - * @throws {@link ValidationException} (client fault) - *One or more parameter provided in the request is not valid.
- * - * @throws {@link AppTestServiceException} - *Base exception class for all service exceptions from AppTest service.
- * - * - * @public - */ -export class GetTestSuiteCommand extends $Command - .classBuilder< - GetTestSuiteCommandInput, - GetTestSuiteCommandOutput, - AppTestClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: AppTestClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("AwsApptestControlPlaneService", "GetTestSuite", {}) - .n("AppTestClient", "GetTestSuiteCommand") - .f(void 0, void 0) - .ser(se_GetTestSuiteCommand) - .de(de_GetTestSuiteCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: GetTestSuiteRequest; - output: GetTestSuiteResponse; - }; - sdk: { - input: GetTestSuiteCommandInput; - output: GetTestSuiteCommandOutput; - }; - }; -} diff --git a/clients/client-apptest/src/commands/ListTagsForResourceCommand.ts b/clients/client-apptest/src/commands/ListTagsForResourceCommand.ts deleted file mode 100644 index dba949af5055..000000000000 --- a/clients/client-apptest/src/commands/ListTagsForResourceCommand.ts +++ /dev/null @@ -1,112 +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 { AppTestClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppTestClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0"; -import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link ListTagsForResourceCommand}. - */ -export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {} -/** - * @public - * - * The output of {@link ListTagsForResourceCommand}. - */ -export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {} - -/** - *Lists tags for a resource.
- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { AppTestClient, ListTagsForResourceCommand } from "@aws-sdk/client-apptest"; // ES Modules import - * // const { AppTestClient, ListTagsForResourceCommand } = require("@aws-sdk/client-apptest"); // CommonJS import - * // import type { AppTestClientConfig } from "@aws-sdk/client-apptest"; - * const config = {}; // type is AppTestClientConfig - * const client = new AppTestClient(config); - * const input = { // ListTagsForResourceRequest - * resourceArn: "STRING_VALUE", // required - * }; - * const command = new ListTagsForResourceCommand(input); - * const response = await client.send(command); - * // { // ListTagsForResourceResponse - * // tags: { // TagMap // required - * // "The account or role doesn't have the right permissions to make the request.
- * - * @throws {@link InternalServerException} (server fault) - *An unexpected error occurred during the processing of the request.
- * - * @throws {@link ResourceNotFoundException} (client fault) - *The specified resource was not found.
- * - * @throws {@link ThrottlingException} (client fault) - *The number of requests made exceeds the limit.
- * - * @throws {@link ValidationException} (client fault) - *One or more parameter provided in the request is not valid.
- * - * @throws {@link AppTestServiceException} - *Base exception class for all service exceptions from AppTest service.
- * - * - * @public - */ -export class ListTagsForResourceCommand extends $Command - .classBuilder< - ListTagsForResourceCommandInput, - ListTagsForResourceCommandOutput, - AppTestClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: AppTestClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("AwsApptestControlPlaneService", "ListTagsForResource", {}) - .n("AppTestClient", "ListTagsForResourceCommand") - .f(void 0, void 0) - .ser(se_ListTagsForResourceCommand) - .de(de_ListTagsForResourceCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: ListTagsForResourceRequest; - output: ListTagsForResourceResponse; - }; - sdk: { - input: ListTagsForResourceCommandInput; - output: ListTagsForResourceCommandOutput; - }; - }; -} diff --git a/clients/client-apptest/src/commands/ListTestCasesCommand.ts b/clients/client-apptest/src/commands/ListTestCasesCommand.ts deleted file mode 100644 index 22c4d3147b3f..000000000000 --- a/clients/client-apptest/src/commands/ListTestCasesCommand.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 { AppTestClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppTestClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { ListTestCasesRequest, ListTestCasesResponse } from "../models/models_0"; -import { de_ListTestCasesCommand, se_ListTestCasesCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link ListTestCasesCommand}. - */ -export interface ListTestCasesCommandInput extends ListTestCasesRequest {} -/** - * @public - * - * The output of {@link ListTestCasesCommand}. - */ -export interface ListTestCasesCommandOutput extends ListTestCasesResponse, __MetadataBearer {} - -/** - *Lists test cases.
- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { AppTestClient, ListTestCasesCommand } from "@aws-sdk/client-apptest"; // ES Modules import - * // const { AppTestClient, ListTestCasesCommand } = require("@aws-sdk/client-apptest"); // CommonJS import - * // import type { AppTestClientConfig } from "@aws-sdk/client-apptest"; - * const config = {}; // type is AppTestClientConfig - * const client = new AppTestClient(config); - * const input = { // ListTestCasesRequest - * testCaseIds: [ // TestCaseIdList - * "STRING_VALUE", - * ], - * nextToken: "STRING_VALUE", - * maxResults: Number("int"), - * }; - * const command = new ListTestCasesCommand(input); - * const response = await client.send(command); - * // { // ListTestCasesResponse - * // testCases: [ // TestCaseSummaryList // required - * // { // TestCaseSummary - * // testCaseId: "STRING_VALUE", // required - * // testCaseArn: "STRING_VALUE", // required - * // name: "STRING_VALUE", // required - * // statusReason: "STRING_VALUE", - * // latestVersion: Number("int"), // required - * // status: "Active" || "Deleting", // required - * // creationTime: new Date("TIMESTAMP"), // required - * // lastUpdateTime: new Date("TIMESTAMP"), // required - * // }, - * // ], - * // nextToken: "STRING_VALUE", - * // }; - * - * ``` - * - * @param ListTestCasesCommandInput - {@link ListTestCasesCommandInput} - * @returns {@link ListTestCasesCommandOutput} - * @see {@link ListTestCasesCommandInput} for command's `input` shape. - * @see {@link ListTestCasesCommandOutput} for command's `response` shape. - * @see {@link AppTestClientResolvedConfig | config} for AppTestClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - *The account or role doesn't have the right permissions to make the request.
- * - * @throws {@link InternalServerException} (server fault) - *An unexpected error occurred during the processing of the request.
- * - * @throws {@link ResourceNotFoundException} (client fault) - *The specified resource was not found.
- * - * @throws {@link ThrottlingException} (client fault) - *The number of requests made exceeds the limit.
- * - * @throws {@link ValidationException} (client fault) - *One or more parameter provided in the request is not valid.
- * - * @throws {@link AppTestServiceException} - *Base exception class for all service exceptions from AppTest service.
- * - * - * @public - */ -export class ListTestCasesCommand extends $Command - .classBuilder< - ListTestCasesCommandInput, - ListTestCasesCommandOutput, - AppTestClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: AppTestClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("AwsApptestControlPlaneService", "ListTestCases", {}) - .n("AppTestClient", "ListTestCasesCommand") - .f(void 0, void 0) - .ser(se_ListTestCasesCommand) - .de(de_ListTestCasesCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: ListTestCasesRequest; - output: ListTestCasesResponse; - }; - sdk: { - input: ListTestCasesCommandInput; - output: ListTestCasesCommandOutput; - }; - }; -} diff --git a/clients/client-apptest/src/commands/ListTestConfigurationsCommand.ts b/clients/client-apptest/src/commands/ListTestConfigurationsCommand.ts deleted file mode 100644 index 3c82512314bb..000000000000 --- a/clients/client-apptest/src/commands/ListTestConfigurationsCommand.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 { AppTestClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppTestClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { ListTestConfigurationsRequest, ListTestConfigurationsResponse } from "../models/models_0"; -import { de_ListTestConfigurationsCommand, se_ListTestConfigurationsCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link ListTestConfigurationsCommand}. - */ -export interface ListTestConfigurationsCommandInput extends ListTestConfigurationsRequest {} -/** - * @public - * - * The output of {@link ListTestConfigurationsCommand}. - */ -export interface ListTestConfigurationsCommandOutput extends ListTestConfigurationsResponse, __MetadataBearer {} - -/** - *Lists test configurations.
- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { AppTestClient, ListTestConfigurationsCommand } from "@aws-sdk/client-apptest"; // ES Modules import - * // const { AppTestClient, ListTestConfigurationsCommand } = require("@aws-sdk/client-apptest"); // CommonJS import - * // import type { AppTestClientConfig } from "@aws-sdk/client-apptest"; - * const config = {}; // type is AppTestClientConfig - * const client = new AppTestClient(config); - * const input = { // ListTestConfigurationsRequest - * testConfigurationIds: [ // TestConfigurationIdList - * "STRING_VALUE", - * ], - * nextToken: "STRING_VALUE", - * maxResults: Number("int"), - * }; - * const command = new ListTestConfigurationsCommand(input); - * const response = await client.send(command); - * // { // ListTestConfigurationsResponse - * // testConfigurations: [ // TestConfigurationList // required - * // { // TestConfigurationSummary - * // testConfigurationId: "STRING_VALUE", // required - * // name: "STRING_VALUE", // required - * // statusReason: "STRING_VALUE", - * // latestVersion: Number("int"), // required - * // testConfigurationArn: "STRING_VALUE", // required - * // status: "Active" || "Deleting", // required - * // creationTime: new Date("TIMESTAMP"), // required - * // lastUpdateTime: new Date("TIMESTAMP"), // required - * // }, - * // ], - * // nextToken: "STRING_VALUE", - * // }; - * - * ``` - * - * @param ListTestConfigurationsCommandInput - {@link ListTestConfigurationsCommandInput} - * @returns {@link ListTestConfigurationsCommandOutput} - * @see {@link ListTestConfigurationsCommandInput} for command's `input` shape. - * @see {@link ListTestConfigurationsCommandOutput} for command's `response` shape. - * @see {@link AppTestClientResolvedConfig | config} for AppTestClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - *The account or role doesn't have the right permissions to make the request.
- * - * @throws {@link InternalServerException} (server fault) - *An unexpected error occurred during the processing of the request.
- * - * @throws {@link ResourceNotFoundException} (client fault) - *The specified resource was not found.
- * - * @throws {@link ThrottlingException} (client fault) - *The number of requests made exceeds the limit.
- * - * @throws {@link ValidationException} (client fault) - *One or more parameter provided in the request is not valid.
- * - * @throws {@link AppTestServiceException} - *Base exception class for all service exceptions from AppTest service.
- * - * - * @public - */ -export class ListTestConfigurationsCommand extends $Command - .classBuilder< - ListTestConfigurationsCommandInput, - ListTestConfigurationsCommandOutput, - AppTestClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: AppTestClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("AwsApptestControlPlaneService", "ListTestConfigurations", {}) - .n("AppTestClient", "ListTestConfigurationsCommand") - .f(void 0, void 0) - .ser(se_ListTestConfigurationsCommand) - .de(de_ListTestConfigurationsCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: ListTestConfigurationsRequest; - output: ListTestConfigurationsResponse; - }; - sdk: { - input: ListTestConfigurationsCommandInput; - output: ListTestConfigurationsCommandOutput; - }; - }; -} diff --git a/clients/client-apptest/src/commands/ListTestRunStepsCommand.ts b/clients/client-apptest/src/commands/ListTestRunStepsCommand.ts deleted file mode 100644 index 6867afc3b799..000000000000 --- a/clients/client-apptest/src/commands/ListTestRunStepsCommand.ts +++ /dev/null @@ -1,130 +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 { AppTestClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppTestClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { ListTestRunStepsRequest, ListTestRunStepsResponse } from "../models/models_0"; -import { de_ListTestRunStepsCommand, se_ListTestRunStepsCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link ListTestRunStepsCommand}. - */ -export interface ListTestRunStepsCommandInput extends ListTestRunStepsRequest {} -/** - * @public - * - * The output of {@link ListTestRunStepsCommand}. - */ -export interface ListTestRunStepsCommandOutput extends ListTestRunStepsResponse, __MetadataBearer {} - -/** - *Lists test run steps.
- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { AppTestClient, ListTestRunStepsCommand } from "@aws-sdk/client-apptest"; // ES Modules import - * // const { AppTestClient, ListTestRunStepsCommand } = require("@aws-sdk/client-apptest"); // CommonJS import - * // import type { AppTestClientConfig } from "@aws-sdk/client-apptest"; - * const config = {}; // type is AppTestClientConfig - * const client = new AppTestClient(config); - * const input = { // ListTestRunStepsRequest - * testRunId: "STRING_VALUE", // required - * testCaseId: "STRING_VALUE", - * testSuiteId: "STRING_VALUE", - * nextToken: "STRING_VALUE", - * maxResults: Number("int"), - * }; - * const command = new ListTestRunStepsCommand(input); - * const response = await client.send(command); - * // { // ListTestRunStepsResponse - * // testRunSteps: [ // TestRunStepSummaryList // required - * // { // TestRunStepSummary - * // stepName: "STRING_VALUE", // required - * // testRunId: "STRING_VALUE", // required - * // testCaseId: "STRING_VALUE", - * // testCaseVersion: Number("int"), - * // testSuiteId: "STRING_VALUE", - * // testSuiteVersion: Number("int"), - * // beforeStep: true || false, - * // afterStep: true || false, - * // status: "Success" || "Failed" || "Running", // required - * // statusReason: "STRING_VALUE", - * // runStartTime: new Date("TIMESTAMP"), // required - * // runEndTime: new Date("TIMESTAMP"), - * // }, - * // ], - * // nextToken: "STRING_VALUE", - * // }; - * - * ``` - * - * @param ListTestRunStepsCommandInput - {@link ListTestRunStepsCommandInput} - * @returns {@link ListTestRunStepsCommandOutput} - * @see {@link ListTestRunStepsCommandInput} for command's `input` shape. - * @see {@link ListTestRunStepsCommandOutput} for command's `response` shape. - * @see {@link AppTestClientResolvedConfig | config} for AppTestClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - *The account or role doesn't have the right permissions to make the request.
- * - * @throws {@link InternalServerException} (server fault) - *An unexpected error occurred during the processing of the request.
- * - * @throws {@link ResourceNotFoundException} (client fault) - *The specified resource was not found.
- * - * @throws {@link ThrottlingException} (client fault) - *The number of requests made exceeds the limit.
- * - * @throws {@link ValidationException} (client fault) - *One or more parameter provided in the request is not valid.
- * - * @throws {@link AppTestServiceException} - *Base exception class for all service exceptions from AppTest service.
- * - * - * @public - */ -export class ListTestRunStepsCommand extends $Command - .classBuilder< - ListTestRunStepsCommandInput, - ListTestRunStepsCommandOutput, - AppTestClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: AppTestClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("AwsApptestControlPlaneService", "ListTestRunSteps", {}) - .n("AppTestClient", "ListTestRunStepsCommand") - .f(void 0, void 0) - .ser(se_ListTestRunStepsCommand) - .de(de_ListTestRunStepsCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: ListTestRunStepsRequest; - output: ListTestRunStepsResponse; - }; - sdk: { - input: ListTestRunStepsCommandInput; - output: ListTestRunStepsCommandOutput; - }; - }; -} diff --git a/clients/client-apptest/src/commands/ListTestRunTestCasesCommand.ts b/clients/client-apptest/src/commands/ListTestRunTestCasesCommand.ts deleted file mode 100644 index f878297a4697..000000000000 --- a/clients/client-apptest/src/commands/ListTestRunTestCasesCommand.ts +++ /dev/null @@ -1,123 +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 { AppTestClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppTestClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { ListTestRunTestCasesRequest, ListTestRunTestCasesResponse } from "../models/models_0"; -import { de_ListTestRunTestCasesCommand, se_ListTestRunTestCasesCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link ListTestRunTestCasesCommand}. - */ -export interface ListTestRunTestCasesCommandInput extends ListTestRunTestCasesRequest {} -/** - * @public - * - * The output of {@link ListTestRunTestCasesCommand}. - */ -export interface ListTestRunTestCasesCommandOutput extends ListTestRunTestCasesResponse, __MetadataBearer {} - -/** - *Lists test run test cases.
- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { AppTestClient, ListTestRunTestCasesCommand } from "@aws-sdk/client-apptest"; // ES Modules import - * // const { AppTestClient, ListTestRunTestCasesCommand } = require("@aws-sdk/client-apptest"); // CommonJS import - * // import type { AppTestClientConfig } from "@aws-sdk/client-apptest"; - * const config = {}; // type is AppTestClientConfig - * const client = new AppTestClient(config); - * const input = { // ListTestRunTestCasesRequest - * testRunId: "STRING_VALUE", // required - * nextToken: "STRING_VALUE", - * maxResults: Number("int"), - * }; - * const command = new ListTestRunTestCasesCommand(input); - * const response = await client.send(command); - * // { // ListTestRunTestCasesResponse - * // testRunTestCases: [ // TestCaseRunSummaryList // required - * // { // TestCaseRunSummary - * // testCaseId: "STRING_VALUE", // required - * // testCaseVersion: Number("int"), // required - * // testRunId: "STRING_VALUE", // required - * // status: "Success" || "Running" || "Failed", // required - * // statusReason: "STRING_VALUE", - * // runStartTime: new Date("TIMESTAMP"), // required - * // runEndTime: new Date("TIMESTAMP"), - * // }, - * // ], - * // nextToken: "STRING_VALUE", - * // }; - * - * ``` - * - * @param ListTestRunTestCasesCommandInput - {@link ListTestRunTestCasesCommandInput} - * @returns {@link ListTestRunTestCasesCommandOutput} - * @see {@link ListTestRunTestCasesCommandInput} for command's `input` shape. - * @see {@link ListTestRunTestCasesCommandOutput} for command's `response` shape. - * @see {@link AppTestClientResolvedConfig | config} for AppTestClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - *The account or role doesn't have the right permissions to make the request.
- * - * @throws {@link InternalServerException} (server fault) - *An unexpected error occurred during the processing of the request.
- * - * @throws {@link ResourceNotFoundException} (client fault) - *The specified resource was not found.
- * - * @throws {@link ThrottlingException} (client fault) - *The number of requests made exceeds the limit.
- * - * @throws {@link ValidationException} (client fault) - *One or more parameter provided in the request is not valid.
- * - * @throws {@link AppTestServiceException} - *Base exception class for all service exceptions from AppTest service.
- * - * - * @public - */ -export class ListTestRunTestCasesCommand extends $Command - .classBuilder< - ListTestRunTestCasesCommandInput, - ListTestRunTestCasesCommandOutput, - AppTestClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: AppTestClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("AwsApptestControlPlaneService", "ListTestRunTestCases", {}) - .n("AppTestClient", "ListTestRunTestCasesCommand") - .f(void 0, void 0) - .ser(se_ListTestRunTestCasesCommand) - .de(de_ListTestRunTestCasesCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: ListTestRunTestCasesRequest; - output: ListTestRunTestCasesResponse; - }; - sdk: { - input: ListTestRunTestCasesCommandInput; - output: ListTestRunTestCasesCommandOutput; - }; - }; -} diff --git a/clients/client-apptest/src/commands/ListTestRunsCommand.ts b/clients/client-apptest/src/commands/ListTestRunsCommand.ts deleted file mode 100644 index 2966e63bb73d..000000000000 --- a/clients/client-apptest/src/commands/ListTestRunsCommand.ts +++ /dev/null @@ -1,129 +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 { AppTestClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppTestClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { ListTestRunsRequest, ListTestRunsResponse } from "../models/models_0"; -import { de_ListTestRunsCommand, se_ListTestRunsCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link ListTestRunsCommand}. - */ -export interface ListTestRunsCommandInput extends ListTestRunsRequest {} -/** - * @public - * - * The output of {@link ListTestRunsCommand}. - */ -export interface ListTestRunsCommandOutput extends ListTestRunsResponse, __MetadataBearer {} - -/** - *Lists test runs.
- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { AppTestClient, ListTestRunsCommand } from "@aws-sdk/client-apptest"; // ES Modules import - * // const { AppTestClient, ListTestRunsCommand } = require("@aws-sdk/client-apptest"); // CommonJS import - * // import type { AppTestClientConfig } from "@aws-sdk/client-apptest"; - * const config = {}; // type is AppTestClientConfig - * const client = new AppTestClient(config); - * const input = { // ListTestRunsRequest - * testSuiteId: "STRING_VALUE", - * testRunIds: [ // TestRunIdList - * "STRING_VALUE", - * ], - * nextToken: "STRING_VALUE", - * maxResults: Number("int"), - * }; - * const command = new ListTestRunsCommand(input); - * const response = await client.send(command); - * // { // ListTestRunsResponse - * // testRuns: [ // TestRunSummaryList // required - * // { // TestRunSummary - * // testRunId: "STRING_VALUE", // required - * // testRunArn: "STRING_VALUE", // required - * // testSuiteId: "STRING_VALUE", // required - * // testSuiteVersion: Number("int"), // required - * // testConfigurationId: "STRING_VALUE", - * // testConfigurationVersion: Number("int"), - * // status: "Success" || "Running" || "Failed" || "Deleting", // required - * // statusReason: "STRING_VALUE", - * // runStartTime: new Date("TIMESTAMP"), // required - * // runEndTime: new Date("TIMESTAMP"), - * // }, - * // ], - * // nextToken: "STRING_VALUE", - * // }; - * - * ``` - * - * @param ListTestRunsCommandInput - {@link ListTestRunsCommandInput} - * @returns {@link ListTestRunsCommandOutput} - * @see {@link ListTestRunsCommandInput} for command's `input` shape. - * @see {@link ListTestRunsCommandOutput} for command's `response` shape. - * @see {@link AppTestClientResolvedConfig | config} for AppTestClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - *The account or role doesn't have the right permissions to make the request.
- * - * @throws {@link InternalServerException} (server fault) - *An unexpected error occurred during the processing of the request.
- * - * @throws {@link ResourceNotFoundException} (client fault) - *The specified resource was not found.
- * - * @throws {@link ThrottlingException} (client fault) - *The number of requests made exceeds the limit.
- * - * @throws {@link ValidationException} (client fault) - *One or more parameter provided in the request is not valid.
- * - * @throws {@link AppTestServiceException} - *Base exception class for all service exceptions from AppTest service.
- * - * - * @public - */ -export class ListTestRunsCommand extends $Command - .classBuilder< - ListTestRunsCommandInput, - ListTestRunsCommandOutput, - AppTestClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: AppTestClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("AwsApptestControlPlaneService", "ListTestRuns", {}) - .n("AppTestClient", "ListTestRunsCommand") - .f(void 0, void 0) - .ser(se_ListTestRunsCommand) - .de(de_ListTestRunsCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: ListTestRunsRequest; - output: ListTestRunsResponse; - }; - sdk: { - input: ListTestRunsCommandInput; - output: ListTestRunsCommandOutput; - }; - }; -} diff --git a/clients/client-apptest/src/commands/ListTestSuitesCommand.ts b/clients/client-apptest/src/commands/ListTestSuitesCommand.ts deleted file mode 100644 index 2b42221b24f8..000000000000 --- a/clients/client-apptest/src/commands/ListTestSuitesCommand.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 { AppTestClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppTestClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { ListTestSuitesRequest, ListTestSuitesResponse } from "../models/models_0"; -import { de_ListTestSuitesCommand, se_ListTestSuitesCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link ListTestSuitesCommand}. - */ -export interface ListTestSuitesCommandInput extends ListTestSuitesRequest {} -/** - * @public - * - * The output of {@link ListTestSuitesCommand}. - */ -export interface ListTestSuitesCommandOutput extends ListTestSuitesResponse, __MetadataBearer {} - -/** - *Lists test suites.
- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { AppTestClient, ListTestSuitesCommand } from "@aws-sdk/client-apptest"; // ES Modules import - * // const { AppTestClient, ListTestSuitesCommand } = require("@aws-sdk/client-apptest"); // CommonJS import - * // import type { AppTestClientConfig } from "@aws-sdk/client-apptest"; - * const config = {}; // type is AppTestClientConfig - * const client = new AppTestClient(config); - * const input = { // ListTestSuitesRequest - * testSuiteIds: [ // TestSuiteIdList - * "STRING_VALUE", - * ], - * nextToken: "STRING_VALUE", - * maxResults: Number("int"), - * }; - * const command = new ListTestSuitesCommand(input); - * const response = await client.send(command); - * // { // ListTestSuitesResponse - * // testSuites: [ // TestSuiteList // required - * // { // TestSuiteSummary - * // testSuiteId: "STRING_VALUE", // required - * // name: "STRING_VALUE", // required - * // statusReason: "STRING_VALUE", - * // latestVersion: Number("int"), // required - * // testSuiteArn: "STRING_VALUE", // required - * // status: "Creating" || "Updating" || "Active" || "Failed" || "Deleting", // required - * // creationTime: new Date("TIMESTAMP"), // required - * // lastUpdateTime: new Date("TIMESTAMP"), // required - * // }, - * // ], - * // nextToken: "STRING_VALUE", - * // }; - * - * ``` - * - * @param ListTestSuitesCommandInput - {@link ListTestSuitesCommandInput} - * @returns {@link ListTestSuitesCommandOutput} - * @see {@link ListTestSuitesCommandInput} for command's `input` shape. - * @see {@link ListTestSuitesCommandOutput} for command's `response` shape. - * @see {@link AppTestClientResolvedConfig | config} for AppTestClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - *The account or role doesn't have the right permissions to make the request.
- * - * @throws {@link InternalServerException} (server fault) - *An unexpected error occurred during the processing of the request.
- * - * @throws {@link ResourceNotFoundException} (client fault) - *The specified resource was not found.
- * - * @throws {@link ThrottlingException} (client fault) - *The number of requests made exceeds the limit.
- * - * @throws {@link ValidationException} (client fault) - *One or more parameter provided in the request is not valid.
- * - * @throws {@link AppTestServiceException} - *Base exception class for all service exceptions from AppTest service.
- * - * - * @public - */ -export class ListTestSuitesCommand extends $Command - .classBuilder< - ListTestSuitesCommandInput, - ListTestSuitesCommandOutput, - AppTestClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: AppTestClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("AwsApptestControlPlaneService", "ListTestSuites", {}) - .n("AppTestClient", "ListTestSuitesCommand") - .f(void 0, void 0) - .ser(se_ListTestSuitesCommand) - .de(de_ListTestSuitesCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: ListTestSuitesRequest; - output: ListTestSuitesResponse; - }; - sdk: { - input: ListTestSuitesCommandInput; - output: ListTestSuitesCommandOutput; - }; - }; -} diff --git a/clients/client-apptest/src/commands/StartTestRunCommand.ts b/clients/client-apptest/src/commands/StartTestRunCommand.ts deleted file mode 100644 index 361c1010f63b..000000000000 --- a/clients/client-apptest/src/commands/StartTestRunCommand.ts +++ /dev/null @@ -1,122 +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 { AppTestClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppTestClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { StartTestRunRequest, StartTestRunResponse } from "../models/models_0"; -import { de_StartTestRunCommand, se_StartTestRunCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link StartTestRunCommand}. - */ -export interface StartTestRunCommandInput extends StartTestRunRequest {} -/** - * @public - * - * The output of {@link StartTestRunCommand}. - */ -export interface StartTestRunCommandOutput extends StartTestRunResponse, __MetadataBearer {} - -/** - *Starts a test run.
- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { AppTestClient, StartTestRunCommand } from "@aws-sdk/client-apptest"; // ES Modules import - * // const { AppTestClient, StartTestRunCommand } = require("@aws-sdk/client-apptest"); // CommonJS import - * // import type { AppTestClientConfig } from "@aws-sdk/client-apptest"; - * const config = {}; // type is AppTestClientConfig - * const client = new AppTestClient(config); - * const input = { // StartTestRunRequest - * testSuiteId: "STRING_VALUE", // required - * testConfigurationId: "STRING_VALUE", - * clientToken: "STRING_VALUE", - * tags: { // TagMap - * "The account or role doesn't have the right permissions to make the request.
- * - * @throws {@link ConflictException} (client fault) - *The parameters provided in the request conflict with existing resources.
- * - * @throws {@link InternalServerException} (server fault) - *An unexpected error occurred during the processing of the request.
- * - * @throws {@link ResourceNotFoundException} (client fault) - *The specified resource was not found.
- * - * @throws {@link ServiceQuotaExceededException} (client fault) - *One or more quotas for AWS Application Testing exceeds the limit.
- * - * @throws {@link ThrottlingException} (client fault) - *The number of requests made exceeds the limit.
- * - * @throws {@link ValidationException} (client fault) - *One or more parameter provided in the request is not valid.
- * - * @throws {@link AppTestServiceException} - *Base exception class for all service exceptions from AppTest service.
- * - * - * @public - */ -export class StartTestRunCommand extends $Command - .classBuilder< - StartTestRunCommandInput, - StartTestRunCommandOutput, - AppTestClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: AppTestClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("AwsApptestControlPlaneService", "StartTestRun", {}) - .n("AppTestClient", "StartTestRunCommand") - .f(void 0, void 0) - .ser(se_StartTestRunCommand) - .de(de_StartTestRunCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: StartTestRunRequest; - output: StartTestRunResponse; - }; - sdk: { - input: StartTestRunCommandInput; - output: StartTestRunCommandOutput; - }; - }; -} diff --git a/clients/client-apptest/src/commands/TagResourceCommand.ts b/clients/client-apptest/src/commands/TagResourceCommand.ts deleted file mode 100644 index 9dff8706690a..000000000000 --- a/clients/client-apptest/src/commands/TagResourceCommand.ts +++ /dev/null @@ -1,114 +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 { AppTestClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppTestClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { TagResourceRequest, TagResourceResponse } from "../models/models_0"; -import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link TagResourceCommand}. - */ -export interface TagResourceCommandInput extends TagResourceRequest {} -/** - * @public - * - * The output of {@link TagResourceCommand}. - */ -export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {} - -/** - *Specifies tags of a resource.
- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { AppTestClient, TagResourceCommand } from "@aws-sdk/client-apptest"; // ES Modules import - * // const { AppTestClient, TagResourceCommand } = require("@aws-sdk/client-apptest"); // CommonJS import - * // import type { AppTestClientConfig } from "@aws-sdk/client-apptest"; - * const config = {}; // type is AppTestClientConfig - * const client = new AppTestClient(config); - * const input = { // TagResourceRequest - * resourceArn: "STRING_VALUE", // required - * tags: { // TagMap // required - * "The account or role doesn't have the right permissions to make the request.
- * - * @throws {@link InternalServerException} (server fault) - *An unexpected error occurred during the processing of the request.
- * - * @throws {@link ResourceNotFoundException} (client fault) - *The specified resource was not found.
- * - * @throws {@link ServiceQuotaExceededException} (client fault) - *One or more quotas for AWS Application Testing exceeds the limit.
- * - * @throws {@link ThrottlingException} (client fault) - *The number of requests made exceeds the limit.
- * - * @throws {@link ValidationException} (client fault) - *One or more parameter provided in the request is not valid.
- * - * @throws {@link AppTestServiceException} - *Base exception class for all service exceptions from AppTest service.
- * - * - * @public - */ -export class TagResourceCommand extends $Command - .classBuilder< - TagResourceCommandInput, - TagResourceCommandOutput, - AppTestClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: AppTestClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("AwsApptestControlPlaneService", "TagResource", {}) - .n("AppTestClient", "TagResourceCommand") - .f(void 0, void 0) - .ser(se_TagResourceCommand) - .de(de_TagResourceCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: TagResourceRequest; - output: {}; - }; - sdk: { - input: TagResourceCommandInput; - output: TagResourceCommandOutput; - }; - }; -} diff --git a/clients/client-apptest/src/commands/UntagResourceCommand.ts b/clients/client-apptest/src/commands/UntagResourceCommand.ts deleted file mode 100644 index 2aaec9b0eba9..000000000000 --- a/clients/client-apptest/src/commands/UntagResourceCommand.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 { AppTestClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppTestClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0"; -import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link UntagResourceCommand}. - */ -export interface UntagResourceCommandInput extends UntagResourceRequest {} -/** - * @public - * - * The output of {@link UntagResourceCommand}. - */ -export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {} - -/** - *Untags a resource.
- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { AppTestClient, UntagResourceCommand } from "@aws-sdk/client-apptest"; // ES Modules import - * // const { AppTestClient, UntagResourceCommand } = require("@aws-sdk/client-apptest"); // CommonJS import - * // import type { AppTestClientConfig } from "@aws-sdk/client-apptest"; - * const config = {}; // type is AppTestClientConfig - * const client = new AppTestClient(config); - * const input = { // UntagResourceRequest - * resourceArn: "STRING_VALUE", // required - * tagKeys: [ // TagKeyList // required - * "STRING_VALUE", - * ], - * }; - * const command = new UntagResourceCommand(input); - * const response = await client.send(command); - * // {}; - * - * ``` - * - * @param UntagResourceCommandInput - {@link UntagResourceCommandInput} - * @returns {@link UntagResourceCommandOutput} - * @see {@link UntagResourceCommandInput} for command's `input` shape. - * @see {@link UntagResourceCommandOutput} for command's `response` shape. - * @see {@link AppTestClientResolvedConfig | config} for AppTestClient's `config` shape. - * - * @throws {@link AccessDeniedException} (client fault) - *The account or role doesn't have the right permissions to make the request.
- * - * @throws {@link InternalServerException} (server fault) - *An unexpected error occurred during the processing of the request.
- * - * @throws {@link ResourceNotFoundException} (client fault) - *The specified resource was not found.
- * - * @throws {@link ThrottlingException} (client fault) - *The number of requests made exceeds the limit.
- * - * @throws {@link ValidationException} (client fault) - *One or more parameter provided in the request is not valid.
- * - * @throws {@link AppTestServiceException} - *Base exception class for all service exceptions from AppTest service.
- * - * - * @public - */ -export class UntagResourceCommand extends $Command - .classBuilder< - UntagResourceCommandInput, - UntagResourceCommandOutput, - AppTestClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: AppTestClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("AwsApptestControlPlaneService", "UntagResource", {}) - .n("AppTestClient", "UntagResourceCommand") - .f(void 0, void 0) - .ser(se_UntagResourceCommand) - .de(de_UntagResourceCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: UntagResourceRequest; - output: {}; - }; - sdk: { - input: UntagResourceCommandInput; - output: UntagResourceCommandOutput; - }; - }; -} diff --git a/clients/client-apptest/src/commands/UpdateTestCaseCommand.ts b/clients/client-apptest/src/commands/UpdateTestCaseCommand.ts deleted file mode 100644 index ed104636d9fb..000000000000 --- a/clients/client-apptest/src/commands/UpdateTestCaseCommand.ts +++ /dev/null @@ -1,201 +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 { AppTestClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppTestClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { UpdateTestCaseRequest, UpdateTestCaseResponse } from "../models/models_0"; -import { de_UpdateTestCaseCommand, se_UpdateTestCaseCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link UpdateTestCaseCommand}. - */ -export interface UpdateTestCaseCommandInput extends UpdateTestCaseRequest {} -/** - * @public - * - * The output of {@link UpdateTestCaseCommand}. - */ -export interface UpdateTestCaseCommandOutput extends UpdateTestCaseResponse, __MetadataBearer {} - -/** - *Updates a test case.
- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { AppTestClient, UpdateTestCaseCommand } from "@aws-sdk/client-apptest"; // ES Modules import - * // const { AppTestClient, UpdateTestCaseCommand } = require("@aws-sdk/client-apptest"); // CommonJS import - * // import type { AppTestClientConfig } from "@aws-sdk/client-apptest"; - * const config = {}; // type is AppTestClientConfig - * const client = new AppTestClient(config); - * const input = { // UpdateTestCaseRequest - * testCaseId: "STRING_VALUE", // required - * description: "STRING_VALUE", - * steps: [ // StepList - * { // Step - * name: "STRING_VALUE", // required - * description: "STRING_VALUE", - * action: { // StepAction Union: only one key present - * resourceAction: { // ResourceAction Union: only one key present - * m2ManagedApplicationAction: { // M2ManagedApplicationAction - * resource: "STRING_VALUE", // required - * actionType: "Configure" || "Deconfigure", // required - * properties: { // M2ManagedActionProperties - * forceStop: true || false, - * importDataSetLocation: "STRING_VALUE", - * }, - * }, - * m2NonManagedApplicationAction: { // M2NonManagedApplicationAction - * resource: "STRING_VALUE", // required - * actionType: "Configure" || "Deconfigure", // required - * }, - * cloudFormationAction: { // CloudFormationAction - * resource: "STRING_VALUE", // required - * actionType: "Create" || "Delete", - * }, - * }, - * mainframeAction: { // MainframeAction - * resource: "STRING_VALUE", // required - * actionType: { // MainframeActionType Union: only one key present - * batch: { // Batch - * batchJobName: "STRING_VALUE", // required - * batchJobParameters: { // BatchJobParameters - * "The account or role doesn't have the right permissions to make the request.
- * - * @throws {@link ConflictException} (client fault) - *The parameters provided in the request conflict with existing resources.
- * - * @throws {@link InternalServerException} (server fault) - *An unexpected error occurred during the processing of the request.
- * - * @throws {@link ResourceNotFoundException} (client fault) - *The specified resource was not found.
- * - * @throws {@link ThrottlingException} (client fault) - *The number of requests made exceeds the limit.
- * - * @throws {@link ValidationException} (client fault) - *One or more parameter provided in the request is not valid.
- * - * @throws {@link AppTestServiceException} - *Base exception class for all service exceptions from AppTest service.
- * - * - * @public - */ -export class UpdateTestCaseCommand extends $Command - .classBuilder< - UpdateTestCaseCommandInput, - UpdateTestCaseCommandOutput, - AppTestClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: AppTestClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("AwsApptestControlPlaneService", "UpdateTestCase", {}) - .n("AppTestClient", "UpdateTestCaseCommand") - .f(void 0, void 0) - .ser(se_UpdateTestCaseCommand) - .de(de_UpdateTestCaseCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: UpdateTestCaseRequest; - output: UpdateTestCaseResponse; - }; - sdk: { - input: UpdateTestCaseCommandInput; - output: UpdateTestCaseCommandOutput; - }; - }; -} diff --git a/clients/client-apptest/src/commands/UpdateTestConfigurationCommand.ts b/clients/client-apptest/src/commands/UpdateTestConfigurationCommand.ts deleted file mode 100644 index 0972acd400ca..000000000000 --- a/clients/client-apptest/src/commands/UpdateTestConfigurationCommand.ts +++ /dev/null @@ -1,146 +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 { AppTestClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppTestClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { UpdateTestConfigurationRequest, UpdateTestConfigurationResponse } from "../models/models_0"; -import { de_UpdateTestConfigurationCommand, se_UpdateTestConfigurationCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link UpdateTestConfigurationCommand}. - */ -export interface UpdateTestConfigurationCommandInput extends UpdateTestConfigurationRequest {} -/** - * @public - * - * The output of {@link UpdateTestConfigurationCommand}. - */ -export interface UpdateTestConfigurationCommandOutput extends UpdateTestConfigurationResponse, __MetadataBearer {} - -/** - *Updates a test configuration.
- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { AppTestClient, UpdateTestConfigurationCommand } from "@aws-sdk/client-apptest"; // ES Modules import - * // const { AppTestClient, UpdateTestConfigurationCommand } = require("@aws-sdk/client-apptest"); // CommonJS import - * // import type { AppTestClientConfig } from "@aws-sdk/client-apptest"; - * const config = {}; // type is AppTestClientConfig - * const client = new AppTestClient(config); - * const input = { // UpdateTestConfigurationRequest - * testConfigurationId: "STRING_VALUE", // required - * description: "STRING_VALUE", - * resources: [ // ResourceList - * { // Resource - * name: "STRING_VALUE", // required - * type: { // ResourceType Union: only one key present - * cloudFormation: { // CloudFormation - * templateLocation: "STRING_VALUE", // required - * parameters: { // Properties - * "The account or role doesn't have the right permissions to make the request.
- * - * @throws {@link ConflictException} (client fault) - *The parameters provided in the request conflict with existing resources.
- * - * @throws {@link InternalServerException} (server fault) - *An unexpected error occurred during the processing of the request.
- * - * @throws {@link ResourceNotFoundException} (client fault) - *The specified resource was not found.
- * - * @throws {@link ThrottlingException} (client fault) - *The number of requests made exceeds the limit.
- * - * @throws {@link ValidationException} (client fault) - *One or more parameter provided in the request is not valid.
- * - * @throws {@link AppTestServiceException} - *Base exception class for all service exceptions from AppTest service.
- * - * - * @public - */ -export class UpdateTestConfigurationCommand extends $Command - .classBuilder< - UpdateTestConfigurationCommandInput, - UpdateTestConfigurationCommandOutput, - AppTestClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: AppTestClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("AwsApptestControlPlaneService", "UpdateTestConfiguration", {}) - .n("AppTestClient", "UpdateTestConfigurationCommand") - .f(void 0, void 0) - .ser(se_UpdateTestConfigurationCommand) - .de(de_UpdateTestConfigurationCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: UpdateTestConfigurationRequest; - output: UpdateTestConfigurationResponse; - }; - sdk: { - input: UpdateTestConfigurationCommandInput; - output: UpdateTestConfigurationCommandOutput; - }; - }; -} diff --git a/clients/client-apptest/src/commands/UpdateTestSuiteCommand.ts b/clients/client-apptest/src/commands/UpdateTestSuiteCommand.ts deleted file mode 100644 index f9264761c76f..000000000000 --- a/clients/client-apptest/src/commands/UpdateTestSuiteCommand.ts +++ /dev/null @@ -1,292 +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 { AppTestClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppTestClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { UpdateTestSuiteRequest, UpdateTestSuiteResponse } from "../models/models_0"; -import { de_UpdateTestSuiteCommand, se_UpdateTestSuiteCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link UpdateTestSuiteCommand}. - */ -export interface UpdateTestSuiteCommandInput extends UpdateTestSuiteRequest {} -/** - * @public - * - * The output of {@link UpdateTestSuiteCommand}. - */ -export interface UpdateTestSuiteCommandOutput extends UpdateTestSuiteResponse, __MetadataBearer {} - -/** - *Updates a test suite.
- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { AppTestClient, UpdateTestSuiteCommand } from "@aws-sdk/client-apptest"; // ES Modules import - * // const { AppTestClient, UpdateTestSuiteCommand } = require("@aws-sdk/client-apptest"); // CommonJS import - * // import type { AppTestClientConfig } from "@aws-sdk/client-apptest"; - * const config = {}; // type is AppTestClientConfig - * const client = new AppTestClient(config); - * const input = { // UpdateTestSuiteRequest - * testSuiteId: "STRING_VALUE", // required - * description: "STRING_VALUE", - * beforeSteps: [ // StepList - * { // Step - * name: "STRING_VALUE", // required - * description: "STRING_VALUE", - * action: { // StepAction Union: only one key present - * resourceAction: { // ResourceAction Union: only one key present - * m2ManagedApplicationAction: { // M2ManagedApplicationAction - * resource: "STRING_VALUE", // required - * actionType: "Configure" || "Deconfigure", // required - * properties: { // M2ManagedActionProperties - * forceStop: true || false, - * importDataSetLocation: "STRING_VALUE", - * }, - * }, - * m2NonManagedApplicationAction: { // M2NonManagedApplicationAction - * resource: "STRING_VALUE", // required - * actionType: "Configure" || "Deconfigure", // required - * }, - * cloudFormationAction: { // CloudFormationAction - * resource: "STRING_VALUE", // required - * actionType: "Create" || "Delete", - * }, - * }, - * mainframeAction: { // MainframeAction - * resource: "STRING_VALUE", // required - * actionType: { // MainframeActionType Union: only one key present - * batch: { // Batch - * batchJobName: "STRING_VALUE", // required - * batchJobParameters: { // BatchJobParameters - * "The account or role doesn't have the right permissions to make the request.
- * - * @throws {@link ConflictException} (client fault) - *The parameters provided in the request conflict with existing resources.
- * - * @throws {@link InternalServerException} (server fault) - *An unexpected error occurred during the processing of the request.
- * - * @throws {@link ResourceNotFoundException} (client fault) - *The specified resource was not found.
- * - * @throws {@link ThrottlingException} (client fault) - *The number of requests made exceeds the limit.
- * - * @throws {@link ValidationException} (client fault) - *One or more parameter provided in the request is not valid.
- * - * @throws {@link AppTestServiceException} - *Base exception class for all service exceptions from AppTest service.
- * - * - * @public - */ -export class UpdateTestSuiteCommand extends $Command - .classBuilder< - UpdateTestSuiteCommandInput, - UpdateTestSuiteCommandOutput, - AppTestClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: AppTestClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("AwsApptestControlPlaneService", "UpdateTestSuite", {}) - .n("AppTestClient", "UpdateTestSuiteCommand") - .f(void 0, void 0) - .ser(se_UpdateTestSuiteCommand) - .de(de_UpdateTestSuiteCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: UpdateTestSuiteRequest; - output: UpdateTestSuiteResponse; - }; - sdk: { - input: UpdateTestSuiteCommandInput; - output: UpdateTestSuiteCommandOutput; - }; - }; -} diff --git a/clients/client-apptest/src/commands/index.ts b/clients/client-apptest/src/commands/index.ts deleted file mode 100644 index c5a07e94090b..000000000000 --- a/clients/client-apptest/src/commands/index.ts +++ /dev/null @@ -1,25 +0,0 @@ -// smithy-typescript generated code -export * from "./CreateTestCaseCommand"; -export * from "./CreateTestConfigurationCommand"; -export * from "./CreateTestSuiteCommand"; -export * from "./DeleteTestCaseCommand"; -export * from "./DeleteTestConfigurationCommand"; -export * from "./DeleteTestRunCommand"; -export * from "./DeleteTestSuiteCommand"; -export * from "./GetTestCaseCommand"; -export * from "./GetTestConfigurationCommand"; -export * from "./GetTestRunStepCommand"; -export * from "./GetTestSuiteCommand"; -export * from "./ListTagsForResourceCommand"; -export * from "./ListTestCasesCommand"; -export * from "./ListTestConfigurationsCommand"; -export * from "./ListTestRunStepsCommand"; -export * from "./ListTestRunTestCasesCommand"; -export * from "./ListTestRunsCommand"; -export * from "./ListTestSuitesCommand"; -export * from "./StartTestRunCommand"; -export * from "./TagResourceCommand"; -export * from "./UntagResourceCommand"; -export * from "./UpdateTestCaseCommand"; -export * from "./UpdateTestConfigurationCommand"; -export * from "./UpdateTestSuiteCommand"; diff --git a/clients/client-apptest/src/endpoint/EndpointParameters.ts b/clients/client-apptest/src/endpoint/EndpointParameters.ts deleted file mode 100644 index 6bad76f74dce..000000000000 --- a/clients/client-apptest/src/endpoint/EndpointParameters.ts +++ /dev/null @@ -1,40 +0,0 @@ -// smithy-typescript generated code -import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types"; - -/** - * @public - */ -export interface ClientInputEndpointParameters { - region?: string | undefined | ProviderAWS Mainframe Modernization Application Testing provides tools and resources for automated functional equivalence testing for your migration projects.
- * - * @packageDocumentation - */ -export * from "./AppTestClient"; -export * from "./AppTest"; -export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; -export type { RuntimeExtension } from "./runtimeExtensions"; -export type { AppTestExtensionConfiguration } from "./extensionConfiguration"; -export * from "./commands"; -export * from "./pagination"; -export * from "./models"; - -export { AppTestServiceException } from "./models/AppTestServiceException"; diff --git a/clients/client-apptest/src/models/AppTestServiceException.ts b/clients/client-apptest/src/models/AppTestServiceException.ts deleted file mode 100644 index 1dc4ed90dd52..000000000000 --- a/clients/client-apptest/src/models/AppTestServiceException.ts +++ /dev/null @@ -1,24 +0,0 @@ -// smithy-typescript generated code -import { - ServiceException as __ServiceException, - ServiceExceptionOptions as __ServiceExceptionOptions, -} from "@smithy/smithy-client"; - -export type { __ServiceExceptionOptions }; - -export { __ServiceException }; - -/** - * @public - * - * Base exception class for all service exceptions from AppTest service. - */ -export class AppTestServiceException extends __ServiceException { - /** - * @internal - */ - constructor(options: __ServiceExceptionOptions) { - super(options); - Object.setPrototypeOf(this, AppTestServiceException.prototype); - } -} diff --git a/clients/client-apptest/src/models/index.ts b/clients/client-apptest/src/models/index.ts deleted file mode 100644 index 9eaceb12865f..000000000000 --- a/clients/client-apptest/src/models/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -// smithy-typescript generated code -export * from "./models_0"; diff --git a/clients/client-apptest/src/models/models_0.ts b/clients/client-apptest/src/models/models_0.ts deleted file mode 100644 index 91376c20461c..000000000000 --- a/clients/client-apptest/src/models/models_0.ts +++ /dev/null @@ -1,4031 +0,0 @@ -// smithy-typescript generated code -import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client"; - -import { AppTestServiceException as __BaseException } from "./AppTestServiceException"; - -/** - *The account or role doesn't have the right permissions to make the request.
- * @public - */ -export class AccessDeniedException extends __BaseException { - readonly name: "AccessDeniedException" = "AccessDeniedException"; - readonly $fault: "client" = "client"; - /** - * @internal - */ - constructor(opts: __ExceptionOptionTypeAn unexpected error occurred during the processing of the request.
- * @public - */ -export class InternalServerException extends __BaseException { - readonly name: "InternalServerException" = "InternalServerException"; - readonly $fault: "server" = "server"; - $retryable = {}; - /** - *The number of seconds to retry the query.
- * @public - */ - retryAfterSeconds?: number | undefined; - - /** - * @internal - */ - constructor(opts: __ExceptionOptionTypeThe Amazon Resource Name (ARN) of the resource.
- * @public - */ - resourceArn: string | undefined; -} - -/** - * @public - */ -export interface ListTagsForResourceResponse { - /** - *The tags of the resource.
- * @public - */ - tags: RecordThe specified resource was not found.
- * @public - */ -export class ResourceNotFoundException extends __BaseException { - readonly name: "ResourceNotFoundException" = "ResourceNotFoundException"; - readonly $fault: "client" = "client"; - /** - *The resource ID of the resource not found.
- * @public - */ - resourceId?: string | undefined; - - /** - *The resource type of the resource not found.
- * @public - */ - resourceType?: string | undefined; - - /** - * @internal - */ - constructor(opts: __ExceptionOptionTypeThe number of requests made exceeds the limit.
- * @public - */ -export class ThrottlingException extends __BaseException { - readonly name: "ThrottlingException" = "ThrottlingException"; - readonly $fault: "client" = "client"; - $retryable = { - throttling: true, - }; - /** - *The service code of requests that exceed the limit.
- * @public - */ - serviceCode?: string | undefined; - - /** - *The quota code of requests that exceed the limit.
- * @public - */ - quotaCode?: string | undefined; - - /** - *The number of seconds to retry after for requests that exceed the limit.
- * @public - */ - retryAfterSeconds?: number | undefined; - - /** - * @internal - */ - constructor(opts: __ExceptionOptionTypeSpecifies a validation exception field.
- * @public - */ -export interface ValidationExceptionField { - /** - *The name of the validation exception field.
- * @public - */ - name: string | undefined; - - /** - *The message stating reason for why service validation failed.
- * @public - */ - message: string | undefined; -} - -/** - * @public - * @enum - */ -export const ValidationExceptionReason = { - CANNOT_PARSE: "cannotParse", - FIELD_VALIDATION_FAILED: "fieldValidationFailed", - OTHER: "other", - UNKNOWN_OPERATION: "unknownOperation", -} as const; - -/** - * @public - */ -export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason]; - -/** - *One or more parameter provided in the request is not valid.
- * @public - */ -export class ValidationException extends __BaseException { - readonly name: "ValidationException" = "ValidationException"; - readonly $fault: "client" = "client"; - /** - *The reason for the validation exception.
- * @public - */ - reason?: ValidationExceptionReason | undefined; - - /** - *The field list of the validation exception.
- * @public - */ - fieldList?: ValidationExceptionField[] | undefined; - - /** - * @internal - */ - constructor(opts: __ExceptionOptionTypeOne or more quotas for AWS Application Testing exceeds the limit.
- * @public - */ -export class ServiceQuotaExceededException extends __BaseException { - readonly name: "ServiceQuotaExceededException" = "ServiceQuotaExceededException"; - readonly $fault: "client" = "client"; - /** - *The resource ID of AWS Application Testing that exceeded the limit.
- * @public - */ - resourceId?: string | undefined; - - /** - *The resource type of AWS Application Testing that exceeded the limit.
- * @public - */ - resourceType?: string | undefined; - - /** - *The service code of AWS Application Testing that exceeded the limit.
- * @public - */ - serviceCode?: string | undefined; - - /** - *The quote codes of AWS Application Testing that exceeded the limit.
- * @public - */ - quotaCode?: string | undefined; - - /** - * @internal - */ - constructor(opts: __ExceptionOptionTypeThe Amazon Resource Name (ARN) of the tag resource.
- * @public - */ - resourceArn: string | undefined; - - /** - *The tags of the resource.
- * @public - */ - tags: RecordThe parameters provided in the request conflict with existing resources.
- * @public - */ -export class ConflictException extends __BaseException { - readonly name: "ConflictException" = "ConflictException"; - readonly $fault: "client" = "client"; - /** - *The resource ID of the conflicts with existing resources.
- * @public - */ - resourceId?: string | undefined; - - /** - *The resource type of the conflicts with existing resources.
- * @public - */ - resourceType?: string | undefined; - - /** - * @internal - */ - constructor(opts: __ExceptionOptionTypeSpecifies the source database metadata.
- * @public - */ -export interface SourceDatabaseMetadata { - /** - *The type of the source database metadata.
- * @public - */ - type: SourceDatabase | undefined; - - /** - *The capture tool of the source database metadata.
- * @public - */ - captureTool: CaptureTool | undefined; -} - -/** - * @public - * @enum - */ -export const TargetDatabase = { - POSTGRESQL: "PostgreSQL", -} as const; - -/** - * @public - */ -export type TargetDatabase = (typeof TargetDatabase)[keyof typeof TargetDatabase]; - -/** - *Specifies a target database metadata.
- * @public - */ -export interface TargetDatabaseMetadata { - /** - *The type of the target database metadata.
- * @public - */ - type: TargetDatabase | undefined; - - /** - *The capture tool of the target database metadata.
- * @public - */ - captureTool: CaptureTool | undefined; -} - -/** - *Defines the Change Data Capture (CDC) of the database.
- * @public - */ -export interface DatabaseCDC { - /** - *The source metadata of the database CDC.
- * @public - */ - sourceMetadata: SourceDatabaseMetadata | undefined; - - /** - *The target metadata of the database CDC.
- * @public - */ - targetMetadata: TargetDatabaseMetadata | undefined; -} - -/** - * @public - * @enum - */ -export const Format = { - FIXED: "FIXED", - LINE_SEQUENTIAL: "LINE_SEQUENTIAL", - VARIABLE: "VARIABLE", -} as const; - -/** - * @public - */ -export type Format = (typeof Format)[keyof typeof Format]; - -/** - * @public - * @enum - */ -export const DataSetType = { - PS: "PS", -} as const; - -/** - * @public - */ -export type DataSetType = (typeof DataSetType)[keyof typeof DataSetType]; - -/** - *Defines a data set.
- * @public - */ -export interface DataSet { - /** - *The type of the data set.
- * @public - */ - type: DataSetType | undefined; - - /** - *The name of the data set.
- * @public - */ - name: string | undefined; - - /** - *The CCSID of the data set.
- * @public - */ - ccsid: string | undefined; - - /** - *The format of the data set.
- * @public - */ - format: Format | undefined; - - /** - *The length of the data set.
- * @public - */ - length: number | undefined; -} - -/** - *Specifies a file metadata.
- * @public - */ -export type FileMetadata = FileMetadata.DataSetsMember | FileMetadata.DatabaseCDCMember | FileMetadata.$UnknownMember; - -/** - * @public - */ -export namespace FileMetadata { - /** - *The data sets of the file metadata.
- * @public - */ - export interface DataSetsMember { - dataSets: DataSet[]; - databaseCDC?: never; - $unknown?: never; - } - - /** - *The database CDC of the file metadata.
- * @public - */ - export interface DatabaseCDCMember { - dataSets?: never; - databaseCDC: DatabaseCDC; - $unknown?: never; - } - - /** - * @public - */ - export interface $UnknownMember { - dataSets?: never; - databaseCDC?: never; - $unknown: [string, any]; - } - - export interface VisitorSpecifies the input file.
- * @public - */ -export interface InputFile { - /** - *The source location of the input file.
- * @public - */ - sourceLocation: string | undefined; - - /** - *The target location of the input file.
- * @public - */ - targetLocation: string | undefined; - - /** - *The file metadata of the input file.
- * @public - */ - fileMetadata: FileMetadata | undefined; -} - -/** - *Specifies the input.
- * @public - */ -export type Input = Input.FileMember | Input.$UnknownMember; - -/** - * @public - */ -export namespace Input { - /** - *The file in the input.
- * @public - */ - export interface FileMember { - file: InputFile; - $unknown?: never; - } - - /** - * @public - */ - export interface $UnknownMember { - file?: never; - $unknown: [string, any]; - } - - export interface VisitorSpecifies an output file.
- * @public - */ -export interface OutputFile { - /** - *The file location of the output file.
- * @public - */ - fileLocation?: string | undefined; -} - -/** - *Specifies an output.
- * @public - */ -export type Output = Output.FileMember | Output.$UnknownMember; - -/** - * @public - */ -export namespace Output { - /** - *The file of the output.
- * @public - */ - export interface FileMember { - file: OutputFile; - $unknown?: never; - } - - /** - * @public - */ - export interface $UnknownMember { - file?: never; - $unknown: [string, any]; - } - - export interface VisitorCompares the action.
- * @public - */ -export interface CompareAction { - /** - *The input of the compare action.
- * @public - */ - input: Input | undefined; - - /** - *The output of the compare action.
- * @public - */ - output?: Output | undefined; -} - -/** - *Defines a batch.
- * @public - */ -export interface Batch { - /** - *The job name of the batch.
- * @public - */ - batchJobName: string | undefined; - - /** - *The batch job parameters of the batch.
- * @public - */ - batchJobParameters?: RecordThe export data set names of the batch.
- * @public - */ - exportDataSetNames?: string[] | undefined; -} - -/** - * @public - * @enum - */ -export const ScriptType = { - SELENIUM: "Selenium", -} as const; - -/** - * @public - */ -export type ScriptType = (typeof ScriptType)[keyof typeof ScriptType]; - -/** - *Specifies the script.
- * @public - */ -export interface Script { - /** - *The script location of the scripts.
- * @public - */ - scriptLocation: string | undefined; - - /** - *The type of the scripts.
- * @public - */ - type: ScriptType | undefined; -} - -/** - *Specifies the TN3270 protocol.
- * @public - */ -export interface TN3270 { - /** - *The script of the TN3270 protocol.
- * @public - */ - script: Script | undefined; - - /** - *The data set names of the TN3270 protocol.
- * @public - */ - exportDataSetNames?: string[] | undefined; -} - -/** - *Specifies the mainframe action type.
- * @public - */ -export type MainframeActionType = - | MainframeActionType.BatchMember - | MainframeActionType.Tn3270Member - | MainframeActionType.$UnknownMember; - -/** - * @public - */ -export namespace MainframeActionType { - /** - *The batch of the mainframe action type.
- * @public - */ - export interface BatchMember { - batch: Batch; - tn3270?: never; - $unknown?: never; - } - - /** - *The tn3270 port of the mainframe action type.
- * @public - */ - export interface Tn3270Member { - batch?: never; - tn3270: TN3270; - $unknown?: never; - } - - /** - * @public - */ - export interface $UnknownMember { - batch?: never; - tn3270?: never; - $unknown: [string, any]; - } - - export interface VisitorSpecifies the mainframe action properties.
- * @public - */ -export interface MainframeActionProperties { - /** - *The DMS task ARN of the mainframe action properties.
- * @public - */ - dmsTaskArn?: string | undefined; -} - -/** - *Specifies the mainframe action.
- * @public - */ -export interface MainframeAction { - /** - *The resource of the mainframe action.
- * @public - */ - resource: string | undefined; - - /** - *The action type of the mainframe action.
- * @public - */ - actionType: MainframeActionType | undefined; - - /** - *The properties of the mainframe action.
- * @public - */ - properties?: MainframeActionProperties | undefined; -} - -/** - * @public - * @enum - */ -export const CloudFormationActionType = { - CREATE: "Create", - DELETE: "Delete", -} as const; - -/** - * @public - */ -export type CloudFormationActionType = (typeof CloudFormationActionType)[keyof typeof CloudFormationActionType]; - -/** - *Specifies the CloudFormation action.
- * @public - */ -export interface CloudFormationAction { - /** - *The resource of the CloudFormation action.
- * @public - */ - resource: string | undefined; - - /** - *The action type of the CloudFormation action.
- * @public - */ - actionType?: CloudFormationActionType | undefined; -} - -/** - * @public - * @enum - */ -export const M2ManagedActionType = { - CONFIGURE: "Configure", - DECONFIGURE: "Deconfigure", -} as const; - -/** - * @public - */ -export type M2ManagedActionType = (typeof M2ManagedActionType)[keyof typeof M2ManagedActionType]; - -/** - *Specifies the AWS Mainframe Modernization managed action properties.
- * @public - */ -export interface M2ManagedActionProperties { - /** - *Force stops the AWS Mainframe Modernization managed action properties.
- * @public - */ - forceStop?: boolean | undefined; - - /** - *The import data set location of the AWS Mainframe Modernization managed action properties.
- * @public - */ - importDataSetLocation?: string | undefined; -} - -/** - *Specifies the AWS Mainframe Modernization managed application action.
- * @public - */ -export interface M2ManagedApplicationAction { - /** - *The resource of the AWS Mainframe Modernization managed application action.
- * @public - */ - resource: string | undefined; - - /** - *The action type of the AWS Mainframe Modernization managed application action.
- * @public - */ - actionType: M2ManagedActionType | undefined; - - /** - *The properties of the AWS Mainframe Modernization managed application action.
- * @public - */ - properties?: M2ManagedActionProperties | undefined; -} - -/** - * @public - * @enum - */ -export const M2NonManagedActionType = { - CONFIGURE: "Configure", - DECONFIGURE: "Deconfigure", -} as const; - -/** - * @public - */ -export type M2NonManagedActionType = (typeof M2NonManagedActionType)[keyof typeof M2NonManagedActionType]; - -/** - *Specifies the AWS Mainframe Modernization non-managed application action.
- * @public - */ -export interface M2NonManagedApplicationAction { - /** - *The resource of the AWS Mainframe Modernization non-managed application action.
- * @public - */ - resource: string | undefined; - - /** - *The action type of the AWS Mainframe Modernization non-managed application action.
- * @public - */ - actionType: M2NonManagedActionType | undefined; -} - -/** - *Specifies a resource action.
- * @public - */ -export type ResourceAction = - | ResourceAction.CloudFormationActionMember - | ResourceAction.M2ManagedApplicationActionMember - | ResourceAction.M2NonManagedApplicationActionMember - | ResourceAction.$UnknownMember; - -/** - * @public - */ -export namespace ResourceAction { - /** - *The AWS Mainframe Modernization managed application action of the resource action.
- * @public - */ - export interface M2ManagedApplicationActionMember { - m2ManagedApplicationAction: M2ManagedApplicationAction; - m2NonManagedApplicationAction?: never; - cloudFormationAction?: never; - $unknown?: never; - } - - /** - *The AWS Mainframe Modernization non-managed application action of the resource action.
- * @public - */ - export interface M2NonManagedApplicationActionMember { - m2ManagedApplicationAction?: never; - m2NonManagedApplicationAction: M2NonManagedApplicationAction; - cloudFormationAction?: never; - $unknown?: never; - } - - /** - *The CloudFormation action of the resource action.
- * @public - */ - export interface CloudFormationActionMember { - m2ManagedApplicationAction?: never; - m2NonManagedApplicationAction?: never; - cloudFormationAction: CloudFormationAction; - $unknown?: never; - } - - /** - * @public - */ - export interface $UnknownMember { - m2ManagedApplicationAction?: never; - m2NonManagedApplicationAction?: never; - cloudFormationAction?: never; - $unknown: [string, any]; - } - - export interface VisitorSpecifies a step action.
- * @public - */ -export type StepAction = - | StepAction.CompareActionMember - | StepAction.MainframeActionMember - | StepAction.ResourceActionMember - | StepAction.$UnknownMember; - -/** - * @public - */ -export namespace StepAction { - /** - *The resource action of the step action.
- * @public - */ - export interface ResourceActionMember { - resourceAction: ResourceAction; - mainframeAction?: never; - compareAction?: never; - $unknown?: never; - } - - /** - *The mainframe action of the step action.
- * @public - */ - export interface MainframeActionMember { - resourceAction?: never; - mainframeAction: MainframeAction; - compareAction?: never; - $unknown?: never; - } - - /** - *The compare action of the step action.
- * @public - */ - export interface CompareActionMember { - resourceAction?: never; - mainframeAction?: never; - compareAction: CompareAction; - $unknown?: never; - } - - /** - * @public - */ - export interface $UnknownMember { - resourceAction?: never; - mainframeAction?: never; - compareAction?: never; - $unknown: [string, any]; - } - - export interface VisitorDefines a step.
- * @public - */ -export interface Step { - /** - *The name of the step.
- * @public - */ - name: string | undefined; - - /** - *The description of the step.
- * @public - */ - description?: string | undefined; - - /** - *The action of the step.
- * @public - */ - action: StepAction | undefined; -} - -/** - * @public - */ -export interface CreateTestCaseRequest { - /** - *The name of the test case.
- * @public - */ - name: string | undefined; - - /** - *The description of the test case.
- * @public - */ - description?: string | undefined; - - /** - *The steps in the test case.
- * @public - */ - steps: Step[] | undefined; - - /** - *The client token of the test case.
- * @public - */ - clientToken?: string | undefined; - - /** - *The specified tags of the test case.
- * @public - */ - tags?: RecordThe test case ID of the test case.
- * @public - */ - testCaseId: string | undefined; - - /** - *The test case version of the test case.
- * @public - */ - testCaseVersion: number | undefined; -} - -/** - * @public - */ -export interface DeleteTestCaseRequest { - /** - *The test case ID of the test case.
- * @public - */ - testCaseId: string | undefined; -} - -/** - * @public - */ -export interface DeleteTestCaseResponse {} - -/** - * @public - */ -export interface GetTestCaseRequest { - /** - *The request test ID of the test case.
- * @public - */ - testCaseId: string | undefined; - - /** - *The test case version of the test case.
- * @public - */ - testCaseVersion?: number | undefined; -} - -/** - * @public - * @enum - */ -export const TestCaseLifecycle = { - ACTIVE: "Active", - DELETING: "Deleting", -} as const; - -/** - * @public - */ -export type TestCaseLifecycle = (typeof TestCaseLifecycle)[keyof typeof TestCaseLifecycle]; - -/** - *Specifies the latest version of a test case.
- * @public - */ -export interface TestCaseLatestVersion { - /** - *The version of the test case latest version.
- * @public - */ - version: number | undefined; - - /** - *The status of the test case latest version.
- * @public - */ - status: TestCaseLifecycle | undefined; - - /** - *The status reason of the test case latest version.
- * @public - */ - statusReason?: string | undefined; -} - -/** - * @public - */ -export interface GetTestCaseResponse { - /** - *The response test ID of the test case.
- * @public - */ - testCaseId: string | undefined; - - /** - *The Amazon Resource Name (ARN) of the test case.
- * @public - */ - testCaseArn: string | undefined; - - /** - *The name of the test case.
- * @public - */ - name: string | undefined; - - /** - *The description of the test case.
- * @public - */ - description?: string | undefined; - - /** - *The latest version of the test case.
- * @public - */ - latestVersion: TestCaseLatestVersion | undefined; - - /** - *The case version of the test case.
- * @public - */ - testCaseVersion: number | undefined; - - /** - *The status of the test case.
- * @public - */ - status: TestCaseLifecycle | undefined; - - /** - *The status reason of the test case.
- * @public - */ - statusReason?: string | undefined; - - /** - *The creation time of the test case.
- * @public - */ - creationTime: Date | undefined; - - /** - *The last update time of the test case.
- * @public - */ - lastUpdateTime: Date | undefined; - - /** - *The steps of the test case.
- * @public - */ - steps: Step[] | undefined; - - /** - *The tags of the test case.
- * @public - */ - tags?: RecordThe IDs of the test cases.
- * @public - */ - testCaseIds?: string[] | undefined; - - /** - *The next token of the test cases.
- * @public - */ - nextToken?: string | undefined; - - /** - *The maximum results of the test case.
- * @public - */ - maxResults?: number | undefined; -} - -/** - *Specifies a test case summary.
- * @public - */ -export interface TestCaseSummary { - /** - *The test case ID of the test case summary.
- * @public - */ - testCaseId: string | undefined; - - /** - *The test case Amazon Resource Name (ARN) of the test case summary.
- * @public - */ - testCaseArn: string | undefined; - - /** - *The name of the test case summary.
- * @public - */ - name: string | undefined; - - /** - *The status reason of the test case summary.
- * @public - */ - statusReason?: string | undefined; - - /** - *The latest version of the test case summary.
- * @public - */ - latestVersion: number | undefined; - - /** - *The status of the test case summary.
- * @public - */ - status: TestCaseLifecycle | undefined; - - /** - *The creation time of the test case summary.
- * @public - */ - creationTime: Date | undefined; - - /** - *The last update time of the test case summary.
- * @public - */ - lastUpdateTime: Date | undefined; -} - -/** - * @public - */ -export interface ListTestCasesResponse { - /** - *The test cases in an application.
- * @public - */ - testCases: TestCaseSummary[] | undefined; - - /** - *The next token in test cases.
- * @public - */ - nextToken?: string | undefined; -} - -/** - * @public - */ -export interface UpdateTestCaseRequest { - /** - *The test case ID of the test case.
- * @public - */ - testCaseId: string | undefined; - - /** - *The description of the test case.
- * @public - */ - description?: string | undefined; - - /** - *The steps of the test case.
- * @public - */ - steps?: Step[] | undefined; -} - -/** - * @public - */ -export interface UpdateTestCaseResponse { - /** - *The test case ID of the test case.
- * @public - */ - testCaseId: string | undefined; - - /** - *The test case version of the test case.
- * @public - */ - testCaseVersion: number | undefined; -} - -/** - *Specifies the CloudFormation template and its parameters.
- * @public - */ -export interface CloudFormation { - /** - *The template location of the CloudFormation template.
- * @public - */ - templateLocation: string | undefined; - - /** - *The CloudFormation properties in the CloudFormation template.
- * @public - */ - parameters?: RecordSpecifies the AWS Mainframe Modernization managed application.
- * @public - */ -export interface M2ManagedApplication { - /** - *The application ID of the AWS Mainframe Modernization managed application.
- * @public - */ - applicationId: string | undefined; - - /** - *The runtime of the AWS Mainframe Modernization managed application.
- * @public - */ - runtime: M2ManagedRuntime | undefined; - - /** - *The VPC endpoint service name of the AWS Mainframe Modernization managed application.
- * @public - */ - vpcEndpointServiceName?: string | undefined; - - /** - *The listener port of the AWS Mainframe Modernization managed application.
- * @public - */ - listenerPort?: string | undefined; -} - -/** - * @public - * @enum - */ -export const M2NonManagedRuntime = { - BLUAGE: "BluAge", -} as const; - -/** - * @public - */ -export type M2NonManagedRuntime = (typeof M2NonManagedRuntime)[keyof typeof M2NonManagedRuntime]; - -/** - *Specifies the AWS Mainframe Modernization non-managed application.
- * @public - */ -export interface M2NonManagedApplication { - /** - *The VPC endpoint service name of the AWS Mainframe Modernization non-managed application.
- * @public - */ - vpcEndpointServiceName: string | undefined; - - /** - *The listener port of the AWS Mainframe Modernization non-managed application.
- * @public - */ - listenerPort: string | undefined; - - /** - *The runtime of the AWS Mainframe Modernization non-managed application.
- * @public - */ - runtime: M2NonManagedRuntime | undefined; - - /** - *The web application name of the AWS Mainframe Modernization non-managed application.
- * @public - */ - webAppName?: string | undefined; -} - -/** - *Specifies the resource type.
- * @public - */ -export type ResourceType = - | ResourceType.CloudFormationMember - | ResourceType.M2ManagedApplicationMember - | ResourceType.M2NonManagedApplicationMember - | ResourceType.$UnknownMember; - -/** - * @public - */ -export namespace ResourceType { - /** - *The CloudFormation template of the resource type.
- * @public - */ - export interface CloudFormationMember { - cloudFormation: CloudFormation; - m2ManagedApplication?: never; - m2NonManagedApplication?: never; - $unknown?: never; - } - - /** - *The AWS Mainframe Modernization managed application of the resource type.
- * @public - */ - export interface M2ManagedApplicationMember { - cloudFormation?: never; - m2ManagedApplication: M2ManagedApplication; - m2NonManagedApplication?: never; - $unknown?: never; - } - - /** - *The AWS Mainframe Modernization non-managed application of the resource type.
- * @public - */ - export interface M2NonManagedApplicationMember { - cloudFormation?: never; - m2ManagedApplication?: never; - m2NonManagedApplication: M2NonManagedApplication; - $unknown?: never; - } - - /** - * @public - */ - export interface $UnknownMember { - cloudFormation?: never; - m2ManagedApplication?: never; - m2NonManagedApplication?: never; - $unknown: [string, any]; - } - - export interface VisitorSpecifies a resource.
- * @public - */ -export interface Resource { - /** - *The name of the resource.
- * @public - */ - name: string | undefined; - - /** - *The type of the resource.
- * @public - */ - type: ResourceType | undefined; -} - -/** - *Specifies the service settings.
- * @public - */ -export interface ServiceSettings { - /** - *The KMS key ID of the service settings.
- * @public - */ - kmsKeyId?: string | undefined; -} - -/** - * @public - */ -export interface CreateTestConfigurationRequest { - /** - *The name of the test configuration.
- * @public - */ - name: string | undefined; - - /** - *The description of the test configuration.
- * @public - */ - description?: string | undefined; - - /** - *The defined resources of the test configuration.
- * @public - */ - resources: Resource[] | undefined; - - /** - *The properties of the test configuration.
- * @public - */ - properties?: RecordThe client token of the test configuration.
- * @public - */ - clientToken?: string | undefined; - - /** - *The tags of the test configuration.
- * @public - */ - tags?: RecordThe service settings of the test configuration.
- * @public - */ - serviceSettings?: ServiceSettings | undefined; -} - -/** - * @public - */ -export interface CreateTestConfigurationResponse { - /** - *The test configuration ID.
- * @public - */ - testConfigurationId: string | undefined; - - /** - *The test configuration version.
- * @public - */ - testConfigurationVersion: number | undefined; -} - -/** - * @public - */ -export interface DeleteTestConfigurationRequest { - /** - *The test ID of the test configuration.
- * @public - */ - testConfigurationId: string | undefined; -} - -/** - * @public - */ -export interface DeleteTestConfigurationResponse {} - -/** - * @public - */ -export interface GetTestConfigurationRequest { - /** - *The request test configuration ID.
- * @public - */ - testConfigurationId: string | undefined; - - /** - *The test configuration version.
- * @public - */ - testConfigurationVersion?: number | undefined; -} - -/** - * @public - * @enum - */ -export const TestConfigurationLifecycle = { - ACTIVE: "Active", - DELETING: "Deleting", -} as const; - -/** - * @public - */ -export type TestConfigurationLifecycle = (typeof TestConfigurationLifecycle)[keyof typeof TestConfigurationLifecycle]; - -/** - *Specifies the latest version of the test configuration.
- * @public - */ -export interface TestConfigurationLatestVersion { - /** - *The version of the test configuration latest version.
- * @public - */ - version: number | undefined; - - /** - *The status of the test configuration latest version.
- * @public - */ - status: TestConfigurationLifecycle | undefined; - - /** - *The status reason of the test configuration latest version.
- * @public - */ - statusReason?: string | undefined; -} - -/** - * @public - */ -export interface GetTestConfigurationResponse { - /** - *The response test configuration ID.
- * @public - */ - testConfigurationId: string | undefined; - - /** - *The test configuration name
- * @public - */ - name: string | undefined; - - /** - *The test configuration Amazon Resource Name (ARN).
- * @public - */ - testConfigurationArn: string | undefined; - - /** - *The latest version of the test configuration.
- * @public - */ - latestVersion: TestConfigurationLatestVersion | undefined; - - /** - *The test configuration version.
- * @public - */ - testConfigurationVersion: number | undefined; - - /** - *The status of the test configuration.
- * @public - */ - status: TestConfigurationLifecycle | undefined; - - /** - *The status reason of the test configuration.
- * @public - */ - statusReason?: string | undefined; - - /** - *The creation time of the test configuration.
- * @public - */ - creationTime: Date | undefined; - - /** - *The last update time of the test configuration.
- * @public - */ - lastUpdateTime: Date | undefined; - - /** - *The description of the test configuration.
- * @public - */ - description?: string | undefined; - - /** - *The resources of the test configuration.
- * @public - */ - resources: Resource[] | undefined; - - /** - *The properties of the test configuration.
- * @public - */ - properties: RecordThe tags of the test configuration.
- * @public - */ - tags?: RecordThe service settings of the test configuration.
- * @public - */ - serviceSettings?: ServiceSettings | undefined; -} - -/** - * @public - */ -export interface ListTestConfigurationsRequest { - /** - *The configuration IDs of the test configurations.
- * @public - */ - testConfigurationIds?: string[] | undefined; - - /** - *The next token for the test configurations.
- * @public - */ - nextToken?: string | undefined; - - /** - *The maximum results of the test configuration.
- * @public - */ - maxResults?: number | undefined; -} - -/** - *Specifies a test configuration summary.
- * @public - */ -export interface TestConfigurationSummary { - /** - *The test configuration ID of the test configuration summary.
- * @public - */ - testConfigurationId: string | undefined; - - /** - *The name of the test configuration summary.
- * @public - */ - name: string | undefined; - - /** - *The status reason of the test configuration summary.
- * @public - */ - statusReason?: string | undefined; - - /** - *The latest version of the test configuration summary.
- * @public - */ - latestVersion: number | undefined; - - /** - *The test configuration ARN of the test configuration summary.
- * @public - */ - testConfigurationArn: string | undefined; - - /** - *The status of the test configuration summary.
- * @public - */ - status: TestConfigurationLifecycle | undefined; - - /** - *The creation time of the test configuration summary.
- * @public - */ - creationTime: Date | undefined; - - /** - *The last update time of the test configuration summary.
- * @public - */ - lastUpdateTime: Date | undefined; -} - -/** - * @public - */ -export interface ListTestConfigurationsResponse { - /** - *The test configurations.
- * @public - */ - testConfigurations: TestConfigurationSummary[] | undefined; - - /** - *The next token in the test configurations.
- * @public - */ - nextToken?: string | undefined; -} - -/** - * @public - */ -export interface UpdateTestConfigurationRequest { - /** - *The test configuration ID of the test configuration.
- * @public - */ - testConfigurationId: string | undefined; - - /** - *The description of the test configuration.
- * @public - */ - description?: string | undefined; - - /** - *The resources of the test configuration.
- * @public - */ - resources?: Resource[] | undefined; - - /** - *The properties of the test configuration.
- * @public - */ - properties?: RecordThe service settings of the test configuration.
- * @public - */ - serviceSettings?: ServiceSettings | undefined; -} - -/** - * @public - */ -export interface UpdateTestConfigurationResponse { - /** - *The configuration ID of the test configuration.
- * @public - */ - testConfigurationId: string | undefined; - - /** - *The configuration version of the test configuration.
- * @public - */ - testConfigurationVersion: number | undefined; -} - -/** - * @public - */ -export interface DeleteTestRunRequest { - /** - *The run ID of the test run.
- * @public - */ - testRunId: string | undefined; -} - -/** - * @public - */ -export interface DeleteTestRunResponse {} - -/** - * @public - */ -export interface GetTestRunStepRequest { - /** - *The test run ID of the test run step.
- * @public - */ - testRunId: string | undefined; - - /** - *The step name of the test run step.
- * @public - */ - stepName: string | undefined; - - /** - *The test case ID of a test run step.
- * @public - */ - testCaseId?: string | undefined; - - /** - *The test suite ID of a test run step.
- * @public - */ - testSuiteId?: string | undefined; -} - -/** - * @public - * @enum - */ -export const StepRunStatus = { - FAILED: "Failed", - RUNNING: "Running", - SUCCESS: "Success", -} as const; - -/** - * @public - */ -export type StepRunStatus = (typeof StepRunStatus)[keyof typeof StepRunStatus]; - -/** - *Compares the database Change Data Capture (CDC) step input.
- * @public - */ -export interface CompareDatabaseCDCStepInput { - /** - *The source location of the compare database CDC step input.
- * @public - */ - sourceLocation: string | undefined; - - /** - *The target location of the compare database CDC step input.
- * @public - */ - targetLocation: string | undefined; - - /** - *The output location of the compare database CDC step input.
- * @public - */ - outputLocation?: string | undefined; - - /** - *The source metadata of the compare database CDC step input.
- * @public - */ - sourceMetadata: SourceDatabaseMetadata | undefined; - - /** - *The target metadata location of the compare database CDC step input.
- * @public - */ - targetMetadata: TargetDatabaseMetadata | undefined; -} - -/** - * @public - * @enum - */ -export const ComparisonStatusEnum = { - DIFFERENT: "Different", - EQUAL: "Equal", - EQUIVALENT: "Equivalent", -} as const; - -/** - * @public - */ -export type ComparisonStatusEnum = (typeof ComparisonStatusEnum)[keyof typeof ComparisonStatusEnum]; - -/** - *Compares the database CDC step output.
- * @public - */ -export interface CompareDatabaseCDCStepOutput { - /** - *The comparison output of the compare database CDC step output.
- * @public - */ - comparisonOutputLocation: string | undefined; - - /** - *The comparison status of the compare database CDC step output.
- * @public - */ - comparisonStatus: ComparisonStatusEnum | undefined; -} - -/** - *Compares the database CDC summary.
- * @public - */ -export interface CompareDatabaseCDCSummary { - /** - *The step input of the compare database CDC summary.
- * @public - */ - stepInput: CompareDatabaseCDCStepInput | undefined; - - /** - *The step output of the compare database CDC summary.
- * @public - */ - stepOutput?: CompareDatabaseCDCStepOutput | undefined; -} - -/** - *Specifies the compare data sets step input.
- * @public - */ -export interface CompareDataSetsStepInput { - /** - *The source location of the compare data sets step input location.
- * @public - */ - sourceLocation: string | undefined; - - /** - *The target location of the compare data sets step input location.
- * @public - */ - targetLocation: string | undefined; - - /** - *The source data sets of the compare data sets step input location.
- * @public - */ - sourceDataSets: DataSet[] | undefined; - - /** - *The target data sets of the compare data sets step input location.
- * @public - */ - targetDataSets: DataSet[] | undefined; -} - -/** - *Specifies the compare data sets step output.
- * @public - */ -export interface CompareDataSetsStepOutput { - /** - *The comparison output location of the compare data sets step output.
- * @public - */ - comparisonOutputLocation: string | undefined; - - /** - *The comparison status of the compare data sets step output.
- * @public - */ - comparisonStatus: ComparisonStatusEnum | undefined; -} - -/** - *Compares data sets summary.
- * @public - */ -export interface CompareDataSetsSummary { - /** - *The step input of the compare data sets summary.
- * @public - */ - stepInput: CompareDataSetsStepInput | undefined; - - /** - *The step output of the compare data sets summary.
- * @public - */ - stepOutput?: CompareDataSetsStepOutput | undefined; -} - -/** - *Compares the file type.
- * @public - */ -export type CompareFileType = - | CompareFileType.DatabaseCDCMember - | CompareFileType.DatasetsMember - | CompareFileType.$UnknownMember; - -/** - * @public - */ -export namespace CompareFileType { - /** - *The data sets in the compare file type.
- * @public - */ - export interface DatasetsMember { - datasets: CompareDataSetsSummary; - databaseCDC?: never; - $unknown?: never; - } - - /** - *The database CDC of the compare file type.
- * @public - */ - export interface DatabaseCDCMember { - datasets?: never; - databaseCDC: CompareDatabaseCDCSummary; - $unknown?: never; - } - - /** - * @public - */ - export interface $UnknownMember { - datasets?: never; - databaseCDC?: never; - $unknown: [string, any]; - } - - export interface VisitorDefines a file.
- * @public - */ -export type File = File.FileTypeMember | File.$UnknownMember; - -/** - * @public - */ -export namespace File { - /** - *The file type of the file.
- * @public - */ - export interface FileTypeMember { - fileType: CompareFileType; - $unknown?: never; - } - - /** - * @public - */ - export interface $UnknownMember { - fileType?: never; - $unknown: [string, any]; - } - - export interface VisitorSpecifies the compare action summary.
- * @public - */ -export interface CompareActionSummary { - /** - *The type of the compare action summary.
- * @public - */ - type: File | undefined; -} - -/** - *Specifies the AWS Mainframe Modernization managed application summary.
- * @public - */ -export interface M2ManagedApplicationSummary { - /** - *The application ID of the AWS Mainframe Modernization managed application summary.
- * @public - */ - applicationId: string | undefined; - - /** - *The runtime of the AWS Mainframe Modernization managed application summary.
- * @public - */ - runtime: M2ManagedRuntime | undefined; - - /** - *The listener port of the AWS Mainframe Modernization managed application summary.
- * @public - */ - listenerPort?: number | undefined; -} - -/** - *Specifies the AWS Mainframe Modernization non-managed application summary.
- * @public - */ -export interface M2NonManagedApplicationSummary { - /** - *The VPC endpoint service name of the AWS Mainframe Modernization non-managed application summary.
- * @public - */ - vpcEndpointServiceName: string | undefined; - - /** - *The listener port of the AWS Mainframe Modernization non-managed application summary.
- * @public - */ - listenerPort: number | undefined; - - /** - *The runtime of the AWS Mainframe Modernization non-managed application summary.
- * @public - */ - runtime: M2NonManagedRuntime | undefined; - - /** - *The web application name of the AWS Mainframe Modernization non-managed application summary.
- * @public - */ - webAppName?: string | undefined; -} - -/** - *Specifies the mainframe resource summary.
- * @public - */ -export type MainframeResourceSummary = - | MainframeResourceSummary.M2ManagedApplicationMember - | MainframeResourceSummary.M2NonManagedApplicationMember - | MainframeResourceSummary.$UnknownMember; - -/** - * @public - */ -export namespace MainframeResourceSummary { - /** - *The AWS Mainframe Modernization managed application in the mainframe resource summary.
- * @public - */ - export interface M2ManagedApplicationMember { - m2ManagedApplication: M2ManagedApplicationSummary; - m2NonManagedApplication?: never; - $unknown?: never; - } - - /** - *The AWS Mainframe Modernization non-managed application in the mainframe resource summary.
- * @public - */ - export interface M2NonManagedApplicationMember { - m2ManagedApplication?: never; - m2NonManagedApplication: M2NonManagedApplicationSummary; - $unknown?: never; - } - - /** - * @public - */ - export interface $UnknownMember { - m2ManagedApplication?: never; - m2NonManagedApplication?: never; - $unknown: [string, any]; - } - - export interface VisitorDefines a batch step input.
- * @public - */ -export interface BatchStepInput { - /** - *The resource of the batch step input.
- * @public - */ - resource: MainframeResourceSummary | undefined; - - /** - *The batch job name of the batch step input.
- * @public - */ - batchJobName: string | undefined; - - /** - *The batch job parameters of the batch step input.
- * @public - */ - batchJobParameters?: RecordThe export data set names of the batch step input.
- * @public - */ - exportDataSetNames?: string[] | undefined; - - /** - *The properties of the batch step input.
- * @public - */ - properties?: MainframeActionProperties | undefined; -} - -/** - *Defines a batch step output.
- * @public - */ -export interface BatchStepOutput { - /** - *The data set export location of the batch step output.
- * @public - */ - dataSetExportLocation?: string | undefined; - - /** - *The Database Migration Service (DMS) output location of the batch step output.
- * @public - */ - dmsOutputLocation?: string | undefined; - - /** - *The data set details of the batch step output.
- * @public - */ - dataSetDetails?: DataSet[] | undefined; -} - -/** - *Summarizes a batch job.
- * @public - */ -export interface BatchSummary { - /** - *The step input of the batch summary.
- * @public - */ - stepInput: BatchStepInput | undefined; - - /** - *The step output of the batch summary.
- * @public - */ - stepOutput?: BatchStepOutput | undefined; -} - -/** - *Specifies the scripts summary.
- * @public - */ -export interface ScriptSummary { - /** - *The script location of the script summary.
- * @public - */ - scriptLocation: string | undefined; - - /** - *The type of the script summary.
- * @public - */ - type: ScriptType | undefined; -} - -/** - *Specifies a TN3270 step input.
- * @public - */ -export interface TN3270StepInput { - /** - *The resource of the TN3270 step input.
- * @public - */ - resource: MainframeResourceSummary | undefined; - - /** - *The script of the TN3270 step input.
- * @public - */ - script: ScriptSummary | undefined; - - /** - *The export data set names of the TN3270 step input.
- * @public - */ - exportDataSetNames?: string[] | undefined; - - /** - *The properties of the TN3270 step input.
- * @public - */ - properties?: MainframeActionProperties | undefined; -} - -/** - *Specifies a TN3270 step output.
- * @public - */ -export interface TN3270StepOutput { - /** - *The data set export location of the TN3270 step output.
- * @public - */ - dataSetExportLocation?: string | undefined; - - /** - *The output location of the TN3270 step output.
- * @public - */ - dmsOutputLocation?: string | undefined; - - /** - *The data set details of the TN3270 step output.
- * @public - */ - dataSetDetails?: DataSet[] | undefined; - - /** - *The script output location of the TN3270 step output.
- * @public - */ - scriptOutputLocation: string | undefined; -} - -/** - *Specifies a TN3270 summary.
- * @public - */ -export interface TN3270Summary { - /** - *The step input of the TN3270 summary.
- * @public - */ - stepInput: TN3270StepInput | undefined; - - /** - *The step output of the TN3270 summary.
- * @public - */ - stepOutput?: TN3270StepOutput | undefined; -} - -/** - *Specifies the mainframe action summary.
- * @public - */ -export type MainframeActionSummary = - | MainframeActionSummary.BatchMember - | MainframeActionSummary.Tn3270Member - | MainframeActionSummary.$UnknownMember; - -/** - * @public - */ -export namespace MainframeActionSummary { - /** - *The batch of the mainframe action summary.
- * @public - */ - export interface BatchMember { - batch: BatchSummary; - tn3270?: never; - $unknown?: never; - } - - /** - *The tn3270 port of the mainframe action summary.
- * @public - */ - export interface Tn3270Member { - batch?: never; - tn3270: TN3270Summary; - $unknown?: never; - } - - /** - * @public - */ - export interface $UnknownMember { - batch?: never; - tn3270?: never; - $unknown: [string, any]; - } - - export interface VisitorCreates the CloudFormation step input.
- * @public - */ -export interface CreateCloudFormationStepInput { - /** - *The template location of the CloudFormation step input.
- * @public - */ - templateLocation: string | undefined; - - /** - *The CloudFormation properties of the CloudFormation step input.
- * @public - */ - parameters?: RecordCreates a CloudFormation step output.
- * @public - */ -export interface CreateCloudFormationStepOutput { - /** - *The stack ID of the CloudFormation step output.
- * @public - */ - stackId: string | undefined; - - /** - *The exports of the CloudFormation step output.
- * @public - */ - exports?: RecordCreates a CloudFormation summary.
- * @public - */ -export interface CreateCloudFormationSummary { - /** - *The step input of the CloudFormation summary.
- * @public - */ - stepInput: CreateCloudFormationStepInput | undefined; - - /** - *The step output of the CloudFormation summary.
- * @public - */ - stepOutput?: CreateCloudFormationStepOutput | undefined; -} - -/** - *Deletes the CloudFormation step input.
- * @public - */ -export interface DeleteCloudFormationStepInput { - /** - *The stack ID of the deleted CloudFormation step input.
- * @public - */ - stackId: string | undefined; -} - -/** - *Deletes the CloudFormation summary step output.
- * @public - */ -export interface DeleteCloudFormationStepOutput {} - -/** - *Deletes the CloudFormation summary.
- * @public - */ -export interface DeleteCloudFormationSummary { - /** - *The step input of the deleted CloudFormation summary.
- * @public - */ - stepInput: DeleteCloudFormationStepInput | undefined; - - /** - *The step output of the deleted CloudFormation summary.
- * @public - */ - stepOutput?: DeleteCloudFormationStepOutput | undefined; -} - -/** - *Specifies the CloudFormation step summary.
- * @public - */ -export type CloudFormationStepSummary = - | CloudFormationStepSummary.CreateCloudformationMember - | CloudFormationStepSummary.DeleteCloudformationMember - | CloudFormationStepSummary.$UnknownMember; - -/** - * @public - */ -export namespace CloudFormationStepSummary { - /** - *Creates the CloudFormation summary of the step.
- * @public - */ - export interface CreateCloudformationMember { - createCloudformation: CreateCloudFormationSummary; - deleteCloudformation?: never; - $unknown?: never; - } - - /** - *Deletes the CloudFormation summary of the CloudFormation step summary.
- * @public - */ - export interface DeleteCloudformationMember { - createCloudformation?: never; - deleteCloudformation: DeleteCloudFormationSummary; - $unknown?: never; - } - - /** - * @public - */ - export interface $UnknownMember { - createCloudformation?: never; - deleteCloudformation?: never; - $unknown: [string, any]; - } - - export interface VisitorSpecifies the AWS Mainframe Modernization managed application step input.
- * @public - */ -export interface M2ManagedApplicationStepInput { - /** - *The application ID of the AWS Mainframe Modernization managed application step input.
- * @public - */ - applicationId: string | undefined; - - /** - *The runtime of the AWS Mainframe Modernization managed application step input.
- * @public - */ - runtime: string | undefined; - - /** - *The VPC endpoint service name of the AWS Mainframe Modernization managed application step input.
- * @public - */ - vpcEndpointServiceName?: string | undefined; - - /** - *The listener port of the AWS Mainframe Modernization managed application step input.
- * @public - */ - listenerPort?: number | undefined; - - /** - *The action type of the AWS Mainframe Modernization managed application step input.
- * @public - */ - actionType: M2ManagedActionType | undefined; - - /** - *The properties of the AWS Mainframe Modernization managed application step input.
- * @public - */ - properties?: M2ManagedActionProperties | undefined; -} - -/** - *Specifies the AWS Mainframe Modernization managed application step output.
- * @public - */ -export interface M2ManagedApplicationStepOutput { - /** - *The import data set summary of the AWS Mainframe Modernization managed application step output.
- * @public - */ - importDataSetSummary?: RecordSpecifies the AWS Mainframe Modernization managed application step summary.
- * @public - */ -export interface M2ManagedApplicationStepSummary { - /** - *The step input of the AWS Mainframe Modernization managed application step summary.
- * @public - */ - stepInput: M2ManagedApplicationStepInput | undefined; - - /** - *The step output of the AWS Mainframe Modernization managed application step summary.
- * @public - */ - stepOutput?: M2ManagedApplicationStepOutput | undefined; -} - -/** - *Specifies the AWS Mainframe Modernization non-managed application step input.
- * @public - */ -export interface M2NonManagedApplicationStepInput { - /** - *The VPC endpoint service name of the AWS Mainframe Modernization non-managed application step input.
- * @public - */ - vpcEndpointServiceName: string | undefined; - - /** - *The listener port of the AWS Mainframe Modernization non-managed application step input.
- * @public - */ - listenerPort: number | undefined; - - /** - *The runtime of the AWS Mainframe Modernization non-managed application step input.
- * @public - */ - runtime: M2NonManagedRuntime | undefined; - - /** - *The web app name of the AWS Mainframe Modernization non-managed application step input.
- * @public - */ - webAppName?: string | undefined; - - /** - *The action type of the AWS Mainframe Modernization non-managed application step input.
- * @public - */ - actionType: M2NonManagedActionType | undefined; -} - -/** - *Specifies the AWS Mainframe Modernization non-managed application step output.
- * @public - */ -export interface M2NonManagedApplicationStepOutput {} - -/** - *Specifies the AWS Mainframe Modernization non-managed application step summary.
- * @public - */ -export interface M2NonManagedApplicationStepSummary { - /** - *The step input of the AWS Mainframe Modernization non-managed application step summary.
- * @public - */ - stepInput: M2NonManagedApplicationStepInput | undefined; - - /** - *The step output of the AWS Mainframe Modernization non-managed application step summary.
- * @public - */ - stepOutput?: M2NonManagedApplicationStepOutput | undefined; -} - -/** - *Specifies the resource action summary.
- * @public - */ -export type ResourceActionSummary = - | ResourceActionSummary.CloudFormationMember - | ResourceActionSummary.M2ManagedApplicationMember - | ResourceActionSummary.M2NonManagedApplicationMember - | ResourceActionSummary.$UnknownMember; - -/** - * @public - */ -export namespace ResourceActionSummary { - /** - *The CloudFormation template of the resource action summary.
- * @public - */ - export interface CloudFormationMember { - cloudFormation: CloudFormationStepSummary; - m2ManagedApplication?: never; - m2NonManagedApplication?: never; - $unknown?: never; - } - - /** - *The AWS Mainframe Modernization managed application of the resource action summary.
- * @public - */ - export interface M2ManagedApplicationMember { - cloudFormation?: never; - m2ManagedApplication: M2ManagedApplicationStepSummary; - m2NonManagedApplication?: never; - $unknown?: never; - } - - /** - *The AWS Mainframe Modernization non-managed application of the resource action summary.
- * @public - */ - export interface M2NonManagedApplicationMember { - cloudFormation?: never; - m2ManagedApplication?: never; - m2NonManagedApplication: M2NonManagedApplicationStepSummary; - $unknown?: never; - } - - /** - * @public - */ - export interface $UnknownMember { - cloudFormation?: never; - m2ManagedApplication?: never; - m2NonManagedApplication?: never; - $unknown: [string, any]; - } - - export interface VisitorDefines the step run summary.
- * @public - */ -export type StepRunSummary = - | StepRunSummary.CompareActionMember - | StepRunSummary.MainframeActionMember - | StepRunSummary.ResourceActionMember - | StepRunSummary.$UnknownMember; - -/** - * @public - */ -export namespace StepRunSummary { - /** - *The mainframe action of the step run summary.
- * @public - */ - export interface MainframeActionMember { - mainframeAction: MainframeActionSummary; - compareAction?: never; - resourceAction?: never; - $unknown?: never; - } - - /** - *The compare action of the step run summary.
- * @public - */ - export interface CompareActionMember { - mainframeAction?: never; - compareAction: CompareActionSummary; - resourceAction?: never; - $unknown?: never; - } - - /** - *The resource action of the step run summary.
- * @public - */ - export interface ResourceActionMember { - mainframeAction?: never; - compareAction?: never; - resourceAction: ResourceActionSummary; - $unknown?: never; - } - - /** - * @public - */ - export interface $UnknownMember { - mainframeAction?: never; - compareAction?: never; - resourceAction?: never; - $unknown: [string, any]; - } - - export interface VisitorThe step name of the test run step.
- * @public - */ - stepName: string | undefined; - - /** - *The test run ID of the test run step.
- * @public - */ - testRunId: string | undefined; - - /** - *The test case ID of the test run step.
- * @public - */ - testCaseId?: string | undefined; - - /** - *The test case version of the test run step.
- * @public - */ - testCaseVersion?: number | undefined; - - /** - *The test suite ID of the test run step.
- * @public - */ - testSuiteId?: string | undefined; - - /** - *The test suite version of the test run step.
- * @public - */ - testSuiteVersion?: number | undefined; - - /** - *The before steps of the test run step.
- * @public - */ - beforeStep?: boolean | undefined; - - /** - *The after steps of the test run step.
- * @public - */ - afterStep?: boolean | undefined; - - /** - *The status of the test run step.
- * @public - */ - status: StepRunStatus | undefined; - - /** - *The status reason of the test run step.
- * @public - */ - statusReason?: string | undefined; - - /** - *The run start time of the test run step.
- * @public - */ - runStartTime: Date | undefined; - - /** - *The run end time of the test run step.
- * @public - */ - runEndTime?: Date | undefined; - - /** - *The step run summary of the test run step.
- * @public - */ - stepRunSummary?: StepRunSummary | undefined; -} - -/** - * @public - */ -export interface ListTestRunsRequest { - /** - *The test suite ID of the test runs.
- * @public - */ - testSuiteId?: string | undefined; - - /** - *The test run IDs of the test runs.
- * @public - */ - testRunIds?: string[] | undefined; - - /** - *The token from the previous request to retrieve the next page of test run results.
- * @public - */ - nextToken?: string | undefined; - - /** - *The maximum number of test runs to return in one page of results.
- * @public - */ - maxResults?: number | undefined; -} - -/** - * @public - * @enum - */ -export const TestRunStatus = { - DELETING: "Deleting", - FAILED: "Failed", - RUNNING: "Running", - SUCCESS: "Success", -} as const; - -/** - * @public - */ -export type TestRunStatus = (typeof TestRunStatus)[keyof typeof TestRunStatus]; - -/** - *Specifies a test run summary.
- * @public - */ -export interface TestRunSummary { - /** - *The test run ID of the test run summary.
- * @public - */ - testRunId: string | undefined; - - /** - *The test run ARN of the test run summary.
- * @public - */ - testRunArn: string | undefined; - - /** - *The test suite ID of the test run summary.
- * @public - */ - testSuiteId: string | undefined; - - /** - *The test suite version of the test run summary.
- * @public - */ - testSuiteVersion: number | undefined; - - /** - *The test configuration ID of the test run summary.
- * @public - */ - testConfigurationId?: string | undefined; - - /** - *The test configuration version of the test run summary.
- * @public - */ - testConfigurationVersion?: number | undefined; - - /** - *The status of the test run summary.
- * @public - */ - status: TestRunStatus | undefined; - - /** - *The status reason of the test run summary.
- * @public - */ - statusReason?: string | undefined; - - /** - *The run start time of the test run summary.
- * @public - */ - runStartTime: Date | undefined; - - /** - *The run end time of the test run summary.
- * @public - */ - runEndTime?: Date | undefined; -} - -/** - * @public - */ -export interface ListTestRunsResponse { - /** - *The test runs of the response query.
- * @public - */ - testRuns: TestRunSummary[] | undefined; - - /** - *The token from the previous request to retrieve the next page of results.
- * @public - */ - nextToken?: string | undefined; -} - -/** - * @public - */ -export interface ListTestRunStepsRequest { - /** - *The test run ID of the test run steps.
- * @public - */ - testRunId: string | undefined; - - /** - *The test case ID of the test run steps.
- * @public - */ - testCaseId?: string | undefined; - - /** - *The test suite ID of the test run steps.
- * @public - */ - testSuiteId?: string | undefined; - - /** - *The token from a previous step to retrieve the next page of results.
- * @public - */ - nextToken?: string | undefined; - - /** - *The maximum number of test run steps to return in one page of results.
- * @public - */ - maxResults?: number | undefined; -} - -/** - *Specifies a test run step summary.
- * @public - */ -export interface TestRunStepSummary { - /** - *The step name of the test run step summary.
- * @public - */ - stepName: string | undefined; - - /** - *The test run ID of the test run step summary.
- * @public - */ - testRunId: string | undefined; - - /** - *The test case ID of the test run step summary.
- * @public - */ - testCaseId?: string | undefined; - - /** - *The test case version of the test run step summary.
- * @public - */ - testCaseVersion?: number | undefined; - - /** - *The test suite ID of the test run step summary.
- * @public - */ - testSuiteId?: string | undefined; - - /** - *The test suite version of the test run step summary.
- * @public - */ - testSuiteVersion?: number | undefined; - - /** - *The before step of the test run step summary.
- * @public - */ - beforeStep?: boolean | undefined; - - /** - *The after step of the test run step summary.
- * @public - */ - afterStep?: boolean | undefined; - - /** - *The status of the test run step summary.
- * @public - */ - status: StepRunStatus | undefined; - - /** - *The status reason of the test run step summary.
- * @public - */ - statusReason?: string | undefined; - - /** - *The run start time of the test run step summary.
- * @public - */ - runStartTime: Date | undefined; - - /** - *The run end time of the test run step summary.
- * @public - */ - runEndTime?: Date | undefined; -} - -/** - * @public - */ -export interface ListTestRunStepsResponse { - /** - *The test run steps of the response query.
- * @public - */ - testRunSteps: TestRunStepSummary[] | undefined; - - /** - *The token from a previous request to retrieve the next page of results.
- * @public - */ - nextToken?: string | undefined; -} - -/** - * @public - */ -export interface ListTestRunTestCasesRequest { - /** - *The test run ID of the test cases.
- * @public - */ - testRunId: string | undefined; - - /** - *The token from a previous request to retrieve the next page of results.
- * @public - */ - nextToken?: string | undefined; - - /** - *The maximum number of test run test cases to return in one page of results.
- * @public - */ - maxResults?: number | undefined; -} - -/** - * @public - * @enum - */ -export const TestCaseRunStatus = { - FAILED: "Failed", - RUNNING: "Running", - SUCCESS: "Success", -} as const; - -/** - * @public - */ -export type TestCaseRunStatus = (typeof TestCaseRunStatus)[keyof typeof TestCaseRunStatus]; - -/** - *Specifies the test case run summary.
- * @public - */ -export interface TestCaseRunSummary { - /** - *The test case id of the test case run summary.
- * @public - */ - testCaseId: string | undefined; - - /** - *The test case version of the test case run summary.
- * @public - */ - testCaseVersion: number | undefined; - - /** - *The test run id of the test case run summary.
- * @public - */ - testRunId: string | undefined; - - /** - *The status of the test case run summary.
- * @public - */ - status: TestCaseRunStatus | undefined; - - /** - *The status reason of the test case run summary.
- * @public - */ - statusReason?: string | undefined; - - /** - *The run start time of the test case run summary.
- * @public - */ - runStartTime: Date | undefined; - - /** - *The run end time of the test case run summary.
- * @public - */ - runEndTime?: Date | undefined; -} - -/** - * @public - */ -export interface ListTestRunTestCasesResponse { - /** - *The test run of the test cases.
- * @public - */ - testRunTestCases: TestCaseRunSummary[] | undefined; - - /** - *The token from a previous request to retrieve the next page of results.
- * @public - */ - nextToken?: string | undefined; -} - -/** - * @public - */ -export interface StartTestRunRequest { - /** - *The test suite ID of the test run.
- * @public - */ - testSuiteId: string | undefined; - - /** - *The configuration ID of the test run.
- * @public - */ - testConfigurationId?: string | undefined; - - /** - *The client token of the test run.
- * @public - */ - clientToken?: string | undefined; - - /** - *The tags of the test run.
- * @public - */ - tags?: RecordThe test run ID of the test run.
- * @public - */ - testRunId: string | undefined; - - /** - *The test run status of the test run.
- * @public - */ - testRunStatus: TestRunStatus | undefined; -} - -/** - *Specifies test cases.
- * @public - */ -export type TestCases = TestCases.SequentialMember | TestCases.$UnknownMember; - -/** - * @public - */ -export namespace TestCases { - /** - *The sequential of the test case.
- * @public - */ - export interface SequentialMember { - sequential: string[]; - $unknown?: never; - } - - /** - * @public - */ - export interface $UnknownMember { - sequential?: never; - $unknown: [string, any]; - } - - export interface VisitorThe name of the test suite.
- * @public - */ - name: string | undefined; - - /** - *The description of the test suite.
- * @public - */ - description?: string | undefined; - - /** - *The before steps of the test suite.
- * @public - */ - beforeSteps?: Step[] | undefined; - - /** - *The after steps of the test suite.
- * @public - */ - afterSteps?: Step[] | undefined; - - /** - *The test cases in the test suite.
- * @public - */ - testCases: TestCases | undefined; - - /** - *The client token of the test suite.
- * @public - */ - clientToken?: string | undefined; - - /** - *The tags of the test suite.
- * @public - */ - tags?: RecordThe suite ID of the test suite.
- * @public - */ - testSuiteId: string | undefined; - - /** - *The suite version of the test suite.
- * @public - */ - testSuiteVersion: number | undefined; -} - -/** - * @public - */ -export interface DeleteTestSuiteRequest { - /** - *The test ID of the test suite.
- * @public - */ - testSuiteId: string | undefined; -} - -/** - * @public - */ -export interface DeleteTestSuiteResponse {} - -/** - * @public - */ -export interface GetTestSuiteRequest { - /** - *The ID of the test suite.
- * @public - */ - testSuiteId: string | undefined; - - /** - *The version of the test suite.
- * @public - */ - testSuiteVersion?: number | undefined; -} - -/** - * @public - * @enum - */ -export const TestSuiteLifecycle = { - ACTIVE: "Active", - CREATING: "Creating", - DELETING: "Deleting", - FAILED: "Failed", - UPDATING: "Updating", -} as const; - -/** - * @public - */ -export type TestSuiteLifecycle = (typeof TestSuiteLifecycle)[keyof typeof TestSuiteLifecycle]; - -/** - *Specifies the latest version of a test suite.
- * @public - */ -export interface TestSuiteLatestVersion { - /** - *The version of the test suite latest version.
- * @public - */ - version: number | undefined; - - /** - *The status of the test suite latest version.
- * @public - */ - status: TestSuiteLifecycle | undefined; - - /** - *The status reason of the test suite latest version.
- * @public - */ - statusReason?: string | undefined; -} - -/** - * @public - */ -export interface GetTestSuiteResponse { - /** - *The response ID of the test suite.
- * @public - */ - testSuiteId: string | undefined; - - /** - *The name of the test suite.
- * @public - */ - name: string | undefined; - - /** - *The latest version of the test suite.
- * @public - */ - latestVersion: TestSuiteLatestVersion | undefined; - - /** - *The version of the test suite.
- * @public - */ - testSuiteVersion: number | undefined; - - /** - *The status of the test suite.
- * @public - */ - status?: TestSuiteLifecycle | undefined; - - /** - *The status reason of the test suite.
- * @public - */ - statusReason?: string | undefined; - - /** - *The test suite Amazon Resource Name (ARN).
- * @public - */ - testSuiteArn: string | undefined; - - /** - *The creation time of the test suite.
- * @public - */ - creationTime: Date | undefined; - - /** - *The last update time of the test suite.
- * @public - */ - lastUpdateTime: Date | undefined; - - /** - *The description of the test suite.
- * @public - */ - description?: string | undefined; - - /** - *The before steps of the test suite.
- * @public - */ - beforeSteps: Step[] | undefined; - - /** - *The after steps of the test suite.
- * @public - */ - afterSteps: Step[] | undefined; - - /** - *The test cases of the test suite.
- * @public - */ - testCases: TestCases | undefined; - - /** - *The tags of the test suite.
- * @public - */ - tags?: RecordThe suite ID of the test suites.
- * @public - */ - testSuiteIds?: string[] | undefined; - - /** - *The token from a previous request to retrieve the next page of results.
- * @public - */ - nextToken?: string | undefined; - - /** - *The maximum number of test suites to return in one page of results.
- * @public - */ - maxResults?: number | undefined; -} - -/** - *Specifies the test suite summary.
- * @public - */ -export interface TestSuiteSummary { - /** - *The test suite ID of the test suite summary.
- * @public - */ - testSuiteId: string | undefined; - - /** - *The name of the test suite summary.
- * @public - */ - name: string | undefined; - - /** - *The status reason of the test suite summary.
- * @public - */ - statusReason?: string | undefined; - - /** - *The latest version of the test suite summary.
- * @public - */ - latestVersion: number | undefined; - - /** - *The test suite Amazon Resource Name (ARN) of the test suite summary.
- * @public - */ - testSuiteArn: string | undefined; - - /** - *The status of the test suite summary.
- * @public - */ - status: TestSuiteLifecycle | undefined; - - /** - *The creation time of the test suite summary.
- * @public - */ - creationTime: Date | undefined; - - /** - *The last update time of the test suite summary.
- * @public - */ - lastUpdateTime: Date | undefined; -} - -/** - * @public - */ -export interface ListTestSuitesResponse { - /** - *The test suites returned with the response query.
- * @public - */ - testSuites: TestSuiteSummary[] | undefined; - - /** - *The token from a previous request to retrieve the next page of test suites results.
- * @public - */ - nextToken?: string | undefined; -} - -/** - * @public - */ -export interface UpdateTestSuiteRequest { - /** - *The test suite ID of the test suite.
- * @public - */ - testSuiteId: string | undefined; - - /** - *The description of the test suite.
- * @public - */ - description?: string | undefined; - - /** - *The before steps for the test suite.
- * @public - */ - beforeSteps?: Step[] | undefined; - - /** - *The after steps of the test suite.
- * @public - */ - afterSteps?: Step[] | undefined; - - /** - *The test cases in the test suite.
- * @public - */ - testCases?: TestCases | undefined; -} - -/** - * @public - */ -export interface UpdateTestSuiteResponse { - /** - *The test suite ID of the test suite.
- * @public - */ - testSuiteId: string | undefined; - - /** - *The test suite version of the test suite.
- * @public - */ - testSuiteVersion?: number | undefined; -} - -/** - * @public - */ -export interface UntagResourceRequest { - /** - *The Amazon Resource Name (ARN) of the resource.
- * @public - */ - resourceArn: string | undefined; - - /** - *The tag keys of the resource.
- * @public - */ - tagKeys: string[] | undefined; -} - -/** - * @public - */ -export interface UntagResourceResponse {} diff --git a/clients/client-apptest/src/pagination/Interfaces.ts b/clients/client-apptest/src/pagination/Interfaces.ts deleted file mode 100644 index 60a915a44b6b..000000000000 --- a/clients/client-apptest/src/pagination/Interfaces.ts +++ /dev/null @@ -1,11 +0,0 @@ -// smithy-typescript generated code -import { PaginationConfiguration } from "@smithy/types"; - -import { AppTestClient } from "../AppTestClient"; - -/** - * @public - */ -export interface AppTestPaginationConfiguration extends PaginationConfiguration { - client: AppTestClient; -} diff --git a/clients/client-apptest/src/pagination/ListTestCasesPaginator.ts b/clients/client-apptest/src/pagination/ListTestCasesPaginator.ts deleted file mode 100644 index 67d2c69e13c1..000000000000 --- a/clients/client-apptest/src/pagination/ListTestCasesPaginator.ts +++ /dev/null @@ -1,24 +0,0 @@ -// smithy-typescript generated code -import { createPaginator } from "@smithy/core"; -import { Paginator } from "@smithy/types"; - -import { AppTestClient } from "../AppTestClient"; -import { - ListTestCasesCommand, - ListTestCasesCommandInput, - ListTestCasesCommandOutput, -} from "../commands/ListTestCasesCommand"; -import { AppTestPaginationConfiguration } from "./Interfaces"; - -/** - * @public - */ -export const paginateListTestCases: ( - config: AppTestPaginationConfiguration, - input: ListTestCasesCommandInput, - ...rest: any[] -) => PaginatorWith Fleet Hub for IoT Device Management you can build stand-alone web applications for monitoring the health of your device fleets.
- -## Installing - -To install this package, simply type add or install @aws-sdk/client-iotfleethub -using your favorite package manager: - -- `npm install @aws-sdk/client-iotfleethub` -- `yarn add @aws-sdk/client-iotfleethub` -- `pnpm add @aws-sdk/client-iotfleethub` - -## Getting Started - -### Import - -The AWS SDK is modulized by clients and commands. -To send a request, you only need to import the `IoTFleetHubClient` and -the commands you need, for example `ListApplicationsCommand`: - -```js -// ES5 example -const { IoTFleetHubClient, ListApplicationsCommand } = require("@aws-sdk/client-iotfleethub"); -``` - -```ts -// ES6+ example -import { IoTFleetHubClient, ListApplicationsCommand } from "@aws-sdk/client-iotfleethub"; -``` - -### 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 IoTFleetHubClient({ region: "REGION" }); - -const params = { - /** input parameters */ -}; -const command = new ListApplicationsCommand(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-iotfleethub"; -const client = new AWS.IoTFleetHub({ region: "REGION" }); - -// async/await. -try { - const data = await client.listApplications(params); - // process data. -} catch (error) { - // error handling. -} - -// Promises. -client - .listApplications(params) - .then((data) => { - // process data. - }) - .catch((error) => { - // error handling. - }); - -// callbacks. -client.listApplications(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-iotfleethub` 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) - -With Fleet Hub for IoT Device Management you can build stand-alone web applications for monitoring the health of your device fleets.
- * @public - */ -export class IoTFleetHub extends IoTFleetHubClient implements IoTFleetHub {} -createAggregatedClient(commands, IoTFleetHub); diff --git a/clients/client-iotfleethub/src/IoTFleetHubClient.ts b/clients/client-iotfleethub/src/IoTFleetHubClient.ts deleted file mode 100644 index 8d0dc1e339e6..000000000000 --- a/clients/client-iotfleethub/src/IoTFleetHubClient.ts +++ /dev/null @@ -1,351 +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 { - defaultIoTFleetHubHttpAuthSchemeParametersProvider, - HttpAuthSchemeInputConfig, - HttpAuthSchemeResolvedConfig, - resolveHttpAuthSchemeConfig, -} from "./auth/httpAuthSchemeProvider"; -import { CreateApplicationCommandInput, CreateApplicationCommandOutput } from "./commands/CreateApplicationCommand"; -import { DeleteApplicationCommandInput, DeleteApplicationCommandOutput } from "./commands/DeleteApplicationCommand"; -import { - DescribeApplicationCommandInput, - DescribeApplicationCommandOutput, -} from "./commands/DescribeApplicationCommand"; -import { ListApplicationsCommandInput, ListApplicationsCommandOutput } from "./commands/ListApplicationsCommand"; -import { - ListTagsForResourceCommandInput, - ListTagsForResourceCommandOutput, -} from "./commands/ListTagsForResourceCommand"; -import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand"; -import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand"; -import { UpdateApplicationCommandInput, UpdateApplicationCommandOutput } from "./commands/UpdateApplicationCommand"; -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 = - | CreateApplicationCommandInput - | DeleteApplicationCommandInput - | DescribeApplicationCommandInput - | ListApplicationsCommandInput - | ListTagsForResourceCommandInput - | TagResourceCommandInput - | UntagResourceCommandInput - | UpdateApplicationCommandInput; - -/** - * @public - */ -export type ServiceOutputTypes = - | CreateApplicationCommandOutput - | DeleteApplicationCommandOutput - | DescribeApplicationCommandOutput - | ListApplicationsCommandOutput - | ListTagsForResourceCommandOutput - | TagResourceCommandOutput - | UntagResourceCommandOutput - | UpdateApplicationCommandOutput; - -/** - * @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 | __ProviderWith Fleet Hub for IoT Device Management you can build stand-alone web applications for monitoring the health of your device fleets.
- * @public - */ -export class IoTFleetHubClient extends __Client< - __HttpHandlerOptions, - ServiceInputTypes, - ServiceOutputTypes, - IoTFleetHubClientResolvedConfig -> { - /** - * The resolved configuration of IoTFleetHubClient class. This is resolved and normalized from the {@link IoTFleetHubClientConfig | constructor configuration interface}. - */ - readonly config: IoTFleetHubClientResolvedConfig; - - constructor(...[configuration]: __CheckOptionalClientConfigCreates a Fleet Hub for IoT Device Management web application.
- *When creating a Fleet Hub application, you must create an organization instance of - * IAM Identity Center if you don't already have one. The Fleet Hub application you create must also be in - * the same Amazon Web Services Region of the organization instance of IAM Identity Center. For more information see Enabling - * IAM Identity Center and Organization instances of IAM Identity Center.
- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { IoTFleetHubClient, CreateApplicationCommand } from "@aws-sdk/client-iotfleethub"; // ES Modules import - * // const { IoTFleetHubClient, CreateApplicationCommand } = require("@aws-sdk/client-iotfleethub"); // CommonJS import - * // import type { IoTFleetHubClientConfig } from "@aws-sdk/client-iotfleethub"; - * const config = {}; // type is IoTFleetHubClientConfig - * const client = new IoTFleetHubClient(config); - * const input = { // CreateApplicationRequest - * applicationName: "STRING_VALUE", // required - * applicationDescription: "STRING_VALUE", - * clientToken: "STRING_VALUE", - * roleArn: "STRING_VALUE", // required - * tags: { // TagMap - * "An unexpected error has occurred.
- * - * @throws {@link InvalidRequestException} (client fault) - *The request is not valid.
- * - * @throws {@link LimitExceededException} (client fault) - *A limit has been exceeded.
- * - * @throws {@link ThrottlingException} (client fault) - *The rate exceeds the limit.
- * - * @throws {@link IoTFleetHubServiceException} - *Base exception class for all service exceptions from IoTFleetHub service.
- * - * - * @public - */ -export class CreateApplicationCommand extends $Command - .classBuilder< - CreateApplicationCommandInput, - CreateApplicationCommandOutput, - IoTFleetHubClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: IoTFleetHubClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("AWSIoTFleetHub", "CreateApplication", {}) - .n("IoTFleetHubClient", "CreateApplicationCommand") - .f(void 0, void 0) - .ser(se_CreateApplicationCommand) - .de(de_CreateApplicationCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: CreateApplicationRequest; - output: CreateApplicationResponse; - }; - sdk: { - input: CreateApplicationCommandInput; - output: CreateApplicationCommandOutput; - }; - }; -} diff --git a/clients/client-iotfleethub/src/commands/DeleteApplicationCommand.ts b/clients/client-iotfleethub/src/commands/DeleteApplicationCommand.ts deleted file mode 100644 index 424ad6b7c1a6..000000000000 --- a/clients/client-iotfleethub/src/commands/DeleteApplicationCommand.ts +++ /dev/null @@ -1,106 +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 { IoTFleetHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTFleetHubClient"; -import { DeleteApplicationRequest, DeleteApplicationResponse } from "../models/models_0"; -import { de_DeleteApplicationCommand, se_DeleteApplicationCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link DeleteApplicationCommand}. - */ -export interface DeleteApplicationCommandInput extends DeleteApplicationRequest {} -/** - * @public - * - * The output of {@link DeleteApplicationCommand}. - */ -export interface DeleteApplicationCommandOutput extends DeleteApplicationResponse, __MetadataBearer {} - -/** - *Deletes a Fleet Hub for IoT Device Management web application.
- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { IoTFleetHubClient, DeleteApplicationCommand } from "@aws-sdk/client-iotfleethub"; // ES Modules import - * // const { IoTFleetHubClient, DeleteApplicationCommand } = require("@aws-sdk/client-iotfleethub"); // CommonJS import - * // import type { IoTFleetHubClientConfig } from "@aws-sdk/client-iotfleethub"; - * const config = {}; // type is IoTFleetHubClientConfig - * const client = new IoTFleetHubClient(config); - * const input = { // DeleteApplicationRequest - * applicationId: "STRING_VALUE", // required - * clientToken: "STRING_VALUE", - * }; - * const command = new DeleteApplicationCommand(input); - * const response = await client.send(command); - * // {}; - * - * ``` - * - * @param DeleteApplicationCommandInput - {@link DeleteApplicationCommandInput} - * @returns {@link DeleteApplicationCommandOutput} - * @see {@link DeleteApplicationCommandInput} for command's `input` shape. - * @see {@link DeleteApplicationCommandOutput} for command's `response` shape. - * @see {@link IoTFleetHubClientResolvedConfig | config} for IoTFleetHubClient's `config` shape. - * - * @throws {@link InternalFailureException} (server fault) - *An unexpected error has occurred.
- * - * @throws {@link InvalidRequestException} (client fault) - *The request is not valid.
- * - * @throws {@link ResourceNotFoundException} (client fault) - *The specified resource does not exist.
- * - * @throws {@link ThrottlingException} (client fault) - *The rate exceeds the limit.
- * - * @throws {@link IoTFleetHubServiceException} - *Base exception class for all service exceptions from IoTFleetHub service.
- * - * - * @public - */ -export class DeleteApplicationCommand extends $Command - .classBuilder< - DeleteApplicationCommandInput, - DeleteApplicationCommandOutput, - IoTFleetHubClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: IoTFleetHubClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("AWSIoTFleetHub", "DeleteApplication", {}) - .n("IoTFleetHubClient", "DeleteApplicationCommand") - .f(void 0, void 0) - .ser(se_DeleteApplicationCommand) - .de(de_DeleteApplicationCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: DeleteApplicationRequest; - output: {}; - }; - sdk: { - input: DeleteApplicationCommandInput; - output: DeleteApplicationCommandOutput; - }; - }; -} diff --git a/clients/client-iotfleethub/src/commands/DescribeApplicationCommand.ts b/clients/client-iotfleethub/src/commands/DescribeApplicationCommand.ts deleted file mode 100644 index 1ee7bfa20241..000000000000 --- a/clients/client-iotfleethub/src/commands/DescribeApplicationCommand.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 { IoTFleetHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTFleetHubClient"; -import { DescribeApplicationRequest, DescribeApplicationResponse } from "../models/models_0"; -import { de_DescribeApplicationCommand, se_DescribeApplicationCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link DescribeApplicationCommand}. - */ -export interface DescribeApplicationCommandInput extends DescribeApplicationRequest {} -/** - * @public - * - * The output of {@link DescribeApplicationCommand}. - */ -export interface DescribeApplicationCommandOutput extends DescribeApplicationResponse, __MetadataBearer {} - -/** - *Gets information about a Fleet Hub for IoT Device Management web application.
- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { IoTFleetHubClient, DescribeApplicationCommand } from "@aws-sdk/client-iotfleethub"; // ES Modules import - * // const { IoTFleetHubClient, DescribeApplicationCommand } = require("@aws-sdk/client-iotfleethub"); // CommonJS import - * // import type { IoTFleetHubClientConfig } from "@aws-sdk/client-iotfleethub"; - * const config = {}; // type is IoTFleetHubClientConfig - * const client = new IoTFleetHubClient(config); - * const input = { // DescribeApplicationRequest - * applicationId: "STRING_VALUE", // required - * }; - * const command = new DescribeApplicationCommand(input); - * const response = await client.send(command); - * // { // DescribeApplicationResponse - * // applicationId: "STRING_VALUE", // required - * // applicationArn: "STRING_VALUE", // required - * // applicationName: "STRING_VALUE", // required - * // applicationDescription: "STRING_VALUE", - * // applicationUrl: "STRING_VALUE", // required - * // applicationState: "CREATING" || "DELETING" || "ACTIVE" || "CREATE_FAILED" || "DELETE_FAILED", // required - * // applicationCreationDate: Number("long"), // required - * // applicationLastUpdateDate: Number("long"), // required - * // roleArn: "STRING_VALUE", // required - * // ssoClientId: "STRING_VALUE", - * // errorMessage: "STRING_VALUE", - * // tags: { // TagMap - * // "An unexpected error has occurred.
- * - * @throws {@link InvalidRequestException} (client fault) - *The request is not valid.
- * - * @throws {@link ResourceNotFoundException} (client fault) - *The specified resource does not exist.
- * - * @throws {@link ThrottlingException} (client fault) - *The rate exceeds the limit.
- * - * @throws {@link IoTFleetHubServiceException} - *Base exception class for all service exceptions from IoTFleetHub service.
- * - * - * @public - */ -export class DescribeApplicationCommand extends $Command - .classBuilder< - DescribeApplicationCommandInput, - DescribeApplicationCommandOutput, - IoTFleetHubClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: IoTFleetHubClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("AWSIoTFleetHub", "DescribeApplication", {}) - .n("IoTFleetHubClient", "DescribeApplicationCommand") - .f(void 0, void 0) - .ser(se_DescribeApplicationCommand) - .de(de_DescribeApplicationCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: DescribeApplicationRequest; - output: DescribeApplicationResponse; - }; - sdk: { - input: DescribeApplicationCommandInput; - output: DescribeApplicationCommandOutput; - }; - }; -} diff --git a/clients/client-iotfleethub/src/commands/ListApplicationsCommand.ts b/clients/client-iotfleethub/src/commands/ListApplicationsCommand.ts deleted file mode 100644 index 6656082bd0c2..000000000000 --- a/clients/client-iotfleethub/src/commands/ListApplicationsCommand.ts +++ /dev/null @@ -1,115 +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 { IoTFleetHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTFleetHubClient"; -import { ListApplicationsRequest, ListApplicationsResponse } from "../models/models_0"; -import { de_ListApplicationsCommand, se_ListApplicationsCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link ListApplicationsCommand}. - */ -export interface ListApplicationsCommandInput extends ListApplicationsRequest {} -/** - * @public - * - * The output of {@link ListApplicationsCommand}. - */ -export interface ListApplicationsCommandOutput extends ListApplicationsResponse, __MetadataBearer {} - -/** - *Gets a list of Fleet Hub for IoT Device Management web applications for the current account.
- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { IoTFleetHubClient, ListApplicationsCommand } from "@aws-sdk/client-iotfleethub"; // ES Modules import - * // const { IoTFleetHubClient, ListApplicationsCommand } = require("@aws-sdk/client-iotfleethub"); // CommonJS import - * // import type { IoTFleetHubClientConfig } from "@aws-sdk/client-iotfleethub"; - * const config = {}; // type is IoTFleetHubClientConfig - * const client = new IoTFleetHubClient(config); - * const input = { // ListApplicationsRequest - * nextToken: "STRING_VALUE", - * }; - * const command = new ListApplicationsCommand(input); - * const response = await client.send(command); - * // { // ListApplicationsResponse - * // applicationSummaries: [ // ApplicationSummaries - * // { // ApplicationSummary - * // applicationId: "STRING_VALUE", // required - * // applicationName: "STRING_VALUE", // required - * // applicationDescription: "STRING_VALUE", - * // applicationUrl: "STRING_VALUE", // required - * // applicationCreationDate: Number("long"), - * // applicationLastUpdateDate: Number("long"), - * // applicationState: "CREATING" || "DELETING" || "ACTIVE" || "CREATE_FAILED" || "DELETE_FAILED", - * // }, - * // ], - * // nextToken: "STRING_VALUE", - * // }; - * - * ``` - * - * @param ListApplicationsCommandInput - {@link ListApplicationsCommandInput} - * @returns {@link ListApplicationsCommandOutput} - * @see {@link ListApplicationsCommandInput} for command's `input` shape. - * @see {@link ListApplicationsCommandOutput} for command's `response` shape. - * @see {@link IoTFleetHubClientResolvedConfig | config} for IoTFleetHubClient's `config` shape. - * - * @throws {@link InternalFailureException} (server fault) - *An unexpected error has occurred.
- * - * @throws {@link InvalidRequestException} (client fault) - *The request is not valid.
- * - * @throws {@link ThrottlingException} (client fault) - *The rate exceeds the limit.
- * - * @throws {@link IoTFleetHubServiceException} - *Base exception class for all service exceptions from IoTFleetHub service.
- * - * - * @public - */ -export class ListApplicationsCommand extends $Command - .classBuilder< - ListApplicationsCommandInput, - ListApplicationsCommandOutput, - IoTFleetHubClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: IoTFleetHubClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("AWSIoTFleetHub", "ListApplications", {}) - .n("IoTFleetHubClient", "ListApplicationsCommand") - .f(void 0, void 0) - .ser(se_ListApplicationsCommand) - .de(de_ListApplicationsCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: ListApplicationsRequest; - output: ListApplicationsResponse; - }; - sdk: { - input: ListApplicationsCommandInput; - output: ListApplicationsCommandOutput; - }; - }; -} diff --git a/clients/client-iotfleethub/src/commands/ListTagsForResourceCommand.ts b/clients/client-iotfleethub/src/commands/ListTagsForResourceCommand.ts deleted file mode 100644 index 92fdc5893325..000000000000 --- a/clients/client-iotfleethub/src/commands/ListTagsForResourceCommand.ts +++ /dev/null @@ -1,106 +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 { IoTFleetHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTFleetHubClient"; -import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0"; -import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link ListTagsForResourceCommand}. - */ -export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {} -/** - * @public - * - * The output of {@link ListTagsForResourceCommand}. - */ -export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {} - -/** - *Lists the tags for the specified resource.
- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { IoTFleetHubClient, ListTagsForResourceCommand } from "@aws-sdk/client-iotfleethub"; // ES Modules import - * // const { IoTFleetHubClient, ListTagsForResourceCommand } = require("@aws-sdk/client-iotfleethub"); // CommonJS import - * // import type { IoTFleetHubClientConfig } from "@aws-sdk/client-iotfleethub"; - * const config = {}; // type is IoTFleetHubClientConfig - * const client = new IoTFleetHubClient(config); - * const input = { // ListTagsForResourceRequest - * resourceArn: "STRING_VALUE", // required - * }; - * const command = new ListTagsForResourceCommand(input); - * const response = await client.send(command); - * // { // ListTagsForResourceResponse - * // tags: { // TagMap - * // "An unexpected error has occurred.
- * - * @throws {@link InvalidRequestException} (client fault) - *The request is not valid.
- * - * @throws {@link ResourceNotFoundException} (client fault) - *The specified resource does not exist.
- * - * @throws {@link IoTFleetHubServiceException} - *Base exception class for all service exceptions from IoTFleetHub service.
- * - * - * @public - */ -export class ListTagsForResourceCommand extends $Command - .classBuilder< - ListTagsForResourceCommandInput, - ListTagsForResourceCommandOutput, - IoTFleetHubClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: IoTFleetHubClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("AWSIoTFleetHub", "ListTagsForResource", {}) - .n("IoTFleetHubClient", "ListTagsForResourceCommand") - .f(void 0, void 0) - .ser(se_ListTagsForResourceCommand) - .de(de_ListTagsForResourceCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: ListTagsForResourceRequest; - output: ListTagsForResourceResponse; - }; - sdk: { - input: ListTagsForResourceCommandInput; - output: ListTagsForResourceCommandOutput; - }; - }; -} diff --git a/clients/client-iotfleethub/src/commands/TagResourceCommand.ts b/clients/client-iotfleethub/src/commands/TagResourceCommand.ts deleted file mode 100644 index 2f1ec45fd328..000000000000 --- a/clients/client-iotfleethub/src/commands/TagResourceCommand.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 { IoTFleetHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTFleetHubClient"; -import { TagResourceRequest, TagResourceResponse } from "../models/models_0"; -import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link TagResourceCommand}. - */ -export interface TagResourceCommandInput extends TagResourceRequest {} -/** - * @public - * - * The output of {@link TagResourceCommand}. - */ -export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {} - -/** - *Adds to or modifies the tags of the specified resource. Tags are metadata which can be used to manage a resource.
- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { IoTFleetHubClient, TagResourceCommand } from "@aws-sdk/client-iotfleethub"; // ES Modules import - * // const { IoTFleetHubClient, TagResourceCommand } = require("@aws-sdk/client-iotfleethub"); // CommonJS import - * // import type { IoTFleetHubClientConfig } from "@aws-sdk/client-iotfleethub"; - * const config = {}; // type is IoTFleetHubClientConfig - * const client = new IoTFleetHubClient(config); - * const input = { // TagResourceRequest - * resourceArn: "STRING_VALUE", // required - * tags: { // TagMap // required - * "An unexpected error has occurred.
- * - * @throws {@link InvalidRequestException} (client fault) - *The request is not valid.
- * - * @throws {@link ResourceNotFoundException} (client fault) - *The specified resource does not exist.
- * - * @throws {@link IoTFleetHubServiceException} - *Base exception class for all service exceptions from IoTFleetHub service.
- * - * - * @public - */ -export class TagResourceCommand extends $Command - .classBuilder< - TagResourceCommandInput, - TagResourceCommandOutput, - IoTFleetHubClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: IoTFleetHubClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("AWSIoTFleetHub", "TagResource", {}) - .n("IoTFleetHubClient", "TagResourceCommand") - .f(void 0, void 0) - .ser(se_TagResourceCommand) - .de(de_TagResourceCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: TagResourceRequest; - output: {}; - }; - sdk: { - input: TagResourceCommandInput; - output: TagResourceCommandOutput; - }; - }; -} diff --git a/clients/client-iotfleethub/src/commands/UntagResourceCommand.ts b/clients/client-iotfleethub/src/commands/UntagResourceCommand.ts deleted file mode 100644 index 44c9f10ce69b..000000000000 --- a/clients/client-iotfleethub/src/commands/UntagResourceCommand.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 { IoTFleetHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTFleetHubClient"; -import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0"; -import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link UntagResourceCommand}. - */ -export interface UntagResourceCommandInput extends UntagResourceRequest {} -/** - * @public - * - * The output of {@link UntagResourceCommand}. - */ -export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {} - -/** - *Removes the specified tags (metadata) from the resource.
- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { IoTFleetHubClient, UntagResourceCommand } from "@aws-sdk/client-iotfleethub"; // ES Modules import - * // const { IoTFleetHubClient, UntagResourceCommand } = require("@aws-sdk/client-iotfleethub"); // CommonJS import - * // import type { IoTFleetHubClientConfig } from "@aws-sdk/client-iotfleethub"; - * const config = {}; // type is IoTFleetHubClientConfig - * const client = new IoTFleetHubClient(config); - * const input = { // UntagResourceRequest - * resourceArn: "STRING_VALUE", // required - * tagKeys: [ // TagKeyList // required - * "STRING_VALUE", - * ], - * }; - * const command = new UntagResourceCommand(input); - * const response = await client.send(command); - * // {}; - * - * ``` - * - * @param UntagResourceCommandInput - {@link UntagResourceCommandInput} - * @returns {@link UntagResourceCommandOutput} - * @see {@link UntagResourceCommandInput} for command's `input` shape. - * @see {@link UntagResourceCommandOutput} for command's `response` shape. - * @see {@link IoTFleetHubClientResolvedConfig | config} for IoTFleetHubClient's `config` shape. - * - * @throws {@link InternalFailureException} (server fault) - *An unexpected error has occurred.
- * - * @throws {@link InvalidRequestException} (client fault) - *The request is not valid.
- * - * @throws {@link ResourceNotFoundException} (client fault) - *The specified resource does not exist.
- * - * @throws {@link IoTFleetHubServiceException} - *Base exception class for all service exceptions from IoTFleetHub service.
- * - * - * @public - */ -export class UntagResourceCommand extends $Command - .classBuilder< - UntagResourceCommandInput, - UntagResourceCommandOutput, - IoTFleetHubClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: IoTFleetHubClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("AWSIoTFleetHub", "UntagResource", {}) - .n("IoTFleetHubClient", "UntagResourceCommand") - .f(void 0, void 0) - .ser(se_UntagResourceCommand) - .de(de_UntagResourceCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: UntagResourceRequest; - output: {}; - }; - sdk: { - input: UntagResourceCommandInput; - output: UntagResourceCommandOutput; - }; - }; -} diff --git a/clients/client-iotfleethub/src/commands/UpdateApplicationCommand.ts b/clients/client-iotfleethub/src/commands/UpdateApplicationCommand.ts deleted file mode 100644 index be7dc20cfb63..000000000000 --- a/clients/client-iotfleethub/src/commands/UpdateApplicationCommand.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 { IoTFleetHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTFleetHubClient"; -import { UpdateApplicationRequest, UpdateApplicationResponse } from "../models/models_0"; -import { de_UpdateApplicationCommand, se_UpdateApplicationCommand } from "../protocols/Aws_restJson1"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link UpdateApplicationCommand}. - */ -export interface UpdateApplicationCommandInput extends UpdateApplicationRequest {} -/** - * @public - * - * The output of {@link UpdateApplicationCommand}. - */ -export interface UpdateApplicationCommandOutput extends UpdateApplicationResponse, __MetadataBearer {} - -/** - *Updates information about a Fleet Hub for IoT Device Management web application.
- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { IoTFleetHubClient, UpdateApplicationCommand } from "@aws-sdk/client-iotfleethub"; // ES Modules import - * // const { IoTFleetHubClient, UpdateApplicationCommand } = require("@aws-sdk/client-iotfleethub"); // CommonJS import - * // import type { IoTFleetHubClientConfig } from "@aws-sdk/client-iotfleethub"; - * const config = {}; // type is IoTFleetHubClientConfig - * const client = new IoTFleetHubClient(config); - * const input = { // UpdateApplicationRequest - * applicationId: "STRING_VALUE", // required - * applicationName: "STRING_VALUE", - * applicationDescription: "STRING_VALUE", - * clientToken: "STRING_VALUE", - * }; - * const command = new UpdateApplicationCommand(input); - * const response = await client.send(command); - * // {}; - * - * ``` - * - * @param UpdateApplicationCommandInput - {@link UpdateApplicationCommandInput} - * @returns {@link UpdateApplicationCommandOutput} - * @see {@link UpdateApplicationCommandInput} for command's `input` shape. - * @see {@link UpdateApplicationCommandOutput} for command's `response` shape. - * @see {@link IoTFleetHubClientResolvedConfig | config} for IoTFleetHubClient's `config` shape. - * - * @throws {@link ConflictException} (client fault) - *The request conflicts with the current state of the resource.
- * - * @throws {@link InternalFailureException} (server fault) - *An unexpected error has occurred.
- * - * @throws {@link InvalidRequestException} (client fault) - *The request is not valid.
- * - * @throws {@link ResourceNotFoundException} (client fault) - *The specified resource does not exist.
- * - * @throws {@link ThrottlingException} (client fault) - *The rate exceeds the limit.
- * - * @throws {@link IoTFleetHubServiceException} - *Base exception class for all service exceptions from IoTFleetHub service.
- * - * - * @public - */ -export class UpdateApplicationCommand extends $Command - .classBuilder< - UpdateApplicationCommandInput, - UpdateApplicationCommandOutput, - IoTFleetHubClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: IoTFleetHubClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("AWSIoTFleetHub", "UpdateApplication", {}) - .n("IoTFleetHubClient", "UpdateApplicationCommand") - .f(void 0, void 0) - .ser(se_UpdateApplicationCommand) - .de(de_UpdateApplicationCommand) - .build() { - /** @internal type navigation helper, not in runtime. */ - protected declare static __types: { - api: { - input: UpdateApplicationRequest; - output: {}; - }; - sdk: { - input: UpdateApplicationCommandInput; - output: UpdateApplicationCommandOutput; - }; - }; -} diff --git a/clients/client-iotfleethub/src/commands/index.ts b/clients/client-iotfleethub/src/commands/index.ts deleted file mode 100644 index c9d27feff7ac..000000000000 --- a/clients/client-iotfleethub/src/commands/index.ts +++ /dev/null @@ -1,9 +0,0 @@ -// smithy-typescript generated code -export * from "./CreateApplicationCommand"; -export * from "./DeleteApplicationCommand"; -export * from "./DescribeApplicationCommand"; -export * from "./ListApplicationsCommand"; -export * from "./ListTagsForResourceCommand"; -export * from "./TagResourceCommand"; -export * from "./UntagResourceCommand"; -export * from "./UpdateApplicationCommand"; diff --git a/clients/client-iotfleethub/src/endpoint/EndpointParameters.ts b/clients/client-iotfleethub/src/endpoint/EndpointParameters.ts deleted file mode 100644 index 3d9708cfd4de..000000000000 --- a/clients/client-iotfleethub/src/endpoint/EndpointParameters.ts +++ /dev/null @@ -1,40 +0,0 @@ -// smithy-typescript generated code -import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types"; - -/** - * @public - */ -export interface ClientInputEndpointParameters { - region?: string | undefined | ProviderWith Fleet Hub for IoT Device Management you can build stand-alone web applications for monitoring the health of your device fleets.
- * - * @packageDocumentation - */ -export * from "./IoTFleetHubClient"; -export * from "./IoTFleetHub"; -export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; -export type { RuntimeExtension } from "./runtimeExtensions"; -export type { IoTFleetHubExtensionConfiguration } from "./extensionConfiguration"; -export * from "./commands"; -export * from "./pagination"; -export * from "./models"; - -export { IoTFleetHubServiceException } from "./models/IoTFleetHubServiceException"; diff --git a/clients/client-iotfleethub/src/models/IoTFleetHubServiceException.ts b/clients/client-iotfleethub/src/models/IoTFleetHubServiceException.ts deleted file mode 100644 index f24cb1e39662..000000000000 --- a/clients/client-iotfleethub/src/models/IoTFleetHubServiceException.ts +++ /dev/null @@ -1,24 +0,0 @@ -// smithy-typescript generated code -import { - ServiceException as __ServiceException, - ServiceExceptionOptions as __ServiceExceptionOptions, -} from "@smithy/smithy-client"; - -export type { __ServiceExceptionOptions }; - -export { __ServiceException }; - -/** - * @public - * - * Base exception class for all service exceptions from IoTFleetHub service. - */ -export class IoTFleetHubServiceException extends __ServiceException { - /** - * @internal - */ - constructor(options: __ServiceExceptionOptions) { - super(options); - Object.setPrototypeOf(this, IoTFleetHubServiceException.prototype); - } -} diff --git a/clients/client-iotfleethub/src/models/index.ts b/clients/client-iotfleethub/src/models/index.ts deleted file mode 100644 index 9eaceb12865f..000000000000 --- a/clients/client-iotfleethub/src/models/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -// smithy-typescript generated code -export * from "./models_0"; diff --git a/clients/client-iotfleethub/src/models/models_0.ts b/clients/client-iotfleethub/src/models/models_0.ts deleted file mode 100644 index d7175d870485..000000000000 --- a/clients/client-iotfleethub/src/models/models_0.ts +++ /dev/null @@ -1,487 +0,0 @@ -// smithy-typescript generated code -import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client"; - -import { IoTFleetHubServiceException as __BaseException } from "./IoTFleetHubServiceException"; - -/** - * @public - * @enum - */ -export const ApplicationState = { - ACTIVE: "ACTIVE", - CREATE_FAILED: "CREATE_FAILED", - CREATING: "CREATING", - DELETE_FAILED: "DELETE_FAILED", - DELETING: "DELETING", -} as const; - -/** - * @public - */ -export type ApplicationState = (typeof ApplicationState)[keyof typeof ApplicationState]; - -/** - *A summary of information about a Fleet Hub for IoT Device Management web application.
- * @public - */ -export interface ApplicationSummary { - /** - *The unique Id of the web application.
- * @public - */ - applicationId: string | undefined; - - /** - *The name of the web application.
- * @public - */ - applicationName: string | undefined; - - /** - *An optional description of the web application.
- * @public - */ - applicationDescription?: string | undefined; - - /** - *The URL of the web application.
- * @public - */ - applicationUrl: string | undefined; - - /** - *The date (in Unix epoch time) when the web application was created.
- * @public - */ - applicationCreationDate?: number | undefined; - - /** - *The date (in Unix epoch time) when the web application was last updated.
- * @public - */ - applicationLastUpdateDate?: number | undefined; - - /** - *The current state of the web application.
- * @public - */ - applicationState?: ApplicationState | undefined; -} - -/** - * @public - */ -export interface CreateApplicationRequest { - /** - *The name of the web application.
- * @public - */ - applicationName: string | undefined; - - /** - *An optional description of the web application.
- * @public - */ - applicationDescription?: string | undefined; - - /** - *A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. - * Don't reuse this client token if a new idempotent request is required.
- * @public - */ - clientToken?: string | undefined; - - /** - *The ARN of the role that the web application assumes when it interacts with Amazon Web Services IoT Core.
- *The name of the role must be in the form AWSIotFleetHub_random_string
- * .
A set of key/value pairs that you can use to manage the web application resource.
- * @public - */ - tags?: RecordThe unique Id of the web application.
- * @public - */ - applicationId: string | undefined; - - /** - *The ARN of the web application.
- * @public - */ - applicationArn: string | undefined; -} - -/** - *An unexpected error has occurred.
- * @public - */ -export class InternalFailureException extends __BaseException { - readonly name: "InternalFailureException" = "InternalFailureException"; - readonly $fault: "server" = "server"; - /** - * @internal - */ - constructor(opts: __ExceptionOptionTypeThe request is not valid.
- * @public - */ -export class InvalidRequestException extends __BaseException { - readonly name: "InvalidRequestException" = "InvalidRequestException"; - readonly $fault: "client" = "client"; - /** - * @internal - */ - constructor(opts: __ExceptionOptionTypeA limit has been exceeded.
- * @public - */ -export class LimitExceededException extends __BaseException { - readonly name: "LimitExceededException" = "LimitExceededException"; - readonly $fault: "client" = "client"; - /** - * @internal - */ - constructor(opts: __ExceptionOptionTypeThe rate exceeds the limit.
- * @public - */ -export class ThrottlingException extends __BaseException { - readonly name: "ThrottlingException" = "ThrottlingException"; - readonly $fault: "client" = "client"; - /** - * @internal - */ - constructor(opts: __ExceptionOptionTypeThe unique Id of the web application.
- * @public - */ - applicationId: string | undefined; - - /** - *A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. - * Don't reuse this client token if a new idempotent request is required.
- * @public - */ - clientToken?: string | undefined; -} - -/** - * @public - */ -export interface DeleteApplicationResponse {} - -/** - *The specified resource does not exist.
- * @public - */ -export class ResourceNotFoundException extends __BaseException { - readonly name: "ResourceNotFoundException" = "ResourceNotFoundException"; - readonly $fault: "client" = "client"; - /** - * @internal - */ - constructor(opts: __ExceptionOptionTypeThe unique Id of the web application.
- * @public - */ - applicationId: string | undefined; -} - -/** - * @public - */ -export interface DescribeApplicationResponse { - /** - *The unique Id of the web application.
- * @public - */ - applicationId: string | undefined; - - /** - *The ARN of the web application.
- * @public - */ - applicationArn: string | undefined; - - /** - *The name of the web application.
- * @public - */ - applicationName: string | undefined; - - /** - *An optional description of the web application.
- * @public - */ - applicationDescription?: string | undefined; - - /** - *The URL of the web application.
- * @public - */ - applicationUrl: string | undefined; - - /** - *The current state of the web application.
- * @public - */ - applicationState: ApplicationState | undefined; - - /** - *The date (in Unix epoch time) when the application was created.
- * @public - */ - applicationCreationDate: number | undefined; - - /** - *The date (in Unix epoch time) when the application was last updated.
- * @public - */ - applicationLastUpdateDate: number | undefined; - - /** - *The ARN of the role that the web application assumes when it interacts with Amazon Web Services IoT Core.
- * @public - */ - roleArn: string | undefined; - - /** - *The Id of the single sign-on client that you use to authenticate and authorize users on the web application.
- * @public - */ - ssoClientId?: string | undefined; - - /** - *A message that explains any failures included in the applicationState response field. This message
- * explains failures in the CreateApplication and DeleteApplication actions.
A set of key/value pairs that you can use to manage the web application resource.
- * @public - */ - tags?: RecordA token used to get the next set of results.
- * @public - */ - nextToken?: string | undefined; -} - -/** - * @public - */ -export interface ListApplicationsResponse { - /** - *An array of objects that provide summaries of information about the web applications in the list.
- * @public - */ - applicationSummaries?: ApplicationSummary[] | undefined; - - /** - *A token used to get the next set of results.
- * @public - */ - nextToken?: string | undefined; -} - -/** - * @public - */ -export interface ListTagsForResourceRequest { - /** - *The ARN of the resource.
- * @public - */ - resourceArn: string | undefined; -} - -/** - * @public - */ -export interface ListTagsForResourceResponse { - /** - *The list of tags assigned to the resource.
- * @public - */ - tags?: RecordThe ARN of the resource.
- * @public - */ - resourceArn: string | undefined; - - /** - *The new or modified tags for the resource.
- * @public - */ - tags: RecordThe ARN of the resource.
- * @public - */ - resourceArn: string | undefined; - - /** - *A list of the keys of the tags to be removed from the resource.
- * @public - */ - tagKeys: string[] | undefined; -} - -/** - * @public - */ -export interface UntagResourceResponse {} - -/** - *The request conflicts with the current state of the resource.
- * @public - */ -export class ConflictException extends __BaseException { - readonly name: "ConflictException" = "ConflictException"; - readonly $fault: "client" = "client"; - /** - * @internal - */ - constructor(opts: __ExceptionOptionTypeThe unique Id of the web application.
- * @public - */ - applicationId: string | undefined; - - /** - *The name of the web application.
- * @public - */ - applicationName?: string | undefined; - - /** - *An optional description of the web application.
- * @public - */ - applicationDescription?: string | undefined; - - /** - *A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. - * Don't reuse this client token if a new idempotent request is required.
- * @public - */ - clientToken?: string | undefined; -} - -/** - * @public - */ -export interface UpdateApplicationResponse {} diff --git a/clients/client-iotfleethub/src/pagination/Interfaces.ts b/clients/client-iotfleethub/src/pagination/Interfaces.ts deleted file mode 100644 index f4d5f8f0a082..000000000000 --- a/clients/client-iotfleethub/src/pagination/Interfaces.ts +++ /dev/null @@ -1,11 +0,0 @@ -// smithy-typescript generated code -import { PaginationConfiguration } from "@smithy/types"; - -import { IoTFleetHubClient } from "../IoTFleetHubClient"; - -/** - * @public - */ -export interface IoTFleetHubPaginationConfiguration extends PaginationConfiguration { - client: IoTFleetHubClient; -} diff --git a/clients/client-iotfleethub/src/pagination/ListApplicationsPaginator.ts b/clients/client-iotfleethub/src/pagination/ListApplicationsPaginator.ts deleted file mode 100644 index b09f40987a3e..000000000000 --- a/clients/client-iotfleethub/src/pagination/ListApplicationsPaginator.ts +++ /dev/null @@ -1,24 +0,0 @@ -// smithy-typescript generated code -import { createPaginator } from "@smithy/core"; -import { Paginator } from "@smithy/types"; - -import { - ListApplicationsCommand, - ListApplicationsCommandInput, - ListApplicationsCommandOutput, -} from "../commands/ListApplicationsCommand"; -import { IoTFleetHubClient } from "../IoTFleetHubClient"; -import { IoTFleetHubPaginationConfiguration } from "./Interfaces"; - -/** - * @public - */ -export const paginateListApplications: ( - config: IoTFleetHubPaginationConfiguration, - input: ListApplicationsCommandInput, - ...rest: any[] -) => Paginator